2006-05-28 Thomas Koenig <Thomas.Koenig@online.de>
[official-gcc.git] / libstdc++-v3 / configure
blob72dceb4089147ab70ced54926efa545f5ad6b97b
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 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 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 _g_switchUse thread-local storage
891 [default=yes]
892 --enable-symvers=STYLE enables symbol versioning of the shared library
893 [default=yes]
894 --enable-version-specific-runtime-libs
895 Specify that runtime libraries should be installed
896 in a compiler-specific directory
898 Optional Packages:
899 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
900 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
901 --with-target-subdir=SUBDIR
902 configuring in a subdirectory
903 --with-cross-host=HOST configuring with a cross compiler
904 --with-newlib assume newlib as a system C library
905 --with-gnu-ld assume the C compiler uses GNU ld default=no
906 --with-pic try to use only PIC/non-PIC objects default=use both
907 --with-gxx-include-dir=DIR
908 installation directory for include files
910 Some influential environment variables:
911 CC C compiler command
912 CFLAGS C compiler flags
913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
914 nonstandard directory <lib dir>
915 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
916 headers in a nonstandard directory <include dir>
917 CXX C++ compiler command
918 CXXFLAGS C++ compiler flags
919 CPP C preprocessor
920 CXXCPP C++ preprocessor
922 Use these variables to override the choices made by `configure' or to help
923 it to find libraries and programs with nonstandard names/locations.
925 _ACEOF
928 if test "$ac_init_help" = "recursive"; then
929 # If there are subdirs, report their specific --help.
930 ac_popdir=`pwd`
931 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932 test -d $ac_dir || continue
933 ac_builddir=.
935 if test "$ac_dir" != .; then
936 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937 # A "../" for each directory in $ac_dir_suffix.
938 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939 else
940 ac_dir_suffix= ac_top_builddir=
943 case $srcdir in
944 .) # No --srcdir option. We are building in place.
945 ac_srcdir=.
946 if test -z "$ac_top_builddir"; then
947 ac_top_srcdir=.
948 else
949 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950 fi ;;
951 [\\/]* | ?:[\\/]* ) # Absolute path.
952 ac_srcdir=$srcdir$ac_dir_suffix;
953 ac_top_srcdir=$srcdir ;;
954 *) # Relative path.
955 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956 ac_top_srcdir=$ac_top_builddir$srcdir ;;
957 esac
959 # Do not use `cd foo && pwd` to compute absolute paths, because
960 # the directories may not exist.
961 case `pwd` in
962 .) ac_abs_builddir="$ac_dir";;
964 case "$ac_dir" in
965 .) ac_abs_builddir=`pwd`;;
966 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967 *) ac_abs_builddir=`pwd`/"$ac_dir";;
968 esac;;
969 esac
970 case $ac_abs_builddir in
971 .) ac_abs_top_builddir=${ac_top_builddir}.;;
973 case ${ac_top_builddir}. in
974 .) ac_abs_top_builddir=$ac_abs_builddir;;
975 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977 esac;;
978 esac
979 case $ac_abs_builddir in
980 .) ac_abs_srcdir=$ac_srcdir;;
982 case $ac_srcdir in
983 .) ac_abs_srcdir=$ac_abs_builddir;;
984 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986 esac;;
987 esac
988 case $ac_abs_builddir in
989 .) ac_abs_top_srcdir=$ac_top_srcdir;;
991 case $ac_top_srcdir in
992 .) ac_abs_top_srcdir=$ac_abs_builddir;;
993 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995 esac;;
996 esac
998 cd $ac_dir
999 # Check for guested configure; otherwise get Cygnus style configure.
1000 if test -f $ac_srcdir/configure.gnu; then
1001 echo
1002 $SHELL $ac_srcdir/configure.gnu --help=recursive
1003 elif test -f $ac_srcdir/configure; then
1004 echo
1005 $SHELL $ac_srcdir/configure --help=recursive
1006 elif test -f $ac_srcdir/configure.ac ||
1007 test -f $ac_srcdir/configure.in; then
1008 echo
1009 $ac_configure --help
1010 else
1011 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1013 cd $ac_popdir
1014 done
1017 test -n "$ac_init_help" && exit 0
1018 if $ac_init_version; then
1019 cat <<\_ACEOF
1020 package-unused configure version-unused
1021 generated by GNU Autoconf 2.59
1023 Copyright (C) 2003 Free Software Foundation, Inc.
1024 This configure script is free software; the Free Software Foundation
1025 gives unlimited permission to copy, distribute and modify it.
1026 _ACEOF
1027 exit 0
1029 exec 5>config.log
1030 cat >&5 <<_ACEOF
1031 This file contains any messages produced by compilers while
1032 running configure, to aid debugging if configure makes a mistake.
1034 It was created by package-unused $as_me version-unused, which was
1035 generated by GNU Autoconf 2.59. Invocation command line was
1037 $ $0 $@
1039 _ACEOF
1041 cat <<_ASUNAME
1042 ## --------- ##
1043 ## Platform. ##
1044 ## --------- ##
1046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1058 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1063 _ASUNAME
1065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1066 for as_dir in $PATH
1068 IFS=$as_save_IFS
1069 test -z "$as_dir" && as_dir=.
1070 echo "PATH: $as_dir"
1071 done
1073 } >&5
1075 cat >&5 <<_ACEOF
1078 ## ----------- ##
1079 ## Core tests. ##
1080 ## ----------- ##
1082 _ACEOF
1085 # Keep a trace of the command line.
1086 # Strip out --no-create and --no-recursion so they do not pile up.
1087 # Strip out --silent because we don't want to record it for future runs.
1088 # Also quote any args containing shell meta-characters.
1089 # Make two passes to allow for proper duplicate-argument suppression.
1090 ac_configure_args=
1091 ac_configure_args0=
1092 ac_configure_args1=
1093 ac_sep=
1094 ac_must_keep_next=false
1095 for ac_pass in 1 2
1097 for ac_arg
1099 case $ac_arg in
1100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102 | -silent | --silent | --silen | --sile | --sil)
1103 continue ;;
1104 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106 esac
1107 case $ac_pass in
1108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1111 if test $ac_must_keep_next = true; then
1112 ac_must_keep_next=false # Got value, back to normal.
1113 else
1114 case $ac_arg in
1115 *=* | --config-cache | -C | -disable-* | --disable-* \
1116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1118 | -with-* | --with-* | -without-* | --without-* | --x)
1119 case "$ac_configure_args0 " in
1120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121 esac
1123 -* ) ac_must_keep_next=true ;;
1124 esac
1126 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1127 # Get rid of the leading space.
1128 ac_sep=" "
1130 esac
1131 done
1132 done
1133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1136 # When interrupted or exit'd, cleanup temporary files, and complete
1137 # config.log. We remove comments because anyway the quotes in there
1138 # would cause problems or look ugly.
1139 # WARNING: Be sure not to use single quotes in there, as some shells,
1140 # such as our DU 5.0 friend, will then `close' the trap.
1141 trap 'exit_status=$?
1142 # Save into config.log some information that might help in debugging.
1144 echo
1146 cat <<\_ASBOX
1147 ## ---------------- ##
1148 ## Cache variables. ##
1149 ## ---------------- ##
1150 _ASBOX
1151 echo
1152 # The following way of writing the cache mishandles newlines in values,
1154 (set) 2>&1 |
1155 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156 *ac_space=\ *)
1157 sed -n \
1158 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1162 sed -n \
1163 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1165 esac;
1167 echo
1169 cat <<\_ASBOX
1170 ## ----------------- ##
1171 ## Output variables. ##
1172 ## ----------------- ##
1173 _ASBOX
1174 echo
1175 for ac_var in $ac_subst_vars
1177 eval ac_val=$`echo $ac_var`
1178 echo "$ac_var='"'"'$ac_val'"'"'"
1179 done | sort
1180 echo
1182 if test -n "$ac_subst_files"; then
1183 cat <<\_ASBOX
1184 ## ------------- ##
1185 ## Output files. ##
1186 ## ------------- ##
1187 _ASBOX
1188 echo
1189 for ac_var in $ac_subst_files
1191 eval ac_val=$`echo $ac_var`
1192 echo "$ac_var='"'"'$ac_val'"'"'"
1193 done | sort
1194 echo
1197 if test -s confdefs.h; then
1198 cat <<\_ASBOX
1199 ## ----------- ##
1200 ## confdefs.h. ##
1201 ## ----------- ##
1202 _ASBOX
1203 echo
1204 sed "/^$/d" confdefs.h | sort
1205 echo
1207 test "$ac_signal" != 0 &&
1208 echo "$as_me: caught signal $ac_signal"
1209 echo "$as_me: exit $exit_status"
1210 } >&5
1211 rm -f core *.core &&
1212 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213 exit $exit_status
1215 for ac_signal in 1 2 13 15; do
1216 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 done
1218 ac_signal=0
1220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1221 rm -rf conftest* confdefs.h
1222 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223 echo >confdefs.h
1225 # Predefined preprocessor variables.
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 _ACEOF
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 _ACEOF
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 _ACEOF
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 _ACEOF
1247 cat >>confdefs.h <<_ACEOF
1248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 _ACEOF
1252 # Let the site file select an alternate cache file if it wants to.
1253 # Prefer explicitly selected file to automatically selected ones.
1254 if test -z "$CONFIG_SITE"; then
1255 if test "x$prefix" != xNONE; then
1256 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1257 else
1258 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1261 for ac_site_file in $CONFIG_SITE; do
1262 if test -r "$ac_site_file"; then
1263 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1264 echo "$as_me: loading site script $ac_site_file" >&6;}
1265 sed 's/^/| /' "$ac_site_file" >&5
1266 . "$ac_site_file"
1268 done
1270 if test -r "$cache_file"; then
1271 # Some versions of bash will fail to source /dev/null (special
1272 # files actually), so we avoid doing that.
1273 if test -f "$cache_file"; then
1274 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1275 echo "$as_me: loading cache $cache_file" >&6;}
1276 case $cache_file in
1277 [\\/]* | ?:[\\/]* ) . $cache_file;;
1278 *) . ./$cache_file;;
1279 esac
1281 else
1282 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1283 echo "$as_me: creating cache $cache_file" >&6;}
1284 >$cache_file
1287 # Check that the precious variables saved in the cache have kept the same
1288 # value.
1289 ac_cache_corrupted=false
1290 for ac_var in `(set) 2>&1 |
1291 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1292 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1293 eval ac_new_set=\$ac_env_${ac_var}_set
1294 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1295 eval ac_new_val="\$ac_env_${ac_var}_value"
1296 case $ac_old_set,$ac_new_set in
1297 set,)
1298 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1299 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1300 ac_cache_corrupted=: ;;
1301 ,set)
1302 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1303 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1304 ac_cache_corrupted=: ;;
1305 ,);;
1307 if test "x$ac_old_val" != "x$ac_new_val"; then
1308 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1309 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1310 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1311 echo "$as_me: former value: $ac_old_val" >&2;}
1312 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1313 echo "$as_me: current value: $ac_new_val" >&2;}
1314 ac_cache_corrupted=:
1315 fi;;
1316 esac
1317 # Pass precious variables to config.status.
1318 if test "$ac_new_set" = set; then
1319 case $ac_new_val in
1320 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1321 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1322 *) ac_arg=$ac_var=$ac_new_val ;;
1323 esac
1324 case " $ac_configure_args " in
1325 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1326 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327 esac
1329 done
1330 if $ac_cache_corrupted; then
1331 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1332 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1333 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1334 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1335 { (exit 1); exit 1; }; }
1338 ac_ext=c
1339 ac_cpp='$CPP $CPPFLAGS'
1340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1371 ac_config_headers="$ac_config_headers config.h"
1374 # This works around the fact that libtool configuration may change LD
1375 # for this particular configuration, but some shells, instead of
1376 # keeping the changes in LD private, export them just because LD is
1377 # exported. Only used at the end of this file.
1378 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1380 # For libtool versioning info, format is CURRENT:REVISION:AGE
1381 libtool_VERSION=6:9:0
1384 # Find the rest of the source tree framework.
1385 # Default to --enable-multilib
1386 # Check whether --enable-multilib or --disable-multilib was given.
1387 if test "${enable_multilib+set}" = set; then
1388 enableval="$enable_multilib"
1389 case "$enableval" in
1390 yes) multilib=yes ;;
1391 no) multilib=no ;;
1392 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1393 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1394 { (exit 1); exit 1; }; } ;;
1395 esac
1396 else
1397 multilib=yes
1400 # We may get other options which we leave undocumented:
1401 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1402 # See config-ml.in if you want the gory details.
1404 if test "$srcdir" = "."; then
1405 if test "$with_target_subdir" != "."; then
1406 multi_basedir="$srcdir/$with_multisrctop../.."
1407 else
1408 multi_basedir="$srcdir/$with_multisrctop.."
1410 else
1411 multi_basedir="$srcdir/.."
1415 ac_config_commands="$ac_config_commands default-1"
1418 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1420 # You will slowly go insane if you do not grok the following fact: when
1421 # building v3 as part of the compiler, the top-level /target/ becomes the
1422 # library's /host/. configure then causes --target to default to --host,
1423 # exactly like any other package using autoconf. Therefore, 'target' and
1424 # 'host' will always be the same. This makes sense both for native and
1425 # cross compilers, just think about it for a little while. :-)
1427 # Also, if v3 is being configured as part of a cross compiler, the top-level
1428 # configure script will pass the "real" host as $with_cross_host.
1430 # Do not delete or change the following two lines. For why, see
1431 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1432 ac_aux_dir=
1433 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1434 if test -f $ac_dir/install-sh; then
1435 ac_aux_dir=$ac_dir
1436 ac_install_sh="$ac_aux_dir/install-sh -c"
1437 break
1438 elif test -f $ac_dir/install.sh; then
1439 ac_aux_dir=$ac_dir
1440 ac_install_sh="$ac_aux_dir/install.sh -c"
1441 break
1442 elif test -f $ac_dir/shtool; then
1443 ac_aux_dir=$ac_dir
1444 ac_install_sh="$ac_aux_dir/shtool install -c"
1445 break
1447 done
1448 if test -z "$ac_aux_dir"; then
1449 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1450 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1451 { (exit 1); exit 1; }; }
1453 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1454 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1455 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1457 # Make sure we can run config.sub.
1458 $ac_config_sub sun4 >/dev/null 2>&1 ||
1459 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1460 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1461 { (exit 1); exit 1; }; }
1463 echo "$as_me:$LINENO: checking build system type" >&5
1464 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1465 if test "${ac_cv_build+set}" = set; then
1466 echo $ECHO_N "(cached) $ECHO_C" >&6
1467 else
1468 ac_cv_build_alias=$build_alias
1469 test -z "$ac_cv_build_alias" &&
1470 ac_cv_build_alias=`$ac_config_guess`
1471 test -z "$ac_cv_build_alias" &&
1472 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1474 { (exit 1); exit 1; }; }
1475 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1476 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1477 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1478 { (exit 1); exit 1; }; }
1481 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1482 echo "${ECHO_T}$ac_cv_build" >&6
1483 build=$ac_cv_build
1484 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1485 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1486 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1489 echo "$as_me:$LINENO: checking host system type" >&5
1490 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1491 if test "${ac_cv_host+set}" = set; then
1492 echo $ECHO_N "(cached) $ECHO_C" >&6
1493 else
1494 ac_cv_host_alias=$host_alias
1495 test -z "$ac_cv_host_alias" &&
1496 ac_cv_host_alias=$ac_cv_build_alias
1497 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1498 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1499 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1500 { (exit 1); exit 1; }; }
1503 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1504 echo "${ECHO_T}$ac_cv_host" >&6
1505 host=$ac_cv_host
1506 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1507 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1508 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1511 echo "$as_me:$LINENO: checking target system type" >&5
1512 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1513 if test "${ac_cv_target+set}" = set; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 else
1516 ac_cv_target_alias=$target_alias
1517 test "x$ac_cv_target_alias" = "x" &&
1518 ac_cv_target_alias=$ac_cv_host_alias
1519 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1520 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1521 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1522 { (exit 1); exit 1; }; }
1525 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1526 echo "${ECHO_T}$ac_cv_target" >&6
1527 target=$ac_cv_target
1528 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1529 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1530 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1533 # The aliases save the names the user supplied, while $host etc.
1534 # will get canonicalized.
1535 test -n "$target_alias" &&
1536 test "$program_prefix$program_suffix$program_transform_name" = \
1537 NONENONEs,x,x, &&
1538 program_prefix=${target_alias}-
1539 target_alias=${target_alias-$host_alias}
1541 # Handy for debugging:
1542 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1544 if test "$build" != "$host"; then
1545 # We are being configured with some form of cross compiler.
1546 GLIBCXX_IS_NATIVE=false
1547 case "$host","$target" in
1548 # Darwin crosses can use the host system's libraries and headers,
1549 # because of the fat library support. Of course, it must be the
1550 # same version of Darwin on both sides. Allow the user to
1551 # just say --target=foo-darwin without a version number to mean
1552 # "the version on this system".
1553 *-*-darwin*,*-*-darwin*)
1554 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1555 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1556 if test $hostos = $targetos -o $targetos = darwin ; then
1557 GLIBCXX_IS_NATIVE=true
1564 esac
1565 else
1566 GLIBCXX_IS_NATIVE=true
1569 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1570 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1571 # 1.x: minimum required version
1572 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1573 # of other PACKAGE_* variables will, however, and there's nothing
1574 # we can do about that; they come from AC_INIT).
1575 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1576 # file in the top srcdir, etc, etc), so stop complaining.
1577 # no-dependencies: turns off auto dependency generation (just for now)
1578 # -Wall: turns on all automake warnings...
1579 # -Wno-portability: ...except this one, since GNU make is now required.
1580 am__api_version="1.9"
1581 # Find a good install program. We prefer a C program (faster),
1582 # so one script is as good as another. But avoid the broken or
1583 # incompatible versions:
1584 # SysV /etc/install, /usr/sbin/install
1585 # SunOS /usr/etc/install
1586 # IRIX /sbin/install
1587 # AIX /bin/install
1588 # AmigaOS /C/install, which installs bootblocks on floppy discs
1589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1592 # OS/2's system install, which has a completely different semantic
1593 # ./install, which can be erroneously created by make from ./install.sh.
1594 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1596 if test -z "$INSTALL"; then
1597 if test "${ac_cv_path_install+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 else
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 for as_dir in $PATH
1603 IFS=$as_save_IFS
1604 test -z "$as_dir" && as_dir=.
1605 # Account for people who put trailing slashes in PATH elements.
1606 case $as_dir/ in
1607 ./ | .// | /cC/* | \
1608 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1609 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1610 /usr/ucb/* ) ;;
1612 # OSF1 and SCO ODT 3.0 have their own names for install.
1613 # Don't use installbsd from OSF since it installs stuff as root
1614 # by default.
1615 for ac_prog in ginstall scoinst install; do
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1618 if test $ac_prog = install &&
1619 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1620 # AIX install. It has an incompatible calling convention.
1622 elif test $ac_prog = install &&
1623 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1624 # program-specific install script used by HP pwplus--don't use.
1626 else
1627 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1628 break 3
1631 done
1632 done
1634 esac
1635 done
1639 if test "${ac_cv_path_install+set}" = set; then
1640 INSTALL=$ac_cv_path_install
1641 else
1642 # As a last resort, use the slow shell script. We don't cache a
1643 # path for INSTALL within a source directory, because that will
1644 # break other packages using the cache if that directory is
1645 # removed, or if the path is relative.
1646 INSTALL=$ac_install_sh
1649 echo "$as_me:$LINENO: result: $INSTALL" >&5
1650 echo "${ECHO_T}$INSTALL" >&6
1652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1653 # It thinks the first close brace ends the variable substitution.
1654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1660 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1661 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1662 # Just in case
1663 sleep 1
1664 echo timestamp > conftest.file
1665 # Do `set' in a subshell so we don't clobber the current shell's
1666 # arguments. Must try -L first in case configure is actually a
1667 # symlink; some systems play weird games with the mod time of symlinks
1668 # (eg FreeBSD returns the mod time of the symlink's containing
1669 # directory).
1670 if (
1671 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1672 if test "$*" = "X"; then
1673 # -L didn't work.
1674 set X `ls -t $srcdir/configure conftest.file`
1676 rm -f conftest.file
1677 if test "$*" != "X $srcdir/configure conftest.file" \
1678 && test "$*" != "X conftest.file $srcdir/configure"; then
1680 # If neither matched, then we have a broken ls. This can happen
1681 # if, for instance, CONFIG_SHELL is bash and it inherits a
1682 # broken ls alias from the environment. This has actually
1683 # happened. Such a system could not be considered "sane".
1684 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&5
1686 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1687 alias in your environment" >&2;}
1688 { (exit 1); exit 1; }; }
1691 test "$2" = conftest.file
1693 then
1694 # Ok.
1696 else
1697 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1698 Check your system clock" >&5
1699 echo "$as_me: error: newly created file is older than distributed files!
1700 Check your system clock" >&2;}
1701 { (exit 1); exit 1; }; }
1703 echo "$as_me:$LINENO: result: yes" >&5
1704 echo "${ECHO_T}yes" >&6
1705 test "$program_prefix" != NONE &&
1706 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1707 # Use a double $ so make ignores it.
1708 test "$program_suffix" != NONE &&
1709 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1710 # Double any \ or $. echo might interpret backslashes.
1711 # By default was `s,x,x', remove it if useless.
1712 cat <<\_ACEOF >conftest.sed
1713 s/[\\$]/&&/g;s/;s,x,x,$//
1714 _ACEOF
1715 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1716 rm conftest.sed
1718 # expand $ac_aux_dir to an absolute path
1719 am_aux_dir=`cd $ac_aux_dir && pwd`
1721 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1722 # Use eval to expand $SHELL
1723 if eval "$MISSING --run true"; then
1724 am_missing_run="$MISSING --run "
1725 else
1726 am_missing_run=
1727 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1728 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1731 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1732 # We used to keeping the `.' as first argument, in order to
1733 # allow $(mkdir_p) to be used without argument. As in
1734 # $(mkdir_p) $(somedir)
1735 # where $(somedir) is conditionally defined. However this is wrong
1736 # for two reasons:
1737 # 1. if the package is installed by a user who cannot write `.'
1738 # make install will fail,
1739 # 2. the above comment should most certainly read
1740 # $(mkdir_p) $(DESTDIR)$(somedir)
1741 # so it does not work when $(somedir) is undefined and
1742 # $(DESTDIR) is not.
1743 # To support the latter case, we have to write
1744 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1745 # so the `.' trick is pointless.
1746 mkdir_p='mkdir -p --'
1747 else
1748 # On NextStep and OpenStep, the `mkdir' command does not
1749 # recognize any option. It will interpret all options as
1750 # directories to create, and then abort because `.' already
1751 # exists.
1752 for d in ./-p ./--version;
1754 test -d $d && rmdir $d
1755 done
1756 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1757 if test -f "$ac_aux_dir/mkinstalldirs"; then
1758 mkdir_p='$(mkinstalldirs)'
1759 else
1760 mkdir_p='$(install_sh) -d'
1764 for ac_prog in gawk mawk nawk awk
1766 # Extract the first word of "$ac_prog", so it can be a program name with args.
1767 set dummy $ac_prog; ac_word=$2
1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if test "${ac_cv_prog_AWK+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 else
1773 if test -n "$AWK"; then
1774 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1783 ac_cv_prog_AWK="$ac_prog"
1784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1785 break 2
1787 done
1788 done
1792 AWK=$ac_cv_prog_AWK
1793 if test -n "$AWK"; then
1794 echo "$as_me:$LINENO: result: $AWK" >&5
1795 echo "${ECHO_T}$AWK" >&6
1796 else
1797 echo "$as_me:$LINENO: result: no" >&5
1798 echo "${ECHO_T}no" >&6
1801 test -n "$AWK" && break
1802 done
1804 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1805 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1806 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1807 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 else
1810 cat >conftest.make <<\_ACEOF
1811 all:
1812 @echo 'ac_maketemp="$(MAKE)"'
1813 _ACEOF
1814 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1815 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1816 if test -n "$ac_maketemp"; then
1817 eval ac_cv_prog_make_${ac_make}_set=yes
1818 else
1819 eval ac_cv_prog_make_${ac_make}_set=no
1821 rm -f conftest.make
1823 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1824 echo "$as_me:$LINENO: result: yes" >&5
1825 echo "${ECHO_T}yes" >&6
1826 SET_MAKE=
1827 else
1828 echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1830 SET_MAKE="MAKE=${MAKE-make}"
1833 rm -rf .tst 2>/dev/null
1834 mkdir .tst 2>/dev/null
1835 if test -d .tst; then
1836 am__leading_dot=.
1837 else
1838 am__leading_dot=_
1840 rmdir .tst 2>/dev/null
1842 # test to see if srcdir already configured
1843 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1844 test -f $srcdir/config.status; then
1845 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1846 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # test whether we have cygpath
1851 if test -z "$CYGPATH_W"; then
1852 if (cygpath --version) >/dev/null 2>/dev/null; then
1853 CYGPATH_W='cygpath -w'
1854 else
1855 CYGPATH_W=echo
1860 # Define the identity of the package.
1861 PACKAGE='libstdc++'
1862 VERSION='version-unused'
1865 # Some tools Automake needs.
1867 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1870 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1873 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1876 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1879 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1881 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1883 # Installed binaries are usually stripped using `strip' when the user
1884 # run `make install-strip'. However `strip' might not be the right
1885 # tool to use in cross-compilation environments, therefore Automake
1886 # will honor the `STRIP' environment variable to overrule this program.
1887 if test "$cross_compiling" != no; then
1888 if test -n "$ac_tool_prefix"; then
1889 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1890 set dummy ${ac_tool_prefix}strip; ac_word=$2
1891 echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893 if test "${ac_cv_prog_STRIP+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 else
1896 if test -n "$STRIP"; then
1897 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1898 else
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 for as_dir in $PATH
1902 IFS=$as_save_IFS
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 break 2
1910 done
1911 done
1915 STRIP=$ac_cv_prog_STRIP
1916 if test -n "$STRIP"; then
1917 echo "$as_me:$LINENO: result: $STRIP" >&5
1918 echo "${ECHO_T}$STRIP" >&6
1919 else
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1925 if test -z "$ac_cv_prog_STRIP"; then
1926 ac_ct_STRIP=$STRIP
1927 # Extract the first word of "strip", so it can be a program name with args.
1928 set dummy strip; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test -n "$ac_ct_STRIP"; then
1935 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1936 else
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in $PATH
1940 IFS=$as_save_IFS
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_ac_ct_STRIP="strip"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 break 2
1948 done
1949 done
1951 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1955 if test -n "$ac_ct_STRIP"; then
1956 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1957 echo "${ECHO_T}$ac_ct_STRIP" >&6
1958 else
1959 echo "$as_me:$LINENO: result: no" >&5
1960 echo "${ECHO_T}no" >&6
1963 STRIP=$ac_ct_STRIP
1964 else
1965 STRIP="$ac_cv_prog_STRIP"
1969 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1971 # We need awk for the "check" target. The system "awk" is bad on
1972 # some platforms.
1973 # Always define AMTAR for backward compatibility.
1975 AMTAR=${AMTAR-"${am_missing_run}tar"}
1977 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1988 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1989 # up critical shell variables.
1991 ac_ext=c
1992 ac_cpp='$CPP $CPPFLAGS'
1993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1996 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1997 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1998 # On Suns, sometimes $CPP names a directory.
1999 if test -n "$CPP" && test -d "$CPP"; then
2000 CPP=
2002 if test -z "$CPP"; then
2003 if test "${ac_cv_prog_CPP+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 else
2006 # Double quotes because CPP needs to be expanded
2007 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2009 ac_preproc_ok=false
2010 for ac_c_preproc_warn_flag in '' yes
2012 # Use a header file that comes with gcc, so configuring glibc
2013 # with a fresh cross-compiler works.
2014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2015 # <limits.h> exists even on freestanding compilers.
2016 # On the NeXT, cc -E runs the code through the compiler's parser,
2017 # not just through cpp. "Syntax error" is here to catch this case.
2018 cat >conftest.$ac_ext <<_ACEOF
2019 /* confdefs.h. */
2020 _ACEOF
2021 cat confdefs.h >>conftest.$ac_ext
2022 cat >>conftest.$ac_ext <<_ACEOF
2023 /* end confdefs.h. */
2024 #ifdef __STDC__
2025 # include <limits.h>
2026 #else
2027 # include <assert.h>
2028 #endif
2029 Syntax error
2030 _ACEOF
2031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2033 ac_status=$?
2034 grep -v '^ *+' conftest.er1 >conftest.err
2035 rm -f conftest.er1
2036 cat conftest.err >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); } >/dev/null; then
2039 if test -s conftest.err; then
2040 ac_cpp_err=$ac_c_preproc_warn_flag
2041 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2042 else
2043 ac_cpp_err=
2045 else
2046 ac_cpp_err=yes
2048 if test -z "$ac_cpp_err"; then
2050 else
2051 echo "$as_me: failed program was:" >&5
2052 sed 's/^/| /' conftest.$ac_ext >&5
2054 # Broken: fails on valid input.
2055 continue
2057 rm -f conftest.err conftest.$ac_ext
2059 # OK, works on sane cases. Now check whether non-existent headers
2060 # can be detected and how.
2061 cat >conftest.$ac_ext <<_ACEOF
2062 /* confdefs.h. */
2063 _ACEOF
2064 cat confdefs.h >>conftest.$ac_ext
2065 cat >>conftest.$ac_ext <<_ACEOF
2066 /* end confdefs.h. */
2067 #include <ac_nonexistent.h>
2068 _ACEOF
2069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2071 ac_status=$?
2072 grep -v '^ *+' conftest.er1 >conftest.err
2073 rm -f conftest.er1
2074 cat conftest.err >&5
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); } >/dev/null; then
2077 if test -s conftest.err; then
2078 ac_cpp_err=$ac_c_preproc_warn_flag
2079 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2080 else
2081 ac_cpp_err=
2083 else
2084 ac_cpp_err=yes
2086 if test -z "$ac_cpp_err"; then
2087 # Broken: success on invalid input.
2088 continue
2089 else
2090 echo "$as_me: failed program was:" >&5
2091 sed 's/^/| /' conftest.$ac_ext >&5
2093 # Passes both tests.
2094 ac_preproc_ok=:
2095 break
2097 rm -f conftest.err conftest.$ac_ext
2099 done
2100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2101 rm -f conftest.err conftest.$ac_ext
2102 if $ac_preproc_ok; then
2103 break
2106 done
2107 ac_cv_prog_CPP=$CPP
2110 CPP=$ac_cv_prog_CPP
2111 else
2112 ac_cv_prog_CPP=$CPP
2114 echo "$as_me:$LINENO: result: $CPP" >&5
2115 echo "${ECHO_T}$CPP" >&6
2116 ac_preproc_ok=false
2117 for ac_c_preproc_warn_flag in '' yes
2119 # Use a header file that comes with gcc, so configuring glibc
2120 # with a fresh cross-compiler works.
2121 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2122 # <limits.h> exists even on freestanding compilers.
2123 # On the NeXT, cc -E runs the code through the compiler's parser,
2124 # not just through cpp. "Syntax error" is here to catch this case.
2125 cat >conftest.$ac_ext <<_ACEOF
2126 /* confdefs.h. */
2127 _ACEOF
2128 cat confdefs.h >>conftest.$ac_ext
2129 cat >>conftest.$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2131 #ifdef __STDC__
2132 # include <limits.h>
2133 #else
2134 # include <assert.h>
2135 #endif
2136 Syntax error
2137 _ACEOF
2138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2139 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2140 ac_status=$?
2141 grep -v '^ *+' conftest.er1 >conftest.err
2142 rm -f conftest.er1
2143 cat conftest.err >&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); } >/dev/null; then
2146 if test -s conftest.err; then
2147 ac_cpp_err=$ac_c_preproc_warn_flag
2148 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2149 else
2150 ac_cpp_err=
2152 else
2153 ac_cpp_err=yes
2155 if test -z "$ac_cpp_err"; then
2157 else
2158 echo "$as_me: failed program was:" >&5
2159 sed 's/^/| /' conftest.$ac_ext >&5
2161 # Broken: fails on valid input.
2162 continue
2164 rm -f conftest.err conftest.$ac_ext
2166 # OK, works on sane cases. Now check whether non-existent headers
2167 # can be detected and how.
2168 cat >conftest.$ac_ext <<_ACEOF
2169 /* confdefs.h. */
2170 _ACEOF
2171 cat confdefs.h >>conftest.$ac_ext
2172 cat >>conftest.$ac_ext <<_ACEOF
2173 /* end confdefs.h. */
2174 #include <ac_nonexistent.h>
2175 _ACEOF
2176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2177 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2178 ac_status=$?
2179 grep -v '^ *+' conftest.er1 >conftest.err
2180 rm -f conftest.er1
2181 cat conftest.err >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); } >/dev/null; then
2184 if test -s conftest.err; then
2185 ac_cpp_err=$ac_c_preproc_warn_flag
2186 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2187 else
2188 ac_cpp_err=
2190 else
2191 ac_cpp_err=yes
2193 if test -z "$ac_cpp_err"; then
2194 # Broken: success on invalid input.
2195 continue
2196 else
2197 echo "$as_me: failed program was:" >&5
2198 sed 's/^/| /' conftest.$ac_ext >&5
2200 # Passes both tests.
2201 ac_preproc_ok=:
2202 break
2204 rm -f conftest.err conftest.$ac_ext
2206 done
2207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2208 rm -f conftest.err conftest.$ac_ext
2209 if $ac_preproc_ok; then
2211 else
2212 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2213 See \`config.log' for more details." >&5
2214 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2215 See \`config.log' for more details." >&2;}
2216 { (exit 1); exit 1; }; }
2219 ac_ext=c
2220 ac_cpp='$CPP $CPPFLAGS'
2221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2226 echo "$as_me:$LINENO: checking for egrep" >&5
2227 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2228 if test "${ac_cv_prog_egrep+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 else
2231 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2232 then ac_cv_prog_egrep='grep -E'
2233 else ac_cv_prog_egrep='egrep'
2236 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2237 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2238 EGREP=$ac_cv_prog_egrep
2242 # Keep these sync'd with the list in Makefile.am. The first provides an
2243 # expandable list at autoconf time; the second provides an expandable list
2244 # (i.e., shell variable) at configure time.
2246 SUBDIRS='include libmath libsupc++ src po testsuite'
2248 # These need to be absolute paths, yet at the same time need to
2249 # canonicalize only relative paths, because then amd will not unmount
2250 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2251 glibcxx_builddir=`${PWDCMD-pwd}`
2252 case $srcdir in
2253 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2254 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2255 esac
2256 toplevel_srcdir=${glibcxx_srcdir}/..
2261 # We use these options to decide which functions to include. They are
2262 # set from the top level.
2264 # Check whether --with-target-subdir or --without-target-subdir was given.
2265 if test "${with_target_subdir+set}" = set; then
2266 withval="$with_target_subdir"
2271 # Check whether --with-cross-host or --without-cross-host was given.
2272 if test "${with_cross_host+set}" = set; then
2273 withval="$with_cross_host"
2278 # Check whether --with-newlib or --without-newlib was given.
2279 if test "${with_newlib+set}" = set; then
2280 withval="$with_newlib"
2284 # We're almost certainly being configured before anything else which uses
2285 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2286 # we not cache the value of CXX that we "discover" here, because it's set
2287 # to something unique for us and libjava. Other target libraries need to
2288 # find CXX for themselves. We yank the rug out from under the normal AC_*
2289 # process by sneakily renaming the cache variable. This also lets us debug
2290 # the value of "our" CXX in postmortems.
2292 # We must also force CXX to /not/ be a precious variable, otherwise the
2293 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2294 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2295 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2296 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2298 # -fno-builtin must be present here so that a non-conflicting form of
2299 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2304 save_CXXFLAGS="$CXXFLAGS"
2305 CXXFLAGS="$CXXFLAGS -fno-builtin"
2306 ac_ext=c
2307 ac_cpp='$CPP $CPPFLAGS'
2308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2311 if test -n "$ac_tool_prefix"; then
2312 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2313 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2314 echo "$as_me:$LINENO: checking for $ac_word" >&5
2315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2316 if test "${ac_cv_prog_CC+set}" = set; then
2317 echo $ECHO_N "(cached) $ECHO_C" >&6
2318 else
2319 if test -n "$CC"; then
2320 ac_cv_prog_CC="$CC" # Let the user override the test.
2321 else
2322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323 for as_dir in $PATH
2325 IFS=$as_save_IFS
2326 test -z "$as_dir" && as_dir=.
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2329 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 break 2
2333 done
2334 done
2338 CC=$ac_cv_prog_CC
2339 if test -n "$CC"; then
2340 echo "$as_me:$LINENO: result: $CC" >&5
2341 echo "${ECHO_T}$CC" >&6
2342 else
2343 echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6
2348 if test -z "$ac_cv_prog_CC"; then
2349 ac_ct_CC=$CC
2350 # Extract the first word of "gcc", so it can be a program name with args.
2351 set dummy gcc; ac_word=$2
2352 echo "$as_me:$LINENO: checking for $ac_word" >&5
2353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2354 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 else
2357 if test -n "$ac_ct_CC"; then
2358 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2359 else
2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2361 for as_dir in $PATH
2363 IFS=$as_save_IFS
2364 test -z "$as_dir" && as_dir=.
2365 for ac_exec_ext in '' $ac_executable_extensions; do
2366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2367 ac_cv_prog_ac_ct_CC="gcc"
2368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 break 2
2371 done
2372 done
2376 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2377 if test -n "$ac_ct_CC"; then
2378 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2379 echo "${ECHO_T}$ac_ct_CC" >&6
2380 else
2381 echo "$as_me:$LINENO: result: no" >&5
2382 echo "${ECHO_T}no" >&6
2385 CC=$ac_ct_CC
2386 else
2387 CC="$ac_cv_prog_CC"
2390 if test -z "$CC"; then
2391 if test -n "$ac_tool_prefix"; then
2392 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2393 set dummy ${ac_tool_prefix}cc; ac_word=$2
2394 echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2396 if test "${ac_cv_prog_CC+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2398 else
2399 if test -n "$CC"; then
2400 ac_cv_prog_CC="$CC" # Let the user override the test.
2401 else
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 for as_dir in $PATH
2405 IFS=$as_save_IFS
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2409 ac_cv_prog_CC="${ac_tool_prefix}cc"
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 break 2
2413 done
2414 done
2418 CC=$ac_cv_prog_CC
2419 if test -n "$CC"; then
2420 echo "$as_me:$LINENO: result: $CC" >&5
2421 echo "${ECHO_T}$CC" >&6
2422 else
2423 echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6
2428 if test -z "$ac_cv_prog_CC"; then
2429 ac_ct_CC=$CC
2430 # Extract the first word of "cc", so it can be a program name with args.
2431 set dummy cc; ac_word=$2
2432 echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2434 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 else
2437 if test -n "$ac_ct_CC"; then
2438 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2439 else
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 for as_dir in $PATH
2443 IFS=$as_save_IFS
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2447 ac_cv_prog_ac_ct_CC="cc"
2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2449 break 2
2451 done
2452 done
2456 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2457 if test -n "$ac_ct_CC"; then
2458 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2459 echo "${ECHO_T}$ac_ct_CC" >&6
2460 else
2461 echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6
2465 CC=$ac_ct_CC
2466 else
2467 CC="$ac_cv_prog_CC"
2471 if test -z "$CC"; then
2472 # Extract the first word of "cc", so it can be a program name with args.
2473 set dummy cc; ac_word=$2
2474 echo "$as_me:$LINENO: checking for $ac_word" >&5
2475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2476 if test "${ac_cv_prog_CC+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 else
2479 if test -n "$CC"; then
2480 ac_cv_prog_CC="$CC" # Let the user override the test.
2481 else
2482 ac_prog_rejected=no
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 for as_dir in $PATH
2486 IFS=$as_save_IFS
2487 test -z "$as_dir" && as_dir=.
2488 for ac_exec_ext in '' $ac_executable_extensions; do
2489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2490 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2491 ac_prog_rejected=yes
2492 continue
2494 ac_cv_prog_CC="cc"
2495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 break 2
2498 done
2499 done
2501 if test $ac_prog_rejected = yes; then
2502 # We found a bogon in the path, so make sure we never use it.
2503 set dummy $ac_cv_prog_CC
2504 shift
2505 if test $# != 0; then
2506 # We chose a different compiler from the bogus one.
2507 # However, it has the same basename, so the bogon will be chosen
2508 # first if we set CC to just the basename; use the full file name.
2509 shift
2510 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2515 CC=$ac_cv_prog_CC
2516 if test -n "$CC"; then
2517 echo "$as_me:$LINENO: result: $CC" >&5
2518 echo "${ECHO_T}$CC" >&6
2519 else
2520 echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6
2525 if test -z "$CC"; then
2526 if test -n "$ac_tool_prefix"; then
2527 for ac_prog in cl
2529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2531 echo "$as_me:$LINENO: checking for $ac_word" >&5
2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2533 if test "${ac_cv_prog_CC+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 else
2536 if test -n "$CC"; then
2537 ac_cv_prog_CC="$CC" # Let the user override the test.
2538 else
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540 for as_dir in $PATH
2542 IFS=$as_save_IFS
2543 test -z "$as_dir" && as_dir=.
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2546 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 break 2
2550 done
2551 done
2555 CC=$ac_cv_prog_CC
2556 if test -n "$CC"; then
2557 echo "$as_me:$LINENO: result: $CC" >&5
2558 echo "${ECHO_T}$CC" >&6
2559 else
2560 echo "$as_me:$LINENO: result: no" >&5
2561 echo "${ECHO_T}no" >&6
2564 test -n "$CC" && break
2565 done
2567 if test -z "$CC"; then
2568 ac_ct_CC=$CC
2569 for ac_prog in cl
2571 # Extract the first word of "$ac_prog", so it can be a program name with args.
2572 set dummy $ac_prog; ac_word=$2
2573 echo "$as_me:$LINENO: checking for $ac_word" >&5
2574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2575 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 else
2578 if test -n "$ac_ct_CC"; then
2579 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2580 else
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 for as_dir in $PATH
2584 IFS=$as_save_IFS
2585 test -z "$as_dir" && as_dir=.
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588 ac_cv_prog_ac_ct_CC="$ac_prog"
2589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 break 2
2592 done
2593 done
2597 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2598 if test -n "$ac_ct_CC"; then
2599 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2600 echo "${ECHO_T}$ac_ct_CC" >&6
2601 else
2602 echo "$as_me:$LINENO: result: no" >&5
2603 echo "${ECHO_T}no" >&6
2606 test -n "$ac_ct_CC" && break
2607 done
2609 CC=$ac_ct_CC
2615 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: no acceptable C compiler found in \$PATH
2618 See \`config.log' for more details." >&2;}
2619 { (exit 1); exit 1; }; }
2621 # Provide some information about the compiler.
2622 echo "$as_me:$LINENO:" \
2623 "checking for C compiler version" >&5
2624 ac_compiler=`set X $ac_compile; echo $2`
2625 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2626 (eval $ac_compiler --version </dev/null >&5) 2>&5
2627 ac_status=$?
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); }
2630 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2631 (eval $ac_compiler -v </dev/null >&5) 2>&5
2632 ac_status=$?
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }
2635 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2636 (eval $ac_compiler -V </dev/null >&5) 2>&5
2637 ac_status=$?
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }
2641 cat >conftest.$ac_ext <<_ACEOF
2642 /* confdefs.h. */
2643 _ACEOF
2644 cat confdefs.h >>conftest.$ac_ext
2645 cat >>conftest.$ac_ext <<_ACEOF
2646 /* end confdefs.h. */
2649 main ()
2653 return 0;
2655 _ACEOF
2656 # FIXME: Cleanup?
2657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2658 (eval $ac_link) 2>&5
2659 ac_status=$?
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; then
2662 gcc_no_link=no
2663 else
2664 gcc_no_link=yes
2667 if test x$gcc_no_link = xyes; then
2668 # Setting cross_compile will disable run tests; it will
2669 # also disable AC_CHECK_FILE but that's generally
2670 # correct if we can't link.
2671 cross_compiling=yes
2672 EXEEXT=
2673 else
2674 cat >conftest.$ac_ext <<_ACEOF
2675 /* confdefs.h. */
2676 _ACEOF
2677 cat confdefs.h >>conftest.$ac_ext
2678 cat >>conftest.$ac_ext <<_ACEOF
2679 /* end confdefs.h. */
2682 main ()
2686 return 0;
2688 _ACEOF
2689 ac_clean_files_save=$ac_clean_files
2690 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2691 # Try to create an executable without -o first, disregard a.out.
2692 # It will help us diagnose broken compilers, and finding out an intuition
2693 # of exeext.
2694 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2695 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2696 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2697 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2698 (eval $ac_link_default) 2>&5
2699 ac_status=$?
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; then
2702 # Find the output, starting from the most likely. This scheme is
2703 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2704 # resort.
2706 # Be careful to initialize this variable, since it used to be cached.
2707 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2708 ac_cv_exeext=
2709 # b.out is created by i960 compilers.
2710 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2712 test -f "$ac_file" || continue
2713 case $ac_file in
2714 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2716 conftest.$ac_ext )
2717 # This is the source file.
2719 [ab].out )
2720 # We found the default executable, but exeext='' is most
2721 # certainly right.
2722 break;;
2723 *.* )
2724 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2725 # FIXME: I believe we export ac_cv_exeext for Libtool,
2726 # but it would be cool to find out if it's true. Does anybody
2727 # maintain Libtool? --akim.
2728 export ac_cv_exeext
2729 break;;
2731 break;;
2732 esac
2733 done
2734 else
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2738 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2739 See \`config.log' for more details." >&5
2740 echo "$as_me: error: C compiler cannot create executables
2741 See \`config.log' for more details." >&2;}
2742 { (exit 77); exit 77; }; }
2745 ac_exeext=$ac_cv_exeext
2746 echo "$as_me:$LINENO: result: $ac_file" >&5
2747 echo "${ECHO_T}$ac_file" >&6
2749 # Check the compiler produces executables we can run. If not, either
2750 # the compiler is broken, or we cross compile.
2751 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2752 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2753 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2754 # If not cross compiling, check that we can run a simple program.
2755 if test "$cross_compiling" != yes; then
2756 if { ac_try='./$ac_file'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 (eval $ac_try) 2>&5
2759 ac_status=$?
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; }; then
2762 cross_compiling=no
2763 else
2764 if test "$cross_compiling" = maybe; then
2765 cross_compiling=yes
2766 else
2767 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2768 If you meant to cross compile, use \`--host'.
2769 See \`config.log' for more details." >&5
2770 echo "$as_me: error: cannot run C compiled programs.
2771 If you meant to cross compile, use \`--host'.
2772 See \`config.log' for more details." >&2;}
2773 { (exit 1); exit 1; }; }
2777 echo "$as_me:$LINENO: result: yes" >&5
2778 echo "${ECHO_T}yes" >&6
2780 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2781 ac_clean_files=$ac_clean_files_save
2782 # Check the compiler produces executables we can run. If not, either
2783 # the compiler is broken, or we cross compile.
2784 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2785 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2786 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2787 echo "${ECHO_T}$cross_compiling" >&6
2789 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2790 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2792 (eval $ac_link) 2>&5
2793 ac_status=$?
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); }; then
2796 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2797 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2798 # work properly (i.e., refer to `conftest.exe'), while it won't with
2799 # `rm'.
2800 for ac_file in conftest.exe conftest conftest.*; do
2801 test -f "$ac_file" || continue
2802 case $ac_file in
2803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2804 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2805 export ac_cv_exeext
2806 break;;
2807 * ) break;;
2808 esac
2809 done
2810 else
2811 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2812 See \`config.log' for more details." >&5
2813 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2814 See \`config.log' for more details." >&2;}
2815 { (exit 1); exit 1; }; }
2818 rm -f conftest$ac_cv_exeext
2819 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2820 echo "${ECHO_T}$ac_cv_exeext" >&6
2822 rm -f conftest.$ac_ext
2823 EXEEXT=$ac_cv_exeext
2824 ac_exeext=$EXEEXT
2826 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2827 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2828 if test "${ac_cv_objext+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 else
2831 cat >conftest.$ac_ext <<_ACEOF
2832 /* confdefs.h. */
2833 _ACEOF
2834 cat confdefs.h >>conftest.$ac_ext
2835 cat >>conftest.$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2839 main ()
2843 return 0;
2845 _ACEOF
2846 rm -f conftest.o conftest.obj
2847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2848 (eval $ac_compile) 2>&5
2849 ac_status=$?
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; then
2852 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2853 case $ac_file in
2854 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2855 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2856 break;;
2857 esac
2858 done
2859 else
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2863 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2864 See \`config.log' for more details." >&5
2865 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2866 See \`config.log' for more details." >&2;}
2867 { (exit 1); exit 1; }; }
2870 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2872 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2873 echo "${ECHO_T}$ac_cv_objext" >&6
2874 OBJEXT=$ac_cv_objext
2875 ac_objext=$OBJEXT
2876 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2877 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2878 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2879 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 else
2881 cat >conftest.$ac_ext <<_ACEOF
2882 /* confdefs.h. */
2883 _ACEOF
2884 cat confdefs.h >>conftest.$ac_ext
2885 cat >>conftest.$ac_ext <<_ACEOF
2886 /* end confdefs.h. */
2889 main ()
2891 #ifndef __GNUC__
2892 choke me
2893 #endif
2896 return 0;
2898 _ACEOF
2899 rm -f conftest.$ac_objext
2900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2901 (eval $ac_compile) 2>conftest.er1
2902 ac_status=$?
2903 grep -v '^ *+' conftest.er1 >conftest.err
2904 rm -f conftest.er1
2905 cat conftest.err >&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); } &&
2908 { ac_try='test -z "$ac_c_werror_flag"
2909 || test ! -s conftest.err'
2910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2911 (eval $ac_try) 2>&5
2912 ac_status=$?
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; } &&
2915 { ac_try='test -s conftest.$ac_objext'
2916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 (eval $ac_try) 2>&5
2918 ac_status=$?
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }; }; then
2921 ac_compiler_gnu=yes
2922 else
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2926 ac_compiler_gnu=no
2928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2929 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2932 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2933 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2934 GCC=`test $ac_compiler_gnu = yes && echo yes`
2935 ac_test_CFLAGS=${CFLAGS+set}
2936 ac_save_CFLAGS=$CFLAGS
2937 CFLAGS="-g"
2938 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2939 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2940 if test "${ac_cv_prog_cc_g+set}" = set; then
2941 echo $ECHO_N "(cached) $ECHO_C" >&6
2942 else
2943 cat >conftest.$ac_ext <<_ACEOF
2944 /* confdefs.h. */
2945 _ACEOF
2946 cat confdefs.h >>conftest.$ac_ext
2947 cat >>conftest.$ac_ext <<_ACEOF
2948 /* end confdefs.h. */
2951 main ()
2955 return 0;
2957 _ACEOF
2958 rm -f conftest.$ac_objext
2959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2960 (eval $ac_compile) 2>conftest.er1
2961 ac_status=$?
2962 grep -v '^ *+' conftest.er1 >conftest.err
2963 rm -f conftest.er1
2964 cat conftest.err >&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); } &&
2967 { ac_try='test -z "$ac_c_werror_flag"
2968 || test ! -s conftest.err'
2969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2970 (eval $ac_try) 2>&5
2971 ac_status=$?
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); }; } &&
2974 { ac_try='test -s conftest.$ac_objext'
2975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2976 (eval $ac_try) 2>&5
2977 ac_status=$?
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); }; }; then
2980 ac_cv_prog_cc_g=yes
2981 else
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2985 ac_cv_prog_cc_g=no
2987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2989 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2990 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2991 if test "$ac_test_CFLAGS" = set; then
2992 CFLAGS=$ac_save_CFLAGS
2993 elif test $ac_cv_prog_cc_g = yes; then
2994 if test "$GCC" = yes; then
2995 CFLAGS="-g -O2"
2996 else
2997 CFLAGS="-g"
2999 else
3000 if test "$GCC" = yes; then
3001 CFLAGS="-O2"
3002 else
3003 CFLAGS=
3006 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3007 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3008 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011 ac_cv_prog_cc_stdc=no
3012 ac_save_CC=$CC
3013 cat >conftest.$ac_ext <<_ACEOF
3014 /* confdefs.h. */
3015 _ACEOF
3016 cat confdefs.h >>conftest.$ac_ext
3017 cat >>conftest.$ac_ext <<_ACEOF
3018 /* end confdefs.h. */
3019 #include <stdarg.h>
3020 #include <stdio.h>
3021 #include <sys/types.h>
3022 #include <sys/stat.h>
3023 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3024 struct buf { int x; };
3025 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3026 static char *e (p, i)
3027 char **p;
3028 int i;
3030 return p[i];
3032 static char *f (char * (*g) (char **, int), char **p, ...)
3034 char *s;
3035 va_list v;
3036 va_start (v,p);
3037 s = g (p, va_arg (v,int));
3038 va_end (v);
3039 return s;
3042 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3043 function prototypes and stuff, but not '\xHH' hex character constants.
3044 These don't provoke an error unfortunately, instead are silently treated
3045 as 'x'. The following induces an error, until -std1 is added to get
3046 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3047 array size at least. It's necessary to write '\x00'==0 to get something
3048 that's true only with -std1. */
3049 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3051 int test (int i, double x);
3052 struct s1 {int (*f) (int a);};
3053 struct s2 {int (*f) (double a);};
3054 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3055 int argc;
3056 char **argv;
3058 main ()
3060 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3062 return 0;
3064 _ACEOF
3065 # Don't try gcc -ansi; that turns off useful extensions and
3066 # breaks some systems' header files.
3067 # AIX -qlanglvl=ansi
3068 # Ultrix and OSF/1 -std1
3069 # HP-UX 10.20 and later -Ae
3070 # HP-UX older versions -Aa -D_HPUX_SOURCE
3071 # SVR4 -Xc -D__EXTENSIONS__
3072 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3074 CC="$ac_save_CC $ac_arg"
3075 rm -f conftest.$ac_objext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3077 (eval $ac_compile) 2>conftest.er1
3078 ac_status=$?
3079 grep -v '^ *+' conftest.er1 >conftest.err
3080 rm -f conftest.er1
3081 cat conftest.err >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } &&
3084 { ac_try='test -z "$ac_c_werror_flag"
3085 || test ! -s conftest.err'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 (eval $ac_try) 2>&5
3088 ac_status=$?
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; } &&
3091 { ac_try='test -s conftest.$ac_objext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 (eval $ac_try) 2>&5
3094 ac_status=$?
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_cv_prog_cc_stdc=$ac_arg
3098 break
3099 else
3100 echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.$ac_ext >&5
3104 rm -f conftest.err conftest.$ac_objext
3105 done
3106 rm -f conftest.$ac_ext conftest.$ac_objext
3107 CC=$ac_save_CC
3111 case "x$ac_cv_prog_cc_stdc" in
3112 x|xno)
3113 echo "$as_me:$LINENO: result: none needed" >&5
3114 echo "${ECHO_T}none needed" >&6 ;;
3116 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3117 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3118 CC="$CC $ac_cv_prog_cc_stdc" ;;
3119 esac
3121 # Some people use a C++ compiler to compile C. Since we use `exit',
3122 # in C++ we need to declare it. In case someone uses the same compiler
3123 # for both compiling C and C++ we need to have the C++ compiler decide
3124 # the declaration of exit, since it's the most demanding environment.
3125 cat >conftest.$ac_ext <<_ACEOF
3126 #ifndef __cplusplus
3127 choke me
3128 #endif
3129 _ACEOF
3130 rm -f conftest.$ac_objext
3131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3132 (eval $ac_compile) 2>conftest.er1
3133 ac_status=$?
3134 grep -v '^ *+' conftest.er1 >conftest.err
3135 rm -f conftest.er1
3136 cat conftest.err >&5
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); } &&
3139 { ac_try='test -z "$ac_c_werror_flag"
3140 || test ! -s conftest.err'
3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142 (eval $ac_try) 2>&5
3143 ac_status=$?
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }; } &&
3146 { ac_try='test -s conftest.$ac_objext'
3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148 (eval $ac_try) 2>&5
3149 ac_status=$?
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }; }; then
3152 for ac_declaration in \
3153 '' \
3154 'extern "C" void std::exit (int) throw (); using std::exit;' \
3155 'extern "C" void std::exit (int); using std::exit;' \
3156 'extern "C" void exit (int) throw ();' \
3157 'extern "C" void exit (int);' \
3158 'void exit (int);'
3160 cat >conftest.$ac_ext <<_ACEOF
3161 /* confdefs.h. */
3162 _ACEOF
3163 cat confdefs.h >>conftest.$ac_ext
3164 cat >>conftest.$ac_ext <<_ACEOF
3165 /* end confdefs.h. */
3166 $ac_declaration
3167 #include <stdlib.h>
3169 main ()
3171 exit (42);
3173 return 0;
3175 _ACEOF
3176 rm -f conftest.$ac_objext
3177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3178 (eval $ac_compile) 2>conftest.er1
3179 ac_status=$?
3180 grep -v '^ *+' conftest.er1 >conftest.err
3181 rm -f conftest.er1
3182 cat conftest.err >&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } &&
3185 { ac_try='test -z "$ac_c_werror_flag"
3186 || test ! -s conftest.err'
3187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3188 (eval $ac_try) 2>&5
3189 ac_status=$?
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); }; } &&
3192 { ac_try='test -s conftest.$ac_objext'
3193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3194 (eval $ac_try) 2>&5
3195 ac_status=$?
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }; }; then
3199 else
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3203 continue
3205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3206 cat >conftest.$ac_ext <<_ACEOF
3207 /* confdefs.h. */
3208 _ACEOF
3209 cat confdefs.h >>conftest.$ac_ext
3210 cat >>conftest.$ac_ext <<_ACEOF
3211 /* end confdefs.h. */
3212 $ac_declaration
3214 main ()
3216 exit (42);
3218 return 0;
3220 _ACEOF
3221 rm -f conftest.$ac_objext
3222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3223 (eval $ac_compile) 2>conftest.er1
3224 ac_status=$?
3225 grep -v '^ *+' conftest.er1 >conftest.err
3226 rm -f conftest.er1
3227 cat conftest.err >&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); } &&
3230 { ac_try='test -z "$ac_c_werror_flag"
3231 || test ! -s conftest.err'
3232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3233 (eval $ac_try) 2>&5
3234 ac_status=$?
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); }; } &&
3237 { ac_try='test -s conftest.$ac_objext'
3238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3239 (eval $ac_try) 2>&5
3240 ac_status=$?
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); }; }; then
3243 break
3244 else
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3250 done
3251 rm -f conftest*
3252 if test -n "$ac_declaration"; then
3253 echo '#ifdef __cplusplus' >>confdefs.h
3254 echo $ac_declaration >>confdefs.h
3255 echo '#endif' >>confdefs.h
3258 else
3259 echo "$as_me: failed program was:" >&5
3260 sed 's/^/| /' conftest.$ac_ext >&5
3263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3264 ac_ext=c
3265 ac_cpp='$CPP $CPPFLAGS'
3266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3270 ac_ext=cc
3271 ac_cpp='$CXXCPP $CPPFLAGS'
3272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3275 if test -n "$ac_tool_prefix"; then
3276 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3280 echo "$as_me:$LINENO: checking for $ac_word" >&5
3281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3282 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3283 echo $ECHO_N "(cached) $ECHO_C" >&6
3284 else
3285 if test -n "$CXX"; then
3286 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3287 else
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 for as_dir in $PATH
3291 IFS=$as_save_IFS
3292 test -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3295 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 break 2
3299 done
3300 done
3304 CXX=$glibcxx_cv_prog_CXX
3305 if test -n "$CXX"; then
3306 echo "$as_me:$LINENO: result: $CXX" >&5
3307 echo "${ECHO_T}$CXX" >&6
3308 else
3309 echo "$as_me:$LINENO: result: no" >&5
3310 echo "${ECHO_T}no" >&6
3313 test -n "$CXX" && break
3314 done
3316 if test -z "$CXX"; then
3317 ac_ct_CXX=$CXX
3318 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3320 # Extract the first word of "$ac_prog", so it can be a program name with args.
3321 set dummy $ac_prog; ac_word=$2
3322 echo "$as_me:$LINENO: checking for $ac_word" >&5
3323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3324 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3325 echo $ECHO_N "(cached) $ECHO_C" >&6
3326 else
3327 if test -n "$ac_ct_CXX"; then
3328 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3329 else
3330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3331 for as_dir in $PATH
3333 IFS=$as_save_IFS
3334 test -z "$as_dir" && as_dir=.
3335 for ac_exec_ext in '' $ac_executable_extensions; do
3336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3337 ac_cv_prog_ac_ct_CXX="$ac_prog"
3338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3339 break 2
3341 done
3342 done
3346 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3347 if test -n "$ac_ct_CXX"; then
3348 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3349 echo "${ECHO_T}$ac_ct_CXX" >&6
3350 else
3351 echo "$as_me:$LINENO: result: no" >&5
3352 echo "${ECHO_T}no" >&6
3355 test -n "$ac_ct_CXX" && break
3356 done
3357 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3359 CXX=$ac_ct_CXX
3363 # Provide some information about the compiler.
3364 echo "$as_me:$LINENO:" \
3365 "checking for C++ compiler version" >&5
3366 ac_compiler=`set X $ac_compile; echo $2`
3367 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3368 (eval $ac_compiler --version </dev/null >&5) 2>&5
3369 ac_status=$?
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }
3372 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3373 (eval $ac_compiler -v </dev/null >&5) 2>&5
3374 ac_status=$?
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); }
3377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3378 (eval $ac_compiler -V </dev/null >&5) 2>&5
3379 ac_status=$?
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); }
3383 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3384 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3385 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3386 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 else
3388 cat >conftest.$ac_ext <<_ACEOF
3389 /* confdefs.h. */
3390 _ACEOF
3391 cat confdefs.h >>conftest.$ac_ext
3392 cat >>conftest.$ac_ext <<_ACEOF
3393 /* end confdefs.h. */
3396 main ()
3398 #ifndef __GNUC__
3399 choke me
3400 #endif
3403 return 0;
3405 _ACEOF
3406 rm -f conftest.$ac_objext
3407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3408 (eval $ac_compile) 2>conftest.er1
3409 ac_status=$?
3410 grep -v '^ *+' conftest.er1 >conftest.err
3411 rm -f conftest.er1
3412 cat conftest.err >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); } &&
3415 { ac_try='test -z "$ac_cxx_werror_flag"
3416 || test ! -s conftest.err'
3417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3418 (eval $ac_try) 2>&5
3419 ac_status=$?
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); }; } &&
3422 { ac_try='test -s conftest.$ac_objext'
3423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3424 (eval $ac_try) 2>&5
3425 ac_status=$?
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); }; }; then
3428 ac_compiler_gnu=yes
3429 else
3430 echo "$as_me: failed program was:" >&5
3431 sed 's/^/| /' conftest.$ac_ext >&5
3433 ac_compiler_gnu=no
3435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3436 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3439 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3440 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3441 GXX=`test $ac_compiler_gnu = yes && echo yes`
3442 ac_test_CXXFLAGS=${CXXFLAGS+set}
3443 ac_save_CXXFLAGS=$CXXFLAGS
3444 CXXFLAGS="-g"
3445 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3446 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3447 if test "${ac_cv_prog_cxx_g+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 else
3450 cat >conftest.$ac_ext <<_ACEOF
3451 /* confdefs.h. */
3452 _ACEOF
3453 cat confdefs.h >>conftest.$ac_ext
3454 cat >>conftest.$ac_ext <<_ACEOF
3455 /* end confdefs.h. */
3458 main ()
3462 return 0;
3464 _ACEOF
3465 rm -f conftest.$ac_objext
3466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3467 (eval $ac_compile) 2>conftest.er1
3468 ac_status=$?
3469 grep -v '^ *+' conftest.er1 >conftest.err
3470 rm -f conftest.er1
3471 cat conftest.err >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); } &&
3474 { ac_try='test -z "$ac_cxx_werror_flag"
3475 || test ! -s conftest.err'
3476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477 (eval $ac_try) 2>&5
3478 ac_status=$?
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); }; } &&
3481 { ac_try='test -s conftest.$ac_objext'
3482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3483 (eval $ac_try) 2>&5
3484 ac_status=$?
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); }; }; then
3487 ac_cv_prog_cxx_g=yes
3488 else
3489 echo "$as_me: failed program was:" >&5
3490 sed 's/^/| /' conftest.$ac_ext >&5
3492 ac_cv_prog_cxx_g=no
3494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3496 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3497 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3498 if test "$ac_test_CXXFLAGS" = set; then
3499 CXXFLAGS=$ac_save_CXXFLAGS
3500 elif test $ac_cv_prog_cxx_g = yes; then
3501 if test "$GXX" = yes; then
3502 CXXFLAGS="-g -O2"
3503 else
3504 CXXFLAGS="-g"
3506 else
3507 if test "$GXX" = yes; then
3508 CXXFLAGS="-O2"
3509 else
3510 CXXFLAGS=
3513 for ac_declaration in \
3514 '' \
3515 'extern "C" void std::exit (int) throw (); using std::exit;' \
3516 'extern "C" void std::exit (int); using std::exit;' \
3517 'extern "C" void exit (int) throw ();' \
3518 'extern "C" void exit (int);' \
3519 'void exit (int);'
3521 cat >conftest.$ac_ext <<_ACEOF
3522 /* confdefs.h. */
3523 _ACEOF
3524 cat confdefs.h >>conftest.$ac_ext
3525 cat >>conftest.$ac_ext <<_ACEOF
3526 /* end confdefs.h. */
3527 $ac_declaration
3528 #include <stdlib.h>
3530 main ()
3532 exit (42);
3534 return 0;
3536 _ACEOF
3537 rm -f conftest.$ac_objext
3538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3539 (eval $ac_compile) 2>conftest.er1
3540 ac_status=$?
3541 grep -v '^ *+' conftest.er1 >conftest.err
3542 rm -f conftest.er1
3543 cat conftest.err >&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } &&
3546 { ac_try='test -z "$ac_cxx_werror_flag"
3547 || test ! -s conftest.err'
3548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3549 (eval $ac_try) 2>&5
3550 ac_status=$?
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }; } &&
3553 { ac_try='test -s conftest.$ac_objext'
3554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3555 (eval $ac_try) 2>&5
3556 ac_status=$?
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); }; }; then
3560 else
3561 echo "$as_me: failed program was:" >&5
3562 sed 's/^/| /' conftest.$ac_ext >&5
3564 continue
3566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3567 cat >conftest.$ac_ext <<_ACEOF
3568 /* confdefs.h. */
3569 _ACEOF
3570 cat confdefs.h >>conftest.$ac_ext
3571 cat >>conftest.$ac_ext <<_ACEOF
3572 /* end confdefs.h. */
3573 $ac_declaration
3575 main ()
3577 exit (42);
3579 return 0;
3581 _ACEOF
3582 rm -f conftest.$ac_objext
3583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3584 (eval $ac_compile) 2>conftest.er1
3585 ac_status=$?
3586 grep -v '^ *+' conftest.er1 >conftest.err
3587 rm -f conftest.er1
3588 cat conftest.err >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); } &&
3591 { ac_try='test -z "$ac_cxx_werror_flag"
3592 || test ! -s conftest.err'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 (eval $ac_try) 2>&5
3595 ac_status=$?
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; } &&
3598 { ac_try='test -s conftest.$ac_objext'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 (eval $ac_try) 2>&5
3601 ac_status=$?
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; }; then
3604 break
3605 else
3606 echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3611 done
3612 rm -f conftest*
3613 if test -n "$ac_declaration"; then
3614 echo '#ifdef __cplusplus' >>confdefs.h
3615 echo $ac_declaration >>confdefs.h
3616 echo '#endif' >>confdefs.h
3619 ac_ext=c
3620 ac_cpp='$CPP $CPPFLAGS'
3621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3625 CXXFLAGS="$save_CXXFLAGS"
3630 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3631 # available). Uncomment the next line to force a particular method.
3632 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3633 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3634 LN_S=$as_ln_s
3635 if test "$LN_S" = "ln -s"; then
3636 echo "$as_me:$LINENO: result: yes" >&5
3637 echo "${ECHO_T}yes" >&6
3638 else
3639 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3640 echo "${ECHO_T}no, using $LN_S" >&6
3643 #LN_S='cp -p'
3645 if test -n "$ac_tool_prefix"; then
3646 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3647 set dummy ${ac_tool_prefix}as; ac_word=$2
3648 echo "$as_me:$LINENO: checking for $ac_word" >&5
3649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3650 if test "${ac_cv_prog_AS+set}" = set; then
3651 echo $ECHO_N "(cached) $ECHO_C" >&6
3652 else
3653 if test -n "$AS"; then
3654 ac_cv_prog_AS="$AS" # Let the user override the test.
3655 else
3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657 for as_dir in $PATH
3659 IFS=$as_save_IFS
3660 test -z "$as_dir" && as_dir=.
3661 for ac_exec_ext in '' $ac_executable_extensions; do
3662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3663 ac_cv_prog_AS="${ac_tool_prefix}as"
3664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 break 2
3667 done
3668 done
3672 AS=$ac_cv_prog_AS
3673 if test -n "$AS"; then
3674 echo "$as_me:$LINENO: result: $AS" >&5
3675 echo "${ECHO_T}$AS" >&6
3676 else
3677 echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6
3682 if test -z "$ac_cv_prog_AS"; then
3683 ac_ct_AS=$AS
3684 # Extract the first word of "as", so it can be a program name with args.
3685 set dummy as; ac_word=$2
3686 echo "$as_me:$LINENO: checking for $ac_word" >&5
3687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3688 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3689 echo $ECHO_N "(cached) $ECHO_C" >&6
3690 else
3691 if test -n "$ac_ct_AS"; then
3692 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3693 else
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3697 IFS=$as_save_IFS
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3701 ac_cv_prog_ac_ct_AS="as"
3702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 break 2
3705 done
3706 done
3710 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3711 if test -n "$ac_ct_AS"; then
3712 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3713 echo "${ECHO_T}$ac_ct_AS" >&6
3714 else
3715 echo "$as_me:$LINENO: result: no" >&5
3716 echo "${ECHO_T}no" >&6
3719 AS=$ac_ct_AS
3720 else
3721 AS="$ac_cv_prog_AS"
3724 if test -n "$ac_tool_prefix"; then
3725 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3726 set dummy ${ac_tool_prefix}ar; ac_word=$2
3727 echo "$as_me:$LINENO: checking for $ac_word" >&5
3728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3729 if test "${ac_cv_prog_AR+set}" = set; then
3730 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 else
3732 if test -n "$AR"; then
3733 ac_cv_prog_AR="$AR" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3742 ac_cv_prog_AR="${ac_tool_prefix}ar"
3743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2
3746 done
3747 done
3751 AR=$ac_cv_prog_AR
3752 if test -n "$AR"; then
3753 echo "$as_me:$LINENO: result: $AR" >&5
3754 echo "${ECHO_T}$AR" >&6
3755 else
3756 echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6
3761 if test -z "$ac_cv_prog_AR"; then
3762 ac_ct_AR=$AR
3763 # Extract the first word of "ar", so it can be a program name with args.
3764 set dummy ar; ac_word=$2
3765 echo "$as_me:$LINENO: checking for $ac_word" >&5
3766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3767 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 else
3770 if test -n "$ac_ct_AR"; then
3771 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3772 else
3773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3774 for as_dir in $PATH
3776 IFS=$as_save_IFS
3777 test -z "$as_dir" && as_dir=.
3778 for ac_exec_ext in '' $ac_executable_extensions; do
3779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3780 ac_cv_prog_ac_ct_AR="ar"
3781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3782 break 2
3784 done
3785 done
3789 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3790 if test -n "$ac_ct_AR"; then
3791 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3792 echo "${ECHO_T}$ac_ct_AR" >&6
3793 else
3794 echo "$as_me:$LINENO: result: no" >&5
3795 echo "${ECHO_T}no" >&6
3798 AR=$ac_ct_AR
3799 else
3800 AR="$ac_cv_prog_AR"
3803 if test -n "$ac_tool_prefix"; then
3804 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3805 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3806 echo "$as_me:$LINENO: checking for $ac_word" >&5
3807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3808 if test "${ac_cv_prog_RANLIB+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 else
3811 if test -n "$RANLIB"; then
3812 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3813 else
3814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3815 for as_dir in $PATH
3817 IFS=$as_save_IFS
3818 test -z "$as_dir" && as_dir=.
3819 for ac_exec_ext in '' $ac_executable_extensions; do
3820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3821 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 break 2
3825 done
3826 done
3830 RANLIB=$ac_cv_prog_RANLIB
3831 if test -n "$RANLIB"; then
3832 echo "$as_me:$LINENO: result: $RANLIB" >&5
3833 echo "${ECHO_T}$RANLIB" >&6
3834 else
3835 echo "$as_me:$LINENO: result: no" >&5
3836 echo "${ECHO_T}no" >&6
3840 if test -z "$ac_cv_prog_RANLIB"; then
3841 ac_ct_RANLIB=$RANLIB
3842 # Extract the first word of "ranlib", so it can be a program name with args.
3843 set dummy ranlib; ac_word=$2
3844 echo "$as_me:$LINENO: checking for $ac_word" >&5
3845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3846 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3847 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 else
3849 if test -n "$ac_ct_RANLIB"; then
3850 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3851 else
3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853 for as_dir in $PATH
3855 IFS=$as_save_IFS
3856 test -z "$as_dir" && as_dir=.
3857 for ac_exec_ext in '' $ac_executable_extensions; do
3858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3859 ac_cv_prog_ac_ct_RANLIB="ranlib"
3860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 break 2
3863 done
3864 done
3866 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3869 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3870 if test -n "$ac_ct_RANLIB"; then
3871 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3872 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3873 else
3874 echo "$as_me:$LINENO: result: no" >&5
3875 echo "${ECHO_T}no" >&6
3878 RANLIB=$ac_ct_RANLIB
3879 else
3880 RANLIB="$ac_cv_prog_RANLIB"
3884 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3885 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3886 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3887 if test "${enable_maintainer_mode+set}" = set; then
3888 enableval="$enable_maintainer_mode"
3889 USE_MAINTAINER_MODE=$enableval
3890 else
3891 USE_MAINTAINER_MODE=no
3893 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3894 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3897 if test $USE_MAINTAINER_MODE = yes; then
3898 MAINTAINER_MODE_TRUE=
3899 MAINTAINER_MODE_FALSE='#'
3900 else
3901 MAINTAINER_MODE_TRUE='#'
3902 MAINTAINER_MODE_FALSE=
3905 MAINT=$MAINTAINER_MODE_TRUE
3909 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3910 # which are themselves conditionally expanded.
3911 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3912 ## other macros from doing the same. This should be automated.) -pme
3913 need_libmath=no
3915 # Check for uClibc since Linux platforms use different configuration
3916 # directories depending on the C library in use.
3917 cat >conftest.$ac_ext <<_ACEOF
3918 /* confdefs.h. */
3919 _ACEOF
3920 cat confdefs.h >>conftest.$ac_ext
3921 cat >>conftest.$ac_ext <<_ACEOF
3922 /* end confdefs.h. */
3924 #include <stdio.h>
3925 #if __UCLIBC__
3926 _using_uclibc
3927 #endif
3929 _ACEOF
3930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3931 $EGREP "_using_uclibc" >/dev/null 2>&1; then
3932 uclibc=yes
3933 else
3934 uclibc=no
3936 rm -f conftest*
3939 # Find platform-specific directories containing configuration info.
3940 # Also possibly modify flags used elsewhere, as needed by the platform.
3942 . $glibcxx_srcdir/configure.host
3943 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3944 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3945 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3946 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3951 # Check whether --enable-shared or --disable-shared was given.
3952 if test "${enable_shared+set}" = set; then
3953 enableval="$enable_shared"
3954 p=${PACKAGE-default}
3955 case $enableval in
3956 yes) enable_shared=yes ;;
3957 no) enable_shared=no ;;
3959 enable_shared=no
3960 # Look at the argument we got. We use all the common list separators.
3961 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3962 for pkg in $enableval; do
3963 if test "X$pkg" = "X$p"; then
3964 enable_shared=yes
3966 done
3967 IFS="$ac_save_ifs"
3969 esac
3970 else
3971 enable_shared=yes
3973 # Check whether --enable-static or --disable-static was given.
3974 if test "${enable_static+set}" = set; then
3975 enableval="$enable_static"
3976 p=${PACKAGE-default}
3977 case $enableval in
3978 yes) enable_static=yes ;;
3979 no) enable_static=no ;;
3981 enable_static=no
3982 # Look at the argument we got. We use all the common list separators.
3983 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3984 for pkg in $enableval; do
3985 if test "X$pkg" = "X$p"; then
3986 enable_static=yes
3988 done
3989 IFS="$ac_save_ifs"
3991 esac
3992 else
3993 enable_static=yes
3995 # Check whether --enable-fast-install or --disable-fast-install was given.
3996 if test "${enable_fast_install+set}" = set; then
3997 enableval="$enable_fast_install"
3998 p=${PACKAGE-default}
3999 case $enableval in
4000 yes) enable_fast_install=yes ;;
4001 no) enable_fast_install=no ;;
4003 enable_fast_install=no
4004 # Look at the argument we got. We use all the common list separators.
4005 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4006 for pkg in $enableval; do
4007 if test "X$pkg" = "X$p"; then
4008 enable_fast_install=yes
4010 done
4011 IFS="$ac_save_ifs"
4013 esac
4014 else
4015 enable_fast_install=yes
4018 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4019 if test "${with_gnu_ld+set}" = set; then
4020 withval="$with_gnu_ld"
4021 test "$withval" = no || with_gnu_ld=yes
4022 else
4023 with_gnu_ld=no
4025 ac_prog=ld
4026 if test "$GCC" = yes; then
4027 # Check if gcc -print-prog-name=ld gives a path.
4028 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4029 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4030 case $host in
4031 *-*-mingw*)
4032 # gcc leaves a trailing carriage return which upsets mingw
4033 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4035 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4036 esac
4037 case $ac_prog in
4038 # Accept absolute paths.
4039 [\\/]* | [A-Za-z]:[\\/]*)
4040 re_direlt='/[^/][^/]*/\.\./'
4041 # Canonicalize the path of ld
4042 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4043 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4044 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4045 done
4046 test -z "$LD" && LD="$ac_prog"
4049 # If it fails, then pretend we aren't using GCC.
4050 ac_prog=ld
4053 # If it is relative, then search for the first ld in PATH.
4054 with_gnu_ld=unknown
4056 esac
4057 elif test "$with_gnu_ld" = yes; then
4058 echo "$as_me:$LINENO: checking for GNU ld" >&5
4059 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4060 else
4061 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4062 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4064 if test "${lt_cv_path_LD+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 else
4067 if test -z "$LD"; then
4068 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4069 for ac_dir in $PATH; do
4070 test -z "$ac_dir" && ac_dir=.
4071 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4072 lt_cv_path_LD="$ac_dir/$ac_prog"
4073 # Check to see if the program is GNU ld. I'd rather use --version,
4074 # but apparently some GNU ld's only accept -v.
4075 # Break only if it was the GNU/non-GNU ld that we prefer.
4076 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4077 test "$with_gnu_ld" != no && break
4078 else
4079 test "$with_gnu_ld" != yes && break
4082 done
4083 IFS="$ac_save_ifs"
4084 else
4085 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4089 LD="$lt_cv_path_LD"
4090 if test -n "$LD"; then
4091 echo "$as_me:$LINENO: result: $LD" >&5
4092 echo "${ECHO_T}$LD" >&6
4093 else
4094 echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4097 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4098 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4099 { (exit 1); exit 1; }; }
4100 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4101 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4102 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4104 else
4105 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4106 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4107 lt_cv_prog_gnu_ld=yes
4108 else
4109 lt_cv_prog_gnu_ld=no
4112 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4113 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4114 with_gnu_ld=$lt_cv_prog_gnu_ld
4117 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4118 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4119 if test "${lt_cv_ld_reload_flag+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 else
4122 lt_cv_ld_reload_flag='-r'
4124 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4125 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4126 reload_flag=$lt_cv_ld_reload_flag
4127 test -n "$reload_flag" && reload_flag=" $reload_flag"
4129 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4130 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4131 if test "${lt_cv_path_NM+set}" = set; then
4132 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 else
4134 if test -n "$NM"; then
4135 # Let the user override the test.
4136 lt_cv_path_NM="$NM"
4137 else
4138 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4139 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4140 test -z "$ac_dir" && ac_dir=.
4141 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4142 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4143 # Check to see if the nm accepts a BSD-compat flag.
4144 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4145 # nm: unknown option "B" ignored
4146 # Tru64's nm complains that /dev/null is an invalid object file
4147 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4148 lt_cv_path_NM="$tmp_nm -B"
4149 break
4150 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4151 lt_cv_path_NM="$tmp_nm -p"
4152 break
4153 else
4154 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4155 continue # so that we can try to find one that supports BSD flags
4158 done
4159 IFS="$ac_save_ifs"
4160 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4164 NM="$lt_cv_path_NM"
4165 echo "$as_me:$LINENO: result: $NM" >&5
4166 echo "${ECHO_T}$NM" >&6
4168 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4169 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4170 if test "${lt_cv_deplibs_check_method+set}" = set; then
4171 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 else
4173 lt_cv_file_magic_cmd='$MAGIC_CMD'
4174 lt_cv_file_magic_test_file=
4175 lt_cv_deplibs_check_method='unknown'
4176 # Need to set the preceding variable on all platforms that support
4177 # interlibrary dependencies.
4178 # 'none' -- dependencies not supported.
4179 # `unknown' -- same as none, but documents that we really don't know.
4180 # 'pass_all' -- all dependencies passed with no checks.
4181 # 'test_compile' -- check by making test program.
4182 # 'file_magic [regex]' -- check by looking for files in library path
4183 # which responds to the $file_magic_cmd with a given egrep regex.
4184 # If you have `file' or equivalent on your system and you're not sure
4185 # whether `pass_all' will *always* work, you probably want this one.
4187 case $host_os in
4188 aix*)
4189 lt_cv_deplibs_check_method=pass_all
4192 beos*)
4193 lt_cv_deplibs_check_method=pass_all
4196 bsdi4*)
4197 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4198 lt_cv_file_magic_cmd='/usr/bin/file -L'
4199 lt_cv_file_magic_test_file=/shlib/libc.so
4202 cygwin* | mingw* |pw32*)
4203 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4204 lt_cv_file_magic_cmd='$OBJDUMP -f'
4207 darwin* | rhapsody*)
4208 # this will be overwritten by pass_all, but leave it in just in case
4209 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4210 lt_cv_file_magic_cmd='/usr/bin/file -L'
4211 case "$host_os" in
4212 rhapsody* | darwin1.012)
4213 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4215 *) # Darwin 1.3 on
4216 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4218 esac
4219 lt_cv_deplibs_check_method=pass_all
4222 freebsd* | kfreebsd*-gnu)
4223 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4224 case $host_cpu in
4225 i*86 )
4226 # Not sure whether the presence of OpenBSD here was a mistake.
4227 # Let's accept both of them until this is cleared up.
4228 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4229 lt_cv_file_magic_cmd=/usr/bin/file
4230 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4232 esac
4233 else
4234 lt_cv_deplibs_check_method=pass_all
4238 gnu*)
4239 lt_cv_deplibs_check_method=pass_all
4242 hpux10.20*|hpux11*)
4243 case $host_cpu in
4244 hppa*)
4245 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4246 lt_cv_file_magic_cmd=/usr/bin/file
4247 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4249 ia64*)
4250 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4251 lt_cv_file_magic_cmd=/usr/bin/file
4252 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4254 esac
4257 irix5* | irix6*)
4258 case $host_os in
4259 irix5*)
4260 # this will be overridden with pass_all, but let us keep it just in case
4261 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4264 case $LD in
4265 *-32|*"-32 ") libmagic=32-bit;;
4266 *-n32|*"-n32 ") libmagic=N32;;
4267 *-64|*"-64 ") libmagic=64-bit;;
4268 *) libmagic=never-match;;
4269 esac
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 ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4273 esac
4274 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4275 lt_cv_deplibs_check_method=pass_all
4278 # This must be Linux ELF.
4279 linux-gnu*)
4280 lt_cv_deplibs_check_method=pass_all
4283 netbsd* | knetbsd*-gnu)
4284 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4285 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4286 else
4287 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4291 newsos6)
4292 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4293 lt_cv_file_magic_cmd=/usr/bin/file
4294 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4297 osf3* | osf4* | osf5*)
4298 # this will be overridden with pass_all, but let us keep it just in case
4299 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4300 lt_cv_file_magic_test_file=/shlib/libc.so
4301 lt_cv_deplibs_check_method=pass_all
4304 sco3.2v5*)
4305 lt_cv_deplibs_check_method=pass_all
4308 solaris*)
4309 lt_cv_deplibs_check_method=pass_all
4310 lt_cv_file_magic_test_file=/lib/libc.so
4313 sysv5uw[78]* | sysv4*uw2*)
4314 lt_cv_deplibs_check_method=pass_all
4317 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4318 case $host_vendor in
4319 ncr)
4320 lt_cv_deplibs_check_method=pass_all
4322 motorola)
4323 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]'
4324 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4326 esac
4328 esac
4331 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4332 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4333 file_magic_cmd=$lt_cv_file_magic_cmd
4334 deplibs_check_method=$lt_cv_deplibs_check_method
4339 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4341 # find the maximum length of command line arguments
4342 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4343 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4344 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 else
4348 teststring="ABCD"
4350 case $build_os in
4351 msdosdjgpp*)
4352 # On DJGPP, this test can blow up pretty badly due to problems in libc
4353 # (any single argument exceeding 2000 bytes causes a buffer overrun
4354 # during glob expansion). Even if it were fixed, the result of this
4355 # check would be larger than it should be.
4356 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4359 cygwin* | mingw*)
4360 # On Win9x/ME, this test blows up -- it succeeds, but takes
4361 # about 5 minutes as the teststring grows exponentially.
4362 # Worse, since 9x/ME are not pre-emptively multitasking,
4363 # you end up with a "frozen" computer, even though with patience
4364 # the test eventually succeeds (with a max line length of 256k).
4365 # Instead, let's just punt: use the minimum linelength reported by
4366 # all of the supported platforms: 8192 (on NT/2K/XP).
4367 lt_cv_sys_max_cmd_len=8192;
4370 amigaos*)
4371 # On AmigaOS with pdksh, this test takes hours, literally.
4372 # So we just punt and use a minimum line length of 8192.
4373 lt_cv_sys_max_cmd_len=8192;
4376 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4377 # This has been around since 386BSD, at least. Likely further.
4378 if test -x /sbin/sysctl; then
4379 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4380 elif test -x /usr/sbin/sysctl; then
4381 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4382 else
4383 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4385 # And add a safety zone
4386 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4387 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4389 esac
4393 if test -n "$lt_cv_sys_max_cmd_len" ; then
4394 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4395 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4396 else
4397 echo "$as_me:$LINENO: result: none" >&5
4398 echo "${ECHO_T}none" >&6
4402 # Only perform the check for file, if the check method requires it
4403 case $deplibs_check_method in
4404 file_magic*)
4405 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4406 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4407 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4408 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 else
4411 case $MAGIC_CMD in
4413 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4415 ?:/*)
4416 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4419 ac_save_MAGIC_CMD="$MAGIC_CMD"
4420 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4421 ac_dummy="/usr/bin:$PATH"
4422 for ac_dir in $ac_dummy; do
4423 test -z "$ac_dir" && ac_dir=.
4424 if test -f $ac_dir/${ac_tool_prefix}file; then
4425 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4426 if test -n "$file_magic_test_file"; then
4427 case $deplibs_check_method in
4428 "file_magic "*)
4429 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4430 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4431 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4432 egrep "$file_magic_regex" > /dev/null; then
4434 else
4435 cat <<EOF 1>&2
4437 *** Warning: the command libtool uses to detect shared libraries,
4438 *** $file_magic_cmd, produces output that libtool cannot recognize.
4439 *** The result is that libtool may fail to recognize shared libraries
4440 *** as such. This will affect the creation of libtool libraries that
4441 *** depend on shared libraries, but programs linked with such libtool
4442 *** libraries will work regardless of this problem. Nevertheless, you
4443 *** may want to report the problem to your system manager and/or to
4444 *** bug-libtool@gnu.org
4447 fi ;;
4448 esac
4450 break
4452 done
4453 IFS="$ac_save_ifs"
4454 MAGIC_CMD="$ac_save_MAGIC_CMD"
4456 esac
4459 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4460 if test -n "$MAGIC_CMD"; then
4461 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4462 echo "${ECHO_T}$MAGIC_CMD" >&6
4463 else
4464 echo "$as_me:$LINENO: result: no" >&5
4465 echo "${ECHO_T}no" >&6
4468 if test -z "$lt_cv_path_MAGIC_CMD"; then
4469 if test -n "$ac_tool_prefix"; then
4470 echo "$as_me:$LINENO: checking for file" >&5
4471 echo $ECHO_N "checking for file... $ECHO_C" >&6
4472 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4473 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 else
4475 case $MAGIC_CMD in
4477 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4479 ?:/*)
4480 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4483 ac_save_MAGIC_CMD="$MAGIC_CMD"
4484 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4485 ac_dummy="/usr/bin:$PATH"
4486 for ac_dir in $ac_dummy; do
4487 test -z "$ac_dir" && ac_dir=.
4488 if test -f $ac_dir/file; then
4489 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4490 if test -n "$file_magic_test_file"; then
4491 case $deplibs_check_method in
4492 "file_magic "*)
4493 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4494 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4495 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4496 egrep "$file_magic_regex" > /dev/null; then
4498 else
4499 cat <<EOF 1>&2
4501 *** Warning: the command libtool uses to detect shared libraries,
4502 *** $file_magic_cmd, produces output that libtool cannot recognize.
4503 *** The result is that libtool may fail to recognize shared libraries
4504 *** as such. This will affect the creation of libtool libraries that
4505 *** depend on shared libraries, but programs linked with such libtool
4506 *** libraries will work regardless of this problem. Nevertheless, you
4507 *** may want to report the problem to your system manager and/or to
4508 *** bug-libtool@gnu.org
4511 fi ;;
4512 esac
4514 break
4516 done
4517 IFS="$ac_save_ifs"
4518 MAGIC_CMD="$ac_save_MAGIC_CMD"
4520 esac
4523 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4524 if test -n "$MAGIC_CMD"; then
4525 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4526 echo "${ECHO_T}$MAGIC_CMD" >&6
4527 else
4528 echo "$as_me:$LINENO: result: no" >&5
4529 echo "${ECHO_T}no" >&6
4532 else
4533 MAGIC_CMD=:
4539 esac
4541 if test -n "$ac_tool_prefix"; then
4542 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4543 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4544 echo "$as_me:$LINENO: checking for $ac_word" >&5
4545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4546 if test "${ac_cv_prog_RANLIB+set}" = set; then
4547 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 else
4549 if test -n "$RANLIB"; then
4550 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4551 else
4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 for as_dir in $PATH
4555 IFS=$as_save_IFS
4556 test -z "$as_dir" && as_dir=.
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 break 2
4563 done
4564 done
4568 RANLIB=$ac_cv_prog_RANLIB
4569 if test -n "$RANLIB"; then
4570 echo "$as_me:$LINENO: result: $RANLIB" >&5
4571 echo "${ECHO_T}$RANLIB" >&6
4572 else
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4578 if test -z "$ac_cv_prog_RANLIB"; then
4579 ac_ct_RANLIB=$RANLIB
4580 # Extract the first word of "ranlib", so it can be a program name with args.
4581 set dummy ranlib; ac_word=$2
4582 echo "$as_me:$LINENO: checking for $ac_word" >&5
4583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4584 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 else
4587 if test -n "$ac_ct_RANLIB"; then
4588 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4589 else
4590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4591 for as_dir in $PATH
4593 IFS=$as_save_IFS
4594 test -z "$as_dir" && as_dir=.
4595 for ac_exec_ext in '' $ac_executable_extensions; do
4596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4597 ac_cv_prog_ac_ct_RANLIB="ranlib"
4598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4599 break 2
4601 done
4602 done
4604 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4607 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4608 if test -n "$ac_ct_RANLIB"; then
4609 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4610 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4611 else
4612 echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6
4616 RANLIB=$ac_ct_RANLIB
4617 else
4618 RANLIB="$ac_cv_prog_RANLIB"
4621 if test -n "$ac_tool_prefix"; then
4622 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4623 set dummy ${ac_tool_prefix}strip; ac_word=$2
4624 echo "$as_me:$LINENO: checking for $ac_word" >&5
4625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4626 if test "${ac_cv_prog_STRIP+set}" = set; then
4627 echo $ECHO_N "(cached) $ECHO_C" >&6
4628 else
4629 if test -n "$STRIP"; then
4630 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4631 else
4632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633 for as_dir in $PATH
4635 IFS=$as_save_IFS
4636 test -z "$as_dir" && as_dir=.
4637 for ac_exec_ext in '' $ac_executable_extensions; do
4638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4639 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 break 2
4643 done
4644 done
4648 STRIP=$ac_cv_prog_STRIP
4649 if test -n "$STRIP"; then
4650 echo "$as_me:$LINENO: result: $STRIP" >&5
4651 echo "${ECHO_T}$STRIP" >&6
4652 else
4653 echo "$as_me:$LINENO: result: no" >&5
4654 echo "${ECHO_T}no" >&6
4658 if test -z "$ac_cv_prog_STRIP"; then
4659 ac_ct_STRIP=$STRIP
4660 # Extract the first word of "strip", so it can be a program name with args.
4661 set dummy strip; ac_word=$2
4662 echo "$as_me:$LINENO: checking for $ac_word" >&5
4663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4664 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4666 else
4667 if test -n "$ac_ct_STRIP"; then
4668 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4669 else
4670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671 for as_dir in $PATH
4673 IFS=$as_save_IFS
4674 test -z "$as_dir" && as_dir=.
4675 for ac_exec_ext in '' $ac_executable_extensions; do
4676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_ac_ct_STRIP="strip"
4678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 break 2
4681 done
4682 done
4684 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4687 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4688 if test -n "$ac_ct_STRIP"; then
4689 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4690 echo "${ECHO_T}$ac_ct_STRIP" >&6
4691 else
4692 echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6
4696 STRIP=$ac_ct_STRIP
4697 else
4698 STRIP="$ac_cv_prog_STRIP"
4702 # Check for any special flags to pass to ltconfig.
4703 libtool_flags="--cache-file=$cache_file"
4704 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4705 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4706 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4707 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4708 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4711 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4712 if test "${enable_libtool_lock+set}" = set; then
4713 enableval="$enable_libtool_lock"
4716 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4717 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4720 # Check whether --with-pic or --without-pic was given.
4721 if test "${with_pic+set}" = set; then
4722 withval="$with_pic"
4723 pic_mode="$withval"
4724 else
4725 pic_mode=default
4727 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4728 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4730 # Some flags need to be propagated to the compiler or linker for good
4731 # libtool support.
4732 case $host in
4733 *-*-irix6*)
4734 # Find out which ABI we are using.
4735 echo '#line 4735 "configure"' > conftest.$ac_ext
4736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4737 (eval $ac_compile) 2>&5
4738 ac_status=$?
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; then
4741 if test "$lt_cv_prog_gnu_ld" = yes; then
4742 case `/usr/bin/file conftest.$ac_objext` in
4743 *32-bit*)
4744 LD="${LD-ld} -melf32bsmip"
4746 *N32*)
4747 LD="${LD-ld} -melf32bmipn32"
4749 *64-bit*)
4750 LD="${LD-ld} -melf64bmip"
4752 esac
4753 else
4754 case `/usr/bin/file conftest.$ac_objext` in
4755 *32-bit*)
4756 LD="${LD-ld} -32"
4758 *N32*)
4759 LD="${LD-ld} -n32"
4761 *64-bit*)
4762 LD="${LD-ld} -64"
4764 esac
4767 rm -rf conftest*
4770 ia64-*-hpux*)
4771 # Find out which ABI we are using.
4772 echo 'int i;' > conftest.$ac_ext
4773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4774 (eval $ac_compile) 2>&5
4775 ac_status=$?
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); }; then
4778 case "`/usr/bin/file conftest.o`" in
4779 *ELF-32*)
4780 HPUX_IA64_MODE="32"
4782 *ELF-64*)
4783 HPUX_IA64_MODE="64"
4785 esac
4787 rm -rf conftest*
4790 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4791 # Find out which ABI we are using.
4792 echo 'int i;' > conftest.$ac_ext
4793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4794 (eval $ac_compile) 2>&5
4795 ac_status=$?
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); }; then
4798 case "`/usr/bin/file conftest.o`" in
4799 *32-bit*)
4800 case $host in
4801 x86_64-*linux*)
4802 LD="${LD-ld} -m elf_i386"
4804 ppc64-*linux*|powerpc64-*linux*)
4805 LD="${LD-ld} -m elf32ppclinux"
4807 s390x-*linux*)
4808 LD="${LD-ld} -m elf_s390"
4810 sparc64-*linux*)
4811 LD="${LD-ld} -m elf32_sparc"
4813 esac
4815 *64-bit*)
4816 case $host in
4817 x86_64-*linux*)
4818 LD="${LD-ld} -m elf_x86_64"
4820 ppc*-*linux*|powerpc*-*linux*)
4821 LD="${LD-ld} -m elf64ppc"
4823 s390*-*linux*)
4824 LD="${LD-ld} -m elf64_s390"
4826 sparc*-*linux*)
4827 LD="${LD-ld} -m elf64_sparc"
4829 esac
4831 esac
4833 rm -rf conftest*
4836 *-*-sco3.2v5*)
4837 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4838 SAVE_CFLAGS="$CFLAGS"
4839 CFLAGS="$CFLAGS -belf"
4840 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4841 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4842 if test "${lt_cv_cc_needs_belf+set}" = set; then
4843 echo $ECHO_N "(cached) $ECHO_C" >&6
4844 else
4847 ac_ext=c
4848 ac_cpp='$CPP $CPPFLAGS'
4849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4853 if test x$gcc_no_link = xyes; then
4854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4856 { (exit 1); exit 1; }; }
4858 cat >conftest.$ac_ext <<_ACEOF
4859 /* confdefs.h. */
4860 _ACEOF
4861 cat confdefs.h >>conftest.$ac_ext
4862 cat >>conftest.$ac_ext <<_ACEOF
4863 /* end confdefs.h. */
4866 main ()
4870 return 0;
4872 _ACEOF
4873 rm -f conftest.$ac_objext conftest$ac_exeext
4874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4875 (eval $ac_link) 2>conftest.er1
4876 ac_status=$?
4877 grep -v '^ *+' conftest.er1 >conftest.err
4878 rm -f conftest.er1
4879 cat conftest.err >&5
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); } &&
4882 { ac_try='test -z "$ac_c_werror_flag"
4883 || test ! -s conftest.err'
4884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4885 (eval $ac_try) 2>&5
4886 ac_status=$?
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); }; } &&
4889 { ac_try='test -s conftest$ac_exeext'
4890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4891 (eval $ac_try) 2>&5
4892 ac_status=$?
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); }; }; then
4895 lt_cv_cc_needs_belf=yes
4896 else
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 lt_cv_cc_needs_belf=no
4902 rm -f conftest.err conftest.$ac_objext \
4903 conftest$ac_exeext conftest.$ac_ext
4904 ac_ext=c
4905 ac_cpp='$CPP $CPPFLAGS'
4906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4911 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4912 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4913 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4914 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4915 CFLAGS="$SAVE_CFLAGS"
4920 esac
4923 # Save cache, so that ltconfig can load it
4924 cat >confcache <<\_ACEOF
4925 # This file is a shell script that caches the results of configure
4926 # tests run on this system so they can be shared between configure
4927 # scripts and configure runs, see configure's option --config-cache.
4928 # It is not useful on other systems. If it contains results you don't
4929 # want to keep, you may remove or edit it.
4931 # config.status only pays attention to the cache file if you give it
4932 # the --recheck option to rerun configure.
4934 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4935 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4936 # following values.
4938 _ACEOF
4940 # The following way of writing the cache mishandles newlines in values,
4941 # but we know of no workaround that is simple, portable, and efficient.
4942 # So, don't put newlines in cache variables' values.
4943 # Ultrix sh set writes to stderr and can't be redirected directly,
4944 # and sets the high bit in the cache file unless we assign to the vars.
4946 (set) 2>&1 |
4947 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4948 *ac_space=\ *)
4949 # `set' does not quote correctly, so add quotes (double-quote
4950 # substitution turns \\\\ into \\, and sed turns \\ into \).
4951 sed -n \
4952 "s/'/'\\\\''/g;
4953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4956 # `set' quotes correctly as required by POSIX, so do not add quotes.
4957 sed -n \
4958 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4960 esac;
4962 sed '
4963 t clear
4964 : clear
4965 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4966 t end
4967 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4968 : end' >>confcache
4969 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4970 if test -w $cache_file; then
4971 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4972 cat confcache >$cache_file
4973 else
4974 echo "not updating unwritable cache $cache_file"
4977 rm -f confcache
4979 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4980 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4981 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4982 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4983 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4984 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4985 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4986 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4987 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4988 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4989 echo "$as_me: error: libtool configure failed" >&2;}
4990 { (exit 1); exit 1; }; }
4992 # Reload cache, that may have been modified by ltconfig
4993 if test -r "$cache_file"; then
4994 # Some versions of bash will fail to source /dev/null (special
4995 # files actually), so we avoid doing that.
4996 if test -f "$cache_file"; then
4997 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4998 echo "$as_me: loading cache $cache_file" >&6;}
4999 case $cache_file in
5000 [\\/]* | ?:[\\/]* ) . $cache_file;;
5001 *) . ./$cache_file;;
5002 esac
5004 else
5005 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5006 echo "$as_me: creating cache $cache_file" >&6;}
5007 >$cache_file
5011 # This can be used to rebuild libtool when needed
5012 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5014 # Always use our own libtool.
5015 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5017 # Redirect the config.log output again, so that the ltconfig log is not
5018 # clobbered by the next message.
5019 exec 5>>./config.log
5021 ac_ext=cc
5022 ac_cpp='$CXXCPP $CPPFLAGS'
5023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5026 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5027 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5028 if test -z "$CXXCPP"; then
5029 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5030 echo $ECHO_N "(cached) $ECHO_C" >&6
5031 else
5032 # Double quotes because CXXCPP needs to be expanded
5033 for CXXCPP in "$CXX -E" "/lib/cpp"
5035 ac_preproc_ok=false
5036 for ac_cxx_preproc_warn_flag in '' yes
5038 # Use a header file that comes with gcc, so configuring glibc
5039 # with a fresh cross-compiler works.
5040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5041 # <limits.h> exists even on freestanding compilers.
5042 # On the NeXT, cc -E runs the code through the compiler's parser,
5043 # not just through cpp. "Syntax error" is here to catch this case.
5044 cat >conftest.$ac_ext <<_ACEOF
5045 /* confdefs.h. */
5046 _ACEOF
5047 cat confdefs.h >>conftest.$ac_ext
5048 cat >>conftest.$ac_ext <<_ACEOF
5049 /* end confdefs.h. */
5050 #ifdef __STDC__
5051 # include <limits.h>
5052 #else
5053 # include <assert.h>
5054 #endif
5055 Syntax error
5056 _ACEOF
5057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5059 ac_status=$?
5060 grep -v '^ *+' conftest.er1 >conftest.err
5061 rm -f conftest.er1
5062 cat conftest.err >&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); } >/dev/null; then
5065 if test -s conftest.err; then
5066 ac_cpp_err=$ac_cxx_preproc_warn_flag
5067 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5068 else
5069 ac_cpp_err=
5071 else
5072 ac_cpp_err=yes
5074 if test -z "$ac_cpp_err"; then
5076 else
5077 echo "$as_me: failed program was:" >&5
5078 sed 's/^/| /' conftest.$ac_ext >&5
5080 # Broken: fails on valid input.
5081 continue
5083 rm -f conftest.err conftest.$ac_ext
5085 # OK, works on sane cases. Now check whether non-existent headers
5086 # can be detected and how.
5087 cat >conftest.$ac_ext <<_ACEOF
5088 /* confdefs.h. */
5089 _ACEOF
5090 cat confdefs.h >>conftest.$ac_ext
5091 cat >>conftest.$ac_ext <<_ACEOF
5092 /* end confdefs.h. */
5093 #include <ac_nonexistent.h>
5094 _ACEOF
5095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5097 ac_status=$?
5098 grep -v '^ *+' conftest.er1 >conftest.err
5099 rm -f conftest.er1
5100 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } >/dev/null; then
5103 if test -s conftest.err; then
5104 ac_cpp_err=$ac_cxx_preproc_warn_flag
5105 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5106 else
5107 ac_cpp_err=
5109 else
5110 ac_cpp_err=yes
5112 if test -z "$ac_cpp_err"; then
5113 # Broken: success on invalid input.
5114 continue
5115 else
5116 echo "$as_me: failed program was:" >&5
5117 sed 's/^/| /' conftest.$ac_ext >&5
5119 # Passes both tests.
5120 ac_preproc_ok=:
5121 break
5123 rm -f conftest.err conftest.$ac_ext
5125 done
5126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5127 rm -f conftest.err conftest.$ac_ext
5128 if $ac_preproc_ok; then
5129 break
5132 done
5133 ac_cv_prog_CXXCPP=$CXXCPP
5136 CXXCPP=$ac_cv_prog_CXXCPP
5137 else
5138 ac_cv_prog_CXXCPP=$CXXCPP
5140 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5141 echo "${ECHO_T}$CXXCPP" >&6
5142 ac_preproc_ok=false
5143 for ac_cxx_preproc_warn_flag in '' yes
5145 # Use a header file that comes with gcc, so configuring glibc
5146 # with a fresh cross-compiler works.
5147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5148 # <limits.h> exists even on freestanding compilers.
5149 # On the NeXT, cc -E runs the code through the compiler's parser,
5150 # not just through cpp. "Syntax error" is here to catch this case.
5151 cat >conftest.$ac_ext <<_ACEOF
5152 /* confdefs.h. */
5153 _ACEOF
5154 cat confdefs.h >>conftest.$ac_ext
5155 cat >>conftest.$ac_ext <<_ACEOF
5156 /* end confdefs.h. */
5157 #ifdef __STDC__
5158 # include <limits.h>
5159 #else
5160 # include <assert.h>
5161 #endif
5162 Syntax error
5163 _ACEOF
5164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5166 ac_status=$?
5167 grep -v '^ *+' conftest.er1 >conftest.err
5168 rm -f conftest.er1
5169 cat conftest.err >&5
5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); } >/dev/null; then
5172 if test -s conftest.err; then
5173 ac_cpp_err=$ac_cxx_preproc_warn_flag
5174 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5175 else
5176 ac_cpp_err=
5178 else
5179 ac_cpp_err=yes
5181 if test -z "$ac_cpp_err"; then
5183 else
5184 echo "$as_me: failed program was:" >&5
5185 sed 's/^/| /' conftest.$ac_ext >&5
5187 # Broken: fails on valid input.
5188 continue
5190 rm -f conftest.err conftest.$ac_ext
5192 # OK, works on sane cases. Now check whether non-existent headers
5193 # can be detected and how.
5194 cat >conftest.$ac_ext <<_ACEOF
5195 /* confdefs.h. */
5196 _ACEOF
5197 cat confdefs.h >>conftest.$ac_ext
5198 cat >>conftest.$ac_ext <<_ACEOF
5199 /* end confdefs.h. */
5200 #include <ac_nonexistent.h>
5201 _ACEOF
5202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5204 ac_status=$?
5205 grep -v '^ *+' conftest.er1 >conftest.err
5206 rm -f conftest.er1
5207 cat conftest.err >&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); } >/dev/null; then
5210 if test -s conftest.err; then
5211 ac_cpp_err=$ac_cxx_preproc_warn_flag
5212 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5213 else
5214 ac_cpp_err=
5216 else
5217 ac_cpp_err=yes
5219 if test -z "$ac_cpp_err"; then
5220 # Broken: success on invalid input.
5221 continue
5222 else
5223 echo "$as_me: failed program was:" >&5
5224 sed 's/^/| /' conftest.$ac_ext >&5
5226 # Passes both tests.
5227 ac_preproc_ok=:
5228 break
5230 rm -f conftest.err conftest.$ac_ext
5232 done
5233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5234 rm -f conftest.err conftest.$ac_ext
5235 if $ac_preproc_ok; then
5237 else
5238 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5239 See \`config.log' for more details." >&5
5240 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5241 See \`config.log' for more details." >&2;}
5242 { (exit 1); exit 1; }; }
5245 ac_ext=c
5246 ac_cpp='$CPP $CPPFLAGS'
5247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5253 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5254 lt_save_CC="$CC"
5255 lt_save_CFLAGS="$CFLAGS"
5256 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5257 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5258 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5259 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5260 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5261 deplibs_check_method="$deplibs_check_method" \
5262 file_magic_cmd="$file_magic_cmd" \
5263 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5264 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5265 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5266 echo "$as_me: error: libtool tag configuration failed" >&2;}
5267 { (exit 1); exit 1; }; }
5268 CC="$lt_save_CC"
5269 CFLAGS="$lt_save_CFLAGS"
5271 # Redirect the config.log output again, so that the ltconfig log is not
5272 # clobbered by the next message.
5273 exec 5>>./config.log
5283 # Possibly disable most of the library.
5284 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5285 ## than just ignoring the results. Faster /and/ more correct, win win.
5287 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5288 if test "${enable_hosted_libstdcxx+set}" = set; then
5289 enableval="$enable_hosted_libstdcxx"
5291 else
5292 case "$host" in
5293 arm*-*-symbianelf*)
5294 enable_hosted_libstdcxx=no
5297 enable_hosted_libstdcxx=yes
5299 esac
5301 if test "$enable_hosted_libstdcxx" = no; then
5302 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5303 echo "$as_me: Only freestanding libraries will be built" >&6;}
5304 is_hosted=no
5305 hosted_define=0
5306 enable_abi_check=no
5307 enable_libstdcxx_pch=no
5308 else
5309 is_hosted=yes
5310 hosted_define=1
5314 cat >>confdefs.h <<_ACEOF
5315 #define _GLIBCXX_HOSTED $hosted_define
5316 _ACEOF
5320 # Check for compiler support that doesn't require linking.
5322 echo "$as_me:$LINENO: checking for exception model to use" >&5
5323 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5326 ac_ext=cc
5327 ac_cpp='$CXXCPP $CPPFLAGS'
5328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5332 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5333 if test "${enable_sjlj_exceptions+set}" = set; then
5334 enableval="$enable_sjlj_exceptions"
5336 case "$enableval" in
5337 yes|no|auto) ;;
5338 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5339 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5340 { (exit 1); exit 1; }; } ;;
5341 esac
5343 else
5344 enable_sjlj_exceptions=auto
5348 if test $enable_sjlj_exceptions = auto; then
5349 # Botheration. Now we've got to detect the exception model. Link tests
5350 # against libgcc.a are problematic since we've not been given proper -L
5351 # bits for single-tree newlib and libgloss.
5353 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5354 cat > conftest.$ac_ext << EOF
5355 #line 5355 "configure"
5356 struct S { ~S(); };
5357 void bar();
5358 void foo()
5360 S s;
5361 bar();
5364 old_CXXFLAGS="$CXXFLAGS"
5365 CXXFLAGS=-S
5366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5367 (eval $ac_compile) 2>&5
5368 ac_status=$?
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }; then
5371 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5372 enable_sjlj_exceptions=yes
5373 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5374 enable_sjlj_exceptions=no
5375 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5376 enable_sjlj_exceptions=no
5379 CXXFLAGS="$old_CXXFLAGS"
5380 rm -f conftest*
5383 # This is a tad weird, for hysterical raisins. We have to map
5384 # enable/disable to two different models.
5385 case $enable_sjlj_exceptions in
5386 yes)
5388 cat >>confdefs.h <<\_ACEOF
5389 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5390 _ACEOF
5392 ac_exception_model_name=sjlj
5395 ac_exception_model_name="call frame"
5398 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5399 echo "$as_me: error: unable to detect exception model" >&2;}
5400 { (exit 1); exit 1; }; }
5402 esac
5403 ac_ext=c
5404 ac_cpp='$CPP $CPPFLAGS'
5405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5409 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5410 echo "${ECHO_T}$ac_exception_model_name" >&6
5413 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5414 if test "${enable_libstdcxx_pch+set}" = set; then
5415 enableval="$enable_libstdcxx_pch"
5417 case "$enableval" in
5418 yes|no) ;;
5419 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5420 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5421 { (exit 1); exit 1; }; } ;;
5422 esac
5424 else
5425 enable_libstdcxx_pch=$is_hosted
5428 if test $enable_libstdcxx_pch = yes; then
5429 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5430 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5431 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 else
5434 ac_save_CXXFLAGS="$CXXFLAGS"
5435 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5438 ac_ext=cc
5439 ac_cpp='$CXXCPP $CPPFLAGS'
5440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5444 echo '#include <math.h>' > conftest.h
5445 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5446 -o conftest.h.gch 1>&5 2>&1 &&
5447 echo '#error "pch failed"' > conftest.h &&
5448 echo '#include "conftest.h"' > conftest.cc &&
5449 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5450 then
5451 glibcxx_cv_prog_CXX_pch=yes
5452 else
5453 glibcxx_cv_prog_CXX_pch=no
5455 rm -f conftest*
5456 CXXFLAGS=$ac_save_CXXFLAGS
5457 ac_ext=c
5458 ac_cpp='$CPP $CPPFLAGS'
5459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5465 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5466 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5467 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5470 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5471 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5472 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5473 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5476 if test $enable_libstdcxx_pch = yes; then
5477 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5478 else
5479 glibcxx_PCHFLAGS=""
5484 # Enable all the variable C++ runtime options.
5486 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5487 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5488 # Check whether --enable-cstdio or --disable-cstdio was given.
5489 if test "${enable_cstdio+set}" = set; then
5490 enableval="$enable_cstdio"
5492 case "$enableval" in
5493 stdio) ;;
5494 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5495 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5496 { (exit 1); exit 1; }; } ;;
5497 esac
5499 else
5500 enable_cstdio=stdio
5504 # Now that libio has been removed, you can have any color you want as long
5505 # as it's black. This is one big no-op until other packages are added, but
5506 # showing the framework never hurts.
5507 case ${enable_cstdio} in
5508 stdio)
5509 CSTDIO_H=config/io/c_io_stdio.h
5510 BASIC_FILE_H=config/io/basic_file_stdio.h
5511 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5512 echo "$as_me:$LINENO: result: stdio" >&5
5513 echo "${ECHO_T}stdio" >&6
5515 esac
5521 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5522 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5523 if test "${ac_cv_header_stdc+set}" = set; then
5524 echo $ECHO_N "(cached) $ECHO_C" >&6
5525 else
5526 cat >conftest.$ac_ext <<_ACEOF
5527 /* confdefs.h. */
5528 _ACEOF
5529 cat confdefs.h >>conftest.$ac_ext
5530 cat >>conftest.$ac_ext <<_ACEOF
5531 /* end confdefs.h. */
5532 #include <stdlib.h>
5533 #include <stdarg.h>
5534 #include <string.h>
5535 #include <float.h>
5538 main ()
5542 return 0;
5544 _ACEOF
5545 rm -f conftest.$ac_objext
5546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5547 (eval $ac_compile) 2>conftest.er1
5548 ac_status=$?
5549 grep -v '^ *+' conftest.er1 >conftest.err
5550 rm -f conftest.er1
5551 cat conftest.err >&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); } &&
5554 { ac_try='test -z "$ac_c_werror_flag"
5555 || test ! -s conftest.err'
5556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5557 (eval $ac_try) 2>&5
5558 ac_status=$?
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); }; } &&
5561 { ac_try='test -s conftest.$ac_objext'
5562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5563 (eval $ac_try) 2>&5
5564 ac_status=$?
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); }; }; then
5567 ac_cv_header_stdc=yes
5568 else
5569 echo "$as_me: failed program was:" >&5
5570 sed 's/^/| /' conftest.$ac_ext >&5
5572 ac_cv_header_stdc=no
5574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5576 if test $ac_cv_header_stdc = yes; then
5577 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5578 cat >conftest.$ac_ext <<_ACEOF
5579 /* confdefs.h. */
5580 _ACEOF
5581 cat confdefs.h >>conftest.$ac_ext
5582 cat >>conftest.$ac_ext <<_ACEOF
5583 /* end confdefs.h. */
5584 #include <string.h>
5586 _ACEOF
5587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5588 $EGREP "memchr" >/dev/null 2>&1; then
5590 else
5591 ac_cv_header_stdc=no
5593 rm -f conftest*
5597 if test $ac_cv_header_stdc = yes; then
5598 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5599 cat >conftest.$ac_ext <<_ACEOF
5600 /* confdefs.h. */
5601 _ACEOF
5602 cat confdefs.h >>conftest.$ac_ext
5603 cat >>conftest.$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5605 #include <stdlib.h>
5607 _ACEOF
5608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5609 $EGREP "free" >/dev/null 2>&1; then
5611 else
5612 ac_cv_header_stdc=no
5614 rm -f conftest*
5618 if test $ac_cv_header_stdc = yes; then
5619 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5620 if test "$cross_compiling" = yes; then
5622 else
5623 cat >conftest.$ac_ext <<_ACEOF
5624 /* confdefs.h. */
5625 _ACEOF
5626 cat confdefs.h >>conftest.$ac_ext
5627 cat >>conftest.$ac_ext <<_ACEOF
5628 /* end confdefs.h. */
5629 #include <ctype.h>
5630 #if ((' ' & 0x0FF) == 0x020)
5631 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5632 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5633 #else
5634 # define ISLOWER(c) \
5635 (('a' <= (c) && (c) <= 'i') \
5636 || ('j' <= (c) && (c) <= 'r') \
5637 || ('s' <= (c) && (c) <= 'z'))
5638 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5639 #endif
5641 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5643 main ()
5645 int i;
5646 for (i = 0; i < 256; i++)
5647 if (XOR (islower (i), ISLOWER (i))
5648 || toupper (i) != TOUPPER (i))
5649 exit(2);
5650 exit (0);
5652 _ACEOF
5653 rm -f conftest$ac_exeext
5654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5655 (eval $ac_link) 2>&5
5656 ac_status=$?
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5660 (eval $ac_try) 2>&5
5661 ac_status=$?
5662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663 (exit $ac_status); }; }; then
5665 else
5666 echo "$as_me: program exited with status $ac_status" >&5
5667 echo "$as_me: failed program was:" >&5
5668 sed 's/^/| /' conftest.$ac_ext >&5
5670 ( exit $ac_status )
5671 ac_cv_header_stdc=no
5673 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5677 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5678 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5679 if test $ac_cv_header_stdc = yes; then
5681 cat >>confdefs.h <<\_ACEOF
5682 #define STDC_HEADERS 1
5683 _ACEOF
5687 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5697 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5698 inttypes.h stdint.h unistd.h
5700 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5701 echo "$as_me:$LINENO: checking for $ac_header" >&5
5702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 else
5706 cat >conftest.$ac_ext <<_ACEOF
5707 /* confdefs.h. */
5708 _ACEOF
5709 cat confdefs.h >>conftest.$ac_ext
5710 cat >>conftest.$ac_ext <<_ACEOF
5711 /* end confdefs.h. */
5712 $ac_includes_default
5714 #include <$ac_header>
5715 _ACEOF
5716 rm -f conftest.$ac_objext
5717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5718 (eval $ac_compile) 2>conftest.er1
5719 ac_status=$?
5720 grep -v '^ *+' conftest.er1 >conftest.err
5721 rm -f conftest.er1
5722 cat conftest.err >&5
5723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724 (exit $ac_status); } &&
5725 { ac_try='test -z "$ac_c_werror_flag"
5726 || test ! -s conftest.err'
5727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5728 (eval $ac_try) 2>&5
5729 ac_status=$?
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); }; } &&
5732 { ac_try='test -s conftest.$ac_objext'
5733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5734 (eval $ac_try) 2>&5
5735 ac_status=$?
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); }; }; then
5738 eval "$as_ac_Header=yes"
5739 else
5740 echo "$as_me: failed program was:" >&5
5741 sed 's/^/| /' conftest.$ac_ext >&5
5743 eval "$as_ac_Header=no"
5745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5750 cat >>confdefs.h <<_ACEOF
5751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5752 _ACEOF
5756 done
5760 echo "$as_me:$LINENO: checking for C locale to use" >&5
5761 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5762 # Check whether --enable-clocale or --disable-clocale was given.
5763 if test "${enable_clocale+set}" = set; then
5764 enableval="$enable_clocale"
5766 case "$enableval" in
5767 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5768 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5769 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5770 { (exit 1); exit 1; }; } ;;
5771 esac
5773 else
5774 enable_clocale=auto
5778 # If they didn't use this option switch, or if they specified --enable
5779 # with no specific model, we'll have to look for one. If they
5780 # specified --disable (???), do likewise.
5781 if test $enable_clocale = no || test $enable_clocale = yes; then
5782 enable_clocale=auto
5785 # Either a known package, or "auto"
5786 enable_clocale_flag=$enable_clocale
5788 # Probe for locale support if no specific model is specified.
5789 # Default to "generic".
5790 if test $enable_clocale_flag = auto; then
5791 case ${target_os} in
5792 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5793 cat >conftest.$ac_ext <<_ACEOF
5794 /* confdefs.h. */
5795 _ACEOF
5796 cat confdefs.h >>conftest.$ac_ext
5797 cat >>conftest.$ac_ext <<_ACEOF
5798 /* end confdefs.h. */
5800 #include <features.h>
5801 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5802 _GLIBCXX_ok
5803 #endif
5805 _ACEOF
5806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5807 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5808 enable_clocale_flag=gnu
5809 else
5810 enable_clocale_flag=generic
5812 rm -f conftest*
5815 # Test for bugs early in glibc-2.2.x series
5816 if test $enable_clocale_flag = gnu; then
5817 if test "$cross_compiling" = yes; then
5818 enable_clocale_flag=generic
5819 else
5820 cat >conftest.$ac_ext <<_ACEOF
5821 /* confdefs.h. */
5822 _ACEOF
5823 cat confdefs.h >>conftest.$ac_ext
5824 cat >>conftest.$ac_ext <<_ACEOF
5825 /* end confdefs.h. */
5827 #define _GNU_SOURCE 1
5828 #include <locale.h>
5829 #include <string.h>
5830 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5831 extern __typeof(newlocale) __newlocale;
5832 extern __typeof(duplocale) __duplocale;
5833 extern __typeof(strcoll_l) __strcoll_l;
5834 #endif
5835 int main()
5837 const char __one[] = "Äuglein Augmen";
5838 const char __two[] = "Äuglein";
5839 int i;
5840 int j;
5841 __locale_t loc;
5842 __locale_t loc_dup;
5843 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5844 loc_dup = __duplocale(loc);
5845 i = __strcoll_l(__one, __two, loc);
5846 j = __strcoll_l(__one, __two, loc_dup);
5847 return 0;
5850 _ACEOF
5851 rm -f conftest$ac_exeext
5852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5853 (eval $ac_link) 2>&5
5854 ac_status=$?
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5858 (eval $ac_try) 2>&5
5859 ac_status=$?
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); }; }; then
5862 enable_clocale_flag=gnu
5863 else
5864 echo "$as_me: program exited with status $ac_status" >&5
5865 echo "$as_me: failed program was:" >&5
5866 sed 's/^/| /' conftest.$ac_ext >&5
5868 ( exit $ac_status )
5869 enable_clocale_flag=generic
5871 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5875 # ... at some point put __strxfrm_l tests in as well.
5877 darwin* | freebsd*)
5878 enable_clocale_flag=darwin
5881 enable_clocale_flag=generic
5883 esac
5886 # Deal with gettext issues. Default to not using it (=no) until we detect
5887 # support for it later. Let the user turn it off via --e/d, but let that
5888 # default to on for easier handling.
5889 USE_NLS=no
5890 # Check whether --enable-nls or --disable-nls was given.
5891 if test "${enable_nls+set}" = set; then
5892 enableval="$enable_nls"
5894 else
5895 enable_nls=yes
5898 # Set configure bits for specified locale package
5899 case ${enable_clocale_flag} in
5900 generic)
5901 echo "$as_me:$LINENO: result: generic" >&5
5902 echo "${ECHO_T}generic" >&6
5904 CLOCALE_H=config/locale/generic/c_locale.h
5905 CLOCALE_CC=config/locale/generic/c_locale.cc
5906 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5907 CCOLLATE_CC=config/locale/generic/collate_members.cc
5908 CCTYPE_CC=config/locale/generic/ctype_members.cc
5909 CMESSAGES_H=config/locale/generic/messages_members.h
5910 CMESSAGES_CC=config/locale/generic/messages_members.cc
5911 CMONEY_CC=config/locale/generic/monetary_members.cc
5912 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5913 CTIME_H=config/locale/generic/time_members.h
5914 CTIME_CC=config/locale/generic/time_members.cc
5915 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5917 darwin)
5918 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5919 echo "${ECHO_T}darwin or freebsd" >&6
5921 CLOCALE_H=config/locale/generic/c_locale.h
5922 CLOCALE_CC=config/locale/generic/c_locale.cc
5923 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5924 CCOLLATE_CC=config/locale/generic/collate_members.cc
5925 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5926 CMESSAGES_H=config/locale/generic/messages_members.h
5927 CMESSAGES_CC=config/locale/generic/messages_members.cc
5928 CMONEY_CC=config/locale/generic/monetary_members.cc
5929 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5930 CTIME_H=config/locale/generic/time_members.h
5931 CTIME_CC=config/locale/generic/time_members.cc
5932 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5935 gnu)
5936 echo "$as_me:$LINENO: result: gnu" >&5
5937 echo "${ECHO_T}gnu" >&6
5939 # Declare intention to use gettext, and add support for specific
5940 # languages.
5941 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5942 ALL_LINGUAS="de fr"
5944 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5945 # Extract the first word of "msgfmt", so it can be a program name with args.
5946 set dummy msgfmt; ac_word=$2
5947 echo "$as_me:$LINENO: checking for $ac_word" >&5
5948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5949 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 else
5952 if test -n "$check_msgfmt"; then
5953 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5954 else
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 for as_dir in $PATH
5958 IFS=$as_save_IFS
5959 test -z "$as_dir" && as_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962 ac_cv_prog_check_msgfmt="yes"
5963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5964 break 2
5966 done
5967 done
5969 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5972 check_msgfmt=$ac_cv_prog_check_msgfmt
5973 if test -n "$check_msgfmt"; then
5974 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5975 echo "${ECHO_T}$check_msgfmt" >&6
5976 else
5977 echo "$as_me:$LINENO: result: no" >&5
5978 echo "${ECHO_T}no" >&6
5981 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5982 USE_NLS=yes
5984 # Export the build objects.
5985 for ling in $ALL_LINGUAS; do \
5986 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5987 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5988 done
5992 CLOCALE_H=config/locale/gnu/c_locale.h
5993 CLOCALE_CC=config/locale/gnu/c_locale.cc
5994 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5995 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5996 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5997 CMESSAGES_H=config/locale/gnu/messages_members.h
5998 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5999 CMONEY_CC=config/locale/gnu/monetary_members.cc
6000 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
6001 CTIME_H=config/locale/gnu/time_members.h
6002 CTIME_CC=config/locale/gnu/time_members.cc
6003 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
6005 ieee_1003.1-2001)
6006 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
6007 echo "${ECHO_T}IEEE 1003.1" >&6
6009 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
6010 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
6011 CCODECVT_CC=config/locale/generic/codecvt_members.cc
6012 CCOLLATE_CC=config/locale/generic/collate_members.cc
6013 CCTYPE_CC=config/locale/generic/ctype_members.cc
6014 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
6015 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
6016 CMONEY_CC=config/locale/generic/monetary_members.cc
6017 CNUMERIC_CC=config/locale/generic/numeric_members.cc
6018 CTIME_H=config/locale/generic/time_members.h
6019 CTIME_CC=config/locale/generic/time_members.cc
6020 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6022 esac
6024 # This is where the testsuite looks for locale catalogs, using the
6025 # -DLOCALEDIR define during testsuite compilation.
6026 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6029 # A standalone libintl (e.g., GNU libintl) may be in use.
6030 if test $USE_NLS = yes; then
6032 for ac_header in libintl.h
6034 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6036 echo "$as_me:$LINENO: checking for $ac_header" >&5
6037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6039 echo $ECHO_N "(cached) $ECHO_C" >&6
6041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6043 else
6044 # Is the header compilable?
6045 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6046 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6047 cat >conftest.$ac_ext <<_ACEOF
6048 /* confdefs.h. */
6049 _ACEOF
6050 cat confdefs.h >>conftest.$ac_ext
6051 cat >>conftest.$ac_ext <<_ACEOF
6052 /* end confdefs.h. */
6053 $ac_includes_default
6054 #include <$ac_header>
6055 _ACEOF
6056 rm -f conftest.$ac_objext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6058 (eval $ac_compile) 2>conftest.er1
6059 ac_status=$?
6060 grep -v '^ *+' conftest.er1 >conftest.err
6061 rm -f conftest.er1
6062 cat conftest.err >&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } &&
6065 { ac_try='test -z "$ac_c_werror_flag"
6066 || test ! -s conftest.err'
6067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6068 (eval $ac_try) 2>&5
6069 ac_status=$?
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); }; } &&
6072 { ac_try='test -s conftest.$ac_objext'
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6074 (eval $ac_try) 2>&5
6075 ac_status=$?
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; }; then
6078 ac_header_compiler=yes
6079 else
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.$ac_ext >&5
6083 ac_header_compiler=no
6085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6087 echo "${ECHO_T}$ac_header_compiler" >&6
6089 # Is the header present?
6090 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6092 cat >conftest.$ac_ext <<_ACEOF
6093 /* confdefs.h. */
6094 _ACEOF
6095 cat confdefs.h >>conftest.$ac_ext
6096 cat >>conftest.$ac_ext <<_ACEOF
6097 /* end confdefs.h. */
6098 #include <$ac_header>
6099 _ACEOF
6100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6101 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6102 ac_status=$?
6103 grep -v '^ *+' conftest.er1 >conftest.err
6104 rm -f conftest.er1
6105 cat conftest.err >&5
6106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107 (exit $ac_status); } >/dev/null; then
6108 if test -s conftest.err; then
6109 ac_cpp_err=$ac_c_preproc_warn_flag
6110 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6111 else
6112 ac_cpp_err=
6114 else
6115 ac_cpp_err=yes
6117 if test -z "$ac_cpp_err"; then
6118 ac_header_preproc=yes
6119 else
6120 echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.$ac_ext >&5
6123 ac_header_preproc=no
6125 rm -f conftest.err conftest.$ac_ext
6126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6127 echo "${ECHO_T}$ac_header_preproc" >&6
6129 # So? What about this header?
6130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6131 yes:no: )
6132 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6133 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6135 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6136 ac_header_preproc=yes
6138 no:yes:* )
6139 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6140 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6141 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6142 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6143 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6144 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6145 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6146 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6148 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6149 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6150 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6152 cat <<\_ASBOX
6153 ## ----------------------------------------- ##
6154 ## Report this to the package-unused lists. ##
6155 ## ----------------------------------------- ##
6156 _ASBOX
6158 sed "s/^/$as_me: WARNING: /" >&2
6160 esac
6161 echo "$as_me:$LINENO: checking for $ac_header" >&5
6162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6164 echo $ECHO_N "(cached) $ECHO_C" >&6
6165 else
6166 eval "$as_ac_Header=\$ac_header_preproc"
6168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6173 cat >>confdefs.h <<_ACEOF
6174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6175 _ACEOF
6177 else
6178 USE_NLS=no
6181 done
6183 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6184 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6185 if test "${ac_cv_search_gettext+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6187 else
6188 ac_func_search_save_LIBS=$LIBS
6189 ac_cv_search_gettext=no
6190 if test x$gcc_no_link = xyes; then
6191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6193 { (exit 1); exit 1; }; }
6195 cat >conftest.$ac_ext <<_ACEOF
6196 /* confdefs.h. */
6197 _ACEOF
6198 cat confdefs.h >>conftest.$ac_ext
6199 cat >>conftest.$ac_ext <<_ACEOF
6200 /* end confdefs.h. */
6202 /* Override any gcc2 internal prototype to avoid an error. */
6203 #ifdef __cplusplus
6204 extern "C"
6205 #endif
6206 /* We use char because int might match the return type of a gcc2
6207 builtin and then its argument prototype would still apply. */
6208 char gettext ();
6210 main ()
6212 gettext ();
6214 return 0;
6216 _ACEOF
6217 rm -f conftest.$ac_objext conftest$ac_exeext
6218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6219 (eval $ac_link) 2>conftest.er1
6220 ac_status=$?
6221 grep -v '^ *+' conftest.er1 >conftest.err
6222 rm -f conftest.er1
6223 cat conftest.err >&5
6224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225 (exit $ac_status); } &&
6226 { ac_try='test -z "$ac_c_werror_flag"
6227 || test ! -s conftest.err'
6228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6229 (eval $ac_try) 2>&5
6230 ac_status=$?
6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); }; } &&
6233 { ac_try='test -s conftest$ac_exeext'
6234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6235 (eval $ac_try) 2>&5
6236 ac_status=$?
6237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238 (exit $ac_status); }; }; then
6239 ac_cv_search_gettext="none required"
6240 else
6241 echo "$as_me: failed program was:" >&5
6242 sed 's/^/| /' conftest.$ac_ext >&5
6245 rm -f conftest.err conftest.$ac_objext \
6246 conftest$ac_exeext conftest.$ac_ext
6247 if test "$ac_cv_search_gettext" = no; then
6248 for ac_lib in intl; do
6249 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6250 if test x$gcc_no_link = xyes; then
6251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6253 { (exit 1); exit 1; }; }
6255 cat >conftest.$ac_ext <<_ACEOF
6256 /* confdefs.h. */
6257 _ACEOF
6258 cat confdefs.h >>conftest.$ac_ext
6259 cat >>conftest.$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6262 /* Override any gcc2 internal prototype to avoid an error. */
6263 #ifdef __cplusplus
6264 extern "C"
6265 #endif
6266 /* We use char because int might match the return type of a gcc2
6267 builtin and then its argument prototype would still apply. */
6268 char gettext ();
6270 main ()
6272 gettext ();
6274 return 0;
6276 _ACEOF
6277 rm -f conftest.$ac_objext conftest$ac_exeext
6278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6279 (eval $ac_link) 2>conftest.er1
6280 ac_status=$?
6281 grep -v '^ *+' conftest.er1 >conftest.err
6282 rm -f conftest.er1
6283 cat conftest.err >&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); } &&
6286 { ac_try='test -z "$ac_c_werror_flag"
6287 || test ! -s conftest.err'
6288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 (eval $ac_try) 2>&5
6290 ac_status=$?
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); }; } &&
6293 { ac_try='test -s conftest$ac_exeext'
6294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6295 (eval $ac_try) 2>&5
6296 ac_status=$?
6297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298 (exit $ac_status); }; }; then
6299 ac_cv_search_gettext="-l$ac_lib"
6300 break
6301 else
6302 echo "$as_me: failed program was:" >&5
6303 sed 's/^/| /' conftest.$ac_ext >&5
6306 rm -f conftest.err conftest.$ac_objext \
6307 conftest$ac_exeext conftest.$ac_ext
6308 done
6310 LIBS=$ac_func_search_save_LIBS
6312 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6313 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6314 if test "$ac_cv_search_gettext" != no; then
6315 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6317 else
6318 USE_NLS=no
6322 if test $USE_NLS = yes; then
6324 cat >>confdefs.h <<\_ACEOF
6325 #define _GLIBCXX_USE_NLS 1
6326 _ACEOF
6345 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6346 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6347 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6348 if test "${enable_libstdcxx_allocator+set}" = set; then
6349 enableval="$enable_libstdcxx_allocator"
6351 case "$enableval" in
6352 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6353 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6354 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6355 { (exit 1); exit 1; }; } ;;
6356 esac
6358 else
6359 enable_libstdcxx_allocator=auto
6363 # If they didn't use this option switch, or if they specified --enable
6364 # with no specific model, we'll have to look for one. If they
6365 # specified --disable (???), do likewise.
6366 if test $enable_libstdcxx_allocator = no ||
6367 test $enable_libstdcxx_allocator = yes;
6368 then
6369 enable_libstdcxx_allocator=auto
6372 # Either a known package, or "auto". Auto implies the default choice
6373 # for a particular platform.
6374 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6376 # Probe for host-specific support if no specific model is specified.
6377 # Default to "new".
6378 if test $enable_libstdcxx_allocator_flag = auto; then
6379 case ${target_os} in
6380 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6381 enable_libstdcxx_allocator_flag=new
6384 enable_libstdcxx_allocator_flag=new
6386 esac
6388 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6389 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6392 # Set configure bits for specified locale package
6393 case ${enable_libstdcxx_allocator_flag} in
6394 bitmap)
6395 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6396 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6398 malloc)
6399 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6400 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6403 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6404 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6406 new)
6407 ALLOCATOR_H=config/allocator/new_allocator_base.h
6408 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6410 pool)
6411 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6412 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6414 esac
6420 # Check whether --enable-cheaders or --disable-cheaders was given.
6421 if test "${enable_cheaders+set}" = set; then
6422 enableval="$enable_cheaders"
6424 case "$enableval" in
6425 c|c_std) ;;
6426 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6427 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6428 { (exit 1); exit 1; }; } ;;
6429 esac
6431 else
6432 enable_cheaders=$c_model
6435 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6436 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6438 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6445 # Check whether --enable-long-long or --disable-long-long was given.
6446 if test "${enable_long_long+set}" = set; then
6447 enableval="$enable_long_long"
6449 case "$enableval" in
6450 yes|no) ;;
6451 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
6452 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
6453 { (exit 1); exit 1; }; } ;;
6454 esac
6456 else
6457 enable_long_long=yes
6460 if test $enable_long_long = yes; then
6462 cat >>confdefs.h <<\_ACEOF
6463 #define _GLIBCXX_USE_LONG_LONG 1
6464 _ACEOF
6467 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
6468 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
6469 echo "$as_me:$LINENO: result: $enable_long_long" >&5
6470 echo "${ECHO_T}$enable_long_long" >&6
6474 # Check whether --enable-wchar_t or --disable-wchar_t was given.
6475 if test "${enable_wchar_t+set}" = set; then
6476 enableval="$enable_wchar_t"
6478 case "$enableval" in
6479 yes|no) ;;
6480 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
6481 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
6482 { (exit 1); exit 1; }; } ;;
6483 esac
6485 else
6486 enable_wchar_t=yes
6490 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
6492 for ac_header in wchar.h
6494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6496 echo "$as_me:$LINENO: checking for $ac_header" >&5
6497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6499 echo $ECHO_N "(cached) $ECHO_C" >&6
6501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6503 else
6504 # Is the header compilable?
6505 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6507 cat >conftest.$ac_ext <<_ACEOF
6508 /* confdefs.h. */
6509 _ACEOF
6510 cat confdefs.h >>conftest.$ac_ext
6511 cat >>conftest.$ac_ext <<_ACEOF
6512 /* end confdefs.h. */
6513 $ac_includes_default
6514 #include <$ac_header>
6515 _ACEOF
6516 rm -f conftest.$ac_objext
6517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6518 (eval $ac_compile) 2>conftest.er1
6519 ac_status=$?
6520 grep -v '^ *+' conftest.er1 >conftest.err
6521 rm -f conftest.er1
6522 cat conftest.err >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } &&
6525 { ac_try='test -z "$ac_c_werror_flag"
6526 || test ! -s conftest.err'
6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6528 (eval $ac_try) 2>&5
6529 ac_status=$?
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; } &&
6532 { ac_try='test -s conftest.$ac_objext'
6533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6534 (eval $ac_try) 2>&5
6535 ac_status=$?
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); }; }; then
6538 ac_header_compiler=yes
6539 else
6540 echo "$as_me: failed program was:" >&5
6541 sed 's/^/| /' conftest.$ac_ext >&5
6543 ac_header_compiler=no
6545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6547 echo "${ECHO_T}$ac_header_compiler" >&6
6549 # Is the header present?
6550 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6552 cat >conftest.$ac_ext <<_ACEOF
6553 /* confdefs.h. */
6554 _ACEOF
6555 cat confdefs.h >>conftest.$ac_ext
6556 cat >>conftest.$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6558 #include <$ac_header>
6559 _ACEOF
6560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6562 ac_status=$?
6563 grep -v '^ *+' conftest.er1 >conftest.err
6564 rm -f conftest.er1
6565 cat conftest.err >&5
6566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6567 (exit $ac_status); } >/dev/null; then
6568 if test -s conftest.err; then
6569 ac_cpp_err=$ac_c_preproc_warn_flag
6570 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6571 else
6572 ac_cpp_err=
6574 else
6575 ac_cpp_err=yes
6577 if test -z "$ac_cpp_err"; then
6578 ac_header_preproc=yes
6579 else
6580 echo "$as_me: failed program was:" >&5
6581 sed 's/^/| /' conftest.$ac_ext >&5
6583 ac_header_preproc=no
6585 rm -f conftest.err conftest.$ac_ext
6586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6587 echo "${ECHO_T}$ac_header_preproc" >&6
6589 # So? What about this header?
6590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6591 yes:no: )
6592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6593 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6595 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6596 ac_header_preproc=yes
6598 no:yes:* )
6599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6603 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6604 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6605 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6612 cat <<\_ASBOX
6613 ## ----------------------------------------- ##
6614 ## Report this to the package-unused lists. ##
6615 ## ----------------------------------------- ##
6616 _ASBOX
6618 sed "s/^/$as_me: WARNING: /" >&2
6620 esac
6621 echo "$as_me:$LINENO: checking for $ac_header" >&5
6622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6625 else
6626 eval "$as_ac_Header=\$ac_header_preproc"
6628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6633 cat >>confdefs.h <<_ACEOF
6634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6635 _ACEOF
6636 ac_has_wchar_h=yes
6637 else
6638 ac_has_wchar_h=no
6641 done
6643 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6644 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6645 cat >conftest.$ac_ext <<_ACEOF
6646 /* confdefs.h. */
6647 _ACEOF
6648 cat confdefs.h >>conftest.$ac_ext
6649 cat >>conftest.$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6651 #include <wchar.h>
6653 main ()
6655 mbstate_t teststate;
6657 return 0;
6659 _ACEOF
6660 rm -f conftest.$ac_objext
6661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6662 (eval $ac_compile) 2>conftest.er1
6663 ac_status=$?
6664 grep -v '^ *+' conftest.er1 >conftest.err
6665 rm -f conftest.er1
6666 cat conftest.err >&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); } &&
6669 { ac_try='test -z "$ac_c_werror_flag"
6670 || test ! -s conftest.err'
6671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6672 (eval $ac_try) 2>&5
6673 ac_status=$?
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); }; } &&
6676 { ac_try='test -s conftest.$ac_objext'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6678 (eval $ac_try) 2>&5
6679 ac_status=$?
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; }; then
6682 have_mbstate_t=yes
6683 else
6684 echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.$ac_ext >&5
6687 have_mbstate_t=no
6689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6690 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6691 echo "${ECHO_T}$have_mbstate_t" >&6
6692 if test x"$have_mbstate_t" = xyes; then
6694 cat >>confdefs.h <<\_ACEOF
6695 #define HAVE_MBSTATE_T 1
6696 _ACEOF
6700 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
6701 # ac_has_wchar_h.
6703 for ac_header in wctype.h
6705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6707 echo "$as_me:$LINENO: checking for $ac_header" >&5
6708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6710 echo $ECHO_N "(cached) $ECHO_C" >&6
6712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6714 else
6715 # Is the header compilable?
6716 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6718 cat >conftest.$ac_ext <<_ACEOF
6719 /* confdefs.h. */
6720 _ACEOF
6721 cat confdefs.h >>conftest.$ac_ext
6722 cat >>conftest.$ac_ext <<_ACEOF
6723 /* end confdefs.h. */
6724 $ac_includes_default
6725 #include <$ac_header>
6726 _ACEOF
6727 rm -f conftest.$ac_objext
6728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6729 (eval $ac_compile) 2>conftest.er1
6730 ac_status=$?
6731 grep -v '^ *+' conftest.er1 >conftest.err
6732 rm -f conftest.er1
6733 cat conftest.err >&5
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); } &&
6736 { ac_try='test -z "$ac_c_werror_flag"
6737 || test ! -s conftest.err'
6738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6739 (eval $ac_try) 2>&5
6740 ac_status=$?
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); }; } &&
6743 { ac_try='test -s conftest.$ac_objext'
6744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6745 (eval $ac_try) 2>&5
6746 ac_status=$?
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); }; }; then
6749 ac_header_compiler=yes
6750 else
6751 echo "$as_me: failed program was:" >&5
6752 sed 's/^/| /' conftest.$ac_ext >&5
6754 ac_header_compiler=no
6756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6758 echo "${ECHO_T}$ac_header_compiler" >&6
6760 # Is the header present?
6761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6763 cat >conftest.$ac_ext <<_ACEOF
6764 /* confdefs.h. */
6765 _ACEOF
6766 cat confdefs.h >>conftest.$ac_ext
6767 cat >>conftest.$ac_ext <<_ACEOF
6768 /* end confdefs.h. */
6769 #include <$ac_header>
6770 _ACEOF
6771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6773 ac_status=$?
6774 grep -v '^ *+' conftest.er1 >conftest.err
6775 rm -f conftest.er1
6776 cat conftest.err >&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); } >/dev/null; then
6779 if test -s conftest.err; then
6780 ac_cpp_err=$ac_c_preproc_warn_flag
6781 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6782 else
6783 ac_cpp_err=
6785 else
6786 ac_cpp_err=yes
6788 if test -z "$ac_cpp_err"; then
6789 ac_header_preproc=yes
6790 else
6791 echo "$as_me: failed program was:" >&5
6792 sed 's/^/| /' conftest.$ac_ext >&5
6794 ac_header_preproc=no
6796 rm -f conftest.err conftest.$ac_ext
6797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6798 echo "${ECHO_T}$ac_header_preproc" >&6
6800 # So? What about this header?
6801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6802 yes:no: )
6803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6807 ac_header_preproc=yes
6809 no:yes:* )
6810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6823 cat <<\_ASBOX
6824 ## ----------------------------------------- ##
6825 ## Report this to the package-unused lists. ##
6826 ## ----------------------------------------- ##
6827 _ASBOX
6829 sed "s/^/$as_me: WARNING: /" >&2
6831 esac
6832 echo "$as_me:$LINENO: checking for $ac_header" >&5
6833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6835 echo $ECHO_N "(cached) $ECHO_C" >&6
6836 else
6837 eval "$as_ac_Header=\$ac_header_preproc"
6839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6844 cat >>confdefs.h <<_ACEOF
6845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6846 _ACEOF
6847 ac_has_wctype_h=yes
6848 else
6849 ac_has_wctype_h=no
6852 done
6855 if test x"$enable_wchar_t" = x"yes"; then
6859 ac_ext=cc
6860 ac_cpp='$CXXCPP $CPPFLAGS'
6861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6866 if test x"$ac_has_wchar_h" = xyes &&
6867 test x"$ac_has_wctype_h" = xyes; then
6868 cat >conftest.$ac_ext <<_ACEOF
6869 /* confdefs.h. */
6870 _ACEOF
6871 cat confdefs.h >>conftest.$ac_ext
6872 cat >>conftest.$ac_ext <<_ACEOF
6873 /* end confdefs.h. */
6874 #include <wchar.h>
6875 #include <stddef.h>
6876 wint_t i;
6877 long l = WEOF;
6878 long j = WCHAR_MIN;
6879 long k = WCHAR_MAX;
6880 namespace test
6882 using ::btowc;
6883 using ::fgetwc;
6884 using ::fgetws;
6885 using ::fputwc;
6886 using ::fputws;
6887 using ::fwide;
6888 using ::fwprintf;
6889 using ::fwscanf;
6890 using ::getwc;
6891 using ::getwchar;
6892 using ::mbrlen;
6893 using ::mbrtowc;
6894 using ::mbsinit;
6895 using ::mbsrtowcs;
6896 using ::putwc;
6897 using ::putwchar;
6898 using ::swprintf;
6899 using ::swscanf;
6900 using ::ungetwc;
6901 using ::vfwprintf;
6902 using ::vswprintf;
6903 using ::vwprintf;
6904 using ::wcrtomb;
6905 using ::wcscat;
6906 using ::wcschr;
6907 using ::wcscmp;
6908 using ::wcscoll;
6909 using ::wcscpy;
6910 using ::wcscspn;
6911 using ::wcsftime;
6912 using ::wcslen;
6913 using ::wcsncat;
6914 using ::wcsncmp;
6915 using ::wcsncpy;
6916 using ::wcspbrk;
6917 using ::wcsrchr;
6918 using ::wcsrtombs;
6919 using ::wcsspn;
6920 using ::wcsstr;
6921 using ::wcstod;
6922 using ::wcstok;
6923 using ::wcstol;
6924 using ::wcstoul;
6925 using ::wcsxfrm;
6926 using ::wctob;
6927 using ::wmemchr;
6928 using ::wmemcmp;
6929 using ::wmemcpy;
6930 using ::wmemmove;
6931 using ::wmemset;
6932 using ::wprintf;
6933 using ::wscanf;
6937 main ()
6941 return 0;
6943 _ACEOF
6944 rm -f conftest.$ac_objext
6945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6946 (eval $ac_compile) 2>conftest.er1
6947 ac_status=$?
6948 grep -v '^ *+' conftest.er1 >conftest.err
6949 rm -f conftest.er1
6950 cat conftest.err >&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); } &&
6953 { ac_try='test -z "$ac_cxx_werror_flag"
6954 || test ! -s conftest.err'
6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6956 (eval $ac_try) 2>&5
6957 ac_status=$?
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); }; } &&
6960 { ac_try='test -s conftest.$ac_objext'
6961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6962 (eval $ac_try) 2>&5
6963 ac_status=$?
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); }; }; then
6967 else
6968 echo "$as_me: failed program was:" >&5
6969 sed 's/^/| /' conftest.$ac_ext >&5
6971 enable_wchar_t=no
6973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6974 else
6975 enable_wchar_t=no
6978 ac_ext=c
6979 ac_cpp='$CPP $CPPFLAGS'
6980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6986 if test x"$enable_wchar_t" = x"yes"; then
6988 cat >>confdefs.h <<\_ACEOF
6989 #define _GLIBCXX_USE_WCHAR_T 1
6990 _ACEOF
6994 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
6995 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
6996 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
6997 echo "${ECHO_T}$enable_wchar_t" >&6
7001 # Check whether --enable-c99 or --disable-c99 was given.
7002 if test "${enable_c99+set}" = set; then
7003 enableval="$enable_c99"
7005 case "$enableval" in
7006 yes|no) ;;
7007 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
7008 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
7009 { (exit 1); exit 1; }; } ;;
7010 esac
7012 else
7013 enable_c99=yes
7017 if test x"$enable_c99" = x"yes"; then
7021 ac_ext=cc
7022 ac_cpp='$CXXCPP $CPPFLAGS'
7023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7028 # Check for the existence of <math.h> functions used if C99 is enabled.
7029 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7030 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7031 if test "${ac_c99_math+set}" = set; then
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 else
7035 cat >conftest.$ac_ext <<_ACEOF
7036 /* confdefs.h. */
7037 _ACEOF
7038 cat confdefs.h >>conftest.$ac_ext
7039 cat >>conftest.$ac_ext <<_ACEOF
7040 /* end confdefs.h. */
7041 #include <math.h>
7043 main ()
7045 fpclassify(0.0);
7046 isfinite(0.0);
7047 isinf(0.0);
7048 isnan(0.0);
7049 isnormal(0.0);
7050 signbit(0.0);
7051 isgreater(0.0,0.0);
7052 isgreaterequal(0.0,0.0);
7053 isless(0.0,0.0);
7054 islessequal(0.0,0.0);
7055 islessgreater(0.0,0.0);
7056 islessgreater(0.0,0.0);
7057 isunordered(0.0,0.0);
7060 return 0;
7062 _ACEOF
7063 rm -f conftest.$ac_objext
7064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7065 (eval $ac_compile) 2>conftest.er1
7066 ac_status=$?
7067 grep -v '^ *+' conftest.er1 >conftest.err
7068 rm -f conftest.er1
7069 cat conftest.err >&5
7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); } &&
7072 { ac_try='test -z "$ac_cxx_werror_flag"
7073 || test ! -s conftest.err'
7074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7075 (eval $ac_try) 2>&5
7076 ac_status=$?
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }; } &&
7079 { ac_try='test -s conftest.$ac_objext'
7080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7081 (eval $ac_try) 2>&5
7082 ac_status=$?
7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); }; }; then
7085 ac_c99_math=yes
7086 else
7087 echo "$as_me: failed program was:" >&5
7088 sed 's/^/| /' conftest.$ac_ext >&5
7090 ac_c99_math=no
7092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7096 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7097 echo "${ECHO_T}$ac_c99_math" >&6
7098 if test x"$ac_c99_math" = x"yes"; then
7100 cat >>confdefs.h <<\_ACEOF
7101 #define _GLIBCXX_USE_C99_MATH 1
7102 _ACEOF
7106 # Check for the existence of <complex.h> complex math functions.
7107 # This is necessary even though libstdc++ uses the builtin versions
7108 # of these functions, because if the builtin cannot be used, a reference
7109 # to the library function is emitted.
7111 for ac_header in complex.h
7113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7115 echo "$as_me:$LINENO: checking for $ac_header" >&5
7116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7122 else
7123 # Is the header compilable?
7124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7126 cat >conftest.$ac_ext <<_ACEOF
7127 /* confdefs.h. */
7128 _ACEOF
7129 cat confdefs.h >>conftest.$ac_ext
7130 cat >>conftest.$ac_ext <<_ACEOF
7131 /* end confdefs.h. */
7132 $ac_includes_default
7133 #include <$ac_header>
7134 _ACEOF
7135 rm -f conftest.$ac_objext
7136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7137 (eval $ac_compile) 2>conftest.er1
7138 ac_status=$?
7139 grep -v '^ *+' conftest.er1 >conftest.err
7140 rm -f conftest.er1
7141 cat conftest.err >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); } &&
7144 { ac_try='test -z "$ac_cxx_werror_flag"
7145 || test ! -s conftest.err'
7146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147 (eval $ac_try) 2>&5
7148 ac_status=$?
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); }; } &&
7151 { ac_try='test -s conftest.$ac_objext'
7152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 (eval $ac_try) 2>&5
7154 ac_status=$?
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; }; then
7157 ac_header_compiler=yes
7158 else
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5
7162 ac_header_compiler=no
7164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7166 echo "${ECHO_T}$ac_header_compiler" >&6
7168 # Is the header present?
7169 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7170 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7171 cat >conftest.$ac_ext <<_ACEOF
7172 /* confdefs.h. */
7173 _ACEOF
7174 cat confdefs.h >>conftest.$ac_ext
7175 cat >>conftest.$ac_ext <<_ACEOF
7176 /* end confdefs.h. */
7177 #include <$ac_header>
7178 _ACEOF
7179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7180 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7181 ac_status=$?
7182 grep -v '^ *+' conftest.er1 >conftest.err
7183 rm -f conftest.er1
7184 cat conftest.err >&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); } >/dev/null; then
7187 if test -s conftest.err; then
7188 ac_cpp_err=$ac_cxx_preproc_warn_flag
7189 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7190 else
7191 ac_cpp_err=
7193 else
7194 ac_cpp_err=yes
7196 if test -z "$ac_cpp_err"; then
7197 ac_header_preproc=yes
7198 else
7199 echo "$as_me: failed program was:" >&5
7200 sed 's/^/| /' conftest.$ac_ext >&5
7202 ac_header_preproc=no
7204 rm -f conftest.err conftest.$ac_ext
7205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7206 echo "${ECHO_T}$ac_header_preproc" >&6
7208 # So? What about this header?
7209 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7210 yes:no: )
7211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7215 ac_header_preproc=yes
7217 no:yes:* )
7218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7231 cat <<\_ASBOX
7232 ## ----------------------------------------- ##
7233 ## Report this to the package-unused lists. ##
7234 ## ----------------------------------------- ##
7235 _ASBOX
7237 sed "s/^/$as_me: WARNING: /" >&2
7239 esac
7240 echo "$as_me:$LINENO: checking for $ac_header" >&5
7241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7243 echo $ECHO_N "(cached) $ECHO_C" >&6
7244 else
7245 eval "$as_ac_Header=\$ac_header_preproc"
7247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7252 cat >>confdefs.h <<_ACEOF
7253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7254 _ACEOF
7255 ac_has_complex_h=yes
7256 else
7257 ac_has_complex_h=no
7260 done
7262 ac_c99_complex=no;
7263 if test x"$ac_has_complex_h" = x"yes"; then
7264 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7265 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7266 cat >conftest.$ac_ext <<_ACEOF
7267 /* confdefs.h. */
7268 _ACEOF
7269 cat confdefs.h >>conftest.$ac_ext
7270 cat >>conftest.$ac_ext <<_ACEOF
7271 /* end confdefs.h. */
7272 #include <complex.h>
7274 main ()
7276 typedef __complex__ float float_type; float_type tmpf;
7277 cabsf(tmpf);
7278 cargf(tmpf);
7279 ccosf(tmpf);
7280 ccoshf(tmpf);
7281 cexpf(tmpf);
7282 clogf(tmpf);
7283 csinf(tmpf);
7284 csinhf(tmpf);
7285 csqrtf(tmpf);
7286 ctanf(tmpf);
7287 ctanhf(tmpf);
7288 cpowf(tmpf, tmpf);
7289 typedef __complex__ double double_type; double_type tmpd;
7290 cabs(tmpd);
7291 carg(tmpd);
7292 ccos(tmpd);
7293 ccosh(tmpd);
7294 cexp(tmpd);
7295 clog(tmpd);
7296 csin(tmpd);
7297 csinh(tmpd);
7298 csqrt(tmpd);
7299 ctan(tmpd);
7300 ctanh(tmpd);
7301 cpow(tmpd, tmpd);
7302 typedef __complex__ long double ld_type; ld_type tmpld;
7303 cabsl(tmpld);
7304 cargl(tmpld);
7305 ccosl(tmpld);
7306 ccoshl(tmpld);
7307 cexpl(tmpld);
7308 clogl(tmpld);
7309 csinl(tmpld);
7310 csinhl(tmpld);
7311 csqrtl(tmpld);
7312 ctanl(tmpld);
7313 ctanhl(tmpld);
7314 cpowl(tmpld, tmpld);
7317 return 0;
7319 _ACEOF
7320 rm -f conftest.$ac_objext
7321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7322 (eval $ac_compile) 2>conftest.er1
7323 ac_status=$?
7324 grep -v '^ *+' conftest.er1 >conftest.err
7325 rm -f conftest.er1
7326 cat conftest.err >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } &&
7329 { ac_try='test -z "$ac_cxx_werror_flag"
7330 || test ! -s conftest.err'
7331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7332 (eval $ac_try) 2>&5
7333 ac_status=$?
7334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335 (exit $ac_status); }; } &&
7336 { ac_try='test -s conftest.$ac_objext'
7337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7338 (eval $ac_try) 2>&5
7339 ac_status=$?
7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); }; }; then
7342 ac_c99_complex=yes
7343 else
7344 echo "$as_me: failed program was:" >&5
7345 sed 's/^/| /' conftest.$ac_ext >&5
7347 ac_c99_complex=no
7349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7351 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
7352 echo "${ECHO_T}$ac_c99_complex" >&6
7353 if test x"$ac_c99_complex" = x"yes"; then
7355 cat >>confdefs.h <<\_ACEOF
7356 #define _GLIBCXX_USE_C99_COMPLEX 1
7357 _ACEOF
7361 # Check for the existence in <stdio.h> of vscanf, et. al.
7362 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
7363 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
7364 if test "${ac_c99_stdio+set}" = set; then
7365 echo $ECHO_N "(cached) $ECHO_C" >&6
7366 else
7368 cat >conftest.$ac_ext <<_ACEOF
7369 /* confdefs.h. */
7370 _ACEOF
7371 cat confdefs.h >>conftest.$ac_ext
7372 cat >>conftest.$ac_ext <<_ACEOF
7373 /* end confdefs.h. */
7374 #include <stdio.h>
7375 #include <stdarg.h>
7376 void foo(char* fmt, ...)
7378 va_list args; va_start(args, fmt);
7379 vfscanf(stderr, "%i", args);
7380 vscanf("%i", args);
7381 vsnprintf(fmt, 0, "%i", args);
7382 vsscanf(fmt, "%i", args);
7385 main ()
7387 snprintf("12", 0, "%i");
7389 return 0;
7391 _ACEOF
7392 rm -f conftest.$ac_objext
7393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7394 (eval $ac_compile) 2>conftest.er1
7395 ac_status=$?
7396 grep -v '^ *+' conftest.er1 >conftest.err
7397 rm -f conftest.er1
7398 cat conftest.err >&5
7399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7400 (exit $ac_status); } &&
7401 { ac_try='test -z "$ac_cxx_werror_flag"
7402 || test ! -s conftest.err'
7403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7404 (eval $ac_try) 2>&5
7405 ac_status=$?
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407 (exit $ac_status); }; } &&
7408 { ac_try='test -s conftest.$ac_objext'
7409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7410 (eval $ac_try) 2>&5
7411 ac_status=$?
7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413 (exit $ac_status); }; }; then
7414 ac_c99_stdio=yes
7415 else
7416 echo "$as_me: failed program was:" >&5
7417 sed 's/^/| /' conftest.$ac_ext >&5
7419 ac_c99_stdio=no
7421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7425 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7426 echo "${ECHO_T}$ac_c99_stdio" >&6
7428 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7429 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7430 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7431 if test "${ac_c99_stdlib+set}" = set; then
7432 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 else
7435 cat >conftest.$ac_ext <<_ACEOF
7436 /* confdefs.h. */
7437 _ACEOF
7438 cat confdefs.h >>conftest.$ac_ext
7439 cat >>conftest.$ac_ext <<_ACEOF
7440 /* end confdefs.h. */
7441 #include <stdlib.h>
7443 main ()
7445 char* tmp;
7446 strtof("gnu", &tmp);
7447 strtold("gnu", &tmp);
7448 strtoll("gnu", &tmp, 10);
7449 strtoull("gnu", &tmp, 10);
7450 llabs(10);
7451 lldiv(10,1);
7452 atoll("10");
7453 _Exit(0);
7454 lldiv_t mydivt;
7456 return 0;
7458 _ACEOF
7459 rm -f conftest.$ac_objext
7460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7461 (eval $ac_compile) 2>conftest.er1
7462 ac_status=$?
7463 grep -v '^ *+' conftest.er1 >conftest.err
7464 rm -f conftest.er1
7465 cat conftest.err >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); } &&
7468 { ac_try='test -z "$ac_cxx_werror_flag"
7469 || test ! -s conftest.err'
7470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7471 (eval $ac_try) 2>&5
7472 ac_status=$?
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); }; } &&
7475 { ac_try='test -s conftest.$ac_objext'
7476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7477 (eval $ac_try) 2>&5
7478 ac_status=$?
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); }; }; then
7481 ac_c99_stdlib=yes
7482 else
7483 echo "$as_me: failed program was:" >&5
7484 sed 's/^/| /' conftest.$ac_ext >&5
7486 ac_c99_stdlib=no
7488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7492 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7493 echo "${ECHO_T}$ac_c99_stdlib" >&6
7495 # Check for the existence in <wchar.h> of wcstold, etc.
7496 ac_c99_wchar=no;
7497 if test x"$ac_has_wchar_h" = xyes &&
7498 test x"$ac_has_wctype_h" = xyes; then
7499 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7500 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7501 cat >conftest.$ac_ext <<_ACEOF
7502 /* confdefs.h. */
7503 _ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 #include <wchar.h>
7508 namespace test
7510 using ::wcstold;
7511 using ::wcstoll;
7512 using ::wcstoull;
7516 main ()
7520 return 0;
7522 _ACEOF
7523 rm -f conftest.$ac_objext
7524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7525 (eval $ac_compile) 2>conftest.er1
7526 ac_status=$?
7527 grep -v '^ *+' conftest.er1 >conftest.err
7528 rm -f conftest.er1
7529 cat conftest.err >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try='test -z "$ac_cxx_werror_flag"
7533 || test ! -s conftest.err'
7534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7535 (eval $ac_try) 2>&5
7536 ac_status=$?
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); }; } &&
7539 { ac_try='test -s conftest.$ac_objext'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7541 (eval $ac_try) 2>&5
7542 ac_status=$?
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; }; then
7545 ac_c99_wchar=yes
7546 else
7547 echo "$as_me: failed program was:" >&5
7548 sed 's/^/| /' conftest.$ac_ext >&5
7550 ac_c99_wchar=no
7552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7554 # Checks for wide character functions that may not be present.
7555 # Injection of these is wrapped with guard macros.
7556 # NB: only put functions here, instead of immediately above, if
7557 # absolutely necessary.
7558 cat >conftest.$ac_ext <<_ACEOF
7559 /* confdefs.h. */
7560 _ACEOF
7561 cat confdefs.h >>conftest.$ac_ext
7562 cat >>conftest.$ac_ext <<_ACEOF
7563 /* end confdefs.h. */
7564 #include <wchar.h>
7565 namespace test { using ::vfwscanf; }
7567 main ()
7571 return 0;
7573 _ACEOF
7574 rm -f conftest.$ac_objext
7575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7576 (eval $ac_compile) 2>conftest.er1
7577 ac_status=$?
7578 grep -v '^ *+' conftest.er1 >conftest.err
7579 rm -f conftest.er1
7580 cat conftest.err >&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); } &&
7583 { ac_try='test -z "$ac_cxx_werror_flag"
7584 || test ! -s conftest.err'
7585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7586 (eval $ac_try) 2>&5
7587 ac_status=$?
7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); }; } &&
7590 { ac_try='test -s conftest.$ac_objext'
7591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7592 (eval $ac_try) 2>&5
7593 ac_status=$?
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); }; }; then
7597 cat >>confdefs.h <<\_ACEOF
7598 #define HAVE_VFWSCANF 1
7599 _ACEOF
7601 else
7602 echo "$as_me: failed program was:" >&5
7603 sed 's/^/| /' conftest.$ac_ext >&5
7606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7608 cat >conftest.$ac_ext <<_ACEOF
7609 /* confdefs.h. */
7610 _ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7614 #include <wchar.h>
7615 namespace test { using ::vswscanf; }
7617 main ()
7621 return 0;
7623 _ACEOF
7624 rm -f conftest.$ac_objext
7625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7626 (eval $ac_compile) 2>conftest.er1
7627 ac_status=$?
7628 grep -v '^ *+' conftest.er1 >conftest.err
7629 rm -f conftest.er1
7630 cat conftest.err >&5
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); } &&
7633 { ac_try='test -z "$ac_cxx_werror_flag"
7634 || test ! -s conftest.err'
7635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7636 (eval $ac_try) 2>&5
7637 ac_status=$?
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); }; } &&
7640 { ac_try='test -s conftest.$ac_objext'
7641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7642 (eval $ac_try) 2>&5
7643 ac_status=$?
7644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 (exit $ac_status); }; }; then
7647 cat >>confdefs.h <<\_ACEOF
7648 #define HAVE_VSWSCANF 1
7649 _ACEOF
7651 else
7652 echo "$as_me: failed program was:" >&5
7653 sed 's/^/| /' conftest.$ac_ext >&5
7656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7658 cat >conftest.$ac_ext <<_ACEOF
7659 /* confdefs.h. */
7660 _ACEOF
7661 cat confdefs.h >>conftest.$ac_ext
7662 cat >>conftest.$ac_ext <<_ACEOF
7663 /* end confdefs.h. */
7664 #include <wchar.h>
7665 namespace test { using ::vwscanf; }
7667 main ()
7671 return 0;
7673 _ACEOF
7674 rm -f conftest.$ac_objext
7675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7676 (eval $ac_compile) 2>conftest.er1
7677 ac_status=$?
7678 grep -v '^ *+' conftest.er1 >conftest.err
7679 rm -f conftest.er1
7680 cat conftest.err >&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); } &&
7683 { ac_try='test -z "$ac_cxx_werror_flag"
7684 || test ! -s conftest.err'
7685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7686 (eval $ac_try) 2>&5
7687 ac_status=$?
7688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689 (exit $ac_status); }; } &&
7690 { ac_try='test -s conftest.$ac_objext'
7691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7692 (eval $ac_try) 2>&5
7693 ac_status=$?
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); }; }; then
7697 cat >>confdefs.h <<\_ACEOF
7698 #define HAVE_VWSCANF 1
7699 _ACEOF
7701 else
7702 echo "$as_me: failed program was:" >&5
7703 sed 's/^/| /' conftest.$ac_ext >&5
7706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7708 cat >conftest.$ac_ext <<_ACEOF
7709 /* confdefs.h. */
7710 _ACEOF
7711 cat confdefs.h >>conftest.$ac_ext
7712 cat >>conftest.$ac_ext <<_ACEOF
7713 /* end confdefs.h. */
7714 #include <wchar.h>
7715 namespace test { using ::wcstof; }
7717 main ()
7721 return 0;
7723 _ACEOF
7724 rm -f conftest.$ac_objext
7725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7726 (eval $ac_compile) 2>conftest.er1
7727 ac_status=$?
7728 grep -v '^ *+' conftest.er1 >conftest.err
7729 rm -f conftest.er1
7730 cat conftest.err >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } &&
7733 { ac_try='test -z "$ac_cxx_werror_flag"
7734 || test ! -s conftest.err'
7735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7736 (eval $ac_try) 2>&5
7737 ac_status=$?
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); }; } &&
7740 { ac_try='test -s conftest.$ac_objext'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7742 (eval $ac_try) 2>&5
7743 ac_status=$?
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; }; then
7747 cat >>confdefs.h <<\_ACEOF
7748 #define HAVE_WCSTOF 1
7749 _ACEOF
7751 else
7752 echo "$as_me: failed program was:" >&5
7753 sed 's/^/| /' conftest.$ac_ext >&5
7756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7758 cat >conftest.$ac_ext <<_ACEOF
7759 /* confdefs.h. */
7760 _ACEOF
7761 cat confdefs.h >>conftest.$ac_ext
7762 cat >>conftest.$ac_ext <<_ACEOF
7763 /* end confdefs.h. */
7764 #include <wctype.h>
7766 main ()
7768 wint_t t; int i = iswblank(t);
7770 return 0;
7772 _ACEOF
7773 rm -f conftest.$ac_objext
7774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7775 (eval $ac_compile) 2>conftest.er1
7776 ac_status=$?
7777 grep -v '^ *+' conftest.er1 >conftest.err
7778 rm -f conftest.er1
7779 cat conftest.err >&5
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); } &&
7782 { ac_try='test -z "$ac_cxx_werror_flag"
7783 || test ! -s conftest.err'
7784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7785 (eval $ac_try) 2>&5
7786 ac_status=$?
7787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); }; } &&
7789 { ac_try='test -s conftest.$ac_objext'
7790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7791 (eval $ac_try) 2>&5
7792 ac_status=$?
7793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7794 (exit $ac_status); }; }; then
7796 cat >>confdefs.h <<\_ACEOF
7797 #define HAVE_ISWBLANK 1
7798 _ACEOF
7800 else
7801 echo "$as_me: failed program was:" >&5
7802 sed 's/^/| /' conftest.$ac_ext >&5
7805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7807 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7808 echo "${ECHO_T}$ac_c99_wchar" >&6
7811 # Option parsed, now set things appropriately.
7812 if test x"$ac_c99_math" = x"no" ||
7813 test x"$ac_c99_complex" = x"no" ||
7814 test x"$ac_c99_stdio" = x"no" ||
7815 test x"$ac_c99_stdlib" = x"no" ||
7816 test x"$ac_c99_wchar" = x"no"; then
7817 enable_c99=no;
7818 else
7820 cat >>confdefs.h <<\_ACEOF
7821 #define _GLIBCXX_USE_C99 1
7822 _ACEOF
7826 ac_ext=c
7827 ac_cpp='$CPP $CPPFLAGS'
7828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7834 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7835 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7836 echo "$as_me:$LINENO: result: $enable_c99" >&5
7837 echo "${ECHO_T}$enable_c99" >&6
7840 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7841 if test "${enable_concept_checks+set}" = set; then
7842 enableval="$enable_concept_checks"
7844 case "$enableval" in
7845 yes|no) ;;
7846 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7847 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7848 { (exit 1); exit 1; }; } ;;
7849 esac
7851 else
7852 enable_concept_checks=no
7855 if test $enable_concept_checks = yes; then
7857 cat >>confdefs.h <<\_ACEOF
7858 #define _GLIBCXX_CONCEPT_CHECKS 1
7859 _ACEOF
7864 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7865 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7866 enableval="$enable_libstdcxx_debug_flags"
7867 case "x$enable_libstdcxx_debug_flags" in
7868 xno | x) enable_libstdcxx_debug_flags= ;;
7869 x-*) ;;
7870 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7871 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7872 { (exit 1); exit 1; }; } ;;
7873 esac
7874 else
7875 enable_libstdcxx_debug_flags="-g3 -O0"
7879 # Option parsed, now set things appropriately
7880 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7883 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7884 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7887 echo "$as_me:$LINENO: checking for additional debug build" >&5
7888 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7889 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7890 if test "${enable_libstdcxx_debug+set}" = set; then
7891 enableval="$enable_libstdcxx_debug"
7893 case "$enableval" in
7894 yes|no) ;;
7895 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7896 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7897 { (exit 1); exit 1; }; } ;;
7898 esac
7900 else
7901 enable_libstdcxx_debug=no
7904 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7905 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7908 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7909 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7910 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7911 if test "${enable_cxx_flags+set}" = set; then
7912 enableval="$enable_cxx_flags"
7913 case "x$enable_cxx_flags" in
7914 xno | x) enable_cxx_flags= ;;
7915 x-*) ;;
7916 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7917 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7918 { (exit 1); exit 1; }; } ;;
7919 esac
7920 else
7921 enable_cxx_flags=
7925 # Run through flags (either default or command-line) and set anything
7926 # extra (e.g., #defines) that must accompany particular g++ options.
7927 if test -n "$enable_cxx_flags"; then
7928 for f in $enable_cxx_flags; do
7929 case "$f" in
7930 -fhonor-std) ;;
7931 -*) ;;
7932 *) # and we're trying to pass /what/ exactly?
7933 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7934 echo "$as_me: error: compiler flags start with a -" >&2;}
7935 { (exit 1); exit 1; }; } ;;
7936 esac
7937 done
7940 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7941 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7942 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7946 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7947 if test "${enable_fully_dynamic_string+set}" = set; then
7948 enableval="$enable_fully_dynamic_string"
7950 case "$enableval" in
7951 yes|no) ;;
7952 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7953 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7954 { (exit 1); exit 1; }; } ;;
7955 esac
7957 else
7958 enable_fully_dynamic_string=no
7961 if test $enable_fully_dynamic_string = yes; then
7963 cat >>confdefs.h <<\_ACEOF
7964 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7965 _ACEOF
7970 # No surprises, no surprises...
7972 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7973 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7974 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7975 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7976 echo "${ECHO_T}$target_thread_file" >&6
7978 if test $target_thread_file != single; then
7980 cat >>confdefs.h <<\_ACEOF
7981 #define HAVE_GTHR_DEFAULT 1
7982 _ACEOF
7986 glibcxx_thread_h=gthr-$target_thread_file.h
7988 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7989 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7990 enable_thread=yes
7991 else
7992 enable_thread=no
7997 if test $atomicity_dir = cpu/generic ; then
7998 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7999 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8000 if test $target_thread_file = single; then
8001 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8002 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8003 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8004 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8005 else
8006 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8007 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8008 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8009 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8014 if $GLIBCXX_IS_NATIVE; then
8016 # We can do more elaborate tests that assume a working linker.
8017 CANADIAN=no
8019 # Check for available headers.
8035 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8036 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8037 sys/types.h sys/ipc.h sys/sem.h
8039 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8041 echo "$as_me:$LINENO: checking for $ac_header" >&5
8042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8044 echo $ECHO_N "(cached) $ECHO_C" >&6
8046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8048 else
8049 # Is the header compilable?
8050 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8051 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8052 cat >conftest.$ac_ext <<_ACEOF
8053 /* confdefs.h. */
8054 _ACEOF
8055 cat confdefs.h >>conftest.$ac_ext
8056 cat >>conftest.$ac_ext <<_ACEOF
8057 /* end confdefs.h. */
8058 $ac_includes_default
8059 #include <$ac_header>
8060 _ACEOF
8061 rm -f conftest.$ac_objext
8062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8063 (eval $ac_compile) 2>conftest.er1
8064 ac_status=$?
8065 grep -v '^ *+' conftest.er1 >conftest.err
8066 rm -f conftest.er1
8067 cat conftest.err >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); } &&
8070 { ac_try='test -z "$ac_c_werror_flag"
8071 || test ! -s conftest.err'
8072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8073 (eval $ac_try) 2>&5
8074 ac_status=$?
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); }; } &&
8077 { ac_try='test -s conftest.$ac_objext'
8078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8079 (eval $ac_try) 2>&5
8080 ac_status=$?
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); }; }; then
8083 ac_header_compiler=yes
8084 else
8085 echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.$ac_ext >&5
8088 ac_header_compiler=no
8090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8092 echo "${ECHO_T}$ac_header_compiler" >&6
8094 # Is the header present?
8095 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8096 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8097 cat >conftest.$ac_ext <<_ACEOF
8098 /* confdefs.h. */
8099 _ACEOF
8100 cat confdefs.h >>conftest.$ac_ext
8101 cat >>conftest.$ac_ext <<_ACEOF
8102 /* end confdefs.h. */
8103 #include <$ac_header>
8104 _ACEOF
8105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8107 ac_status=$?
8108 grep -v '^ *+' conftest.er1 >conftest.err
8109 rm -f conftest.er1
8110 cat conftest.err >&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); } >/dev/null; then
8113 if test -s conftest.err; then
8114 ac_cpp_err=$ac_c_preproc_warn_flag
8115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8116 else
8117 ac_cpp_err=
8119 else
8120 ac_cpp_err=yes
8122 if test -z "$ac_cpp_err"; then
8123 ac_header_preproc=yes
8124 else
8125 echo "$as_me: failed program was:" >&5
8126 sed 's/^/| /' conftest.$ac_ext >&5
8128 ac_header_preproc=no
8130 rm -f conftest.err conftest.$ac_ext
8131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8132 echo "${ECHO_T}$ac_header_preproc" >&6
8134 # So? What about this header?
8135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8136 yes:no: )
8137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8141 ac_header_preproc=yes
8143 no:yes:* )
8144 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8146 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8147 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8148 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8150 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8151 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8154 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8157 cat <<\_ASBOX
8158 ## ----------------------------------------- ##
8159 ## Report this to the package-unused lists. ##
8160 ## ----------------------------------------- ##
8161 _ASBOX
8163 sed "s/^/$as_me: WARNING: /" >&2
8165 esac
8166 echo "$as_me:$LINENO: checking for $ac_header" >&5
8167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8169 echo $ECHO_N "(cached) $ECHO_C" >&6
8170 else
8171 eval "$as_ac_Header=\$ac_header_preproc"
8173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8178 cat >>confdefs.h <<_ACEOF
8179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8180 _ACEOF
8184 done
8188 # All these tests are for C++; save the language and the compiler flags.
8189 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8190 # found in GLIBCXX_CONFIGURE.
8193 ac_ext=cc
8194 ac_cpp='$CXXCPP $CPPFLAGS'
8195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8199 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8200 ac_save_CXXFLAGS="$CXXFLAGS"
8202 # Check for maintainer-mode bits.
8203 if test x"$USE_MAINTAINER_MODE" = xno; then
8204 WERROR=''
8205 else
8206 WERROR='-Werror'
8209 # Check for -ffunction-sections -fdata-sections
8210 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8211 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8212 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8213 cat >conftest.$ac_ext <<_ACEOF
8214 /* confdefs.h. */
8215 _ACEOF
8216 cat confdefs.h >>conftest.$ac_ext
8217 cat >>conftest.$ac_ext <<_ACEOF
8218 /* end confdefs.h. */
8221 main ()
8223 int foo;
8225 return 0;
8227 _ACEOF
8228 rm -f conftest.$ac_objext
8229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8230 (eval $ac_compile) 2>conftest.er1
8231 ac_status=$?
8232 grep -v '^ *+' conftest.er1 >conftest.err
8233 rm -f conftest.er1
8234 cat conftest.err >&5
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); } &&
8237 { ac_try='test -z "$ac_cxx_werror_flag"
8238 || test ! -s conftest.err'
8239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8240 (eval $ac_try) 2>&5
8241 ac_status=$?
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); }; } &&
8244 { ac_try='test -s conftest.$ac_objext'
8245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8246 (eval $ac_try) 2>&5
8247 ac_status=$?
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; }; then
8250 ac_fdsections=yes
8251 else
8252 echo "$as_me: failed program was:" >&5
8253 sed 's/^/| /' conftest.$ac_ext >&5
8255 ac_fdsections=no
8257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8258 if test "$ac_test_CXXFLAGS" = set; then
8259 CXXFLAGS="$ac_save_CXXFLAGS"
8260 else
8261 # this is the suspicious part
8262 CXXFLAGS=''
8264 if test x"$ac_fdsections" = x"yes"; then
8265 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8267 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8268 echo "${ECHO_T}$ac_fdsections" >&6
8270 ac_ext=c
8271 ac_cpp='$CPP $CPPFLAGS'
8272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8280 # If we're not using GNU ld, then there's no point in even trying these
8281 # tests. Check for that first. We should have already tested for gld
8282 # by now (in libtool), but require it now just to be safe...
8283 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8284 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8288 # The name set by libtool depends on the version of libtool. Shame on us
8289 # for depending on an impl detail, but c'est la vie. Older versions used
8290 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8291 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8292 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8293 # set (hence we're using an older libtool), then set it.
8294 if test x${with_gnu_ld+set} != xset; then
8295 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8296 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8297 with_gnu_ld=no
8298 else
8299 with_gnu_ld=$ac_cv_prog_gnu_ld
8303 # Start by getting the version number. I think the libtool test already
8304 # does some of this, but throws away the result.
8305 echo "$as_me:$LINENO: checking for ld version" >&5
8306 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8308 ldver=`$LD --version 2>/dev/null | head -1 | \
8309 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8311 glibcxx_gnu_ld_version=`echo $ldver | \
8312 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8313 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8314 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8316 # Set --gc-sections.
8317 glibcxx_gcsections_min_ld=21602
8318 if test x"$with_gnu_ld" = x"yes" &&
8319 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8321 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
8322 # NB: This flag only works reliably after 2.16.1. Configure tests
8323 # for this are difficult, so hard wire a value that should work.
8325 # All these tests are for C++, but run with the "C" compiler driver.
8326 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8327 ac_test_CFLAGS="${CFLAGS+set}"
8328 ac_save_CFLAGS="$CFLAGS"
8329 CFLAGS='-x c++ -Wl,--gc-sections'
8331 # Check for -Wl,--gc-sections
8332 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8333 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8334 if test x$gcc_no_link = xyes; then
8335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8337 { (exit 1); exit 1; }; }
8339 cat >conftest.$ac_ext <<_ACEOF
8340 /* confdefs.h. */
8341 _ACEOF
8342 cat confdefs.h >>conftest.$ac_ext
8343 cat >>conftest.$ac_ext <<_ACEOF
8344 /* end confdefs.h. */
8345 int one(void) { return 1; }
8346 int two(void) { return 2; }
8349 main ()
8351 two();
8353 return 0;
8355 _ACEOF
8356 rm -f conftest.$ac_objext conftest$ac_exeext
8357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8358 (eval $ac_link) 2>conftest.er1
8359 ac_status=$?
8360 grep -v '^ *+' conftest.er1 >conftest.err
8361 rm -f conftest.er1
8362 cat conftest.err >&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); } &&
8365 { ac_try='test -z "$ac_c_werror_flag"
8366 || test ! -s conftest.err'
8367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8368 (eval $ac_try) 2>&5
8369 ac_status=$?
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); }; } &&
8372 { ac_try='test -s conftest$ac_exeext'
8373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8374 (eval $ac_try) 2>&5
8375 ac_status=$?
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); }; }; then
8378 ac_gcsections=yes
8379 else
8380 echo "$as_me: failed program was:" >&5
8381 sed 's/^/| /' conftest.$ac_ext >&5
8383 ac_gcsections=no
8385 rm -f conftest.err conftest.$ac_objext \
8386 conftest$ac_exeext conftest.$ac_ext
8387 if test "$ac_gcsections" = "yes"; then
8388 rm -f conftest.c
8389 touch conftest.c
8390 if $CC -c conftest.c; then
8391 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8392 grep "Warning: gc-sections option ignored" > /dev/null; then
8393 ac_gcsections=no
8396 rm -f conftest.c conftest.o conftest
8398 if test "$ac_gcsections" = "yes"; then
8399 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8401 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8402 echo "${ECHO_T}$ac_gcsections" >&6
8404 if test "$ac_test_CFLAGS" = set; then
8405 CFLAGS="$ac_save_CFLAGS"
8406 else
8407 # this is the suspicious part
8408 CFLAGS=''
8412 # Set -z,relro.
8413 # Note this is only for shared objects.
8414 ac_ld_relro=no
8415 if test x"$with_gnu_ld" = x"yes"; then
8416 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8417 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8418 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8419 if test -n "$cxx_z_relo"; then
8420 OPT_LDFLAGS="-Wl,-z,relro"
8421 ac_ld_relro=yes
8423 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8424 echo "${ECHO_T}$ac_ld_relro" >&6
8427 # Set linker optimization flags.
8428 if test x"$with_gnu_ld" = x"yes"; then
8429 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8436 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8437 ac_save_CXXFLAGS="$CXXFLAGS"
8438 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8440 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8441 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8442 if test "${ac_cv_lib_m_sin+set}" = set; then
8443 echo $ECHO_N "(cached) $ECHO_C" >&6
8444 else
8445 ac_check_lib_save_LIBS=$LIBS
8446 LIBS="-lm $LIBS"
8447 if test x$gcc_no_link = xyes; then
8448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8450 { (exit 1); exit 1; }; }
8452 cat >conftest.$ac_ext <<_ACEOF
8453 /* confdefs.h. */
8454 _ACEOF
8455 cat confdefs.h >>conftest.$ac_ext
8456 cat >>conftest.$ac_ext <<_ACEOF
8457 /* end confdefs.h. */
8459 /* Override any gcc2 internal prototype to avoid an error. */
8460 #ifdef __cplusplus
8461 extern "C"
8462 #endif
8463 /* We use char because int might match the return type of a gcc2
8464 builtin and then its argument prototype would still apply. */
8465 char sin ();
8467 main ()
8469 sin ();
8471 return 0;
8473 _ACEOF
8474 rm -f conftest.$ac_objext conftest$ac_exeext
8475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8476 (eval $ac_link) 2>conftest.er1
8477 ac_status=$?
8478 grep -v '^ *+' conftest.er1 >conftest.err
8479 rm -f conftest.er1
8480 cat conftest.err >&5
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); } &&
8483 { ac_try='test -z "$ac_c_werror_flag"
8484 || test ! -s conftest.err'
8485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8486 (eval $ac_try) 2>&5
8487 ac_status=$?
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); }; } &&
8490 { ac_try='test -s conftest$ac_exeext'
8491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8492 (eval $ac_try) 2>&5
8493 ac_status=$?
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); }; }; then
8496 ac_cv_lib_m_sin=yes
8497 else
8498 echo "$as_me: failed program was:" >&5
8499 sed 's/^/| /' conftest.$ac_ext >&5
8501 ac_cv_lib_m_sin=no
8503 rm -f conftest.err conftest.$ac_objext \
8504 conftest$ac_exeext conftest.$ac_ext
8505 LIBS=$ac_check_lib_save_LIBS
8507 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8508 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8509 if test $ac_cv_lib_m_sin = yes; then
8510 libm="-lm"
8513 ac_save_LIBS="$LIBS"
8514 LIBS="$LIBS $libm"
8518 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8519 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8520 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8521 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8522 echo $ECHO_N "(cached) $ECHO_C" >&6
8523 else
8527 ac_ext=cc
8528 ac_cpp='$CXXCPP $CPPFLAGS'
8529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8533 cat >conftest.$ac_ext <<_ACEOF
8534 /* confdefs.h. */
8535 _ACEOF
8536 cat confdefs.h >>conftest.$ac_ext
8537 cat >>conftest.$ac_ext <<_ACEOF
8538 /* end confdefs.h. */
8539 #include <math.h>
8540 #ifdef HAVE_IEEEFP_H
8541 #include <ieeefp.h>
8542 #endif
8545 main ()
8547 isinf(0);
8549 return 0;
8551 _ACEOF
8552 rm -f conftest.$ac_objext
8553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8554 (eval $ac_compile) 2>conftest.er1
8555 ac_status=$?
8556 grep -v '^ *+' conftest.er1 >conftest.err
8557 rm -f conftest.er1
8558 cat conftest.err >&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } &&
8561 { ac_try='test -z "$ac_cxx_werror_flag"
8562 || test ! -s conftest.err'
8563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564 (eval $ac_try) 2>&5
8565 ac_status=$?
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); }; } &&
8568 { ac_try='test -s conftest.$ac_objext'
8569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8570 (eval $ac_try) 2>&5
8571 ac_status=$?
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); }; }; then
8574 glibcxx_cv_func_isinf_use=yes
8575 else
8576 echo "$as_me: failed program was:" >&5
8577 sed 's/^/| /' conftest.$ac_ext >&5
8579 glibcxx_cv_func_isinf_use=no
8581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8582 ac_ext=c
8583 ac_cpp='$CPP $CPPFLAGS'
8584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8592 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8593 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8595 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8597 for ac_func in isinf
8599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8600 echo "$as_me:$LINENO: checking for $ac_func" >&5
8601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8602 if eval "test \"\${$as_ac_var+set}\" = set"; then
8603 echo $ECHO_N "(cached) $ECHO_C" >&6
8604 else
8605 if test x$gcc_no_link = xyes; then
8606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8608 { (exit 1); exit 1; }; }
8610 cat >conftest.$ac_ext <<_ACEOF
8611 /* confdefs.h. */
8612 _ACEOF
8613 cat confdefs.h >>conftest.$ac_ext
8614 cat >>conftest.$ac_ext <<_ACEOF
8615 /* end confdefs.h. */
8616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8618 #define $ac_func innocuous_$ac_func
8620 /* System header to define __stub macros and hopefully few prototypes,
8621 which can conflict with char $ac_func (); below.
8622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8623 <limits.h> exists even on freestanding compilers. */
8625 #ifdef __STDC__
8626 # include <limits.h>
8627 #else
8628 # include <assert.h>
8629 #endif
8631 #undef $ac_func
8633 /* Override any gcc2 internal prototype to avoid an error. */
8634 #ifdef __cplusplus
8635 extern "C"
8637 #endif
8638 /* We use char because int might match the return type of a gcc2
8639 builtin and then its argument prototype would still apply. */
8640 char $ac_func ();
8641 /* The GNU C library defines this for functions which it implements
8642 to always fail with ENOSYS. Some functions are actually named
8643 something starting with __ and the normal name is an alias. */
8644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8645 choke me
8646 #else
8647 char (*f) () = $ac_func;
8648 #endif
8649 #ifdef __cplusplus
8651 #endif
8654 main ()
8656 return f != $ac_func;
8658 return 0;
8660 _ACEOF
8661 rm -f conftest.$ac_objext conftest$ac_exeext
8662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8663 (eval $ac_link) 2>conftest.er1
8664 ac_status=$?
8665 grep -v '^ *+' conftest.er1 >conftest.err
8666 rm -f conftest.er1
8667 cat conftest.err >&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } &&
8670 { ac_try='test -z "$ac_c_werror_flag"
8671 || test ! -s conftest.err'
8672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8673 (eval $ac_try) 2>&5
8674 ac_status=$?
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); }; } &&
8677 { ac_try='test -s conftest$ac_exeext'
8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 (eval $ac_try) 2>&5
8680 ac_status=$?
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); }; }; then
8683 eval "$as_ac_var=yes"
8684 else
8685 echo "$as_me: failed program was:" >&5
8686 sed 's/^/| /' conftest.$ac_ext >&5
8688 eval "$as_ac_var=no"
8690 rm -f conftest.err conftest.$ac_objext \
8691 conftest$ac_exeext conftest.$ac_ext
8693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8695 if test `eval echo '${'$as_ac_var'}'` = yes; then
8696 cat >>confdefs.h <<_ACEOF
8697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8698 _ACEOF
8701 done
8703 else
8705 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8706 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8707 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8708 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8709 echo $ECHO_N "(cached) $ECHO_C" >&6
8710 else
8714 ac_ext=cc
8715 ac_cpp='$CXXCPP $CPPFLAGS'
8716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8720 cat >conftest.$ac_ext <<_ACEOF
8721 /* confdefs.h. */
8722 _ACEOF
8723 cat confdefs.h >>conftest.$ac_ext
8724 cat >>conftest.$ac_ext <<_ACEOF
8725 /* end confdefs.h. */
8726 #include <math.h>
8727 #ifdef HAVE_IEEEFP_H
8728 #include <ieeefp.h>
8729 #endif
8732 main ()
8734 _isinf(0);
8736 return 0;
8738 _ACEOF
8739 rm -f conftest.$ac_objext
8740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8741 (eval $ac_compile) 2>conftest.er1
8742 ac_status=$?
8743 grep -v '^ *+' conftest.er1 >conftest.err
8744 rm -f conftest.er1
8745 cat conftest.err >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); } &&
8748 { ac_try='test -z "$ac_cxx_werror_flag"
8749 || test ! -s conftest.err'
8750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8751 (eval $ac_try) 2>&5
8752 ac_status=$?
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); }; } &&
8755 { ac_try='test -s conftest.$ac_objext'
8756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8757 (eval $ac_try) 2>&5
8758 ac_status=$?
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); }; }; then
8761 glibcxx_cv_func__isinf_use=yes
8762 else
8763 echo "$as_me: failed program was:" >&5
8764 sed 's/^/| /' conftest.$ac_ext >&5
8766 glibcxx_cv_func__isinf_use=no
8768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8769 ac_ext=c
8770 ac_cpp='$CPP $CPPFLAGS'
8771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8779 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8780 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8782 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8784 for ac_func in _isinf
8786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8787 echo "$as_me:$LINENO: checking for $ac_func" >&5
8788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8789 if eval "test \"\${$as_ac_var+set}\" = set"; then
8790 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 else
8792 if test x$gcc_no_link = xyes; then
8793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8795 { (exit 1); exit 1; }; }
8797 cat >conftest.$ac_ext <<_ACEOF
8798 /* confdefs.h. */
8799 _ACEOF
8800 cat confdefs.h >>conftest.$ac_ext
8801 cat >>conftest.$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8805 #define $ac_func innocuous_$ac_func
8807 /* System header to define __stub macros and hopefully few prototypes,
8808 which can conflict with char $ac_func (); below.
8809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8810 <limits.h> exists even on freestanding compilers. */
8812 #ifdef __STDC__
8813 # include <limits.h>
8814 #else
8815 # include <assert.h>
8816 #endif
8818 #undef $ac_func
8820 /* Override any gcc2 internal prototype to avoid an error. */
8821 #ifdef __cplusplus
8822 extern "C"
8824 #endif
8825 /* We use char because int might match the return type of a gcc2
8826 builtin and then its argument prototype would still apply. */
8827 char $ac_func ();
8828 /* The GNU C library defines this for functions which it implements
8829 to always fail with ENOSYS. Some functions are actually named
8830 something starting with __ and the normal name is an alias. */
8831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8832 choke me
8833 #else
8834 char (*f) () = $ac_func;
8835 #endif
8836 #ifdef __cplusplus
8838 #endif
8841 main ()
8843 return f != $ac_func;
8845 return 0;
8847 _ACEOF
8848 rm -f conftest.$ac_objext conftest$ac_exeext
8849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8850 (eval $ac_link) 2>conftest.er1
8851 ac_status=$?
8852 grep -v '^ *+' conftest.er1 >conftest.err
8853 rm -f conftest.er1
8854 cat conftest.err >&5
8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 (exit $ac_status); } &&
8857 { ac_try='test -z "$ac_c_werror_flag"
8858 || test ! -s conftest.err'
8859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8860 (eval $ac_try) 2>&5
8861 ac_status=$?
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); }; } &&
8864 { ac_try='test -s conftest$ac_exeext'
8865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8866 (eval $ac_try) 2>&5
8867 ac_status=$?
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); }; }; then
8870 eval "$as_ac_var=yes"
8871 else
8872 echo "$as_me: failed program was:" >&5
8873 sed 's/^/| /' conftest.$ac_ext >&5
8875 eval "$as_ac_var=no"
8877 rm -f conftest.err conftest.$ac_objext \
8878 conftest$ac_exeext conftest.$ac_ext
8880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8882 if test `eval echo '${'$as_ac_var'}'` = yes; then
8883 cat >>confdefs.h <<_ACEOF
8884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8885 _ACEOF
8888 done
8898 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8899 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8900 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8901 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8902 echo $ECHO_N "(cached) $ECHO_C" >&6
8903 else
8907 ac_ext=cc
8908 ac_cpp='$CXXCPP $CPPFLAGS'
8909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8913 cat >conftest.$ac_ext <<_ACEOF
8914 /* confdefs.h. */
8915 _ACEOF
8916 cat confdefs.h >>conftest.$ac_ext
8917 cat >>conftest.$ac_ext <<_ACEOF
8918 /* end confdefs.h. */
8919 #include <math.h>
8920 #ifdef HAVE_IEEEFP_H
8921 #include <ieeefp.h>
8922 #endif
8925 main ()
8927 isnan(0);
8929 return 0;
8931 _ACEOF
8932 rm -f conftest.$ac_objext
8933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8934 (eval $ac_compile) 2>conftest.er1
8935 ac_status=$?
8936 grep -v '^ *+' conftest.er1 >conftest.err
8937 rm -f conftest.er1
8938 cat conftest.err >&5
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); } &&
8941 { ac_try='test -z "$ac_cxx_werror_flag"
8942 || test ! -s conftest.err'
8943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8944 (eval $ac_try) 2>&5
8945 ac_status=$?
8946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947 (exit $ac_status); }; } &&
8948 { ac_try='test -s conftest.$ac_objext'
8949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8950 (eval $ac_try) 2>&5
8951 ac_status=$?
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 (exit $ac_status); }; }; then
8954 glibcxx_cv_func_isnan_use=yes
8955 else
8956 echo "$as_me: failed program was:" >&5
8957 sed 's/^/| /' conftest.$ac_ext >&5
8959 glibcxx_cv_func_isnan_use=no
8961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8962 ac_ext=c
8963 ac_cpp='$CPP $CPPFLAGS'
8964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8972 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8973 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8975 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8977 for ac_func in isnan
8979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8980 echo "$as_me:$LINENO: checking for $ac_func" >&5
8981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8982 if eval "test \"\${$as_ac_var+set}\" = set"; then
8983 echo $ECHO_N "(cached) $ECHO_C" >&6
8984 else
8985 if test x$gcc_no_link = xyes; then
8986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8988 { (exit 1); exit 1; }; }
8990 cat >conftest.$ac_ext <<_ACEOF
8991 /* confdefs.h. */
8992 _ACEOF
8993 cat confdefs.h >>conftest.$ac_ext
8994 cat >>conftest.$ac_ext <<_ACEOF
8995 /* end confdefs.h. */
8996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8998 #define $ac_func innocuous_$ac_func
9000 /* System header to define __stub macros and hopefully few prototypes,
9001 which can conflict with char $ac_func (); below.
9002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9003 <limits.h> exists even on freestanding compilers. */
9005 #ifdef __STDC__
9006 # include <limits.h>
9007 #else
9008 # include <assert.h>
9009 #endif
9011 #undef $ac_func
9013 /* Override any gcc2 internal prototype to avoid an error. */
9014 #ifdef __cplusplus
9015 extern "C"
9017 #endif
9018 /* We use char because int might match the return type of a gcc2
9019 builtin and then its argument prototype would still apply. */
9020 char $ac_func ();
9021 /* The GNU C library defines this for functions which it implements
9022 to always fail with ENOSYS. Some functions are actually named
9023 something starting with __ and the normal name is an alias. */
9024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9025 choke me
9026 #else
9027 char (*f) () = $ac_func;
9028 #endif
9029 #ifdef __cplusplus
9031 #endif
9034 main ()
9036 return f != $ac_func;
9038 return 0;
9040 _ACEOF
9041 rm -f conftest.$ac_objext conftest$ac_exeext
9042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9043 (eval $ac_link) 2>conftest.er1
9044 ac_status=$?
9045 grep -v '^ *+' conftest.er1 >conftest.err
9046 rm -f conftest.er1
9047 cat conftest.err >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); } &&
9050 { ac_try='test -z "$ac_c_werror_flag"
9051 || test ! -s conftest.err'
9052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9053 (eval $ac_try) 2>&5
9054 ac_status=$?
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); }; } &&
9057 { ac_try='test -s conftest$ac_exeext'
9058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9059 (eval $ac_try) 2>&5
9060 ac_status=$?
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); }; }; then
9063 eval "$as_ac_var=yes"
9064 else
9065 echo "$as_me: failed program was:" >&5
9066 sed 's/^/| /' conftest.$ac_ext >&5
9068 eval "$as_ac_var=no"
9070 rm -f conftest.err conftest.$ac_objext \
9071 conftest$ac_exeext conftest.$ac_ext
9073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9075 if test `eval echo '${'$as_ac_var'}'` = yes; then
9076 cat >>confdefs.h <<_ACEOF
9077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9078 _ACEOF
9081 done
9083 else
9085 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9086 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9087 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9088 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9089 echo $ECHO_N "(cached) $ECHO_C" >&6
9090 else
9094 ac_ext=cc
9095 ac_cpp='$CXXCPP $CPPFLAGS'
9096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9100 cat >conftest.$ac_ext <<_ACEOF
9101 /* confdefs.h. */
9102 _ACEOF
9103 cat confdefs.h >>conftest.$ac_ext
9104 cat >>conftest.$ac_ext <<_ACEOF
9105 /* end confdefs.h. */
9106 #include <math.h>
9107 #ifdef HAVE_IEEEFP_H
9108 #include <ieeefp.h>
9109 #endif
9112 main ()
9114 _isnan(0);
9116 return 0;
9118 _ACEOF
9119 rm -f conftest.$ac_objext
9120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9121 (eval $ac_compile) 2>conftest.er1
9122 ac_status=$?
9123 grep -v '^ *+' conftest.er1 >conftest.err
9124 rm -f conftest.er1
9125 cat conftest.err >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } &&
9128 { ac_try='test -z "$ac_cxx_werror_flag"
9129 || test ! -s conftest.err'
9130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9131 (eval $ac_try) 2>&5
9132 ac_status=$?
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); }; } &&
9135 { ac_try='test -s conftest.$ac_objext'
9136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9137 (eval $ac_try) 2>&5
9138 ac_status=$?
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); }; }; then
9141 glibcxx_cv_func__isnan_use=yes
9142 else
9143 echo "$as_me: failed program was:" >&5
9144 sed 's/^/| /' conftest.$ac_ext >&5
9146 glibcxx_cv_func__isnan_use=no
9148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9149 ac_ext=c
9150 ac_cpp='$CPP $CPPFLAGS'
9151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9159 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9160 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9162 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9164 for ac_func in _isnan
9166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9167 echo "$as_me:$LINENO: checking for $ac_func" >&5
9168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9169 if eval "test \"\${$as_ac_var+set}\" = set"; then
9170 echo $ECHO_N "(cached) $ECHO_C" >&6
9171 else
9172 if test x$gcc_no_link = xyes; then
9173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9175 { (exit 1); exit 1; }; }
9177 cat >conftest.$ac_ext <<_ACEOF
9178 /* confdefs.h. */
9179 _ACEOF
9180 cat confdefs.h >>conftest.$ac_ext
9181 cat >>conftest.$ac_ext <<_ACEOF
9182 /* end confdefs.h. */
9183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9185 #define $ac_func innocuous_$ac_func
9187 /* System header to define __stub macros and hopefully few prototypes,
9188 which can conflict with char $ac_func (); below.
9189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9190 <limits.h> exists even on freestanding compilers. */
9192 #ifdef __STDC__
9193 # include <limits.h>
9194 #else
9195 # include <assert.h>
9196 #endif
9198 #undef $ac_func
9200 /* Override any gcc2 internal prototype to avoid an error. */
9201 #ifdef __cplusplus
9202 extern "C"
9204 #endif
9205 /* We use char because int might match the return type of a gcc2
9206 builtin and then its argument prototype would still apply. */
9207 char $ac_func ();
9208 /* The GNU C library defines this for functions which it implements
9209 to always fail with ENOSYS. Some functions are actually named
9210 something starting with __ and the normal name is an alias. */
9211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9212 choke me
9213 #else
9214 char (*f) () = $ac_func;
9215 #endif
9216 #ifdef __cplusplus
9218 #endif
9221 main ()
9223 return f != $ac_func;
9225 return 0;
9227 _ACEOF
9228 rm -f conftest.$ac_objext conftest$ac_exeext
9229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9230 (eval $ac_link) 2>conftest.er1
9231 ac_status=$?
9232 grep -v '^ *+' conftest.er1 >conftest.err
9233 rm -f conftest.er1
9234 cat conftest.err >&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); } &&
9237 { ac_try='test -z "$ac_c_werror_flag"
9238 || test ! -s conftest.err'
9239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9240 (eval $ac_try) 2>&5
9241 ac_status=$?
9242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243 (exit $ac_status); }; } &&
9244 { ac_try='test -s conftest$ac_exeext'
9245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9246 (eval $ac_try) 2>&5
9247 ac_status=$?
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); }; }; then
9250 eval "$as_ac_var=yes"
9251 else
9252 echo "$as_me: failed program was:" >&5
9253 sed 's/^/| /' conftest.$ac_ext >&5
9255 eval "$as_ac_var=no"
9257 rm -f conftest.err conftest.$ac_objext \
9258 conftest$ac_exeext conftest.$ac_ext
9260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9262 if test `eval echo '${'$as_ac_var'}'` = yes; then
9263 cat >>confdefs.h <<_ACEOF
9264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9265 _ACEOF
9268 done
9278 echo "$as_me:$LINENO: checking for finite declaration" >&5
9279 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9280 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9281 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9282 echo $ECHO_N "(cached) $ECHO_C" >&6
9283 else
9287 ac_ext=cc
9288 ac_cpp='$CXXCPP $CPPFLAGS'
9289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9293 cat >conftest.$ac_ext <<_ACEOF
9294 /* confdefs.h. */
9295 _ACEOF
9296 cat confdefs.h >>conftest.$ac_ext
9297 cat >>conftest.$ac_ext <<_ACEOF
9298 /* end confdefs.h. */
9299 #include <math.h>
9300 #ifdef HAVE_IEEEFP_H
9301 #include <ieeefp.h>
9302 #endif
9305 main ()
9307 finite(0);
9309 return 0;
9311 _ACEOF
9312 rm -f conftest.$ac_objext
9313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9314 (eval $ac_compile) 2>conftest.er1
9315 ac_status=$?
9316 grep -v '^ *+' conftest.er1 >conftest.err
9317 rm -f conftest.er1
9318 cat conftest.err >&5
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); } &&
9321 { ac_try='test -z "$ac_cxx_werror_flag"
9322 || test ! -s conftest.err'
9323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9324 (eval $ac_try) 2>&5
9325 ac_status=$?
9326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327 (exit $ac_status); }; } &&
9328 { ac_try='test -s conftest.$ac_objext'
9329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9330 (eval $ac_try) 2>&5
9331 ac_status=$?
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); }; }; then
9334 glibcxx_cv_func_finite_use=yes
9335 else
9336 echo "$as_me: failed program was:" >&5
9337 sed 's/^/| /' conftest.$ac_ext >&5
9339 glibcxx_cv_func_finite_use=no
9341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9342 ac_ext=c
9343 ac_cpp='$CPP $CPPFLAGS'
9344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9353 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9355 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9357 for ac_func in finite
9359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9360 echo "$as_me:$LINENO: checking for $ac_func" >&5
9361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9362 if eval "test \"\${$as_ac_var+set}\" = set"; then
9363 echo $ECHO_N "(cached) $ECHO_C" >&6
9364 else
9365 if test x$gcc_no_link = xyes; then
9366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9368 { (exit 1); exit 1; }; }
9370 cat >conftest.$ac_ext <<_ACEOF
9371 /* confdefs.h. */
9372 _ACEOF
9373 cat confdefs.h >>conftest.$ac_ext
9374 cat >>conftest.$ac_ext <<_ACEOF
9375 /* end confdefs.h. */
9376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9378 #define $ac_func innocuous_$ac_func
9380 /* System header to define __stub macros and hopefully few prototypes,
9381 which can conflict with char $ac_func (); below.
9382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9383 <limits.h> exists even on freestanding compilers. */
9385 #ifdef __STDC__
9386 # include <limits.h>
9387 #else
9388 # include <assert.h>
9389 #endif
9391 #undef $ac_func
9393 /* Override any gcc2 internal prototype to avoid an error. */
9394 #ifdef __cplusplus
9395 extern "C"
9397 #endif
9398 /* We use char because int might match the return type of a gcc2
9399 builtin and then its argument prototype would still apply. */
9400 char $ac_func ();
9401 /* The GNU C library defines this for functions which it implements
9402 to always fail with ENOSYS. Some functions are actually named
9403 something starting with __ and the normal name is an alias. */
9404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9405 choke me
9406 #else
9407 char (*f) () = $ac_func;
9408 #endif
9409 #ifdef __cplusplus
9411 #endif
9414 main ()
9416 return f != $ac_func;
9418 return 0;
9420 _ACEOF
9421 rm -f conftest.$ac_objext conftest$ac_exeext
9422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9423 (eval $ac_link) 2>conftest.er1
9424 ac_status=$?
9425 grep -v '^ *+' conftest.er1 >conftest.err
9426 rm -f conftest.er1
9427 cat conftest.err >&5
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429 (exit $ac_status); } &&
9430 { ac_try='test -z "$ac_c_werror_flag"
9431 || test ! -s conftest.err'
9432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9433 (eval $ac_try) 2>&5
9434 ac_status=$?
9435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436 (exit $ac_status); }; } &&
9437 { ac_try='test -s conftest$ac_exeext'
9438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9439 (eval $ac_try) 2>&5
9440 ac_status=$?
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); }; }; then
9443 eval "$as_ac_var=yes"
9444 else
9445 echo "$as_me: failed program was:" >&5
9446 sed 's/^/| /' conftest.$ac_ext >&5
9448 eval "$as_ac_var=no"
9450 rm -f conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9455 if test `eval echo '${'$as_ac_var'}'` = yes; then
9456 cat >>confdefs.h <<_ACEOF
9457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9458 _ACEOF
9461 done
9463 else
9465 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9466 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9467 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9468 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9469 echo $ECHO_N "(cached) $ECHO_C" >&6
9470 else
9474 ac_ext=cc
9475 ac_cpp='$CXXCPP $CPPFLAGS'
9476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9480 cat >conftest.$ac_ext <<_ACEOF
9481 /* confdefs.h. */
9482 _ACEOF
9483 cat confdefs.h >>conftest.$ac_ext
9484 cat >>conftest.$ac_ext <<_ACEOF
9485 /* end confdefs.h. */
9486 #include <math.h>
9487 #ifdef HAVE_IEEEFP_H
9488 #include <ieeefp.h>
9489 #endif
9492 main ()
9494 _finite(0);
9496 return 0;
9498 _ACEOF
9499 rm -f conftest.$ac_objext
9500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9501 (eval $ac_compile) 2>conftest.er1
9502 ac_status=$?
9503 grep -v '^ *+' conftest.er1 >conftest.err
9504 rm -f conftest.er1
9505 cat conftest.err >&5
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); } &&
9508 { ac_try='test -z "$ac_cxx_werror_flag"
9509 || test ! -s conftest.err'
9510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9511 (eval $ac_try) 2>&5
9512 ac_status=$?
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); }; } &&
9515 { ac_try='test -s conftest.$ac_objext'
9516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9517 (eval $ac_try) 2>&5
9518 ac_status=$?
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); }; }; then
9521 glibcxx_cv_func__finite_use=yes
9522 else
9523 echo "$as_me: failed program was:" >&5
9524 sed 's/^/| /' conftest.$ac_ext >&5
9526 glibcxx_cv_func__finite_use=no
9528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9529 ac_ext=c
9530 ac_cpp='$CPP $CPPFLAGS'
9531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9539 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9540 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9542 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9544 for ac_func in _finite
9546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9547 echo "$as_me:$LINENO: checking for $ac_func" >&5
9548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9549 if eval "test \"\${$as_ac_var+set}\" = set"; then
9550 echo $ECHO_N "(cached) $ECHO_C" >&6
9551 else
9552 if test x$gcc_no_link = xyes; then
9553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9555 { (exit 1); exit 1; }; }
9557 cat >conftest.$ac_ext <<_ACEOF
9558 /* confdefs.h. */
9559 _ACEOF
9560 cat confdefs.h >>conftest.$ac_ext
9561 cat >>conftest.$ac_ext <<_ACEOF
9562 /* end confdefs.h. */
9563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9565 #define $ac_func innocuous_$ac_func
9567 /* System header to define __stub macros and hopefully few prototypes,
9568 which can conflict with char $ac_func (); below.
9569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9570 <limits.h> exists even on freestanding compilers. */
9572 #ifdef __STDC__
9573 # include <limits.h>
9574 #else
9575 # include <assert.h>
9576 #endif
9578 #undef $ac_func
9580 /* Override any gcc2 internal prototype to avoid an error. */
9581 #ifdef __cplusplus
9582 extern "C"
9584 #endif
9585 /* We use char because int might match the return type of a gcc2
9586 builtin and then its argument prototype would still apply. */
9587 char $ac_func ();
9588 /* The GNU C library defines this for functions which it implements
9589 to always fail with ENOSYS. Some functions are actually named
9590 something starting with __ and the normal name is an alias. */
9591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9592 choke me
9593 #else
9594 char (*f) () = $ac_func;
9595 #endif
9596 #ifdef __cplusplus
9598 #endif
9601 main ()
9603 return f != $ac_func;
9605 return 0;
9607 _ACEOF
9608 rm -f conftest.$ac_objext conftest$ac_exeext
9609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9610 (eval $ac_link) 2>conftest.er1
9611 ac_status=$?
9612 grep -v '^ *+' conftest.er1 >conftest.err
9613 rm -f conftest.er1
9614 cat conftest.err >&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); } &&
9617 { ac_try='test -z "$ac_c_werror_flag"
9618 || test ! -s conftest.err'
9619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9620 (eval $ac_try) 2>&5
9621 ac_status=$?
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); }; } &&
9624 { ac_try='test -s conftest$ac_exeext'
9625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9626 (eval $ac_try) 2>&5
9627 ac_status=$?
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); }; }; then
9630 eval "$as_ac_var=yes"
9631 else
9632 echo "$as_me: failed program was:" >&5
9633 sed 's/^/| /' conftest.$ac_ext >&5
9635 eval "$as_ac_var=no"
9637 rm -f conftest.err conftest.$ac_objext \
9638 conftest$ac_exeext conftest.$ac_ext
9640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9642 if test `eval echo '${'$as_ac_var'}'` = yes; then
9643 cat >>confdefs.h <<_ACEOF
9644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9645 _ACEOF
9648 done
9658 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9659 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9660 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9661 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9662 echo $ECHO_N "(cached) $ECHO_C" >&6
9663 else
9667 ac_ext=cc
9668 ac_cpp='$CXXCPP $CPPFLAGS'
9669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9673 cat >conftest.$ac_ext <<_ACEOF
9674 /* confdefs.h. */
9675 _ACEOF
9676 cat confdefs.h >>conftest.$ac_ext
9677 cat >>conftest.$ac_ext <<_ACEOF
9678 /* end confdefs.h. */
9679 #include <math.h>
9681 main ()
9683 copysign(0, 0);
9685 return 0;
9687 _ACEOF
9688 rm -f conftest.$ac_objext
9689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9690 (eval $ac_compile) 2>conftest.er1
9691 ac_status=$?
9692 grep -v '^ *+' conftest.er1 >conftest.err
9693 rm -f conftest.er1
9694 cat conftest.err >&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); } &&
9697 { ac_try='test -z "$ac_cxx_werror_flag"
9698 || test ! -s conftest.err'
9699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9700 (eval $ac_try) 2>&5
9701 ac_status=$?
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); }; } &&
9704 { ac_try='test -s conftest.$ac_objext'
9705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706 (eval $ac_try) 2>&5
9707 ac_status=$?
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); }; }; then
9710 glibcxx_cv_func_copysign_use=yes
9711 else
9712 echo "$as_me: failed program was:" >&5
9713 sed 's/^/| /' conftest.$ac_ext >&5
9715 glibcxx_cv_func_copysign_use=no
9717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9718 ac_ext=c
9719 ac_cpp='$CPP $CPPFLAGS'
9720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9729 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9731 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9733 for ac_func in copysign
9735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9736 echo "$as_me:$LINENO: checking for $ac_func" >&5
9737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9738 if eval "test \"\${$as_ac_var+set}\" = set"; then
9739 echo $ECHO_N "(cached) $ECHO_C" >&6
9740 else
9741 if test x$gcc_no_link = xyes; then
9742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9744 { (exit 1); exit 1; }; }
9746 cat >conftest.$ac_ext <<_ACEOF
9747 /* confdefs.h. */
9748 _ACEOF
9749 cat confdefs.h >>conftest.$ac_ext
9750 cat >>conftest.$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9754 #define $ac_func innocuous_$ac_func
9756 /* System header to define __stub macros and hopefully few prototypes,
9757 which can conflict with char $ac_func (); below.
9758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9759 <limits.h> exists even on freestanding compilers. */
9761 #ifdef __STDC__
9762 # include <limits.h>
9763 #else
9764 # include <assert.h>
9765 #endif
9767 #undef $ac_func
9769 /* Override any gcc2 internal prototype to avoid an error. */
9770 #ifdef __cplusplus
9771 extern "C"
9773 #endif
9774 /* We use char because int might match the return type of a gcc2
9775 builtin and then its argument prototype would still apply. */
9776 char $ac_func ();
9777 /* The GNU C library defines this for functions which it implements
9778 to always fail with ENOSYS. Some functions are actually named
9779 something starting with __ and the normal name is an alias. */
9780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9781 choke me
9782 #else
9783 char (*f) () = $ac_func;
9784 #endif
9785 #ifdef __cplusplus
9787 #endif
9790 main ()
9792 return f != $ac_func;
9794 return 0;
9796 _ACEOF
9797 rm -f conftest.$ac_objext conftest$ac_exeext
9798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9799 (eval $ac_link) 2>conftest.er1
9800 ac_status=$?
9801 grep -v '^ *+' conftest.er1 >conftest.err
9802 rm -f conftest.er1
9803 cat conftest.err >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } &&
9806 { ac_try='test -z "$ac_c_werror_flag"
9807 || test ! -s conftest.err'
9808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9809 (eval $ac_try) 2>&5
9810 ac_status=$?
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 (exit $ac_status); }; } &&
9813 { ac_try='test -s conftest$ac_exeext'
9814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9815 (eval $ac_try) 2>&5
9816 ac_status=$?
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); }; }; then
9819 eval "$as_ac_var=yes"
9820 else
9821 echo "$as_me: failed program was:" >&5
9822 sed 's/^/| /' conftest.$ac_ext >&5
9824 eval "$as_ac_var=no"
9826 rm -f conftest.err conftest.$ac_objext \
9827 conftest$ac_exeext conftest.$ac_ext
9829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9831 if test `eval echo '${'$as_ac_var'}'` = yes; then
9832 cat >>confdefs.h <<_ACEOF
9833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9834 _ACEOF
9837 done
9839 else
9841 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9842 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9843 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9844 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9845 echo $ECHO_N "(cached) $ECHO_C" >&6
9846 else
9850 ac_ext=cc
9851 ac_cpp='$CXXCPP $CPPFLAGS'
9852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9856 cat >conftest.$ac_ext <<_ACEOF
9857 /* confdefs.h. */
9858 _ACEOF
9859 cat confdefs.h >>conftest.$ac_ext
9860 cat >>conftest.$ac_ext <<_ACEOF
9861 /* end confdefs.h. */
9862 #include <math.h>
9864 main ()
9866 _copysign(0, 0);
9868 return 0;
9870 _ACEOF
9871 rm -f conftest.$ac_objext
9872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9873 (eval $ac_compile) 2>conftest.er1
9874 ac_status=$?
9875 grep -v '^ *+' conftest.er1 >conftest.err
9876 rm -f conftest.er1
9877 cat conftest.err >&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); } &&
9880 { ac_try='test -z "$ac_cxx_werror_flag"
9881 || test ! -s conftest.err'
9882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9883 (eval $ac_try) 2>&5
9884 ac_status=$?
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); }; } &&
9887 { ac_try='test -s conftest.$ac_objext'
9888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9889 (eval $ac_try) 2>&5
9890 ac_status=$?
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); }; }; then
9893 glibcxx_cv_func__copysign_use=yes
9894 else
9895 echo "$as_me: failed program was:" >&5
9896 sed 's/^/| /' conftest.$ac_ext >&5
9898 glibcxx_cv_func__copysign_use=no
9900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9901 ac_ext=c
9902 ac_cpp='$CPP $CPPFLAGS'
9903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9912 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9914 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9916 for ac_func in _copysign
9918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9919 echo "$as_me:$LINENO: checking for $ac_func" >&5
9920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9921 if eval "test \"\${$as_ac_var+set}\" = set"; then
9922 echo $ECHO_N "(cached) $ECHO_C" >&6
9923 else
9924 if test x$gcc_no_link = xyes; then
9925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9927 { (exit 1); exit 1; }; }
9929 cat >conftest.$ac_ext <<_ACEOF
9930 /* confdefs.h. */
9931 _ACEOF
9932 cat confdefs.h >>conftest.$ac_ext
9933 cat >>conftest.$ac_ext <<_ACEOF
9934 /* end confdefs.h. */
9935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9937 #define $ac_func innocuous_$ac_func
9939 /* System header to define __stub macros and hopefully few prototypes,
9940 which can conflict with char $ac_func (); below.
9941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9942 <limits.h> exists even on freestanding compilers. */
9944 #ifdef __STDC__
9945 # include <limits.h>
9946 #else
9947 # include <assert.h>
9948 #endif
9950 #undef $ac_func
9952 /* Override any gcc2 internal prototype to avoid an error. */
9953 #ifdef __cplusplus
9954 extern "C"
9956 #endif
9957 /* We use char because int might match the return type of a gcc2
9958 builtin and then its argument prototype would still apply. */
9959 char $ac_func ();
9960 /* The GNU C library defines this for functions which it implements
9961 to always fail with ENOSYS. Some functions are actually named
9962 something starting with __ and the normal name is an alias. */
9963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9964 choke me
9965 #else
9966 char (*f) () = $ac_func;
9967 #endif
9968 #ifdef __cplusplus
9970 #endif
9973 main ()
9975 return f != $ac_func;
9977 return 0;
9979 _ACEOF
9980 rm -f conftest.$ac_objext conftest$ac_exeext
9981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9982 (eval $ac_link) 2>conftest.er1
9983 ac_status=$?
9984 grep -v '^ *+' conftest.er1 >conftest.err
9985 rm -f conftest.er1
9986 cat conftest.err >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); } &&
9989 { ac_try='test -z "$ac_c_werror_flag"
9990 || test ! -s conftest.err'
9991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9992 (eval $ac_try) 2>&5
9993 ac_status=$?
9994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 (exit $ac_status); }; } &&
9996 { ac_try='test -s conftest$ac_exeext'
9997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9998 (eval $ac_try) 2>&5
9999 ac_status=$?
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); }; }; then
10002 eval "$as_ac_var=yes"
10003 else
10004 echo "$as_me: failed program was:" >&5
10005 sed 's/^/| /' conftest.$ac_ext >&5
10007 eval "$as_ac_var=no"
10009 rm -f conftest.err conftest.$ac_objext \
10010 conftest$ac_exeext conftest.$ac_ext
10012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10014 if test `eval echo '${'$as_ac_var'}'` = yes; then
10015 cat >>confdefs.h <<_ACEOF
10016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10017 _ACEOF
10020 done
10030 echo "$as_me:$LINENO: checking for sincos declaration" >&5
10031 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10032 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10033 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10034 echo $ECHO_N "(cached) $ECHO_C" >&6
10035 else
10039 ac_ext=cc
10040 ac_cpp='$CXXCPP $CPPFLAGS'
10041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10045 cat >conftest.$ac_ext <<_ACEOF
10046 /* confdefs.h. */
10047 _ACEOF
10048 cat confdefs.h >>conftest.$ac_ext
10049 cat >>conftest.$ac_ext <<_ACEOF
10050 /* end confdefs.h. */
10051 #include <math.h>
10053 main ()
10055 sincos(0, 0, 0);
10057 return 0;
10059 _ACEOF
10060 rm -f conftest.$ac_objext
10061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10062 (eval $ac_compile) 2>conftest.er1
10063 ac_status=$?
10064 grep -v '^ *+' conftest.er1 >conftest.err
10065 rm -f conftest.er1
10066 cat conftest.err >&5
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); } &&
10069 { ac_try='test -z "$ac_cxx_werror_flag"
10070 || test ! -s conftest.err'
10071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10072 (eval $ac_try) 2>&5
10073 ac_status=$?
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); }; } &&
10076 { ac_try='test -s conftest.$ac_objext'
10077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10078 (eval $ac_try) 2>&5
10079 ac_status=$?
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); }; }; then
10082 glibcxx_cv_func_sincos_use=yes
10083 else
10084 echo "$as_me: failed program was:" >&5
10085 sed 's/^/| /' conftest.$ac_ext >&5
10087 glibcxx_cv_func_sincos_use=no
10089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10090 ac_ext=c
10091 ac_cpp='$CPP $CPPFLAGS'
10092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10100 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10101 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10103 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10105 for ac_func in sincos
10107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10108 echo "$as_me:$LINENO: checking for $ac_func" >&5
10109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10110 if eval "test \"\${$as_ac_var+set}\" = set"; then
10111 echo $ECHO_N "(cached) $ECHO_C" >&6
10112 else
10113 if test x$gcc_no_link = xyes; then
10114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10116 { (exit 1); exit 1; }; }
10118 cat >conftest.$ac_ext <<_ACEOF
10119 /* confdefs.h. */
10120 _ACEOF
10121 cat confdefs.h >>conftest.$ac_ext
10122 cat >>conftest.$ac_ext <<_ACEOF
10123 /* end confdefs.h. */
10124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10126 #define $ac_func innocuous_$ac_func
10128 /* System header to define __stub macros and hopefully few prototypes,
10129 which can conflict with char $ac_func (); below.
10130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10131 <limits.h> exists even on freestanding compilers. */
10133 #ifdef __STDC__
10134 # include <limits.h>
10135 #else
10136 # include <assert.h>
10137 #endif
10139 #undef $ac_func
10141 /* Override any gcc2 internal prototype to avoid an error. */
10142 #ifdef __cplusplus
10143 extern "C"
10145 #endif
10146 /* We use char because int might match the return type of a gcc2
10147 builtin and then its argument prototype would still apply. */
10148 char $ac_func ();
10149 /* The GNU C library defines this for functions which it implements
10150 to always fail with ENOSYS. Some functions are actually named
10151 something starting with __ and the normal name is an alias. */
10152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10153 choke me
10154 #else
10155 char (*f) () = $ac_func;
10156 #endif
10157 #ifdef __cplusplus
10159 #endif
10162 main ()
10164 return f != $ac_func;
10166 return 0;
10168 _ACEOF
10169 rm -f conftest.$ac_objext conftest$ac_exeext
10170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10171 (eval $ac_link) 2>conftest.er1
10172 ac_status=$?
10173 grep -v '^ *+' conftest.er1 >conftest.err
10174 rm -f conftest.er1
10175 cat conftest.err >&5
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); } &&
10178 { ac_try='test -z "$ac_c_werror_flag"
10179 || test ! -s conftest.err'
10180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10181 (eval $ac_try) 2>&5
10182 ac_status=$?
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); }; } &&
10185 { ac_try='test -s conftest$ac_exeext'
10186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10187 (eval $ac_try) 2>&5
10188 ac_status=$?
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; }; then
10191 eval "$as_ac_var=yes"
10192 else
10193 echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.$ac_ext >&5
10196 eval "$as_ac_var=no"
10198 rm -f conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10203 if test `eval echo '${'$as_ac_var'}'` = yes; then
10204 cat >>confdefs.h <<_ACEOF
10205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10206 _ACEOF
10209 done
10211 else
10213 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10214 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10215 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10216 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10217 echo $ECHO_N "(cached) $ECHO_C" >&6
10218 else
10222 ac_ext=cc
10223 ac_cpp='$CXXCPP $CPPFLAGS'
10224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10228 cat >conftest.$ac_ext <<_ACEOF
10229 /* confdefs.h. */
10230 _ACEOF
10231 cat confdefs.h >>conftest.$ac_ext
10232 cat >>conftest.$ac_ext <<_ACEOF
10233 /* end confdefs.h. */
10234 #include <math.h>
10236 main ()
10238 _sincos(0, 0, 0);
10240 return 0;
10242 _ACEOF
10243 rm -f conftest.$ac_objext
10244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10245 (eval $ac_compile) 2>conftest.er1
10246 ac_status=$?
10247 grep -v '^ *+' conftest.er1 >conftest.err
10248 rm -f conftest.er1
10249 cat conftest.err >&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); } &&
10252 { ac_try='test -z "$ac_cxx_werror_flag"
10253 || test ! -s conftest.err'
10254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255 (eval $ac_try) 2>&5
10256 ac_status=$?
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); }; } &&
10259 { ac_try='test -s conftest.$ac_objext'
10260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10261 (eval $ac_try) 2>&5
10262 ac_status=$?
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); }; }; then
10265 glibcxx_cv_func__sincos_use=yes
10266 else
10267 echo "$as_me: failed program was:" >&5
10268 sed 's/^/| /' conftest.$ac_ext >&5
10270 glibcxx_cv_func__sincos_use=no
10272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10273 ac_ext=c
10274 ac_cpp='$CPP $CPPFLAGS'
10275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10283 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10284 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10286 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10288 for ac_func in _sincos
10290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10291 echo "$as_me:$LINENO: checking for $ac_func" >&5
10292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10293 if eval "test \"\${$as_ac_var+set}\" = set"; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10295 else
10296 if test x$gcc_no_link = xyes; then
10297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10299 { (exit 1); exit 1; }; }
10301 cat >conftest.$ac_ext <<_ACEOF
10302 /* confdefs.h. */
10303 _ACEOF
10304 cat confdefs.h >>conftest.$ac_ext
10305 cat >>conftest.$ac_ext <<_ACEOF
10306 /* end confdefs.h. */
10307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10309 #define $ac_func innocuous_$ac_func
10311 /* System header to define __stub macros and hopefully few prototypes,
10312 which can conflict with char $ac_func (); below.
10313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10314 <limits.h> exists even on freestanding compilers. */
10316 #ifdef __STDC__
10317 # include <limits.h>
10318 #else
10319 # include <assert.h>
10320 #endif
10322 #undef $ac_func
10324 /* Override any gcc2 internal prototype to avoid an error. */
10325 #ifdef __cplusplus
10326 extern "C"
10328 #endif
10329 /* We use char because int might match the return type of a gcc2
10330 builtin and then its argument prototype would still apply. */
10331 char $ac_func ();
10332 /* The GNU C library defines this for functions which it implements
10333 to always fail with ENOSYS. Some functions are actually named
10334 something starting with __ and the normal name is an alias. */
10335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10336 choke me
10337 #else
10338 char (*f) () = $ac_func;
10339 #endif
10340 #ifdef __cplusplus
10342 #endif
10345 main ()
10347 return f != $ac_func;
10349 return 0;
10351 _ACEOF
10352 rm -f conftest.$ac_objext conftest$ac_exeext
10353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10354 (eval $ac_link) 2>conftest.er1
10355 ac_status=$?
10356 grep -v '^ *+' conftest.er1 >conftest.err
10357 rm -f conftest.er1
10358 cat conftest.err >&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); } &&
10361 { ac_try='test -z "$ac_c_werror_flag"
10362 || test ! -s conftest.err'
10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5
10365 ac_status=$?
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; } &&
10368 { ac_try='test -s conftest$ac_exeext'
10369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10370 (eval $ac_try) 2>&5
10371 ac_status=$?
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; }; then
10374 eval "$as_ac_var=yes"
10375 else
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.$ac_ext >&5
10379 eval "$as_ac_var=no"
10381 rm -f conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10386 if test `eval echo '${'$as_ac_var'}'` = yes; then
10387 cat >>confdefs.h <<_ACEOF
10388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10389 _ACEOF
10392 done
10402 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10403 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10404 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10405 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10406 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 else
10411 ac_ext=cc
10412 ac_cpp='$CXXCPP $CPPFLAGS'
10413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10417 cat >conftest.$ac_ext <<_ACEOF
10418 /* confdefs.h. */
10419 _ACEOF
10420 cat confdefs.h >>conftest.$ac_ext
10421 cat >>conftest.$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10423 #include <math.h>
10424 #ifdef HAVE_IEEEFP_H
10425 #include <ieeefp.h>
10426 #endif
10429 main ()
10431 fpclass(0);
10433 return 0;
10435 _ACEOF
10436 rm -f conftest.$ac_objext
10437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10438 (eval $ac_compile) 2>conftest.er1
10439 ac_status=$?
10440 grep -v '^ *+' conftest.er1 >conftest.err
10441 rm -f conftest.er1
10442 cat conftest.err >&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); } &&
10445 { ac_try='test -z "$ac_cxx_werror_flag"
10446 || test ! -s conftest.err'
10447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448 (eval $ac_try) 2>&5
10449 ac_status=$?
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; } &&
10452 { ac_try='test -s conftest.$ac_objext'
10453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10454 (eval $ac_try) 2>&5
10455 ac_status=$?
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); }; }; then
10458 glibcxx_cv_func_fpclass_use=yes
10459 else
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.$ac_ext >&5
10463 glibcxx_cv_func_fpclass_use=no
10465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10466 ac_ext=c
10467 ac_cpp='$CPP $CPPFLAGS'
10468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10476 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10477 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10479 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10481 for ac_func in fpclass
10483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10484 echo "$as_me:$LINENO: checking for $ac_func" >&5
10485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10486 if eval "test \"\${$as_ac_var+set}\" = set"; then
10487 echo $ECHO_N "(cached) $ECHO_C" >&6
10488 else
10489 if test x$gcc_no_link = xyes; then
10490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10492 { (exit 1); exit 1; }; }
10494 cat >conftest.$ac_ext <<_ACEOF
10495 /* confdefs.h. */
10496 _ACEOF
10497 cat confdefs.h >>conftest.$ac_ext
10498 cat >>conftest.$ac_ext <<_ACEOF
10499 /* end confdefs.h. */
10500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10502 #define $ac_func innocuous_$ac_func
10504 /* System header to define __stub macros and hopefully few prototypes,
10505 which can conflict with char $ac_func (); below.
10506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10507 <limits.h> exists even on freestanding compilers. */
10509 #ifdef __STDC__
10510 # include <limits.h>
10511 #else
10512 # include <assert.h>
10513 #endif
10515 #undef $ac_func
10517 /* Override any gcc2 internal prototype to avoid an error. */
10518 #ifdef __cplusplus
10519 extern "C"
10521 #endif
10522 /* We use char because int might match the return type of a gcc2
10523 builtin and then its argument prototype would still apply. */
10524 char $ac_func ();
10525 /* The GNU C library defines this for functions which it implements
10526 to always fail with ENOSYS. Some functions are actually named
10527 something starting with __ and the normal name is an alias. */
10528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10529 choke me
10530 #else
10531 char (*f) () = $ac_func;
10532 #endif
10533 #ifdef __cplusplus
10535 #endif
10538 main ()
10540 return f != $ac_func;
10542 return 0;
10544 _ACEOF
10545 rm -f conftest.$ac_objext conftest$ac_exeext
10546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10547 (eval $ac_link) 2>conftest.er1
10548 ac_status=$?
10549 grep -v '^ *+' conftest.er1 >conftest.err
10550 rm -f conftest.er1
10551 cat conftest.err >&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); } &&
10554 { ac_try='test -z "$ac_c_werror_flag"
10555 || test ! -s conftest.err'
10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557 (eval $ac_try) 2>&5
10558 ac_status=$?
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; } &&
10561 { ac_try='test -s conftest$ac_exeext'
10562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10563 (eval $ac_try) 2>&5
10564 ac_status=$?
10565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10566 (exit $ac_status); }; }; then
10567 eval "$as_ac_var=yes"
10568 else
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.$ac_ext >&5
10572 eval "$as_ac_var=no"
10574 rm -f conftest.err conftest.$ac_objext \
10575 conftest$ac_exeext conftest.$ac_ext
10577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10579 if test `eval echo '${'$as_ac_var'}'` = yes; then
10580 cat >>confdefs.h <<_ACEOF
10581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10582 _ACEOF
10585 done
10587 else
10589 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10590 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10591 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10592 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10593 echo $ECHO_N "(cached) $ECHO_C" >&6
10594 else
10598 ac_ext=cc
10599 ac_cpp='$CXXCPP $CPPFLAGS'
10600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10604 cat >conftest.$ac_ext <<_ACEOF
10605 /* confdefs.h. */
10606 _ACEOF
10607 cat confdefs.h >>conftest.$ac_ext
10608 cat >>conftest.$ac_ext <<_ACEOF
10609 /* end confdefs.h. */
10610 #include <math.h>
10611 #ifdef HAVE_IEEEFP_H
10612 #include <ieeefp.h>
10613 #endif
10616 main ()
10618 _fpclass(0);
10620 return 0;
10622 _ACEOF
10623 rm -f conftest.$ac_objext
10624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10625 (eval $ac_compile) 2>conftest.er1
10626 ac_status=$?
10627 grep -v '^ *+' conftest.er1 >conftest.err
10628 rm -f conftest.er1
10629 cat conftest.err >&5
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); } &&
10632 { ac_try='test -z "$ac_cxx_werror_flag"
10633 || test ! -s conftest.err'
10634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10635 (eval $ac_try) 2>&5
10636 ac_status=$?
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); }; } &&
10639 { ac_try='test -s conftest.$ac_objext'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10642 ac_status=$?
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; }; then
10645 glibcxx_cv_func__fpclass_use=yes
10646 else
10647 echo "$as_me: failed program was:" >&5
10648 sed 's/^/| /' conftest.$ac_ext >&5
10650 glibcxx_cv_func__fpclass_use=no
10652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10653 ac_ext=c
10654 ac_cpp='$CPP $CPPFLAGS'
10655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10663 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10664 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10666 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10668 for ac_func in _fpclass
10670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10671 echo "$as_me:$LINENO: checking for $ac_func" >&5
10672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10673 if eval "test \"\${$as_ac_var+set}\" = set"; then
10674 echo $ECHO_N "(cached) $ECHO_C" >&6
10675 else
10676 if test x$gcc_no_link = xyes; then
10677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10679 { (exit 1); exit 1; }; }
10681 cat >conftest.$ac_ext <<_ACEOF
10682 /* confdefs.h. */
10683 _ACEOF
10684 cat confdefs.h >>conftest.$ac_ext
10685 cat >>conftest.$ac_ext <<_ACEOF
10686 /* end confdefs.h. */
10687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10689 #define $ac_func innocuous_$ac_func
10691 /* System header to define __stub macros and hopefully few prototypes,
10692 which can conflict with char $ac_func (); below.
10693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10694 <limits.h> exists even on freestanding compilers. */
10696 #ifdef __STDC__
10697 # include <limits.h>
10698 #else
10699 # include <assert.h>
10700 #endif
10702 #undef $ac_func
10704 /* Override any gcc2 internal prototype to avoid an error. */
10705 #ifdef __cplusplus
10706 extern "C"
10708 #endif
10709 /* We use char because int might match the return type of a gcc2
10710 builtin and then its argument prototype would still apply. */
10711 char $ac_func ();
10712 /* The GNU C library defines this for functions which it implements
10713 to always fail with ENOSYS. Some functions are actually named
10714 something starting with __ and the normal name is an alias. */
10715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10716 choke me
10717 #else
10718 char (*f) () = $ac_func;
10719 #endif
10720 #ifdef __cplusplus
10722 #endif
10725 main ()
10727 return f != $ac_func;
10729 return 0;
10731 _ACEOF
10732 rm -f conftest.$ac_objext conftest$ac_exeext
10733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10734 (eval $ac_link) 2>conftest.er1
10735 ac_status=$?
10736 grep -v '^ *+' conftest.er1 >conftest.err
10737 rm -f conftest.er1
10738 cat conftest.err >&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); } &&
10741 { ac_try='test -z "$ac_c_werror_flag"
10742 || test ! -s conftest.err'
10743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10744 (eval $ac_try) 2>&5
10745 ac_status=$?
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); }; } &&
10748 { ac_try='test -s conftest$ac_exeext'
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5
10751 ac_status=$?
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; }; then
10754 eval "$as_ac_var=yes"
10755 else
10756 echo "$as_me: failed program was:" >&5
10757 sed 's/^/| /' conftest.$ac_ext >&5
10759 eval "$as_ac_var=no"
10761 rm -f conftest.err conftest.$ac_objext \
10762 conftest$ac_exeext conftest.$ac_ext
10764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10766 if test `eval echo '${'$as_ac_var'}'` = yes; then
10767 cat >>confdefs.h <<_ACEOF
10768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10769 _ACEOF
10772 done
10782 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10783 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10784 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10785 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10786 echo $ECHO_N "(cached) $ECHO_C" >&6
10787 else
10791 ac_ext=cc
10792 ac_cpp='$CXXCPP $CPPFLAGS'
10793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10797 cat >conftest.$ac_ext <<_ACEOF
10798 /* confdefs.h. */
10799 _ACEOF
10800 cat confdefs.h >>conftest.$ac_ext
10801 cat >>conftest.$ac_ext <<_ACEOF
10802 /* end confdefs.h. */
10803 #include <math.h>
10804 #ifdef HAVE_IEEEFP_H
10805 #include <ieeefp.h>
10806 #endif
10809 main ()
10811 qfpclass(0);
10813 return 0;
10815 _ACEOF
10816 rm -f conftest.$ac_objext
10817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10818 (eval $ac_compile) 2>conftest.er1
10819 ac_status=$?
10820 grep -v '^ *+' conftest.er1 >conftest.err
10821 rm -f conftest.er1
10822 cat conftest.err >&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); } &&
10825 { ac_try='test -z "$ac_cxx_werror_flag"
10826 || test ! -s conftest.err'
10827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10828 (eval $ac_try) 2>&5
10829 ac_status=$?
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); }; } &&
10832 { ac_try='test -s conftest.$ac_objext'
10833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10834 (eval $ac_try) 2>&5
10835 ac_status=$?
10836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837 (exit $ac_status); }; }; then
10838 glibcxx_cv_func_qfpclass_use=yes
10839 else
10840 echo "$as_me: failed program was:" >&5
10841 sed 's/^/| /' conftest.$ac_ext >&5
10843 glibcxx_cv_func_qfpclass_use=no
10845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10846 ac_ext=c
10847 ac_cpp='$CPP $CPPFLAGS'
10848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10856 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10857 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10859 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10861 for ac_func in qfpclass
10863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10864 echo "$as_me:$LINENO: checking for $ac_func" >&5
10865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10866 if eval "test \"\${$as_ac_var+set}\" = set"; then
10867 echo $ECHO_N "(cached) $ECHO_C" >&6
10868 else
10869 if test x$gcc_no_link = xyes; then
10870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10872 { (exit 1); exit 1; }; }
10874 cat >conftest.$ac_ext <<_ACEOF
10875 /* confdefs.h. */
10876 _ACEOF
10877 cat confdefs.h >>conftest.$ac_ext
10878 cat >>conftest.$ac_ext <<_ACEOF
10879 /* end confdefs.h. */
10880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10882 #define $ac_func innocuous_$ac_func
10884 /* System header to define __stub macros and hopefully few prototypes,
10885 which can conflict with char $ac_func (); below.
10886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10887 <limits.h> exists even on freestanding compilers. */
10889 #ifdef __STDC__
10890 # include <limits.h>
10891 #else
10892 # include <assert.h>
10893 #endif
10895 #undef $ac_func
10897 /* Override any gcc2 internal prototype to avoid an error. */
10898 #ifdef __cplusplus
10899 extern "C"
10901 #endif
10902 /* We use char because int might match the return type of a gcc2
10903 builtin and then its argument prototype would still apply. */
10904 char $ac_func ();
10905 /* The GNU C library defines this for functions which it implements
10906 to always fail with ENOSYS. Some functions are actually named
10907 something starting with __ and the normal name is an alias. */
10908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10909 choke me
10910 #else
10911 char (*f) () = $ac_func;
10912 #endif
10913 #ifdef __cplusplus
10915 #endif
10918 main ()
10920 return f != $ac_func;
10922 return 0;
10924 _ACEOF
10925 rm -f conftest.$ac_objext conftest$ac_exeext
10926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10927 (eval $ac_link) 2>conftest.er1
10928 ac_status=$?
10929 grep -v '^ *+' conftest.er1 >conftest.err
10930 rm -f conftest.er1
10931 cat conftest.err >&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } &&
10934 { ac_try='test -z "$ac_c_werror_flag"
10935 || test ! -s conftest.err'
10936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10937 (eval $ac_try) 2>&5
10938 ac_status=$?
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 (exit $ac_status); }; } &&
10941 { ac_try='test -s conftest$ac_exeext'
10942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10943 (eval $ac_try) 2>&5
10944 ac_status=$?
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }; }; then
10947 eval "$as_ac_var=yes"
10948 else
10949 echo "$as_me: failed program was:" >&5
10950 sed 's/^/| /' conftest.$ac_ext >&5
10952 eval "$as_ac_var=no"
10954 rm -f conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10959 if test `eval echo '${'$as_ac_var'}'` = yes; then
10960 cat >>confdefs.h <<_ACEOF
10961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10962 _ACEOF
10965 done
10967 else
10969 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10970 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10971 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10972 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10973 echo $ECHO_N "(cached) $ECHO_C" >&6
10974 else
10978 ac_ext=cc
10979 ac_cpp='$CXXCPP $CPPFLAGS'
10980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10984 cat >conftest.$ac_ext <<_ACEOF
10985 /* confdefs.h. */
10986 _ACEOF
10987 cat confdefs.h >>conftest.$ac_ext
10988 cat >>conftest.$ac_ext <<_ACEOF
10989 /* end confdefs.h. */
10990 #include <math.h>
10991 #ifdef HAVE_IEEEFP_H
10992 #include <ieeefp.h>
10993 #endif
10996 main ()
10998 _qfpclass(0);
11000 return 0;
11002 _ACEOF
11003 rm -f conftest.$ac_objext
11004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11005 (eval $ac_compile) 2>conftest.er1
11006 ac_status=$?
11007 grep -v '^ *+' conftest.er1 >conftest.err
11008 rm -f conftest.er1
11009 cat conftest.err >&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } &&
11012 { ac_try='test -z "$ac_cxx_werror_flag"
11013 || test ! -s conftest.err'
11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11016 ac_status=$?
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; } &&
11019 { ac_try='test -s conftest.$ac_objext'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11022 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then
11025 glibcxx_cv_func__qfpclass_use=yes
11026 else
11027 echo "$as_me: failed program was:" >&5
11028 sed 's/^/| /' conftest.$ac_ext >&5
11030 glibcxx_cv_func__qfpclass_use=no
11032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11033 ac_ext=c
11034 ac_cpp='$CPP $CPPFLAGS'
11035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11043 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11044 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11046 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11048 for ac_func in _qfpclass
11050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11051 echo "$as_me:$LINENO: checking for $ac_func" >&5
11052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11053 if eval "test \"\${$as_ac_var+set}\" = set"; then
11054 echo $ECHO_N "(cached) $ECHO_C" >&6
11055 else
11056 if test x$gcc_no_link = xyes; then
11057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11059 { (exit 1); exit 1; }; }
11061 cat >conftest.$ac_ext <<_ACEOF
11062 /* confdefs.h. */
11063 _ACEOF
11064 cat confdefs.h >>conftest.$ac_ext
11065 cat >>conftest.$ac_ext <<_ACEOF
11066 /* end confdefs.h. */
11067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11069 #define $ac_func innocuous_$ac_func
11071 /* System header to define __stub macros and hopefully few prototypes,
11072 which can conflict with char $ac_func (); below.
11073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11074 <limits.h> exists even on freestanding compilers. */
11076 #ifdef __STDC__
11077 # include <limits.h>
11078 #else
11079 # include <assert.h>
11080 #endif
11082 #undef $ac_func
11084 /* Override any gcc2 internal prototype to avoid an error. */
11085 #ifdef __cplusplus
11086 extern "C"
11088 #endif
11089 /* We use char because int might match the return type of a gcc2
11090 builtin and then its argument prototype would still apply. */
11091 char $ac_func ();
11092 /* The GNU C library defines this for functions which it implements
11093 to always fail with ENOSYS. Some functions are actually named
11094 something starting with __ and the normal name is an alias. */
11095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11096 choke me
11097 #else
11098 char (*f) () = $ac_func;
11099 #endif
11100 #ifdef __cplusplus
11102 #endif
11105 main ()
11107 return f != $ac_func;
11109 return 0;
11111 _ACEOF
11112 rm -f conftest.$ac_objext conftest$ac_exeext
11113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11114 (eval $ac_link) 2>conftest.er1
11115 ac_status=$?
11116 grep -v '^ *+' conftest.er1 >conftest.err
11117 rm -f conftest.er1
11118 cat conftest.err >&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); } &&
11121 { ac_try='test -z "$ac_c_werror_flag"
11122 || test ! -s conftest.err'
11123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11124 (eval $ac_try) 2>&5
11125 ac_status=$?
11126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11127 (exit $ac_status); }; } &&
11128 { ac_try='test -s conftest$ac_exeext'
11129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11130 (eval $ac_try) 2>&5
11131 ac_status=$?
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); }; }; then
11134 eval "$as_ac_var=yes"
11135 else
11136 echo "$as_me: failed program was:" >&5
11137 sed 's/^/| /' conftest.$ac_ext >&5
11139 eval "$as_ac_var=no"
11141 rm -f conftest.err conftest.$ac_objext \
11142 conftest$ac_exeext conftest.$ac_ext
11144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11146 if test `eval echo '${'$as_ac_var'}'` = yes; then
11147 cat >>confdefs.h <<_ACEOF
11148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11149 _ACEOF
11152 done
11162 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11163 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11164 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11165 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6
11167 else
11171 ac_ext=cc
11172 ac_cpp='$CXXCPP $CPPFLAGS'
11173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11177 cat >conftest.$ac_ext <<_ACEOF
11178 /* confdefs.h. */
11179 _ACEOF
11180 cat confdefs.h >>conftest.$ac_ext
11181 cat >>conftest.$ac_ext <<_ACEOF
11182 /* end confdefs.h. */
11183 #include <math.h>
11185 main ()
11187 hypot(0, 0);
11189 return 0;
11191 _ACEOF
11192 rm -f conftest.$ac_objext
11193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11194 (eval $ac_compile) 2>conftest.er1
11195 ac_status=$?
11196 grep -v '^ *+' conftest.er1 >conftest.err
11197 rm -f conftest.er1
11198 cat conftest.err >&5
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); } &&
11201 { ac_try='test -z "$ac_cxx_werror_flag"
11202 || test ! -s conftest.err'
11203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11204 (eval $ac_try) 2>&5
11205 ac_status=$?
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); }; } &&
11208 { ac_try='test -s conftest.$ac_objext'
11209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11210 (eval $ac_try) 2>&5
11211 ac_status=$?
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); }; }; then
11214 glibcxx_cv_func_hypot_use=yes
11215 else
11216 echo "$as_me: failed program was:" >&5
11217 sed 's/^/| /' conftest.$ac_ext >&5
11219 glibcxx_cv_func_hypot_use=no
11221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11222 ac_ext=c
11223 ac_cpp='$CPP $CPPFLAGS'
11224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11232 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11233 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11235 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11237 for ac_func in hypot
11239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11240 echo "$as_me:$LINENO: checking for $ac_func" >&5
11241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11242 if eval "test \"\${$as_ac_var+set}\" = set"; then
11243 echo $ECHO_N "(cached) $ECHO_C" >&6
11244 else
11245 if test x$gcc_no_link = xyes; then
11246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11248 { (exit 1); exit 1; }; }
11250 cat >conftest.$ac_ext <<_ACEOF
11251 /* confdefs.h. */
11252 _ACEOF
11253 cat confdefs.h >>conftest.$ac_ext
11254 cat >>conftest.$ac_ext <<_ACEOF
11255 /* end confdefs.h. */
11256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11258 #define $ac_func innocuous_$ac_func
11260 /* System header to define __stub macros and hopefully few prototypes,
11261 which can conflict with char $ac_func (); below.
11262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11263 <limits.h> exists even on freestanding compilers. */
11265 #ifdef __STDC__
11266 # include <limits.h>
11267 #else
11268 # include <assert.h>
11269 #endif
11271 #undef $ac_func
11273 /* Override any gcc2 internal prototype to avoid an error. */
11274 #ifdef __cplusplus
11275 extern "C"
11277 #endif
11278 /* We use char because int might match the return type of a gcc2
11279 builtin and then its argument prototype would still apply. */
11280 char $ac_func ();
11281 /* The GNU C library defines this for functions which it implements
11282 to always fail with ENOSYS. Some functions are actually named
11283 something starting with __ and the normal name is an alias. */
11284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11285 choke me
11286 #else
11287 char (*f) () = $ac_func;
11288 #endif
11289 #ifdef __cplusplus
11291 #endif
11294 main ()
11296 return f != $ac_func;
11298 return 0;
11300 _ACEOF
11301 rm -f conftest.$ac_objext conftest$ac_exeext
11302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11303 (eval $ac_link) 2>conftest.er1
11304 ac_status=$?
11305 grep -v '^ *+' conftest.er1 >conftest.err
11306 rm -f conftest.er1
11307 cat conftest.err >&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } &&
11310 { ac_try='test -z "$ac_c_werror_flag"
11311 || test ! -s conftest.err'
11312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313 (eval $ac_try) 2>&5
11314 ac_status=$?
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); }; } &&
11317 { ac_try='test -s conftest$ac_exeext'
11318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11319 (eval $ac_try) 2>&5
11320 ac_status=$?
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; }; then
11323 eval "$as_ac_var=yes"
11324 else
11325 echo "$as_me: failed program was:" >&5
11326 sed 's/^/| /' conftest.$ac_ext >&5
11328 eval "$as_ac_var=no"
11330 rm -f conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11335 if test `eval echo '${'$as_ac_var'}'` = yes; then
11336 cat >>confdefs.h <<_ACEOF
11337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11338 _ACEOF
11341 done
11343 else
11345 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11346 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11347 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11348 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11349 echo $ECHO_N "(cached) $ECHO_C" >&6
11350 else
11354 ac_ext=cc
11355 ac_cpp='$CXXCPP $CPPFLAGS'
11356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11360 cat >conftest.$ac_ext <<_ACEOF
11361 /* confdefs.h. */
11362 _ACEOF
11363 cat confdefs.h >>conftest.$ac_ext
11364 cat >>conftest.$ac_ext <<_ACEOF
11365 /* end confdefs.h. */
11366 #include <math.h>
11368 main ()
11370 _hypot(0, 0);
11372 return 0;
11374 _ACEOF
11375 rm -f conftest.$ac_objext
11376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11377 (eval $ac_compile) 2>conftest.er1
11378 ac_status=$?
11379 grep -v '^ *+' conftest.er1 >conftest.err
11380 rm -f conftest.er1
11381 cat conftest.err >&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); } &&
11384 { ac_try='test -z "$ac_cxx_werror_flag"
11385 || test ! -s conftest.err'
11386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11387 (eval $ac_try) 2>&5
11388 ac_status=$?
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); }; } &&
11391 { ac_try='test -s conftest.$ac_objext'
11392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11393 (eval $ac_try) 2>&5
11394 ac_status=$?
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); }; }; then
11397 glibcxx_cv_func__hypot_use=yes
11398 else
11399 echo "$as_me: failed program was:" >&5
11400 sed 's/^/| /' conftest.$ac_ext >&5
11402 glibcxx_cv_func__hypot_use=no
11404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11405 ac_ext=c
11406 ac_cpp='$CPP $CPPFLAGS'
11407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11415 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11416 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11418 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11420 for ac_func in _hypot
11422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11423 echo "$as_me:$LINENO: checking for $ac_func" >&5
11424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11425 if eval "test \"\${$as_ac_var+set}\" = set"; then
11426 echo $ECHO_N "(cached) $ECHO_C" >&6
11427 else
11428 if test x$gcc_no_link = xyes; then
11429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11431 { (exit 1); exit 1; }; }
11433 cat >conftest.$ac_ext <<_ACEOF
11434 /* confdefs.h. */
11435 _ACEOF
11436 cat confdefs.h >>conftest.$ac_ext
11437 cat >>conftest.$ac_ext <<_ACEOF
11438 /* end confdefs.h. */
11439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11441 #define $ac_func innocuous_$ac_func
11443 /* System header to define __stub macros and hopefully few prototypes,
11444 which can conflict with char $ac_func (); below.
11445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11446 <limits.h> exists even on freestanding compilers. */
11448 #ifdef __STDC__
11449 # include <limits.h>
11450 #else
11451 # include <assert.h>
11452 #endif
11454 #undef $ac_func
11456 /* Override any gcc2 internal prototype to avoid an error. */
11457 #ifdef __cplusplus
11458 extern "C"
11460 #endif
11461 /* We use char because int might match the return type of a gcc2
11462 builtin and then its argument prototype would still apply. */
11463 char $ac_func ();
11464 /* The GNU C library defines this for functions which it implements
11465 to always fail with ENOSYS. Some functions are actually named
11466 something starting with __ and the normal name is an alias. */
11467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11468 choke me
11469 #else
11470 char (*f) () = $ac_func;
11471 #endif
11472 #ifdef __cplusplus
11474 #endif
11477 main ()
11479 return f != $ac_func;
11481 return 0;
11483 _ACEOF
11484 rm -f conftest.$ac_objext conftest$ac_exeext
11485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11486 (eval $ac_link) 2>conftest.er1
11487 ac_status=$?
11488 grep -v '^ *+' conftest.er1 >conftest.err
11489 rm -f conftest.er1
11490 cat conftest.err >&5
11491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492 (exit $ac_status); } &&
11493 { ac_try='test -z "$ac_c_werror_flag"
11494 || test ! -s conftest.err'
11495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11496 (eval $ac_try) 2>&5
11497 ac_status=$?
11498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499 (exit $ac_status); }; } &&
11500 { ac_try='test -s conftest$ac_exeext'
11501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11502 (eval $ac_try) 2>&5
11503 ac_status=$?
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); }; }; then
11506 eval "$as_ac_var=yes"
11507 else
11508 echo "$as_me: failed program was:" >&5
11509 sed 's/^/| /' conftest.$ac_ext >&5
11511 eval "$as_ac_var=no"
11513 rm -f conftest.err conftest.$ac_objext \
11514 conftest$ac_exeext conftest.$ac_ext
11516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11518 if test `eval echo '${'$as_ac_var'}'` = yes; then
11519 cat >>confdefs.h <<_ACEOF
11520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11521 _ACEOF
11524 done
11534 echo "$as_me:$LINENO: checking for float trig functions" >&5
11535 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11536 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11538 else
11542 ac_ext=cc
11543 ac_cpp='$CXXCPP $CPPFLAGS'
11544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11548 cat >conftest.$ac_ext <<_ACEOF
11549 /* confdefs.h. */
11550 _ACEOF
11551 cat confdefs.h >>conftest.$ac_ext
11552 cat >>conftest.$ac_ext <<_ACEOF
11553 /* end confdefs.h. */
11554 #include <math.h>
11556 main ()
11558 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11560 return 0;
11562 _ACEOF
11563 rm -f conftest.$ac_objext
11564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11565 (eval $ac_compile) 2>conftest.er1
11566 ac_status=$?
11567 grep -v '^ *+' conftest.er1 >conftest.err
11568 rm -f conftest.er1
11569 cat conftest.err >&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); } &&
11572 { ac_try='test -z "$ac_cxx_werror_flag"
11573 || test ! -s conftest.err'
11574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11575 (eval $ac_try) 2>&5
11576 ac_status=$?
11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); }; } &&
11579 { ac_try='test -s conftest.$ac_objext'
11580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11581 (eval $ac_try) 2>&5
11582 ac_status=$?
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); }; }; then
11585 glibcxx_cv_func_float_trig_use=yes
11586 else
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.$ac_ext >&5
11590 glibcxx_cv_func_float_trig_use=no
11592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11593 ac_ext=c
11594 ac_cpp='$CPP $CPPFLAGS'
11595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11601 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11602 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11603 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11613 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11616 echo "$as_me:$LINENO: checking for $ac_func" >&5
11617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11618 if eval "test \"\${$as_ac_var+set}\" = set"; then
11619 echo $ECHO_N "(cached) $ECHO_C" >&6
11620 else
11621 if test x$gcc_no_link = xyes; then
11622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11624 { (exit 1); exit 1; }; }
11626 cat >conftest.$ac_ext <<_ACEOF
11627 /* confdefs.h. */
11628 _ACEOF
11629 cat confdefs.h >>conftest.$ac_ext
11630 cat >>conftest.$ac_ext <<_ACEOF
11631 /* end confdefs.h. */
11632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11634 #define $ac_func innocuous_$ac_func
11636 /* System header to define __stub macros and hopefully few prototypes,
11637 which can conflict with char $ac_func (); below.
11638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11639 <limits.h> exists even on freestanding compilers. */
11641 #ifdef __STDC__
11642 # include <limits.h>
11643 #else
11644 # include <assert.h>
11645 #endif
11647 #undef $ac_func
11649 /* Override any gcc2 internal prototype to avoid an error. */
11650 #ifdef __cplusplus
11651 extern "C"
11653 #endif
11654 /* We use char because int might match the return type of a gcc2
11655 builtin and then its argument prototype would still apply. */
11656 char $ac_func ();
11657 /* The GNU C library defines this for functions which it implements
11658 to always fail with ENOSYS. Some functions are actually named
11659 something starting with __ and the normal name is an alias. */
11660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11661 choke me
11662 #else
11663 char (*f) () = $ac_func;
11664 #endif
11665 #ifdef __cplusplus
11667 #endif
11670 main ()
11672 return f != $ac_func;
11674 return 0;
11676 _ACEOF
11677 rm -f conftest.$ac_objext conftest$ac_exeext
11678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11679 (eval $ac_link) 2>conftest.er1
11680 ac_status=$?
11681 grep -v '^ *+' conftest.er1 >conftest.err
11682 rm -f conftest.er1
11683 cat conftest.err >&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); } &&
11686 { ac_try='test -z "$ac_c_werror_flag"
11687 || test ! -s conftest.err'
11688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11689 (eval $ac_try) 2>&5
11690 ac_status=$?
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); }; } &&
11693 { ac_try='test -s conftest$ac_exeext'
11694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11695 (eval $ac_try) 2>&5
11696 ac_status=$?
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); }; }; then
11699 eval "$as_ac_var=yes"
11700 else
11701 echo "$as_me: failed program was:" >&5
11702 sed 's/^/| /' conftest.$ac_ext >&5
11704 eval "$as_ac_var=no"
11706 rm -f conftest.err conftest.$ac_objext \
11707 conftest$ac_exeext conftest.$ac_ext
11709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11711 if test `eval echo '${'$as_ac_var'}'` = yes; then
11712 cat >>confdefs.h <<_ACEOF
11713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11714 _ACEOF
11717 done
11719 else
11720 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11721 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11722 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11723 echo $ECHO_N "(cached) $ECHO_C" >&6
11724 else
11728 ac_ext=cc
11729 ac_cpp='$CXXCPP $CPPFLAGS'
11730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11734 cat >conftest.$ac_ext <<_ACEOF
11735 /* confdefs.h. */
11736 _ACEOF
11737 cat confdefs.h >>conftest.$ac_ext
11738 cat >>conftest.$ac_ext <<_ACEOF
11739 /* end confdefs.h. */
11740 #include <math.h>
11742 main ()
11744 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11746 return 0;
11748 _ACEOF
11749 rm -f conftest.$ac_objext
11750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11751 (eval $ac_compile) 2>conftest.er1
11752 ac_status=$?
11753 grep -v '^ *+' conftest.er1 >conftest.err
11754 rm -f conftest.er1
11755 cat conftest.err >&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); } &&
11758 { ac_try='test -z "$ac_cxx_werror_flag"
11759 || test ! -s conftest.err'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11762 ac_status=$?
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try='test -s conftest.$ac_objext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11768 ac_status=$?
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 glibcxx_cv_func__float_trig_use=yes
11772 else
11773 echo "$as_me: failed program was:" >&5
11774 sed 's/^/| /' conftest.$ac_ext >&5
11776 glibcxx_cv_func__float_trig_use=no
11778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11779 ac_ext=c
11780 ac_cpp='$CPP $CPPFLAGS'
11781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11787 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11788 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11789 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11799 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11802 echo "$as_me:$LINENO: checking for $ac_func" >&5
11803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11804 if eval "test \"\${$as_ac_var+set}\" = set"; then
11805 echo $ECHO_N "(cached) $ECHO_C" >&6
11806 else
11807 if test x$gcc_no_link = xyes; then
11808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11810 { (exit 1); exit 1; }; }
11812 cat >conftest.$ac_ext <<_ACEOF
11813 /* confdefs.h. */
11814 _ACEOF
11815 cat confdefs.h >>conftest.$ac_ext
11816 cat >>conftest.$ac_ext <<_ACEOF
11817 /* end confdefs.h. */
11818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11820 #define $ac_func innocuous_$ac_func
11822 /* System header to define __stub macros and hopefully few prototypes,
11823 which can conflict with char $ac_func (); below.
11824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11825 <limits.h> exists even on freestanding compilers. */
11827 #ifdef __STDC__
11828 # include <limits.h>
11829 #else
11830 # include <assert.h>
11831 #endif
11833 #undef $ac_func
11835 /* Override any gcc2 internal prototype to avoid an error. */
11836 #ifdef __cplusplus
11837 extern "C"
11839 #endif
11840 /* We use char because int might match the return type of a gcc2
11841 builtin and then its argument prototype would still apply. */
11842 char $ac_func ();
11843 /* The GNU C library defines this for functions which it implements
11844 to always fail with ENOSYS. Some functions are actually named
11845 something starting with __ and the normal name is an alias. */
11846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11847 choke me
11848 #else
11849 char (*f) () = $ac_func;
11850 #endif
11851 #ifdef __cplusplus
11853 #endif
11856 main ()
11858 return f != $ac_func;
11860 return 0;
11862 _ACEOF
11863 rm -f conftest.$ac_objext conftest$ac_exeext
11864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11865 (eval $ac_link) 2>conftest.er1
11866 ac_status=$?
11867 grep -v '^ *+' conftest.er1 >conftest.err
11868 rm -f conftest.er1
11869 cat conftest.err >&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); } &&
11872 { ac_try='test -z "$ac_c_werror_flag"
11873 || test ! -s conftest.err'
11874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11875 (eval $ac_try) 2>&5
11876 ac_status=$?
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); }; } &&
11879 { ac_try='test -s conftest$ac_exeext'
11880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11881 (eval $ac_try) 2>&5
11882 ac_status=$?
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); }; }; then
11885 eval "$as_ac_var=yes"
11886 else
11887 echo "$as_me: failed program was:" >&5
11888 sed 's/^/| /' conftest.$ac_ext >&5
11890 eval "$as_ac_var=no"
11892 rm -f conftest.err conftest.$ac_objext \
11893 conftest$ac_exeext conftest.$ac_ext
11895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11897 if test `eval echo '${'$as_ac_var'}'` = yes; then
11898 cat >>confdefs.h <<_ACEOF
11899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11900 _ACEOF
11903 done
11921 echo "$as_me:$LINENO: checking for float round functions" >&5
11922 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11923 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 else
11929 ac_ext=cc
11930 ac_cpp='$CXXCPP $CPPFLAGS'
11931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11935 cat >conftest.$ac_ext <<_ACEOF
11936 /* confdefs.h. */
11937 _ACEOF
11938 cat confdefs.h >>conftest.$ac_ext
11939 cat >>conftest.$ac_ext <<_ACEOF
11940 /* end confdefs.h. */
11941 #include <math.h>
11943 main ()
11945 ceilf (0); floorf (0);
11947 return 0;
11949 _ACEOF
11950 rm -f conftest.$ac_objext
11951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11952 (eval $ac_compile) 2>conftest.er1
11953 ac_status=$?
11954 grep -v '^ *+' conftest.er1 >conftest.err
11955 rm -f conftest.er1
11956 cat conftest.err >&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); } &&
11959 { ac_try='test -z "$ac_cxx_werror_flag"
11960 || test ! -s conftest.err'
11961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962 (eval $ac_try) 2>&5
11963 ac_status=$?
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; } &&
11966 { ac_try='test -s conftest.$ac_objext'
11967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11968 (eval $ac_try) 2>&5
11969 ac_status=$?
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); }; }; then
11972 glibcxx_cv_func_float_round_use=yes
11973 else
11974 echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.$ac_ext >&5
11977 glibcxx_cv_func_float_round_use=no
11979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11980 ac_ext=c
11981 ac_cpp='$CPP $CPPFLAGS'
11982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11988 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11989 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11990 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11993 for ac_func in ceilf floorf
11995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11996 echo "$as_me:$LINENO: checking for $ac_func" >&5
11997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11998 if eval "test \"\${$as_ac_var+set}\" = set"; then
11999 echo $ECHO_N "(cached) $ECHO_C" >&6
12000 else
12001 if test x$gcc_no_link = xyes; then
12002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12004 { (exit 1); exit 1; }; }
12006 cat >conftest.$ac_ext <<_ACEOF
12007 /* confdefs.h. */
12008 _ACEOF
12009 cat confdefs.h >>conftest.$ac_ext
12010 cat >>conftest.$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12014 #define $ac_func innocuous_$ac_func
12016 /* System header to define __stub macros and hopefully few prototypes,
12017 which can conflict with char $ac_func (); below.
12018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12019 <limits.h> exists even on freestanding compilers. */
12021 #ifdef __STDC__
12022 # include <limits.h>
12023 #else
12024 # include <assert.h>
12025 #endif
12027 #undef $ac_func
12029 /* Override any gcc2 internal prototype to avoid an error. */
12030 #ifdef __cplusplus
12031 extern "C"
12033 #endif
12034 /* We use char because int might match the return type of a gcc2
12035 builtin and then its argument prototype would still apply. */
12036 char $ac_func ();
12037 /* The GNU C library defines this for functions which it implements
12038 to always fail with ENOSYS. Some functions are actually named
12039 something starting with __ and the normal name is an alias. */
12040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12041 choke me
12042 #else
12043 char (*f) () = $ac_func;
12044 #endif
12045 #ifdef __cplusplus
12047 #endif
12050 main ()
12052 return f != $ac_func;
12054 return 0;
12056 _ACEOF
12057 rm -f conftest.$ac_objext conftest$ac_exeext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12059 (eval $ac_link) 2>conftest.er1
12060 ac_status=$?
12061 grep -v '^ *+' conftest.er1 >conftest.err
12062 rm -f conftest.er1
12063 cat conftest.err >&5
12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065 (exit $ac_status); } &&
12066 { ac_try='test -z "$ac_c_werror_flag"
12067 || test ! -s conftest.err'
12068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069 (eval $ac_try) 2>&5
12070 ac_status=$?
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; } &&
12073 { ac_try='test -s conftest$ac_exeext'
12074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075 (eval $ac_try) 2>&5
12076 ac_status=$?
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); }; }; then
12079 eval "$as_ac_var=yes"
12080 else
12081 echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.$ac_ext >&5
12084 eval "$as_ac_var=no"
12086 rm -f conftest.err conftest.$ac_objext \
12087 conftest$ac_exeext conftest.$ac_ext
12089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12091 if test `eval echo '${'$as_ac_var'}'` = yes; then
12092 cat >>confdefs.h <<_ACEOF
12093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12094 _ACEOF
12097 done
12099 else
12100 echo "$as_me:$LINENO: checking for _float round functions" >&5
12101 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12102 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 else
12108 ac_ext=cc
12109 ac_cpp='$CXXCPP $CPPFLAGS'
12110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12114 cat >conftest.$ac_ext <<_ACEOF
12115 /* confdefs.h. */
12116 _ACEOF
12117 cat confdefs.h >>conftest.$ac_ext
12118 cat >>conftest.$ac_ext <<_ACEOF
12119 /* end confdefs.h. */
12120 #include <math.h>
12122 main ()
12124 _ceilf (0); _floorf (0);
12126 return 0;
12128 _ACEOF
12129 rm -f conftest.$ac_objext
12130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12131 (eval $ac_compile) 2>conftest.er1
12132 ac_status=$?
12133 grep -v '^ *+' conftest.er1 >conftest.err
12134 rm -f conftest.er1
12135 cat conftest.err >&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); } &&
12138 { ac_try='test -z "$ac_cxx_werror_flag"
12139 || test ! -s conftest.err'
12140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12141 (eval $ac_try) 2>&5
12142 ac_status=$?
12143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12144 (exit $ac_status); }; } &&
12145 { ac_try='test -s conftest.$ac_objext'
12146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12147 (eval $ac_try) 2>&5
12148 ac_status=$?
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); }; }; then
12151 glibcxx_cv_func__float_round_use=yes
12152 else
12153 echo "$as_me: failed program was:" >&5
12154 sed 's/^/| /' conftest.$ac_ext >&5
12156 glibcxx_cv_func__float_round_use=no
12158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12159 ac_ext=c
12160 ac_cpp='$CPP $CPPFLAGS'
12161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12167 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12168 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12169 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12172 for ac_func in _ceilf _floorf
12174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12175 echo "$as_me:$LINENO: checking for $ac_func" >&5
12176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12177 if eval "test \"\${$as_ac_var+set}\" = set"; then
12178 echo $ECHO_N "(cached) $ECHO_C" >&6
12179 else
12180 if test x$gcc_no_link = xyes; then
12181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12183 { (exit 1); exit 1; }; }
12185 cat >conftest.$ac_ext <<_ACEOF
12186 /* confdefs.h. */
12187 _ACEOF
12188 cat confdefs.h >>conftest.$ac_ext
12189 cat >>conftest.$ac_ext <<_ACEOF
12190 /* end confdefs.h. */
12191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12193 #define $ac_func innocuous_$ac_func
12195 /* System header to define __stub macros and hopefully few prototypes,
12196 which can conflict with char $ac_func (); below.
12197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12198 <limits.h> exists even on freestanding compilers. */
12200 #ifdef __STDC__
12201 # include <limits.h>
12202 #else
12203 # include <assert.h>
12204 #endif
12206 #undef $ac_func
12208 /* Override any gcc2 internal prototype to avoid an error. */
12209 #ifdef __cplusplus
12210 extern "C"
12212 #endif
12213 /* We use char because int might match the return type of a gcc2
12214 builtin and then its argument prototype would still apply. */
12215 char $ac_func ();
12216 /* The GNU C library defines this for functions which it implements
12217 to always fail with ENOSYS. Some functions are actually named
12218 something starting with __ and the normal name is an alias. */
12219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12220 choke me
12221 #else
12222 char (*f) () = $ac_func;
12223 #endif
12224 #ifdef __cplusplus
12226 #endif
12229 main ()
12231 return f != $ac_func;
12233 return 0;
12235 _ACEOF
12236 rm -f conftest.$ac_objext conftest$ac_exeext
12237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12238 (eval $ac_link) 2>conftest.er1
12239 ac_status=$?
12240 grep -v '^ *+' conftest.er1 >conftest.err
12241 rm -f conftest.er1
12242 cat conftest.err >&5
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); } &&
12245 { ac_try='test -z "$ac_c_werror_flag"
12246 || test ! -s conftest.err'
12247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12248 (eval $ac_try) 2>&5
12249 ac_status=$?
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); }; } &&
12252 { ac_try='test -s conftest$ac_exeext'
12253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12254 (eval $ac_try) 2>&5
12255 ac_status=$?
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); }; }; then
12258 eval "$as_ac_var=yes"
12259 else
12260 echo "$as_me: failed program was:" >&5
12261 sed 's/^/| /' conftest.$ac_ext >&5
12263 eval "$as_ac_var=no"
12265 rm -f conftest.err conftest.$ac_objext \
12266 conftest$ac_exeext conftest.$ac_ext
12268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12270 if test `eval echo '${'$as_ac_var'}'` = yes; then
12271 cat >>confdefs.h <<_ACEOF
12272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12273 _ACEOF
12276 done
12288 echo "$as_me:$LINENO: checking for expf declaration" >&5
12289 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12290 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12291 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 else
12297 ac_ext=cc
12298 ac_cpp='$CXXCPP $CPPFLAGS'
12299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12303 cat >conftest.$ac_ext <<_ACEOF
12304 /* confdefs.h. */
12305 _ACEOF
12306 cat confdefs.h >>conftest.$ac_ext
12307 cat >>conftest.$ac_ext <<_ACEOF
12308 /* end confdefs.h. */
12309 #include <math.h>
12310 #ifdef HAVE_IEEEFP_H
12311 #include <ieeefp.h>
12312 #endif
12315 main ()
12317 expf(0);
12319 return 0;
12321 _ACEOF
12322 rm -f conftest.$ac_objext
12323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12324 (eval $ac_compile) 2>conftest.er1
12325 ac_status=$?
12326 grep -v '^ *+' conftest.er1 >conftest.err
12327 rm -f conftest.er1
12328 cat conftest.err >&5
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); } &&
12331 { ac_try='test -z "$ac_cxx_werror_flag"
12332 || test ! -s conftest.err'
12333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12334 (eval $ac_try) 2>&5
12335 ac_status=$?
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); }; } &&
12338 { ac_try='test -s conftest.$ac_objext'
12339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 (eval $ac_try) 2>&5
12341 ac_status=$?
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; }; then
12344 glibcxx_cv_func_expf_use=yes
12345 else
12346 echo "$as_me: failed program was:" >&5
12347 sed 's/^/| /' conftest.$ac_ext >&5
12349 glibcxx_cv_func_expf_use=no
12351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12352 ac_ext=c
12353 ac_cpp='$CPP $CPPFLAGS'
12354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12363 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12365 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12367 for ac_func in expf
12369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12370 echo "$as_me:$LINENO: checking for $ac_func" >&5
12371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12372 if eval "test \"\${$as_ac_var+set}\" = set"; then
12373 echo $ECHO_N "(cached) $ECHO_C" >&6
12374 else
12375 if test x$gcc_no_link = xyes; then
12376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12378 { (exit 1); exit 1; }; }
12380 cat >conftest.$ac_ext <<_ACEOF
12381 /* confdefs.h. */
12382 _ACEOF
12383 cat confdefs.h >>conftest.$ac_ext
12384 cat >>conftest.$ac_ext <<_ACEOF
12385 /* end confdefs.h. */
12386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12388 #define $ac_func innocuous_$ac_func
12390 /* System header to define __stub macros and hopefully few prototypes,
12391 which can conflict with char $ac_func (); below.
12392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12393 <limits.h> exists even on freestanding compilers. */
12395 #ifdef __STDC__
12396 # include <limits.h>
12397 #else
12398 # include <assert.h>
12399 #endif
12401 #undef $ac_func
12403 /* Override any gcc2 internal prototype to avoid an error. */
12404 #ifdef __cplusplus
12405 extern "C"
12407 #endif
12408 /* We use char because int might match the return type of a gcc2
12409 builtin and then its argument prototype would still apply. */
12410 char $ac_func ();
12411 /* The GNU C library defines this for functions which it implements
12412 to always fail with ENOSYS. Some functions are actually named
12413 something starting with __ and the normal name is an alias. */
12414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12415 choke me
12416 #else
12417 char (*f) () = $ac_func;
12418 #endif
12419 #ifdef __cplusplus
12421 #endif
12424 main ()
12426 return f != $ac_func;
12428 return 0;
12430 _ACEOF
12431 rm -f conftest.$ac_objext conftest$ac_exeext
12432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12433 (eval $ac_link) 2>conftest.er1
12434 ac_status=$?
12435 grep -v '^ *+' conftest.er1 >conftest.err
12436 rm -f conftest.er1
12437 cat conftest.err >&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); } &&
12440 { ac_try='test -z "$ac_c_werror_flag"
12441 || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12444 ac_status=$?
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try='test -s conftest$ac_exeext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12450 ac_status=$?
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453 eval "$as_ac_var=yes"
12454 else
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.$ac_ext >&5
12458 eval "$as_ac_var=no"
12460 rm -f conftest.err conftest.$ac_objext \
12461 conftest$ac_exeext conftest.$ac_ext
12463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12465 if test `eval echo '${'$as_ac_var'}'` = yes; then
12466 cat >>confdefs.h <<_ACEOF
12467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12468 _ACEOF
12471 done
12473 else
12475 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12476 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12477 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12478 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12479 echo $ECHO_N "(cached) $ECHO_C" >&6
12480 else
12484 ac_ext=cc
12485 ac_cpp='$CXXCPP $CPPFLAGS'
12486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12490 cat >conftest.$ac_ext <<_ACEOF
12491 /* confdefs.h. */
12492 _ACEOF
12493 cat confdefs.h >>conftest.$ac_ext
12494 cat >>conftest.$ac_ext <<_ACEOF
12495 /* end confdefs.h. */
12496 #include <math.h>
12497 #ifdef HAVE_IEEEFP_H
12498 #include <ieeefp.h>
12499 #endif
12502 main ()
12504 _expf(0);
12506 return 0;
12508 _ACEOF
12509 rm -f conftest.$ac_objext
12510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12511 (eval $ac_compile) 2>conftest.er1
12512 ac_status=$?
12513 grep -v '^ *+' conftest.er1 >conftest.err
12514 rm -f conftest.er1
12515 cat conftest.err >&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); } &&
12518 { ac_try='test -z "$ac_cxx_werror_flag"
12519 || test ! -s conftest.err'
12520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12521 (eval $ac_try) 2>&5
12522 ac_status=$?
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }; } &&
12525 { ac_try='test -s conftest.$ac_objext'
12526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12527 (eval $ac_try) 2>&5
12528 ac_status=$?
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); }; }; then
12531 glibcxx_cv_func__expf_use=yes
12532 else
12533 echo "$as_me: failed program was:" >&5
12534 sed 's/^/| /' conftest.$ac_ext >&5
12536 glibcxx_cv_func__expf_use=no
12538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12539 ac_ext=c
12540 ac_cpp='$CPP $CPPFLAGS'
12541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12549 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12550 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12552 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12554 for ac_func in _expf
12556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12557 echo "$as_me:$LINENO: checking for $ac_func" >&5
12558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12559 if eval "test \"\${$as_ac_var+set}\" = set"; then
12560 echo $ECHO_N "(cached) $ECHO_C" >&6
12561 else
12562 if test x$gcc_no_link = xyes; then
12563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12565 { (exit 1); exit 1; }; }
12567 cat >conftest.$ac_ext <<_ACEOF
12568 /* confdefs.h. */
12569 _ACEOF
12570 cat confdefs.h >>conftest.$ac_ext
12571 cat >>conftest.$ac_ext <<_ACEOF
12572 /* end confdefs.h. */
12573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12575 #define $ac_func innocuous_$ac_func
12577 /* System header to define __stub macros and hopefully few prototypes,
12578 which can conflict with char $ac_func (); below.
12579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12580 <limits.h> exists even on freestanding compilers. */
12582 #ifdef __STDC__
12583 # include <limits.h>
12584 #else
12585 # include <assert.h>
12586 #endif
12588 #undef $ac_func
12590 /* Override any gcc2 internal prototype to avoid an error. */
12591 #ifdef __cplusplus
12592 extern "C"
12594 #endif
12595 /* We use char because int might match the return type of a gcc2
12596 builtin and then its argument prototype would still apply. */
12597 char $ac_func ();
12598 /* The GNU C library defines this for functions which it implements
12599 to always fail with ENOSYS. Some functions are actually named
12600 something starting with __ and the normal name is an alias. */
12601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12602 choke me
12603 #else
12604 char (*f) () = $ac_func;
12605 #endif
12606 #ifdef __cplusplus
12608 #endif
12611 main ()
12613 return f != $ac_func;
12615 return 0;
12617 _ACEOF
12618 rm -f conftest.$ac_objext conftest$ac_exeext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12620 (eval $ac_link) 2>conftest.er1
12621 ac_status=$?
12622 grep -v '^ *+' conftest.er1 >conftest.err
12623 rm -f conftest.er1
12624 cat conftest.err >&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } &&
12627 { ac_try='test -z "$ac_c_werror_flag"
12628 || test ! -s conftest.err'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12631 ac_status=$?
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; } &&
12634 { ac_try='test -s conftest$ac_exeext'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12637 ac_status=$?
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; }; then
12640 eval "$as_ac_var=yes"
12641 else
12642 echo "$as_me: failed program was:" >&5
12643 sed 's/^/| /' conftest.$ac_ext >&5
12645 eval "$as_ac_var=no"
12647 rm -f conftest.err conftest.$ac_objext \
12648 conftest$ac_exeext conftest.$ac_ext
12650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12652 if test `eval echo '${'$as_ac_var'}'` = yes; then
12653 cat >>confdefs.h <<_ACEOF
12654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12655 _ACEOF
12658 done
12668 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12669 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12670 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12671 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12672 echo $ECHO_N "(cached) $ECHO_C" >&6
12673 else
12677 ac_ext=cc
12678 ac_cpp='$CXXCPP $CPPFLAGS'
12679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12683 cat >conftest.$ac_ext <<_ACEOF
12684 /* confdefs.h. */
12685 _ACEOF
12686 cat confdefs.h >>conftest.$ac_ext
12687 cat >>conftest.$ac_ext <<_ACEOF
12688 /* end confdefs.h. */
12689 #include <math.h>
12690 #ifdef HAVE_IEEEFP_H
12691 #include <ieeefp.h>
12692 #endif
12695 main ()
12697 isnanf(0);
12699 return 0;
12701 _ACEOF
12702 rm -f conftest.$ac_objext
12703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12704 (eval $ac_compile) 2>conftest.er1
12705 ac_status=$?
12706 grep -v '^ *+' conftest.er1 >conftest.err
12707 rm -f conftest.er1
12708 cat conftest.err >&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); } &&
12711 { ac_try='test -z "$ac_cxx_werror_flag"
12712 || test ! -s conftest.err'
12713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12714 (eval $ac_try) 2>&5
12715 ac_status=$?
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); }; } &&
12718 { ac_try='test -s conftest.$ac_objext'
12719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12720 (eval $ac_try) 2>&5
12721 ac_status=$?
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); }; }; then
12724 glibcxx_cv_func_isnanf_use=yes
12725 else
12726 echo "$as_me: failed program was:" >&5
12727 sed 's/^/| /' conftest.$ac_ext >&5
12729 glibcxx_cv_func_isnanf_use=no
12731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12732 ac_ext=c
12733 ac_cpp='$CPP $CPPFLAGS'
12734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12742 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12743 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12745 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12747 for ac_func in isnanf
12749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12750 echo "$as_me:$LINENO: checking for $ac_func" >&5
12751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12752 if eval "test \"\${$as_ac_var+set}\" = set"; then
12753 echo $ECHO_N "(cached) $ECHO_C" >&6
12754 else
12755 if test x$gcc_no_link = xyes; then
12756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12758 { (exit 1); exit 1; }; }
12760 cat >conftest.$ac_ext <<_ACEOF
12761 /* confdefs.h. */
12762 _ACEOF
12763 cat confdefs.h >>conftest.$ac_ext
12764 cat >>conftest.$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12768 #define $ac_func innocuous_$ac_func
12770 /* System header to define __stub macros and hopefully few prototypes,
12771 which can conflict with char $ac_func (); below.
12772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12773 <limits.h> exists even on freestanding compilers. */
12775 #ifdef __STDC__
12776 # include <limits.h>
12777 #else
12778 # include <assert.h>
12779 #endif
12781 #undef $ac_func
12783 /* Override any gcc2 internal prototype to avoid an error. */
12784 #ifdef __cplusplus
12785 extern "C"
12787 #endif
12788 /* We use char because int might match the return type of a gcc2
12789 builtin and then its argument prototype would still apply. */
12790 char $ac_func ();
12791 /* The GNU C library defines this for functions which it implements
12792 to always fail with ENOSYS. Some functions are actually named
12793 something starting with __ and the normal name is an alias. */
12794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12795 choke me
12796 #else
12797 char (*f) () = $ac_func;
12798 #endif
12799 #ifdef __cplusplus
12801 #endif
12804 main ()
12806 return f != $ac_func;
12808 return 0;
12810 _ACEOF
12811 rm -f conftest.$ac_objext conftest$ac_exeext
12812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12813 (eval $ac_link) 2>conftest.er1
12814 ac_status=$?
12815 grep -v '^ *+' conftest.er1 >conftest.err
12816 rm -f conftest.er1
12817 cat conftest.err >&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } &&
12820 { ac_try='test -z "$ac_c_werror_flag"
12821 || test ! -s conftest.err'
12822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12823 (eval $ac_try) 2>&5
12824 ac_status=$?
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); }; } &&
12827 { ac_try='test -s conftest$ac_exeext'
12828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12829 (eval $ac_try) 2>&5
12830 ac_status=$?
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); }; }; then
12833 eval "$as_ac_var=yes"
12834 else
12835 echo "$as_me: failed program was:" >&5
12836 sed 's/^/| /' conftest.$ac_ext >&5
12838 eval "$as_ac_var=no"
12840 rm -f conftest.err conftest.$ac_objext \
12841 conftest$ac_exeext conftest.$ac_ext
12843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12845 if test `eval echo '${'$as_ac_var'}'` = yes; then
12846 cat >>confdefs.h <<_ACEOF
12847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12848 _ACEOF
12851 done
12853 else
12855 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12856 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12857 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12858 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12859 echo $ECHO_N "(cached) $ECHO_C" >&6
12860 else
12864 ac_ext=cc
12865 ac_cpp='$CXXCPP $CPPFLAGS'
12866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12870 cat >conftest.$ac_ext <<_ACEOF
12871 /* confdefs.h. */
12872 _ACEOF
12873 cat confdefs.h >>conftest.$ac_ext
12874 cat >>conftest.$ac_ext <<_ACEOF
12875 /* end confdefs.h. */
12876 #include <math.h>
12877 #ifdef HAVE_IEEEFP_H
12878 #include <ieeefp.h>
12879 #endif
12882 main ()
12884 _isnanf(0);
12886 return 0;
12888 _ACEOF
12889 rm -f conftest.$ac_objext
12890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12891 (eval $ac_compile) 2>conftest.er1
12892 ac_status=$?
12893 grep -v '^ *+' conftest.er1 >conftest.err
12894 rm -f conftest.er1
12895 cat conftest.err >&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } &&
12898 { ac_try='test -z "$ac_cxx_werror_flag"
12899 || test ! -s conftest.err'
12900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12901 (eval $ac_try) 2>&5
12902 ac_status=$?
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); }; } &&
12905 { ac_try='test -s conftest.$ac_objext'
12906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907 (eval $ac_try) 2>&5
12908 ac_status=$?
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; }; then
12911 glibcxx_cv_func__isnanf_use=yes
12912 else
12913 echo "$as_me: failed program was:" >&5
12914 sed 's/^/| /' conftest.$ac_ext >&5
12916 glibcxx_cv_func__isnanf_use=no
12918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12919 ac_ext=c
12920 ac_cpp='$CPP $CPPFLAGS'
12921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12930 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12932 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12934 for ac_func in _isnanf
12936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12937 echo "$as_me:$LINENO: checking for $ac_func" >&5
12938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12939 if eval "test \"\${$as_ac_var+set}\" = set"; then
12940 echo $ECHO_N "(cached) $ECHO_C" >&6
12941 else
12942 if test x$gcc_no_link = xyes; then
12943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12945 { (exit 1); exit 1; }; }
12947 cat >conftest.$ac_ext <<_ACEOF
12948 /* confdefs.h. */
12949 _ACEOF
12950 cat confdefs.h >>conftest.$ac_ext
12951 cat >>conftest.$ac_ext <<_ACEOF
12952 /* end confdefs.h. */
12953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12955 #define $ac_func innocuous_$ac_func
12957 /* System header to define __stub macros and hopefully few prototypes,
12958 which can conflict with char $ac_func (); below.
12959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12960 <limits.h> exists even on freestanding compilers. */
12962 #ifdef __STDC__
12963 # include <limits.h>
12964 #else
12965 # include <assert.h>
12966 #endif
12968 #undef $ac_func
12970 /* Override any gcc2 internal prototype to avoid an error. */
12971 #ifdef __cplusplus
12972 extern "C"
12974 #endif
12975 /* We use char because int might match the return type of a gcc2
12976 builtin and then its argument prototype would still apply. */
12977 char $ac_func ();
12978 /* The GNU C library defines this for functions which it implements
12979 to always fail with ENOSYS. Some functions are actually named
12980 something starting with __ and the normal name is an alias. */
12981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12982 choke me
12983 #else
12984 char (*f) () = $ac_func;
12985 #endif
12986 #ifdef __cplusplus
12988 #endif
12991 main ()
12993 return f != $ac_func;
12995 return 0;
12997 _ACEOF
12998 rm -f conftest.$ac_objext conftest$ac_exeext
12999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13000 (eval $ac_link) 2>conftest.er1
13001 ac_status=$?
13002 grep -v '^ *+' conftest.er1 >conftest.err
13003 rm -f conftest.er1
13004 cat conftest.err >&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); } &&
13007 { ac_try='test -z "$ac_c_werror_flag"
13008 || test ! -s conftest.err'
13009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13010 (eval $ac_try) 2>&5
13011 ac_status=$?
13012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13013 (exit $ac_status); }; } &&
13014 { ac_try='test -s conftest$ac_exeext'
13015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13016 (eval $ac_try) 2>&5
13017 ac_status=$?
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); }; }; then
13020 eval "$as_ac_var=yes"
13021 else
13022 echo "$as_me: failed program was:" >&5
13023 sed 's/^/| /' conftest.$ac_ext >&5
13025 eval "$as_ac_var=no"
13027 rm -f conftest.err conftest.$ac_objext \
13028 conftest$ac_exeext conftest.$ac_ext
13030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13032 if test `eval echo '${'$as_ac_var'}'` = yes; then
13033 cat >>confdefs.h <<_ACEOF
13034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13035 _ACEOF
13038 done
13048 echo "$as_me:$LINENO: checking for isinff declaration" >&5
13049 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13050 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13051 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13052 echo $ECHO_N "(cached) $ECHO_C" >&6
13053 else
13057 ac_ext=cc
13058 ac_cpp='$CXXCPP $CPPFLAGS'
13059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13063 cat >conftest.$ac_ext <<_ACEOF
13064 /* confdefs.h. */
13065 _ACEOF
13066 cat confdefs.h >>conftest.$ac_ext
13067 cat >>conftest.$ac_ext <<_ACEOF
13068 /* end confdefs.h. */
13069 #include <math.h>
13070 #ifdef HAVE_IEEEFP_H
13071 #include <ieeefp.h>
13072 #endif
13075 main ()
13077 isinff(0);
13079 return 0;
13081 _ACEOF
13082 rm -f conftest.$ac_objext
13083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13084 (eval $ac_compile) 2>conftest.er1
13085 ac_status=$?
13086 grep -v '^ *+' conftest.er1 >conftest.err
13087 rm -f conftest.er1
13088 cat conftest.err >&5
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); } &&
13091 { ac_try='test -z "$ac_cxx_werror_flag"
13092 || test ! -s conftest.err'
13093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13094 (eval $ac_try) 2>&5
13095 ac_status=$?
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; } &&
13098 { ac_try='test -s conftest.$ac_objext'
13099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13100 (eval $ac_try) 2>&5
13101 ac_status=$?
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }; }; then
13104 glibcxx_cv_func_isinff_use=yes
13105 else
13106 echo "$as_me: failed program was:" >&5
13107 sed 's/^/| /' conftest.$ac_ext >&5
13109 glibcxx_cv_func_isinff_use=no
13111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13112 ac_ext=c
13113 ac_cpp='$CPP $CPPFLAGS'
13114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13123 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13125 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13127 for ac_func in isinff
13129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13130 echo "$as_me:$LINENO: checking for $ac_func" >&5
13131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13132 if eval "test \"\${$as_ac_var+set}\" = set"; then
13133 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 else
13135 if test x$gcc_no_link = xyes; then
13136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13138 { (exit 1); exit 1; }; }
13140 cat >conftest.$ac_ext <<_ACEOF
13141 /* confdefs.h. */
13142 _ACEOF
13143 cat confdefs.h >>conftest.$ac_ext
13144 cat >>conftest.$ac_ext <<_ACEOF
13145 /* end confdefs.h. */
13146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13148 #define $ac_func innocuous_$ac_func
13150 /* System header to define __stub macros and hopefully few prototypes,
13151 which can conflict with char $ac_func (); below.
13152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13153 <limits.h> exists even on freestanding compilers. */
13155 #ifdef __STDC__
13156 # include <limits.h>
13157 #else
13158 # include <assert.h>
13159 #endif
13161 #undef $ac_func
13163 /* Override any gcc2 internal prototype to avoid an error. */
13164 #ifdef __cplusplus
13165 extern "C"
13167 #endif
13168 /* We use char because int might match the return type of a gcc2
13169 builtin and then its argument prototype would still apply. */
13170 char $ac_func ();
13171 /* The GNU C library defines this for functions which it implements
13172 to always fail with ENOSYS. Some functions are actually named
13173 something starting with __ and the normal name is an alias. */
13174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13175 choke me
13176 #else
13177 char (*f) () = $ac_func;
13178 #endif
13179 #ifdef __cplusplus
13181 #endif
13184 main ()
13186 return f != $ac_func;
13188 return 0;
13190 _ACEOF
13191 rm -f conftest.$ac_objext conftest$ac_exeext
13192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13193 (eval $ac_link) 2>conftest.er1
13194 ac_status=$?
13195 grep -v '^ *+' conftest.er1 >conftest.err
13196 rm -f conftest.er1
13197 cat conftest.err >&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); } &&
13200 { ac_try='test -z "$ac_c_werror_flag"
13201 || test ! -s conftest.err'
13202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13203 (eval $ac_try) 2>&5
13204 ac_status=$?
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); }; } &&
13207 { ac_try='test -s conftest$ac_exeext'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13210 ac_status=$?
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; }; then
13213 eval "$as_ac_var=yes"
13214 else
13215 echo "$as_me: failed program was:" >&5
13216 sed 's/^/| /' conftest.$ac_ext >&5
13218 eval "$as_ac_var=no"
13220 rm -f conftest.err conftest.$ac_objext \
13221 conftest$ac_exeext conftest.$ac_ext
13223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13225 if test `eval echo '${'$as_ac_var'}'` = yes; then
13226 cat >>confdefs.h <<_ACEOF
13227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13228 _ACEOF
13231 done
13233 else
13235 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13236 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13237 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13238 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13240 else
13244 ac_ext=cc
13245 ac_cpp='$CXXCPP $CPPFLAGS'
13246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13250 cat >conftest.$ac_ext <<_ACEOF
13251 /* confdefs.h. */
13252 _ACEOF
13253 cat confdefs.h >>conftest.$ac_ext
13254 cat >>conftest.$ac_ext <<_ACEOF
13255 /* end confdefs.h. */
13256 #include <math.h>
13257 #ifdef HAVE_IEEEFP_H
13258 #include <ieeefp.h>
13259 #endif
13262 main ()
13264 _isinff(0);
13266 return 0;
13268 _ACEOF
13269 rm -f conftest.$ac_objext
13270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13271 (eval $ac_compile) 2>conftest.er1
13272 ac_status=$?
13273 grep -v '^ *+' conftest.er1 >conftest.err
13274 rm -f conftest.er1
13275 cat conftest.err >&5
13276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 (exit $ac_status); } &&
13278 { ac_try='test -z "$ac_cxx_werror_flag"
13279 || test ! -s conftest.err'
13280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 (eval $ac_try) 2>&5
13282 ac_status=$?
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); }; } &&
13285 { ac_try='test -s conftest.$ac_objext'
13286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13287 (eval $ac_try) 2>&5
13288 ac_status=$?
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); }; }; then
13291 glibcxx_cv_func__isinff_use=yes
13292 else
13293 echo "$as_me: failed program was:" >&5
13294 sed 's/^/| /' conftest.$ac_ext >&5
13296 glibcxx_cv_func__isinff_use=no
13298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13299 ac_ext=c
13300 ac_cpp='$CPP $CPPFLAGS'
13301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13310 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13312 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13314 for ac_func in _isinff
13316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13317 echo "$as_me:$LINENO: checking for $ac_func" >&5
13318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13319 if eval "test \"\${$as_ac_var+set}\" = set"; then
13320 echo $ECHO_N "(cached) $ECHO_C" >&6
13321 else
13322 if test x$gcc_no_link = xyes; then
13323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13325 { (exit 1); exit 1; }; }
13327 cat >conftest.$ac_ext <<_ACEOF
13328 /* confdefs.h. */
13329 _ACEOF
13330 cat confdefs.h >>conftest.$ac_ext
13331 cat >>conftest.$ac_ext <<_ACEOF
13332 /* end confdefs.h. */
13333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13335 #define $ac_func innocuous_$ac_func
13337 /* System header to define __stub macros and hopefully few prototypes,
13338 which can conflict with char $ac_func (); below.
13339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13340 <limits.h> exists even on freestanding compilers. */
13342 #ifdef __STDC__
13343 # include <limits.h>
13344 #else
13345 # include <assert.h>
13346 #endif
13348 #undef $ac_func
13350 /* Override any gcc2 internal prototype to avoid an error. */
13351 #ifdef __cplusplus
13352 extern "C"
13354 #endif
13355 /* We use char because int might match the return type of a gcc2
13356 builtin and then its argument prototype would still apply. */
13357 char $ac_func ();
13358 /* The GNU C library defines this for functions which it implements
13359 to always fail with ENOSYS. Some functions are actually named
13360 something starting with __ and the normal name is an alias. */
13361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13362 choke me
13363 #else
13364 char (*f) () = $ac_func;
13365 #endif
13366 #ifdef __cplusplus
13368 #endif
13371 main ()
13373 return f != $ac_func;
13375 return 0;
13377 _ACEOF
13378 rm -f conftest.$ac_objext conftest$ac_exeext
13379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13380 (eval $ac_link) 2>conftest.er1
13381 ac_status=$?
13382 grep -v '^ *+' conftest.er1 >conftest.err
13383 rm -f conftest.er1
13384 cat conftest.err >&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } &&
13387 { ac_try='test -z "$ac_c_werror_flag"
13388 || test ! -s conftest.err'
13389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13390 (eval $ac_try) 2>&5
13391 ac_status=$?
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); }; } &&
13394 { ac_try='test -s conftest$ac_exeext'
13395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13396 (eval $ac_try) 2>&5
13397 ac_status=$?
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); }; }; then
13400 eval "$as_ac_var=yes"
13401 else
13402 echo "$as_me: failed program was:" >&5
13403 sed 's/^/| /' conftest.$ac_ext >&5
13405 eval "$as_ac_var=no"
13407 rm -f conftest.err conftest.$ac_objext \
13408 conftest$ac_exeext conftest.$ac_ext
13410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13412 if test `eval echo '${'$as_ac_var'}'` = yes; then
13413 cat >>confdefs.h <<_ACEOF
13414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13415 _ACEOF
13418 done
13428 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13429 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13430 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13431 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13433 else
13437 ac_ext=cc
13438 ac_cpp='$CXXCPP $CPPFLAGS'
13439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13443 cat >conftest.$ac_ext <<_ACEOF
13444 /* confdefs.h. */
13445 _ACEOF
13446 cat confdefs.h >>conftest.$ac_ext
13447 cat >>conftest.$ac_ext <<_ACEOF
13448 /* end confdefs.h. */
13449 #include <math.h>
13451 main ()
13453 atan2f(0, 0);
13455 return 0;
13457 _ACEOF
13458 rm -f conftest.$ac_objext
13459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13460 (eval $ac_compile) 2>conftest.er1
13461 ac_status=$?
13462 grep -v '^ *+' conftest.er1 >conftest.err
13463 rm -f conftest.er1
13464 cat conftest.err >&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } &&
13467 { ac_try='test -z "$ac_cxx_werror_flag"
13468 || test ! -s conftest.err'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13471 ac_status=$?
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; } &&
13474 { ac_try='test -s conftest.$ac_objext'
13475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476 (eval $ac_try) 2>&5
13477 ac_status=$?
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); }; }; then
13480 glibcxx_cv_func_atan2f_use=yes
13481 else
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.$ac_ext >&5
13485 glibcxx_cv_func_atan2f_use=no
13487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13488 ac_ext=c
13489 ac_cpp='$CPP $CPPFLAGS'
13490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13498 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13499 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13501 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13503 for ac_func in atan2f
13505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13506 echo "$as_me:$LINENO: checking for $ac_func" >&5
13507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13508 if eval "test \"\${$as_ac_var+set}\" = set"; then
13509 echo $ECHO_N "(cached) $ECHO_C" >&6
13510 else
13511 if test x$gcc_no_link = xyes; then
13512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13514 { (exit 1); exit 1; }; }
13516 cat >conftest.$ac_ext <<_ACEOF
13517 /* confdefs.h. */
13518 _ACEOF
13519 cat confdefs.h >>conftest.$ac_ext
13520 cat >>conftest.$ac_ext <<_ACEOF
13521 /* end confdefs.h. */
13522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13524 #define $ac_func innocuous_$ac_func
13526 /* System header to define __stub macros and hopefully few prototypes,
13527 which can conflict with char $ac_func (); below.
13528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13529 <limits.h> exists even on freestanding compilers. */
13531 #ifdef __STDC__
13532 # include <limits.h>
13533 #else
13534 # include <assert.h>
13535 #endif
13537 #undef $ac_func
13539 /* Override any gcc2 internal prototype to avoid an error. */
13540 #ifdef __cplusplus
13541 extern "C"
13543 #endif
13544 /* We use char because int might match the return type of a gcc2
13545 builtin and then its argument prototype would still apply. */
13546 char $ac_func ();
13547 /* The GNU C library defines this for functions which it implements
13548 to always fail with ENOSYS. Some functions are actually named
13549 something starting with __ and the normal name is an alias. */
13550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13551 choke me
13552 #else
13553 char (*f) () = $ac_func;
13554 #endif
13555 #ifdef __cplusplus
13557 #endif
13560 main ()
13562 return f != $ac_func;
13564 return 0;
13566 _ACEOF
13567 rm -f conftest.$ac_objext conftest$ac_exeext
13568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13569 (eval $ac_link) 2>conftest.er1
13570 ac_status=$?
13571 grep -v '^ *+' conftest.er1 >conftest.err
13572 rm -f conftest.er1
13573 cat conftest.err >&5
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); } &&
13576 { ac_try='test -z "$ac_c_werror_flag"
13577 || test ! -s conftest.err'
13578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13579 (eval $ac_try) 2>&5
13580 ac_status=$?
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); }; } &&
13583 { ac_try='test -s conftest$ac_exeext'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13586 ac_status=$?
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; }; then
13589 eval "$as_ac_var=yes"
13590 else
13591 echo "$as_me: failed program was:" >&5
13592 sed 's/^/| /' conftest.$ac_ext >&5
13594 eval "$as_ac_var=no"
13596 rm -f conftest.err conftest.$ac_objext \
13597 conftest$ac_exeext conftest.$ac_ext
13599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13601 if test `eval echo '${'$as_ac_var'}'` = yes; then
13602 cat >>confdefs.h <<_ACEOF
13603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13604 _ACEOF
13607 done
13609 else
13611 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13612 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13613 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13614 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13615 echo $ECHO_N "(cached) $ECHO_C" >&6
13616 else
13620 ac_ext=cc
13621 ac_cpp='$CXXCPP $CPPFLAGS'
13622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13626 cat >conftest.$ac_ext <<_ACEOF
13627 /* confdefs.h. */
13628 _ACEOF
13629 cat confdefs.h >>conftest.$ac_ext
13630 cat >>conftest.$ac_ext <<_ACEOF
13631 /* end confdefs.h. */
13632 #include <math.h>
13634 main ()
13636 _atan2f(0, 0);
13638 return 0;
13640 _ACEOF
13641 rm -f conftest.$ac_objext
13642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13643 (eval $ac_compile) 2>conftest.er1
13644 ac_status=$?
13645 grep -v '^ *+' conftest.er1 >conftest.err
13646 rm -f conftest.er1
13647 cat conftest.err >&5
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); } &&
13650 { ac_try='test -z "$ac_cxx_werror_flag"
13651 || test ! -s conftest.err'
13652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13653 (eval $ac_try) 2>&5
13654 ac_status=$?
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); }; } &&
13657 { ac_try='test -s conftest.$ac_objext'
13658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13659 (eval $ac_try) 2>&5
13660 ac_status=$?
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); }; }; then
13663 glibcxx_cv_func__atan2f_use=yes
13664 else
13665 echo "$as_me: failed program was:" >&5
13666 sed 's/^/| /' conftest.$ac_ext >&5
13668 glibcxx_cv_func__atan2f_use=no
13670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13671 ac_ext=c
13672 ac_cpp='$CPP $CPPFLAGS'
13673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13681 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13682 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13684 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13686 for ac_func in _atan2f
13688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13689 echo "$as_me:$LINENO: checking for $ac_func" >&5
13690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13691 if eval "test \"\${$as_ac_var+set}\" = set"; then
13692 echo $ECHO_N "(cached) $ECHO_C" >&6
13693 else
13694 if test x$gcc_no_link = xyes; then
13695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13697 { (exit 1); exit 1; }; }
13699 cat >conftest.$ac_ext <<_ACEOF
13700 /* confdefs.h. */
13701 _ACEOF
13702 cat confdefs.h >>conftest.$ac_ext
13703 cat >>conftest.$ac_ext <<_ACEOF
13704 /* end confdefs.h. */
13705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13707 #define $ac_func innocuous_$ac_func
13709 /* System header to define __stub macros and hopefully few prototypes,
13710 which can conflict with char $ac_func (); below.
13711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13712 <limits.h> exists even on freestanding compilers. */
13714 #ifdef __STDC__
13715 # include <limits.h>
13716 #else
13717 # include <assert.h>
13718 #endif
13720 #undef $ac_func
13722 /* Override any gcc2 internal prototype to avoid an error. */
13723 #ifdef __cplusplus
13724 extern "C"
13726 #endif
13727 /* We use char because int might match the return type of a gcc2
13728 builtin and then its argument prototype would still apply. */
13729 char $ac_func ();
13730 /* The GNU C library defines this for functions which it implements
13731 to always fail with ENOSYS. Some functions are actually named
13732 something starting with __ and the normal name is an alias. */
13733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13734 choke me
13735 #else
13736 char (*f) () = $ac_func;
13737 #endif
13738 #ifdef __cplusplus
13740 #endif
13743 main ()
13745 return f != $ac_func;
13747 return 0;
13749 _ACEOF
13750 rm -f conftest.$ac_objext conftest$ac_exeext
13751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13752 (eval $ac_link) 2>conftest.er1
13753 ac_status=$?
13754 grep -v '^ *+' conftest.er1 >conftest.err
13755 rm -f conftest.er1
13756 cat conftest.err >&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); } &&
13759 { ac_try='test -z "$ac_c_werror_flag"
13760 || test ! -s conftest.err'
13761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13762 (eval $ac_try) 2>&5
13763 ac_status=$?
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); }; } &&
13766 { ac_try='test -s conftest$ac_exeext'
13767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13768 (eval $ac_try) 2>&5
13769 ac_status=$?
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); }; }; then
13772 eval "$as_ac_var=yes"
13773 else
13774 echo "$as_me: failed program was:" >&5
13775 sed 's/^/| /' conftest.$ac_ext >&5
13777 eval "$as_ac_var=no"
13779 rm -f conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13784 if test `eval echo '${'$as_ac_var'}'` = yes; then
13785 cat >>confdefs.h <<_ACEOF
13786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13787 _ACEOF
13790 done
13800 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13801 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13802 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13803 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13804 echo $ECHO_N "(cached) $ECHO_C" >&6
13805 else
13809 ac_ext=cc
13810 ac_cpp='$CXXCPP $CPPFLAGS'
13811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13815 cat >conftest.$ac_ext <<_ACEOF
13816 /* confdefs.h. */
13817 _ACEOF
13818 cat confdefs.h >>conftest.$ac_ext
13819 cat >>conftest.$ac_ext <<_ACEOF
13820 /* end confdefs.h. */
13821 #include <math.h>
13822 #ifdef HAVE_IEEEFP_H
13823 #include <ieeefp.h>
13824 #endif
13827 main ()
13829 fabsf(0);
13831 return 0;
13833 _ACEOF
13834 rm -f conftest.$ac_objext
13835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13836 (eval $ac_compile) 2>conftest.er1
13837 ac_status=$?
13838 grep -v '^ *+' conftest.er1 >conftest.err
13839 rm -f conftest.er1
13840 cat conftest.err >&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); } &&
13843 { ac_try='test -z "$ac_cxx_werror_flag"
13844 || test ! -s conftest.err'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13847 ac_status=$?
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; } &&
13850 { ac_try='test -s conftest.$ac_objext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13853 ac_status=$?
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13856 glibcxx_cv_func_fabsf_use=yes
13857 else
13858 echo "$as_me: failed program was:" >&5
13859 sed 's/^/| /' conftest.$ac_ext >&5
13861 glibcxx_cv_func_fabsf_use=no
13863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13864 ac_ext=c
13865 ac_cpp='$CPP $CPPFLAGS'
13866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13874 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13875 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13877 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13879 for ac_func in fabsf
13881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13882 echo "$as_me:$LINENO: checking for $ac_func" >&5
13883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13884 if eval "test \"\${$as_ac_var+set}\" = set"; then
13885 echo $ECHO_N "(cached) $ECHO_C" >&6
13886 else
13887 if test x$gcc_no_link = xyes; then
13888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13890 { (exit 1); exit 1; }; }
13892 cat >conftest.$ac_ext <<_ACEOF
13893 /* confdefs.h. */
13894 _ACEOF
13895 cat confdefs.h >>conftest.$ac_ext
13896 cat >>conftest.$ac_ext <<_ACEOF
13897 /* end confdefs.h. */
13898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13900 #define $ac_func innocuous_$ac_func
13902 /* System header to define __stub macros and hopefully few prototypes,
13903 which can conflict with char $ac_func (); below.
13904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13905 <limits.h> exists even on freestanding compilers. */
13907 #ifdef __STDC__
13908 # include <limits.h>
13909 #else
13910 # include <assert.h>
13911 #endif
13913 #undef $ac_func
13915 /* Override any gcc2 internal prototype to avoid an error. */
13916 #ifdef __cplusplus
13917 extern "C"
13919 #endif
13920 /* We use char because int might match the return type of a gcc2
13921 builtin and then its argument prototype would still apply. */
13922 char $ac_func ();
13923 /* The GNU C library defines this for functions which it implements
13924 to always fail with ENOSYS. Some functions are actually named
13925 something starting with __ and the normal name is an alias. */
13926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13927 choke me
13928 #else
13929 char (*f) () = $ac_func;
13930 #endif
13931 #ifdef __cplusplus
13933 #endif
13936 main ()
13938 return f != $ac_func;
13940 return 0;
13942 _ACEOF
13943 rm -f conftest.$ac_objext conftest$ac_exeext
13944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13945 (eval $ac_link) 2>conftest.er1
13946 ac_status=$?
13947 grep -v '^ *+' conftest.er1 >conftest.err
13948 rm -f conftest.er1
13949 cat conftest.err >&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); } &&
13952 { ac_try='test -z "$ac_c_werror_flag"
13953 || test ! -s conftest.err'
13954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13955 (eval $ac_try) 2>&5
13956 ac_status=$?
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 (exit $ac_status); }; } &&
13959 { ac_try='test -s conftest$ac_exeext'
13960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13961 (eval $ac_try) 2>&5
13962 ac_status=$?
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); }; }; then
13965 eval "$as_ac_var=yes"
13966 else
13967 echo "$as_me: failed program was:" >&5
13968 sed 's/^/| /' conftest.$ac_ext >&5
13970 eval "$as_ac_var=no"
13972 rm -f conftest.err conftest.$ac_objext \
13973 conftest$ac_exeext conftest.$ac_ext
13975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13977 if test `eval echo '${'$as_ac_var'}'` = yes; then
13978 cat >>confdefs.h <<_ACEOF
13979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13980 _ACEOF
13983 done
13985 else
13987 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13988 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13989 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13990 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13991 echo $ECHO_N "(cached) $ECHO_C" >&6
13992 else
13996 ac_ext=cc
13997 ac_cpp='$CXXCPP $CPPFLAGS'
13998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14002 cat >conftest.$ac_ext <<_ACEOF
14003 /* confdefs.h. */
14004 _ACEOF
14005 cat confdefs.h >>conftest.$ac_ext
14006 cat >>conftest.$ac_ext <<_ACEOF
14007 /* end confdefs.h. */
14008 #include <math.h>
14009 #ifdef HAVE_IEEEFP_H
14010 #include <ieeefp.h>
14011 #endif
14014 main ()
14016 _fabsf(0);
14018 return 0;
14020 _ACEOF
14021 rm -f conftest.$ac_objext
14022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14023 (eval $ac_compile) 2>conftest.er1
14024 ac_status=$?
14025 grep -v '^ *+' conftest.er1 >conftest.err
14026 rm -f conftest.er1
14027 cat conftest.err >&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } &&
14030 { ac_try='test -z "$ac_cxx_werror_flag"
14031 || test ! -s conftest.err'
14032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14033 (eval $ac_try) 2>&5
14034 ac_status=$?
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); }; } &&
14037 { ac_try='test -s conftest.$ac_objext'
14038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14039 (eval $ac_try) 2>&5
14040 ac_status=$?
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); }; }; then
14043 glibcxx_cv_func__fabsf_use=yes
14044 else
14045 echo "$as_me: failed program was:" >&5
14046 sed 's/^/| /' conftest.$ac_ext >&5
14048 glibcxx_cv_func__fabsf_use=no
14050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14051 ac_ext=c
14052 ac_cpp='$CPP $CPPFLAGS'
14053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14061 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14062 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14064 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14066 for ac_func in _fabsf
14068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14069 echo "$as_me:$LINENO: checking for $ac_func" >&5
14070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14071 if eval "test \"\${$as_ac_var+set}\" = set"; then
14072 echo $ECHO_N "(cached) $ECHO_C" >&6
14073 else
14074 if test x$gcc_no_link = xyes; then
14075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14077 { (exit 1); exit 1; }; }
14079 cat >conftest.$ac_ext <<_ACEOF
14080 /* confdefs.h. */
14081 _ACEOF
14082 cat confdefs.h >>conftest.$ac_ext
14083 cat >>conftest.$ac_ext <<_ACEOF
14084 /* end confdefs.h. */
14085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14087 #define $ac_func innocuous_$ac_func
14089 /* System header to define __stub macros and hopefully few prototypes,
14090 which can conflict with char $ac_func (); below.
14091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14092 <limits.h> exists even on freestanding compilers. */
14094 #ifdef __STDC__
14095 # include <limits.h>
14096 #else
14097 # include <assert.h>
14098 #endif
14100 #undef $ac_func
14102 /* Override any gcc2 internal prototype to avoid an error. */
14103 #ifdef __cplusplus
14104 extern "C"
14106 #endif
14107 /* We use char because int might match the return type of a gcc2
14108 builtin and then its argument prototype would still apply. */
14109 char $ac_func ();
14110 /* The GNU C library defines this for functions which it implements
14111 to always fail with ENOSYS. Some functions are actually named
14112 something starting with __ and the normal name is an alias. */
14113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14114 choke me
14115 #else
14116 char (*f) () = $ac_func;
14117 #endif
14118 #ifdef __cplusplus
14120 #endif
14123 main ()
14125 return f != $ac_func;
14127 return 0;
14129 _ACEOF
14130 rm -f conftest.$ac_objext conftest$ac_exeext
14131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14132 (eval $ac_link) 2>conftest.er1
14133 ac_status=$?
14134 grep -v '^ *+' conftest.er1 >conftest.err
14135 rm -f conftest.er1
14136 cat conftest.err >&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); } &&
14139 { ac_try='test -z "$ac_c_werror_flag"
14140 || test ! -s conftest.err'
14141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14142 (eval $ac_try) 2>&5
14143 ac_status=$?
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }; } &&
14146 { ac_try='test -s conftest$ac_exeext'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14149 ac_status=$?
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then
14152 eval "$as_ac_var=yes"
14153 else
14154 echo "$as_me: failed program was:" >&5
14155 sed 's/^/| /' conftest.$ac_ext >&5
14157 eval "$as_ac_var=no"
14159 rm -f conftest.err conftest.$ac_objext \
14160 conftest$ac_exeext conftest.$ac_ext
14162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14164 if test `eval echo '${'$as_ac_var'}'` = yes; then
14165 cat >>confdefs.h <<_ACEOF
14166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14167 _ACEOF
14170 done
14180 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14181 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14182 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14183 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14184 echo $ECHO_N "(cached) $ECHO_C" >&6
14185 else
14189 ac_ext=cc
14190 ac_cpp='$CXXCPP $CPPFLAGS'
14191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14195 cat >conftest.$ac_ext <<_ACEOF
14196 /* confdefs.h. */
14197 _ACEOF
14198 cat confdefs.h >>conftest.$ac_ext
14199 cat >>conftest.$ac_ext <<_ACEOF
14200 /* end confdefs.h. */
14201 #include <math.h>
14203 main ()
14205 fmodf(0, 0);
14207 return 0;
14209 _ACEOF
14210 rm -f conftest.$ac_objext
14211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14212 (eval $ac_compile) 2>conftest.er1
14213 ac_status=$?
14214 grep -v '^ *+' conftest.er1 >conftest.err
14215 rm -f conftest.er1
14216 cat conftest.err >&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); } &&
14219 { ac_try='test -z "$ac_cxx_werror_flag"
14220 || test ! -s conftest.err'
14221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14222 (eval $ac_try) 2>&5
14223 ac_status=$?
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); }; } &&
14226 { ac_try='test -s conftest.$ac_objext'
14227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228 (eval $ac_try) 2>&5
14229 ac_status=$?
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); }; }; then
14232 glibcxx_cv_func_fmodf_use=yes
14233 else
14234 echo "$as_me: failed program was:" >&5
14235 sed 's/^/| /' conftest.$ac_ext >&5
14237 glibcxx_cv_func_fmodf_use=no
14239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14240 ac_ext=c
14241 ac_cpp='$CPP $CPPFLAGS'
14242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14250 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14251 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14253 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14255 for ac_func in fmodf
14257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14258 echo "$as_me:$LINENO: checking for $ac_func" >&5
14259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14260 if eval "test \"\${$as_ac_var+set}\" = set"; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 else
14263 if test x$gcc_no_link = xyes; then
14264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14266 { (exit 1); exit 1; }; }
14268 cat >conftest.$ac_ext <<_ACEOF
14269 /* confdefs.h. */
14270 _ACEOF
14271 cat confdefs.h >>conftest.$ac_ext
14272 cat >>conftest.$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14276 #define $ac_func innocuous_$ac_func
14278 /* System header to define __stub macros and hopefully few prototypes,
14279 which can conflict with char $ac_func (); below.
14280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14281 <limits.h> exists even on freestanding compilers. */
14283 #ifdef __STDC__
14284 # include <limits.h>
14285 #else
14286 # include <assert.h>
14287 #endif
14289 #undef $ac_func
14291 /* Override any gcc2 internal prototype to avoid an error. */
14292 #ifdef __cplusplus
14293 extern "C"
14295 #endif
14296 /* We use char because int might match the return type of a gcc2
14297 builtin and then its argument prototype would still apply. */
14298 char $ac_func ();
14299 /* The GNU C library defines this for functions which it implements
14300 to always fail with ENOSYS. Some functions are actually named
14301 something starting with __ and the normal name is an alias. */
14302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14303 choke me
14304 #else
14305 char (*f) () = $ac_func;
14306 #endif
14307 #ifdef __cplusplus
14309 #endif
14312 main ()
14314 return f != $ac_func;
14316 return 0;
14318 _ACEOF
14319 rm -f conftest.$ac_objext conftest$ac_exeext
14320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14321 (eval $ac_link) 2>conftest.er1
14322 ac_status=$?
14323 grep -v '^ *+' conftest.er1 >conftest.err
14324 rm -f conftest.er1
14325 cat conftest.err >&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } &&
14328 { ac_try='test -z "$ac_c_werror_flag"
14329 || test ! -s conftest.err'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14332 ac_status=$?
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; } &&
14335 { ac_try='test -s conftest$ac_exeext'
14336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14337 (eval $ac_try) 2>&5
14338 ac_status=$?
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); }; }; then
14341 eval "$as_ac_var=yes"
14342 else
14343 echo "$as_me: failed program was:" >&5
14344 sed 's/^/| /' conftest.$ac_ext >&5
14346 eval "$as_ac_var=no"
14348 rm -f conftest.err conftest.$ac_objext \
14349 conftest$ac_exeext conftest.$ac_ext
14351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14353 if test `eval echo '${'$as_ac_var'}'` = yes; then
14354 cat >>confdefs.h <<_ACEOF
14355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14356 _ACEOF
14359 done
14361 else
14363 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14364 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14365 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14366 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14367 echo $ECHO_N "(cached) $ECHO_C" >&6
14368 else
14372 ac_ext=cc
14373 ac_cpp='$CXXCPP $CPPFLAGS'
14374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14378 cat >conftest.$ac_ext <<_ACEOF
14379 /* confdefs.h. */
14380 _ACEOF
14381 cat confdefs.h >>conftest.$ac_ext
14382 cat >>conftest.$ac_ext <<_ACEOF
14383 /* end confdefs.h. */
14384 #include <math.h>
14386 main ()
14388 _fmodf(0, 0);
14390 return 0;
14392 _ACEOF
14393 rm -f conftest.$ac_objext
14394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14395 (eval $ac_compile) 2>conftest.er1
14396 ac_status=$?
14397 grep -v '^ *+' conftest.er1 >conftest.err
14398 rm -f conftest.er1
14399 cat conftest.err >&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); } &&
14402 { ac_try='test -z "$ac_cxx_werror_flag"
14403 || test ! -s conftest.err'
14404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14405 (eval $ac_try) 2>&5
14406 ac_status=$?
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); }; } &&
14409 { ac_try='test -s conftest.$ac_objext'
14410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411 (eval $ac_try) 2>&5
14412 ac_status=$?
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; }; then
14415 glibcxx_cv_func__fmodf_use=yes
14416 else
14417 echo "$as_me: failed program was:" >&5
14418 sed 's/^/| /' conftest.$ac_ext >&5
14420 glibcxx_cv_func__fmodf_use=no
14422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14423 ac_ext=c
14424 ac_cpp='$CPP $CPPFLAGS'
14425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14433 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14434 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14436 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14438 for ac_func in _fmodf
14440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14441 echo "$as_me:$LINENO: checking for $ac_func" >&5
14442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14443 if eval "test \"\${$as_ac_var+set}\" = set"; then
14444 echo $ECHO_N "(cached) $ECHO_C" >&6
14445 else
14446 if test x$gcc_no_link = xyes; then
14447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14449 { (exit 1); exit 1; }; }
14451 cat >conftest.$ac_ext <<_ACEOF
14452 /* confdefs.h. */
14453 _ACEOF
14454 cat confdefs.h >>conftest.$ac_ext
14455 cat >>conftest.$ac_ext <<_ACEOF
14456 /* end confdefs.h. */
14457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14459 #define $ac_func innocuous_$ac_func
14461 /* System header to define __stub macros and hopefully few prototypes,
14462 which can conflict with char $ac_func (); below.
14463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14464 <limits.h> exists even on freestanding compilers. */
14466 #ifdef __STDC__
14467 # include <limits.h>
14468 #else
14469 # include <assert.h>
14470 #endif
14472 #undef $ac_func
14474 /* Override any gcc2 internal prototype to avoid an error. */
14475 #ifdef __cplusplus
14476 extern "C"
14478 #endif
14479 /* We use char because int might match the return type of a gcc2
14480 builtin and then its argument prototype would still apply. */
14481 char $ac_func ();
14482 /* The GNU C library defines this for functions which it implements
14483 to always fail with ENOSYS. Some functions are actually named
14484 something starting with __ and the normal name is an alias. */
14485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14486 choke me
14487 #else
14488 char (*f) () = $ac_func;
14489 #endif
14490 #ifdef __cplusplus
14492 #endif
14495 main ()
14497 return f != $ac_func;
14499 return 0;
14501 _ACEOF
14502 rm -f conftest.$ac_objext conftest$ac_exeext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14504 (eval $ac_link) 2>conftest.er1
14505 ac_status=$?
14506 grep -v '^ *+' conftest.er1 >conftest.err
14507 rm -f conftest.er1
14508 cat conftest.err >&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try='test -z "$ac_c_werror_flag"
14512 || test ! -s conftest.err'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14515 ac_status=$?
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; } &&
14518 { ac_try='test -s conftest$ac_exeext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14521 ac_status=$?
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 eval "$as_ac_var=yes"
14525 else
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.$ac_ext >&5
14529 eval "$as_ac_var=no"
14531 rm -f conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14536 if test `eval echo '${'$as_ac_var'}'` = yes; then
14537 cat >>confdefs.h <<_ACEOF
14538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14539 _ACEOF
14542 done
14552 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14553 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14554 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14555 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14556 echo $ECHO_N "(cached) $ECHO_C" >&6
14557 else
14561 ac_ext=cc
14562 ac_cpp='$CXXCPP $CPPFLAGS'
14563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14567 cat >conftest.$ac_ext <<_ACEOF
14568 /* confdefs.h. */
14569 _ACEOF
14570 cat confdefs.h >>conftest.$ac_ext
14571 cat >>conftest.$ac_ext <<_ACEOF
14572 /* end confdefs.h. */
14573 #include <math.h>
14575 main ()
14577 frexpf(0, 0);
14579 return 0;
14581 _ACEOF
14582 rm -f conftest.$ac_objext
14583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14584 (eval $ac_compile) 2>conftest.er1
14585 ac_status=$?
14586 grep -v '^ *+' conftest.er1 >conftest.err
14587 rm -f conftest.er1
14588 cat conftest.err >&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); } &&
14591 { ac_try='test -z "$ac_cxx_werror_flag"
14592 || test ! -s conftest.err'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14595 ac_status=$?
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; } &&
14598 { ac_try='test -s conftest.$ac_objext'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14601 ac_status=$?
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14604 glibcxx_cv_func_frexpf_use=yes
14605 else
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.$ac_ext >&5
14609 glibcxx_cv_func_frexpf_use=no
14611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14612 ac_ext=c
14613 ac_cpp='$CPP $CPPFLAGS'
14614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14622 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14623 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14625 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14627 for ac_func in frexpf
14629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14630 echo "$as_me:$LINENO: checking for $ac_func" >&5
14631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14632 if eval "test \"\${$as_ac_var+set}\" = set"; then
14633 echo $ECHO_N "(cached) $ECHO_C" >&6
14634 else
14635 if test x$gcc_no_link = xyes; then
14636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14638 { (exit 1); exit 1; }; }
14640 cat >conftest.$ac_ext <<_ACEOF
14641 /* confdefs.h. */
14642 _ACEOF
14643 cat confdefs.h >>conftest.$ac_ext
14644 cat >>conftest.$ac_ext <<_ACEOF
14645 /* end confdefs.h. */
14646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14648 #define $ac_func innocuous_$ac_func
14650 /* System header to define __stub macros and hopefully few prototypes,
14651 which can conflict with char $ac_func (); below.
14652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14653 <limits.h> exists even on freestanding compilers. */
14655 #ifdef __STDC__
14656 # include <limits.h>
14657 #else
14658 # include <assert.h>
14659 #endif
14661 #undef $ac_func
14663 /* Override any gcc2 internal prototype to avoid an error. */
14664 #ifdef __cplusplus
14665 extern "C"
14667 #endif
14668 /* We use char because int might match the return type of a gcc2
14669 builtin and then its argument prototype would still apply. */
14670 char $ac_func ();
14671 /* The GNU C library defines this for functions which it implements
14672 to always fail with ENOSYS. Some functions are actually named
14673 something starting with __ and the normal name is an alias. */
14674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14675 choke me
14676 #else
14677 char (*f) () = $ac_func;
14678 #endif
14679 #ifdef __cplusplus
14681 #endif
14684 main ()
14686 return f != $ac_func;
14688 return 0;
14690 _ACEOF
14691 rm -f conftest.$ac_objext conftest$ac_exeext
14692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14693 (eval $ac_link) 2>conftest.er1
14694 ac_status=$?
14695 grep -v '^ *+' conftest.er1 >conftest.err
14696 rm -f conftest.er1
14697 cat conftest.err >&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } &&
14700 { ac_try='test -z "$ac_c_werror_flag"
14701 || test ! -s conftest.err'
14702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14703 (eval $ac_try) 2>&5
14704 ac_status=$?
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 (exit $ac_status); }; } &&
14707 { ac_try='test -s conftest$ac_exeext'
14708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14709 (eval $ac_try) 2>&5
14710 ac_status=$?
14711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 (exit $ac_status); }; }; then
14713 eval "$as_ac_var=yes"
14714 else
14715 echo "$as_me: failed program was:" >&5
14716 sed 's/^/| /' conftest.$ac_ext >&5
14718 eval "$as_ac_var=no"
14720 rm -f conftest.err conftest.$ac_objext \
14721 conftest$ac_exeext conftest.$ac_ext
14723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14725 if test `eval echo '${'$as_ac_var'}'` = yes; then
14726 cat >>confdefs.h <<_ACEOF
14727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14728 _ACEOF
14731 done
14733 else
14735 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14736 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14737 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14738 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14739 echo $ECHO_N "(cached) $ECHO_C" >&6
14740 else
14744 ac_ext=cc
14745 ac_cpp='$CXXCPP $CPPFLAGS'
14746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14750 cat >conftest.$ac_ext <<_ACEOF
14751 /* confdefs.h. */
14752 _ACEOF
14753 cat confdefs.h >>conftest.$ac_ext
14754 cat >>conftest.$ac_ext <<_ACEOF
14755 /* end confdefs.h. */
14756 #include <math.h>
14758 main ()
14760 _frexpf(0, 0);
14762 return 0;
14764 _ACEOF
14765 rm -f conftest.$ac_objext
14766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14767 (eval $ac_compile) 2>conftest.er1
14768 ac_status=$?
14769 grep -v '^ *+' conftest.er1 >conftest.err
14770 rm -f conftest.er1
14771 cat conftest.err >&5
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); } &&
14774 { ac_try='test -z "$ac_cxx_werror_flag"
14775 || test ! -s conftest.err'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14778 ac_status=$?
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; } &&
14781 { ac_try='test -s conftest.$ac_objext'
14782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14783 (eval $ac_try) 2>&5
14784 ac_status=$?
14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 (exit $ac_status); }; }; then
14787 glibcxx_cv_func__frexpf_use=yes
14788 else
14789 echo "$as_me: failed program was:" >&5
14790 sed 's/^/| /' conftest.$ac_ext >&5
14792 glibcxx_cv_func__frexpf_use=no
14794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14795 ac_ext=c
14796 ac_cpp='$CPP $CPPFLAGS'
14797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14806 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14808 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14810 for ac_func in _frexpf
14812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14813 echo "$as_me:$LINENO: checking for $ac_func" >&5
14814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14815 if eval "test \"\${$as_ac_var+set}\" = set"; then
14816 echo $ECHO_N "(cached) $ECHO_C" >&6
14817 else
14818 if test x$gcc_no_link = xyes; then
14819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14821 { (exit 1); exit 1; }; }
14823 cat >conftest.$ac_ext <<_ACEOF
14824 /* confdefs.h. */
14825 _ACEOF
14826 cat confdefs.h >>conftest.$ac_ext
14827 cat >>conftest.$ac_ext <<_ACEOF
14828 /* end confdefs.h. */
14829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14831 #define $ac_func innocuous_$ac_func
14833 /* System header to define __stub macros and hopefully few prototypes,
14834 which can conflict with char $ac_func (); below.
14835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14836 <limits.h> exists even on freestanding compilers. */
14838 #ifdef __STDC__
14839 # include <limits.h>
14840 #else
14841 # include <assert.h>
14842 #endif
14844 #undef $ac_func
14846 /* Override any gcc2 internal prototype to avoid an error. */
14847 #ifdef __cplusplus
14848 extern "C"
14850 #endif
14851 /* We use char because int might match the return type of a gcc2
14852 builtin and then its argument prototype would still apply. */
14853 char $ac_func ();
14854 /* The GNU C library defines this for functions which it implements
14855 to always fail with ENOSYS. Some functions are actually named
14856 something starting with __ and the normal name is an alias. */
14857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14858 choke me
14859 #else
14860 char (*f) () = $ac_func;
14861 #endif
14862 #ifdef __cplusplus
14864 #endif
14867 main ()
14869 return f != $ac_func;
14871 return 0;
14873 _ACEOF
14874 rm -f conftest.$ac_objext conftest$ac_exeext
14875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14876 (eval $ac_link) 2>conftest.er1
14877 ac_status=$?
14878 grep -v '^ *+' conftest.er1 >conftest.err
14879 rm -f conftest.er1
14880 cat conftest.err >&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); } &&
14883 { ac_try='test -z "$ac_c_werror_flag"
14884 || test ! -s conftest.err'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; } &&
14890 { ac_try='test -s conftest$ac_exeext'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; }; then
14896 eval "$as_ac_var=yes"
14897 else
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.$ac_ext >&5
14901 eval "$as_ac_var=no"
14903 rm -f conftest.err conftest.$ac_objext \
14904 conftest$ac_exeext conftest.$ac_ext
14906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14908 if test `eval echo '${'$as_ac_var'}'` = yes; then
14909 cat >>confdefs.h <<_ACEOF
14910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14911 _ACEOF
14914 done
14924 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14925 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14926 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14927 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14928 echo $ECHO_N "(cached) $ECHO_C" >&6
14929 else
14933 ac_ext=cc
14934 ac_cpp='$CXXCPP $CPPFLAGS'
14935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14939 cat >conftest.$ac_ext <<_ACEOF
14940 /* confdefs.h. */
14941 _ACEOF
14942 cat confdefs.h >>conftest.$ac_ext
14943 cat >>conftest.$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14945 #include <math.h>
14947 main ()
14949 hypotf(0, 0);
14951 return 0;
14953 _ACEOF
14954 rm -f conftest.$ac_objext
14955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14956 (eval $ac_compile) 2>conftest.er1
14957 ac_status=$?
14958 grep -v '^ *+' conftest.er1 >conftest.err
14959 rm -f conftest.er1
14960 cat conftest.err >&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); } &&
14963 { ac_try='test -z "$ac_cxx_werror_flag"
14964 || test ! -s conftest.err'
14965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14966 (eval $ac_try) 2>&5
14967 ac_status=$?
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); }; } &&
14970 { ac_try='test -s conftest.$ac_objext'
14971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14972 (eval $ac_try) 2>&5
14973 ac_status=$?
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); }; }; then
14976 glibcxx_cv_func_hypotf_use=yes
14977 else
14978 echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.$ac_ext >&5
14981 glibcxx_cv_func_hypotf_use=no
14983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14984 ac_ext=c
14985 ac_cpp='$CPP $CPPFLAGS'
14986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14995 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14997 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14999 for ac_func in hypotf
15001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15002 echo "$as_me:$LINENO: checking for $ac_func" >&5
15003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15004 if eval "test \"\${$as_ac_var+set}\" = set"; then
15005 echo $ECHO_N "(cached) $ECHO_C" >&6
15006 else
15007 if test x$gcc_no_link = xyes; then
15008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15010 { (exit 1); exit 1; }; }
15012 cat >conftest.$ac_ext <<_ACEOF
15013 /* confdefs.h. */
15014 _ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15020 #define $ac_func innocuous_$ac_func
15022 /* System header to define __stub macros and hopefully few prototypes,
15023 which can conflict with char $ac_func (); below.
15024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15025 <limits.h> exists even on freestanding compilers. */
15027 #ifdef __STDC__
15028 # include <limits.h>
15029 #else
15030 # include <assert.h>
15031 #endif
15033 #undef $ac_func
15035 /* Override any gcc2 internal prototype to avoid an error. */
15036 #ifdef __cplusplus
15037 extern "C"
15039 #endif
15040 /* We use char because int might match the return type of a gcc2
15041 builtin and then its argument prototype would still apply. */
15042 char $ac_func ();
15043 /* The GNU C library defines this for functions which it implements
15044 to always fail with ENOSYS. Some functions are actually named
15045 something starting with __ and the normal name is an alias. */
15046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15047 choke me
15048 #else
15049 char (*f) () = $ac_func;
15050 #endif
15051 #ifdef __cplusplus
15053 #endif
15056 main ()
15058 return f != $ac_func;
15060 return 0;
15062 _ACEOF
15063 rm -f conftest.$ac_objext conftest$ac_exeext
15064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15065 (eval $ac_link) 2>conftest.er1
15066 ac_status=$?
15067 grep -v '^ *+' conftest.er1 >conftest.err
15068 rm -f conftest.er1
15069 cat conftest.err >&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); } &&
15072 { ac_try='test -z "$ac_c_werror_flag"
15073 || test ! -s conftest.err'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15076 ac_status=$?
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; } &&
15079 { ac_try='test -s conftest$ac_exeext'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15082 ac_status=$?
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; }; then
15085 eval "$as_ac_var=yes"
15086 else
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.$ac_ext >&5
15090 eval "$as_ac_var=no"
15092 rm -f conftest.err conftest.$ac_objext \
15093 conftest$ac_exeext conftest.$ac_ext
15095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15097 if test `eval echo '${'$as_ac_var'}'` = yes; then
15098 cat >>confdefs.h <<_ACEOF
15099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15100 _ACEOF
15103 done
15105 else
15107 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15108 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15109 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15110 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15111 echo $ECHO_N "(cached) $ECHO_C" >&6
15112 else
15116 ac_ext=cc
15117 ac_cpp='$CXXCPP $CPPFLAGS'
15118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15122 cat >conftest.$ac_ext <<_ACEOF
15123 /* confdefs.h. */
15124 _ACEOF
15125 cat confdefs.h >>conftest.$ac_ext
15126 cat >>conftest.$ac_ext <<_ACEOF
15127 /* end confdefs.h. */
15128 #include <math.h>
15130 main ()
15132 _hypotf(0, 0);
15134 return 0;
15136 _ACEOF
15137 rm -f conftest.$ac_objext
15138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15139 (eval $ac_compile) 2>conftest.er1
15140 ac_status=$?
15141 grep -v '^ *+' conftest.er1 >conftest.err
15142 rm -f conftest.er1
15143 cat conftest.err >&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); } &&
15146 { ac_try='test -z "$ac_cxx_werror_flag"
15147 || test ! -s conftest.err'
15148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15149 (eval $ac_try) 2>&5
15150 ac_status=$?
15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152 (exit $ac_status); }; } &&
15153 { ac_try='test -s conftest.$ac_objext'
15154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15155 (eval $ac_try) 2>&5
15156 ac_status=$?
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); }; }; then
15159 glibcxx_cv_func__hypotf_use=yes
15160 else
15161 echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.$ac_ext >&5
15164 glibcxx_cv_func__hypotf_use=no
15166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15167 ac_ext=c
15168 ac_cpp='$CPP $CPPFLAGS'
15169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15178 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15180 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15182 for ac_func in _hypotf
15184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15185 echo "$as_me:$LINENO: checking for $ac_func" >&5
15186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15187 if eval "test \"\${$as_ac_var+set}\" = set"; then
15188 echo $ECHO_N "(cached) $ECHO_C" >&6
15189 else
15190 if test x$gcc_no_link = xyes; then
15191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15193 { (exit 1); exit 1; }; }
15195 cat >conftest.$ac_ext <<_ACEOF
15196 /* confdefs.h. */
15197 _ACEOF
15198 cat confdefs.h >>conftest.$ac_ext
15199 cat >>conftest.$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15203 #define $ac_func innocuous_$ac_func
15205 /* System header to define __stub macros and hopefully few prototypes,
15206 which can conflict with char $ac_func (); below.
15207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15208 <limits.h> exists even on freestanding compilers. */
15210 #ifdef __STDC__
15211 # include <limits.h>
15212 #else
15213 # include <assert.h>
15214 #endif
15216 #undef $ac_func
15218 /* Override any gcc2 internal prototype to avoid an error. */
15219 #ifdef __cplusplus
15220 extern "C"
15222 #endif
15223 /* We use char because int might match the return type of a gcc2
15224 builtin and then its argument prototype would still apply. */
15225 char $ac_func ();
15226 /* The GNU C library defines this for functions which it implements
15227 to always fail with ENOSYS. Some functions are actually named
15228 something starting with __ and the normal name is an alias. */
15229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15230 choke me
15231 #else
15232 char (*f) () = $ac_func;
15233 #endif
15234 #ifdef __cplusplus
15236 #endif
15239 main ()
15241 return f != $ac_func;
15243 return 0;
15245 _ACEOF
15246 rm -f conftest.$ac_objext conftest$ac_exeext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15248 (eval $ac_link) 2>conftest.er1
15249 ac_status=$?
15250 grep -v '^ *+' conftest.er1 >conftest.err
15251 rm -f conftest.er1
15252 cat conftest.err >&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); } &&
15255 { ac_try='test -z "$ac_c_werror_flag"
15256 || test ! -s conftest.err'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15259 ac_status=$?
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; } &&
15262 { ac_try='test -s conftest$ac_exeext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15265 ac_status=$?
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15268 eval "$as_ac_var=yes"
15269 else
15270 echo "$as_me: failed program was:" >&5
15271 sed 's/^/| /' conftest.$ac_ext >&5
15273 eval "$as_ac_var=no"
15275 rm -f conftest.err conftest.$ac_objext \
15276 conftest$ac_exeext conftest.$ac_ext
15278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15280 if test `eval echo '${'$as_ac_var'}'` = yes; then
15281 cat >>confdefs.h <<_ACEOF
15282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15283 _ACEOF
15286 done
15296 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15297 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15298 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15299 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 else
15305 ac_ext=cc
15306 ac_cpp='$CXXCPP $CPPFLAGS'
15307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15311 cat >conftest.$ac_ext <<_ACEOF
15312 /* confdefs.h. */
15313 _ACEOF
15314 cat confdefs.h >>conftest.$ac_ext
15315 cat >>conftest.$ac_ext <<_ACEOF
15316 /* end confdefs.h. */
15317 #include <math.h>
15319 main ()
15321 ldexpf(0, 0);
15323 return 0;
15325 _ACEOF
15326 rm -f conftest.$ac_objext
15327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15328 (eval $ac_compile) 2>conftest.er1
15329 ac_status=$?
15330 grep -v '^ *+' conftest.er1 >conftest.err
15331 rm -f conftest.er1
15332 cat conftest.err >&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } &&
15335 { ac_try='test -z "$ac_cxx_werror_flag"
15336 || test ! -s conftest.err'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15339 ac_status=$?
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try='test -s conftest.$ac_objext'
15343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15344 (eval $ac_try) 2>&5
15345 ac_status=$?
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; }; then
15348 glibcxx_cv_func_ldexpf_use=yes
15349 else
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.$ac_ext >&5
15353 glibcxx_cv_func_ldexpf_use=no
15355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15356 ac_ext=c
15357 ac_cpp='$CPP $CPPFLAGS'
15358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15366 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15367 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15369 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15371 for ac_func in ldexpf
15373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15374 echo "$as_me:$LINENO: checking for $ac_func" >&5
15375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15376 if eval "test \"\${$as_ac_var+set}\" = set"; then
15377 echo $ECHO_N "(cached) $ECHO_C" >&6
15378 else
15379 if test x$gcc_no_link = xyes; then
15380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15382 { (exit 1); exit 1; }; }
15384 cat >conftest.$ac_ext <<_ACEOF
15385 /* confdefs.h. */
15386 _ACEOF
15387 cat confdefs.h >>conftest.$ac_ext
15388 cat >>conftest.$ac_ext <<_ACEOF
15389 /* end confdefs.h. */
15390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15392 #define $ac_func innocuous_$ac_func
15394 /* System header to define __stub macros and hopefully few prototypes,
15395 which can conflict with char $ac_func (); below.
15396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15397 <limits.h> exists even on freestanding compilers. */
15399 #ifdef __STDC__
15400 # include <limits.h>
15401 #else
15402 # include <assert.h>
15403 #endif
15405 #undef $ac_func
15407 /* Override any gcc2 internal prototype to avoid an error. */
15408 #ifdef __cplusplus
15409 extern "C"
15411 #endif
15412 /* We use char because int might match the return type of a gcc2
15413 builtin and then its argument prototype would still apply. */
15414 char $ac_func ();
15415 /* The GNU C library defines this for functions which it implements
15416 to always fail with ENOSYS. Some functions are actually named
15417 something starting with __ and the normal name is an alias. */
15418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15419 choke me
15420 #else
15421 char (*f) () = $ac_func;
15422 #endif
15423 #ifdef __cplusplus
15425 #endif
15428 main ()
15430 return f != $ac_func;
15432 return 0;
15434 _ACEOF
15435 rm -f conftest.$ac_objext conftest$ac_exeext
15436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15437 (eval $ac_link) 2>conftest.er1
15438 ac_status=$?
15439 grep -v '^ *+' conftest.er1 >conftest.err
15440 rm -f conftest.er1
15441 cat conftest.err >&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); } &&
15444 { ac_try='test -z "$ac_c_werror_flag"
15445 || test ! -s conftest.err'
15446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15447 (eval $ac_try) 2>&5
15448 ac_status=$?
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); }; } &&
15451 { ac_try='test -s conftest$ac_exeext'
15452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15453 (eval $ac_try) 2>&5
15454 ac_status=$?
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); }; }; then
15457 eval "$as_ac_var=yes"
15458 else
15459 echo "$as_me: failed program was:" >&5
15460 sed 's/^/| /' conftest.$ac_ext >&5
15462 eval "$as_ac_var=no"
15464 rm -f conftest.err conftest.$ac_objext \
15465 conftest$ac_exeext conftest.$ac_ext
15467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15469 if test `eval echo '${'$as_ac_var'}'` = yes; then
15470 cat >>confdefs.h <<_ACEOF
15471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15472 _ACEOF
15475 done
15477 else
15479 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15480 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15481 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15482 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15483 echo $ECHO_N "(cached) $ECHO_C" >&6
15484 else
15488 ac_ext=cc
15489 ac_cpp='$CXXCPP $CPPFLAGS'
15490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15494 cat >conftest.$ac_ext <<_ACEOF
15495 /* confdefs.h. */
15496 _ACEOF
15497 cat confdefs.h >>conftest.$ac_ext
15498 cat >>conftest.$ac_ext <<_ACEOF
15499 /* end confdefs.h. */
15500 #include <math.h>
15502 main ()
15504 _ldexpf(0, 0);
15506 return 0;
15508 _ACEOF
15509 rm -f conftest.$ac_objext
15510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15511 (eval $ac_compile) 2>conftest.er1
15512 ac_status=$?
15513 grep -v '^ *+' conftest.er1 >conftest.err
15514 rm -f conftest.er1
15515 cat conftest.err >&5
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); } &&
15518 { ac_try='test -z "$ac_cxx_werror_flag"
15519 || test ! -s conftest.err'
15520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15521 (eval $ac_try) 2>&5
15522 ac_status=$?
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); }; } &&
15525 { ac_try='test -s conftest.$ac_objext'
15526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15527 (eval $ac_try) 2>&5
15528 ac_status=$?
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); }; }; then
15531 glibcxx_cv_func__ldexpf_use=yes
15532 else
15533 echo "$as_me: failed program was:" >&5
15534 sed 's/^/| /' conftest.$ac_ext >&5
15536 glibcxx_cv_func__ldexpf_use=no
15538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15539 ac_ext=c
15540 ac_cpp='$CPP $CPPFLAGS'
15541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15549 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15550 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15552 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15554 for ac_func in _ldexpf
15556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15557 echo "$as_me:$LINENO: checking for $ac_func" >&5
15558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15559 if eval "test \"\${$as_ac_var+set}\" = set"; then
15560 echo $ECHO_N "(cached) $ECHO_C" >&6
15561 else
15562 if test x$gcc_no_link = xyes; then
15563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15565 { (exit 1); exit 1; }; }
15567 cat >conftest.$ac_ext <<_ACEOF
15568 /* confdefs.h. */
15569 _ACEOF
15570 cat confdefs.h >>conftest.$ac_ext
15571 cat >>conftest.$ac_ext <<_ACEOF
15572 /* end confdefs.h. */
15573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15575 #define $ac_func innocuous_$ac_func
15577 /* System header to define __stub macros and hopefully few prototypes,
15578 which can conflict with char $ac_func (); below.
15579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15580 <limits.h> exists even on freestanding compilers. */
15582 #ifdef __STDC__
15583 # include <limits.h>
15584 #else
15585 # include <assert.h>
15586 #endif
15588 #undef $ac_func
15590 /* Override any gcc2 internal prototype to avoid an error. */
15591 #ifdef __cplusplus
15592 extern "C"
15594 #endif
15595 /* We use char because int might match the return type of a gcc2
15596 builtin and then its argument prototype would still apply. */
15597 char $ac_func ();
15598 /* The GNU C library defines this for functions which it implements
15599 to always fail with ENOSYS. Some functions are actually named
15600 something starting with __ and the normal name is an alias. */
15601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15602 choke me
15603 #else
15604 char (*f) () = $ac_func;
15605 #endif
15606 #ifdef __cplusplus
15608 #endif
15611 main ()
15613 return f != $ac_func;
15615 return 0;
15617 _ACEOF
15618 rm -f conftest.$ac_objext conftest$ac_exeext
15619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15620 (eval $ac_link) 2>conftest.er1
15621 ac_status=$?
15622 grep -v '^ *+' conftest.er1 >conftest.err
15623 rm -f conftest.er1
15624 cat conftest.err >&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); } &&
15627 { ac_try='test -z "$ac_c_werror_flag"
15628 || test ! -s conftest.err'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15631 ac_status=$?
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; } &&
15634 { ac_try='test -s conftest$ac_exeext'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15637 ac_status=$?
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; }; then
15640 eval "$as_ac_var=yes"
15641 else
15642 echo "$as_me: failed program was:" >&5
15643 sed 's/^/| /' conftest.$ac_ext >&5
15645 eval "$as_ac_var=no"
15647 rm -f conftest.err conftest.$ac_objext \
15648 conftest$ac_exeext conftest.$ac_ext
15650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15652 if test `eval echo '${'$as_ac_var'}'` = yes; then
15653 cat >>confdefs.h <<_ACEOF
15654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15655 _ACEOF
15658 done
15668 echo "$as_me:$LINENO: checking for logf declaration" >&5
15669 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15670 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15671 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15672 echo $ECHO_N "(cached) $ECHO_C" >&6
15673 else
15677 ac_ext=cc
15678 ac_cpp='$CXXCPP $CPPFLAGS'
15679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15683 cat >conftest.$ac_ext <<_ACEOF
15684 /* confdefs.h. */
15685 _ACEOF
15686 cat confdefs.h >>conftest.$ac_ext
15687 cat >>conftest.$ac_ext <<_ACEOF
15688 /* end confdefs.h. */
15689 #include <math.h>
15690 #ifdef HAVE_IEEEFP_H
15691 #include <ieeefp.h>
15692 #endif
15695 main ()
15697 logf(0);
15699 return 0;
15701 _ACEOF
15702 rm -f conftest.$ac_objext
15703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15704 (eval $ac_compile) 2>conftest.er1
15705 ac_status=$?
15706 grep -v '^ *+' conftest.er1 >conftest.err
15707 rm -f conftest.er1
15708 cat conftest.err >&5
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); } &&
15711 { ac_try='test -z "$ac_cxx_werror_flag"
15712 || test ! -s conftest.err'
15713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15714 (eval $ac_try) 2>&5
15715 ac_status=$?
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); }; } &&
15718 { ac_try='test -s conftest.$ac_objext'
15719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15720 (eval $ac_try) 2>&5
15721 ac_status=$?
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); }; }; then
15724 glibcxx_cv_func_logf_use=yes
15725 else
15726 echo "$as_me: failed program was:" >&5
15727 sed 's/^/| /' conftest.$ac_ext >&5
15729 glibcxx_cv_func_logf_use=no
15731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15732 ac_ext=c
15733 ac_cpp='$CPP $CPPFLAGS'
15734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15742 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15743 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15745 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15747 for ac_func in logf
15749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15750 echo "$as_me:$LINENO: checking for $ac_func" >&5
15751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15752 if eval "test \"\${$as_ac_var+set}\" = set"; then
15753 echo $ECHO_N "(cached) $ECHO_C" >&6
15754 else
15755 if test x$gcc_no_link = xyes; then
15756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15758 { (exit 1); exit 1; }; }
15760 cat >conftest.$ac_ext <<_ACEOF
15761 /* confdefs.h. */
15762 _ACEOF
15763 cat confdefs.h >>conftest.$ac_ext
15764 cat >>conftest.$ac_ext <<_ACEOF
15765 /* end confdefs.h. */
15766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15768 #define $ac_func innocuous_$ac_func
15770 /* System header to define __stub macros and hopefully few prototypes,
15771 which can conflict with char $ac_func (); below.
15772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15773 <limits.h> exists even on freestanding compilers. */
15775 #ifdef __STDC__
15776 # include <limits.h>
15777 #else
15778 # include <assert.h>
15779 #endif
15781 #undef $ac_func
15783 /* Override any gcc2 internal prototype to avoid an error. */
15784 #ifdef __cplusplus
15785 extern "C"
15787 #endif
15788 /* We use char because int might match the return type of a gcc2
15789 builtin and then its argument prototype would still apply. */
15790 char $ac_func ();
15791 /* The GNU C library defines this for functions which it implements
15792 to always fail with ENOSYS. Some functions are actually named
15793 something starting with __ and the normal name is an alias. */
15794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15795 choke me
15796 #else
15797 char (*f) () = $ac_func;
15798 #endif
15799 #ifdef __cplusplus
15801 #endif
15804 main ()
15806 return f != $ac_func;
15808 return 0;
15810 _ACEOF
15811 rm -f conftest.$ac_objext conftest$ac_exeext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15813 (eval $ac_link) 2>conftest.er1
15814 ac_status=$?
15815 grep -v '^ *+' conftest.er1 >conftest.err
15816 rm -f conftest.er1
15817 cat conftest.err >&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } &&
15820 { ac_try='test -z "$ac_c_werror_flag"
15821 || test ! -s conftest.err'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; } &&
15827 { ac_try='test -s conftest$ac_exeext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15830 ac_status=$?
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 eval "$as_ac_var=yes"
15834 else
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15838 eval "$as_ac_var=no"
15840 rm -f conftest.err conftest.$ac_objext \
15841 conftest$ac_exeext conftest.$ac_ext
15843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15845 if test `eval echo '${'$as_ac_var'}'` = yes; then
15846 cat >>confdefs.h <<_ACEOF
15847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15848 _ACEOF
15851 done
15853 else
15855 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15856 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15857 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15858 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15859 echo $ECHO_N "(cached) $ECHO_C" >&6
15860 else
15864 ac_ext=cc
15865 ac_cpp='$CXXCPP $CPPFLAGS'
15866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15870 cat >conftest.$ac_ext <<_ACEOF
15871 /* confdefs.h. */
15872 _ACEOF
15873 cat confdefs.h >>conftest.$ac_ext
15874 cat >>conftest.$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15876 #include <math.h>
15877 #ifdef HAVE_IEEEFP_H
15878 #include <ieeefp.h>
15879 #endif
15882 main ()
15884 _logf(0);
15886 return 0;
15888 _ACEOF
15889 rm -f conftest.$ac_objext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15891 (eval $ac_compile) 2>conftest.er1
15892 ac_status=$?
15893 grep -v '^ *+' conftest.er1 >conftest.err
15894 rm -f conftest.er1
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } &&
15898 { ac_try='test -z "$ac_cxx_werror_flag"
15899 || test ! -s conftest.err'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15902 ac_status=$?
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; } &&
15905 { ac_try='test -s conftest.$ac_objext'
15906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15907 (eval $ac_try) 2>&5
15908 ac_status=$?
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); }; }; then
15911 glibcxx_cv_func__logf_use=yes
15912 else
15913 echo "$as_me: failed program was:" >&5
15914 sed 's/^/| /' conftest.$ac_ext >&5
15916 glibcxx_cv_func__logf_use=no
15918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15919 ac_ext=c
15920 ac_cpp='$CPP $CPPFLAGS'
15921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15930 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15932 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15934 for ac_func in _logf
15936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15937 echo "$as_me:$LINENO: checking for $ac_func" >&5
15938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15939 if eval "test \"\${$as_ac_var+set}\" = set"; then
15940 echo $ECHO_N "(cached) $ECHO_C" >&6
15941 else
15942 if test x$gcc_no_link = xyes; then
15943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15945 { (exit 1); exit 1; }; }
15947 cat >conftest.$ac_ext <<_ACEOF
15948 /* confdefs.h. */
15949 _ACEOF
15950 cat confdefs.h >>conftest.$ac_ext
15951 cat >>conftest.$ac_ext <<_ACEOF
15952 /* end confdefs.h. */
15953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15955 #define $ac_func innocuous_$ac_func
15957 /* System header to define __stub macros and hopefully few prototypes,
15958 which can conflict with char $ac_func (); below.
15959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15960 <limits.h> exists even on freestanding compilers. */
15962 #ifdef __STDC__
15963 # include <limits.h>
15964 #else
15965 # include <assert.h>
15966 #endif
15968 #undef $ac_func
15970 /* Override any gcc2 internal prototype to avoid an error. */
15971 #ifdef __cplusplus
15972 extern "C"
15974 #endif
15975 /* We use char because int might match the return type of a gcc2
15976 builtin and then its argument prototype would still apply. */
15977 char $ac_func ();
15978 /* The GNU C library defines this for functions which it implements
15979 to always fail with ENOSYS. Some functions are actually named
15980 something starting with __ and the normal name is an alias. */
15981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15982 choke me
15983 #else
15984 char (*f) () = $ac_func;
15985 #endif
15986 #ifdef __cplusplus
15988 #endif
15991 main ()
15993 return f != $ac_func;
15995 return 0;
15997 _ACEOF
15998 rm -f conftest.$ac_objext conftest$ac_exeext
15999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16000 (eval $ac_link) 2>conftest.er1
16001 ac_status=$?
16002 grep -v '^ *+' conftest.er1 >conftest.err
16003 rm -f conftest.er1
16004 cat conftest.err >&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); } &&
16007 { ac_try='test -z "$ac_c_werror_flag"
16008 || test ! -s conftest.err'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16011 ac_status=$?
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; } &&
16014 { ac_try='test -s conftest$ac_exeext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16017 ac_status=$?
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16020 eval "$as_ac_var=yes"
16021 else
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.$ac_ext >&5
16025 eval "$as_ac_var=no"
16027 rm -f conftest.err conftest.$ac_objext \
16028 conftest$ac_exeext conftest.$ac_ext
16030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16032 if test `eval echo '${'$as_ac_var'}'` = yes; then
16033 cat >>confdefs.h <<_ACEOF
16034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16035 _ACEOF
16038 done
16048 echo "$as_me:$LINENO: checking for log10f declaration" >&5
16049 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16050 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16051 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16052 echo $ECHO_N "(cached) $ECHO_C" >&6
16053 else
16057 ac_ext=cc
16058 ac_cpp='$CXXCPP $CPPFLAGS'
16059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16063 cat >conftest.$ac_ext <<_ACEOF
16064 /* confdefs.h. */
16065 _ACEOF
16066 cat confdefs.h >>conftest.$ac_ext
16067 cat >>conftest.$ac_ext <<_ACEOF
16068 /* end confdefs.h. */
16069 #include <math.h>
16070 #ifdef HAVE_IEEEFP_H
16071 #include <ieeefp.h>
16072 #endif
16075 main ()
16077 log10f(0);
16079 return 0;
16081 _ACEOF
16082 rm -f conftest.$ac_objext
16083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16084 (eval $ac_compile) 2>conftest.er1
16085 ac_status=$?
16086 grep -v '^ *+' conftest.er1 >conftest.err
16087 rm -f conftest.er1
16088 cat conftest.err >&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); } &&
16091 { ac_try='test -z "$ac_cxx_werror_flag"
16092 || test ! -s conftest.err'
16093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16094 (eval $ac_try) 2>&5
16095 ac_status=$?
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }; } &&
16098 { ac_try='test -s conftest.$ac_objext'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16101 ac_status=$?
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; }; then
16104 glibcxx_cv_func_log10f_use=yes
16105 else
16106 echo "$as_me: failed program was:" >&5
16107 sed 's/^/| /' conftest.$ac_ext >&5
16109 glibcxx_cv_func_log10f_use=no
16111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16112 ac_ext=c
16113 ac_cpp='$CPP $CPPFLAGS'
16114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16123 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16125 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16127 for ac_func in log10f
16129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16130 echo "$as_me:$LINENO: checking for $ac_func" >&5
16131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16132 if eval "test \"\${$as_ac_var+set}\" = set"; then
16133 echo $ECHO_N "(cached) $ECHO_C" >&6
16134 else
16135 if test x$gcc_no_link = xyes; then
16136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16138 { (exit 1); exit 1; }; }
16140 cat >conftest.$ac_ext <<_ACEOF
16141 /* confdefs.h. */
16142 _ACEOF
16143 cat confdefs.h >>conftest.$ac_ext
16144 cat >>conftest.$ac_ext <<_ACEOF
16145 /* end confdefs.h. */
16146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16148 #define $ac_func innocuous_$ac_func
16150 /* System header to define __stub macros and hopefully few prototypes,
16151 which can conflict with char $ac_func (); below.
16152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16153 <limits.h> exists even on freestanding compilers. */
16155 #ifdef __STDC__
16156 # include <limits.h>
16157 #else
16158 # include <assert.h>
16159 #endif
16161 #undef $ac_func
16163 /* Override any gcc2 internal prototype to avoid an error. */
16164 #ifdef __cplusplus
16165 extern "C"
16167 #endif
16168 /* We use char because int might match the return type of a gcc2
16169 builtin and then its argument prototype would still apply. */
16170 char $ac_func ();
16171 /* The GNU C library defines this for functions which it implements
16172 to always fail with ENOSYS. Some functions are actually named
16173 something starting with __ and the normal name is an alias. */
16174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16175 choke me
16176 #else
16177 char (*f) () = $ac_func;
16178 #endif
16179 #ifdef __cplusplus
16181 #endif
16184 main ()
16186 return f != $ac_func;
16188 return 0;
16190 _ACEOF
16191 rm -f conftest.$ac_objext conftest$ac_exeext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16193 (eval $ac_link) 2>conftest.er1
16194 ac_status=$?
16195 grep -v '^ *+' conftest.er1 >conftest.err
16196 rm -f conftest.er1
16197 cat conftest.err >&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try='test -z "$ac_c_werror_flag"
16201 || test ! -s conftest.err'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16204 ac_status=$?
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; } &&
16207 { ac_try='test -s conftest$ac_exeext'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16210 ac_status=$?
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16213 eval "$as_ac_var=yes"
16214 else
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.$ac_ext >&5
16218 eval "$as_ac_var=no"
16220 rm -f conftest.err conftest.$ac_objext \
16221 conftest$ac_exeext conftest.$ac_ext
16223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16225 if test `eval echo '${'$as_ac_var'}'` = yes; then
16226 cat >>confdefs.h <<_ACEOF
16227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16228 _ACEOF
16231 done
16233 else
16235 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16236 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16237 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16238 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 else
16244 ac_ext=cc
16245 ac_cpp='$CXXCPP $CPPFLAGS'
16246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16250 cat >conftest.$ac_ext <<_ACEOF
16251 /* confdefs.h. */
16252 _ACEOF
16253 cat confdefs.h >>conftest.$ac_ext
16254 cat >>conftest.$ac_ext <<_ACEOF
16255 /* end confdefs.h. */
16256 #include <math.h>
16257 #ifdef HAVE_IEEEFP_H
16258 #include <ieeefp.h>
16259 #endif
16262 main ()
16264 _log10f(0);
16266 return 0;
16268 _ACEOF
16269 rm -f conftest.$ac_objext
16270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16271 (eval $ac_compile) 2>conftest.er1
16272 ac_status=$?
16273 grep -v '^ *+' conftest.er1 >conftest.err
16274 rm -f conftest.er1
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } &&
16278 { ac_try='test -z "$ac_cxx_werror_flag"
16279 || test ! -s conftest.err'
16280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16281 (eval $ac_try) 2>&5
16282 ac_status=$?
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); }; } &&
16285 { ac_try='test -s conftest.$ac_objext'
16286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16287 (eval $ac_try) 2>&5
16288 ac_status=$?
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); }; }; then
16291 glibcxx_cv_func__log10f_use=yes
16292 else
16293 echo "$as_me: failed program was:" >&5
16294 sed 's/^/| /' conftest.$ac_ext >&5
16296 glibcxx_cv_func__log10f_use=no
16298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16299 ac_ext=c
16300 ac_cpp='$CPP $CPPFLAGS'
16301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16310 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16312 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16314 for ac_func in _log10f
16316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16317 echo "$as_me:$LINENO: checking for $ac_func" >&5
16318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16319 if eval "test \"\${$as_ac_var+set}\" = set"; then
16320 echo $ECHO_N "(cached) $ECHO_C" >&6
16321 else
16322 if test x$gcc_no_link = xyes; then
16323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16325 { (exit 1); exit 1; }; }
16327 cat >conftest.$ac_ext <<_ACEOF
16328 /* confdefs.h. */
16329 _ACEOF
16330 cat confdefs.h >>conftest.$ac_ext
16331 cat >>conftest.$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16335 #define $ac_func innocuous_$ac_func
16337 /* System header to define __stub macros and hopefully few prototypes,
16338 which can conflict with char $ac_func (); below.
16339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16340 <limits.h> exists even on freestanding compilers. */
16342 #ifdef __STDC__
16343 # include <limits.h>
16344 #else
16345 # include <assert.h>
16346 #endif
16348 #undef $ac_func
16350 /* Override any gcc2 internal prototype to avoid an error. */
16351 #ifdef __cplusplus
16352 extern "C"
16354 #endif
16355 /* We use char because int might match the return type of a gcc2
16356 builtin and then its argument prototype would still apply. */
16357 char $ac_func ();
16358 /* The GNU C library defines this for functions which it implements
16359 to always fail with ENOSYS. Some functions are actually named
16360 something starting with __ and the normal name is an alias. */
16361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16362 choke me
16363 #else
16364 char (*f) () = $ac_func;
16365 #endif
16366 #ifdef __cplusplus
16368 #endif
16371 main ()
16373 return f != $ac_func;
16375 return 0;
16377 _ACEOF
16378 rm -f conftest.$ac_objext conftest$ac_exeext
16379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16380 (eval $ac_link) 2>conftest.er1
16381 ac_status=$?
16382 grep -v '^ *+' conftest.er1 >conftest.err
16383 rm -f conftest.er1
16384 cat conftest.err >&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try='test -z "$ac_c_werror_flag"
16388 || test ! -s conftest.err'
16389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16390 (eval $ac_try) 2>&5
16391 ac_status=$?
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; } &&
16394 { ac_try='test -s conftest$ac_exeext'
16395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16396 (eval $ac_try) 2>&5
16397 ac_status=$?
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); }; }; then
16400 eval "$as_ac_var=yes"
16401 else
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.$ac_ext >&5
16405 eval "$as_ac_var=no"
16407 rm -f conftest.err conftest.$ac_objext \
16408 conftest$ac_exeext conftest.$ac_ext
16410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16412 if test `eval echo '${'$as_ac_var'}'` = yes; then
16413 cat >>confdefs.h <<_ACEOF
16414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16415 _ACEOF
16418 done
16428 echo "$as_me:$LINENO: checking for modff declaration" >&5
16429 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16430 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16431 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16432 echo $ECHO_N "(cached) $ECHO_C" >&6
16433 else
16437 ac_ext=cc
16438 ac_cpp='$CXXCPP $CPPFLAGS'
16439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16443 cat >conftest.$ac_ext <<_ACEOF
16444 /* confdefs.h. */
16445 _ACEOF
16446 cat confdefs.h >>conftest.$ac_ext
16447 cat >>conftest.$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16449 #include <math.h>
16451 main ()
16453 modff(0, 0);
16455 return 0;
16457 _ACEOF
16458 rm -f conftest.$ac_objext
16459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16460 (eval $ac_compile) 2>conftest.er1
16461 ac_status=$?
16462 grep -v '^ *+' conftest.er1 >conftest.err
16463 rm -f conftest.er1
16464 cat conftest.err >&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } &&
16467 { ac_try='test -z "$ac_cxx_werror_flag"
16468 || test ! -s conftest.err'
16469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16470 (eval $ac_try) 2>&5
16471 ac_status=$?
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); }; } &&
16474 { ac_try='test -s conftest.$ac_objext'
16475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16476 (eval $ac_try) 2>&5
16477 ac_status=$?
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); }; }; then
16480 glibcxx_cv_func_modff_use=yes
16481 else
16482 echo "$as_me: failed program was:" >&5
16483 sed 's/^/| /' conftest.$ac_ext >&5
16485 glibcxx_cv_func_modff_use=no
16487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16488 ac_ext=c
16489 ac_cpp='$CPP $CPPFLAGS'
16490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16498 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16499 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16501 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16503 for ac_func in modff
16505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16506 echo "$as_me:$LINENO: checking for $ac_func" >&5
16507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16508 if eval "test \"\${$as_ac_var+set}\" = set"; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 else
16511 if test x$gcc_no_link = xyes; then
16512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16514 { (exit 1); exit 1; }; }
16516 cat >conftest.$ac_ext <<_ACEOF
16517 /* confdefs.h. */
16518 _ACEOF
16519 cat confdefs.h >>conftest.$ac_ext
16520 cat >>conftest.$ac_ext <<_ACEOF
16521 /* end confdefs.h. */
16522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16524 #define $ac_func innocuous_$ac_func
16526 /* System header to define __stub macros and hopefully few prototypes,
16527 which can conflict with char $ac_func (); below.
16528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16529 <limits.h> exists even on freestanding compilers. */
16531 #ifdef __STDC__
16532 # include <limits.h>
16533 #else
16534 # include <assert.h>
16535 #endif
16537 #undef $ac_func
16539 /* Override any gcc2 internal prototype to avoid an error. */
16540 #ifdef __cplusplus
16541 extern "C"
16543 #endif
16544 /* We use char because int might match the return type of a gcc2
16545 builtin and then its argument prototype would still apply. */
16546 char $ac_func ();
16547 /* The GNU C library defines this for functions which it implements
16548 to always fail with ENOSYS. Some functions are actually named
16549 something starting with __ and the normal name is an alias. */
16550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16551 choke me
16552 #else
16553 char (*f) () = $ac_func;
16554 #endif
16555 #ifdef __cplusplus
16557 #endif
16560 main ()
16562 return f != $ac_func;
16564 return 0;
16566 _ACEOF
16567 rm -f conftest.$ac_objext conftest$ac_exeext
16568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16569 (eval $ac_link) 2>conftest.er1
16570 ac_status=$?
16571 grep -v '^ *+' conftest.er1 >conftest.err
16572 rm -f conftest.er1
16573 cat conftest.err >&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } &&
16576 { ac_try='test -z "$ac_c_werror_flag"
16577 || test ! -s conftest.err'
16578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16579 (eval $ac_try) 2>&5
16580 ac_status=$?
16581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582 (exit $ac_status); }; } &&
16583 { ac_try='test -s conftest$ac_exeext'
16584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16585 (eval $ac_try) 2>&5
16586 ac_status=$?
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); }; }; then
16589 eval "$as_ac_var=yes"
16590 else
16591 echo "$as_me: failed program was:" >&5
16592 sed 's/^/| /' conftest.$ac_ext >&5
16594 eval "$as_ac_var=no"
16596 rm -f conftest.err conftest.$ac_objext \
16597 conftest$ac_exeext conftest.$ac_ext
16599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16601 if test `eval echo '${'$as_ac_var'}'` = yes; then
16602 cat >>confdefs.h <<_ACEOF
16603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16604 _ACEOF
16607 done
16609 else
16611 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16612 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16613 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16614 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16615 echo $ECHO_N "(cached) $ECHO_C" >&6
16616 else
16620 ac_ext=cc
16621 ac_cpp='$CXXCPP $CPPFLAGS'
16622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16626 cat >conftest.$ac_ext <<_ACEOF
16627 /* confdefs.h. */
16628 _ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16632 #include <math.h>
16634 main ()
16636 _modff(0, 0);
16638 return 0;
16640 _ACEOF
16641 rm -f conftest.$ac_objext
16642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16643 (eval $ac_compile) 2>conftest.er1
16644 ac_status=$?
16645 grep -v '^ *+' conftest.er1 >conftest.err
16646 rm -f conftest.er1
16647 cat conftest.err >&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } &&
16650 { ac_try='test -z "$ac_cxx_werror_flag"
16651 || test ! -s conftest.err'
16652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16653 (eval $ac_try) 2>&5
16654 ac_status=$?
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); }; } &&
16657 { ac_try='test -s conftest.$ac_objext'
16658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16659 (eval $ac_try) 2>&5
16660 ac_status=$?
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }; }; then
16663 glibcxx_cv_func__modff_use=yes
16664 else
16665 echo "$as_me: failed program was:" >&5
16666 sed 's/^/| /' conftest.$ac_ext >&5
16668 glibcxx_cv_func__modff_use=no
16670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16671 ac_ext=c
16672 ac_cpp='$CPP $CPPFLAGS'
16673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16681 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16682 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16684 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16686 for ac_func in _modff
16688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16689 echo "$as_me:$LINENO: checking for $ac_func" >&5
16690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16691 if eval "test \"\${$as_ac_var+set}\" = set"; then
16692 echo $ECHO_N "(cached) $ECHO_C" >&6
16693 else
16694 if test x$gcc_no_link = xyes; then
16695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16697 { (exit 1); exit 1; }; }
16699 cat >conftest.$ac_ext <<_ACEOF
16700 /* confdefs.h. */
16701 _ACEOF
16702 cat confdefs.h >>conftest.$ac_ext
16703 cat >>conftest.$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16707 #define $ac_func innocuous_$ac_func
16709 /* System header to define __stub macros and hopefully few prototypes,
16710 which can conflict with char $ac_func (); below.
16711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16712 <limits.h> exists even on freestanding compilers. */
16714 #ifdef __STDC__
16715 # include <limits.h>
16716 #else
16717 # include <assert.h>
16718 #endif
16720 #undef $ac_func
16722 /* Override any gcc2 internal prototype to avoid an error. */
16723 #ifdef __cplusplus
16724 extern "C"
16726 #endif
16727 /* We use char because int might match the return type of a gcc2
16728 builtin and then its argument prototype would still apply. */
16729 char $ac_func ();
16730 /* The GNU C library defines this for functions which it implements
16731 to always fail with ENOSYS. Some functions are actually named
16732 something starting with __ and the normal name is an alias. */
16733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16734 choke me
16735 #else
16736 char (*f) () = $ac_func;
16737 #endif
16738 #ifdef __cplusplus
16740 #endif
16743 main ()
16745 return f != $ac_func;
16747 return 0;
16749 _ACEOF
16750 rm -f conftest.$ac_objext conftest$ac_exeext
16751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16752 (eval $ac_link) 2>conftest.er1
16753 ac_status=$?
16754 grep -v '^ *+' conftest.er1 >conftest.err
16755 rm -f conftest.er1
16756 cat conftest.err >&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); } &&
16759 { ac_try='test -z "$ac_c_werror_flag"
16760 || test ! -s conftest.err'
16761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16762 (eval $ac_try) 2>&5
16763 ac_status=$?
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); }; } &&
16766 { ac_try='test -s conftest$ac_exeext'
16767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16768 (eval $ac_try) 2>&5
16769 ac_status=$?
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); }; }; then
16772 eval "$as_ac_var=yes"
16773 else
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.$ac_ext >&5
16777 eval "$as_ac_var=no"
16779 rm -f conftest.err conftest.$ac_objext \
16780 conftest$ac_exeext conftest.$ac_ext
16782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16784 if test `eval echo '${'$as_ac_var'}'` = yes; then
16785 cat >>confdefs.h <<_ACEOF
16786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16787 _ACEOF
16790 done
16800 echo "$as_me:$LINENO: checking for modf declaration" >&5
16801 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16802 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16803 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16805 else
16809 ac_ext=cc
16810 ac_cpp='$CXXCPP $CPPFLAGS'
16811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16815 cat >conftest.$ac_ext <<_ACEOF
16816 /* confdefs.h. */
16817 _ACEOF
16818 cat confdefs.h >>conftest.$ac_ext
16819 cat >>conftest.$ac_ext <<_ACEOF
16820 /* end confdefs.h. */
16821 #include <math.h>
16823 main ()
16825 modf(0, 0);
16827 return 0;
16829 _ACEOF
16830 rm -f conftest.$ac_objext
16831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16832 (eval $ac_compile) 2>conftest.er1
16833 ac_status=$?
16834 grep -v '^ *+' conftest.er1 >conftest.err
16835 rm -f conftest.er1
16836 cat conftest.err >&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); } &&
16839 { ac_try='test -z "$ac_cxx_werror_flag"
16840 || test ! -s conftest.err'
16841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16842 (eval $ac_try) 2>&5
16843 ac_status=$?
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); }; } &&
16846 { ac_try='test -s conftest.$ac_objext'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16849 ac_status=$?
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; }; then
16852 glibcxx_cv_func_modf_use=yes
16853 else
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.$ac_ext >&5
16857 glibcxx_cv_func_modf_use=no
16859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16860 ac_ext=c
16861 ac_cpp='$CPP $CPPFLAGS'
16862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16871 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16873 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16875 for ac_func in modf
16877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16878 echo "$as_me:$LINENO: checking for $ac_func" >&5
16879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16880 if eval "test \"\${$as_ac_var+set}\" = set"; then
16881 echo $ECHO_N "(cached) $ECHO_C" >&6
16882 else
16883 if test x$gcc_no_link = xyes; then
16884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16886 { (exit 1); exit 1; }; }
16888 cat >conftest.$ac_ext <<_ACEOF
16889 /* confdefs.h. */
16890 _ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16896 #define $ac_func innocuous_$ac_func
16898 /* System header to define __stub macros and hopefully few prototypes,
16899 which can conflict with char $ac_func (); below.
16900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16901 <limits.h> exists even on freestanding compilers. */
16903 #ifdef __STDC__
16904 # include <limits.h>
16905 #else
16906 # include <assert.h>
16907 #endif
16909 #undef $ac_func
16911 /* Override any gcc2 internal prototype to avoid an error. */
16912 #ifdef __cplusplus
16913 extern "C"
16915 #endif
16916 /* We use char because int might match the return type of a gcc2
16917 builtin and then its argument prototype would still apply. */
16918 char $ac_func ();
16919 /* The GNU C library defines this for functions which it implements
16920 to always fail with ENOSYS. Some functions are actually named
16921 something starting with __ and the normal name is an alias. */
16922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16923 choke me
16924 #else
16925 char (*f) () = $ac_func;
16926 #endif
16927 #ifdef __cplusplus
16929 #endif
16932 main ()
16934 return f != $ac_func;
16936 return 0;
16938 _ACEOF
16939 rm -f conftest.$ac_objext conftest$ac_exeext
16940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16941 (eval $ac_link) 2>conftest.er1
16942 ac_status=$?
16943 grep -v '^ *+' conftest.er1 >conftest.err
16944 rm -f conftest.er1
16945 cat conftest.err >&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } &&
16948 { ac_try='test -z "$ac_c_werror_flag"
16949 || test ! -s conftest.err'
16950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16951 (eval $ac_try) 2>&5
16952 ac_status=$?
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); }; } &&
16955 { ac_try='test -s conftest$ac_exeext'
16956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16957 (eval $ac_try) 2>&5
16958 ac_status=$?
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); }; }; then
16961 eval "$as_ac_var=yes"
16962 else
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.$ac_ext >&5
16966 eval "$as_ac_var=no"
16968 rm -f conftest.err conftest.$ac_objext \
16969 conftest$ac_exeext conftest.$ac_ext
16971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16973 if test `eval echo '${'$as_ac_var'}'` = yes; then
16974 cat >>confdefs.h <<_ACEOF
16975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16976 _ACEOF
16979 done
16981 else
16983 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16984 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16985 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16986 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16987 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 else
16992 ac_ext=cc
16993 ac_cpp='$CXXCPP $CPPFLAGS'
16994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16998 cat >conftest.$ac_ext <<_ACEOF
16999 /* confdefs.h. */
17000 _ACEOF
17001 cat confdefs.h >>conftest.$ac_ext
17002 cat >>conftest.$ac_ext <<_ACEOF
17003 /* end confdefs.h. */
17004 #include <math.h>
17006 main ()
17008 _modf(0, 0);
17010 return 0;
17012 _ACEOF
17013 rm -f conftest.$ac_objext
17014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17015 (eval $ac_compile) 2>conftest.er1
17016 ac_status=$?
17017 grep -v '^ *+' conftest.er1 >conftest.err
17018 rm -f conftest.er1
17019 cat conftest.err >&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } &&
17022 { ac_try='test -z "$ac_cxx_werror_flag"
17023 || test ! -s conftest.err'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17026 ac_status=$?
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; } &&
17029 { ac_try='test -s conftest.$ac_objext'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17032 ac_status=$?
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; }; then
17035 glibcxx_cv_func__modf_use=yes
17036 else
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.$ac_ext >&5
17040 glibcxx_cv_func__modf_use=no
17042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17043 ac_ext=c
17044 ac_cpp='$CPP $CPPFLAGS'
17045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17054 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17056 if test x$glibcxx_cv_func__modf_use = x"yes"; then
17058 for ac_func in _modf
17060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17061 echo "$as_me:$LINENO: checking for $ac_func" >&5
17062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17063 if eval "test \"\${$as_ac_var+set}\" = set"; then
17064 echo $ECHO_N "(cached) $ECHO_C" >&6
17065 else
17066 if test x$gcc_no_link = xyes; then
17067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17069 { (exit 1); exit 1; }; }
17071 cat >conftest.$ac_ext <<_ACEOF
17072 /* confdefs.h. */
17073 _ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17079 #define $ac_func innocuous_$ac_func
17081 /* System header to define __stub macros and hopefully few prototypes,
17082 which can conflict with char $ac_func (); below.
17083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17084 <limits.h> exists even on freestanding compilers. */
17086 #ifdef __STDC__
17087 # include <limits.h>
17088 #else
17089 # include <assert.h>
17090 #endif
17092 #undef $ac_func
17094 /* Override any gcc2 internal prototype to avoid an error. */
17095 #ifdef __cplusplus
17096 extern "C"
17098 #endif
17099 /* We use char because int might match the return type of a gcc2
17100 builtin and then its argument prototype would still apply. */
17101 char $ac_func ();
17102 /* The GNU C library defines this for functions which it implements
17103 to always fail with ENOSYS. Some functions are actually named
17104 something starting with __ and the normal name is an alias. */
17105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17106 choke me
17107 #else
17108 char (*f) () = $ac_func;
17109 #endif
17110 #ifdef __cplusplus
17112 #endif
17115 main ()
17117 return f != $ac_func;
17119 return 0;
17121 _ACEOF
17122 rm -f conftest.$ac_objext conftest$ac_exeext
17123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17124 (eval $ac_link) 2>conftest.er1
17125 ac_status=$?
17126 grep -v '^ *+' conftest.er1 >conftest.err
17127 rm -f conftest.er1
17128 cat conftest.err >&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } &&
17131 { ac_try='test -z "$ac_c_werror_flag"
17132 || test ! -s conftest.err'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17135 ac_status=$?
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; } &&
17138 { ac_try='test -s conftest$ac_exeext'
17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17140 (eval $ac_try) 2>&5
17141 ac_status=$?
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); }; }; then
17144 eval "$as_ac_var=yes"
17145 else
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.$ac_ext >&5
17149 eval "$as_ac_var=no"
17151 rm -f conftest.err conftest.$ac_objext \
17152 conftest$ac_exeext conftest.$ac_ext
17154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17156 if test `eval echo '${'$as_ac_var'}'` = yes; then
17157 cat >>confdefs.h <<_ACEOF
17158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17159 _ACEOF
17162 done
17172 echo "$as_me:$LINENO: checking for powf declaration" >&5
17173 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17174 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17175 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17176 echo $ECHO_N "(cached) $ECHO_C" >&6
17177 else
17181 ac_ext=cc
17182 ac_cpp='$CXXCPP $CPPFLAGS'
17183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17187 cat >conftest.$ac_ext <<_ACEOF
17188 /* confdefs.h. */
17189 _ACEOF
17190 cat confdefs.h >>conftest.$ac_ext
17191 cat >>conftest.$ac_ext <<_ACEOF
17192 /* end confdefs.h. */
17193 #include <math.h>
17195 main ()
17197 powf(0, 0);
17199 return 0;
17201 _ACEOF
17202 rm -f conftest.$ac_objext
17203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17204 (eval $ac_compile) 2>conftest.er1
17205 ac_status=$?
17206 grep -v '^ *+' conftest.er1 >conftest.err
17207 rm -f conftest.er1
17208 cat conftest.err >&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } &&
17211 { ac_try='test -z "$ac_cxx_werror_flag"
17212 || test ! -s conftest.err'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17215 ac_status=$?
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; } &&
17218 { ac_try='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17221 ac_status=$?
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 glibcxx_cv_func_powf_use=yes
17225 else
17226 echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.$ac_ext >&5
17229 glibcxx_cv_func_powf_use=no
17231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17232 ac_ext=c
17233 ac_cpp='$CPP $CPPFLAGS'
17234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17243 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17245 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17247 for ac_func in powf
17249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17250 echo "$as_me:$LINENO: checking for $ac_func" >&5
17251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17252 if eval "test \"\${$as_ac_var+set}\" = set"; then
17253 echo $ECHO_N "(cached) $ECHO_C" >&6
17254 else
17255 if test x$gcc_no_link = xyes; then
17256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17258 { (exit 1); exit 1; }; }
17260 cat >conftest.$ac_ext <<_ACEOF
17261 /* confdefs.h. */
17262 _ACEOF
17263 cat confdefs.h >>conftest.$ac_ext
17264 cat >>conftest.$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17268 #define $ac_func innocuous_$ac_func
17270 /* System header to define __stub macros and hopefully few prototypes,
17271 which can conflict with char $ac_func (); below.
17272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17273 <limits.h> exists even on freestanding compilers. */
17275 #ifdef __STDC__
17276 # include <limits.h>
17277 #else
17278 # include <assert.h>
17279 #endif
17281 #undef $ac_func
17283 /* Override any gcc2 internal prototype to avoid an error. */
17284 #ifdef __cplusplus
17285 extern "C"
17287 #endif
17288 /* We use char because int might match the return type of a gcc2
17289 builtin and then its argument prototype would still apply. */
17290 char $ac_func ();
17291 /* The GNU C library defines this for functions which it implements
17292 to always fail with ENOSYS. Some functions are actually named
17293 something starting with __ and the normal name is an alias. */
17294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17295 choke me
17296 #else
17297 char (*f) () = $ac_func;
17298 #endif
17299 #ifdef __cplusplus
17301 #endif
17304 main ()
17306 return f != $ac_func;
17308 return 0;
17310 _ACEOF
17311 rm -f conftest.$ac_objext conftest$ac_exeext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17313 (eval $ac_link) 2>conftest.er1
17314 ac_status=$?
17315 grep -v '^ *+' conftest.er1 >conftest.err
17316 rm -f conftest.er1
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try='test -z "$ac_c_werror_flag"
17321 || test ! -s conftest.err'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17324 ac_status=$?
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try='test -s conftest$ac_exeext'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17330 ac_status=$?
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17333 eval "$as_ac_var=yes"
17334 else
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17338 eval "$as_ac_var=no"
17340 rm -f conftest.err conftest.$ac_objext \
17341 conftest$ac_exeext conftest.$ac_ext
17343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17345 if test `eval echo '${'$as_ac_var'}'` = yes; then
17346 cat >>confdefs.h <<_ACEOF
17347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17348 _ACEOF
17351 done
17353 else
17355 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17356 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17357 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17358 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17359 echo $ECHO_N "(cached) $ECHO_C" >&6
17360 else
17364 ac_ext=cc
17365 ac_cpp='$CXXCPP $CPPFLAGS'
17366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17370 cat >conftest.$ac_ext <<_ACEOF
17371 /* confdefs.h. */
17372 _ACEOF
17373 cat confdefs.h >>conftest.$ac_ext
17374 cat >>conftest.$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17376 #include <math.h>
17378 main ()
17380 _powf(0, 0);
17382 return 0;
17384 _ACEOF
17385 rm -f conftest.$ac_objext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17387 (eval $ac_compile) 2>conftest.er1
17388 ac_status=$?
17389 grep -v '^ *+' conftest.er1 >conftest.err
17390 rm -f conftest.er1
17391 cat conftest.err >&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } &&
17394 { ac_try='test -z "$ac_cxx_werror_flag"
17395 || test ! -s conftest.err'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17398 ac_status=$?
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try='test -s conftest.$ac_objext'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17404 ac_status=$?
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; }; then
17407 glibcxx_cv_func__powf_use=yes
17408 else
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17412 glibcxx_cv_func__powf_use=no
17414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17415 ac_ext=c
17416 ac_cpp='$CPP $CPPFLAGS'
17417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17426 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17428 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17430 for ac_func in _powf
17432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17433 echo "$as_me:$LINENO: checking for $ac_func" >&5
17434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17435 if eval "test \"\${$as_ac_var+set}\" = set"; then
17436 echo $ECHO_N "(cached) $ECHO_C" >&6
17437 else
17438 if test x$gcc_no_link = xyes; then
17439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17441 { (exit 1); exit 1; }; }
17443 cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h. */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17451 #define $ac_func innocuous_$ac_func
17453 /* System header to define __stub macros and hopefully few prototypes,
17454 which can conflict with char $ac_func (); below.
17455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17456 <limits.h> exists even on freestanding compilers. */
17458 #ifdef __STDC__
17459 # include <limits.h>
17460 #else
17461 # include <assert.h>
17462 #endif
17464 #undef $ac_func
17466 /* Override any gcc2 internal prototype to avoid an error. */
17467 #ifdef __cplusplus
17468 extern "C"
17470 #endif
17471 /* We use char because int might match the return type of a gcc2
17472 builtin and then its argument prototype would still apply. */
17473 char $ac_func ();
17474 /* The GNU C library defines this for functions which it implements
17475 to always fail with ENOSYS. Some functions are actually named
17476 something starting with __ and the normal name is an alias. */
17477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17478 choke me
17479 #else
17480 char (*f) () = $ac_func;
17481 #endif
17482 #ifdef __cplusplus
17484 #endif
17487 main ()
17489 return f != $ac_func;
17491 return 0;
17493 _ACEOF
17494 rm -f conftest.$ac_objext conftest$ac_exeext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17496 (eval $ac_link) 2>conftest.er1
17497 ac_status=$?
17498 grep -v '^ *+' conftest.er1 >conftest.err
17499 rm -f conftest.er1
17500 cat conftest.err >&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } &&
17503 { ac_try='test -z "$ac_c_werror_flag"
17504 || test ! -s conftest.err'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17507 ac_status=$?
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; } &&
17510 { ac_try='test -s conftest$ac_exeext'
17511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17512 (eval $ac_try) 2>&5
17513 ac_status=$?
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); }; }; then
17516 eval "$as_ac_var=yes"
17517 else
17518 echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.$ac_ext >&5
17521 eval "$as_ac_var=no"
17523 rm -f conftest.err conftest.$ac_objext \
17524 conftest$ac_exeext conftest.$ac_ext
17526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17528 if test `eval echo '${'$as_ac_var'}'` = yes; then
17529 cat >>confdefs.h <<_ACEOF
17530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17531 _ACEOF
17534 done
17544 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17545 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17546 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17547 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17548 echo $ECHO_N "(cached) $ECHO_C" >&6
17549 else
17553 ac_ext=cc
17554 ac_cpp='$CXXCPP $CPPFLAGS'
17555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17559 cat >conftest.$ac_ext <<_ACEOF
17560 /* confdefs.h. */
17561 _ACEOF
17562 cat confdefs.h >>conftest.$ac_ext
17563 cat >>conftest.$ac_ext <<_ACEOF
17564 /* end confdefs.h. */
17565 #include <math.h>
17566 #ifdef HAVE_IEEEFP_H
17567 #include <ieeefp.h>
17568 #endif
17571 main ()
17573 sqrtf(0);
17575 return 0;
17577 _ACEOF
17578 rm -f conftest.$ac_objext
17579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17580 (eval $ac_compile) 2>conftest.er1
17581 ac_status=$?
17582 grep -v '^ *+' conftest.er1 >conftest.err
17583 rm -f conftest.er1
17584 cat conftest.err >&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } &&
17587 { ac_try='test -z "$ac_cxx_werror_flag"
17588 || test ! -s conftest.err'
17589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17590 (eval $ac_try) 2>&5
17591 ac_status=$?
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); }; } &&
17594 { ac_try='test -s conftest.$ac_objext'
17595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17596 (eval $ac_try) 2>&5
17597 ac_status=$?
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); }; }; then
17600 glibcxx_cv_func_sqrtf_use=yes
17601 else
17602 echo "$as_me: failed program was:" >&5
17603 sed 's/^/| /' conftest.$ac_ext >&5
17605 glibcxx_cv_func_sqrtf_use=no
17607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17608 ac_ext=c
17609 ac_cpp='$CPP $CPPFLAGS'
17610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17619 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17621 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17623 for ac_func in sqrtf
17625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17626 echo "$as_me:$LINENO: checking for $ac_func" >&5
17627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17628 if eval "test \"\${$as_ac_var+set}\" = set"; then
17629 echo $ECHO_N "(cached) $ECHO_C" >&6
17630 else
17631 if test x$gcc_no_link = xyes; then
17632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17634 { (exit 1); exit 1; }; }
17636 cat >conftest.$ac_ext <<_ACEOF
17637 /* confdefs.h. */
17638 _ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17644 #define $ac_func innocuous_$ac_func
17646 /* System header to define __stub macros and hopefully few prototypes,
17647 which can conflict with char $ac_func (); below.
17648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17649 <limits.h> exists even on freestanding compilers. */
17651 #ifdef __STDC__
17652 # include <limits.h>
17653 #else
17654 # include <assert.h>
17655 #endif
17657 #undef $ac_func
17659 /* Override any gcc2 internal prototype to avoid an error. */
17660 #ifdef __cplusplus
17661 extern "C"
17663 #endif
17664 /* We use char because int might match the return type of a gcc2
17665 builtin and then its argument prototype would still apply. */
17666 char $ac_func ();
17667 /* The GNU C library defines this for functions which it implements
17668 to always fail with ENOSYS. Some functions are actually named
17669 something starting with __ and the normal name is an alias. */
17670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17671 choke me
17672 #else
17673 char (*f) () = $ac_func;
17674 #endif
17675 #ifdef __cplusplus
17677 #endif
17680 main ()
17682 return f != $ac_func;
17684 return 0;
17686 _ACEOF
17687 rm -f conftest.$ac_objext conftest$ac_exeext
17688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17689 (eval $ac_link) 2>conftest.er1
17690 ac_status=$?
17691 grep -v '^ *+' conftest.er1 >conftest.err
17692 rm -f conftest.er1
17693 cat conftest.err >&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } &&
17696 { ac_try='test -z "$ac_c_werror_flag"
17697 || test ! -s conftest.err'
17698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17699 (eval $ac_try) 2>&5
17700 ac_status=$?
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); }; } &&
17703 { ac_try='test -s conftest$ac_exeext'
17704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17705 (eval $ac_try) 2>&5
17706 ac_status=$?
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); }; }; then
17709 eval "$as_ac_var=yes"
17710 else
17711 echo "$as_me: failed program was:" >&5
17712 sed 's/^/| /' conftest.$ac_ext >&5
17714 eval "$as_ac_var=no"
17716 rm -f conftest.err conftest.$ac_objext \
17717 conftest$ac_exeext conftest.$ac_ext
17719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17721 if test `eval echo '${'$as_ac_var'}'` = yes; then
17722 cat >>confdefs.h <<_ACEOF
17723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17724 _ACEOF
17727 done
17729 else
17731 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17732 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17733 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17734 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17735 echo $ECHO_N "(cached) $ECHO_C" >&6
17736 else
17740 ac_ext=cc
17741 ac_cpp='$CXXCPP $CPPFLAGS'
17742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17746 cat >conftest.$ac_ext <<_ACEOF
17747 /* confdefs.h. */
17748 _ACEOF
17749 cat confdefs.h >>conftest.$ac_ext
17750 cat >>conftest.$ac_ext <<_ACEOF
17751 /* end confdefs.h. */
17752 #include <math.h>
17753 #ifdef HAVE_IEEEFP_H
17754 #include <ieeefp.h>
17755 #endif
17758 main ()
17760 _sqrtf(0);
17762 return 0;
17764 _ACEOF
17765 rm -f conftest.$ac_objext
17766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17767 (eval $ac_compile) 2>conftest.er1
17768 ac_status=$?
17769 grep -v '^ *+' conftest.er1 >conftest.err
17770 rm -f conftest.er1
17771 cat conftest.err >&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } &&
17774 { ac_try='test -z "$ac_cxx_werror_flag"
17775 || test ! -s conftest.err'
17776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17777 (eval $ac_try) 2>&5
17778 ac_status=$?
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); }; } &&
17781 { ac_try='test -s conftest.$ac_objext'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17784 ac_status=$?
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; }; then
17787 glibcxx_cv_func__sqrtf_use=yes
17788 else
17789 echo "$as_me: failed program was:" >&5
17790 sed 's/^/| /' conftest.$ac_ext >&5
17792 glibcxx_cv_func__sqrtf_use=no
17794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17795 ac_ext=c
17796 ac_cpp='$CPP $CPPFLAGS'
17797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17806 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17808 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17810 for ac_func in _sqrtf
17812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17813 echo "$as_me:$LINENO: checking for $ac_func" >&5
17814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17815 if eval "test \"\${$as_ac_var+set}\" = set"; then
17816 echo $ECHO_N "(cached) $ECHO_C" >&6
17817 else
17818 if test x$gcc_no_link = xyes; then
17819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17821 { (exit 1); exit 1; }; }
17823 cat >conftest.$ac_ext <<_ACEOF
17824 /* confdefs.h. */
17825 _ACEOF
17826 cat confdefs.h >>conftest.$ac_ext
17827 cat >>conftest.$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17831 #define $ac_func innocuous_$ac_func
17833 /* System header to define __stub macros and hopefully few prototypes,
17834 which can conflict with char $ac_func (); below.
17835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17836 <limits.h> exists even on freestanding compilers. */
17838 #ifdef __STDC__
17839 # include <limits.h>
17840 #else
17841 # include <assert.h>
17842 #endif
17844 #undef $ac_func
17846 /* Override any gcc2 internal prototype to avoid an error. */
17847 #ifdef __cplusplus
17848 extern "C"
17850 #endif
17851 /* We use char because int might match the return type of a gcc2
17852 builtin and then its argument prototype would still apply. */
17853 char $ac_func ();
17854 /* The GNU C library defines this for functions which it implements
17855 to always fail with ENOSYS. Some functions are actually named
17856 something starting with __ and the normal name is an alias. */
17857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17858 choke me
17859 #else
17860 char (*f) () = $ac_func;
17861 #endif
17862 #ifdef __cplusplus
17864 #endif
17867 main ()
17869 return f != $ac_func;
17871 return 0;
17873 _ACEOF
17874 rm -f conftest.$ac_objext conftest$ac_exeext
17875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17876 (eval $ac_link) 2>conftest.er1
17877 ac_status=$?
17878 grep -v '^ *+' conftest.er1 >conftest.err
17879 rm -f conftest.er1
17880 cat conftest.err >&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } &&
17883 { ac_try='test -z "$ac_c_werror_flag"
17884 || test ! -s conftest.err'
17885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886 (eval $ac_try) 2>&5
17887 ac_status=$?
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; } &&
17890 { ac_try='test -s conftest$ac_exeext'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17893 ac_status=$?
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; }; then
17896 eval "$as_ac_var=yes"
17897 else
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.$ac_ext >&5
17901 eval "$as_ac_var=no"
17903 rm -f conftest.err conftest.$ac_objext \
17904 conftest$ac_exeext conftest.$ac_ext
17906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17908 if test `eval echo '${'$as_ac_var'}'` = yes; then
17909 cat >>confdefs.h <<_ACEOF
17910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17911 _ACEOF
17914 done
17924 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17925 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17926 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17927 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17928 echo $ECHO_N "(cached) $ECHO_C" >&6
17929 else
17933 ac_ext=cc
17934 ac_cpp='$CXXCPP $CPPFLAGS'
17935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17939 cat >conftest.$ac_ext <<_ACEOF
17940 /* confdefs.h. */
17941 _ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17945 #include <math.h>
17947 main ()
17949 sincosf(0, 0, 0);
17951 return 0;
17953 _ACEOF
17954 rm -f conftest.$ac_objext
17955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17956 (eval $ac_compile) 2>conftest.er1
17957 ac_status=$?
17958 grep -v '^ *+' conftest.er1 >conftest.err
17959 rm -f conftest.er1
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } &&
17963 { ac_try='test -z "$ac_cxx_werror_flag"
17964 || test ! -s conftest.err'
17965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17966 (eval $ac_try) 2>&5
17967 ac_status=$?
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); }; } &&
17970 { ac_try='test -s conftest.$ac_objext'
17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17972 (eval $ac_try) 2>&5
17973 ac_status=$?
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; }; then
17976 glibcxx_cv_func_sincosf_use=yes
17977 else
17978 echo "$as_me: failed program was:" >&5
17979 sed 's/^/| /' conftest.$ac_ext >&5
17981 glibcxx_cv_func_sincosf_use=no
17983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17984 ac_ext=c
17985 ac_cpp='$CPP $CPPFLAGS'
17986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17995 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17997 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17999 for ac_func in sincosf
18001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18002 echo "$as_me:$LINENO: checking for $ac_func" >&5
18003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18004 if eval "test \"\${$as_ac_var+set}\" = set"; then
18005 echo $ECHO_N "(cached) $ECHO_C" >&6
18006 else
18007 if test x$gcc_no_link = xyes; then
18008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18010 { (exit 1); exit 1; }; }
18012 cat >conftest.$ac_ext <<_ACEOF
18013 /* confdefs.h. */
18014 _ACEOF
18015 cat confdefs.h >>conftest.$ac_ext
18016 cat >>conftest.$ac_ext <<_ACEOF
18017 /* end confdefs.h. */
18018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18020 #define $ac_func innocuous_$ac_func
18022 /* System header to define __stub macros and hopefully few prototypes,
18023 which can conflict with char $ac_func (); below.
18024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18025 <limits.h> exists even on freestanding compilers. */
18027 #ifdef __STDC__
18028 # include <limits.h>
18029 #else
18030 # include <assert.h>
18031 #endif
18033 #undef $ac_func
18035 /* Override any gcc2 internal prototype to avoid an error. */
18036 #ifdef __cplusplus
18037 extern "C"
18039 #endif
18040 /* We use char because int might match the return type of a gcc2
18041 builtin and then its argument prototype would still apply. */
18042 char $ac_func ();
18043 /* The GNU C library defines this for functions which it implements
18044 to always fail with ENOSYS. Some functions are actually named
18045 something starting with __ and the normal name is an alias. */
18046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18047 choke me
18048 #else
18049 char (*f) () = $ac_func;
18050 #endif
18051 #ifdef __cplusplus
18053 #endif
18056 main ()
18058 return f != $ac_func;
18060 return 0;
18062 _ACEOF
18063 rm -f conftest.$ac_objext conftest$ac_exeext
18064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18065 (eval $ac_link) 2>conftest.er1
18066 ac_status=$?
18067 grep -v '^ *+' conftest.er1 >conftest.err
18068 rm -f conftest.er1
18069 cat conftest.err >&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } &&
18072 { ac_try='test -z "$ac_c_werror_flag"
18073 || test ! -s conftest.err'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18076 ac_status=$?
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; } &&
18079 { ac_try='test -s conftest$ac_exeext'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18082 ac_status=$?
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; }; then
18085 eval "$as_ac_var=yes"
18086 else
18087 echo "$as_me: failed program was:" >&5
18088 sed 's/^/| /' conftest.$ac_ext >&5
18090 eval "$as_ac_var=no"
18092 rm -f conftest.err conftest.$ac_objext \
18093 conftest$ac_exeext conftest.$ac_ext
18095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18097 if test `eval echo '${'$as_ac_var'}'` = yes; then
18098 cat >>confdefs.h <<_ACEOF
18099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18100 _ACEOF
18103 done
18105 else
18107 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18108 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18109 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18110 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18111 echo $ECHO_N "(cached) $ECHO_C" >&6
18112 else
18116 ac_ext=cc
18117 ac_cpp='$CXXCPP $CPPFLAGS'
18118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18122 cat >conftest.$ac_ext <<_ACEOF
18123 /* confdefs.h. */
18124 _ACEOF
18125 cat confdefs.h >>conftest.$ac_ext
18126 cat >>conftest.$ac_ext <<_ACEOF
18127 /* end confdefs.h. */
18128 #include <math.h>
18130 main ()
18132 _sincosf(0, 0, 0);
18134 return 0;
18136 _ACEOF
18137 rm -f conftest.$ac_objext
18138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18139 (eval $ac_compile) 2>conftest.er1
18140 ac_status=$?
18141 grep -v '^ *+' conftest.er1 >conftest.err
18142 rm -f conftest.er1
18143 cat conftest.err >&5
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); } &&
18146 { ac_try='test -z "$ac_cxx_werror_flag"
18147 || test ! -s conftest.err'
18148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18149 (eval $ac_try) 2>&5
18150 ac_status=$?
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); }; } &&
18153 { ac_try='test -s conftest.$ac_objext'
18154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18155 (eval $ac_try) 2>&5
18156 ac_status=$?
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); }; }; then
18159 glibcxx_cv_func__sincosf_use=yes
18160 else
18161 echo "$as_me: failed program was:" >&5
18162 sed 's/^/| /' conftest.$ac_ext >&5
18164 glibcxx_cv_func__sincosf_use=no
18166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18167 ac_ext=c
18168 ac_cpp='$CPP $CPPFLAGS'
18169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18178 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18180 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18182 for ac_func in _sincosf
18184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18185 echo "$as_me:$LINENO: checking for $ac_func" >&5
18186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18187 if eval "test \"\${$as_ac_var+set}\" = set"; then
18188 echo $ECHO_N "(cached) $ECHO_C" >&6
18189 else
18190 if test x$gcc_no_link = xyes; then
18191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18193 { (exit 1); exit 1; }; }
18195 cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h. */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18203 #define $ac_func innocuous_$ac_func
18205 /* System header to define __stub macros and hopefully few prototypes,
18206 which can conflict with char $ac_func (); below.
18207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18208 <limits.h> exists even on freestanding compilers. */
18210 #ifdef __STDC__
18211 # include <limits.h>
18212 #else
18213 # include <assert.h>
18214 #endif
18216 #undef $ac_func
18218 /* Override any gcc2 internal prototype to avoid an error. */
18219 #ifdef __cplusplus
18220 extern "C"
18222 #endif
18223 /* We use char because int might match the return type of a gcc2
18224 builtin and then its argument prototype would still apply. */
18225 char $ac_func ();
18226 /* The GNU C library defines this for functions which it implements
18227 to always fail with ENOSYS. Some functions are actually named
18228 something starting with __ and the normal name is an alias. */
18229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18230 choke me
18231 #else
18232 char (*f) () = $ac_func;
18233 #endif
18234 #ifdef __cplusplus
18236 #endif
18239 main ()
18241 return f != $ac_func;
18243 return 0;
18245 _ACEOF
18246 rm -f conftest.$ac_objext conftest$ac_exeext
18247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18248 (eval $ac_link) 2>conftest.er1
18249 ac_status=$?
18250 grep -v '^ *+' conftest.er1 >conftest.err
18251 rm -f conftest.er1
18252 cat conftest.err >&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } &&
18255 { ac_try='test -z "$ac_c_werror_flag"
18256 || test ! -s conftest.err'
18257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18258 (eval $ac_try) 2>&5
18259 ac_status=$?
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); }; } &&
18262 { ac_try='test -s conftest$ac_exeext'
18263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264 (eval $ac_try) 2>&5
18265 ac_status=$?
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); }; }; then
18268 eval "$as_ac_var=yes"
18269 else
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18273 eval "$as_ac_var=no"
18275 rm -f conftest.err conftest.$ac_objext \
18276 conftest$ac_exeext conftest.$ac_ext
18278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18280 if test `eval echo '${'$as_ac_var'}'` = yes; then
18281 cat >>confdefs.h <<_ACEOF
18282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18283 _ACEOF
18286 done
18296 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18297 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18298 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18299 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18300 echo $ECHO_N "(cached) $ECHO_C" >&6
18301 else
18305 ac_ext=cc
18306 ac_cpp='$CXXCPP $CPPFLAGS'
18307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18311 cat >conftest.$ac_ext <<_ACEOF
18312 /* confdefs.h. */
18313 _ACEOF
18314 cat confdefs.h >>conftest.$ac_ext
18315 cat >>conftest.$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18317 #include <math.h>
18318 #ifdef HAVE_IEEEFP_H
18319 #include <ieeefp.h>
18320 #endif
18323 main ()
18325 finitef(0);
18327 return 0;
18329 _ACEOF
18330 rm -f conftest.$ac_objext
18331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18332 (eval $ac_compile) 2>conftest.er1
18333 ac_status=$?
18334 grep -v '^ *+' conftest.er1 >conftest.err
18335 rm -f conftest.er1
18336 cat conftest.err >&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); } &&
18339 { ac_try='test -z "$ac_cxx_werror_flag"
18340 || test ! -s conftest.err'
18341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18342 (eval $ac_try) 2>&5
18343 ac_status=$?
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); }; } &&
18346 { ac_try='test -s conftest.$ac_objext'
18347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18348 (eval $ac_try) 2>&5
18349 ac_status=$?
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); }; }; then
18352 glibcxx_cv_func_finitef_use=yes
18353 else
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.$ac_ext >&5
18357 glibcxx_cv_func_finitef_use=no
18359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18360 ac_ext=c
18361 ac_cpp='$CPP $CPPFLAGS'
18362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18370 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18371 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18373 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18375 for ac_func in finitef
18377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18378 echo "$as_me:$LINENO: checking for $ac_func" >&5
18379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18380 if eval "test \"\${$as_ac_var+set}\" = set"; then
18381 echo $ECHO_N "(cached) $ECHO_C" >&6
18382 else
18383 if test x$gcc_no_link = xyes; then
18384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18386 { (exit 1); exit 1; }; }
18388 cat >conftest.$ac_ext <<_ACEOF
18389 /* confdefs.h. */
18390 _ACEOF
18391 cat confdefs.h >>conftest.$ac_ext
18392 cat >>conftest.$ac_ext <<_ACEOF
18393 /* end confdefs.h. */
18394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18396 #define $ac_func innocuous_$ac_func
18398 /* System header to define __stub macros and hopefully few prototypes,
18399 which can conflict with char $ac_func (); below.
18400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18401 <limits.h> exists even on freestanding compilers. */
18403 #ifdef __STDC__
18404 # include <limits.h>
18405 #else
18406 # include <assert.h>
18407 #endif
18409 #undef $ac_func
18411 /* Override any gcc2 internal prototype to avoid an error. */
18412 #ifdef __cplusplus
18413 extern "C"
18415 #endif
18416 /* We use char because int might match the return type of a gcc2
18417 builtin and then its argument prototype would still apply. */
18418 char $ac_func ();
18419 /* The GNU C library defines this for functions which it implements
18420 to always fail with ENOSYS. Some functions are actually named
18421 something starting with __ and the normal name is an alias. */
18422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18423 choke me
18424 #else
18425 char (*f) () = $ac_func;
18426 #endif
18427 #ifdef __cplusplus
18429 #endif
18432 main ()
18434 return f != $ac_func;
18436 return 0;
18438 _ACEOF
18439 rm -f conftest.$ac_objext conftest$ac_exeext
18440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18441 (eval $ac_link) 2>conftest.er1
18442 ac_status=$?
18443 grep -v '^ *+' conftest.er1 >conftest.err
18444 rm -f conftest.er1
18445 cat conftest.err >&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); } &&
18448 { ac_try='test -z "$ac_c_werror_flag"
18449 || test ! -s conftest.err'
18450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18451 (eval $ac_try) 2>&5
18452 ac_status=$?
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); }; } &&
18455 { ac_try='test -s conftest$ac_exeext'
18456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18457 (eval $ac_try) 2>&5
18458 ac_status=$?
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }; }; then
18461 eval "$as_ac_var=yes"
18462 else
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18466 eval "$as_ac_var=no"
18468 rm -f conftest.err conftest.$ac_objext \
18469 conftest$ac_exeext conftest.$ac_ext
18471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18473 if test `eval echo '${'$as_ac_var'}'` = yes; then
18474 cat >>confdefs.h <<_ACEOF
18475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18476 _ACEOF
18479 done
18481 else
18483 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18484 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18485 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18486 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18487 echo $ECHO_N "(cached) $ECHO_C" >&6
18488 else
18492 ac_ext=cc
18493 ac_cpp='$CXXCPP $CPPFLAGS'
18494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18498 cat >conftest.$ac_ext <<_ACEOF
18499 /* confdefs.h. */
18500 _ACEOF
18501 cat confdefs.h >>conftest.$ac_ext
18502 cat >>conftest.$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 #include <math.h>
18505 #ifdef HAVE_IEEEFP_H
18506 #include <ieeefp.h>
18507 #endif
18510 main ()
18512 _finitef(0);
18514 return 0;
18516 _ACEOF
18517 rm -f conftest.$ac_objext
18518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18519 (eval $ac_compile) 2>conftest.er1
18520 ac_status=$?
18521 grep -v '^ *+' conftest.er1 >conftest.err
18522 rm -f conftest.er1
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } &&
18526 { ac_try='test -z "$ac_cxx_werror_flag"
18527 || test ! -s conftest.err'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18530 ac_status=$?
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; } &&
18533 { ac_try='test -s conftest.$ac_objext'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18536 ac_status=$?
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18539 glibcxx_cv_func__finitef_use=yes
18540 else
18541 echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.$ac_ext >&5
18544 glibcxx_cv_func__finitef_use=no
18546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18547 ac_ext=c
18548 ac_cpp='$CPP $CPPFLAGS'
18549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18558 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18560 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18562 for ac_func in _finitef
18564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18565 echo "$as_me:$LINENO: checking for $ac_func" >&5
18566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18567 if eval "test \"\${$as_ac_var+set}\" = set"; then
18568 echo $ECHO_N "(cached) $ECHO_C" >&6
18569 else
18570 if test x$gcc_no_link = xyes; then
18571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18573 { (exit 1); exit 1; }; }
18575 cat >conftest.$ac_ext <<_ACEOF
18576 /* confdefs.h. */
18577 _ACEOF
18578 cat confdefs.h >>conftest.$ac_ext
18579 cat >>conftest.$ac_ext <<_ACEOF
18580 /* end confdefs.h. */
18581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18583 #define $ac_func innocuous_$ac_func
18585 /* System header to define __stub macros and hopefully few prototypes,
18586 which can conflict with char $ac_func (); below.
18587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18588 <limits.h> exists even on freestanding compilers. */
18590 #ifdef __STDC__
18591 # include <limits.h>
18592 #else
18593 # include <assert.h>
18594 #endif
18596 #undef $ac_func
18598 /* Override any gcc2 internal prototype to avoid an error. */
18599 #ifdef __cplusplus
18600 extern "C"
18602 #endif
18603 /* We use char because int might match the return type of a gcc2
18604 builtin and then its argument prototype would still apply. */
18605 char $ac_func ();
18606 /* The GNU C library defines this for functions which it implements
18607 to always fail with ENOSYS. Some functions are actually named
18608 something starting with __ and the normal name is an alias. */
18609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18610 choke me
18611 #else
18612 char (*f) () = $ac_func;
18613 #endif
18614 #ifdef __cplusplus
18616 #endif
18619 main ()
18621 return f != $ac_func;
18623 return 0;
18625 _ACEOF
18626 rm -f conftest.$ac_objext conftest$ac_exeext
18627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18628 (eval $ac_link) 2>conftest.er1
18629 ac_status=$?
18630 grep -v '^ *+' conftest.er1 >conftest.err
18631 rm -f conftest.er1
18632 cat conftest.err >&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); } &&
18635 { ac_try='test -z "$ac_c_werror_flag"
18636 || test ! -s conftest.err'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18639 ac_status=$?
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; } &&
18642 { ac_try='test -s conftest$ac_exeext'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18645 ac_status=$?
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; }; then
18648 eval "$as_ac_var=yes"
18649 else
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18653 eval "$as_ac_var=no"
18655 rm -f conftest.err conftest.$ac_objext \
18656 conftest$ac_exeext conftest.$ac_ext
18658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18660 if test `eval echo '${'$as_ac_var'}'` = yes; then
18661 cat >>confdefs.h <<_ACEOF
18662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18663 _ACEOF
18666 done
18676 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18677 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18678 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18679 echo $ECHO_N "(cached) $ECHO_C" >&6
18680 else
18684 ac_ext=cc
18685 ac_cpp='$CXXCPP $CPPFLAGS'
18686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18690 cat >conftest.$ac_ext <<_ACEOF
18691 /* confdefs.h. */
18692 _ACEOF
18693 cat confdefs.h >>conftest.$ac_ext
18694 cat >>conftest.$ac_ext <<_ACEOF
18695 /* end confdefs.h. */
18696 #include <math.h>
18698 main ()
18700 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18702 return 0;
18704 _ACEOF
18705 rm -f conftest.$ac_objext
18706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18707 (eval $ac_compile) 2>conftest.er1
18708 ac_status=$?
18709 grep -v '^ *+' conftest.er1 >conftest.err
18710 rm -f conftest.er1
18711 cat conftest.err >&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); } &&
18714 { ac_try='test -z "$ac_cxx_werror_flag"
18715 || test ! -s conftest.err'
18716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18717 (eval $ac_try) 2>&5
18718 ac_status=$?
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); }; } &&
18721 { ac_try='test -s conftest.$ac_objext'
18722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18723 (eval $ac_try) 2>&5
18724 ac_status=$?
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); }; }; then
18727 glibcxx_cv_func_long_double_trig_use=yes
18728 else
18729 echo "$as_me: failed program was:" >&5
18730 sed 's/^/| /' conftest.$ac_ext >&5
18732 glibcxx_cv_func_long_double_trig_use=no
18734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18735 ac_ext=c
18736 ac_cpp='$CPP $CPPFLAGS'
18737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18743 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18744 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18745 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18755 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18758 echo "$as_me:$LINENO: checking for $ac_func" >&5
18759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18760 if eval "test \"\${$as_ac_var+set}\" = set"; then
18761 echo $ECHO_N "(cached) $ECHO_C" >&6
18762 else
18763 if test x$gcc_no_link = xyes; then
18764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18766 { (exit 1); exit 1; }; }
18768 cat >conftest.$ac_ext <<_ACEOF
18769 /* confdefs.h. */
18770 _ACEOF
18771 cat confdefs.h >>conftest.$ac_ext
18772 cat >>conftest.$ac_ext <<_ACEOF
18773 /* end confdefs.h. */
18774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18776 #define $ac_func innocuous_$ac_func
18778 /* System header to define __stub macros and hopefully few prototypes,
18779 which can conflict with char $ac_func (); below.
18780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18781 <limits.h> exists even on freestanding compilers. */
18783 #ifdef __STDC__
18784 # include <limits.h>
18785 #else
18786 # include <assert.h>
18787 #endif
18789 #undef $ac_func
18791 /* Override any gcc2 internal prototype to avoid an error. */
18792 #ifdef __cplusplus
18793 extern "C"
18795 #endif
18796 /* We use char because int might match the return type of a gcc2
18797 builtin and then its argument prototype would still apply. */
18798 char $ac_func ();
18799 /* The GNU C library defines this for functions which it implements
18800 to always fail with ENOSYS. Some functions are actually named
18801 something starting with __ and the normal name is an alias. */
18802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18803 choke me
18804 #else
18805 char (*f) () = $ac_func;
18806 #endif
18807 #ifdef __cplusplus
18809 #endif
18812 main ()
18814 return f != $ac_func;
18816 return 0;
18818 _ACEOF
18819 rm -f conftest.$ac_objext conftest$ac_exeext
18820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18821 (eval $ac_link) 2>conftest.er1
18822 ac_status=$?
18823 grep -v '^ *+' conftest.er1 >conftest.err
18824 rm -f conftest.er1
18825 cat conftest.err >&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); } &&
18828 { ac_try='test -z "$ac_c_werror_flag"
18829 || test ! -s conftest.err'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18832 ac_status=$?
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; } &&
18835 { ac_try='test -s conftest$ac_exeext'
18836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837 (eval $ac_try) 2>&5
18838 ac_status=$?
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); }; }; then
18841 eval "$as_ac_var=yes"
18842 else
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18846 eval "$as_ac_var=no"
18848 rm -f conftest.err conftest.$ac_objext \
18849 conftest$ac_exeext conftest.$ac_ext
18851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18853 if test `eval echo '${'$as_ac_var'}'` = yes; then
18854 cat >>confdefs.h <<_ACEOF
18855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18856 _ACEOF
18859 done
18861 else
18862 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18863 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18864 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18865 echo $ECHO_N "(cached) $ECHO_C" >&6
18866 else
18870 ac_ext=cc
18871 ac_cpp='$CXXCPP $CPPFLAGS'
18872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18876 cat >conftest.$ac_ext <<_ACEOF
18877 /* confdefs.h. */
18878 _ACEOF
18879 cat confdefs.h >>conftest.$ac_ext
18880 cat >>conftest.$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18882 #include <math.h>
18884 main ()
18886 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18888 return 0;
18890 _ACEOF
18891 rm -f conftest.$ac_objext
18892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18893 (eval $ac_compile) 2>conftest.er1
18894 ac_status=$?
18895 grep -v '^ *+' conftest.er1 >conftest.err
18896 rm -f conftest.er1
18897 cat conftest.err >&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); } &&
18900 { ac_try='test -z "$ac_cxx_werror_flag"
18901 || test ! -s conftest.err'
18902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18903 (eval $ac_try) 2>&5
18904 ac_status=$?
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; } &&
18907 { ac_try='test -s conftest.$ac_objext'
18908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18909 (eval $ac_try) 2>&5
18910 ac_status=$?
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); }; }; then
18913 glibcxx_cv_func__long_double_trig_use=yes
18914 else
18915 echo "$as_me: failed program was:" >&5
18916 sed 's/^/| /' conftest.$ac_ext >&5
18918 glibcxx_cv_func__long_double_trig_use=no
18920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18921 ac_ext=c
18922 ac_cpp='$CPP $CPPFLAGS'
18923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18930 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18931 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18941 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18944 echo "$as_me:$LINENO: checking for $ac_func" >&5
18945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18946 if eval "test \"\${$as_ac_var+set}\" = set"; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18948 else
18949 if test x$gcc_no_link = xyes; then
18950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18952 { (exit 1); exit 1; }; }
18954 cat >conftest.$ac_ext <<_ACEOF
18955 /* confdefs.h. */
18956 _ACEOF
18957 cat confdefs.h >>conftest.$ac_ext
18958 cat >>conftest.$ac_ext <<_ACEOF
18959 /* end confdefs.h. */
18960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18962 #define $ac_func innocuous_$ac_func
18964 /* System header to define __stub macros and hopefully few prototypes,
18965 which can conflict with char $ac_func (); below.
18966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18967 <limits.h> exists even on freestanding compilers. */
18969 #ifdef __STDC__
18970 # include <limits.h>
18971 #else
18972 # include <assert.h>
18973 #endif
18975 #undef $ac_func
18977 /* Override any gcc2 internal prototype to avoid an error. */
18978 #ifdef __cplusplus
18979 extern "C"
18981 #endif
18982 /* We use char because int might match the return type of a gcc2
18983 builtin and then its argument prototype would still apply. */
18984 char $ac_func ();
18985 /* The GNU C library defines this for functions which it implements
18986 to always fail with ENOSYS. Some functions are actually named
18987 something starting with __ and the normal name is an alias. */
18988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18989 choke me
18990 #else
18991 char (*f) () = $ac_func;
18992 #endif
18993 #ifdef __cplusplus
18995 #endif
18998 main ()
19000 return f != $ac_func;
19002 return 0;
19004 _ACEOF
19005 rm -f conftest.$ac_objext conftest$ac_exeext
19006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19007 (eval $ac_link) 2>conftest.er1
19008 ac_status=$?
19009 grep -v '^ *+' conftest.er1 >conftest.err
19010 rm -f conftest.er1
19011 cat conftest.err >&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); } &&
19014 { ac_try='test -z "$ac_c_werror_flag"
19015 || test ! -s conftest.err'
19016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017 (eval $ac_try) 2>&5
19018 ac_status=$?
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }; } &&
19021 { ac_try='test -s conftest$ac_exeext'
19022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19023 (eval $ac_try) 2>&5
19024 ac_status=$?
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); }; }; then
19027 eval "$as_ac_var=yes"
19028 else
19029 echo "$as_me: failed program was:" >&5
19030 sed 's/^/| /' conftest.$ac_ext >&5
19032 eval "$as_ac_var=no"
19034 rm -f conftest.err conftest.$ac_objext \
19035 conftest$ac_exeext conftest.$ac_ext
19037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19039 if test `eval echo '${'$as_ac_var'}'` = yes; then
19040 cat >>confdefs.h <<_ACEOF
19041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19042 _ACEOF
19045 done
19063 echo "$as_me:$LINENO: checking for long double round functions" >&5
19064 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19065 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19067 else
19071 ac_ext=cc
19072 ac_cpp='$CXXCPP $CPPFLAGS'
19073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19077 cat >conftest.$ac_ext <<_ACEOF
19078 /* confdefs.h. */
19079 _ACEOF
19080 cat confdefs.h >>conftest.$ac_ext
19081 cat >>conftest.$ac_ext <<_ACEOF
19082 /* end confdefs.h. */
19083 #include <math.h>
19085 main ()
19087 ceill (0); floorl (0);
19089 return 0;
19091 _ACEOF
19092 rm -f conftest.$ac_objext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19094 (eval $ac_compile) 2>conftest.er1
19095 ac_status=$?
19096 grep -v '^ *+' conftest.er1 >conftest.err
19097 rm -f conftest.er1
19098 cat conftest.err >&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try='test -z "$ac_cxx_werror_flag"
19102 || test ! -s conftest.err'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19105 ac_status=$?
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; } &&
19108 { ac_try='test -s conftest.$ac_objext'
19109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19110 (eval $ac_try) 2>&5
19111 ac_status=$?
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; }; then
19114 glibcxx_cv_func_long_double_round_use=yes
19115 else
19116 echo "$as_me: failed program was:" >&5
19117 sed 's/^/| /' conftest.$ac_ext >&5
19119 glibcxx_cv_func_long_double_round_use=no
19121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19122 ac_ext=c
19123 ac_cpp='$CPP $CPPFLAGS'
19124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19130 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19131 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19132 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19135 for ac_func in ceill floorl
19137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19138 echo "$as_me:$LINENO: checking for $ac_func" >&5
19139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19140 if eval "test \"\${$as_ac_var+set}\" = set"; then
19141 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 else
19143 if test x$gcc_no_link = xyes; then
19144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19146 { (exit 1); exit 1; }; }
19148 cat >conftest.$ac_ext <<_ACEOF
19149 /* confdefs.h. */
19150 _ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19156 #define $ac_func innocuous_$ac_func
19158 /* System header to define __stub macros and hopefully few prototypes,
19159 which can conflict with char $ac_func (); below.
19160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19161 <limits.h> exists even on freestanding compilers. */
19163 #ifdef __STDC__
19164 # include <limits.h>
19165 #else
19166 # include <assert.h>
19167 #endif
19169 #undef $ac_func
19171 /* Override any gcc2 internal prototype to avoid an error. */
19172 #ifdef __cplusplus
19173 extern "C"
19175 #endif
19176 /* We use char because int might match the return type of a gcc2
19177 builtin and then its argument prototype would still apply. */
19178 char $ac_func ();
19179 /* The GNU C library defines this for functions which it implements
19180 to always fail with ENOSYS. Some functions are actually named
19181 something starting with __ and the normal name is an alias. */
19182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19183 choke me
19184 #else
19185 char (*f) () = $ac_func;
19186 #endif
19187 #ifdef __cplusplus
19189 #endif
19192 main ()
19194 return f != $ac_func;
19196 return 0;
19198 _ACEOF
19199 rm -f conftest.$ac_objext conftest$ac_exeext
19200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19201 (eval $ac_link) 2>conftest.er1
19202 ac_status=$?
19203 grep -v '^ *+' conftest.er1 >conftest.err
19204 rm -f conftest.er1
19205 cat conftest.err >&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } &&
19208 { ac_try='test -z "$ac_c_werror_flag"
19209 || test ! -s conftest.err'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19212 ac_status=$?
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; } &&
19215 { ac_try='test -s conftest$ac_exeext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19218 ac_status=$?
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 eval "$as_ac_var=yes"
19222 else
19223 echo "$as_me: failed program was:" >&5
19224 sed 's/^/| /' conftest.$ac_ext >&5
19226 eval "$as_ac_var=no"
19228 rm -f conftest.err conftest.$ac_objext \
19229 conftest$ac_exeext conftest.$ac_ext
19231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19233 if test `eval echo '${'$as_ac_var'}'` = yes; then
19234 cat >>confdefs.h <<_ACEOF
19235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19236 _ACEOF
19239 done
19241 else
19242 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19243 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19244 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19245 echo $ECHO_N "(cached) $ECHO_C" >&6
19246 else
19250 ac_ext=cc
19251 ac_cpp='$CXXCPP $CPPFLAGS'
19252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19256 cat >conftest.$ac_ext <<_ACEOF
19257 /* confdefs.h. */
19258 _ACEOF
19259 cat confdefs.h >>conftest.$ac_ext
19260 cat >>conftest.$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19262 #include <math.h>
19264 main ()
19266 _ceill (0); _floorl (0);
19268 return 0;
19270 _ACEOF
19271 rm -f conftest.$ac_objext
19272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19273 (eval $ac_compile) 2>conftest.er1
19274 ac_status=$?
19275 grep -v '^ *+' conftest.er1 >conftest.err
19276 rm -f conftest.er1
19277 cat conftest.err >&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); } &&
19280 { ac_try='test -z "$ac_cxx_werror_flag"
19281 || test ! -s conftest.err'
19282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19283 (eval $ac_try) 2>&5
19284 ac_status=$?
19285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286 (exit $ac_status); }; } &&
19287 { ac_try='test -s conftest.$ac_objext'
19288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19289 (eval $ac_try) 2>&5
19290 ac_status=$?
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); }; }; then
19293 glibcxx_cv_func__long_double_round_use=yes
19294 else
19295 echo "$as_me: failed program was:" >&5
19296 sed 's/^/| /' conftest.$ac_ext >&5
19298 glibcxx_cv_func__long_double_round_use=no
19300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19301 ac_ext=c
19302 ac_cpp='$CPP $CPPFLAGS'
19303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19310 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19311 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19314 for ac_func in _ceill _floorl
19316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19317 echo "$as_me:$LINENO: checking for $ac_func" >&5
19318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19319 if eval "test \"\${$as_ac_var+set}\" = set"; then
19320 echo $ECHO_N "(cached) $ECHO_C" >&6
19321 else
19322 if test x$gcc_no_link = xyes; then
19323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19325 { (exit 1); exit 1; }; }
19327 cat >conftest.$ac_ext <<_ACEOF
19328 /* confdefs.h. */
19329 _ACEOF
19330 cat confdefs.h >>conftest.$ac_ext
19331 cat >>conftest.$ac_ext <<_ACEOF
19332 /* end confdefs.h. */
19333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19335 #define $ac_func innocuous_$ac_func
19337 /* System header to define __stub macros and hopefully few prototypes,
19338 which can conflict with char $ac_func (); below.
19339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19340 <limits.h> exists even on freestanding compilers. */
19342 #ifdef __STDC__
19343 # include <limits.h>
19344 #else
19345 # include <assert.h>
19346 #endif
19348 #undef $ac_func
19350 /* Override any gcc2 internal prototype to avoid an error. */
19351 #ifdef __cplusplus
19352 extern "C"
19354 #endif
19355 /* We use char because int might match the return type of a gcc2
19356 builtin and then its argument prototype would still apply. */
19357 char $ac_func ();
19358 /* The GNU C library defines this for functions which it implements
19359 to always fail with ENOSYS. Some functions are actually named
19360 something starting with __ and the normal name is an alias. */
19361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19362 choke me
19363 #else
19364 char (*f) () = $ac_func;
19365 #endif
19366 #ifdef __cplusplus
19368 #endif
19371 main ()
19373 return f != $ac_func;
19375 return 0;
19377 _ACEOF
19378 rm -f conftest.$ac_objext conftest$ac_exeext
19379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19380 (eval $ac_link) 2>conftest.er1
19381 ac_status=$?
19382 grep -v '^ *+' conftest.er1 >conftest.err
19383 rm -f conftest.er1
19384 cat conftest.err >&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); } &&
19387 { ac_try='test -z "$ac_c_werror_flag"
19388 || test ! -s conftest.err'
19389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19390 (eval $ac_try) 2>&5
19391 ac_status=$?
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); }; } &&
19394 { ac_try='test -s conftest$ac_exeext'
19395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19396 (eval $ac_try) 2>&5
19397 ac_status=$?
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); }; }; then
19400 eval "$as_ac_var=yes"
19401 else
19402 echo "$as_me: failed program was:" >&5
19403 sed 's/^/| /' conftest.$ac_ext >&5
19405 eval "$as_ac_var=no"
19407 rm -f conftest.err conftest.$ac_objext \
19408 conftest$ac_exeext conftest.$ac_ext
19410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19412 if test `eval echo '${'$as_ac_var'}'` = yes; then
19413 cat >>confdefs.h <<_ACEOF
19414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19415 _ACEOF
19418 done
19430 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19431 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19432 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19433 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19434 echo $ECHO_N "(cached) $ECHO_C" >&6
19435 else
19439 ac_ext=cc
19440 ac_cpp='$CXXCPP $CPPFLAGS'
19441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19445 cat >conftest.$ac_ext <<_ACEOF
19446 /* confdefs.h. */
19447 _ACEOF
19448 cat confdefs.h >>conftest.$ac_ext
19449 cat >>conftest.$ac_ext <<_ACEOF
19450 /* end confdefs.h. */
19451 #include <math.h>
19452 #ifdef HAVE_IEEEFP_H
19453 #include <ieeefp.h>
19454 #endif
19457 main ()
19459 isnanl(0);
19461 return 0;
19463 _ACEOF
19464 rm -f conftest.$ac_objext
19465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19466 (eval $ac_compile) 2>conftest.er1
19467 ac_status=$?
19468 grep -v '^ *+' conftest.er1 >conftest.err
19469 rm -f conftest.er1
19470 cat conftest.err >&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } &&
19473 { ac_try='test -z "$ac_cxx_werror_flag"
19474 || test ! -s conftest.err'
19475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19476 (eval $ac_try) 2>&5
19477 ac_status=$?
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; } &&
19480 { ac_try='test -s conftest.$ac_objext'
19481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19482 (eval $ac_try) 2>&5
19483 ac_status=$?
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); }; }; then
19486 glibcxx_cv_func_isnanl_use=yes
19487 else
19488 echo "$as_me: failed program was:" >&5
19489 sed 's/^/| /' conftest.$ac_ext >&5
19491 glibcxx_cv_func_isnanl_use=no
19493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19494 ac_ext=c
19495 ac_cpp='$CPP $CPPFLAGS'
19496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19505 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19507 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19509 for ac_func in isnanl
19511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19512 echo "$as_me:$LINENO: checking for $ac_func" >&5
19513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19514 if eval "test \"\${$as_ac_var+set}\" = set"; then
19515 echo $ECHO_N "(cached) $ECHO_C" >&6
19516 else
19517 if test x$gcc_no_link = xyes; then
19518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19520 { (exit 1); exit 1; }; }
19522 cat >conftest.$ac_ext <<_ACEOF
19523 /* confdefs.h. */
19524 _ACEOF
19525 cat confdefs.h >>conftest.$ac_ext
19526 cat >>conftest.$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19530 #define $ac_func innocuous_$ac_func
19532 /* System header to define __stub macros and hopefully few prototypes,
19533 which can conflict with char $ac_func (); below.
19534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19535 <limits.h> exists even on freestanding compilers. */
19537 #ifdef __STDC__
19538 # include <limits.h>
19539 #else
19540 # include <assert.h>
19541 #endif
19543 #undef $ac_func
19545 /* Override any gcc2 internal prototype to avoid an error. */
19546 #ifdef __cplusplus
19547 extern "C"
19549 #endif
19550 /* We use char because int might match the return type of a gcc2
19551 builtin and then its argument prototype would still apply. */
19552 char $ac_func ();
19553 /* The GNU C library defines this for functions which it implements
19554 to always fail with ENOSYS. Some functions are actually named
19555 something starting with __ and the normal name is an alias. */
19556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19557 choke me
19558 #else
19559 char (*f) () = $ac_func;
19560 #endif
19561 #ifdef __cplusplus
19563 #endif
19566 main ()
19568 return f != $ac_func;
19570 return 0;
19572 _ACEOF
19573 rm -f conftest.$ac_objext conftest$ac_exeext
19574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19575 (eval $ac_link) 2>conftest.er1
19576 ac_status=$?
19577 grep -v '^ *+' conftest.er1 >conftest.err
19578 rm -f conftest.er1
19579 cat conftest.err >&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); } &&
19582 { ac_try='test -z "$ac_c_werror_flag"
19583 || test ! -s conftest.err'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19586 ac_status=$?
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; } &&
19589 { ac_try='test -s conftest$ac_exeext'
19590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19591 (eval $ac_try) 2>&5
19592 ac_status=$?
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); }; }; then
19595 eval "$as_ac_var=yes"
19596 else
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19600 eval "$as_ac_var=no"
19602 rm -f conftest.err conftest.$ac_objext \
19603 conftest$ac_exeext conftest.$ac_ext
19605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19607 if test `eval echo '${'$as_ac_var'}'` = yes; then
19608 cat >>confdefs.h <<_ACEOF
19609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19610 _ACEOF
19613 done
19615 else
19617 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19618 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19619 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19620 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19621 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 else
19626 ac_ext=cc
19627 ac_cpp='$CXXCPP $CPPFLAGS'
19628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19632 cat >conftest.$ac_ext <<_ACEOF
19633 /* confdefs.h. */
19634 _ACEOF
19635 cat confdefs.h >>conftest.$ac_ext
19636 cat >>conftest.$ac_ext <<_ACEOF
19637 /* end confdefs.h. */
19638 #include <math.h>
19639 #ifdef HAVE_IEEEFP_H
19640 #include <ieeefp.h>
19641 #endif
19644 main ()
19646 _isnanl(0);
19648 return 0;
19650 _ACEOF
19651 rm -f conftest.$ac_objext
19652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19653 (eval $ac_compile) 2>conftest.er1
19654 ac_status=$?
19655 grep -v '^ *+' conftest.er1 >conftest.err
19656 rm -f conftest.er1
19657 cat conftest.err >&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } &&
19660 { ac_try='test -z "$ac_cxx_werror_flag"
19661 || test ! -s conftest.err'
19662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19663 (eval $ac_try) 2>&5
19664 ac_status=$?
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; } &&
19667 { ac_try='test -s conftest.$ac_objext'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19670 ac_status=$?
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19673 glibcxx_cv_func__isnanl_use=yes
19674 else
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.$ac_ext >&5
19678 glibcxx_cv_func__isnanl_use=no
19680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19681 ac_ext=c
19682 ac_cpp='$CPP $CPPFLAGS'
19683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19691 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19692 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19694 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19696 for ac_func in _isnanl
19698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19699 echo "$as_me:$LINENO: checking for $ac_func" >&5
19700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19701 if eval "test \"\${$as_ac_var+set}\" = set"; then
19702 echo $ECHO_N "(cached) $ECHO_C" >&6
19703 else
19704 if test x$gcc_no_link = xyes; then
19705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19707 { (exit 1); exit 1; }; }
19709 cat >conftest.$ac_ext <<_ACEOF
19710 /* confdefs.h. */
19711 _ACEOF
19712 cat confdefs.h >>conftest.$ac_ext
19713 cat >>conftest.$ac_ext <<_ACEOF
19714 /* end confdefs.h. */
19715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19717 #define $ac_func innocuous_$ac_func
19719 /* System header to define __stub macros and hopefully few prototypes,
19720 which can conflict with char $ac_func (); below.
19721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19722 <limits.h> exists even on freestanding compilers. */
19724 #ifdef __STDC__
19725 # include <limits.h>
19726 #else
19727 # include <assert.h>
19728 #endif
19730 #undef $ac_func
19732 /* Override any gcc2 internal prototype to avoid an error. */
19733 #ifdef __cplusplus
19734 extern "C"
19736 #endif
19737 /* We use char because int might match the return type of a gcc2
19738 builtin and then its argument prototype would still apply. */
19739 char $ac_func ();
19740 /* The GNU C library defines this for functions which it implements
19741 to always fail with ENOSYS. Some functions are actually named
19742 something starting with __ and the normal name is an alias. */
19743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19744 choke me
19745 #else
19746 char (*f) () = $ac_func;
19747 #endif
19748 #ifdef __cplusplus
19750 #endif
19753 main ()
19755 return f != $ac_func;
19757 return 0;
19759 _ACEOF
19760 rm -f conftest.$ac_objext conftest$ac_exeext
19761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19762 (eval $ac_link) 2>conftest.er1
19763 ac_status=$?
19764 grep -v '^ *+' conftest.er1 >conftest.err
19765 rm -f conftest.er1
19766 cat conftest.err >&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } &&
19769 { ac_try='test -z "$ac_c_werror_flag"
19770 || test ! -s conftest.err'
19771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19772 (eval $ac_try) 2>&5
19773 ac_status=$?
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); }; } &&
19776 { ac_try='test -s conftest$ac_exeext'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19779 ac_status=$?
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; }; then
19782 eval "$as_ac_var=yes"
19783 else
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.$ac_ext >&5
19787 eval "$as_ac_var=no"
19789 rm -f conftest.err conftest.$ac_objext \
19790 conftest$ac_exeext conftest.$ac_ext
19792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19794 if test `eval echo '${'$as_ac_var'}'` = yes; then
19795 cat >>confdefs.h <<_ACEOF
19796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19797 _ACEOF
19800 done
19810 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19811 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19812 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19813 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19815 else
19819 ac_ext=cc
19820 ac_cpp='$CXXCPP $CPPFLAGS'
19821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19825 cat >conftest.$ac_ext <<_ACEOF
19826 /* confdefs.h. */
19827 _ACEOF
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19831 #include <math.h>
19832 #ifdef HAVE_IEEEFP_H
19833 #include <ieeefp.h>
19834 #endif
19837 main ()
19839 isinfl(0);
19841 return 0;
19843 _ACEOF
19844 rm -f conftest.$ac_objext
19845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19846 (eval $ac_compile) 2>conftest.er1
19847 ac_status=$?
19848 grep -v '^ *+' conftest.er1 >conftest.err
19849 rm -f conftest.er1
19850 cat conftest.err >&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } &&
19853 { ac_try='test -z "$ac_cxx_werror_flag"
19854 || test ! -s conftest.err'
19855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19856 (eval $ac_try) 2>&5
19857 ac_status=$?
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); }; } &&
19860 { ac_try='test -s conftest.$ac_objext'
19861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19862 (eval $ac_try) 2>&5
19863 ac_status=$?
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); }; }; then
19866 glibcxx_cv_func_isinfl_use=yes
19867 else
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.$ac_ext >&5
19871 glibcxx_cv_func_isinfl_use=no
19873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19874 ac_ext=c
19875 ac_cpp='$CPP $CPPFLAGS'
19876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19885 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19887 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19889 for ac_func in isinfl
19891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19892 echo "$as_me:$LINENO: checking for $ac_func" >&5
19893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19894 if eval "test \"\${$as_ac_var+set}\" = set"; then
19895 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 else
19897 if test x$gcc_no_link = xyes; then
19898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19900 { (exit 1); exit 1; }; }
19902 cat >conftest.$ac_ext <<_ACEOF
19903 /* confdefs.h. */
19904 _ACEOF
19905 cat confdefs.h >>conftest.$ac_ext
19906 cat >>conftest.$ac_ext <<_ACEOF
19907 /* end confdefs.h. */
19908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19910 #define $ac_func innocuous_$ac_func
19912 /* System header to define __stub macros and hopefully few prototypes,
19913 which can conflict with char $ac_func (); below.
19914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19915 <limits.h> exists even on freestanding compilers. */
19917 #ifdef __STDC__
19918 # include <limits.h>
19919 #else
19920 # include <assert.h>
19921 #endif
19923 #undef $ac_func
19925 /* Override any gcc2 internal prototype to avoid an error. */
19926 #ifdef __cplusplus
19927 extern "C"
19929 #endif
19930 /* We use char because int might match the return type of a gcc2
19931 builtin and then its argument prototype would still apply. */
19932 char $ac_func ();
19933 /* The GNU C library defines this for functions which it implements
19934 to always fail with ENOSYS. Some functions are actually named
19935 something starting with __ and the normal name is an alias. */
19936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19937 choke me
19938 #else
19939 char (*f) () = $ac_func;
19940 #endif
19941 #ifdef __cplusplus
19943 #endif
19946 main ()
19948 return f != $ac_func;
19950 return 0;
19952 _ACEOF
19953 rm -f conftest.$ac_objext conftest$ac_exeext
19954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19955 (eval $ac_link) 2>conftest.er1
19956 ac_status=$?
19957 grep -v '^ *+' conftest.er1 >conftest.err
19958 rm -f conftest.er1
19959 cat conftest.err >&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } &&
19962 { ac_try='test -z "$ac_c_werror_flag"
19963 || test ! -s conftest.err'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19966 ac_status=$?
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; } &&
19969 { ac_try='test -s conftest$ac_exeext'
19970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19971 (eval $ac_try) 2>&5
19972 ac_status=$?
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); }; }; then
19975 eval "$as_ac_var=yes"
19976 else
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19980 eval "$as_ac_var=no"
19982 rm -f conftest.err conftest.$ac_objext \
19983 conftest$ac_exeext conftest.$ac_ext
19985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19987 if test `eval echo '${'$as_ac_var'}'` = yes; then
19988 cat >>confdefs.h <<_ACEOF
19989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19990 _ACEOF
19993 done
19995 else
19997 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19998 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19999 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20000 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 else
20006 ac_ext=cc
20007 ac_cpp='$CXXCPP $CPPFLAGS'
20008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20012 cat >conftest.$ac_ext <<_ACEOF
20013 /* confdefs.h. */
20014 _ACEOF
20015 cat confdefs.h >>conftest.$ac_ext
20016 cat >>conftest.$ac_ext <<_ACEOF
20017 /* end confdefs.h. */
20018 #include <math.h>
20019 #ifdef HAVE_IEEEFP_H
20020 #include <ieeefp.h>
20021 #endif
20024 main ()
20026 _isinfl(0);
20028 return 0;
20030 _ACEOF
20031 rm -f conftest.$ac_objext
20032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20033 (eval $ac_compile) 2>conftest.er1
20034 ac_status=$?
20035 grep -v '^ *+' conftest.er1 >conftest.err
20036 rm -f conftest.er1
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } &&
20040 { ac_try='test -z "$ac_cxx_werror_flag"
20041 || test ! -s conftest.err'
20042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043 (eval $ac_try) 2>&5
20044 ac_status=$?
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); }; } &&
20047 { ac_try='test -s conftest.$ac_objext'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20050 ac_status=$?
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; }; then
20053 glibcxx_cv_func__isinfl_use=yes
20054 else
20055 echo "$as_me: failed program was:" >&5
20056 sed 's/^/| /' conftest.$ac_ext >&5
20058 glibcxx_cv_func__isinfl_use=no
20060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20061 ac_ext=c
20062 ac_cpp='$CPP $CPPFLAGS'
20063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20071 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20072 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20074 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20076 for ac_func in _isinfl
20078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20079 echo "$as_me:$LINENO: checking for $ac_func" >&5
20080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20081 if eval "test \"\${$as_ac_var+set}\" = set"; then
20082 echo $ECHO_N "(cached) $ECHO_C" >&6
20083 else
20084 if test x$gcc_no_link = xyes; then
20085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20087 { (exit 1); exit 1; }; }
20089 cat >conftest.$ac_ext <<_ACEOF
20090 /* confdefs.h. */
20091 _ACEOF
20092 cat confdefs.h >>conftest.$ac_ext
20093 cat >>conftest.$ac_ext <<_ACEOF
20094 /* end confdefs.h. */
20095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20097 #define $ac_func innocuous_$ac_func
20099 /* System header to define __stub macros and hopefully few prototypes,
20100 which can conflict with char $ac_func (); below.
20101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20102 <limits.h> exists even on freestanding compilers. */
20104 #ifdef __STDC__
20105 # include <limits.h>
20106 #else
20107 # include <assert.h>
20108 #endif
20110 #undef $ac_func
20112 /* Override any gcc2 internal prototype to avoid an error. */
20113 #ifdef __cplusplus
20114 extern "C"
20116 #endif
20117 /* We use char because int might match the return type of a gcc2
20118 builtin and then its argument prototype would still apply. */
20119 char $ac_func ();
20120 /* The GNU C library defines this for functions which it implements
20121 to always fail with ENOSYS. Some functions are actually named
20122 something starting with __ and the normal name is an alias. */
20123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20124 choke me
20125 #else
20126 char (*f) () = $ac_func;
20127 #endif
20128 #ifdef __cplusplus
20130 #endif
20133 main ()
20135 return f != $ac_func;
20137 return 0;
20139 _ACEOF
20140 rm -f conftest.$ac_objext conftest$ac_exeext
20141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20142 (eval $ac_link) 2>conftest.er1
20143 ac_status=$?
20144 grep -v '^ *+' conftest.er1 >conftest.err
20145 rm -f conftest.er1
20146 cat conftest.err >&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } &&
20149 { ac_try='test -z "$ac_c_werror_flag"
20150 || test ! -s conftest.err'
20151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20152 (eval $ac_try) 2>&5
20153 ac_status=$?
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); }; } &&
20156 { ac_try='test -s conftest$ac_exeext'
20157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20158 (eval $ac_try) 2>&5
20159 ac_status=$?
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); }; }; then
20162 eval "$as_ac_var=yes"
20163 else
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20167 eval "$as_ac_var=no"
20169 rm -f conftest.err conftest.$ac_objext \
20170 conftest$ac_exeext conftest.$ac_ext
20172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20174 if test `eval echo '${'$as_ac_var'}'` = yes; then
20175 cat >>confdefs.h <<_ACEOF
20176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20177 _ACEOF
20180 done
20190 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20191 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20192 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20193 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 else
20199 ac_ext=cc
20200 ac_cpp='$CXXCPP $CPPFLAGS'
20201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20205 cat >conftest.$ac_ext <<_ACEOF
20206 /* confdefs.h. */
20207 _ACEOF
20208 cat confdefs.h >>conftest.$ac_ext
20209 cat >>conftest.$ac_ext <<_ACEOF
20210 /* end confdefs.h. */
20211 #include <math.h>
20213 main ()
20215 copysignl(0, 0);
20217 return 0;
20219 _ACEOF
20220 rm -f conftest.$ac_objext
20221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20222 (eval $ac_compile) 2>conftest.er1
20223 ac_status=$?
20224 grep -v '^ *+' conftest.er1 >conftest.err
20225 rm -f conftest.er1
20226 cat conftest.err >&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); } &&
20229 { ac_try='test -z "$ac_cxx_werror_flag"
20230 || test ! -s conftest.err'
20231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20232 (eval $ac_try) 2>&5
20233 ac_status=$?
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); }; } &&
20236 { ac_try='test -s conftest.$ac_objext'
20237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20238 (eval $ac_try) 2>&5
20239 ac_status=$?
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); }; }; then
20242 glibcxx_cv_func_copysignl_use=yes
20243 else
20244 echo "$as_me: failed program was:" >&5
20245 sed 's/^/| /' conftest.$ac_ext >&5
20247 glibcxx_cv_func_copysignl_use=no
20249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20250 ac_ext=c
20251 ac_cpp='$CPP $CPPFLAGS'
20252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20261 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20263 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20265 for ac_func in copysignl
20267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20268 echo "$as_me:$LINENO: checking for $ac_func" >&5
20269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20270 if eval "test \"\${$as_ac_var+set}\" = set"; then
20271 echo $ECHO_N "(cached) $ECHO_C" >&6
20272 else
20273 if test x$gcc_no_link = xyes; then
20274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20276 { (exit 1); exit 1; }; }
20278 cat >conftest.$ac_ext <<_ACEOF
20279 /* confdefs.h. */
20280 _ACEOF
20281 cat confdefs.h >>conftest.$ac_ext
20282 cat >>conftest.$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20286 #define $ac_func innocuous_$ac_func
20288 /* System header to define __stub macros and hopefully few prototypes,
20289 which can conflict with char $ac_func (); below.
20290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20291 <limits.h> exists even on freestanding compilers. */
20293 #ifdef __STDC__
20294 # include <limits.h>
20295 #else
20296 # include <assert.h>
20297 #endif
20299 #undef $ac_func
20301 /* Override any gcc2 internal prototype to avoid an error. */
20302 #ifdef __cplusplus
20303 extern "C"
20305 #endif
20306 /* We use char because int might match the return type of a gcc2
20307 builtin and then its argument prototype would still apply. */
20308 char $ac_func ();
20309 /* The GNU C library defines this for functions which it implements
20310 to always fail with ENOSYS. Some functions are actually named
20311 something starting with __ and the normal name is an alias. */
20312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20313 choke me
20314 #else
20315 char (*f) () = $ac_func;
20316 #endif
20317 #ifdef __cplusplus
20319 #endif
20322 main ()
20324 return f != $ac_func;
20326 return 0;
20328 _ACEOF
20329 rm -f conftest.$ac_objext conftest$ac_exeext
20330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20331 (eval $ac_link) 2>conftest.er1
20332 ac_status=$?
20333 grep -v '^ *+' conftest.er1 >conftest.err
20334 rm -f conftest.er1
20335 cat conftest.err >&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } &&
20338 { ac_try='test -z "$ac_c_werror_flag"
20339 || test ! -s conftest.err'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20342 ac_status=$?
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; } &&
20345 { ac_try='test -s conftest$ac_exeext'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20348 ac_status=$?
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; }; then
20351 eval "$as_ac_var=yes"
20352 else
20353 echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.$ac_ext >&5
20356 eval "$as_ac_var=no"
20358 rm -f conftest.err conftest.$ac_objext \
20359 conftest$ac_exeext conftest.$ac_ext
20361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20363 if test `eval echo '${'$as_ac_var'}'` = yes; then
20364 cat >>confdefs.h <<_ACEOF
20365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20366 _ACEOF
20369 done
20371 else
20373 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20374 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20375 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20376 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20377 echo $ECHO_N "(cached) $ECHO_C" >&6
20378 else
20382 ac_ext=cc
20383 ac_cpp='$CXXCPP $CPPFLAGS'
20384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20388 cat >conftest.$ac_ext <<_ACEOF
20389 /* confdefs.h. */
20390 _ACEOF
20391 cat confdefs.h >>conftest.$ac_ext
20392 cat >>conftest.$ac_ext <<_ACEOF
20393 /* end confdefs.h. */
20394 #include <math.h>
20396 main ()
20398 _copysignl(0, 0);
20400 return 0;
20402 _ACEOF
20403 rm -f conftest.$ac_objext
20404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20405 (eval $ac_compile) 2>conftest.er1
20406 ac_status=$?
20407 grep -v '^ *+' conftest.er1 >conftest.err
20408 rm -f conftest.er1
20409 cat conftest.err >&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } &&
20412 { ac_try='test -z "$ac_cxx_werror_flag"
20413 || test ! -s conftest.err'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20416 ac_status=$?
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try='test -s conftest.$ac_objext'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20422 ac_status=$?
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; }; then
20425 glibcxx_cv_func__copysignl_use=yes
20426 else
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20430 glibcxx_cv_func__copysignl_use=no
20432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20433 ac_ext=c
20434 ac_cpp='$CPP $CPPFLAGS'
20435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20444 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20446 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20448 for ac_func in _copysignl
20450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20451 echo "$as_me:$LINENO: checking for $ac_func" >&5
20452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20453 if eval "test \"\${$as_ac_var+set}\" = set"; then
20454 echo $ECHO_N "(cached) $ECHO_C" >&6
20455 else
20456 if test x$gcc_no_link = xyes; then
20457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20459 { (exit 1); exit 1; }; }
20461 cat >conftest.$ac_ext <<_ACEOF
20462 /* confdefs.h. */
20463 _ACEOF
20464 cat confdefs.h >>conftest.$ac_ext
20465 cat >>conftest.$ac_ext <<_ACEOF
20466 /* end confdefs.h. */
20467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20469 #define $ac_func innocuous_$ac_func
20471 /* System header to define __stub macros and hopefully few prototypes,
20472 which can conflict with char $ac_func (); below.
20473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20474 <limits.h> exists even on freestanding compilers. */
20476 #ifdef __STDC__
20477 # include <limits.h>
20478 #else
20479 # include <assert.h>
20480 #endif
20482 #undef $ac_func
20484 /* Override any gcc2 internal prototype to avoid an error. */
20485 #ifdef __cplusplus
20486 extern "C"
20488 #endif
20489 /* We use char because int might match the return type of a gcc2
20490 builtin and then its argument prototype would still apply. */
20491 char $ac_func ();
20492 /* The GNU C library defines this for functions which it implements
20493 to always fail with ENOSYS. Some functions are actually named
20494 something starting with __ and the normal name is an alias. */
20495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20496 choke me
20497 #else
20498 char (*f) () = $ac_func;
20499 #endif
20500 #ifdef __cplusplus
20502 #endif
20505 main ()
20507 return f != $ac_func;
20509 return 0;
20511 _ACEOF
20512 rm -f conftest.$ac_objext conftest$ac_exeext
20513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20514 (eval $ac_link) 2>conftest.er1
20515 ac_status=$?
20516 grep -v '^ *+' conftest.er1 >conftest.err
20517 rm -f conftest.er1
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } &&
20521 { ac_try='test -z "$ac_c_werror_flag"
20522 || test ! -s conftest.err'
20523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524 (eval $ac_try) 2>&5
20525 ac_status=$?
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); }; } &&
20528 { ac_try='test -s conftest$ac_exeext'
20529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20530 (eval $ac_try) 2>&5
20531 ac_status=$?
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); }; }; then
20534 eval "$as_ac_var=yes"
20535 else
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20539 eval "$as_ac_var=no"
20541 rm -f conftest.err conftest.$ac_objext \
20542 conftest$ac_exeext conftest.$ac_ext
20544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20546 if test `eval echo '${'$as_ac_var'}'` = yes; then
20547 cat >>confdefs.h <<_ACEOF
20548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20549 _ACEOF
20552 done
20562 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20563 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20564 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20565 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6
20567 else
20571 ac_ext=cc
20572 ac_cpp='$CXXCPP $CPPFLAGS'
20573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20577 cat >conftest.$ac_ext <<_ACEOF
20578 /* confdefs.h. */
20579 _ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20583 #include <math.h>
20585 main ()
20587 atan2l(0, 0);
20589 return 0;
20591 _ACEOF
20592 rm -f conftest.$ac_objext
20593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20594 (eval $ac_compile) 2>conftest.er1
20595 ac_status=$?
20596 grep -v '^ *+' conftest.er1 >conftest.err
20597 rm -f conftest.er1
20598 cat conftest.err >&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } &&
20601 { ac_try='test -z "$ac_cxx_werror_flag"
20602 || test ! -s conftest.err'
20603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20604 (eval $ac_try) 2>&5
20605 ac_status=$?
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); }; } &&
20608 { ac_try='test -s conftest.$ac_objext'
20609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20610 (eval $ac_try) 2>&5
20611 ac_status=$?
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); }; }; then
20614 glibcxx_cv_func_atan2l_use=yes
20615 else
20616 echo "$as_me: failed program was:" >&5
20617 sed 's/^/| /' conftest.$ac_ext >&5
20619 glibcxx_cv_func_atan2l_use=no
20621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20622 ac_ext=c
20623 ac_cpp='$CPP $CPPFLAGS'
20624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20632 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20633 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20635 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20637 for ac_func in atan2l
20639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20640 echo "$as_me:$LINENO: checking for $ac_func" >&5
20641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20642 if eval "test \"\${$as_ac_var+set}\" = set"; then
20643 echo $ECHO_N "(cached) $ECHO_C" >&6
20644 else
20645 if test x$gcc_no_link = xyes; then
20646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20648 { (exit 1); exit 1; }; }
20650 cat >conftest.$ac_ext <<_ACEOF
20651 /* confdefs.h. */
20652 _ACEOF
20653 cat confdefs.h >>conftest.$ac_ext
20654 cat >>conftest.$ac_ext <<_ACEOF
20655 /* end confdefs.h. */
20656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20658 #define $ac_func innocuous_$ac_func
20660 /* System header to define __stub macros and hopefully few prototypes,
20661 which can conflict with char $ac_func (); below.
20662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20663 <limits.h> exists even on freestanding compilers. */
20665 #ifdef __STDC__
20666 # include <limits.h>
20667 #else
20668 # include <assert.h>
20669 #endif
20671 #undef $ac_func
20673 /* Override any gcc2 internal prototype to avoid an error. */
20674 #ifdef __cplusplus
20675 extern "C"
20677 #endif
20678 /* We use char because int might match the return type of a gcc2
20679 builtin and then its argument prototype would still apply. */
20680 char $ac_func ();
20681 /* The GNU C library defines this for functions which it implements
20682 to always fail with ENOSYS. Some functions are actually named
20683 something starting with __ and the normal name is an alias. */
20684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20685 choke me
20686 #else
20687 char (*f) () = $ac_func;
20688 #endif
20689 #ifdef __cplusplus
20691 #endif
20694 main ()
20696 return f != $ac_func;
20698 return 0;
20700 _ACEOF
20701 rm -f conftest.$ac_objext conftest$ac_exeext
20702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20703 (eval $ac_link) 2>conftest.er1
20704 ac_status=$?
20705 grep -v '^ *+' conftest.er1 >conftest.err
20706 rm -f conftest.er1
20707 cat conftest.err >&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); } &&
20710 { ac_try='test -z "$ac_c_werror_flag"
20711 || test ! -s conftest.err'
20712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20713 (eval $ac_try) 2>&5
20714 ac_status=$?
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); }; } &&
20717 { ac_try='test -s conftest$ac_exeext'
20718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20719 (eval $ac_try) 2>&5
20720 ac_status=$?
20721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722 (exit $ac_status); }; }; then
20723 eval "$as_ac_var=yes"
20724 else
20725 echo "$as_me: failed program was:" >&5
20726 sed 's/^/| /' conftest.$ac_ext >&5
20728 eval "$as_ac_var=no"
20730 rm -f conftest.err conftest.$ac_objext \
20731 conftest$ac_exeext conftest.$ac_ext
20733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20735 if test `eval echo '${'$as_ac_var'}'` = yes; then
20736 cat >>confdefs.h <<_ACEOF
20737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20738 _ACEOF
20741 done
20743 else
20745 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20746 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20747 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20748 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20749 echo $ECHO_N "(cached) $ECHO_C" >&6
20750 else
20754 ac_ext=cc
20755 ac_cpp='$CXXCPP $CPPFLAGS'
20756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20760 cat >conftest.$ac_ext <<_ACEOF
20761 /* confdefs.h. */
20762 _ACEOF
20763 cat confdefs.h >>conftest.$ac_ext
20764 cat >>conftest.$ac_ext <<_ACEOF
20765 /* end confdefs.h. */
20766 #include <math.h>
20768 main ()
20770 _atan2l(0, 0);
20772 return 0;
20774 _ACEOF
20775 rm -f conftest.$ac_objext
20776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20777 (eval $ac_compile) 2>conftest.er1
20778 ac_status=$?
20779 grep -v '^ *+' conftest.er1 >conftest.err
20780 rm -f conftest.er1
20781 cat conftest.err >&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); } &&
20784 { ac_try='test -z "$ac_cxx_werror_flag"
20785 || test ! -s conftest.err'
20786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20787 (eval $ac_try) 2>&5
20788 ac_status=$?
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); }; } &&
20791 { ac_try='test -s conftest.$ac_objext'
20792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20793 (eval $ac_try) 2>&5
20794 ac_status=$?
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; }; then
20797 glibcxx_cv_func__atan2l_use=yes
20798 else
20799 echo "$as_me: failed program was:" >&5
20800 sed 's/^/| /' conftest.$ac_ext >&5
20802 glibcxx_cv_func__atan2l_use=no
20804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20805 ac_ext=c
20806 ac_cpp='$CPP $CPPFLAGS'
20807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20815 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20816 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20818 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20820 for ac_func in _atan2l
20822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20823 echo "$as_me:$LINENO: checking for $ac_func" >&5
20824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20825 if eval "test \"\${$as_ac_var+set}\" = set"; then
20826 echo $ECHO_N "(cached) $ECHO_C" >&6
20827 else
20828 if test x$gcc_no_link = xyes; then
20829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20831 { (exit 1); exit 1; }; }
20833 cat >conftest.$ac_ext <<_ACEOF
20834 /* confdefs.h. */
20835 _ACEOF
20836 cat confdefs.h >>conftest.$ac_ext
20837 cat >>conftest.$ac_ext <<_ACEOF
20838 /* end confdefs.h. */
20839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20841 #define $ac_func innocuous_$ac_func
20843 /* System header to define __stub macros and hopefully few prototypes,
20844 which can conflict with char $ac_func (); below.
20845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20846 <limits.h> exists even on freestanding compilers. */
20848 #ifdef __STDC__
20849 # include <limits.h>
20850 #else
20851 # include <assert.h>
20852 #endif
20854 #undef $ac_func
20856 /* Override any gcc2 internal prototype to avoid an error. */
20857 #ifdef __cplusplus
20858 extern "C"
20860 #endif
20861 /* We use char because int might match the return type of a gcc2
20862 builtin and then its argument prototype would still apply. */
20863 char $ac_func ();
20864 /* The GNU C library defines this for functions which it implements
20865 to always fail with ENOSYS. Some functions are actually named
20866 something starting with __ and the normal name is an alias. */
20867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20868 choke me
20869 #else
20870 char (*f) () = $ac_func;
20871 #endif
20872 #ifdef __cplusplus
20874 #endif
20877 main ()
20879 return f != $ac_func;
20881 return 0;
20883 _ACEOF
20884 rm -f conftest.$ac_objext conftest$ac_exeext
20885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20886 (eval $ac_link) 2>conftest.er1
20887 ac_status=$?
20888 grep -v '^ *+' conftest.er1 >conftest.err
20889 rm -f conftest.er1
20890 cat conftest.err >&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } &&
20893 { ac_try='test -z "$ac_c_werror_flag"
20894 || test ! -s conftest.err'
20895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20896 (eval $ac_try) 2>&5
20897 ac_status=$?
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); }; } &&
20900 { ac_try='test -s conftest$ac_exeext'
20901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902 (eval $ac_try) 2>&5
20903 ac_status=$?
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); }; }; then
20906 eval "$as_ac_var=yes"
20907 else
20908 echo "$as_me: failed program was:" >&5
20909 sed 's/^/| /' conftest.$ac_ext >&5
20911 eval "$as_ac_var=no"
20913 rm -f conftest.err conftest.$ac_objext \
20914 conftest$ac_exeext conftest.$ac_ext
20916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20918 if test `eval echo '${'$as_ac_var'}'` = yes; then
20919 cat >>confdefs.h <<_ACEOF
20920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20921 _ACEOF
20924 done
20934 echo "$as_me:$LINENO: checking for expl declaration" >&5
20935 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20936 if test x${glibcxx_cv_func_expl_use+set} != xset; then
20937 if test "${glibcxx_cv_func_expl_use+set}" = set; then
20938 echo $ECHO_N "(cached) $ECHO_C" >&6
20939 else
20943 ac_ext=cc
20944 ac_cpp='$CXXCPP $CPPFLAGS'
20945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20949 cat >conftest.$ac_ext <<_ACEOF
20950 /* confdefs.h. */
20951 _ACEOF
20952 cat confdefs.h >>conftest.$ac_ext
20953 cat >>conftest.$ac_ext <<_ACEOF
20954 /* end confdefs.h. */
20955 #include <math.h>
20956 #ifdef HAVE_IEEEFP_H
20957 #include <ieeefp.h>
20958 #endif
20961 main ()
20963 expl(0);
20965 return 0;
20967 _ACEOF
20968 rm -f conftest.$ac_objext
20969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20970 (eval $ac_compile) 2>conftest.er1
20971 ac_status=$?
20972 grep -v '^ *+' conftest.er1 >conftest.err
20973 rm -f conftest.er1
20974 cat conftest.err >&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); } &&
20977 { ac_try='test -z "$ac_cxx_werror_flag"
20978 || test ! -s conftest.err'
20979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20980 (eval $ac_try) 2>&5
20981 ac_status=$?
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); }; } &&
20984 { ac_try='test -s conftest.$ac_objext'
20985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20986 (eval $ac_try) 2>&5
20987 ac_status=$?
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); }; }; then
20990 glibcxx_cv_func_expl_use=yes
20991 else
20992 echo "$as_me: failed program was:" >&5
20993 sed 's/^/| /' conftest.$ac_ext >&5
20995 glibcxx_cv_func_expl_use=no
20997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20998 ac_ext=c
20999 ac_cpp='$CPP $CPPFLAGS'
21000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21009 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21011 if test x$glibcxx_cv_func_expl_use = x"yes"; then
21013 for ac_func in expl
21015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21016 echo "$as_me:$LINENO: checking for $ac_func" >&5
21017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21018 if eval "test \"\${$as_ac_var+set}\" = set"; then
21019 echo $ECHO_N "(cached) $ECHO_C" >&6
21020 else
21021 if test x$gcc_no_link = xyes; then
21022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21024 { (exit 1); exit 1; }; }
21026 cat >conftest.$ac_ext <<_ACEOF
21027 /* confdefs.h. */
21028 _ACEOF
21029 cat confdefs.h >>conftest.$ac_ext
21030 cat >>conftest.$ac_ext <<_ACEOF
21031 /* end confdefs.h. */
21032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21034 #define $ac_func innocuous_$ac_func
21036 /* System header to define __stub macros and hopefully few prototypes,
21037 which can conflict with char $ac_func (); below.
21038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21039 <limits.h> exists even on freestanding compilers. */
21041 #ifdef __STDC__
21042 # include <limits.h>
21043 #else
21044 # include <assert.h>
21045 #endif
21047 #undef $ac_func
21049 /* Override any gcc2 internal prototype to avoid an error. */
21050 #ifdef __cplusplus
21051 extern "C"
21053 #endif
21054 /* We use char because int might match the return type of a gcc2
21055 builtin and then its argument prototype would still apply. */
21056 char $ac_func ();
21057 /* The GNU C library defines this for functions which it implements
21058 to always fail with ENOSYS. Some functions are actually named
21059 something starting with __ and the normal name is an alias. */
21060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21061 choke me
21062 #else
21063 char (*f) () = $ac_func;
21064 #endif
21065 #ifdef __cplusplus
21067 #endif
21070 main ()
21072 return f != $ac_func;
21074 return 0;
21076 _ACEOF
21077 rm -f conftest.$ac_objext conftest$ac_exeext
21078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21079 (eval $ac_link) 2>conftest.er1
21080 ac_status=$?
21081 grep -v '^ *+' conftest.er1 >conftest.err
21082 rm -f conftest.er1
21083 cat conftest.err >&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } &&
21086 { ac_try='test -z "$ac_c_werror_flag"
21087 || test ! -s conftest.err'
21088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21089 (eval $ac_try) 2>&5
21090 ac_status=$?
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; } &&
21093 { ac_try='test -s conftest$ac_exeext'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21096 ac_status=$?
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; }; then
21099 eval "$as_ac_var=yes"
21100 else
21101 echo "$as_me: failed program was:" >&5
21102 sed 's/^/| /' conftest.$ac_ext >&5
21104 eval "$as_ac_var=no"
21106 rm -f conftest.err conftest.$ac_objext \
21107 conftest$ac_exeext conftest.$ac_ext
21109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21111 if test `eval echo '${'$as_ac_var'}'` = yes; then
21112 cat >>confdefs.h <<_ACEOF
21113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21114 _ACEOF
21117 done
21119 else
21121 echo "$as_me:$LINENO: checking for _expl declaration" >&5
21122 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21123 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21124 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21125 echo $ECHO_N "(cached) $ECHO_C" >&6
21126 else
21130 ac_ext=cc
21131 ac_cpp='$CXXCPP $CPPFLAGS'
21132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21136 cat >conftest.$ac_ext <<_ACEOF
21137 /* confdefs.h. */
21138 _ACEOF
21139 cat confdefs.h >>conftest.$ac_ext
21140 cat >>conftest.$ac_ext <<_ACEOF
21141 /* end confdefs.h. */
21142 #include <math.h>
21143 #ifdef HAVE_IEEEFP_H
21144 #include <ieeefp.h>
21145 #endif
21148 main ()
21150 _expl(0);
21152 return 0;
21154 _ACEOF
21155 rm -f conftest.$ac_objext
21156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21157 (eval $ac_compile) 2>conftest.er1
21158 ac_status=$?
21159 grep -v '^ *+' conftest.er1 >conftest.err
21160 rm -f conftest.er1
21161 cat conftest.err >&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); } &&
21164 { ac_try='test -z "$ac_cxx_werror_flag"
21165 || test ! -s conftest.err'
21166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21167 (eval $ac_try) 2>&5
21168 ac_status=$?
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); }; } &&
21171 { ac_try='test -s conftest.$ac_objext'
21172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21173 (eval $ac_try) 2>&5
21174 ac_status=$?
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); }; }; then
21177 glibcxx_cv_func__expl_use=yes
21178 else
21179 echo "$as_me: failed program was:" >&5
21180 sed 's/^/| /' conftest.$ac_ext >&5
21182 glibcxx_cv_func__expl_use=no
21184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21185 ac_ext=c
21186 ac_cpp='$CPP $CPPFLAGS'
21187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21195 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21196 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21198 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21200 for ac_func in _expl
21202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21203 echo "$as_me:$LINENO: checking for $ac_func" >&5
21204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21205 if eval "test \"\${$as_ac_var+set}\" = set"; then
21206 echo $ECHO_N "(cached) $ECHO_C" >&6
21207 else
21208 if test x$gcc_no_link = xyes; then
21209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21211 { (exit 1); exit 1; }; }
21213 cat >conftest.$ac_ext <<_ACEOF
21214 /* confdefs.h. */
21215 _ACEOF
21216 cat confdefs.h >>conftest.$ac_ext
21217 cat >>conftest.$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21221 #define $ac_func innocuous_$ac_func
21223 /* System header to define __stub macros and hopefully few prototypes,
21224 which can conflict with char $ac_func (); below.
21225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21226 <limits.h> exists even on freestanding compilers. */
21228 #ifdef __STDC__
21229 # include <limits.h>
21230 #else
21231 # include <assert.h>
21232 #endif
21234 #undef $ac_func
21236 /* Override any gcc2 internal prototype to avoid an error. */
21237 #ifdef __cplusplus
21238 extern "C"
21240 #endif
21241 /* We use char because int might match the return type of a gcc2
21242 builtin and then its argument prototype would still apply. */
21243 char $ac_func ();
21244 /* The GNU C library defines this for functions which it implements
21245 to always fail with ENOSYS. Some functions are actually named
21246 something starting with __ and the normal name is an alias. */
21247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21248 choke me
21249 #else
21250 char (*f) () = $ac_func;
21251 #endif
21252 #ifdef __cplusplus
21254 #endif
21257 main ()
21259 return f != $ac_func;
21261 return 0;
21263 _ACEOF
21264 rm -f conftest.$ac_objext conftest$ac_exeext
21265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21266 (eval $ac_link) 2>conftest.er1
21267 ac_status=$?
21268 grep -v '^ *+' conftest.er1 >conftest.err
21269 rm -f conftest.er1
21270 cat conftest.err >&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); } &&
21273 { ac_try='test -z "$ac_c_werror_flag"
21274 || test ! -s conftest.err'
21275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21276 (eval $ac_try) 2>&5
21277 ac_status=$?
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); }; } &&
21280 { ac_try='test -s conftest$ac_exeext'
21281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21282 (eval $ac_try) 2>&5
21283 ac_status=$?
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); }; }; then
21286 eval "$as_ac_var=yes"
21287 else
21288 echo "$as_me: failed program was:" >&5
21289 sed 's/^/| /' conftest.$ac_ext >&5
21291 eval "$as_ac_var=no"
21293 rm -f conftest.err conftest.$ac_objext \
21294 conftest$ac_exeext conftest.$ac_ext
21296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21298 if test `eval echo '${'$as_ac_var'}'` = yes; then
21299 cat >>confdefs.h <<_ACEOF
21300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21301 _ACEOF
21304 done
21314 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21315 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21316 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21317 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21318 echo $ECHO_N "(cached) $ECHO_C" >&6
21319 else
21323 ac_ext=cc
21324 ac_cpp='$CXXCPP $CPPFLAGS'
21325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21329 cat >conftest.$ac_ext <<_ACEOF
21330 /* confdefs.h. */
21331 _ACEOF
21332 cat confdefs.h >>conftest.$ac_ext
21333 cat >>conftest.$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21335 #include <math.h>
21336 #ifdef HAVE_IEEEFP_H
21337 #include <ieeefp.h>
21338 #endif
21341 main ()
21343 fabsl(0);
21345 return 0;
21347 _ACEOF
21348 rm -f conftest.$ac_objext
21349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21350 (eval $ac_compile) 2>conftest.er1
21351 ac_status=$?
21352 grep -v '^ *+' conftest.er1 >conftest.err
21353 rm -f conftest.er1
21354 cat conftest.err >&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); } &&
21357 { ac_try='test -z "$ac_cxx_werror_flag"
21358 || test ! -s conftest.err'
21359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360 (eval $ac_try) 2>&5
21361 ac_status=$?
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; } &&
21364 { ac_try='test -s conftest.$ac_objext'
21365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366 (eval $ac_try) 2>&5
21367 ac_status=$?
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; }; then
21370 glibcxx_cv_func_fabsl_use=yes
21371 else
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21375 glibcxx_cv_func_fabsl_use=no
21377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21378 ac_ext=c
21379 ac_cpp='$CPP $CPPFLAGS'
21380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21388 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21389 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21391 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21393 for ac_func in fabsl
21395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21396 echo "$as_me:$LINENO: checking for $ac_func" >&5
21397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21398 if eval "test \"\${$as_ac_var+set}\" = set"; then
21399 echo $ECHO_N "(cached) $ECHO_C" >&6
21400 else
21401 if test x$gcc_no_link = xyes; then
21402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21404 { (exit 1); exit 1; }; }
21406 cat >conftest.$ac_ext <<_ACEOF
21407 /* confdefs.h. */
21408 _ACEOF
21409 cat confdefs.h >>conftest.$ac_ext
21410 cat >>conftest.$ac_ext <<_ACEOF
21411 /* end confdefs.h. */
21412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21414 #define $ac_func innocuous_$ac_func
21416 /* System header to define __stub macros and hopefully few prototypes,
21417 which can conflict with char $ac_func (); below.
21418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21419 <limits.h> exists even on freestanding compilers. */
21421 #ifdef __STDC__
21422 # include <limits.h>
21423 #else
21424 # include <assert.h>
21425 #endif
21427 #undef $ac_func
21429 /* Override any gcc2 internal prototype to avoid an error. */
21430 #ifdef __cplusplus
21431 extern "C"
21433 #endif
21434 /* We use char because int might match the return type of a gcc2
21435 builtin and then its argument prototype would still apply. */
21436 char $ac_func ();
21437 /* The GNU C library defines this for functions which it implements
21438 to always fail with ENOSYS. Some functions are actually named
21439 something starting with __ and the normal name is an alias. */
21440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21441 choke me
21442 #else
21443 char (*f) () = $ac_func;
21444 #endif
21445 #ifdef __cplusplus
21447 #endif
21450 main ()
21452 return f != $ac_func;
21454 return 0;
21456 _ACEOF
21457 rm -f conftest.$ac_objext conftest$ac_exeext
21458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21459 (eval $ac_link) 2>conftest.er1
21460 ac_status=$?
21461 grep -v '^ *+' conftest.er1 >conftest.err
21462 rm -f conftest.er1
21463 cat conftest.err >&5
21464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465 (exit $ac_status); } &&
21466 { ac_try='test -z "$ac_c_werror_flag"
21467 || test ! -s conftest.err'
21468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21469 (eval $ac_try) 2>&5
21470 ac_status=$?
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); }; } &&
21473 { ac_try='test -s conftest$ac_exeext'
21474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21475 (eval $ac_try) 2>&5
21476 ac_status=$?
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); }; }; then
21479 eval "$as_ac_var=yes"
21480 else
21481 echo "$as_me: failed program was:" >&5
21482 sed 's/^/| /' conftest.$ac_ext >&5
21484 eval "$as_ac_var=no"
21486 rm -f conftest.err conftest.$ac_objext \
21487 conftest$ac_exeext conftest.$ac_ext
21489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21491 if test `eval echo '${'$as_ac_var'}'` = yes; then
21492 cat >>confdefs.h <<_ACEOF
21493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21494 _ACEOF
21497 done
21499 else
21501 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21502 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21503 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21504 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21505 echo $ECHO_N "(cached) $ECHO_C" >&6
21506 else
21510 ac_ext=cc
21511 ac_cpp='$CXXCPP $CPPFLAGS'
21512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21516 cat >conftest.$ac_ext <<_ACEOF
21517 /* confdefs.h. */
21518 _ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 #include <math.h>
21523 #ifdef HAVE_IEEEFP_H
21524 #include <ieeefp.h>
21525 #endif
21528 main ()
21530 _fabsl(0);
21532 return 0;
21534 _ACEOF
21535 rm -f conftest.$ac_objext
21536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21537 (eval $ac_compile) 2>conftest.er1
21538 ac_status=$?
21539 grep -v '^ *+' conftest.er1 >conftest.err
21540 rm -f conftest.er1
21541 cat conftest.err >&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); } &&
21544 { ac_try='test -z "$ac_cxx_werror_flag"
21545 || test ! -s conftest.err'
21546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547 (eval $ac_try) 2>&5
21548 ac_status=$?
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); }; } &&
21551 { ac_try='test -s conftest.$ac_objext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21554 ac_status=$?
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21557 glibcxx_cv_func__fabsl_use=yes
21558 else
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.$ac_ext >&5
21562 glibcxx_cv_func__fabsl_use=no
21564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21565 ac_ext=c
21566 ac_cpp='$CPP $CPPFLAGS'
21567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21575 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21576 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21578 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21580 for ac_func in _fabsl
21582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21583 echo "$as_me:$LINENO: checking for $ac_func" >&5
21584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21585 if eval "test \"\${$as_ac_var+set}\" = set"; then
21586 echo $ECHO_N "(cached) $ECHO_C" >&6
21587 else
21588 if test x$gcc_no_link = xyes; then
21589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21591 { (exit 1); exit 1; }; }
21593 cat >conftest.$ac_ext <<_ACEOF
21594 /* confdefs.h. */
21595 _ACEOF
21596 cat confdefs.h >>conftest.$ac_ext
21597 cat >>conftest.$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21601 #define $ac_func innocuous_$ac_func
21603 /* System header to define __stub macros and hopefully few prototypes,
21604 which can conflict with char $ac_func (); below.
21605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21606 <limits.h> exists even on freestanding compilers. */
21608 #ifdef __STDC__
21609 # include <limits.h>
21610 #else
21611 # include <assert.h>
21612 #endif
21614 #undef $ac_func
21616 /* Override any gcc2 internal prototype to avoid an error. */
21617 #ifdef __cplusplus
21618 extern "C"
21620 #endif
21621 /* We use char because int might match the return type of a gcc2
21622 builtin and then its argument prototype would still apply. */
21623 char $ac_func ();
21624 /* The GNU C library defines this for functions which it implements
21625 to always fail with ENOSYS. Some functions are actually named
21626 something starting with __ and the normal name is an alias. */
21627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21628 choke me
21629 #else
21630 char (*f) () = $ac_func;
21631 #endif
21632 #ifdef __cplusplus
21634 #endif
21637 main ()
21639 return f != $ac_func;
21641 return 0;
21643 _ACEOF
21644 rm -f conftest.$ac_objext conftest$ac_exeext
21645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21646 (eval $ac_link) 2>conftest.er1
21647 ac_status=$?
21648 grep -v '^ *+' conftest.er1 >conftest.err
21649 rm -f conftest.er1
21650 cat conftest.err >&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } &&
21653 { ac_try='test -z "$ac_c_werror_flag"
21654 || test ! -s conftest.err'
21655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656 (eval $ac_try) 2>&5
21657 ac_status=$?
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; } &&
21660 { ac_try='test -s conftest$ac_exeext'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662 (eval $ac_try) 2>&5
21663 ac_status=$?
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; }; then
21666 eval "$as_ac_var=yes"
21667 else
21668 echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.$ac_ext >&5
21671 eval "$as_ac_var=no"
21673 rm -f conftest.err conftest.$ac_objext \
21674 conftest$ac_exeext conftest.$ac_ext
21676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21678 if test `eval echo '${'$as_ac_var'}'` = yes; then
21679 cat >>confdefs.h <<_ACEOF
21680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21681 _ACEOF
21684 done
21694 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21695 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21696 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21697 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21698 echo $ECHO_N "(cached) $ECHO_C" >&6
21699 else
21703 ac_ext=cc
21704 ac_cpp='$CXXCPP $CPPFLAGS'
21705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21709 cat >conftest.$ac_ext <<_ACEOF
21710 /* confdefs.h. */
21711 _ACEOF
21712 cat confdefs.h >>conftest.$ac_ext
21713 cat >>conftest.$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21715 #include <math.h>
21717 main ()
21719 fmodl(0, 0);
21721 return 0;
21723 _ACEOF
21724 rm -f conftest.$ac_objext
21725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21726 (eval $ac_compile) 2>conftest.er1
21727 ac_status=$?
21728 grep -v '^ *+' conftest.er1 >conftest.err
21729 rm -f conftest.er1
21730 cat conftest.err >&5
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); } &&
21733 { ac_try='test -z "$ac_cxx_werror_flag"
21734 || test ! -s conftest.err'
21735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21736 (eval $ac_try) 2>&5
21737 ac_status=$?
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); }; } &&
21740 { ac_try='test -s conftest.$ac_objext'
21741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21742 (eval $ac_try) 2>&5
21743 ac_status=$?
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); }; }; then
21746 glibcxx_cv_func_fmodl_use=yes
21747 else
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.$ac_ext >&5
21751 glibcxx_cv_func_fmodl_use=no
21753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21754 ac_ext=c
21755 ac_cpp='$CPP $CPPFLAGS'
21756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21764 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21765 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21767 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21769 for ac_func in fmodl
21771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21772 echo "$as_me:$LINENO: checking for $ac_func" >&5
21773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21774 if eval "test \"\${$as_ac_var+set}\" = set"; then
21775 echo $ECHO_N "(cached) $ECHO_C" >&6
21776 else
21777 if test x$gcc_no_link = xyes; then
21778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21780 { (exit 1); exit 1; }; }
21782 cat >conftest.$ac_ext <<_ACEOF
21783 /* confdefs.h. */
21784 _ACEOF
21785 cat confdefs.h >>conftest.$ac_ext
21786 cat >>conftest.$ac_ext <<_ACEOF
21787 /* end confdefs.h. */
21788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21790 #define $ac_func innocuous_$ac_func
21792 /* System header to define __stub macros and hopefully few prototypes,
21793 which can conflict with char $ac_func (); below.
21794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21795 <limits.h> exists even on freestanding compilers. */
21797 #ifdef __STDC__
21798 # include <limits.h>
21799 #else
21800 # include <assert.h>
21801 #endif
21803 #undef $ac_func
21805 /* Override any gcc2 internal prototype to avoid an error. */
21806 #ifdef __cplusplus
21807 extern "C"
21809 #endif
21810 /* We use char because int might match the return type of a gcc2
21811 builtin and then its argument prototype would still apply. */
21812 char $ac_func ();
21813 /* The GNU C library defines this for functions which it implements
21814 to always fail with ENOSYS. Some functions are actually named
21815 something starting with __ and the normal name is an alias. */
21816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21817 choke me
21818 #else
21819 char (*f) () = $ac_func;
21820 #endif
21821 #ifdef __cplusplus
21823 #endif
21826 main ()
21828 return f != $ac_func;
21830 return 0;
21832 _ACEOF
21833 rm -f conftest.$ac_objext conftest$ac_exeext
21834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21835 (eval $ac_link) 2>conftest.er1
21836 ac_status=$?
21837 grep -v '^ *+' conftest.er1 >conftest.err
21838 rm -f conftest.er1
21839 cat conftest.err >&5
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); } &&
21842 { ac_try='test -z "$ac_c_werror_flag"
21843 || test ! -s conftest.err'
21844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21845 (eval $ac_try) 2>&5
21846 ac_status=$?
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); }; } &&
21849 { ac_try='test -s conftest$ac_exeext'
21850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21851 (eval $ac_try) 2>&5
21852 ac_status=$?
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); }; }; then
21855 eval "$as_ac_var=yes"
21856 else
21857 echo "$as_me: failed program was:" >&5
21858 sed 's/^/| /' conftest.$ac_ext >&5
21860 eval "$as_ac_var=no"
21862 rm -f conftest.err conftest.$ac_objext \
21863 conftest$ac_exeext conftest.$ac_ext
21865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21867 if test `eval echo '${'$as_ac_var'}'` = yes; then
21868 cat >>confdefs.h <<_ACEOF
21869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21870 _ACEOF
21873 done
21875 else
21877 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21878 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21879 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21880 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21881 echo $ECHO_N "(cached) $ECHO_C" >&6
21882 else
21886 ac_ext=cc
21887 ac_cpp='$CXXCPP $CPPFLAGS'
21888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21892 cat >conftest.$ac_ext <<_ACEOF
21893 /* confdefs.h. */
21894 _ACEOF
21895 cat confdefs.h >>conftest.$ac_ext
21896 cat >>conftest.$ac_ext <<_ACEOF
21897 /* end confdefs.h. */
21898 #include <math.h>
21900 main ()
21902 _fmodl(0, 0);
21904 return 0;
21906 _ACEOF
21907 rm -f conftest.$ac_objext
21908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21909 (eval $ac_compile) 2>conftest.er1
21910 ac_status=$?
21911 grep -v '^ *+' conftest.er1 >conftest.err
21912 rm -f conftest.er1
21913 cat conftest.err >&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } &&
21916 { ac_try='test -z "$ac_cxx_werror_flag"
21917 || test ! -s conftest.err'
21918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21919 (eval $ac_try) 2>&5
21920 ac_status=$?
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); }; } &&
21923 { ac_try='test -s conftest.$ac_objext'
21924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21925 (eval $ac_try) 2>&5
21926 ac_status=$?
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); }; }; then
21929 glibcxx_cv_func__fmodl_use=yes
21930 else
21931 echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.$ac_ext >&5
21934 glibcxx_cv_func__fmodl_use=no
21936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21937 ac_ext=c
21938 ac_cpp='$CPP $CPPFLAGS'
21939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21948 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21950 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21952 for ac_func in _fmodl
21954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21955 echo "$as_me:$LINENO: checking for $ac_func" >&5
21956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21957 if eval "test \"\${$as_ac_var+set}\" = set"; then
21958 echo $ECHO_N "(cached) $ECHO_C" >&6
21959 else
21960 if test x$gcc_no_link = xyes; then
21961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21963 { (exit 1); exit 1; }; }
21965 cat >conftest.$ac_ext <<_ACEOF
21966 /* confdefs.h. */
21967 _ACEOF
21968 cat confdefs.h >>conftest.$ac_ext
21969 cat >>conftest.$ac_ext <<_ACEOF
21970 /* end confdefs.h. */
21971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21973 #define $ac_func innocuous_$ac_func
21975 /* System header to define __stub macros and hopefully few prototypes,
21976 which can conflict with char $ac_func (); below.
21977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21978 <limits.h> exists even on freestanding compilers. */
21980 #ifdef __STDC__
21981 # include <limits.h>
21982 #else
21983 # include <assert.h>
21984 #endif
21986 #undef $ac_func
21988 /* Override any gcc2 internal prototype to avoid an error. */
21989 #ifdef __cplusplus
21990 extern "C"
21992 #endif
21993 /* We use char because int might match the return type of a gcc2
21994 builtin and then its argument prototype would still apply. */
21995 char $ac_func ();
21996 /* The GNU C library defines this for functions which it implements
21997 to always fail with ENOSYS. Some functions are actually named
21998 something starting with __ and the normal name is an alias. */
21999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22000 choke me
22001 #else
22002 char (*f) () = $ac_func;
22003 #endif
22004 #ifdef __cplusplus
22006 #endif
22009 main ()
22011 return f != $ac_func;
22013 return 0;
22015 _ACEOF
22016 rm -f conftest.$ac_objext conftest$ac_exeext
22017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22018 (eval $ac_link) 2>conftest.er1
22019 ac_status=$?
22020 grep -v '^ *+' conftest.er1 >conftest.err
22021 rm -f conftest.er1
22022 cat conftest.err >&5
22023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); } &&
22025 { ac_try='test -z "$ac_c_werror_flag"
22026 || test ! -s conftest.err'
22027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22028 (eval $ac_try) 2>&5
22029 ac_status=$?
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); }; } &&
22032 { ac_try='test -s conftest$ac_exeext'
22033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22034 (eval $ac_try) 2>&5
22035 ac_status=$?
22036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037 (exit $ac_status); }; }; then
22038 eval "$as_ac_var=yes"
22039 else
22040 echo "$as_me: failed program was:" >&5
22041 sed 's/^/| /' conftest.$ac_ext >&5
22043 eval "$as_ac_var=no"
22045 rm -f conftest.err conftest.$ac_objext \
22046 conftest$ac_exeext conftest.$ac_ext
22048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22050 if test `eval echo '${'$as_ac_var'}'` = yes; then
22051 cat >>confdefs.h <<_ACEOF
22052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22053 _ACEOF
22056 done
22066 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22067 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22068 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22069 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22070 echo $ECHO_N "(cached) $ECHO_C" >&6
22071 else
22075 ac_ext=cc
22076 ac_cpp='$CXXCPP $CPPFLAGS'
22077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22081 cat >conftest.$ac_ext <<_ACEOF
22082 /* confdefs.h. */
22083 _ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087 #include <math.h>
22089 main ()
22091 frexpl(0, 0);
22093 return 0;
22095 _ACEOF
22096 rm -f conftest.$ac_objext
22097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22098 (eval $ac_compile) 2>conftest.er1
22099 ac_status=$?
22100 grep -v '^ *+' conftest.er1 >conftest.err
22101 rm -f conftest.er1
22102 cat conftest.err >&5
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); } &&
22105 { ac_try='test -z "$ac_cxx_werror_flag"
22106 || test ! -s conftest.err'
22107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22108 (eval $ac_try) 2>&5
22109 ac_status=$?
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); }; } &&
22112 { ac_try='test -s conftest.$ac_objext'
22113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22114 (eval $ac_try) 2>&5
22115 ac_status=$?
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); }; }; then
22118 glibcxx_cv_func_frexpl_use=yes
22119 else
22120 echo "$as_me: failed program was:" >&5
22121 sed 's/^/| /' conftest.$ac_ext >&5
22123 glibcxx_cv_func_frexpl_use=no
22125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22126 ac_ext=c
22127 ac_cpp='$CPP $CPPFLAGS'
22128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22136 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22137 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22139 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22141 for ac_func in frexpl
22143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22144 echo "$as_me:$LINENO: checking for $ac_func" >&5
22145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22146 if eval "test \"\${$as_ac_var+set}\" = set"; then
22147 echo $ECHO_N "(cached) $ECHO_C" >&6
22148 else
22149 if test x$gcc_no_link = xyes; then
22150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22152 { (exit 1); exit 1; }; }
22154 cat >conftest.$ac_ext <<_ACEOF
22155 /* confdefs.h. */
22156 _ACEOF
22157 cat confdefs.h >>conftest.$ac_ext
22158 cat >>conftest.$ac_ext <<_ACEOF
22159 /* end confdefs.h. */
22160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22162 #define $ac_func innocuous_$ac_func
22164 /* System header to define __stub macros and hopefully few prototypes,
22165 which can conflict with char $ac_func (); below.
22166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22167 <limits.h> exists even on freestanding compilers. */
22169 #ifdef __STDC__
22170 # include <limits.h>
22171 #else
22172 # include <assert.h>
22173 #endif
22175 #undef $ac_func
22177 /* Override any gcc2 internal prototype to avoid an error. */
22178 #ifdef __cplusplus
22179 extern "C"
22181 #endif
22182 /* We use char because int might match the return type of a gcc2
22183 builtin and then its argument prototype would still apply. */
22184 char $ac_func ();
22185 /* The GNU C library defines this for functions which it implements
22186 to always fail with ENOSYS. Some functions are actually named
22187 something starting with __ and the normal name is an alias. */
22188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22189 choke me
22190 #else
22191 char (*f) () = $ac_func;
22192 #endif
22193 #ifdef __cplusplus
22195 #endif
22198 main ()
22200 return f != $ac_func;
22202 return 0;
22204 _ACEOF
22205 rm -f conftest.$ac_objext conftest$ac_exeext
22206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22207 (eval $ac_link) 2>conftest.er1
22208 ac_status=$?
22209 grep -v '^ *+' conftest.er1 >conftest.err
22210 rm -f conftest.er1
22211 cat conftest.err >&5
22212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22213 (exit $ac_status); } &&
22214 { ac_try='test -z "$ac_c_werror_flag"
22215 || test ! -s conftest.err'
22216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217 (eval $ac_try) 2>&5
22218 ac_status=$?
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; } &&
22221 { ac_try='test -s conftest$ac_exeext'
22222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223 (eval $ac_try) 2>&5
22224 ac_status=$?
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); }; }; then
22227 eval "$as_ac_var=yes"
22228 else
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22232 eval "$as_ac_var=no"
22234 rm -f conftest.err conftest.$ac_objext \
22235 conftest$ac_exeext conftest.$ac_ext
22237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22239 if test `eval echo '${'$as_ac_var'}'` = yes; then
22240 cat >>confdefs.h <<_ACEOF
22241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22242 _ACEOF
22245 done
22247 else
22249 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22250 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22251 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22252 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22253 echo $ECHO_N "(cached) $ECHO_C" >&6
22254 else
22258 ac_ext=cc
22259 ac_cpp='$CXXCPP $CPPFLAGS'
22260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22264 cat >conftest.$ac_ext <<_ACEOF
22265 /* confdefs.h. */
22266 _ACEOF
22267 cat confdefs.h >>conftest.$ac_ext
22268 cat >>conftest.$ac_ext <<_ACEOF
22269 /* end confdefs.h. */
22270 #include <math.h>
22272 main ()
22274 _frexpl(0, 0);
22276 return 0;
22278 _ACEOF
22279 rm -f conftest.$ac_objext
22280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22281 (eval $ac_compile) 2>conftest.er1
22282 ac_status=$?
22283 grep -v '^ *+' conftest.er1 >conftest.err
22284 rm -f conftest.er1
22285 cat conftest.err >&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); } &&
22288 { ac_try='test -z "$ac_cxx_werror_flag"
22289 || test ! -s conftest.err'
22290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291 (eval $ac_try) 2>&5
22292 ac_status=$?
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; } &&
22295 { ac_try='test -s conftest.$ac_objext'
22296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22297 (eval $ac_try) 2>&5
22298 ac_status=$?
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); }; }; then
22301 glibcxx_cv_func__frexpl_use=yes
22302 else
22303 echo "$as_me: failed program was:" >&5
22304 sed 's/^/| /' conftest.$ac_ext >&5
22306 glibcxx_cv_func__frexpl_use=no
22308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22309 ac_ext=c
22310 ac_cpp='$CPP $CPPFLAGS'
22311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22319 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22320 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22322 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22324 for ac_func in _frexpl
22326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22327 echo "$as_me:$LINENO: checking for $ac_func" >&5
22328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22329 if eval "test \"\${$as_ac_var+set}\" = set"; then
22330 echo $ECHO_N "(cached) $ECHO_C" >&6
22331 else
22332 if test x$gcc_no_link = xyes; then
22333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22335 { (exit 1); exit 1; }; }
22337 cat >conftest.$ac_ext <<_ACEOF
22338 /* confdefs.h. */
22339 _ACEOF
22340 cat confdefs.h >>conftest.$ac_ext
22341 cat >>conftest.$ac_ext <<_ACEOF
22342 /* end confdefs.h. */
22343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22345 #define $ac_func innocuous_$ac_func
22347 /* System header to define __stub macros and hopefully few prototypes,
22348 which can conflict with char $ac_func (); below.
22349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22350 <limits.h> exists even on freestanding compilers. */
22352 #ifdef __STDC__
22353 # include <limits.h>
22354 #else
22355 # include <assert.h>
22356 #endif
22358 #undef $ac_func
22360 /* Override any gcc2 internal prototype to avoid an error. */
22361 #ifdef __cplusplus
22362 extern "C"
22364 #endif
22365 /* We use char because int might match the return type of a gcc2
22366 builtin and then its argument prototype would still apply. */
22367 char $ac_func ();
22368 /* The GNU C library defines this for functions which it implements
22369 to always fail with ENOSYS. Some functions are actually named
22370 something starting with __ and the normal name is an alias. */
22371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22372 choke me
22373 #else
22374 char (*f) () = $ac_func;
22375 #endif
22376 #ifdef __cplusplus
22378 #endif
22381 main ()
22383 return f != $ac_func;
22385 return 0;
22387 _ACEOF
22388 rm -f conftest.$ac_objext conftest$ac_exeext
22389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22390 (eval $ac_link) 2>conftest.er1
22391 ac_status=$?
22392 grep -v '^ *+' conftest.er1 >conftest.err
22393 rm -f conftest.er1
22394 cat conftest.err >&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); } &&
22397 { ac_try='test -z "$ac_c_werror_flag"
22398 || test ! -s conftest.err'
22399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22400 (eval $ac_try) 2>&5
22401 ac_status=$?
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); }; } &&
22404 { ac_try='test -s conftest$ac_exeext'
22405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22406 (eval $ac_try) 2>&5
22407 ac_status=$?
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); }; }; then
22410 eval "$as_ac_var=yes"
22411 else
22412 echo "$as_me: failed program was:" >&5
22413 sed 's/^/| /' conftest.$ac_ext >&5
22415 eval "$as_ac_var=no"
22417 rm -f conftest.err conftest.$ac_objext \
22418 conftest$ac_exeext conftest.$ac_ext
22420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22422 if test `eval echo '${'$as_ac_var'}'` = yes; then
22423 cat >>confdefs.h <<_ACEOF
22424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22425 _ACEOF
22428 done
22438 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22439 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22440 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22441 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22442 echo $ECHO_N "(cached) $ECHO_C" >&6
22443 else
22447 ac_ext=cc
22448 ac_cpp='$CXXCPP $CPPFLAGS'
22449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22453 cat >conftest.$ac_ext <<_ACEOF
22454 /* confdefs.h. */
22455 _ACEOF
22456 cat confdefs.h >>conftest.$ac_ext
22457 cat >>conftest.$ac_ext <<_ACEOF
22458 /* end confdefs.h. */
22459 #include <math.h>
22461 main ()
22463 hypotl(0, 0);
22465 return 0;
22467 _ACEOF
22468 rm -f conftest.$ac_objext
22469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22470 (eval $ac_compile) 2>conftest.er1
22471 ac_status=$?
22472 grep -v '^ *+' conftest.er1 >conftest.err
22473 rm -f conftest.er1
22474 cat conftest.err >&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } &&
22477 { ac_try='test -z "$ac_cxx_werror_flag"
22478 || test ! -s conftest.err'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22481 ac_status=$?
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; } &&
22484 { ac_try='test -s conftest.$ac_objext'
22485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22486 (eval $ac_try) 2>&5
22487 ac_status=$?
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); }; }; then
22490 glibcxx_cv_func_hypotl_use=yes
22491 else
22492 echo "$as_me: failed program was:" >&5
22493 sed 's/^/| /' conftest.$ac_ext >&5
22495 glibcxx_cv_func_hypotl_use=no
22497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22498 ac_ext=c
22499 ac_cpp='$CPP $CPPFLAGS'
22500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22509 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22511 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22513 for ac_func in hypotl
22515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22516 echo "$as_me:$LINENO: checking for $ac_func" >&5
22517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22518 if eval "test \"\${$as_ac_var+set}\" = set"; then
22519 echo $ECHO_N "(cached) $ECHO_C" >&6
22520 else
22521 if test x$gcc_no_link = xyes; then
22522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22524 { (exit 1); exit 1; }; }
22526 cat >conftest.$ac_ext <<_ACEOF
22527 /* confdefs.h. */
22528 _ACEOF
22529 cat confdefs.h >>conftest.$ac_ext
22530 cat >>conftest.$ac_ext <<_ACEOF
22531 /* end confdefs.h. */
22532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22534 #define $ac_func innocuous_$ac_func
22536 /* System header to define __stub macros and hopefully few prototypes,
22537 which can conflict with char $ac_func (); below.
22538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22539 <limits.h> exists even on freestanding compilers. */
22541 #ifdef __STDC__
22542 # include <limits.h>
22543 #else
22544 # include <assert.h>
22545 #endif
22547 #undef $ac_func
22549 /* Override any gcc2 internal prototype to avoid an error. */
22550 #ifdef __cplusplus
22551 extern "C"
22553 #endif
22554 /* We use char because int might match the return type of a gcc2
22555 builtin and then its argument prototype would still apply. */
22556 char $ac_func ();
22557 /* The GNU C library defines this for functions which it implements
22558 to always fail with ENOSYS. Some functions are actually named
22559 something starting with __ and the normal name is an alias. */
22560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22561 choke me
22562 #else
22563 char (*f) () = $ac_func;
22564 #endif
22565 #ifdef __cplusplus
22567 #endif
22570 main ()
22572 return f != $ac_func;
22574 return 0;
22576 _ACEOF
22577 rm -f conftest.$ac_objext conftest$ac_exeext
22578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22579 (eval $ac_link) 2>conftest.er1
22580 ac_status=$?
22581 grep -v '^ *+' conftest.er1 >conftest.err
22582 rm -f conftest.er1
22583 cat conftest.err >&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); } &&
22586 { ac_try='test -z "$ac_c_werror_flag"
22587 || test ! -s conftest.err'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22590 ac_status=$?
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; } &&
22593 { ac_try='test -s conftest$ac_exeext'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22596 ac_status=$?
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 eval "$as_ac_var=yes"
22600 else
22601 echo "$as_me: failed program was:" >&5
22602 sed 's/^/| /' conftest.$ac_ext >&5
22604 eval "$as_ac_var=no"
22606 rm -f conftest.err conftest.$ac_objext \
22607 conftest$ac_exeext conftest.$ac_ext
22609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22611 if test `eval echo '${'$as_ac_var'}'` = yes; then
22612 cat >>confdefs.h <<_ACEOF
22613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22614 _ACEOF
22617 done
22619 else
22621 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22622 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22623 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22624 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22625 echo $ECHO_N "(cached) $ECHO_C" >&6
22626 else
22630 ac_ext=cc
22631 ac_cpp='$CXXCPP $CPPFLAGS'
22632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22636 cat >conftest.$ac_ext <<_ACEOF
22637 /* confdefs.h. */
22638 _ACEOF
22639 cat confdefs.h >>conftest.$ac_ext
22640 cat >>conftest.$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 #include <math.h>
22644 main ()
22646 _hypotl(0, 0);
22648 return 0;
22650 _ACEOF
22651 rm -f conftest.$ac_objext
22652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22653 (eval $ac_compile) 2>conftest.er1
22654 ac_status=$?
22655 grep -v '^ *+' conftest.er1 >conftest.err
22656 rm -f conftest.er1
22657 cat conftest.err >&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } &&
22660 { ac_try='test -z "$ac_cxx_werror_flag"
22661 || test ! -s conftest.err'
22662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22663 (eval $ac_try) 2>&5
22664 ac_status=$?
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); }; } &&
22667 { ac_try='test -s conftest.$ac_objext'
22668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22669 (eval $ac_try) 2>&5
22670 ac_status=$?
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); }; }; then
22673 glibcxx_cv_func__hypotl_use=yes
22674 else
22675 echo "$as_me: failed program was:" >&5
22676 sed 's/^/| /' conftest.$ac_ext >&5
22678 glibcxx_cv_func__hypotl_use=no
22680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22681 ac_ext=c
22682 ac_cpp='$CPP $CPPFLAGS'
22683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22691 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22692 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22694 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22696 for ac_func in _hypotl
22698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22699 echo "$as_me:$LINENO: checking for $ac_func" >&5
22700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22701 if eval "test \"\${$as_ac_var+set}\" = set"; then
22702 echo $ECHO_N "(cached) $ECHO_C" >&6
22703 else
22704 if test x$gcc_no_link = xyes; then
22705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22707 { (exit 1); exit 1; }; }
22709 cat >conftest.$ac_ext <<_ACEOF
22710 /* confdefs.h. */
22711 _ACEOF
22712 cat confdefs.h >>conftest.$ac_ext
22713 cat >>conftest.$ac_ext <<_ACEOF
22714 /* end confdefs.h. */
22715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22717 #define $ac_func innocuous_$ac_func
22719 /* System header to define __stub macros and hopefully few prototypes,
22720 which can conflict with char $ac_func (); below.
22721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22722 <limits.h> exists even on freestanding compilers. */
22724 #ifdef __STDC__
22725 # include <limits.h>
22726 #else
22727 # include <assert.h>
22728 #endif
22730 #undef $ac_func
22732 /* Override any gcc2 internal prototype to avoid an error. */
22733 #ifdef __cplusplus
22734 extern "C"
22736 #endif
22737 /* We use char because int might match the return type of a gcc2
22738 builtin and then its argument prototype would still apply. */
22739 char $ac_func ();
22740 /* The GNU C library defines this for functions which it implements
22741 to always fail with ENOSYS. Some functions are actually named
22742 something starting with __ and the normal name is an alias. */
22743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22744 choke me
22745 #else
22746 char (*f) () = $ac_func;
22747 #endif
22748 #ifdef __cplusplus
22750 #endif
22753 main ()
22755 return f != $ac_func;
22757 return 0;
22759 _ACEOF
22760 rm -f conftest.$ac_objext conftest$ac_exeext
22761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22762 (eval $ac_link) 2>conftest.er1
22763 ac_status=$?
22764 grep -v '^ *+' conftest.er1 >conftest.err
22765 rm -f conftest.er1
22766 cat conftest.err >&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } &&
22769 { ac_try='test -z "$ac_c_werror_flag"
22770 || test ! -s conftest.err'
22771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22772 (eval $ac_try) 2>&5
22773 ac_status=$?
22774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775 (exit $ac_status); }; } &&
22776 { ac_try='test -s conftest$ac_exeext'
22777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22778 (eval $ac_try) 2>&5
22779 ac_status=$?
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); }; }; then
22782 eval "$as_ac_var=yes"
22783 else
22784 echo "$as_me: failed program was:" >&5
22785 sed 's/^/| /' conftest.$ac_ext >&5
22787 eval "$as_ac_var=no"
22789 rm -f conftest.err conftest.$ac_objext \
22790 conftest$ac_exeext conftest.$ac_ext
22792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22794 if test `eval echo '${'$as_ac_var'}'` = yes; then
22795 cat >>confdefs.h <<_ACEOF
22796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22797 _ACEOF
22800 done
22810 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22811 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22812 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22813 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22814 echo $ECHO_N "(cached) $ECHO_C" >&6
22815 else
22819 ac_ext=cc
22820 ac_cpp='$CXXCPP $CPPFLAGS'
22821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22825 cat >conftest.$ac_ext <<_ACEOF
22826 /* confdefs.h. */
22827 _ACEOF
22828 cat confdefs.h >>conftest.$ac_ext
22829 cat >>conftest.$ac_ext <<_ACEOF
22830 /* end confdefs.h. */
22831 #include <math.h>
22833 main ()
22835 ldexpl(0, 0);
22837 return 0;
22839 _ACEOF
22840 rm -f conftest.$ac_objext
22841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22842 (eval $ac_compile) 2>conftest.er1
22843 ac_status=$?
22844 grep -v '^ *+' conftest.er1 >conftest.err
22845 rm -f conftest.er1
22846 cat conftest.err >&5
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); } &&
22849 { ac_try='test -z "$ac_cxx_werror_flag"
22850 || test ! -s conftest.err'
22851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22852 (eval $ac_try) 2>&5
22853 ac_status=$?
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); }; } &&
22856 { ac_try='test -s conftest.$ac_objext'
22857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858 (eval $ac_try) 2>&5
22859 ac_status=$?
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); }; }; then
22862 glibcxx_cv_func_ldexpl_use=yes
22863 else
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.$ac_ext >&5
22867 glibcxx_cv_func_ldexpl_use=no
22869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22870 ac_ext=c
22871 ac_cpp='$CPP $CPPFLAGS'
22872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22880 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22881 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22883 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22885 for ac_func in ldexpl
22887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22888 echo "$as_me:$LINENO: checking for $ac_func" >&5
22889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22890 if eval "test \"\${$as_ac_var+set}\" = set"; then
22891 echo $ECHO_N "(cached) $ECHO_C" >&6
22892 else
22893 if test x$gcc_no_link = xyes; then
22894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22896 { (exit 1); exit 1; }; }
22898 cat >conftest.$ac_ext <<_ACEOF
22899 /* confdefs.h. */
22900 _ACEOF
22901 cat confdefs.h >>conftest.$ac_ext
22902 cat >>conftest.$ac_ext <<_ACEOF
22903 /* end confdefs.h. */
22904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22906 #define $ac_func innocuous_$ac_func
22908 /* System header to define __stub macros and hopefully few prototypes,
22909 which can conflict with char $ac_func (); below.
22910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22911 <limits.h> exists even on freestanding compilers. */
22913 #ifdef __STDC__
22914 # include <limits.h>
22915 #else
22916 # include <assert.h>
22917 #endif
22919 #undef $ac_func
22921 /* Override any gcc2 internal prototype to avoid an error. */
22922 #ifdef __cplusplus
22923 extern "C"
22925 #endif
22926 /* We use char because int might match the return type of a gcc2
22927 builtin and then its argument prototype would still apply. */
22928 char $ac_func ();
22929 /* The GNU C library defines this for functions which it implements
22930 to always fail with ENOSYS. Some functions are actually named
22931 something starting with __ and the normal name is an alias. */
22932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22933 choke me
22934 #else
22935 char (*f) () = $ac_func;
22936 #endif
22937 #ifdef __cplusplus
22939 #endif
22942 main ()
22944 return f != $ac_func;
22946 return 0;
22948 _ACEOF
22949 rm -f conftest.$ac_objext conftest$ac_exeext
22950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22951 (eval $ac_link) 2>conftest.er1
22952 ac_status=$?
22953 grep -v '^ *+' conftest.er1 >conftest.err
22954 rm -f conftest.er1
22955 cat conftest.err >&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); } &&
22958 { ac_try='test -z "$ac_c_werror_flag"
22959 || test ! -s conftest.err'
22960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22961 (eval $ac_try) 2>&5
22962 ac_status=$?
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); }; } &&
22965 { ac_try='test -s conftest$ac_exeext'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22968 ac_status=$?
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; }; then
22971 eval "$as_ac_var=yes"
22972 else
22973 echo "$as_me: failed program was:" >&5
22974 sed 's/^/| /' conftest.$ac_ext >&5
22976 eval "$as_ac_var=no"
22978 rm -f conftest.err conftest.$ac_objext \
22979 conftest$ac_exeext conftest.$ac_ext
22981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22983 if test `eval echo '${'$as_ac_var'}'` = yes; then
22984 cat >>confdefs.h <<_ACEOF
22985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22986 _ACEOF
22989 done
22991 else
22993 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22994 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22995 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22996 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22997 echo $ECHO_N "(cached) $ECHO_C" >&6
22998 else
23002 ac_ext=cc
23003 ac_cpp='$CXXCPP $CPPFLAGS'
23004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23008 cat >conftest.$ac_ext <<_ACEOF
23009 /* confdefs.h. */
23010 _ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014 #include <math.h>
23016 main ()
23018 _ldexpl(0, 0);
23020 return 0;
23022 _ACEOF
23023 rm -f conftest.$ac_objext
23024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23025 (eval $ac_compile) 2>conftest.er1
23026 ac_status=$?
23027 grep -v '^ *+' conftest.er1 >conftest.err
23028 rm -f conftest.er1
23029 cat conftest.err >&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); } &&
23032 { ac_try='test -z "$ac_cxx_werror_flag"
23033 || test ! -s conftest.err'
23034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23035 (eval $ac_try) 2>&5
23036 ac_status=$?
23037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038 (exit $ac_status); }; } &&
23039 { ac_try='test -s conftest.$ac_objext'
23040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23041 (eval $ac_try) 2>&5
23042 ac_status=$?
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); }; }; then
23045 glibcxx_cv_func__ldexpl_use=yes
23046 else
23047 echo "$as_me: failed program was:" >&5
23048 sed 's/^/| /' conftest.$ac_ext >&5
23050 glibcxx_cv_func__ldexpl_use=no
23052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23053 ac_ext=c
23054 ac_cpp='$CPP $CPPFLAGS'
23055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23063 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23064 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23066 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23068 for ac_func in _ldexpl
23070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23071 echo "$as_me:$LINENO: checking for $ac_func" >&5
23072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23073 if eval "test \"\${$as_ac_var+set}\" = set"; then
23074 echo $ECHO_N "(cached) $ECHO_C" >&6
23075 else
23076 if test x$gcc_no_link = xyes; then
23077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23079 { (exit 1); exit 1; }; }
23081 cat >conftest.$ac_ext <<_ACEOF
23082 /* confdefs.h. */
23083 _ACEOF
23084 cat confdefs.h >>conftest.$ac_ext
23085 cat >>conftest.$ac_ext <<_ACEOF
23086 /* end confdefs.h. */
23087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23089 #define $ac_func innocuous_$ac_func
23091 /* System header to define __stub macros and hopefully few prototypes,
23092 which can conflict with char $ac_func (); below.
23093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23094 <limits.h> exists even on freestanding compilers. */
23096 #ifdef __STDC__
23097 # include <limits.h>
23098 #else
23099 # include <assert.h>
23100 #endif
23102 #undef $ac_func
23104 /* Override any gcc2 internal prototype to avoid an error. */
23105 #ifdef __cplusplus
23106 extern "C"
23108 #endif
23109 /* We use char because int might match the return type of a gcc2
23110 builtin and then its argument prototype would still apply. */
23111 char $ac_func ();
23112 /* The GNU C library defines this for functions which it implements
23113 to always fail with ENOSYS. Some functions are actually named
23114 something starting with __ and the normal name is an alias. */
23115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23116 choke me
23117 #else
23118 char (*f) () = $ac_func;
23119 #endif
23120 #ifdef __cplusplus
23122 #endif
23125 main ()
23127 return f != $ac_func;
23129 return 0;
23131 _ACEOF
23132 rm -f conftest.$ac_objext conftest$ac_exeext
23133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23134 (eval $ac_link) 2>conftest.er1
23135 ac_status=$?
23136 grep -v '^ *+' conftest.er1 >conftest.err
23137 rm -f conftest.er1
23138 cat conftest.err >&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } &&
23141 { ac_try='test -z "$ac_c_werror_flag"
23142 || test ! -s conftest.err'
23143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23144 (eval $ac_try) 2>&5
23145 ac_status=$?
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); }; } &&
23148 { ac_try='test -s conftest$ac_exeext'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23151 ac_status=$?
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; }; then
23154 eval "$as_ac_var=yes"
23155 else
23156 echo "$as_me: failed program was:" >&5
23157 sed 's/^/| /' conftest.$ac_ext >&5
23159 eval "$as_ac_var=no"
23161 rm -f conftest.err conftest.$ac_objext \
23162 conftest$ac_exeext conftest.$ac_ext
23164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23166 if test `eval echo '${'$as_ac_var'}'` = yes; then
23167 cat >>confdefs.h <<_ACEOF
23168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23169 _ACEOF
23172 done
23182 echo "$as_me:$LINENO: checking for logl declaration" >&5
23183 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23184 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23185 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23186 echo $ECHO_N "(cached) $ECHO_C" >&6
23187 else
23191 ac_ext=cc
23192 ac_cpp='$CXXCPP $CPPFLAGS'
23193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23197 cat >conftest.$ac_ext <<_ACEOF
23198 /* confdefs.h. */
23199 _ACEOF
23200 cat confdefs.h >>conftest.$ac_ext
23201 cat >>conftest.$ac_ext <<_ACEOF
23202 /* end confdefs.h. */
23203 #include <math.h>
23204 #ifdef HAVE_IEEEFP_H
23205 #include <ieeefp.h>
23206 #endif
23209 main ()
23211 logl(0);
23213 return 0;
23215 _ACEOF
23216 rm -f conftest.$ac_objext
23217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23218 (eval $ac_compile) 2>conftest.er1
23219 ac_status=$?
23220 grep -v '^ *+' conftest.er1 >conftest.err
23221 rm -f conftest.er1
23222 cat conftest.err >&5
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); } &&
23225 { ac_try='test -z "$ac_cxx_werror_flag"
23226 || test ! -s conftest.err'
23227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23228 (eval $ac_try) 2>&5
23229 ac_status=$?
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); }; } &&
23232 { ac_try='test -s conftest.$ac_objext'
23233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23234 (eval $ac_try) 2>&5
23235 ac_status=$?
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; }; then
23238 glibcxx_cv_func_logl_use=yes
23239 else
23240 echo "$as_me: failed program was:" >&5
23241 sed 's/^/| /' conftest.$ac_ext >&5
23243 glibcxx_cv_func_logl_use=no
23245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23246 ac_ext=c
23247 ac_cpp='$CPP $CPPFLAGS'
23248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23256 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23257 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23259 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23261 for ac_func in logl
23263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23264 echo "$as_me:$LINENO: checking for $ac_func" >&5
23265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23266 if eval "test \"\${$as_ac_var+set}\" = set"; then
23267 echo $ECHO_N "(cached) $ECHO_C" >&6
23268 else
23269 if test x$gcc_no_link = xyes; then
23270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23272 { (exit 1); exit 1; }; }
23274 cat >conftest.$ac_ext <<_ACEOF
23275 /* confdefs.h. */
23276 _ACEOF
23277 cat confdefs.h >>conftest.$ac_ext
23278 cat >>conftest.$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23282 #define $ac_func innocuous_$ac_func
23284 /* System header to define __stub macros and hopefully few prototypes,
23285 which can conflict with char $ac_func (); below.
23286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23287 <limits.h> exists even on freestanding compilers. */
23289 #ifdef __STDC__
23290 # include <limits.h>
23291 #else
23292 # include <assert.h>
23293 #endif
23295 #undef $ac_func
23297 /* Override any gcc2 internal prototype to avoid an error. */
23298 #ifdef __cplusplus
23299 extern "C"
23301 #endif
23302 /* We use char because int might match the return type of a gcc2
23303 builtin and then its argument prototype would still apply. */
23304 char $ac_func ();
23305 /* The GNU C library defines this for functions which it implements
23306 to always fail with ENOSYS. Some functions are actually named
23307 something starting with __ and the normal name is an alias. */
23308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23309 choke me
23310 #else
23311 char (*f) () = $ac_func;
23312 #endif
23313 #ifdef __cplusplus
23315 #endif
23318 main ()
23320 return f != $ac_func;
23322 return 0;
23324 _ACEOF
23325 rm -f conftest.$ac_objext conftest$ac_exeext
23326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23327 (eval $ac_link) 2>conftest.er1
23328 ac_status=$?
23329 grep -v '^ *+' conftest.er1 >conftest.err
23330 rm -f conftest.er1
23331 cat conftest.err >&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } &&
23334 { ac_try='test -z "$ac_c_werror_flag"
23335 || test ! -s conftest.err'
23336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337 (eval $ac_try) 2>&5
23338 ac_status=$?
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; } &&
23341 { ac_try='test -s conftest$ac_exeext'
23342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23343 (eval $ac_try) 2>&5
23344 ac_status=$?
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); }; }; then
23347 eval "$as_ac_var=yes"
23348 else
23349 echo "$as_me: failed program was:" >&5
23350 sed 's/^/| /' conftest.$ac_ext >&5
23352 eval "$as_ac_var=no"
23354 rm -f conftest.err conftest.$ac_objext \
23355 conftest$ac_exeext conftest.$ac_ext
23357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23359 if test `eval echo '${'$as_ac_var'}'` = yes; then
23360 cat >>confdefs.h <<_ACEOF
23361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23362 _ACEOF
23365 done
23367 else
23369 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23370 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23371 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23372 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23373 echo $ECHO_N "(cached) $ECHO_C" >&6
23374 else
23378 ac_ext=cc
23379 ac_cpp='$CXXCPP $CPPFLAGS'
23380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23384 cat >conftest.$ac_ext <<_ACEOF
23385 /* confdefs.h. */
23386 _ACEOF
23387 cat confdefs.h >>conftest.$ac_ext
23388 cat >>conftest.$ac_ext <<_ACEOF
23389 /* end confdefs.h. */
23390 #include <math.h>
23391 #ifdef HAVE_IEEEFP_H
23392 #include <ieeefp.h>
23393 #endif
23396 main ()
23398 _logl(0);
23400 return 0;
23402 _ACEOF
23403 rm -f conftest.$ac_objext
23404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23405 (eval $ac_compile) 2>conftest.er1
23406 ac_status=$?
23407 grep -v '^ *+' conftest.er1 >conftest.err
23408 rm -f conftest.er1
23409 cat conftest.err >&5
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); } &&
23412 { ac_try='test -z "$ac_cxx_werror_flag"
23413 || test ! -s conftest.err'
23414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23415 (eval $ac_try) 2>&5
23416 ac_status=$?
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); }; } &&
23419 { ac_try='test -s conftest.$ac_objext'
23420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23421 (eval $ac_try) 2>&5
23422 ac_status=$?
23423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424 (exit $ac_status); }; }; then
23425 glibcxx_cv_func__logl_use=yes
23426 else
23427 echo "$as_me: failed program was:" >&5
23428 sed 's/^/| /' conftest.$ac_ext >&5
23430 glibcxx_cv_func__logl_use=no
23432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23433 ac_ext=c
23434 ac_cpp='$CPP $CPPFLAGS'
23435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23444 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23446 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23448 for ac_func in _logl
23450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23451 echo "$as_me:$LINENO: checking for $ac_func" >&5
23452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23453 if eval "test \"\${$as_ac_var+set}\" = set"; then
23454 echo $ECHO_N "(cached) $ECHO_C" >&6
23455 else
23456 if test x$gcc_no_link = xyes; then
23457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23459 { (exit 1); exit 1; }; }
23461 cat >conftest.$ac_ext <<_ACEOF
23462 /* confdefs.h. */
23463 _ACEOF
23464 cat confdefs.h >>conftest.$ac_ext
23465 cat >>conftest.$ac_ext <<_ACEOF
23466 /* end confdefs.h. */
23467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23469 #define $ac_func innocuous_$ac_func
23471 /* System header to define __stub macros and hopefully few prototypes,
23472 which can conflict with char $ac_func (); below.
23473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23474 <limits.h> exists even on freestanding compilers. */
23476 #ifdef __STDC__
23477 # include <limits.h>
23478 #else
23479 # include <assert.h>
23480 #endif
23482 #undef $ac_func
23484 /* Override any gcc2 internal prototype to avoid an error. */
23485 #ifdef __cplusplus
23486 extern "C"
23488 #endif
23489 /* We use char because int might match the return type of a gcc2
23490 builtin and then its argument prototype would still apply. */
23491 char $ac_func ();
23492 /* The GNU C library defines this for functions which it implements
23493 to always fail with ENOSYS. Some functions are actually named
23494 something starting with __ and the normal name is an alias. */
23495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23496 choke me
23497 #else
23498 char (*f) () = $ac_func;
23499 #endif
23500 #ifdef __cplusplus
23502 #endif
23505 main ()
23507 return f != $ac_func;
23509 return 0;
23511 _ACEOF
23512 rm -f conftest.$ac_objext conftest$ac_exeext
23513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23514 (eval $ac_link) 2>conftest.er1
23515 ac_status=$?
23516 grep -v '^ *+' conftest.er1 >conftest.err
23517 rm -f conftest.er1
23518 cat conftest.err >&5
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); } &&
23521 { ac_try='test -z "$ac_c_werror_flag"
23522 || test ! -s conftest.err'
23523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23524 (eval $ac_try) 2>&5
23525 ac_status=$?
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); }; } &&
23528 { ac_try='test -s conftest$ac_exeext'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23531 ac_status=$?
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; }; then
23534 eval "$as_ac_var=yes"
23535 else
23536 echo "$as_me: failed program was:" >&5
23537 sed 's/^/| /' conftest.$ac_ext >&5
23539 eval "$as_ac_var=no"
23541 rm -f conftest.err conftest.$ac_objext \
23542 conftest$ac_exeext conftest.$ac_ext
23544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23546 if test `eval echo '${'$as_ac_var'}'` = yes; then
23547 cat >>confdefs.h <<_ACEOF
23548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23549 _ACEOF
23552 done
23562 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23563 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23564 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23565 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23566 echo $ECHO_N "(cached) $ECHO_C" >&6
23567 else
23571 ac_ext=cc
23572 ac_cpp='$CXXCPP $CPPFLAGS'
23573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23577 cat >conftest.$ac_ext <<_ACEOF
23578 /* confdefs.h. */
23579 _ACEOF
23580 cat confdefs.h >>conftest.$ac_ext
23581 cat >>conftest.$ac_ext <<_ACEOF
23582 /* end confdefs.h. */
23583 #include <math.h>
23584 #ifdef HAVE_IEEEFP_H
23585 #include <ieeefp.h>
23586 #endif
23589 main ()
23591 log10l(0);
23593 return 0;
23595 _ACEOF
23596 rm -f conftest.$ac_objext
23597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23598 (eval $ac_compile) 2>conftest.er1
23599 ac_status=$?
23600 grep -v '^ *+' conftest.er1 >conftest.err
23601 rm -f conftest.er1
23602 cat conftest.err >&5
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); } &&
23605 { ac_try='test -z "$ac_cxx_werror_flag"
23606 || test ! -s conftest.err'
23607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23608 (eval $ac_try) 2>&5
23609 ac_status=$?
23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611 (exit $ac_status); }; } &&
23612 { ac_try='test -s conftest.$ac_objext'
23613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23614 (eval $ac_try) 2>&5
23615 ac_status=$?
23616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23617 (exit $ac_status); }; }; then
23618 glibcxx_cv_func_log10l_use=yes
23619 else
23620 echo "$as_me: failed program was:" >&5
23621 sed 's/^/| /' conftest.$ac_ext >&5
23623 glibcxx_cv_func_log10l_use=no
23625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23626 ac_ext=c
23627 ac_cpp='$CPP $CPPFLAGS'
23628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23636 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23637 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23639 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23641 for ac_func in log10l
23643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23644 echo "$as_me:$LINENO: checking for $ac_func" >&5
23645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23646 if eval "test \"\${$as_ac_var+set}\" = set"; then
23647 echo $ECHO_N "(cached) $ECHO_C" >&6
23648 else
23649 if test x$gcc_no_link = xyes; then
23650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23652 { (exit 1); exit 1; }; }
23654 cat >conftest.$ac_ext <<_ACEOF
23655 /* confdefs.h. */
23656 _ACEOF
23657 cat confdefs.h >>conftest.$ac_ext
23658 cat >>conftest.$ac_ext <<_ACEOF
23659 /* end confdefs.h. */
23660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23662 #define $ac_func innocuous_$ac_func
23664 /* System header to define __stub macros and hopefully few prototypes,
23665 which can conflict with char $ac_func (); below.
23666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23667 <limits.h> exists even on freestanding compilers. */
23669 #ifdef __STDC__
23670 # include <limits.h>
23671 #else
23672 # include <assert.h>
23673 #endif
23675 #undef $ac_func
23677 /* Override any gcc2 internal prototype to avoid an error. */
23678 #ifdef __cplusplus
23679 extern "C"
23681 #endif
23682 /* We use char because int might match the return type of a gcc2
23683 builtin and then its argument prototype would still apply. */
23684 char $ac_func ();
23685 /* The GNU C library defines this for functions which it implements
23686 to always fail with ENOSYS. Some functions are actually named
23687 something starting with __ and the normal name is an alias. */
23688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23689 choke me
23690 #else
23691 char (*f) () = $ac_func;
23692 #endif
23693 #ifdef __cplusplus
23695 #endif
23698 main ()
23700 return f != $ac_func;
23702 return 0;
23704 _ACEOF
23705 rm -f conftest.$ac_objext conftest$ac_exeext
23706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23707 (eval $ac_link) 2>conftest.er1
23708 ac_status=$?
23709 grep -v '^ *+' conftest.er1 >conftest.err
23710 rm -f conftest.er1
23711 cat conftest.err >&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); } &&
23714 { ac_try='test -z "$ac_c_werror_flag"
23715 || test ! -s conftest.err'
23716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23717 (eval $ac_try) 2>&5
23718 ac_status=$?
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); }; } &&
23721 { ac_try='test -s conftest$ac_exeext'
23722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723 (eval $ac_try) 2>&5
23724 ac_status=$?
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; }; then
23727 eval "$as_ac_var=yes"
23728 else
23729 echo "$as_me: failed program was:" >&5
23730 sed 's/^/| /' conftest.$ac_ext >&5
23732 eval "$as_ac_var=no"
23734 rm -f conftest.err conftest.$ac_objext \
23735 conftest$ac_exeext conftest.$ac_ext
23737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23739 if test `eval echo '${'$as_ac_var'}'` = yes; then
23740 cat >>confdefs.h <<_ACEOF
23741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23742 _ACEOF
23745 done
23747 else
23749 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23750 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23751 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23752 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23753 echo $ECHO_N "(cached) $ECHO_C" >&6
23754 else
23758 ac_ext=cc
23759 ac_cpp='$CXXCPP $CPPFLAGS'
23760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23764 cat >conftest.$ac_ext <<_ACEOF
23765 /* confdefs.h. */
23766 _ACEOF
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h. */
23770 #include <math.h>
23771 #ifdef HAVE_IEEEFP_H
23772 #include <ieeefp.h>
23773 #endif
23776 main ()
23778 _log10l(0);
23780 return 0;
23782 _ACEOF
23783 rm -f conftest.$ac_objext
23784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23785 (eval $ac_compile) 2>conftest.er1
23786 ac_status=$?
23787 grep -v '^ *+' conftest.er1 >conftest.err
23788 rm -f conftest.er1
23789 cat conftest.err >&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } &&
23792 { ac_try='test -z "$ac_cxx_werror_flag"
23793 || test ! -s conftest.err'
23794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23795 (eval $ac_try) 2>&5
23796 ac_status=$?
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); }; } &&
23799 { ac_try='test -s conftest.$ac_objext'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23802 ac_status=$?
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; }; then
23805 glibcxx_cv_func__log10l_use=yes
23806 else
23807 echo "$as_me: failed program was:" >&5
23808 sed 's/^/| /' conftest.$ac_ext >&5
23810 glibcxx_cv_func__log10l_use=no
23812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23813 ac_ext=c
23814 ac_cpp='$CPP $CPPFLAGS'
23815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23823 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23824 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23826 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23828 for ac_func in _log10l
23830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23831 echo "$as_me:$LINENO: checking for $ac_func" >&5
23832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23833 if eval "test \"\${$as_ac_var+set}\" = set"; then
23834 echo $ECHO_N "(cached) $ECHO_C" >&6
23835 else
23836 if test x$gcc_no_link = xyes; then
23837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23839 { (exit 1); exit 1; }; }
23841 cat >conftest.$ac_ext <<_ACEOF
23842 /* confdefs.h. */
23843 _ACEOF
23844 cat confdefs.h >>conftest.$ac_ext
23845 cat >>conftest.$ac_ext <<_ACEOF
23846 /* end confdefs.h. */
23847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23849 #define $ac_func innocuous_$ac_func
23851 /* System header to define __stub macros and hopefully few prototypes,
23852 which can conflict with char $ac_func (); below.
23853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23854 <limits.h> exists even on freestanding compilers. */
23856 #ifdef __STDC__
23857 # include <limits.h>
23858 #else
23859 # include <assert.h>
23860 #endif
23862 #undef $ac_func
23864 /* Override any gcc2 internal prototype to avoid an error. */
23865 #ifdef __cplusplus
23866 extern "C"
23868 #endif
23869 /* We use char because int might match the return type of a gcc2
23870 builtin and then its argument prototype would still apply. */
23871 char $ac_func ();
23872 /* The GNU C library defines this for functions which it implements
23873 to always fail with ENOSYS. Some functions are actually named
23874 something starting with __ and the normal name is an alias. */
23875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23876 choke me
23877 #else
23878 char (*f) () = $ac_func;
23879 #endif
23880 #ifdef __cplusplus
23882 #endif
23885 main ()
23887 return f != $ac_func;
23889 return 0;
23891 _ACEOF
23892 rm -f conftest.$ac_objext conftest$ac_exeext
23893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23894 (eval $ac_link) 2>conftest.er1
23895 ac_status=$?
23896 grep -v '^ *+' conftest.er1 >conftest.err
23897 rm -f conftest.er1
23898 cat conftest.err >&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); } &&
23901 { ac_try='test -z "$ac_c_werror_flag"
23902 || test ! -s conftest.err'
23903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23904 (eval $ac_try) 2>&5
23905 ac_status=$?
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); }; } &&
23908 { ac_try='test -s conftest$ac_exeext'
23909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23910 (eval $ac_try) 2>&5
23911 ac_status=$?
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); }; }; then
23914 eval "$as_ac_var=yes"
23915 else
23916 echo "$as_me: failed program was:" >&5
23917 sed 's/^/| /' conftest.$ac_ext >&5
23919 eval "$as_ac_var=no"
23921 rm -f conftest.err conftest.$ac_objext \
23922 conftest$ac_exeext conftest.$ac_ext
23924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23926 if test `eval echo '${'$as_ac_var'}'` = yes; then
23927 cat >>confdefs.h <<_ACEOF
23928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23929 _ACEOF
23932 done
23942 echo "$as_me:$LINENO: checking for modfl declaration" >&5
23943 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23944 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23945 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23946 echo $ECHO_N "(cached) $ECHO_C" >&6
23947 else
23951 ac_ext=cc
23952 ac_cpp='$CXXCPP $CPPFLAGS'
23953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23957 cat >conftest.$ac_ext <<_ACEOF
23958 /* confdefs.h. */
23959 _ACEOF
23960 cat confdefs.h >>conftest.$ac_ext
23961 cat >>conftest.$ac_ext <<_ACEOF
23962 /* end confdefs.h. */
23963 #include <math.h>
23965 main ()
23967 modfl(0, 0);
23969 return 0;
23971 _ACEOF
23972 rm -f conftest.$ac_objext
23973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23974 (eval $ac_compile) 2>conftest.er1
23975 ac_status=$?
23976 grep -v '^ *+' conftest.er1 >conftest.err
23977 rm -f conftest.er1
23978 cat conftest.err >&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); } &&
23981 { ac_try='test -z "$ac_cxx_werror_flag"
23982 || test ! -s conftest.err'
23983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23984 (eval $ac_try) 2>&5
23985 ac_status=$?
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); }; } &&
23988 { ac_try='test -s conftest.$ac_objext'
23989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23990 (eval $ac_try) 2>&5
23991 ac_status=$?
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); }; }; then
23994 glibcxx_cv_func_modfl_use=yes
23995 else
23996 echo "$as_me: failed program was:" >&5
23997 sed 's/^/| /' conftest.$ac_ext >&5
23999 glibcxx_cv_func_modfl_use=no
24001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24002 ac_ext=c
24003 ac_cpp='$CPP $CPPFLAGS'
24004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24012 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24013 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24015 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24017 for ac_func in modfl
24019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24020 echo "$as_me:$LINENO: checking for $ac_func" >&5
24021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24022 if eval "test \"\${$as_ac_var+set}\" = set"; then
24023 echo $ECHO_N "(cached) $ECHO_C" >&6
24024 else
24025 if test x$gcc_no_link = xyes; then
24026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24028 { (exit 1); exit 1; }; }
24030 cat >conftest.$ac_ext <<_ACEOF
24031 /* confdefs.h. */
24032 _ACEOF
24033 cat confdefs.h >>conftest.$ac_ext
24034 cat >>conftest.$ac_ext <<_ACEOF
24035 /* end confdefs.h. */
24036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24038 #define $ac_func innocuous_$ac_func
24040 /* System header to define __stub macros and hopefully few prototypes,
24041 which can conflict with char $ac_func (); below.
24042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24043 <limits.h> exists even on freestanding compilers. */
24045 #ifdef __STDC__
24046 # include <limits.h>
24047 #else
24048 # include <assert.h>
24049 #endif
24051 #undef $ac_func
24053 /* Override any gcc2 internal prototype to avoid an error. */
24054 #ifdef __cplusplus
24055 extern "C"
24057 #endif
24058 /* We use char because int might match the return type of a gcc2
24059 builtin and then its argument prototype would still apply. */
24060 char $ac_func ();
24061 /* The GNU C library defines this for functions which it implements
24062 to always fail with ENOSYS. Some functions are actually named
24063 something starting with __ and the normal name is an alias. */
24064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24065 choke me
24066 #else
24067 char (*f) () = $ac_func;
24068 #endif
24069 #ifdef __cplusplus
24071 #endif
24074 main ()
24076 return f != $ac_func;
24078 return 0;
24080 _ACEOF
24081 rm -f conftest.$ac_objext conftest$ac_exeext
24082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24083 (eval $ac_link) 2>conftest.er1
24084 ac_status=$?
24085 grep -v '^ *+' conftest.er1 >conftest.err
24086 rm -f conftest.er1
24087 cat conftest.err >&5
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); } &&
24090 { ac_try='test -z "$ac_c_werror_flag"
24091 || test ! -s conftest.err'
24092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24093 (eval $ac_try) 2>&5
24094 ac_status=$?
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); }; } &&
24097 { ac_try='test -s conftest$ac_exeext'
24098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24099 (eval $ac_try) 2>&5
24100 ac_status=$?
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); }; }; then
24103 eval "$as_ac_var=yes"
24104 else
24105 echo "$as_me: failed program was:" >&5
24106 sed 's/^/| /' conftest.$ac_ext >&5
24108 eval "$as_ac_var=no"
24110 rm -f conftest.err conftest.$ac_objext \
24111 conftest$ac_exeext conftest.$ac_ext
24113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24115 if test `eval echo '${'$as_ac_var'}'` = yes; then
24116 cat >>confdefs.h <<_ACEOF
24117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24118 _ACEOF
24121 done
24123 else
24125 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24126 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24127 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24128 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24129 echo $ECHO_N "(cached) $ECHO_C" >&6
24130 else
24134 ac_ext=cc
24135 ac_cpp='$CXXCPP $CPPFLAGS'
24136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24140 cat >conftest.$ac_ext <<_ACEOF
24141 /* confdefs.h. */
24142 _ACEOF
24143 cat confdefs.h >>conftest.$ac_ext
24144 cat >>conftest.$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24146 #include <math.h>
24148 main ()
24150 _modfl(0, 0);
24152 return 0;
24154 _ACEOF
24155 rm -f conftest.$ac_objext
24156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24157 (eval $ac_compile) 2>conftest.er1
24158 ac_status=$?
24159 grep -v '^ *+' conftest.er1 >conftest.err
24160 rm -f conftest.er1
24161 cat conftest.err >&5
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); } &&
24164 { ac_try='test -z "$ac_cxx_werror_flag"
24165 || test ! -s conftest.err'
24166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24167 (eval $ac_try) 2>&5
24168 ac_status=$?
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); }; } &&
24171 { ac_try='test -s conftest.$ac_objext'
24172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24173 (eval $ac_try) 2>&5
24174 ac_status=$?
24175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176 (exit $ac_status); }; }; then
24177 glibcxx_cv_func__modfl_use=yes
24178 else
24179 echo "$as_me: failed program was:" >&5
24180 sed 's/^/| /' conftest.$ac_ext >&5
24182 glibcxx_cv_func__modfl_use=no
24184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24185 ac_ext=c
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24195 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24196 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24198 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24200 for ac_func in _modfl
24202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24203 echo "$as_me:$LINENO: checking for $ac_func" >&5
24204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24205 if eval "test \"\${$as_ac_var+set}\" = set"; then
24206 echo $ECHO_N "(cached) $ECHO_C" >&6
24207 else
24208 if test x$gcc_no_link = xyes; then
24209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24211 { (exit 1); exit 1; }; }
24213 cat >conftest.$ac_ext <<_ACEOF
24214 /* confdefs.h. */
24215 _ACEOF
24216 cat confdefs.h >>conftest.$ac_ext
24217 cat >>conftest.$ac_ext <<_ACEOF
24218 /* end confdefs.h. */
24219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24221 #define $ac_func innocuous_$ac_func
24223 /* System header to define __stub macros and hopefully few prototypes,
24224 which can conflict with char $ac_func (); below.
24225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24226 <limits.h> exists even on freestanding compilers. */
24228 #ifdef __STDC__
24229 # include <limits.h>
24230 #else
24231 # include <assert.h>
24232 #endif
24234 #undef $ac_func
24236 /* Override any gcc2 internal prototype to avoid an error. */
24237 #ifdef __cplusplus
24238 extern "C"
24240 #endif
24241 /* We use char because int might match the return type of a gcc2
24242 builtin and then its argument prototype would still apply. */
24243 char $ac_func ();
24244 /* The GNU C library defines this for functions which it implements
24245 to always fail with ENOSYS. Some functions are actually named
24246 something starting with __ and the normal name is an alias. */
24247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24248 choke me
24249 #else
24250 char (*f) () = $ac_func;
24251 #endif
24252 #ifdef __cplusplus
24254 #endif
24257 main ()
24259 return f != $ac_func;
24261 return 0;
24263 _ACEOF
24264 rm -f conftest.$ac_objext conftest$ac_exeext
24265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24266 (eval $ac_link) 2>conftest.er1
24267 ac_status=$?
24268 grep -v '^ *+' conftest.er1 >conftest.err
24269 rm -f conftest.er1
24270 cat conftest.err >&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); } &&
24273 { ac_try='test -z "$ac_c_werror_flag"
24274 || test ! -s conftest.err'
24275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24276 (eval $ac_try) 2>&5
24277 ac_status=$?
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); }; } &&
24280 { ac_try='test -s conftest$ac_exeext'
24281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24282 (eval $ac_try) 2>&5
24283 ac_status=$?
24284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24285 (exit $ac_status); }; }; then
24286 eval "$as_ac_var=yes"
24287 else
24288 echo "$as_me: failed program was:" >&5
24289 sed 's/^/| /' conftest.$ac_ext >&5
24291 eval "$as_ac_var=no"
24293 rm -f conftest.err conftest.$ac_objext \
24294 conftest$ac_exeext conftest.$ac_ext
24296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24298 if test `eval echo '${'$as_ac_var'}'` = yes; then
24299 cat >>confdefs.h <<_ACEOF
24300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24301 _ACEOF
24304 done
24314 echo "$as_me:$LINENO: checking for powl declaration" >&5
24315 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24316 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24317 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24318 echo $ECHO_N "(cached) $ECHO_C" >&6
24319 else
24323 ac_ext=cc
24324 ac_cpp='$CXXCPP $CPPFLAGS'
24325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24329 cat >conftest.$ac_ext <<_ACEOF
24330 /* confdefs.h. */
24331 _ACEOF
24332 cat confdefs.h >>conftest.$ac_ext
24333 cat >>conftest.$ac_ext <<_ACEOF
24334 /* end confdefs.h. */
24335 #include <math.h>
24337 main ()
24339 powl(0, 0);
24341 return 0;
24343 _ACEOF
24344 rm -f conftest.$ac_objext
24345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24346 (eval $ac_compile) 2>conftest.er1
24347 ac_status=$?
24348 grep -v '^ *+' conftest.er1 >conftest.err
24349 rm -f conftest.er1
24350 cat conftest.err >&5
24351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352 (exit $ac_status); } &&
24353 { ac_try='test -z "$ac_cxx_werror_flag"
24354 || test ! -s conftest.err'
24355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24356 (eval $ac_try) 2>&5
24357 ac_status=$?
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); }; } &&
24360 { ac_try='test -s conftest.$ac_objext'
24361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24362 (eval $ac_try) 2>&5
24363 ac_status=$?
24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365 (exit $ac_status); }; }; then
24366 glibcxx_cv_func_powl_use=yes
24367 else
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.$ac_ext >&5
24371 glibcxx_cv_func_powl_use=no
24373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24374 ac_ext=c
24375 ac_cpp='$CPP $CPPFLAGS'
24376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24384 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24385 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24387 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24389 for ac_func in powl
24391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24392 echo "$as_me:$LINENO: checking for $ac_func" >&5
24393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24394 if eval "test \"\${$as_ac_var+set}\" = set"; then
24395 echo $ECHO_N "(cached) $ECHO_C" >&6
24396 else
24397 if test x$gcc_no_link = xyes; then
24398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24400 { (exit 1); exit 1; }; }
24402 cat >conftest.$ac_ext <<_ACEOF
24403 /* confdefs.h. */
24404 _ACEOF
24405 cat confdefs.h >>conftest.$ac_ext
24406 cat >>conftest.$ac_ext <<_ACEOF
24407 /* end confdefs.h. */
24408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24410 #define $ac_func innocuous_$ac_func
24412 /* System header to define __stub macros and hopefully few prototypes,
24413 which can conflict with char $ac_func (); below.
24414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24415 <limits.h> exists even on freestanding compilers. */
24417 #ifdef __STDC__
24418 # include <limits.h>
24419 #else
24420 # include <assert.h>
24421 #endif
24423 #undef $ac_func
24425 /* Override any gcc2 internal prototype to avoid an error. */
24426 #ifdef __cplusplus
24427 extern "C"
24429 #endif
24430 /* We use char because int might match the return type of a gcc2
24431 builtin and then its argument prototype would still apply. */
24432 char $ac_func ();
24433 /* The GNU C library defines this for functions which it implements
24434 to always fail with ENOSYS. Some functions are actually named
24435 something starting with __ and the normal name is an alias. */
24436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24437 choke me
24438 #else
24439 char (*f) () = $ac_func;
24440 #endif
24441 #ifdef __cplusplus
24443 #endif
24446 main ()
24448 return f != $ac_func;
24450 return 0;
24452 _ACEOF
24453 rm -f conftest.$ac_objext conftest$ac_exeext
24454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24455 (eval $ac_link) 2>conftest.er1
24456 ac_status=$?
24457 grep -v '^ *+' conftest.er1 >conftest.err
24458 rm -f conftest.er1
24459 cat conftest.err >&5
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); } &&
24462 { ac_try='test -z "$ac_c_werror_flag"
24463 || test ! -s conftest.err'
24464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24465 (eval $ac_try) 2>&5
24466 ac_status=$?
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); }; } &&
24469 { ac_try='test -s conftest$ac_exeext'
24470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24471 (eval $ac_try) 2>&5
24472 ac_status=$?
24473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24474 (exit $ac_status); }; }; then
24475 eval "$as_ac_var=yes"
24476 else
24477 echo "$as_me: failed program was:" >&5
24478 sed 's/^/| /' conftest.$ac_ext >&5
24480 eval "$as_ac_var=no"
24482 rm -f conftest.err conftest.$ac_objext \
24483 conftest$ac_exeext conftest.$ac_ext
24485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24487 if test `eval echo '${'$as_ac_var'}'` = yes; then
24488 cat >>confdefs.h <<_ACEOF
24489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24490 _ACEOF
24493 done
24495 else
24497 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24498 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24499 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24500 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24501 echo $ECHO_N "(cached) $ECHO_C" >&6
24502 else
24506 ac_ext=cc
24507 ac_cpp='$CXXCPP $CPPFLAGS'
24508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24512 cat >conftest.$ac_ext <<_ACEOF
24513 /* confdefs.h. */
24514 _ACEOF
24515 cat confdefs.h >>conftest.$ac_ext
24516 cat >>conftest.$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24518 #include <math.h>
24520 main ()
24522 _powl(0, 0);
24524 return 0;
24526 _ACEOF
24527 rm -f conftest.$ac_objext
24528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24529 (eval $ac_compile) 2>conftest.er1
24530 ac_status=$?
24531 grep -v '^ *+' conftest.er1 >conftest.err
24532 rm -f conftest.er1
24533 cat conftest.err >&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); } &&
24536 { ac_try='test -z "$ac_cxx_werror_flag"
24537 || test ! -s conftest.err'
24538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24539 (eval $ac_try) 2>&5
24540 ac_status=$?
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); }; } &&
24543 { ac_try='test -s conftest.$ac_objext'
24544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24545 (eval $ac_try) 2>&5
24546 ac_status=$?
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); }; }; then
24549 glibcxx_cv_func__powl_use=yes
24550 else
24551 echo "$as_me: failed program was:" >&5
24552 sed 's/^/| /' conftest.$ac_ext >&5
24554 glibcxx_cv_func__powl_use=no
24556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24557 ac_ext=c
24558 ac_cpp='$CPP $CPPFLAGS'
24559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24567 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24568 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24570 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24572 for ac_func in _powl
24574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24575 echo "$as_me:$LINENO: checking for $ac_func" >&5
24576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24577 if eval "test \"\${$as_ac_var+set}\" = set"; then
24578 echo $ECHO_N "(cached) $ECHO_C" >&6
24579 else
24580 if test x$gcc_no_link = xyes; then
24581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24583 { (exit 1); exit 1; }; }
24585 cat >conftest.$ac_ext <<_ACEOF
24586 /* confdefs.h. */
24587 _ACEOF
24588 cat confdefs.h >>conftest.$ac_ext
24589 cat >>conftest.$ac_ext <<_ACEOF
24590 /* end confdefs.h. */
24591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24593 #define $ac_func innocuous_$ac_func
24595 /* System header to define __stub macros and hopefully few prototypes,
24596 which can conflict with char $ac_func (); below.
24597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24598 <limits.h> exists even on freestanding compilers. */
24600 #ifdef __STDC__
24601 # include <limits.h>
24602 #else
24603 # include <assert.h>
24604 #endif
24606 #undef $ac_func
24608 /* Override any gcc2 internal prototype to avoid an error. */
24609 #ifdef __cplusplus
24610 extern "C"
24612 #endif
24613 /* We use char because int might match the return type of a gcc2
24614 builtin and then its argument prototype would still apply. */
24615 char $ac_func ();
24616 /* The GNU C library defines this for functions which it implements
24617 to always fail with ENOSYS. Some functions are actually named
24618 something starting with __ and the normal name is an alias. */
24619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24620 choke me
24621 #else
24622 char (*f) () = $ac_func;
24623 #endif
24624 #ifdef __cplusplus
24626 #endif
24629 main ()
24631 return f != $ac_func;
24633 return 0;
24635 _ACEOF
24636 rm -f conftest.$ac_objext conftest$ac_exeext
24637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24638 (eval $ac_link) 2>conftest.er1
24639 ac_status=$?
24640 grep -v '^ *+' conftest.er1 >conftest.err
24641 rm -f conftest.er1
24642 cat conftest.err >&5
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); } &&
24645 { ac_try='test -z "$ac_c_werror_flag"
24646 || test ! -s conftest.err'
24647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24648 (eval $ac_try) 2>&5
24649 ac_status=$?
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; } &&
24652 { ac_try='test -s conftest$ac_exeext'
24653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24654 (eval $ac_try) 2>&5
24655 ac_status=$?
24656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657 (exit $ac_status); }; }; then
24658 eval "$as_ac_var=yes"
24659 else
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24663 eval "$as_ac_var=no"
24665 rm -f conftest.err conftest.$ac_objext \
24666 conftest$ac_exeext conftest.$ac_ext
24668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24670 if test `eval echo '${'$as_ac_var'}'` = yes; then
24671 cat >>confdefs.h <<_ACEOF
24672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24673 _ACEOF
24676 done
24686 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24687 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24688 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24689 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24690 echo $ECHO_N "(cached) $ECHO_C" >&6
24691 else
24695 ac_ext=cc
24696 ac_cpp='$CXXCPP $CPPFLAGS'
24697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24701 cat >conftest.$ac_ext <<_ACEOF
24702 /* confdefs.h. */
24703 _ACEOF
24704 cat confdefs.h >>conftest.$ac_ext
24705 cat >>conftest.$ac_ext <<_ACEOF
24706 /* end confdefs.h. */
24707 #include <math.h>
24708 #ifdef HAVE_IEEEFP_H
24709 #include <ieeefp.h>
24710 #endif
24713 main ()
24715 sqrtl(0);
24717 return 0;
24719 _ACEOF
24720 rm -f conftest.$ac_objext
24721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24722 (eval $ac_compile) 2>conftest.er1
24723 ac_status=$?
24724 grep -v '^ *+' conftest.er1 >conftest.err
24725 rm -f conftest.er1
24726 cat conftest.err >&5
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); } &&
24729 { ac_try='test -z "$ac_cxx_werror_flag"
24730 || test ! -s conftest.err'
24731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24732 (eval $ac_try) 2>&5
24733 ac_status=$?
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; } &&
24736 { ac_try='test -s conftest.$ac_objext'
24737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24738 (eval $ac_try) 2>&5
24739 ac_status=$?
24740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24741 (exit $ac_status); }; }; then
24742 glibcxx_cv_func_sqrtl_use=yes
24743 else
24744 echo "$as_me: failed program was:" >&5
24745 sed 's/^/| /' conftest.$ac_ext >&5
24747 glibcxx_cv_func_sqrtl_use=no
24749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24750 ac_ext=c
24751 ac_cpp='$CPP $CPPFLAGS'
24752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24760 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24761 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24763 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24765 for ac_func in sqrtl
24767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24768 echo "$as_me:$LINENO: checking for $ac_func" >&5
24769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24770 if eval "test \"\${$as_ac_var+set}\" = set"; then
24771 echo $ECHO_N "(cached) $ECHO_C" >&6
24772 else
24773 if test x$gcc_no_link = xyes; then
24774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24776 { (exit 1); exit 1; }; }
24778 cat >conftest.$ac_ext <<_ACEOF
24779 /* confdefs.h. */
24780 _ACEOF
24781 cat confdefs.h >>conftest.$ac_ext
24782 cat >>conftest.$ac_ext <<_ACEOF
24783 /* end confdefs.h. */
24784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24786 #define $ac_func innocuous_$ac_func
24788 /* System header to define __stub macros and hopefully few prototypes,
24789 which can conflict with char $ac_func (); below.
24790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24791 <limits.h> exists even on freestanding compilers. */
24793 #ifdef __STDC__
24794 # include <limits.h>
24795 #else
24796 # include <assert.h>
24797 #endif
24799 #undef $ac_func
24801 /* Override any gcc2 internal prototype to avoid an error. */
24802 #ifdef __cplusplus
24803 extern "C"
24805 #endif
24806 /* We use char because int might match the return type of a gcc2
24807 builtin and then its argument prototype would still apply. */
24808 char $ac_func ();
24809 /* The GNU C library defines this for functions which it implements
24810 to always fail with ENOSYS. Some functions are actually named
24811 something starting with __ and the normal name is an alias. */
24812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24813 choke me
24814 #else
24815 char (*f) () = $ac_func;
24816 #endif
24817 #ifdef __cplusplus
24819 #endif
24822 main ()
24824 return f != $ac_func;
24826 return 0;
24828 _ACEOF
24829 rm -f conftest.$ac_objext conftest$ac_exeext
24830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24831 (eval $ac_link) 2>conftest.er1
24832 ac_status=$?
24833 grep -v '^ *+' conftest.er1 >conftest.err
24834 rm -f conftest.er1
24835 cat conftest.err >&5
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); } &&
24838 { ac_try='test -z "$ac_c_werror_flag"
24839 || test ! -s conftest.err'
24840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24841 (eval $ac_try) 2>&5
24842 ac_status=$?
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); }; } &&
24845 { ac_try='test -s conftest$ac_exeext'
24846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847 (eval $ac_try) 2>&5
24848 ac_status=$?
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; }; then
24851 eval "$as_ac_var=yes"
24852 else
24853 echo "$as_me: failed program was:" >&5
24854 sed 's/^/| /' conftest.$ac_ext >&5
24856 eval "$as_ac_var=no"
24858 rm -f conftest.err conftest.$ac_objext \
24859 conftest$ac_exeext conftest.$ac_ext
24861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24863 if test `eval echo '${'$as_ac_var'}'` = yes; then
24864 cat >>confdefs.h <<_ACEOF
24865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24866 _ACEOF
24869 done
24871 else
24873 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24874 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24875 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24876 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24877 echo $ECHO_N "(cached) $ECHO_C" >&6
24878 else
24882 ac_ext=cc
24883 ac_cpp='$CXXCPP $CPPFLAGS'
24884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24888 cat >conftest.$ac_ext <<_ACEOF
24889 /* confdefs.h. */
24890 _ACEOF
24891 cat confdefs.h >>conftest.$ac_ext
24892 cat >>conftest.$ac_ext <<_ACEOF
24893 /* end confdefs.h. */
24894 #include <math.h>
24895 #ifdef HAVE_IEEEFP_H
24896 #include <ieeefp.h>
24897 #endif
24900 main ()
24902 _sqrtl(0);
24904 return 0;
24906 _ACEOF
24907 rm -f conftest.$ac_objext
24908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24909 (eval $ac_compile) 2>conftest.er1
24910 ac_status=$?
24911 grep -v '^ *+' conftest.er1 >conftest.err
24912 rm -f conftest.er1
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } &&
24916 { ac_try='test -z "$ac_cxx_werror_flag"
24917 || test ! -s conftest.err'
24918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24919 (eval $ac_try) 2>&5
24920 ac_status=$?
24921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922 (exit $ac_status); }; } &&
24923 { ac_try='test -s conftest.$ac_objext'
24924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24925 (eval $ac_try) 2>&5
24926 ac_status=$?
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); }; }; then
24929 glibcxx_cv_func__sqrtl_use=yes
24930 else
24931 echo "$as_me: failed program was:" >&5
24932 sed 's/^/| /' conftest.$ac_ext >&5
24934 glibcxx_cv_func__sqrtl_use=no
24936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24937 ac_ext=c
24938 ac_cpp='$CPP $CPPFLAGS'
24939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24948 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24950 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24952 for ac_func in _sqrtl
24954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24955 echo "$as_me:$LINENO: checking for $ac_func" >&5
24956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24957 if eval "test \"\${$as_ac_var+set}\" = set"; then
24958 echo $ECHO_N "(cached) $ECHO_C" >&6
24959 else
24960 if test x$gcc_no_link = xyes; then
24961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24963 { (exit 1); exit 1; }; }
24965 cat >conftest.$ac_ext <<_ACEOF
24966 /* confdefs.h. */
24967 _ACEOF
24968 cat confdefs.h >>conftest.$ac_ext
24969 cat >>conftest.$ac_ext <<_ACEOF
24970 /* end confdefs.h. */
24971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24973 #define $ac_func innocuous_$ac_func
24975 /* System header to define __stub macros and hopefully few prototypes,
24976 which can conflict with char $ac_func (); below.
24977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24978 <limits.h> exists even on freestanding compilers. */
24980 #ifdef __STDC__
24981 # include <limits.h>
24982 #else
24983 # include <assert.h>
24984 #endif
24986 #undef $ac_func
24988 /* Override any gcc2 internal prototype to avoid an error. */
24989 #ifdef __cplusplus
24990 extern "C"
24992 #endif
24993 /* We use char because int might match the return type of a gcc2
24994 builtin and then its argument prototype would still apply. */
24995 char $ac_func ();
24996 /* The GNU C library defines this for functions which it implements
24997 to always fail with ENOSYS. Some functions are actually named
24998 something starting with __ and the normal name is an alias. */
24999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25000 choke me
25001 #else
25002 char (*f) () = $ac_func;
25003 #endif
25004 #ifdef __cplusplus
25006 #endif
25009 main ()
25011 return f != $ac_func;
25013 return 0;
25015 _ACEOF
25016 rm -f conftest.$ac_objext conftest$ac_exeext
25017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25018 (eval $ac_link) 2>conftest.er1
25019 ac_status=$?
25020 grep -v '^ *+' conftest.er1 >conftest.err
25021 rm -f conftest.er1
25022 cat conftest.err >&5
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); } &&
25025 { ac_try='test -z "$ac_c_werror_flag"
25026 || test ! -s conftest.err'
25027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25028 (eval $ac_try) 2>&5
25029 ac_status=$?
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); }; } &&
25032 { ac_try='test -s conftest$ac_exeext'
25033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25034 (eval $ac_try) 2>&5
25035 ac_status=$?
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); }; }; then
25038 eval "$as_ac_var=yes"
25039 else
25040 echo "$as_me: failed program was:" >&5
25041 sed 's/^/| /' conftest.$ac_ext >&5
25043 eval "$as_ac_var=no"
25045 rm -f conftest.err conftest.$ac_objext \
25046 conftest$ac_exeext conftest.$ac_ext
25048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25050 if test `eval echo '${'$as_ac_var'}'` = yes; then
25051 cat >>confdefs.h <<_ACEOF
25052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25053 _ACEOF
25056 done
25066 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25067 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25068 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25069 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25070 echo $ECHO_N "(cached) $ECHO_C" >&6
25071 else
25075 ac_ext=cc
25076 ac_cpp='$CXXCPP $CPPFLAGS'
25077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25081 cat >conftest.$ac_ext <<_ACEOF
25082 /* confdefs.h. */
25083 _ACEOF
25084 cat confdefs.h >>conftest.$ac_ext
25085 cat >>conftest.$ac_ext <<_ACEOF
25086 /* end confdefs.h. */
25087 #include <math.h>
25089 main ()
25091 sincosl(0, 0, 0);
25093 return 0;
25095 _ACEOF
25096 rm -f conftest.$ac_objext
25097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25098 (eval $ac_compile) 2>conftest.er1
25099 ac_status=$?
25100 grep -v '^ *+' conftest.er1 >conftest.err
25101 rm -f conftest.er1
25102 cat conftest.err >&5
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); } &&
25105 { ac_try='test -z "$ac_cxx_werror_flag"
25106 || test ! -s conftest.err'
25107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25108 (eval $ac_try) 2>&5
25109 ac_status=$?
25110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111 (exit $ac_status); }; } &&
25112 { ac_try='test -s conftest.$ac_objext'
25113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25114 (eval $ac_try) 2>&5
25115 ac_status=$?
25116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25117 (exit $ac_status); }; }; then
25118 glibcxx_cv_func_sincosl_use=yes
25119 else
25120 echo "$as_me: failed program was:" >&5
25121 sed 's/^/| /' conftest.$ac_ext >&5
25123 glibcxx_cv_func_sincosl_use=no
25125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25126 ac_ext=c
25127 ac_cpp='$CPP $CPPFLAGS'
25128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25136 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25137 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25139 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25141 for ac_func in sincosl
25143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25144 echo "$as_me:$LINENO: checking for $ac_func" >&5
25145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25146 if eval "test \"\${$as_ac_var+set}\" = set"; then
25147 echo $ECHO_N "(cached) $ECHO_C" >&6
25148 else
25149 if test x$gcc_no_link = xyes; then
25150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25152 { (exit 1); exit 1; }; }
25154 cat >conftest.$ac_ext <<_ACEOF
25155 /* confdefs.h. */
25156 _ACEOF
25157 cat confdefs.h >>conftest.$ac_ext
25158 cat >>conftest.$ac_ext <<_ACEOF
25159 /* end confdefs.h. */
25160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25162 #define $ac_func innocuous_$ac_func
25164 /* System header to define __stub macros and hopefully few prototypes,
25165 which can conflict with char $ac_func (); below.
25166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25167 <limits.h> exists even on freestanding compilers. */
25169 #ifdef __STDC__
25170 # include <limits.h>
25171 #else
25172 # include <assert.h>
25173 #endif
25175 #undef $ac_func
25177 /* Override any gcc2 internal prototype to avoid an error. */
25178 #ifdef __cplusplus
25179 extern "C"
25181 #endif
25182 /* We use char because int might match the return type of a gcc2
25183 builtin and then its argument prototype would still apply. */
25184 char $ac_func ();
25185 /* The GNU C library defines this for functions which it implements
25186 to always fail with ENOSYS. Some functions are actually named
25187 something starting with __ and the normal name is an alias. */
25188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25189 choke me
25190 #else
25191 char (*f) () = $ac_func;
25192 #endif
25193 #ifdef __cplusplus
25195 #endif
25198 main ()
25200 return f != $ac_func;
25202 return 0;
25204 _ACEOF
25205 rm -f conftest.$ac_objext conftest$ac_exeext
25206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25207 (eval $ac_link) 2>conftest.er1
25208 ac_status=$?
25209 grep -v '^ *+' conftest.er1 >conftest.err
25210 rm -f conftest.er1
25211 cat conftest.err >&5
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); } &&
25214 { ac_try='test -z "$ac_c_werror_flag"
25215 || test ! -s conftest.err'
25216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25217 (eval $ac_try) 2>&5
25218 ac_status=$?
25219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220 (exit $ac_status); }; } &&
25221 { ac_try='test -s conftest$ac_exeext'
25222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25223 (eval $ac_try) 2>&5
25224 ac_status=$?
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); }; }; then
25227 eval "$as_ac_var=yes"
25228 else
25229 echo "$as_me: failed program was:" >&5
25230 sed 's/^/| /' conftest.$ac_ext >&5
25232 eval "$as_ac_var=no"
25234 rm -f conftest.err conftest.$ac_objext \
25235 conftest$ac_exeext conftest.$ac_ext
25237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25239 if test `eval echo '${'$as_ac_var'}'` = yes; then
25240 cat >>confdefs.h <<_ACEOF
25241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25242 _ACEOF
25245 done
25247 else
25249 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25250 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25251 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25252 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25253 echo $ECHO_N "(cached) $ECHO_C" >&6
25254 else
25258 ac_ext=cc
25259 ac_cpp='$CXXCPP $CPPFLAGS'
25260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25264 cat >conftest.$ac_ext <<_ACEOF
25265 /* confdefs.h. */
25266 _ACEOF
25267 cat confdefs.h >>conftest.$ac_ext
25268 cat >>conftest.$ac_ext <<_ACEOF
25269 /* end confdefs.h. */
25270 #include <math.h>
25272 main ()
25274 _sincosl(0, 0, 0);
25276 return 0;
25278 _ACEOF
25279 rm -f conftest.$ac_objext
25280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25281 (eval $ac_compile) 2>conftest.er1
25282 ac_status=$?
25283 grep -v '^ *+' conftest.er1 >conftest.err
25284 rm -f conftest.er1
25285 cat conftest.err >&5
25286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287 (exit $ac_status); } &&
25288 { ac_try='test -z "$ac_cxx_werror_flag"
25289 || test ! -s conftest.err'
25290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25291 (eval $ac_try) 2>&5
25292 ac_status=$?
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); }; } &&
25295 { ac_try='test -s conftest.$ac_objext'
25296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25297 (eval $ac_try) 2>&5
25298 ac_status=$?
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); }; }; then
25301 glibcxx_cv_func__sincosl_use=yes
25302 else
25303 echo "$as_me: failed program was:" >&5
25304 sed 's/^/| /' conftest.$ac_ext >&5
25306 glibcxx_cv_func__sincosl_use=no
25308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25309 ac_ext=c
25310 ac_cpp='$CPP $CPPFLAGS'
25311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25319 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25320 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25322 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25324 for ac_func in _sincosl
25326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25327 echo "$as_me:$LINENO: checking for $ac_func" >&5
25328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25329 if eval "test \"\${$as_ac_var+set}\" = set"; then
25330 echo $ECHO_N "(cached) $ECHO_C" >&6
25331 else
25332 if test x$gcc_no_link = xyes; then
25333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25335 { (exit 1); exit 1; }; }
25337 cat >conftest.$ac_ext <<_ACEOF
25338 /* confdefs.h. */
25339 _ACEOF
25340 cat confdefs.h >>conftest.$ac_ext
25341 cat >>conftest.$ac_ext <<_ACEOF
25342 /* end confdefs.h. */
25343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25345 #define $ac_func innocuous_$ac_func
25347 /* System header to define __stub macros and hopefully few prototypes,
25348 which can conflict with char $ac_func (); below.
25349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25350 <limits.h> exists even on freestanding compilers. */
25352 #ifdef __STDC__
25353 # include <limits.h>
25354 #else
25355 # include <assert.h>
25356 #endif
25358 #undef $ac_func
25360 /* Override any gcc2 internal prototype to avoid an error. */
25361 #ifdef __cplusplus
25362 extern "C"
25364 #endif
25365 /* We use char because int might match the return type of a gcc2
25366 builtin and then its argument prototype would still apply. */
25367 char $ac_func ();
25368 /* The GNU C library defines this for functions which it implements
25369 to always fail with ENOSYS. Some functions are actually named
25370 something starting with __ and the normal name is an alias. */
25371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25372 choke me
25373 #else
25374 char (*f) () = $ac_func;
25375 #endif
25376 #ifdef __cplusplus
25378 #endif
25381 main ()
25383 return f != $ac_func;
25385 return 0;
25387 _ACEOF
25388 rm -f conftest.$ac_objext conftest$ac_exeext
25389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25390 (eval $ac_link) 2>conftest.er1
25391 ac_status=$?
25392 grep -v '^ *+' conftest.er1 >conftest.err
25393 rm -f conftest.er1
25394 cat conftest.err >&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); } &&
25397 { ac_try='test -z "$ac_c_werror_flag"
25398 || test ! -s conftest.err'
25399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25400 (eval $ac_try) 2>&5
25401 ac_status=$?
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); }; } &&
25404 { ac_try='test -s conftest$ac_exeext'
25405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25406 (eval $ac_try) 2>&5
25407 ac_status=$?
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); }; }; then
25410 eval "$as_ac_var=yes"
25411 else
25412 echo "$as_me: failed program was:" >&5
25413 sed 's/^/| /' conftest.$ac_ext >&5
25415 eval "$as_ac_var=no"
25417 rm -f conftest.err conftest.$ac_objext \
25418 conftest$ac_exeext conftest.$ac_ext
25420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25422 if test `eval echo '${'$as_ac_var'}'` = yes; then
25423 cat >>confdefs.h <<_ACEOF
25424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25425 _ACEOF
25428 done
25438 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25439 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25440 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25441 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25442 echo $ECHO_N "(cached) $ECHO_C" >&6
25443 else
25447 ac_ext=cc
25448 ac_cpp='$CXXCPP $CPPFLAGS'
25449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25453 cat >conftest.$ac_ext <<_ACEOF
25454 /* confdefs.h. */
25455 _ACEOF
25456 cat confdefs.h >>conftest.$ac_ext
25457 cat >>conftest.$ac_ext <<_ACEOF
25458 /* end confdefs.h. */
25459 #include <math.h>
25460 #ifdef HAVE_IEEEFP_H
25461 #include <ieeefp.h>
25462 #endif
25465 main ()
25467 finitel(0);
25469 return 0;
25471 _ACEOF
25472 rm -f conftest.$ac_objext
25473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25474 (eval $ac_compile) 2>conftest.er1
25475 ac_status=$?
25476 grep -v '^ *+' conftest.er1 >conftest.err
25477 rm -f conftest.er1
25478 cat conftest.err >&5
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); } &&
25481 { ac_try='test -z "$ac_cxx_werror_flag"
25482 || test ! -s conftest.err'
25483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25484 (eval $ac_try) 2>&5
25485 ac_status=$?
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); }; } &&
25488 { ac_try='test -s conftest.$ac_objext'
25489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25490 (eval $ac_try) 2>&5
25491 ac_status=$?
25492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25493 (exit $ac_status); }; }; then
25494 glibcxx_cv_func_finitel_use=yes
25495 else
25496 echo "$as_me: failed program was:" >&5
25497 sed 's/^/| /' conftest.$ac_ext >&5
25499 glibcxx_cv_func_finitel_use=no
25501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25502 ac_ext=c
25503 ac_cpp='$CPP $CPPFLAGS'
25504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25513 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25515 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25517 for ac_func in finitel
25519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25520 echo "$as_me:$LINENO: checking for $ac_func" >&5
25521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25522 if eval "test \"\${$as_ac_var+set}\" = set"; then
25523 echo $ECHO_N "(cached) $ECHO_C" >&6
25524 else
25525 if test x$gcc_no_link = xyes; then
25526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25528 { (exit 1); exit 1; }; }
25530 cat >conftest.$ac_ext <<_ACEOF
25531 /* confdefs.h. */
25532 _ACEOF
25533 cat confdefs.h >>conftest.$ac_ext
25534 cat >>conftest.$ac_ext <<_ACEOF
25535 /* end confdefs.h. */
25536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25538 #define $ac_func innocuous_$ac_func
25540 /* System header to define __stub macros and hopefully few prototypes,
25541 which can conflict with char $ac_func (); below.
25542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25543 <limits.h> exists even on freestanding compilers. */
25545 #ifdef __STDC__
25546 # include <limits.h>
25547 #else
25548 # include <assert.h>
25549 #endif
25551 #undef $ac_func
25553 /* Override any gcc2 internal prototype to avoid an error. */
25554 #ifdef __cplusplus
25555 extern "C"
25557 #endif
25558 /* We use char because int might match the return type of a gcc2
25559 builtin and then its argument prototype would still apply. */
25560 char $ac_func ();
25561 /* The GNU C library defines this for functions which it implements
25562 to always fail with ENOSYS. Some functions are actually named
25563 something starting with __ and the normal name is an alias. */
25564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25565 choke me
25566 #else
25567 char (*f) () = $ac_func;
25568 #endif
25569 #ifdef __cplusplus
25571 #endif
25574 main ()
25576 return f != $ac_func;
25578 return 0;
25580 _ACEOF
25581 rm -f conftest.$ac_objext conftest$ac_exeext
25582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25583 (eval $ac_link) 2>conftest.er1
25584 ac_status=$?
25585 grep -v '^ *+' conftest.er1 >conftest.err
25586 rm -f conftest.er1
25587 cat conftest.err >&5
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); } &&
25590 { ac_try='test -z "$ac_c_werror_flag"
25591 || test ! -s conftest.err'
25592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593 (eval $ac_try) 2>&5
25594 ac_status=$?
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); }; } &&
25597 { ac_try='test -s conftest$ac_exeext'
25598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25599 (eval $ac_try) 2>&5
25600 ac_status=$?
25601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25602 (exit $ac_status); }; }; then
25603 eval "$as_ac_var=yes"
25604 else
25605 echo "$as_me: failed program was:" >&5
25606 sed 's/^/| /' conftest.$ac_ext >&5
25608 eval "$as_ac_var=no"
25610 rm -f conftest.err conftest.$ac_objext \
25611 conftest$ac_exeext conftest.$ac_ext
25613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25615 if test `eval echo '${'$as_ac_var'}'` = yes; then
25616 cat >>confdefs.h <<_ACEOF
25617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25618 _ACEOF
25621 done
25623 else
25625 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25626 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25627 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25628 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25629 echo $ECHO_N "(cached) $ECHO_C" >&6
25630 else
25634 ac_ext=cc
25635 ac_cpp='$CXXCPP $CPPFLAGS'
25636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25640 cat >conftest.$ac_ext <<_ACEOF
25641 /* confdefs.h. */
25642 _ACEOF
25643 cat confdefs.h >>conftest.$ac_ext
25644 cat >>conftest.$ac_ext <<_ACEOF
25645 /* end confdefs.h. */
25646 #include <math.h>
25647 #ifdef HAVE_IEEEFP_H
25648 #include <ieeefp.h>
25649 #endif
25652 main ()
25654 _finitel(0);
25656 return 0;
25658 _ACEOF
25659 rm -f conftest.$ac_objext
25660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25661 (eval $ac_compile) 2>conftest.er1
25662 ac_status=$?
25663 grep -v '^ *+' conftest.er1 >conftest.err
25664 rm -f conftest.er1
25665 cat conftest.err >&5
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); } &&
25668 { ac_try='test -z "$ac_cxx_werror_flag"
25669 || test ! -s conftest.err'
25670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25671 (eval $ac_try) 2>&5
25672 ac_status=$?
25673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674 (exit $ac_status); }; } &&
25675 { ac_try='test -s conftest.$ac_objext'
25676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25677 (eval $ac_try) 2>&5
25678 ac_status=$?
25679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680 (exit $ac_status); }; }; then
25681 glibcxx_cv_func__finitel_use=yes
25682 else
25683 echo "$as_me: failed program was:" >&5
25684 sed 's/^/| /' conftest.$ac_ext >&5
25686 glibcxx_cv_func__finitel_use=no
25688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25689 ac_ext=c
25690 ac_cpp='$CPP $CPPFLAGS'
25691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25699 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25700 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25702 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25704 for ac_func in _finitel
25706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25707 echo "$as_me:$LINENO: checking for $ac_func" >&5
25708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25709 if eval "test \"\${$as_ac_var+set}\" = set"; then
25710 echo $ECHO_N "(cached) $ECHO_C" >&6
25711 else
25712 if test x$gcc_no_link = xyes; then
25713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25715 { (exit 1); exit 1; }; }
25717 cat >conftest.$ac_ext <<_ACEOF
25718 /* confdefs.h. */
25719 _ACEOF
25720 cat confdefs.h >>conftest.$ac_ext
25721 cat >>conftest.$ac_ext <<_ACEOF
25722 /* end confdefs.h. */
25723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25725 #define $ac_func innocuous_$ac_func
25727 /* System header to define __stub macros and hopefully few prototypes,
25728 which can conflict with char $ac_func (); below.
25729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25730 <limits.h> exists even on freestanding compilers. */
25732 #ifdef __STDC__
25733 # include <limits.h>
25734 #else
25735 # include <assert.h>
25736 #endif
25738 #undef $ac_func
25740 /* Override any gcc2 internal prototype to avoid an error. */
25741 #ifdef __cplusplus
25742 extern "C"
25744 #endif
25745 /* We use char because int might match the return type of a gcc2
25746 builtin and then its argument prototype would still apply. */
25747 char $ac_func ();
25748 /* The GNU C library defines this for functions which it implements
25749 to always fail with ENOSYS. Some functions are actually named
25750 something starting with __ and the normal name is an alias. */
25751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25752 choke me
25753 #else
25754 char (*f) () = $ac_func;
25755 #endif
25756 #ifdef __cplusplus
25758 #endif
25761 main ()
25763 return f != $ac_func;
25765 return 0;
25767 _ACEOF
25768 rm -f conftest.$ac_objext conftest$ac_exeext
25769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25770 (eval $ac_link) 2>conftest.er1
25771 ac_status=$?
25772 grep -v '^ *+' conftest.er1 >conftest.err
25773 rm -f conftest.er1
25774 cat conftest.err >&5
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); } &&
25777 { ac_try='test -z "$ac_c_werror_flag"
25778 || test ! -s conftest.err'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25781 ac_status=$?
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; } &&
25784 { ac_try='test -s conftest$ac_exeext'
25785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25786 (eval $ac_try) 2>&5
25787 ac_status=$?
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); }; }; then
25790 eval "$as_ac_var=yes"
25791 else
25792 echo "$as_me: failed program was:" >&5
25793 sed 's/^/| /' conftest.$ac_ext >&5
25795 eval "$as_ac_var=no"
25797 rm -f conftest.err conftest.$ac_objext \
25798 conftest$ac_exeext conftest.$ac_ext
25800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25802 if test `eval echo '${'$as_ac_var'}'` = yes; then
25803 cat >>confdefs.h <<_ACEOF
25804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25805 _ACEOF
25808 done
25817 LIBS="$ac_save_LIBS"
25818 CXXFLAGS="$ac_save_CXXFLAGS"
25822 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25823 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25824 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25825 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25826 echo $ECHO_N "(cached) $ECHO_C" >&6
25827 else
25831 ac_ext=cc
25832 ac_cpp='$CXXCPP $CPPFLAGS'
25833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25837 cat >conftest.$ac_ext <<_ACEOF
25838 /* confdefs.h. */
25839 _ACEOF
25840 cat confdefs.h >>conftest.$ac_ext
25841 cat >>conftest.$ac_ext <<_ACEOF
25842 /* end confdefs.h. */
25843 #include <math.h>
25845 main ()
25847 __builtin_abs(0);
25849 return 0;
25851 _ACEOF
25852 rm -f conftest.$ac_objext
25853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25854 (eval $ac_compile) 2>conftest.er1
25855 ac_status=$?
25856 grep -v '^ *+' conftest.er1 >conftest.err
25857 rm -f conftest.er1
25858 cat conftest.err >&5
25859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860 (exit $ac_status); } &&
25861 { ac_try='test -z "$ac_cxx_werror_flag"
25862 || test ! -s conftest.err'
25863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25864 (eval $ac_try) 2>&5
25865 ac_status=$?
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); }; } &&
25868 { ac_try='test -s conftest.$ac_objext'
25869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25870 (eval $ac_try) 2>&5
25871 ac_status=$?
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); }; }; then
25874 glibcxx_cv_func___builtin_abs_use=yes
25875 else
25876 echo "$as_me: failed program was:" >&5
25877 sed 's/^/| /' conftest.$ac_ext >&5
25879 glibcxx_cv_func___builtin_abs_use=no
25881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25882 ac_ext=c
25883 ac_cpp='$CPP $CPPFLAGS'
25884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25892 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25893 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25894 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25895 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25896 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25897 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25898 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25899 echo $ECHO_N "(cached) $ECHO_C" >&6
25900 else
25902 if test x$gcc_no_link = xyes; then
25903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25905 { (exit 1); exit 1; }; }
25907 cat >conftest.$ac_ext <<_ACEOF
25908 /* confdefs.h. */
25909 _ACEOF
25910 cat confdefs.h >>conftest.$ac_ext
25911 cat >>conftest.$ac_ext <<_ACEOF
25912 /* end confdefs.h. */
25913 #include <math.h>
25915 main ()
25917 __builtin_abs(0);
25919 return 0;
25921 _ACEOF
25922 rm -f conftest.$ac_objext conftest$ac_exeext
25923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25924 (eval $ac_link) 2>conftest.er1
25925 ac_status=$?
25926 grep -v '^ *+' conftest.er1 >conftest.err
25927 rm -f conftest.er1
25928 cat conftest.err >&5
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); } &&
25931 { ac_try='test -z "$ac_c_werror_flag"
25932 || test ! -s conftest.err'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25935 ac_status=$?
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; } &&
25938 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
25944 glibcxx_cv_func___builtin_abs_link=yes
25945 else
25946 echo "$as_me: failed program was:" >&5
25947 sed 's/^/| /' conftest.$ac_ext >&5
25949 glibcxx_cv_func___builtin_abs_link=no
25951 rm -f conftest.err conftest.$ac_objext \
25952 conftest$ac_exeext conftest.$ac_ext
25957 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25958 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25960 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25962 cat >>confdefs.h <<\_ACEOF
25963 #define HAVE___BUILTIN_ABS 1
25964 _ACEOF
25971 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25972 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25973 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25974 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25975 echo $ECHO_N "(cached) $ECHO_C" >&6
25976 else
25980 ac_ext=cc
25981 ac_cpp='$CXXCPP $CPPFLAGS'
25982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25986 cat >conftest.$ac_ext <<_ACEOF
25987 /* confdefs.h. */
25988 _ACEOF
25989 cat confdefs.h >>conftest.$ac_ext
25990 cat >>conftest.$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25992 #include <math.h>
25994 main ()
25996 __builtin_fabsf(0);
25998 return 0;
26000 _ACEOF
26001 rm -f conftest.$ac_objext
26002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26003 (eval $ac_compile) 2>conftest.er1
26004 ac_status=$?
26005 grep -v '^ *+' conftest.er1 >conftest.err
26006 rm -f conftest.er1
26007 cat conftest.err >&5
26008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009 (exit $ac_status); } &&
26010 { ac_try='test -z "$ac_cxx_werror_flag"
26011 || test ! -s conftest.err'
26012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26013 (eval $ac_try) 2>&5
26014 ac_status=$?
26015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016 (exit $ac_status); }; } &&
26017 { ac_try='test -s conftest.$ac_objext'
26018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26019 (eval $ac_try) 2>&5
26020 ac_status=$?
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); }; }; then
26023 glibcxx_cv_func___builtin_fabsf_use=yes
26024 else
26025 echo "$as_me: failed program was:" >&5
26026 sed 's/^/| /' conftest.$ac_ext >&5
26028 glibcxx_cv_func___builtin_fabsf_use=no
26030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26031 ac_ext=c
26032 ac_cpp='$CPP $CPPFLAGS'
26033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26041 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26042 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26043 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26044 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26045 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26046 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26047 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26048 echo $ECHO_N "(cached) $ECHO_C" >&6
26049 else
26051 if test x$gcc_no_link = xyes; then
26052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26054 { (exit 1); exit 1; }; }
26056 cat >conftest.$ac_ext <<_ACEOF
26057 /* confdefs.h. */
26058 _ACEOF
26059 cat confdefs.h >>conftest.$ac_ext
26060 cat >>conftest.$ac_ext <<_ACEOF
26061 /* end confdefs.h. */
26062 #include <math.h>
26064 main ()
26066 __builtin_fabsf(0);
26068 return 0;
26070 _ACEOF
26071 rm -f conftest.$ac_objext conftest$ac_exeext
26072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26073 (eval $ac_link) 2>conftest.er1
26074 ac_status=$?
26075 grep -v '^ *+' conftest.er1 >conftest.err
26076 rm -f conftest.er1
26077 cat conftest.err >&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } &&
26080 { ac_try='test -z "$ac_c_werror_flag"
26081 || test ! -s conftest.err'
26082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26083 (eval $ac_try) 2>&5
26084 ac_status=$?
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); }; } &&
26087 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
26093 glibcxx_cv_func___builtin_fabsf_link=yes
26094 else
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.$ac_ext >&5
26098 glibcxx_cv_func___builtin_fabsf_link=no
26100 rm -f conftest.err conftest.$ac_objext \
26101 conftest$ac_exeext conftest.$ac_ext
26106 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26107 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26109 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26111 cat >>confdefs.h <<\_ACEOF
26112 #define HAVE___BUILTIN_FABSF 1
26113 _ACEOF
26120 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26121 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26122 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26123 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26124 echo $ECHO_N "(cached) $ECHO_C" >&6
26125 else
26129 ac_ext=cc
26130 ac_cpp='$CXXCPP $CPPFLAGS'
26131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26135 cat >conftest.$ac_ext <<_ACEOF
26136 /* confdefs.h. */
26137 _ACEOF
26138 cat confdefs.h >>conftest.$ac_ext
26139 cat >>conftest.$ac_ext <<_ACEOF
26140 /* end confdefs.h. */
26141 #include <math.h>
26143 main ()
26145 __builtin_fabs(0);
26147 return 0;
26149 _ACEOF
26150 rm -f conftest.$ac_objext
26151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26152 (eval $ac_compile) 2>conftest.er1
26153 ac_status=$?
26154 grep -v '^ *+' conftest.er1 >conftest.err
26155 rm -f conftest.er1
26156 cat conftest.err >&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } &&
26159 { ac_try='test -z "$ac_cxx_werror_flag"
26160 || test ! -s conftest.err'
26161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26162 (eval $ac_try) 2>&5
26163 ac_status=$?
26164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26165 (exit $ac_status); }; } &&
26166 { ac_try='test -s conftest.$ac_objext'
26167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26168 (eval $ac_try) 2>&5
26169 ac_status=$?
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); }; }; then
26172 glibcxx_cv_func___builtin_fabs_use=yes
26173 else
26174 echo "$as_me: failed program was:" >&5
26175 sed 's/^/| /' conftest.$ac_ext >&5
26177 glibcxx_cv_func___builtin_fabs_use=no
26179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26180 ac_ext=c
26181 ac_cpp='$CPP $CPPFLAGS'
26182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26190 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26191 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26192 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26193 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26194 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26195 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26196 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26197 echo $ECHO_N "(cached) $ECHO_C" >&6
26198 else
26200 if test x$gcc_no_link = xyes; then
26201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26203 { (exit 1); exit 1; }; }
26205 cat >conftest.$ac_ext <<_ACEOF
26206 /* confdefs.h. */
26207 _ACEOF
26208 cat confdefs.h >>conftest.$ac_ext
26209 cat >>conftest.$ac_ext <<_ACEOF
26210 /* end confdefs.h. */
26211 #include <math.h>
26213 main ()
26215 __builtin_fabs(0);
26217 return 0;
26219 _ACEOF
26220 rm -f conftest.$ac_objext conftest$ac_exeext
26221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26222 (eval $ac_link) 2>conftest.er1
26223 ac_status=$?
26224 grep -v '^ *+' conftest.er1 >conftest.err
26225 rm -f conftest.er1
26226 cat conftest.err >&5
26227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228 (exit $ac_status); } &&
26229 { ac_try='test -z "$ac_c_werror_flag"
26230 || test ! -s conftest.err'
26231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26232 (eval $ac_try) 2>&5
26233 ac_status=$?
26234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235 (exit $ac_status); }; } &&
26236 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
26242 glibcxx_cv_func___builtin_fabs_link=yes
26243 else
26244 echo "$as_me: failed program was:" >&5
26245 sed 's/^/| /' conftest.$ac_ext >&5
26247 glibcxx_cv_func___builtin_fabs_link=no
26249 rm -f conftest.err conftest.$ac_objext \
26250 conftest$ac_exeext conftest.$ac_ext
26255 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26256 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26258 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26260 cat >>confdefs.h <<\_ACEOF
26261 #define HAVE___BUILTIN_FABS 1
26262 _ACEOF
26269 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26270 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26271 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26272 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26273 echo $ECHO_N "(cached) $ECHO_C" >&6
26274 else
26278 ac_ext=cc
26279 ac_cpp='$CXXCPP $CPPFLAGS'
26280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26284 cat >conftest.$ac_ext <<_ACEOF
26285 /* confdefs.h. */
26286 _ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26290 #include <math.h>
26292 main ()
26294 __builtin_fabsl(0);
26296 return 0;
26298 _ACEOF
26299 rm -f conftest.$ac_objext
26300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26301 (eval $ac_compile) 2>conftest.er1
26302 ac_status=$?
26303 grep -v '^ *+' conftest.er1 >conftest.err
26304 rm -f conftest.er1
26305 cat conftest.err >&5
26306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26307 (exit $ac_status); } &&
26308 { ac_try='test -z "$ac_cxx_werror_flag"
26309 || test ! -s conftest.err'
26310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26311 (eval $ac_try) 2>&5
26312 ac_status=$?
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); }; } &&
26315 { ac_try='test -s conftest.$ac_objext'
26316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26317 (eval $ac_try) 2>&5
26318 ac_status=$?
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); }; }; then
26321 glibcxx_cv_func___builtin_fabsl_use=yes
26322 else
26323 echo "$as_me: failed program was:" >&5
26324 sed 's/^/| /' conftest.$ac_ext >&5
26326 glibcxx_cv_func___builtin_fabsl_use=no
26328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26329 ac_ext=c
26330 ac_cpp='$CPP $CPPFLAGS'
26331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26339 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26340 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26341 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26342 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26343 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26344 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26345 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26346 echo $ECHO_N "(cached) $ECHO_C" >&6
26347 else
26349 if test x$gcc_no_link = xyes; then
26350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26352 { (exit 1); exit 1; }; }
26354 cat >conftest.$ac_ext <<_ACEOF
26355 /* confdefs.h. */
26356 _ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h. */
26360 #include <math.h>
26362 main ()
26364 __builtin_fabsl(0);
26366 return 0;
26368 _ACEOF
26369 rm -f conftest.$ac_objext conftest$ac_exeext
26370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26371 (eval $ac_link) 2>conftest.er1
26372 ac_status=$?
26373 grep -v '^ *+' conftest.er1 >conftest.err
26374 rm -f conftest.er1
26375 cat conftest.err >&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } &&
26378 { ac_try='test -z "$ac_c_werror_flag"
26379 || test ! -s conftest.err'
26380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26381 (eval $ac_try) 2>&5
26382 ac_status=$?
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); }; } &&
26385 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
26391 glibcxx_cv_func___builtin_fabsl_link=yes
26392 else
26393 echo "$as_me: failed program was:" >&5
26394 sed 's/^/| /' conftest.$ac_ext >&5
26396 glibcxx_cv_func___builtin_fabsl_link=no
26398 rm -f conftest.err conftest.$ac_objext \
26399 conftest$ac_exeext conftest.$ac_ext
26404 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26405 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26407 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26409 cat >>confdefs.h <<\_ACEOF
26410 #define HAVE___BUILTIN_FABSL 1
26411 _ACEOF
26418 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26419 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26420 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26421 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26422 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 else
26427 ac_ext=cc
26428 ac_cpp='$CXXCPP $CPPFLAGS'
26429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26433 cat >conftest.$ac_ext <<_ACEOF
26434 /* confdefs.h. */
26435 _ACEOF
26436 cat confdefs.h >>conftest.$ac_ext
26437 cat >>conftest.$ac_ext <<_ACEOF
26438 /* end confdefs.h. */
26439 #include <math.h>
26441 main ()
26443 __builtin_labs(0);
26445 return 0;
26447 _ACEOF
26448 rm -f conftest.$ac_objext
26449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26450 (eval $ac_compile) 2>conftest.er1
26451 ac_status=$?
26452 grep -v '^ *+' conftest.er1 >conftest.err
26453 rm -f conftest.er1
26454 cat conftest.err >&5
26455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26456 (exit $ac_status); } &&
26457 { ac_try='test -z "$ac_cxx_werror_flag"
26458 || test ! -s conftest.err'
26459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26460 (eval $ac_try) 2>&5
26461 ac_status=$?
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); }; } &&
26464 { ac_try='test -s conftest.$ac_objext'
26465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26466 (eval $ac_try) 2>&5
26467 ac_status=$?
26468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 (exit $ac_status); }; }; then
26470 glibcxx_cv_func___builtin_labs_use=yes
26471 else
26472 echo "$as_me: failed program was:" >&5
26473 sed 's/^/| /' conftest.$ac_ext >&5
26475 glibcxx_cv_func___builtin_labs_use=no
26477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26478 ac_ext=c
26479 ac_cpp='$CPP $CPPFLAGS'
26480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26488 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26489 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26490 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26491 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26492 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26493 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26494 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26495 echo $ECHO_N "(cached) $ECHO_C" >&6
26496 else
26498 if test x$gcc_no_link = xyes; then
26499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26501 { (exit 1); exit 1; }; }
26503 cat >conftest.$ac_ext <<_ACEOF
26504 /* confdefs.h. */
26505 _ACEOF
26506 cat confdefs.h >>conftest.$ac_ext
26507 cat >>conftest.$ac_ext <<_ACEOF
26508 /* end confdefs.h. */
26509 #include <math.h>
26511 main ()
26513 __builtin_labs(0);
26515 return 0;
26517 _ACEOF
26518 rm -f conftest.$ac_objext conftest$ac_exeext
26519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26520 (eval $ac_link) 2>conftest.er1
26521 ac_status=$?
26522 grep -v '^ *+' conftest.er1 >conftest.err
26523 rm -f conftest.er1
26524 cat conftest.err >&5
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); } &&
26527 { ac_try='test -z "$ac_c_werror_flag"
26528 || test ! -s conftest.err'
26529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26530 (eval $ac_try) 2>&5
26531 ac_status=$?
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); }; } &&
26534 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
26540 glibcxx_cv_func___builtin_labs_link=yes
26541 else
26542 echo "$as_me: failed program was:" >&5
26543 sed 's/^/| /' conftest.$ac_ext >&5
26545 glibcxx_cv_func___builtin_labs_link=no
26547 rm -f conftest.err conftest.$ac_objext \
26548 conftest$ac_exeext conftest.$ac_ext
26553 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26554 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26556 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26558 cat >>confdefs.h <<\_ACEOF
26559 #define HAVE___BUILTIN_LABS 1
26560 _ACEOF
26568 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26569 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26570 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26571 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26572 echo $ECHO_N "(cached) $ECHO_C" >&6
26573 else
26577 ac_ext=cc
26578 ac_cpp='$CXXCPP $CPPFLAGS'
26579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26583 cat >conftest.$ac_ext <<_ACEOF
26584 /* confdefs.h. */
26585 _ACEOF
26586 cat confdefs.h >>conftest.$ac_ext
26587 cat >>conftest.$ac_ext <<_ACEOF
26588 /* end confdefs.h. */
26589 #include <math.h>
26591 main ()
26593 __builtin_sqrtf(0);
26595 return 0;
26597 _ACEOF
26598 rm -f conftest.$ac_objext
26599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26600 (eval $ac_compile) 2>conftest.er1
26601 ac_status=$?
26602 grep -v '^ *+' conftest.er1 >conftest.err
26603 rm -f conftest.er1
26604 cat conftest.err >&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); } &&
26607 { ac_try='test -z "$ac_cxx_werror_flag"
26608 || test ! -s conftest.err'
26609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26610 (eval $ac_try) 2>&5
26611 ac_status=$?
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); }; } &&
26614 { ac_try='test -s conftest.$ac_objext'
26615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26616 (eval $ac_try) 2>&5
26617 ac_status=$?
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); }; }; then
26620 glibcxx_cv_func___builtin_sqrtf_use=yes
26621 else
26622 echo "$as_me: failed program was:" >&5
26623 sed 's/^/| /' conftest.$ac_ext >&5
26625 glibcxx_cv_func___builtin_sqrtf_use=no
26627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26628 ac_ext=c
26629 ac_cpp='$CPP $CPPFLAGS'
26630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26638 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26639 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26640 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26641 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26642 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26643 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26644 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26645 echo $ECHO_N "(cached) $ECHO_C" >&6
26646 else
26648 if test x$gcc_no_link = xyes; then
26649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26651 { (exit 1); exit 1; }; }
26653 cat >conftest.$ac_ext <<_ACEOF
26654 /* confdefs.h. */
26655 _ACEOF
26656 cat confdefs.h >>conftest.$ac_ext
26657 cat >>conftest.$ac_ext <<_ACEOF
26658 /* end confdefs.h. */
26659 #include <math.h>
26661 main ()
26663 __builtin_sqrtf(0);
26665 return 0;
26667 _ACEOF
26668 rm -f conftest.$ac_objext conftest$ac_exeext
26669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26670 (eval $ac_link) 2>conftest.er1
26671 ac_status=$?
26672 grep -v '^ *+' conftest.er1 >conftest.err
26673 rm -f conftest.er1
26674 cat conftest.err >&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try='test -z "$ac_c_werror_flag"
26678 || test ! -s conftest.err'
26679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26680 (eval $ac_try) 2>&5
26681 ac_status=$?
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); }; } &&
26684 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
26690 glibcxx_cv_func___builtin_sqrtf_link=yes
26691 else
26692 echo "$as_me: failed program was:" >&5
26693 sed 's/^/| /' conftest.$ac_ext >&5
26695 glibcxx_cv_func___builtin_sqrtf_link=no
26697 rm -f conftest.err conftest.$ac_objext \
26698 conftest$ac_exeext conftest.$ac_ext
26703 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26704 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26706 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26708 cat >>confdefs.h <<\_ACEOF
26709 #define HAVE___BUILTIN_SQRTF 1
26710 _ACEOF
26717 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26718 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26719 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26720 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26721 echo $ECHO_N "(cached) $ECHO_C" >&6
26722 else
26726 ac_ext=cc
26727 ac_cpp='$CXXCPP $CPPFLAGS'
26728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26732 cat >conftest.$ac_ext <<_ACEOF
26733 /* confdefs.h. */
26734 _ACEOF
26735 cat confdefs.h >>conftest.$ac_ext
26736 cat >>conftest.$ac_ext <<_ACEOF
26737 /* end confdefs.h. */
26738 #include <math.h>
26740 main ()
26742 __builtin_sqrt(0);
26744 return 0;
26746 _ACEOF
26747 rm -f conftest.$ac_objext
26748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26749 (eval $ac_compile) 2>conftest.er1
26750 ac_status=$?
26751 grep -v '^ *+' conftest.er1 >conftest.err
26752 rm -f conftest.er1
26753 cat conftest.err >&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); } &&
26756 { ac_try='test -z "$ac_cxx_werror_flag"
26757 || test ! -s conftest.err'
26758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26759 (eval $ac_try) 2>&5
26760 ac_status=$?
26761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762 (exit $ac_status); }; } &&
26763 { ac_try='test -s conftest.$ac_objext'
26764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26765 (eval $ac_try) 2>&5
26766 ac_status=$?
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); }; }; then
26769 glibcxx_cv_func___builtin_sqrt_use=yes
26770 else
26771 echo "$as_me: failed program was:" >&5
26772 sed 's/^/| /' conftest.$ac_ext >&5
26774 glibcxx_cv_func___builtin_sqrt_use=no
26776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26777 ac_ext=c
26778 ac_cpp='$CPP $CPPFLAGS'
26779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26787 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26788 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26789 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26790 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26791 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26792 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26793 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26794 echo $ECHO_N "(cached) $ECHO_C" >&6
26795 else
26797 if test x$gcc_no_link = xyes; then
26798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26800 { (exit 1); exit 1; }; }
26802 cat >conftest.$ac_ext <<_ACEOF
26803 /* confdefs.h. */
26804 _ACEOF
26805 cat confdefs.h >>conftest.$ac_ext
26806 cat >>conftest.$ac_ext <<_ACEOF
26807 /* end confdefs.h. */
26808 #include <math.h>
26810 main ()
26812 __builtin_sqrt(0);
26814 return 0;
26816 _ACEOF
26817 rm -f conftest.$ac_objext conftest$ac_exeext
26818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26819 (eval $ac_link) 2>conftest.er1
26820 ac_status=$?
26821 grep -v '^ *+' conftest.er1 >conftest.err
26822 rm -f conftest.er1
26823 cat conftest.err >&5
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); } &&
26826 { ac_try='test -z "$ac_c_werror_flag"
26827 || test ! -s conftest.err'
26828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26829 (eval $ac_try) 2>&5
26830 ac_status=$?
26831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26832 (exit $ac_status); }; } &&
26833 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
26839 glibcxx_cv_func___builtin_sqrt_link=yes
26840 else
26841 echo "$as_me: failed program was:" >&5
26842 sed 's/^/| /' conftest.$ac_ext >&5
26844 glibcxx_cv_func___builtin_sqrt_link=no
26846 rm -f conftest.err conftest.$ac_objext \
26847 conftest$ac_exeext conftest.$ac_ext
26852 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26853 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26855 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26857 cat >>confdefs.h <<\_ACEOF
26858 #define HAVE___BUILTIN_SQRT 1
26859 _ACEOF
26866 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26867 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26868 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26869 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26870 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 else
26875 ac_ext=cc
26876 ac_cpp='$CXXCPP $CPPFLAGS'
26877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26881 cat >conftest.$ac_ext <<_ACEOF
26882 /* confdefs.h. */
26883 _ACEOF
26884 cat confdefs.h >>conftest.$ac_ext
26885 cat >>conftest.$ac_ext <<_ACEOF
26886 /* end confdefs.h. */
26887 #include <math.h>
26889 main ()
26891 __builtin_sqrtl(0);
26893 return 0;
26895 _ACEOF
26896 rm -f conftest.$ac_objext
26897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26898 (eval $ac_compile) 2>conftest.er1
26899 ac_status=$?
26900 grep -v '^ *+' conftest.er1 >conftest.err
26901 rm -f conftest.er1
26902 cat conftest.err >&5
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); } &&
26905 { ac_try='test -z "$ac_cxx_werror_flag"
26906 || test ! -s conftest.err'
26907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26908 (eval $ac_try) 2>&5
26909 ac_status=$?
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); }; } &&
26912 { ac_try='test -s conftest.$ac_objext'
26913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26914 (eval $ac_try) 2>&5
26915 ac_status=$?
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); }; }; then
26918 glibcxx_cv_func___builtin_sqrtl_use=yes
26919 else
26920 echo "$as_me: failed program was:" >&5
26921 sed 's/^/| /' conftest.$ac_ext >&5
26923 glibcxx_cv_func___builtin_sqrtl_use=no
26925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26926 ac_ext=c
26927 ac_cpp='$CPP $CPPFLAGS'
26928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26936 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26937 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26938 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26939 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26940 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26941 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26942 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26943 echo $ECHO_N "(cached) $ECHO_C" >&6
26944 else
26946 if test x$gcc_no_link = xyes; then
26947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26949 { (exit 1); exit 1; }; }
26951 cat >conftest.$ac_ext <<_ACEOF
26952 /* confdefs.h. */
26953 _ACEOF
26954 cat confdefs.h >>conftest.$ac_ext
26955 cat >>conftest.$ac_ext <<_ACEOF
26956 /* end confdefs.h. */
26957 #include <math.h>
26959 main ()
26961 __builtin_sqrtl(0);
26963 return 0;
26965 _ACEOF
26966 rm -f conftest.$ac_objext conftest$ac_exeext
26967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26968 (eval $ac_link) 2>conftest.er1
26969 ac_status=$?
26970 grep -v '^ *+' conftest.er1 >conftest.err
26971 rm -f conftest.er1
26972 cat conftest.err >&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); } &&
26975 { ac_try='test -z "$ac_c_werror_flag"
26976 || test ! -s conftest.err'
26977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26978 (eval $ac_try) 2>&5
26979 ac_status=$?
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); }; } &&
26982 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
26988 glibcxx_cv_func___builtin_sqrtl_link=yes
26989 else
26990 echo "$as_me: failed program was:" >&5
26991 sed 's/^/| /' conftest.$ac_ext >&5
26993 glibcxx_cv_func___builtin_sqrtl_link=no
26995 rm -f conftest.err conftest.$ac_objext \
26996 conftest$ac_exeext conftest.$ac_ext
27001 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27002 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27004 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27006 cat >>confdefs.h <<\_ACEOF
27007 #define HAVE___BUILTIN_SQRTL 1
27008 _ACEOF
27016 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27017 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27018 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27019 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27020 echo $ECHO_N "(cached) $ECHO_C" >&6
27021 else
27025 ac_ext=cc
27026 ac_cpp='$CXXCPP $CPPFLAGS'
27027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27031 cat >conftest.$ac_ext <<_ACEOF
27032 /* confdefs.h. */
27033 _ACEOF
27034 cat confdefs.h >>conftest.$ac_ext
27035 cat >>conftest.$ac_ext <<_ACEOF
27036 /* end confdefs.h. */
27037 #include <math.h>
27039 main ()
27041 __builtin_sinf(0);
27043 return 0;
27045 _ACEOF
27046 rm -f conftest.$ac_objext
27047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27048 (eval $ac_compile) 2>conftest.er1
27049 ac_status=$?
27050 grep -v '^ *+' conftest.er1 >conftest.err
27051 rm -f conftest.er1
27052 cat conftest.err >&5
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); } &&
27055 { ac_try='test -z "$ac_cxx_werror_flag"
27056 || test ! -s conftest.err'
27057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27058 (eval $ac_try) 2>&5
27059 ac_status=$?
27060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061 (exit $ac_status); }; } &&
27062 { ac_try='test -s conftest.$ac_objext'
27063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27064 (eval $ac_try) 2>&5
27065 ac_status=$?
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); }; }; then
27068 glibcxx_cv_func___builtin_sinf_use=yes
27069 else
27070 echo "$as_me: failed program was:" >&5
27071 sed 's/^/| /' conftest.$ac_ext >&5
27073 glibcxx_cv_func___builtin_sinf_use=no
27075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27076 ac_ext=c
27077 ac_cpp='$CPP $CPPFLAGS'
27078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27086 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27087 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27088 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27089 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27090 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27091 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27092 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27093 echo $ECHO_N "(cached) $ECHO_C" >&6
27094 else
27096 if test x$gcc_no_link = xyes; then
27097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27099 { (exit 1); exit 1; }; }
27101 cat >conftest.$ac_ext <<_ACEOF
27102 /* confdefs.h. */
27103 _ACEOF
27104 cat confdefs.h >>conftest.$ac_ext
27105 cat >>conftest.$ac_ext <<_ACEOF
27106 /* end confdefs.h. */
27107 #include <math.h>
27109 main ()
27111 __builtin_sinf(0);
27113 return 0;
27115 _ACEOF
27116 rm -f conftest.$ac_objext conftest$ac_exeext
27117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27118 (eval $ac_link) 2>conftest.er1
27119 ac_status=$?
27120 grep -v '^ *+' conftest.er1 >conftest.err
27121 rm -f conftest.er1
27122 cat conftest.err >&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); } &&
27125 { ac_try='test -z "$ac_c_werror_flag"
27126 || test ! -s conftest.err'
27127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27128 (eval $ac_try) 2>&5
27129 ac_status=$?
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); }; } &&
27132 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
27138 glibcxx_cv_func___builtin_sinf_link=yes
27139 else
27140 echo "$as_me: failed program was:" >&5
27141 sed 's/^/| /' conftest.$ac_ext >&5
27143 glibcxx_cv_func___builtin_sinf_link=no
27145 rm -f conftest.err conftest.$ac_objext \
27146 conftest$ac_exeext conftest.$ac_ext
27151 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27152 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27154 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27156 cat >>confdefs.h <<\_ACEOF
27157 #define HAVE___BUILTIN_SINF 1
27158 _ACEOF
27165 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27166 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27167 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27168 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27169 echo $ECHO_N "(cached) $ECHO_C" >&6
27170 else
27174 ac_ext=cc
27175 ac_cpp='$CXXCPP $CPPFLAGS'
27176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27180 cat >conftest.$ac_ext <<_ACEOF
27181 /* confdefs.h. */
27182 _ACEOF
27183 cat confdefs.h >>conftest.$ac_ext
27184 cat >>conftest.$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27186 #include <math.h>
27188 main ()
27190 __builtin_sin(0);
27192 return 0;
27194 _ACEOF
27195 rm -f conftest.$ac_objext
27196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27197 (eval $ac_compile) 2>conftest.er1
27198 ac_status=$?
27199 grep -v '^ *+' conftest.er1 >conftest.err
27200 rm -f conftest.er1
27201 cat conftest.err >&5
27202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27203 (exit $ac_status); } &&
27204 { ac_try='test -z "$ac_cxx_werror_flag"
27205 || test ! -s conftest.err'
27206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27207 (eval $ac_try) 2>&5
27208 ac_status=$?
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); }; } &&
27211 { ac_try='test -s conftest.$ac_objext'
27212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213 (eval $ac_try) 2>&5
27214 ac_status=$?
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); }; }; then
27217 glibcxx_cv_func___builtin_sin_use=yes
27218 else
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.$ac_ext >&5
27222 glibcxx_cv_func___builtin_sin_use=no
27224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27225 ac_ext=c
27226 ac_cpp='$CPP $CPPFLAGS'
27227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27235 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27236 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27237 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27238 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27239 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27240 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27241 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27242 echo $ECHO_N "(cached) $ECHO_C" >&6
27243 else
27245 if test x$gcc_no_link = xyes; then
27246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27248 { (exit 1); exit 1; }; }
27250 cat >conftest.$ac_ext <<_ACEOF
27251 /* confdefs.h. */
27252 _ACEOF
27253 cat confdefs.h >>conftest.$ac_ext
27254 cat >>conftest.$ac_ext <<_ACEOF
27255 /* end confdefs.h. */
27256 #include <math.h>
27258 main ()
27260 __builtin_sin(0);
27262 return 0;
27264 _ACEOF
27265 rm -f conftest.$ac_objext conftest$ac_exeext
27266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27267 (eval $ac_link) 2>conftest.er1
27268 ac_status=$?
27269 grep -v '^ *+' conftest.er1 >conftest.err
27270 rm -f conftest.er1
27271 cat conftest.err >&5
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); } &&
27274 { ac_try='test -z "$ac_c_werror_flag"
27275 || test ! -s conftest.err'
27276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27277 (eval $ac_try) 2>&5
27278 ac_status=$?
27279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27280 (exit $ac_status); }; } &&
27281 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
27287 glibcxx_cv_func___builtin_sin_link=yes
27288 else
27289 echo "$as_me: failed program was:" >&5
27290 sed 's/^/| /' conftest.$ac_ext >&5
27292 glibcxx_cv_func___builtin_sin_link=no
27294 rm -f conftest.err conftest.$ac_objext \
27295 conftest$ac_exeext conftest.$ac_ext
27300 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27301 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27303 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27305 cat >>confdefs.h <<\_ACEOF
27306 #define HAVE___BUILTIN_SIN 1
27307 _ACEOF
27314 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27315 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27316 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27317 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27318 echo $ECHO_N "(cached) $ECHO_C" >&6
27319 else
27323 ac_ext=cc
27324 ac_cpp='$CXXCPP $CPPFLAGS'
27325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27329 cat >conftest.$ac_ext <<_ACEOF
27330 /* confdefs.h. */
27331 _ACEOF
27332 cat confdefs.h >>conftest.$ac_ext
27333 cat >>conftest.$ac_ext <<_ACEOF
27334 /* end confdefs.h. */
27335 #include <math.h>
27337 main ()
27339 __builtin_sinl(0);
27341 return 0;
27343 _ACEOF
27344 rm -f conftest.$ac_objext
27345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27346 (eval $ac_compile) 2>conftest.er1
27347 ac_status=$?
27348 grep -v '^ *+' conftest.er1 >conftest.err
27349 rm -f conftest.er1
27350 cat conftest.err >&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); } &&
27353 { ac_try='test -z "$ac_cxx_werror_flag"
27354 || test ! -s conftest.err'
27355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27356 (eval $ac_try) 2>&5
27357 ac_status=$?
27358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359 (exit $ac_status); }; } &&
27360 { ac_try='test -s conftest.$ac_objext'
27361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27362 (eval $ac_try) 2>&5
27363 ac_status=$?
27364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27365 (exit $ac_status); }; }; then
27366 glibcxx_cv_func___builtin_sinl_use=yes
27367 else
27368 echo "$as_me: failed program was:" >&5
27369 sed 's/^/| /' conftest.$ac_ext >&5
27371 glibcxx_cv_func___builtin_sinl_use=no
27373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27374 ac_ext=c
27375 ac_cpp='$CPP $CPPFLAGS'
27376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27384 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27385 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27386 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27387 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27388 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27389 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27390 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27391 echo $ECHO_N "(cached) $ECHO_C" >&6
27392 else
27394 if test x$gcc_no_link = xyes; then
27395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27397 { (exit 1); exit 1; }; }
27399 cat >conftest.$ac_ext <<_ACEOF
27400 /* confdefs.h. */
27401 _ACEOF
27402 cat confdefs.h >>conftest.$ac_ext
27403 cat >>conftest.$ac_ext <<_ACEOF
27404 /* end confdefs.h. */
27405 #include <math.h>
27407 main ()
27409 __builtin_sinl(0);
27411 return 0;
27413 _ACEOF
27414 rm -f conftest.$ac_objext conftest$ac_exeext
27415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27416 (eval $ac_link) 2>conftest.er1
27417 ac_status=$?
27418 grep -v '^ *+' conftest.er1 >conftest.err
27419 rm -f conftest.er1
27420 cat conftest.err >&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } &&
27423 { ac_try='test -z "$ac_c_werror_flag"
27424 || test ! -s conftest.err'
27425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27426 (eval $ac_try) 2>&5
27427 ac_status=$?
27428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429 (exit $ac_status); }; } &&
27430 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
27436 glibcxx_cv_func___builtin_sinl_link=yes
27437 else
27438 echo "$as_me: failed program was:" >&5
27439 sed 's/^/| /' conftest.$ac_ext >&5
27441 glibcxx_cv_func___builtin_sinl_link=no
27443 rm -f conftest.err conftest.$ac_objext \
27444 conftest$ac_exeext conftest.$ac_ext
27449 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27450 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27452 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27454 cat >>confdefs.h <<\_ACEOF
27455 #define HAVE___BUILTIN_SINL 1
27456 _ACEOF
27464 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27465 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27466 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27467 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27468 echo $ECHO_N "(cached) $ECHO_C" >&6
27469 else
27473 ac_ext=cc
27474 ac_cpp='$CXXCPP $CPPFLAGS'
27475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27479 cat >conftest.$ac_ext <<_ACEOF
27480 /* confdefs.h. */
27481 _ACEOF
27482 cat confdefs.h >>conftest.$ac_ext
27483 cat >>conftest.$ac_ext <<_ACEOF
27484 /* end confdefs.h. */
27485 #include <math.h>
27487 main ()
27489 __builtin_cosf(0);
27491 return 0;
27493 _ACEOF
27494 rm -f conftest.$ac_objext
27495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27496 (eval $ac_compile) 2>conftest.er1
27497 ac_status=$?
27498 grep -v '^ *+' conftest.er1 >conftest.err
27499 rm -f conftest.er1
27500 cat conftest.err >&5
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); } &&
27503 { ac_try='test -z "$ac_cxx_werror_flag"
27504 || test ! -s conftest.err'
27505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27506 (eval $ac_try) 2>&5
27507 ac_status=$?
27508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27509 (exit $ac_status); }; } &&
27510 { ac_try='test -s conftest.$ac_objext'
27511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27512 (eval $ac_try) 2>&5
27513 ac_status=$?
27514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27515 (exit $ac_status); }; }; then
27516 glibcxx_cv_func___builtin_cosf_use=yes
27517 else
27518 echo "$as_me: failed program was:" >&5
27519 sed 's/^/| /' conftest.$ac_ext >&5
27521 glibcxx_cv_func___builtin_cosf_use=no
27523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27524 ac_ext=c
27525 ac_cpp='$CPP $CPPFLAGS'
27526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27534 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27535 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27536 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27537 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27538 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27539 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27540 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27541 echo $ECHO_N "(cached) $ECHO_C" >&6
27542 else
27544 if test x$gcc_no_link = xyes; then
27545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27547 { (exit 1); exit 1; }; }
27549 cat >conftest.$ac_ext <<_ACEOF
27550 /* confdefs.h. */
27551 _ACEOF
27552 cat confdefs.h >>conftest.$ac_ext
27553 cat >>conftest.$ac_ext <<_ACEOF
27554 /* end confdefs.h. */
27555 #include <math.h>
27557 main ()
27559 __builtin_cosf(0);
27561 return 0;
27563 _ACEOF
27564 rm -f conftest.$ac_objext conftest$ac_exeext
27565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27566 (eval $ac_link) 2>conftest.er1
27567 ac_status=$?
27568 grep -v '^ *+' conftest.er1 >conftest.err
27569 rm -f conftest.er1
27570 cat conftest.err >&5
27571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27572 (exit $ac_status); } &&
27573 { ac_try='test -z "$ac_c_werror_flag"
27574 || test ! -s conftest.err'
27575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27576 (eval $ac_try) 2>&5
27577 ac_status=$?
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); }; } &&
27580 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
27586 glibcxx_cv_func___builtin_cosf_link=yes
27587 else
27588 echo "$as_me: failed program was:" >&5
27589 sed 's/^/| /' conftest.$ac_ext >&5
27591 glibcxx_cv_func___builtin_cosf_link=no
27593 rm -f conftest.err conftest.$ac_objext \
27594 conftest$ac_exeext conftest.$ac_ext
27599 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27600 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27602 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27604 cat >>confdefs.h <<\_ACEOF
27605 #define HAVE___BUILTIN_COSF 1
27606 _ACEOF
27613 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27614 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27615 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27616 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27617 echo $ECHO_N "(cached) $ECHO_C" >&6
27618 else
27622 ac_ext=cc
27623 ac_cpp='$CXXCPP $CPPFLAGS'
27624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27628 cat >conftest.$ac_ext <<_ACEOF
27629 /* confdefs.h. */
27630 _ACEOF
27631 cat confdefs.h >>conftest.$ac_ext
27632 cat >>conftest.$ac_ext <<_ACEOF
27633 /* end confdefs.h. */
27634 #include <math.h>
27636 main ()
27638 __builtin_cos(0);
27640 return 0;
27642 _ACEOF
27643 rm -f conftest.$ac_objext
27644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27645 (eval $ac_compile) 2>conftest.er1
27646 ac_status=$?
27647 grep -v '^ *+' conftest.er1 >conftest.err
27648 rm -f conftest.er1
27649 cat conftest.err >&5
27650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651 (exit $ac_status); } &&
27652 { ac_try='test -z "$ac_cxx_werror_flag"
27653 || test ! -s conftest.err'
27654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27655 (eval $ac_try) 2>&5
27656 ac_status=$?
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); }; } &&
27659 { ac_try='test -s conftest.$ac_objext'
27660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661 (eval $ac_try) 2>&5
27662 ac_status=$?
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); }; }; then
27665 glibcxx_cv_func___builtin_cos_use=yes
27666 else
27667 echo "$as_me: failed program was:" >&5
27668 sed 's/^/| /' conftest.$ac_ext >&5
27670 glibcxx_cv_func___builtin_cos_use=no
27672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27673 ac_ext=c
27674 ac_cpp='$CPP $CPPFLAGS'
27675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27683 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27684 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27685 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27686 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27687 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27688 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27689 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27690 echo $ECHO_N "(cached) $ECHO_C" >&6
27691 else
27693 if test x$gcc_no_link = xyes; then
27694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27696 { (exit 1); exit 1; }; }
27698 cat >conftest.$ac_ext <<_ACEOF
27699 /* confdefs.h. */
27700 _ACEOF
27701 cat confdefs.h >>conftest.$ac_ext
27702 cat >>conftest.$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27704 #include <math.h>
27706 main ()
27708 __builtin_cos(0);
27710 return 0;
27712 _ACEOF
27713 rm -f conftest.$ac_objext conftest$ac_exeext
27714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27715 (eval $ac_link) 2>conftest.er1
27716 ac_status=$?
27717 grep -v '^ *+' conftest.er1 >conftest.err
27718 rm -f conftest.er1
27719 cat conftest.err >&5
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); } &&
27722 { ac_try='test -z "$ac_c_werror_flag"
27723 || test ! -s conftest.err'
27724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27725 (eval $ac_try) 2>&5
27726 ac_status=$?
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); }; } &&
27729 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
27735 glibcxx_cv_func___builtin_cos_link=yes
27736 else
27737 echo "$as_me: failed program was:" >&5
27738 sed 's/^/| /' conftest.$ac_ext >&5
27740 glibcxx_cv_func___builtin_cos_link=no
27742 rm -f conftest.err conftest.$ac_objext \
27743 conftest$ac_exeext conftest.$ac_ext
27748 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27749 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27751 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27753 cat >>confdefs.h <<\_ACEOF
27754 #define HAVE___BUILTIN_COS 1
27755 _ACEOF
27762 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27763 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27764 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27765 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27766 echo $ECHO_N "(cached) $ECHO_C" >&6
27767 else
27771 ac_ext=cc
27772 ac_cpp='$CXXCPP $CPPFLAGS'
27773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27777 cat >conftest.$ac_ext <<_ACEOF
27778 /* confdefs.h. */
27779 _ACEOF
27780 cat confdefs.h >>conftest.$ac_ext
27781 cat >>conftest.$ac_ext <<_ACEOF
27782 /* end confdefs.h. */
27783 #include <math.h>
27785 main ()
27787 __builtin_cosl(0);
27789 return 0;
27791 _ACEOF
27792 rm -f conftest.$ac_objext
27793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27794 (eval $ac_compile) 2>conftest.er1
27795 ac_status=$?
27796 grep -v '^ *+' conftest.er1 >conftest.err
27797 rm -f conftest.er1
27798 cat conftest.err >&5
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); } &&
27801 { ac_try='test -z "$ac_cxx_werror_flag"
27802 || test ! -s conftest.err'
27803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27804 (eval $ac_try) 2>&5
27805 ac_status=$?
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); }; } &&
27808 { ac_try='test -s conftest.$ac_objext'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27811 ac_status=$?
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; }; then
27814 glibcxx_cv_func___builtin_cosl_use=yes
27815 else
27816 echo "$as_me: failed program was:" >&5
27817 sed 's/^/| /' conftest.$ac_ext >&5
27819 glibcxx_cv_func___builtin_cosl_use=no
27821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27822 ac_ext=c
27823 ac_cpp='$CPP $CPPFLAGS'
27824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27832 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27833 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27834 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27835 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27836 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27837 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27838 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27839 echo $ECHO_N "(cached) $ECHO_C" >&6
27840 else
27842 if test x$gcc_no_link = xyes; then
27843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27845 { (exit 1); exit 1; }; }
27847 cat >conftest.$ac_ext <<_ACEOF
27848 /* confdefs.h. */
27849 _ACEOF
27850 cat confdefs.h >>conftest.$ac_ext
27851 cat >>conftest.$ac_ext <<_ACEOF
27852 /* end confdefs.h. */
27853 #include <math.h>
27855 main ()
27857 __builtin_cosl(0);
27859 return 0;
27861 _ACEOF
27862 rm -f conftest.$ac_objext conftest$ac_exeext
27863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27864 (eval $ac_link) 2>conftest.er1
27865 ac_status=$?
27866 grep -v '^ *+' conftest.er1 >conftest.err
27867 rm -f conftest.er1
27868 cat conftest.err >&5
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); } &&
27871 { ac_try='test -z "$ac_c_werror_flag"
27872 || test ! -s conftest.err'
27873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27874 (eval $ac_try) 2>&5
27875 ac_status=$?
27876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27877 (exit $ac_status); }; } &&
27878 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
27884 glibcxx_cv_func___builtin_cosl_link=yes
27885 else
27886 echo "$as_me: failed program was:" >&5
27887 sed 's/^/| /' conftest.$ac_ext >&5
27889 glibcxx_cv_func___builtin_cosl_link=no
27891 rm -f conftest.err conftest.$ac_objext \
27892 conftest$ac_exeext conftest.$ac_ext
27897 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27898 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27900 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27902 cat >>confdefs.h <<\_ACEOF
27903 #define HAVE___BUILTIN_COSL 1
27904 _ACEOF
27913 echo "$as_me:$LINENO: checking for main in -lm" >&5
27914 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27915 if test "${ac_cv_lib_m_main+set}" = set; then
27916 echo $ECHO_N "(cached) $ECHO_C" >&6
27917 else
27918 ac_check_lib_save_LIBS=$LIBS
27919 LIBS="-lm $LIBS"
27920 if test x$gcc_no_link = xyes; then
27921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27923 { (exit 1); exit 1; }; }
27925 cat >conftest.$ac_ext <<_ACEOF
27926 /* confdefs.h. */
27927 _ACEOF
27928 cat confdefs.h >>conftest.$ac_ext
27929 cat >>conftest.$ac_ext <<_ACEOF
27930 /* end confdefs.h. */
27934 main ()
27936 main ();
27938 return 0;
27940 _ACEOF
27941 rm -f conftest.$ac_objext conftest$ac_exeext
27942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27943 (eval $ac_link) 2>conftest.er1
27944 ac_status=$?
27945 grep -v '^ *+' conftest.er1 >conftest.err
27946 rm -f conftest.er1
27947 cat conftest.err >&5
27948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27949 (exit $ac_status); } &&
27950 { ac_try='test -z "$ac_c_werror_flag"
27951 || test ! -s conftest.err'
27952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27953 (eval $ac_try) 2>&5
27954 ac_status=$?
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); }; } &&
27957 { ac_try='test -s conftest$ac_exeext'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27960 ac_status=$?
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; }; then
27963 ac_cv_lib_m_main=yes
27964 else
27965 echo "$as_me: failed program was:" >&5
27966 sed 's/^/| /' conftest.$ac_ext >&5
27968 ac_cv_lib_m_main=no
27970 rm -f conftest.err conftest.$ac_objext \
27971 conftest$ac_exeext conftest.$ac_ext
27972 LIBS=$ac_check_lib_save_LIBS
27974 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27975 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27976 if test $ac_cv_lib_m_main = yes; then
27977 cat >>confdefs.h <<_ACEOF
27978 #define HAVE_LIBM 1
27979 _ACEOF
27981 LIBS="-lm $LIBS"
27986 for ac_func in copysignf
27988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27989 echo "$as_me:$LINENO: checking for $ac_func" >&5
27990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27991 if eval "test \"\${$as_ac_var+set}\" = set"; then
27992 echo $ECHO_N "(cached) $ECHO_C" >&6
27993 else
27994 if test x$gcc_no_link = xyes; then
27995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27997 { (exit 1); exit 1; }; }
27999 cat >conftest.$ac_ext <<_ACEOF
28000 /* confdefs.h. */
28001 _ACEOF
28002 cat confdefs.h >>conftest.$ac_ext
28003 cat >>conftest.$ac_ext <<_ACEOF
28004 /* end confdefs.h. */
28005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28007 #define $ac_func innocuous_$ac_func
28009 /* System header to define __stub macros and hopefully few prototypes,
28010 which can conflict with char $ac_func (); below.
28011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28012 <limits.h> exists even on freestanding compilers. */
28014 #ifdef __STDC__
28015 # include <limits.h>
28016 #else
28017 # include <assert.h>
28018 #endif
28020 #undef $ac_func
28022 /* Override any gcc2 internal prototype to avoid an error. */
28023 #ifdef __cplusplus
28024 extern "C"
28026 #endif
28027 /* We use char because int might match the return type of a gcc2
28028 builtin and then its argument prototype would still apply. */
28029 char $ac_func ();
28030 /* The GNU C library defines this for functions which it implements
28031 to always fail with ENOSYS. Some functions are actually named
28032 something starting with __ and the normal name is an alias. */
28033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28034 choke me
28035 #else
28036 char (*f) () = $ac_func;
28037 #endif
28038 #ifdef __cplusplus
28040 #endif
28043 main ()
28045 return f != $ac_func;
28047 return 0;
28049 _ACEOF
28050 rm -f conftest.$ac_objext conftest$ac_exeext
28051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28052 (eval $ac_link) 2>conftest.er1
28053 ac_status=$?
28054 grep -v '^ *+' conftest.er1 >conftest.err
28055 rm -f conftest.er1
28056 cat conftest.err >&5
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); } &&
28059 { ac_try='test -z "$ac_c_werror_flag"
28060 || test ! -s conftest.err'
28061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28062 (eval $ac_try) 2>&5
28063 ac_status=$?
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); }; } &&
28066 { ac_try='test -s conftest$ac_exeext'
28067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28068 (eval $ac_try) 2>&5
28069 ac_status=$?
28070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28071 (exit $ac_status); }; }; then
28072 eval "$as_ac_var=yes"
28073 else
28074 echo "$as_me: failed program was:" >&5
28075 sed 's/^/| /' conftest.$ac_ext >&5
28077 eval "$as_ac_var=no"
28079 rm -f conftest.err conftest.$ac_objext \
28080 conftest$ac_exeext conftest.$ac_ext
28082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28084 if test `eval echo '${'$as_ac_var'}'` = yes; then
28085 cat >>confdefs.h <<_ACEOF
28086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28087 _ACEOF
28089 else
28090 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28092 done
28096 for ac_func in __signbit
28098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28099 echo "$as_me:$LINENO: checking for $ac_func" >&5
28100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28101 if eval "test \"\${$as_ac_var+set}\" = set"; then
28102 echo $ECHO_N "(cached) $ECHO_C" >&6
28103 else
28104 if test x$gcc_no_link = xyes; then
28105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28107 { (exit 1); exit 1; }; }
28109 cat >conftest.$ac_ext <<_ACEOF
28110 /* confdefs.h. */
28111 _ACEOF
28112 cat confdefs.h >>conftest.$ac_ext
28113 cat >>conftest.$ac_ext <<_ACEOF
28114 /* end confdefs.h. */
28115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28117 #define $ac_func innocuous_$ac_func
28119 /* System header to define __stub macros and hopefully few prototypes,
28120 which can conflict with char $ac_func (); below.
28121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28122 <limits.h> exists even on freestanding compilers. */
28124 #ifdef __STDC__
28125 # include <limits.h>
28126 #else
28127 # include <assert.h>
28128 #endif
28130 #undef $ac_func
28132 /* Override any gcc2 internal prototype to avoid an error. */
28133 #ifdef __cplusplus
28134 extern "C"
28136 #endif
28137 /* We use char because int might match the return type of a gcc2
28138 builtin and then its argument prototype would still apply. */
28139 char $ac_func ();
28140 /* The GNU C library defines this for functions which it implements
28141 to always fail with ENOSYS. Some functions are actually named
28142 something starting with __ and the normal name is an alias. */
28143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28144 choke me
28145 #else
28146 char (*f) () = $ac_func;
28147 #endif
28148 #ifdef __cplusplus
28150 #endif
28153 main ()
28155 return f != $ac_func;
28157 return 0;
28159 _ACEOF
28160 rm -f conftest.$ac_objext conftest$ac_exeext
28161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28162 (eval $ac_link) 2>conftest.er1
28163 ac_status=$?
28164 grep -v '^ *+' conftest.er1 >conftest.err
28165 rm -f conftest.er1
28166 cat conftest.err >&5
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); } &&
28169 { ac_try='test -z "$ac_c_werror_flag"
28170 || test ! -s conftest.err'
28171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28172 (eval $ac_try) 2>&5
28173 ac_status=$?
28174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28175 (exit $ac_status); }; } &&
28176 { ac_try='test -s conftest$ac_exeext'
28177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28178 (eval $ac_try) 2>&5
28179 ac_status=$?
28180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28181 (exit $ac_status); }; }; then
28182 eval "$as_ac_var=yes"
28183 else
28184 echo "$as_me: failed program was:" >&5
28185 sed 's/^/| /' conftest.$ac_ext >&5
28187 eval "$as_ac_var=no"
28189 rm -f conftest.err conftest.$ac_objext \
28190 conftest$ac_exeext conftest.$ac_ext
28192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28194 if test `eval echo '${'$as_ac_var'}'` = yes; then
28195 cat >>confdefs.h <<_ACEOF
28196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28197 _ACEOF
28199 else
28200 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28202 done
28206 for ac_func in __signbitf
28208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28209 echo "$as_me:$LINENO: checking for $ac_func" >&5
28210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28211 if eval "test \"\${$as_ac_var+set}\" = set"; then
28212 echo $ECHO_N "(cached) $ECHO_C" >&6
28213 else
28214 if test x$gcc_no_link = xyes; then
28215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28217 { (exit 1); exit 1; }; }
28219 cat >conftest.$ac_ext <<_ACEOF
28220 /* confdefs.h. */
28221 _ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28227 #define $ac_func innocuous_$ac_func
28229 /* System header to define __stub macros and hopefully few prototypes,
28230 which can conflict with char $ac_func (); below.
28231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28232 <limits.h> exists even on freestanding compilers. */
28234 #ifdef __STDC__
28235 # include <limits.h>
28236 #else
28237 # include <assert.h>
28238 #endif
28240 #undef $ac_func
28242 /* Override any gcc2 internal prototype to avoid an error. */
28243 #ifdef __cplusplus
28244 extern "C"
28246 #endif
28247 /* We use char because int might match the return type of a gcc2
28248 builtin and then its argument prototype would still apply. */
28249 char $ac_func ();
28250 /* The GNU C library defines this for functions which it implements
28251 to always fail with ENOSYS. Some functions are actually named
28252 something starting with __ and the normal name is an alias. */
28253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28254 choke me
28255 #else
28256 char (*f) () = $ac_func;
28257 #endif
28258 #ifdef __cplusplus
28260 #endif
28263 main ()
28265 return f != $ac_func;
28267 return 0;
28269 _ACEOF
28270 rm -f conftest.$ac_objext conftest$ac_exeext
28271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28272 (eval $ac_link) 2>conftest.er1
28273 ac_status=$?
28274 grep -v '^ *+' conftest.er1 >conftest.err
28275 rm -f conftest.er1
28276 cat conftest.err >&5
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); } &&
28279 { ac_try='test -z "$ac_c_werror_flag"
28280 || test ! -s conftest.err'
28281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28282 (eval $ac_try) 2>&5
28283 ac_status=$?
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); }; } &&
28286 { ac_try='test -s conftest$ac_exeext'
28287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28288 (eval $ac_try) 2>&5
28289 ac_status=$?
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); }; }; then
28292 eval "$as_ac_var=yes"
28293 else
28294 echo "$as_me: failed program was:" >&5
28295 sed 's/^/| /' conftest.$ac_ext >&5
28297 eval "$as_ac_var=no"
28299 rm -f conftest.err conftest.$ac_objext \
28300 conftest$ac_exeext conftest.$ac_ext
28302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28304 if test `eval echo '${'$as_ac_var'}'` = yes; then
28305 cat >>confdefs.h <<_ACEOF
28306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28307 _ACEOF
28309 else
28310 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28312 done
28315 if test x$ac_cv_func_copysignl = x"yes"; then
28317 for ac_func in __signbitl
28319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28320 echo "$as_me:$LINENO: checking for $ac_func" >&5
28321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28322 if eval "test \"\${$as_ac_var+set}\" = set"; then
28323 echo $ECHO_N "(cached) $ECHO_C" >&6
28324 else
28325 if test x$gcc_no_link = xyes; then
28326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28328 { (exit 1); exit 1; }; }
28330 cat >conftest.$ac_ext <<_ACEOF
28331 /* confdefs.h. */
28332 _ACEOF
28333 cat confdefs.h >>conftest.$ac_ext
28334 cat >>conftest.$ac_ext <<_ACEOF
28335 /* end confdefs.h. */
28336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28338 #define $ac_func innocuous_$ac_func
28340 /* System header to define __stub macros and hopefully few prototypes,
28341 which can conflict with char $ac_func (); below.
28342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28343 <limits.h> exists even on freestanding compilers. */
28345 #ifdef __STDC__
28346 # include <limits.h>
28347 #else
28348 # include <assert.h>
28349 #endif
28351 #undef $ac_func
28353 /* Override any gcc2 internal prototype to avoid an error. */
28354 #ifdef __cplusplus
28355 extern "C"
28357 #endif
28358 /* We use char because int might match the return type of a gcc2
28359 builtin and then its argument prototype would still apply. */
28360 char $ac_func ();
28361 /* The GNU C library defines this for functions which it implements
28362 to always fail with ENOSYS. Some functions are actually named
28363 something starting with __ and the normal name is an alias. */
28364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28365 choke me
28366 #else
28367 char (*f) () = $ac_func;
28368 #endif
28369 #ifdef __cplusplus
28371 #endif
28374 main ()
28376 return f != $ac_func;
28378 return 0;
28380 _ACEOF
28381 rm -f conftest.$ac_objext conftest$ac_exeext
28382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28383 (eval $ac_link) 2>conftest.er1
28384 ac_status=$?
28385 grep -v '^ *+' conftest.er1 >conftest.err
28386 rm -f conftest.er1
28387 cat conftest.err >&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); } &&
28390 { ac_try='test -z "$ac_c_werror_flag"
28391 || test ! -s conftest.err'
28392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28393 (eval $ac_try) 2>&5
28394 ac_status=$?
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); }; } &&
28397 { ac_try='test -s conftest$ac_exeext'
28398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28399 (eval $ac_try) 2>&5
28400 ac_status=$?
28401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402 (exit $ac_status); }; }; then
28403 eval "$as_ac_var=yes"
28404 else
28405 echo "$as_me: failed program was:" >&5
28406 sed 's/^/| /' conftest.$ac_ext >&5
28408 eval "$as_ac_var=no"
28410 rm -f conftest.err conftest.$ac_objext \
28411 conftest$ac_exeext conftest.$ac_ext
28413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28415 if test `eval echo '${'$as_ac_var'}'` = yes; then
28416 cat >>confdefs.h <<_ACEOF
28417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28418 _ACEOF
28420 else
28421 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28423 done
28427 # Used in libmath/Makefile.am.
28428 if test -n "$LIBMATHOBJS"; then
28429 need_libmath=yes
28435 enable_iconv=no
28436 # Only continue checking if the ISO C99 headers exist and support is on.
28437 if test x"$enable_wchar_t" = xyes; then
28439 # Use iconv for wchar_t to char conversions. As such, check for
28440 # X/Open Portability Guide, version 2 features (XPG2).
28441 if test "${ac_cv_header_iconv_h+set}" = set; then
28442 echo "$as_me:$LINENO: checking for iconv.h" >&5
28443 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28444 if test "${ac_cv_header_iconv_h+set}" = set; then
28445 echo $ECHO_N "(cached) $ECHO_C" >&6
28447 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28448 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28449 else
28450 # Is the header compilable?
28451 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28452 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28453 cat >conftest.$ac_ext <<_ACEOF
28454 /* confdefs.h. */
28455 _ACEOF
28456 cat confdefs.h >>conftest.$ac_ext
28457 cat >>conftest.$ac_ext <<_ACEOF
28458 /* end confdefs.h. */
28459 $ac_includes_default
28460 #include <iconv.h>
28461 _ACEOF
28462 rm -f conftest.$ac_objext
28463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28464 (eval $ac_compile) 2>conftest.er1
28465 ac_status=$?
28466 grep -v '^ *+' conftest.er1 >conftest.err
28467 rm -f conftest.er1
28468 cat conftest.err >&5
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); } &&
28471 { ac_try='test -z "$ac_c_werror_flag"
28472 || test ! -s conftest.err'
28473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28474 (eval $ac_try) 2>&5
28475 ac_status=$?
28476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28477 (exit $ac_status); }; } &&
28478 { ac_try='test -s conftest.$ac_objext'
28479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28480 (eval $ac_try) 2>&5
28481 ac_status=$?
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); }; }; then
28484 ac_header_compiler=yes
28485 else
28486 echo "$as_me: failed program was:" >&5
28487 sed 's/^/| /' conftest.$ac_ext >&5
28489 ac_header_compiler=no
28491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28493 echo "${ECHO_T}$ac_header_compiler" >&6
28495 # Is the header present?
28496 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28497 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28498 cat >conftest.$ac_ext <<_ACEOF
28499 /* confdefs.h. */
28500 _ACEOF
28501 cat confdefs.h >>conftest.$ac_ext
28502 cat >>conftest.$ac_ext <<_ACEOF
28503 /* end confdefs.h. */
28504 #include <iconv.h>
28505 _ACEOF
28506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28508 ac_status=$?
28509 grep -v '^ *+' conftest.er1 >conftest.err
28510 rm -f conftest.er1
28511 cat conftest.err >&5
28512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); } >/dev/null; then
28514 if test -s conftest.err; then
28515 ac_cpp_err=$ac_c_preproc_warn_flag
28516 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28517 else
28518 ac_cpp_err=
28520 else
28521 ac_cpp_err=yes
28523 if test -z "$ac_cpp_err"; then
28524 ac_header_preproc=yes
28525 else
28526 echo "$as_me: failed program was:" >&5
28527 sed 's/^/| /' conftest.$ac_ext >&5
28529 ac_header_preproc=no
28531 rm -f conftest.err conftest.$ac_ext
28532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28533 echo "${ECHO_T}$ac_header_preproc" >&6
28535 # So? What about this header?
28536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28537 yes:no: )
28538 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28539 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28540 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28541 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28542 ac_header_preproc=yes
28544 no:yes:* )
28545 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28546 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28547 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28548 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28549 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28550 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28551 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28552 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28553 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28554 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28555 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28556 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28558 cat <<\_ASBOX
28559 ## ----------------------------------------- ##
28560 ## Report this to the package-unused lists. ##
28561 ## ----------------------------------------- ##
28562 _ASBOX
28564 sed "s/^/$as_me: WARNING: /" >&2
28566 esac
28567 echo "$as_me:$LINENO: checking for iconv.h" >&5
28568 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28569 if test "${ac_cv_header_iconv_h+set}" = set; then
28570 echo $ECHO_N "(cached) $ECHO_C" >&6
28571 else
28572 ac_cv_header_iconv_h=$ac_header_preproc
28574 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28575 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28578 if test $ac_cv_header_iconv_h = yes; then
28579 ac_has_iconv_h=yes
28580 else
28581 ac_has_iconv_h=no
28585 if test "${ac_cv_header_langinfo_h+set}" = set; then
28586 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28587 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28588 if test "${ac_cv_header_langinfo_h+set}" = set; then
28589 echo $ECHO_N "(cached) $ECHO_C" >&6
28591 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28592 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28593 else
28594 # Is the header compilable?
28595 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28596 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28597 cat >conftest.$ac_ext <<_ACEOF
28598 /* confdefs.h. */
28599 _ACEOF
28600 cat confdefs.h >>conftest.$ac_ext
28601 cat >>conftest.$ac_ext <<_ACEOF
28602 /* end confdefs.h. */
28603 $ac_includes_default
28604 #include <langinfo.h>
28605 _ACEOF
28606 rm -f conftest.$ac_objext
28607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28608 (eval $ac_compile) 2>conftest.er1
28609 ac_status=$?
28610 grep -v '^ *+' conftest.er1 >conftest.err
28611 rm -f conftest.er1
28612 cat conftest.err >&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); } &&
28615 { ac_try='test -z "$ac_c_werror_flag"
28616 || test ! -s conftest.err'
28617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28618 (eval $ac_try) 2>&5
28619 ac_status=$?
28620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621 (exit $ac_status); }; } &&
28622 { ac_try='test -s conftest.$ac_objext'
28623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28624 (eval $ac_try) 2>&5
28625 ac_status=$?
28626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28627 (exit $ac_status); }; }; then
28628 ac_header_compiler=yes
28629 else
28630 echo "$as_me: failed program was:" >&5
28631 sed 's/^/| /' conftest.$ac_ext >&5
28633 ac_header_compiler=no
28635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28637 echo "${ECHO_T}$ac_header_compiler" >&6
28639 # Is the header present?
28640 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28641 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28642 cat >conftest.$ac_ext <<_ACEOF
28643 /* confdefs.h. */
28644 _ACEOF
28645 cat confdefs.h >>conftest.$ac_ext
28646 cat >>conftest.$ac_ext <<_ACEOF
28647 /* end confdefs.h. */
28648 #include <langinfo.h>
28649 _ACEOF
28650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28651 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28652 ac_status=$?
28653 grep -v '^ *+' conftest.er1 >conftest.err
28654 rm -f conftest.er1
28655 cat conftest.err >&5
28656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28657 (exit $ac_status); } >/dev/null; then
28658 if test -s conftest.err; then
28659 ac_cpp_err=$ac_c_preproc_warn_flag
28660 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28661 else
28662 ac_cpp_err=
28664 else
28665 ac_cpp_err=yes
28667 if test -z "$ac_cpp_err"; then
28668 ac_header_preproc=yes
28669 else
28670 echo "$as_me: failed program was:" >&5
28671 sed 's/^/| /' conftest.$ac_ext >&5
28673 ac_header_preproc=no
28675 rm -f conftest.err conftest.$ac_ext
28676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28677 echo "${ECHO_T}$ac_header_preproc" >&6
28679 # So? What about this header?
28680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28681 yes:no: )
28682 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28683 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28684 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28685 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28686 ac_header_preproc=yes
28688 no:yes:* )
28689 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28690 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28691 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28692 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28693 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28694 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28695 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28696 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28697 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28698 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28699 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28700 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28702 cat <<\_ASBOX
28703 ## ----------------------------------------- ##
28704 ## Report this to the package-unused lists. ##
28705 ## ----------------------------------------- ##
28706 _ASBOX
28708 sed "s/^/$as_me: WARNING: /" >&2
28710 esac
28711 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28712 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28713 if test "${ac_cv_header_langinfo_h+set}" = set; then
28714 echo $ECHO_N "(cached) $ECHO_C" >&6
28715 else
28716 ac_cv_header_langinfo_h=$ac_header_preproc
28718 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28719 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28722 if test $ac_cv_header_langinfo_h = yes; then
28723 ac_has_langinfo_h=yes
28724 else
28725 ac_has_langinfo_h=no
28730 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28731 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28732 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28733 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28734 echo $ECHO_N "(cached) $ECHO_C" >&6
28735 else
28736 ac_check_lib_save_LIBS=$LIBS
28737 LIBS="-liconv $LIBS"
28738 if test x$gcc_no_link = xyes; then
28739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28741 { (exit 1); exit 1; }; }
28743 cat >conftest.$ac_ext <<_ACEOF
28744 /* confdefs.h. */
28745 _ACEOF
28746 cat confdefs.h >>conftest.$ac_ext
28747 cat >>conftest.$ac_ext <<_ACEOF
28748 /* end confdefs.h. */
28750 /* Override any gcc2 internal prototype to avoid an error. */
28751 #ifdef __cplusplus
28752 extern "C"
28753 #endif
28754 /* We use char because int might match the return type of a gcc2
28755 builtin and then its argument prototype would still apply. */
28756 char iconv ();
28758 main ()
28760 iconv ();
28762 return 0;
28764 _ACEOF
28765 rm -f conftest.$ac_objext conftest$ac_exeext
28766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28767 (eval $ac_link) 2>conftest.er1
28768 ac_status=$?
28769 grep -v '^ *+' conftest.er1 >conftest.err
28770 rm -f conftest.er1
28771 cat conftest.err >&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try='test -z "$ac_c_werror_flag"
28775 || test ! -s conftest.err'
28776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777 (eval $ac_try) 2>&5
28778 ac_status=$?
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); }; } &&
28781 { ac_try='test -s conftest$ac_exeext'
28782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28783 (eval $ac_try) 2>&5
28784 ac_status=$?
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); }; }; then
28787 ac_cv_lib_iconv_iconv=yes
28788 else
28789 echo "$as_me: failed program was:" >&5
28790 sed 's/^/| /' conftest.$ac_ext >&5
28792 ac_cv_lib_iconv_iconv=no
28794 rm -f conftest.err conftest.$ac_objext \
28795 conftest$ac_exeext conftest.$ac_ext
28796 LIBS=$ac_check_lib_save_LIBS
28798 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28799 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28800 if test $ac_cv_lib_iconv_iconv = yes; then
28801 LIBICONV="-liconv"
28804 ac_save_LIBS="$LIBS"
28805 LIBS="$LIBS $LIBICONV"
28812 for ac_func in iconv_open iconv_close iconv nl_langinfo
28814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28815 echo "$as_me:$LINENO: checking for $ac_func" >&5
28816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28817 if eval "test \"\${$as_ac_var+set}\" = set"; then
28818 echo $ECHO_N "(cached) $ECHO_C" >&6
28819 else
28820 if test x$gcc_no_link = xyes; then
28821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28823 { (exit 1); exit 1; }; }
28825 cat >conftest.$ac_ext <<_ACEOF
28826 /* confdefs.h. */
28827 _ACEOF
28828 cat confdefs.h >>conftest.$ac_ext
28829 cat >>conftest.$ac_ext <<_ACEOF
28830 /* end confdefs.h. */
28831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28833 #define $ac_func innocuous_$ac_func
28835 /* System header to define __stub macros and hopefully few prototypes,
28836 which can conflict with char $ac_func (); below.
28837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28838 <limits.h> exists even on freestanding compilers. */
28840 #ifdef __STDC__
28841 # include <limits.h>
28842 #else
28843 # include <assert.h>
28844 #endif
28846 #undef $ac_func
28848 /* Override any gcc2 internal prototype to avoid an error. */
28849 #ifdef __cplusplus
28850 extern "C"
28852 #endif
28853 /* We use char because int might match the return type of a gcc2
28854 builtin and then its argument prototype would still apply. */
28855 char $ac_func ();
28856 /* The GNU C library defines this for functions which it implements
28857 to always fail with ENOSYS. Some functions are actually named
28858 something starting with __ and the normal name is an alias. */
28859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28860 choke me
28861 #else
28862 char (*f) () = $ac_func;
28863 #endif
28864 #ifdef __cplusplus
28866 #endif
28869 main ()
28871 return f != $ac_func;
28873 return 0;
28875 _ACEOF
28876 rm -f conftest.$ac_objext conftest$ac_exeext
28877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28878 (eval $ac_link) 2>conftest.er1
28879 ac_status=$?
28880 grep -v '^ *+' conftest.er1 >conftest.err
28881 rm -f conftest.er1
28882 cat conftest.err >&5
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); } &&
28885 { ac_try='test -z "$ac_c_werror_flag"
28886 || test ! -s conftest.err'
28887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28888 (eval $ac_try) 2>&5
28889 ac_status=$?
28890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28891 (exit $ac_status); }; } &&
28892 { ac_try='test -s conftest$ac_exeext'
28893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28894 (eval $ac_try) 2>&5
28895 ac_status=$?
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); }; }; then
28898 eval "$as_ac_var=yes"
28899 else
28900 echo "$as_me: failed program was:" >&5
28901 sed 's/^/| /' conftest.$ac_ext >&5
28903 eval "$as_ac_var=no"
28905 rm -f conftest.err conftest.$ac_objext \
28906 conftest$ac_exeext conftest.$ac_ext
28908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28910 if test `eval echo '${'$as_ac_var'}'` = yes; then
28911 cat >>confdefs.h <<_ACEOF
28912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28913 _ACEOF
28914 ac_XPG2funcs=yes
28915 else
28916 ac_XPG2funcs=no
28918 done
28921 LIBS="$ac_save_LIBS"
28923 if test x"$ac_has_iconv_h" = xyes &&
28924 test x"$ac_has_langinfo_h" = xyes &&
28925 test x"$ac_XPG2funcs" = xyes;
28926 then
28928 cat >>confdefs.h <<\_ACEOF
28929 #define _GLIBCXX_USE_ICONV 1
28930 _ACEOF
28932 enable_iconv=yes
28935 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28936 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28937 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28938 echo "${ECHO_T}$enable_iconv" >&6
28941 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28942 ac_save_CXXFLAGS="$CXXFLAGS"
28943 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28946 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28947 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28948 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28949 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28950 echo $ECHO_N "(cached) $ECHO_C" >&6
28951 else
28955 ac_ext=cc
28956 ac_cpp='$CXXCPP $CPPFLAGS'
28957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28961 cat >conftest.$ac_ext <<_ACEOF
28962 /* confdefs.h. */
28963 _ACEOF
28964 cat confdefs.h >>conftest.$ac_ext
28965 cat >>conftest.$ac_ext <<_ACEOF
28966 /* end confdefs.h. */
28967 #include <stdlib.h>
28969 main ()
28971 strtold(0, 0);
28973 return 0;
28975 _ACEOF
28976 rm -f conftest.$ac_objext
28977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28978 (eval $ac_compile) 2>conftest.er1
28979 ac_status=$?
28980 grep -v '^ *+' conftest.er1 >conftest.err
28981 rm -f conftest.er1
28982 cat conftest.err >&5
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); } &&
28985 { ac_try='test -z "$ac_cxx_werror_flag"
28986 || test ! -s conftest.err'
28987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28988 (eval $ac_try) 2>&5
28989 ac_status=$?
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); }; } &&
28992 { ac_try='test -s conftest.$ac_objext'
28993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994 (eval $ac_try) 2>&5
28995 ac_status=$?
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); }; }; then
28998 glibcxx_cv_func_strtold_use=yes
28999 else
29000 echo "$as_me: failed program was:" >&5
29001 sed 's/^/| /' conftest.$ac_ext >&5
29003 glibcxx_cv_func_strtold_use=no
29005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29006 ac_ext=c
29007 ac_cpp='$CPP $CPPFLAGS'
29008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29016 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29017 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29018 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29020 for ac_func in strtold
29022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29023 echo "$as_me:$LINENO: checking for $ac_func" >&5
29024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29025 if eval "test \"\${$as_ac_var+set}\" = set"; then
29026 echo $ECHO_N "(cached) $ECHO_C" >&6
29027 else
29028 if test x$gcc_no_link = xyes; then
29029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29031 { (exit 1); exit 1; }; }
29033 cat >conftest.$ac_ext <<_ACEOF
29034 /* confdefs.h. */
29035 _ACEOF
29036 cat confdefs.h >>conftest.$ac_ext
29037 cat >>conftest.$ac_ext <<_ACEOF
29038 /* end confdefs.h. */
29039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29041 #define $ac_func innocuous_$ac_func
29043 /* System header to define __stub macros and hopefully few prototypes,
29044 which can conflict with char $ac_func (); below.
29045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29046 <limits.h> exists even on freestanding compilers. */
29048 #ifdef __STDC__
29049 # include <limits.h>
29050 #else
29051 # include <assert.h>
29052 #endif
29054 #undef $ac_func
29056 /* Override any gcc2 internal prototype to avoid an error. */
29057 #ifdef __cplusplus
29058 extern "C"
29060 #endif
29061 /* We use char because int might match the return type of a gcc2
29062 builtin and then its argument prototype would still apply. */
29063 char $ac_func ();
29064 /* The GNU C library defines this for functions which it implements
29065 to always fail with ENOSYS. Some functions are actually named
29066 something starting with __ and the normal name is an alias. */
29067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29068 choke me
29069 #else
29070 char (*f) () = $ac_func;
29071 #endif
29072 #ifdef __cplusplus
29074 #endif
29077 main ()
29079 return f != $ac_func;
29081 return 0;
29083 _ACEOF
29084 rm -f conftest.$ac_objext conftest$ac_exeext
29085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29086 (eval $ac_link) 2>conftest.er1
29087 ac_status=$?
29088 grep -v '^ *+' conftest.er1 >conftest.err
29089 rm -f conftest.er1
29090 cat conftest.err >&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); } &&
29093 { ac_try='test -z "$ac_c_werror_flag"
29094 || test ! -s conftest.err'
29095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29096 (eval $ac_try) 2>&5
29097 ac_status=$?
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); }; } &&
29100 { ac_try='test -s conftest$ac_exeext'
29101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29102 (eval $ac_try) 2>&5
29103 ac_status=$?
29104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29105 (exit $ac_status); }; }; then
29106 eval "$as_ac_var=yes"
29107 else
29108 echo "$as_me: failed program was:" >&5
29109 sed 's/^/| /' conftest.$ac_ext >&5
29111 eval "$as_ac_var=no"
29113 rm -f conftest.err conftest.$ac_objext \
29114 conftest$ac_exeext conftest.$ac_ext
29116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29118 if test `eval echo '${'$as_ac_var'}'` = yes; then
29119 cat >>confdefs.h <<_ACEOF
29120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29121 _ACEOF
29124 done
29132 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29133 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29134 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29135 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29136 echo $ECHO_N "(cached) $ECHO_C" >&6
29137 else
29141 ac_ext=cc
29142 ac_cpp='$CXXCPP $CPPFLAGS'
29143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29147 cat >conftest.$ac_ext <<_ACEOF
29148 /* confdefs.h. */
29149 _ACEOF
29150 cat confdefs.h >>conftest.$ac_ext
29151 cat >>conftest.$ac_ext <<_ACEOF
29152 /* end confdefs.h. */
29153 #include <stdlib.h>
29155 main ()
29157 strtof(0, 0);
29159 return 0;
29161 _ACEOF
29162 rm -f conftest.$ac_objext
29163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29164 (eval $ac_compile) 2>conftest.er1
29165 ac_status=$?
29166 grep -v '^ *+' conftest.er1 >conftest.err
29167 rm -f conftest.er1
29168 cat conftest.err >&5
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); } &&
29171 { ac_try='test -z "$ac_cxx_werror_flag"
29172 || test ! -s conftest.err'
29173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29174 (eval $ac_try) 2>&5
29175 ac_status=$?
29176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177 (exit $ac_status); }; } &&
29178 { ac_try='test -s conftest.$ac_objext'
29179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29180 (eval $ac_try) 2>&5
29181 ac_status=$?
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); }; }; then
29184 glibcxx_cv_func_strtof_use=yes
29185 else
29186 echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.$ac_ext >&5
29189 glibcxx_cv_func_strtof_use=no
29191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29192 ac_ext=c
29193 ac_cpp='$CPP $CPPFLAGS'
29194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29203 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29204 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29206 for ac_func in strtof
29208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29209 echo "$as_me:$LINENO: checking for $ac_func" >&5
29210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29211 if eval "test \"\${$as_ac_var+set}\" = set"; then
29212 echo $ECHO_N "(cached) $ECHO_C" >&6
29213 else
29214 if test x$gcc_no_link = xyes; then
29215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29217 { (exit 1); exit 1; }; }
29219 cat >conftest.$ac_ext <<_ACEOF
29220 /* confdefs.h. */
29221 _ACEOF
29222 cat confdefs.h >>conftest.$ac_ext
29223 cat >>conftest.$ac_ext <<_ACEOF
29224 /* end confdefs.h. */
29225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29227 #define $ac_func innocuous_$ac_func
29229 /* System header to define __stub macros and hopefully few prototypes,
29230 which can conflict with char $ac_func (); below.
29231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29232 <limits.h> exists even on freestanding compilers. */
29234 #ifdef __STDC__
29235 # include <limits.h>
29236 #else
29237 # include <assert.h>
29238 #endif
29240 #undef $ac_func
29242 /* Override any gcc2 internal prototype to avoid an error. */
29243 #ifdef __cplusplus
29244 extern "C"
29246 #endif
29247 /* We use char because int might match the return type of a gcc2
29248 builtin and then its argument prototype would still apply. */
29249 char $ac_func ();
29250 /* The GNU C library defines this for functions which it implements
29251 to always fail with ENOSYS. Some functions are actually named
29252 something starting with __ and the normal name is an alias. */
29253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29254 choke me
29255 #else
29256 char (*f) () = $ac_func;
29257 #endif
29258 #ifdef __cplusplus
29260 #endif
29263 main ()
29265 return f != $ac_func;
29267 return 0;
29269 _ACEOF
29270 rm -f conftest.$ac_objext conftest$ac_exeext
29271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29272 (eval $ac_link) 2>conftest.er1
29273 ac_status=$?
29274 grep -v '^ *+' conftest.er1 >conftest.err
29275 rm -f conftest.er1
29276 cat conftest.err >&5
29277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29278 (exit $ac_status); } &&
29279 { ac_try='test -z "$ac_c_werror_flag"
29280 || test ! -s conftest.err'
29281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29282 (eval $ac_try) 2>&5
29283 ac_status=$?
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); }; } &&
29286 { ac_try='test -s conftest$ac_exeext'
29287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29288 (eval $ac_try) 2>&5
29289 ac_status=$?
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); }; }; then
29292 eval "$as_ac_var=yes"
29293 else
29294 echo "$as_me: failed program was:" >&5
29295 sed 's/^/| /' conftest.$ac_ext >&5
29297 eval "$as_ac_var=no"
29299 rm -f conftest.err conftest.$ac_objext \
29300 conftest$ac_exeext conftest.$ac_ext
29302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29304 if test `eval echo '${'$as_ac_var'}'` = yes; then
29305 cat >>confdefs.h <<_ACEOF
29306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29307 _ACEOF
29310 done
29318 CXXFLAGS="$ac_save_CXXFLAGS"
29321 # For showmanyc_helper().
29324 for ac_header in sys/ioctl.h sys/filio.h
29326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29328 echo "$as_me:$LINENO: checking for $ac_header" >&5
29329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29335 else
29336 # Is the header compilable?
29337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29339 cat >conftest.$ac_ext <<_ACEOF
29340 /* confdefs.h. */
29341 _ACEOF
29342 cat confdefs.h >>conftest.$ac_ext
29343 cat >>conftest.$ac_ext <<_ACEOF
29344 /* end confdefs.h. */
29345 $ac_includes_default
29346 #include <$ac_header>
29347 _ACEOF
29348 rm -f conftest.$ac_objext
29349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29350 (eval $ac_compile) 2>conftest.er1
29351 ac_status=$?
29352 grep -v '^ *+' conftest.er1 >conftest.err
29353 rm -f conftest.er1
29354 cat conftest.err >&5
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); } &&
29357 { ac_try='test -z "$ac_c_werror_flag"
29358 || test ! -s conftest.err'
29359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29360 (eval $ac_try) 2>&5
29361 ac_status=$?
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); }; } &&
29364 { ac_try='test -s conftest.$ac_objext'
29365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29366 (eval $ac_try) 2>&5
29367 ac_status=$?
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); }; }; then
29370 ac_header_compiler=yes
29371 else
29372 echo "$as_me: failed program was:" >&5
29373 sed 's/^/| /' conftest.$ac_ext >&5
29375 ac_header_compiler=no
29377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29379 echo "${ECHO_T}$ac_header_compiler" >&6
29381 # Is the header present?
29382 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29384 cat >conftest.$ac_ext <<_ACEOF
29385 /* confdefs.h. */
29386 _ACEOF
29387 cat confdefs.h >>conftest.$ac_ext
29388 cat >>conftest.$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29390 #include <$ac_header>
29391 _ACEOF
29392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29394 ac_status=$?
29395 grep -v '^ *+' conftest.er1 >conftest.err
29396 rm -f conftest.er1
29397 cat conftest.err >&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); } >/dev/null; then
29400 if test -s conftest.err; then
29401 ac_cpp_err=$ac_c_preproc_warn_flag
29402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29403 else
29404 ac_cpp_err=
29406 else
29407 ac_cpp_err=yes
29409 if test -z "$ac_cpp_err"; then
29410 ac_header_preproc=yes
29411 else
29412 echo "$as_me: failed program was:" >&5
29413 sed 's/^/| /' conftest.$ac_ext >&5
29415 ac_header_preproc=no
29417 rm -f conftest.err conftest.$ac_ext
29418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29419 echo "${ECHO_T}$ac_header_preproc" >&6
29421 # So? What about this header?
29422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29423 yes:no: )
29424 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29427 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29428 ac_header_preproc=yes
29430 no:yes:* )
29431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29432 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29434 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29435 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29436 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29437 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29438 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29441 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29442 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29444 cat <<\_ASBOX
29445 ## ----------------------------------------- ##
29446 ## Report this to the package-unused lists. ##
29447 ## ----------------------------------------- ##
29448 _ASBOX
29450 sed "s/^/$as_me: WARNING: /" >&2
29452 esac
29453 echo "$as_me:$LINENO: checking for $ac_header" >&5
29454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29456 echo $ECHO_N "(cached) $ECHO_C" >&6
29457 else
29458 eval "$as_ac_Header=\$ac_header_preproc"
29460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29465 cat >>confdefs.h <<_ACEOF
29466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29467 _ACEOF
29471 done
29474 echo "$as_me:$LINENO: checking for poll" >&5
29475 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29476 if test "${glibcxx_cv_POLL+set}" = set; then
29477 echo $ECHO_N "(cached) $ECHO_C" >&6
29478 else
29480 if test x$gcc_no_link = xyes; then
29481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29483 { (exit 1); exit 1; }; }
29485 cat >conftest.$ac_ext <<_ACEOF
29486 /* confdefs.h. */
29487 _ACEOF
29488 cat confdefs.h >>conftest.$ac_ext
29489 cat >>conftest.$ac_ext <<_ACEOF
29490 /* end confdefs.h. */
29491 #include <poll.h>
29493 main ()
29495 struct pollfd pfd[1];
29496 pfd[0].events = POLLIN;
29497 poll(pfd, 1, 0);
29499 return 0;
29501 _ACEOF
29502 rm -f conftest.$ac_objext conftest$ac_exeext
29503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29504 (eval $ac_link) 2>conftest.er1
29505 ac_status=$?
29506 grep -v '^ *+' conftest.er1 >conftest.err
29507 rm -f conftest.er1
29508 cat conftest.err >&5
29509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29510 (exit $ac_status); } &&
29511 { ac_try='test -z "$ac_c_werror_flag"
29512 || test ! -s conftest.err'
29513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29514 (eval $ac_try) 2>&5
29515 ac_status=$?
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); }; } &&
29518 { ac_try='test -s conftest$ac_exeext'
29519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29520 (eval $ac_try) 2>&5
29521 ac_status=$?
29522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29523 (exit $ac_status); }; }; then
29524 glibcxx_cv_POLL=yes
29525 else
29526 echo "$as_me: failed program was:" >&5
29527 sed 's/^/| /' conftest.$ac_ext >&5
29529 glibcxx_cv_POLL=no
29531 rm -f conftest.err conftest.$ac_objext \
29532 conftest$ac_exeext conftest.$ac_ext
29536 if test $glibcxx_cv_POLL = yes; then
29538 cat >>confdefs.h <<\_ACEOF
29539 #define HAVE_POLL 1
29540 _ACEOF
29543 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29544 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29547 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29548 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29549 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29550 echo $ECHO_N "(cached) $ECHO_C" >&6
29551 else
29553 if test x$gcc_no_link = xyes; then
29554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29556 { (exit 1); exit 1; }; }
29558 cat >conftest.$ac_ext <<_ACEOF
29559 /* confdefs.h. */
29560 _ACEOF
29561 cat confdefs.h >>conftest.$ac_ext
29562 cat >>conftest.$ac_ext <<_ACEOF
29563 /* end confdefs.h. */
29564 #include <sys/stat.h>
29566 main ()
29568 struct stat buffer;
29569 fstat(0, &buffer);
29570 S_ISREG(buffer.st_mode);
29572 return 0;
29574 _ACEOF
29575 rm -f conftest.$ac_objext conftest$ac_exeext
29576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29577 (eval $ac_link) 2>conftest.er1
29578 ac_status=$?
29579 grep -v '^ *+' conftest.er1 >conftest.err
29580 rm -f conftest.er1
29581 cat conftest.err >&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } &&
29584 { ac_try='test -z "$ac_c_werror_flag"
29585 || test ! -s conftest.err'
29586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29587 (eval $ac_try) 2>&5
29588 ac_status=$?
29589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29590 (exit $ac_status); }; } &&
29591 { ac_try='test -s conftest$ac_exeext'
29592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29593 (eval $ac_try) 2>&5
29594 ac_status=$?
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); }; }; then
29597 glibcxx_cv_S_ISREG=yes
29598 else
29599 echo "$as_me: failed program was:" >&5
29600 sed 's/^/| /' conftest.$ac_ext >&5
29602 glibcxx_cv_S_ISREG=no
29604 rm -f conftest.err conftest.$ac_objext \
29605 conftest$ac_exeext conftest.$ac_ext
29609 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29610 echo $ECHO_N "(cached) $ECHO_C" >&6
29611 else
29613 if test x$gcc_no_link = xyes; then
29614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29616 { (exit 1); exit 1; }; }
29618 cat >conftest.$ac_ext <<_ACEOF
29619 /* confdefs.h. */
29620 _ACEOF
29621 cat confdefs.h >>conftest.$ac_ext
29622 cat >>conftest.$ac_ext <<_ACEOF
29623 /* end confdefs.h. */
29624 #include <sys/stat.h>
29626 main ()
29628 struct stat buffer;
29629 fstat(0, &buffer);
29630 S_IFREG & buffer.st_mode;
29632 return 0;
29634 _ACEOF
29635 rm -f conftest.$ac_objext conftest$ac_exeext
29636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29637 (eval $ac_link) 2>conftest.er1
29638 ac_status=$?
29639 grep -v '^ *+' conftest.er1 >conftest.err
29640 rm -f conftest.er1
29641 cat conftest.err >&5
29642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643 (exit $ac_status); } &&
29644 { ac_try='test -z "$ac_c_werror_flag"
29645 || test ! -s conftest.err'
29646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29647 (eval $ac_try) 2>&5
29648 ac_status=$?
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); }; } &&
29651 { ac_try='test -s conftest$ac_exeext'
29652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 (eval $ac_try) 2>&5
29654 ac_status=$?
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; }; then
29657 glibcxx_cv_S_IFREG=yes
29658 else
29659 echo "$as_me: failed program was:" >&5
29660 sed 's/^/| /' conftest.$ac_ext >&5
29662 glibcxx_cv_S_IFREG=no
29664 rm -f conftest.err conftest.$ac_objext \
29665 conftest$ac_exeext conftest.$ac_ext
29669 res=no
29670 if test $glibcxx_cv_S_ISREG = yes; then
29672 cat >>confdefs.h <<\_ACEOF
29673 #define HAVE_S_ISREG 1
29674 _ACEOF
29676 res=S_ISREG
29677 elif test $glibcxx_cv_S_IFREG = yes; then
29679 cat >>confdefs.h <<\_ACEOF
29680 #define HAVE_S_IFREG 1
29681 _ACEOF
29683 res=S_IFREG
29685 echo "$as_me:$LINENO: result: $res" >&5
29686 echo "${ECHO_T}$res" >&6
29689 # For xsputn_2().
29691 for ac_header in sys/uio.h
29693 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29695 echo "$as_me:$LINENO: checking for $ac_header" >&5
29696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29698 echo $ECHO_N "(cached) $ECHO_C" >&6
29700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29702 else
29703 # Is the header compilable?
29704 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29705 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29706 cat >conftest.$ac_ext <<_ACEOF
29707 /* confdefs.h. */
29708 _ACEOF
29709 cat confdefs.h >>conftest.$ac_ext
29710 cat >>conftest.$ac_ext <<_ACEOF
29711 /* end confdefs.h. */
29712 $ac_includes_default
29713 #include <$ac_header>
29714 _ACEOF
29715 rm -f conftest.$ac_objext
29716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29717 (eval $ac_compile) 2>conftest.er1
29718 ac_status=$?
29719 grep -v '^ *+' conftest.er1 >conftest.err
29720 rm -f conftest.er1
29721 cat conftest.err >&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); } &&
29724 { ac_try='test -z "$ac_c_werror_flag"
29725 || test ! -s conftest.err'
29726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29727 (eval $ac_try) 2>&5
29728 ac_status=$?
29729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730 (exit $ac_status); }; } &&
29731 { ac_try='test -s conftest.$ac_objext'
29732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29733 (eval $ac_try) 2>&5
29734 ac_status=$?
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); }; }; then
29737 ac_header_compiler=yes
29738 else
29739 echo "$as_me: failed program was:" >&5
29740 sed 's/^/| /' conftest.$ac_ext >&5
29742 ac_header_compiler=no
29744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29746 echo "${ECHO_T}$ac_header_compiler" >&6
29748 # Is the header present?
29749 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29750 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29751 cat >conftest.$ac_ext <<_ACEOF
29752 /* confdefs.h. */
29753 _ACEOF
29754 cat confdefs.h >>conftest.$ac_ext
29755 cat >>conftest.$ac_ext <<_ACEOF
29756 /* end confdefs.h. */
29757 #include <$ac_header>
29758 _ACEOF
29759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29760 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29761 ac_status=$?
29762 grep -v '^ *+' conftest.er1 >conftest.err
29763 rm -f conftest.er1
29764 cat conftest.err >&5
29765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29766 (exit $ac_status); } >/dev/null; then
29767 if test -s conftest.err; then
29768 ac_cpp_err=$ac_c_preproc_warn_flag
29769 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29770 else
29771 ac_cpp_err=
29773 else
29774 ac_cpp_err=yes
29776 if test -z "$ac_cpp_err"; then
29777 ac_header_preproc=yes
29778 else
29779 echo "$as_me: failed program was:" >&5
29780 sed 's/^/| /' conftest.$ac_ext >&5
29782 ac_header_preproc=no
29784 rm -f conftest.err conftest.$ac_ext
29785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29786 echo "${ECHO_T}$ac_header_preproc" >&6
29788 # So? What about this header?
29789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29790 yes:no: )
29791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29794 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29795 ac_header_preproc=yes
29797 no:yes:* )
29798 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29800 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29801 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29802 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29803 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29804 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29805 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29808 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29809 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29811 cat <<\_ASBOX
29812 ## ----------------------------------------- ##
29813 ## Report this to the package-unused lists. ##
29814 ## ----------------------------------------- ##
29815 _ASBOX
29817 sed "s/^/$as_me: WARNING: /" >&2
29819 esac
29820 echo "$as_me:$LINENO: checking for $ac_header" >&5
29821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29823 echo $ECHO_N "(cached) $ECHO_C" >&6
29824 else
29825 eval "$as_ac_Header=\$ac_header_preproc"
29827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29832 cat >>confdefs.h <<_ACEOF
29833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29834 _ACEOF
29838 done
29841 echo "$as_me:$LINENO: checking for writev" >&5
29842 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29843 if test "${glibcxx_cv_WRITEV+set}" = set; then
29844 echo $ECHO_N "(cached) $ECHO_C" >&6
29845 else
29847 if test x$gcc_no_link = xyes; then
29848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29850 { (exit 1); exit 1; }; }
29852 cat >conftest.$ac_ext <<_ACEOF
29853 /* confdefs.h. */
29854 _ACEOF
29855 cat confdefs.h >>conftest.$ac_ext
29856 cat >>conftest.$ac_ext <<_ACEOF
29857 /* end confdefs.h. */
29858 #include <sys/uio.h>
29860 main ()
29862 struct iovec iov[2];
29863 writev(0, iov, 0);
29865 return 0;
29867 _ACEOF
29868 rm -f conftest.$ac_objext conftest$ac_exeext
29869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29870 (eval $ac_link) 2>conftest.er1
29871 ac_status=$?
29872 grep -v '^ *+' conftest.er1 >conftest.err
29873 rm -f conftest.er1
29874 cat conftest.err >&5
29875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29876 (exit $ac_status); } &&
29877 { ac_try='test -z "$ac_c_werror_flag"
29878 || test ! -s conftest.err'
29879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29880 (eval $ac_try) 2>&5
29881 ac_status=$?
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); }; } &&
29884 { ac_try='test -s conftest$ac_exeext'
29885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29886 (eval $ac_try) 2>&5
29887 ac_status=$?
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; }; then
29890 glibcxx_cv_WRITEV=yes
29891 else
29892 echo "$as_me: failed program was:" >&5
29893 sed 's/^/| /' conftest.$ac_ext >&5
29895 glibcxx_cv_WRITEV=no
29897 rm -f conftest.err conftest.$ac_objext \
29898 conftest$ac_exeext conftest.$ac_ext
29902 if test $glibcxx_cv_WRITEV = yes; then
29904 cat >>confdefs.h <<\_ACEOF
29905 #define HAVE_WRITEV 1
29906 _ACEOF
29909 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29910 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29913 # For the __streamoff_base_type typedef.
29915 echo "$as_me:$LINENO: checking for int64_t" >&5
29916 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29917 if test "${glibcxx_cv_INT64_T+set}" = set; then
29918 echo $ECHO_N "(cached) $ECHO_C" >&6
29919 else
29921 cat >conftest.$ac_ext <<_ACEOF
29922 /* confdefs.h. */
29923 _ACEOF
29924 cat confdefs.h >>conftest.$ac_ext
29925 cat >>conftest.$ac_ext <<_ACEOF
29926 /* end confdefs.h. */
29927 #include <stdint.h>
29929 main ()
29931 int64_t var;
29933 return 0;
29935 _ACEOF
29936 rm -f conftest.$ac_objext
29937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29938 (eval $ac_compile) 2>conftest.er1
29939 ac_status=$?
29940 grep -v '^ *+' conftest.er1 >conftest.err
29941 rm -f conftest.er1
29942 cat conftest.err >&5
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); } &&
29945 { ac_try='test -z "$ac_c_werror_flag"
29946 || test ! -s conftest.err'
29947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29948 (eval $ac_try) 2>&5
29949 ac_status=$?
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); }; } &&
29952 { ac_try='test -s conftest.$ac_objext'
29953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29954 (eval $ac_try) 2>&5
29955 ac_status=$?
29956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29957 (exit $ac_status); }; }; then
29958 glibcxx_cv_INT64_T=yes
29959 else
29960 echo "$as_me: failed program was:" >&5
29961 sed 's/^/| /' conftest.$ac_ext >&5
29963 glibcxx_cv_INT64_T=no
29965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29969 if test $glibcxx_cv_INT64_T = yes; then
29971 cat >>confdefs.h <<\_ACEOF
29972 #define HAVE_INT64_T 1
29973 _ACEOF
29976 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29977 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29980 # For LFS support.
29984 ac_ext=cc
29985 ac_cpp='$CXXCPP $CPPFLAGS'
29986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29990 ac_save_CXXFLAGS="$CXXFLAGS"
29991 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29992 echo "$as_me:$LINENO: checking for LFS support" >&5
29993 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29994 if test "${glibcxx_cv_LFS+set}" = set; then
29995 echo $ECHO_N "(cached) $ECHO_C" >&6
29996 else
29998 if test x$gcc_no_link = xyes; then
29999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30001 { (exit 1); exit 1; }; }
30003 cat >conftest.$ac_ext <<_ACEOF
30004 /* confdefs.h. */
30005 _ACEOF
30006 cat confdefs.h >>conftest.$ac_ext
30007 cat >>conftest.$ac_ext <<_ACEOF
30008 /* end confdefs.h. */
30009 #include <unistd.h>
30010 #include <stdio.h>
30011 #include <sys/stat.h>
30014 main ()
30016 FILE* fp;
30017 fopen64("t", "w");
30018 fseeko64(fp, 0, SEEK_CUR);
30019 ftello64(fp);
30020 lseek64(1, 0, SEEK_CUR);
30021 struct stat64 buf;
30022 fstat64(1, &buf);
30024 return 0;
30026 _ACEOF
30027 rm -f conftest.$ac_objext conftest$ac_exeext
30028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30029 (eval $ac_link) 2>conftest.er1
30030 ac_status=$?
30031 grep -v '^ *+' conftest.er1 >conftest.err
30032 rm -f conftest.er1
30033 cat conftest.err >&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); } &&
30036 { ac_try='test -z "$ac_cxx_werror_flag"
30037 || test ! -s conftest.err'
30038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30039 (eval $ac_try) 2>&5
30040 ac_status=$?
30041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30042 (exit $ac_status); }; } &&
30043 { ac_try='test -s conftest$ac_exeext'
30044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30045 (eval $ac_try) 2>&5
30046 ac_status=$?
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); }; }; then
30049 glibcxx_cv_LFS=yes
30050 else
30051 echo "$as_me: failed program was:" >&5
30052 sed 's/^/| /' conftest.$ac_ext >&5
30054 glibcxx_cv_LFS=no
30056 rm -f conftest.err conftest.$ac_objext \
30057 conftest$ac_exeext conftest.$ac_ext
30061 if test $glibcxx_cv_LFS = yes; then
30063 cat >>confdefs.h <<\_ACEOF
30064 #define _GLIBCXX_USE_LFS 1
30065 _ACEOF
30068 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
30069 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
30070 CXXFLAGS="$ac_save_CXXFLAGS"
30071 ac_ext=c
30072 ac_cpp='$CPP $CPPFLAGS'
30073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30079 # For C99 support to TR1.
30084 ac_ext=cc
30085 ac_cpp='$CXXCPP $CPPFLAGS'
30086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30091 # Check for the existence of <complex.h> complex math functions used
30092 # by tr1/complex.
30094 for ac_header in complex.h
30096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30098 echo "$as_me:$LINENO: checking for $ac_header" >&5
30099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30101 echo $ECHO_N "(cached) $ECHO_C" >&6
30103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30105 else
30106 # Is the header compilable?
30107 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30108 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30109 cat >conftest.$ac_ext <<_ACEOF
30110 /* confdefs.h. */
30111 _ACEOF
30112 cat confdefs.h >>conftest.$ac_ext
30113 cat >>conftest.$ac_ext <<_ACEOF
30114 /* end confdefs.h. */
30115 $ac_includes_default
30116 #include <$ac_header>
30117 _ACEOF
30118 rm -f conftest.$ac_objext
30119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30120 (eval $ac_compile) 2>conftest.er1
30121 ac_status=$?
30122 grep -v '^ *+' conftest.er1 >conftest.err
30123 rm -f conftest.er1
30124 cat conftest.err >&5
30125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 (exit $ac_status); } &&
30127 { ac_try='test -z "$ac_cxx_werror_flag"
30128 || test ! -s conftest.err'
30129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30130 (eval $ac_try) 2>&5
30131 ac_status=$?
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); }; } &&
30134 { ac_try='test -s conftest.$ac_objext'
30135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30136 (eval $ac_try) 2>&5
30137 ac_status=$?
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); }; }; then
30140 ac_header_compiler=yes
30141 else
30142 echo "$as_me: failed program was:" >&5
30143 sed 's/^/| /' conftest.$ac_ext >&5
30145 ac_header_compiler=no
30147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30149 echo "${ECHO_T}$ac_header_compiler" >&6
30151 # Is the header present?
30152 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30154 cat >conftest.$ac_ext <<_ACEOF
30155 /* confdefs.h. */
30156 _ACEOF
30157 cat confdefs.h >>conftest.$ac_ext
30158 cat >>conftest.$ac_ext <<_ACEOF
30159 /* end confdefs.h. */
30160 #include <$ac_header>
30161 _ACEOF
30162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30164 ac_status=$?
30165 grep -v '^ *+' conftest.er1 >conftest.err
30166 rm -f conftest.er1
30167 cat conftest.err >&5
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); } >/dev/null; then
30170 if test -s conftest.err; then
30171 ac_cpp_err=$ac_cxx_preproc_warn_flag
30172 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30173 else
30174 ac_cpp_err=
30176 else
30177 ac_cpp_err=yes
30179 if test -z "$ac_cpp_err"; then
30180 ac_header_preproc=yes
30181 else
30182 echo "$as_me: failed program was:" >&5
30183 sed 's/^/| /' conftest.$ac_ext >&5
30185 ac_header_preproc=no
30187 rm -f conftest.err conftest.$ac_ext
30188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30189 echo "${ECHO_T}$ac_header_preproc" >&6
30191 # So? What about this header?
30192 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30193 yes:no: )
30194 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30195 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30197 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30198 ac_header_preproc=yes
30200 no:yes:* )
30201 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30202 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30203 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30204 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30205 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30206 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30207 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30208 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30211 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30212 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30214 cat <<\_ASBOX
30215 ## ----------------------------------------- ##
30216 ## Report this to the package-unused lists. ##
30217 ## ----------------------------------------- ##
30218 _ASBOX
30220 sed "s/^/$as_me: WARNING: /" >&2
30222 esac
30223 echo "$as_me:$LINENO: checking for $ac_header" >&5
30224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30226 echo $ECHO_N "(cached) $ECHO_C" >&6
30227 else
30228 eval "$as_ac_Header=\$ac_header_preproc"
30230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30235 cat >>confdefs.h <<_ACEOF
30236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30237 _ACEOF
30238 ac_has_complex_h=yes
30239 else
30240 ac_has_complex_h=no
30243 done
30245 ac_c99_complex_tr1=no;
30246 if test x"$ac_has_complex_h" = x"yes"; then
30247 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
30248 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
30249 cat >conftest.$ac_ext <<_ACEOF
30250 /* confdefs.h. */
30251 _ACEOF
30252 cat confdefs.h >>conftest.$ac_ext
30253 cat >>conftest.$ac_ext <<_ACEOF
30254 /* end confdefs.h. */
30255 #include <complex.h>
30257 main ()
30259 typedef __complex__ float float_type; float_type tmpf;
30260 cacosf(tmpf);
30261 casinf(tmpf);
30262 catanf(tmpf);
30263 cacoshf(tmpf);
30264 casinhf(tmpf);
30265 catanhf(tmpf);
30266 typedef __complex__ double double_type; double_type tmpd;
30267 cacos(tmpd);
30268 casin(tmpd);
30269 catan(tmpd);
30270 cacosh(tmpd);
30271 casinh(tmpd);
30272 catanh(tmpd);
30273 typedef __complex__ long double ld_type; ld_type tmpld;
30274 cacosl(tmpld);
30275 casinl(tmpld);
30276 catanl(tmpld);
30277 cacoshl(tmpld);
30278 casinhl(tmpld);
30279 catanhl(tmpld);
30282 return 0;
30284 _ACEOF
30285 rm -f conftest.$ac_objext
30286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30287 (eval $ac_compile) 2>conftest.er1
30288 ac_status=$?
30289 grep -v '^ *+' conftest.er1 >conftest.err
30290 rm -f conftest.er1
30291 cat conftest.err >&5
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); } &&
30294 { ac_try='test -z "$ac_cxx_werror_flag"
30295 || test ! -s conftest.err'
30296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30297 (eval $ac_try) 2>&5
30298 ac_status=$?
30299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30300 (exit $ac_status); }; } &&
30301 { ac_try='test -s conftest.$ac_objext'
30302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30303 (eval $ac_try) 2>&5
30304 ac_status=$?
30305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30306 (exit $ac_status); }; }; then
30307 ac_c99_complex_tr1=yes
30308 else
30309 echo "$as_me: failed program was:" >&5
30310 sed 's/^/| /' conftest.$ac_ext >&5
30312 ac_c99_complex_tr1=no
30314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30316 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30317 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30318 if test x"$ac_c99_complex_tr1" = x"yes"; then
30320 cat >>confdefs.h <<\_ACEOF
30321 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30322 _ACEOF
30326 # Check for the existence of <ctype.h> functions.
30327 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30328 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30329 if test "${ac_c99_ctype_tr1+set}" = set; then
30330 echo $ECHO_N "(cached) $ECHO_C" >&6
30331 else
30333 cat >conftest.$ac_ext <<_ACEOF
30334 /* confdefs.h. */
30335 _ACEOF
30336 cat confdefs.h >>conftest.$ac_ext
30337 cat >>conftest.$ac_ext <<_ACEOF
30338 /* end confdefs.h. */
30339 #include <ctype.h>
30341 main ()
30343 int ch;
30344 int ret;
30345 ret = isblank(ch);
30348 return 0;
30350 _ACEOF
30351 rm -f conftest.$ac_objext
30352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30353 (eval $ac_compile) 2>conftest.er1
30354 ac_status=$?
30355 grep -v '^ *+' conftest.er1 >conftest.err
30356 rm -f conftest.er1
30357 cat conftest.err >&5
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); } &&
30360 { ac_try='test -z "$ac_cxx_werror_flag"
30361 || test ! -s conftest.err'
30362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30363 (eval $ac_try) 2>&5
30364 ac_status=$?
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); }; } &&
30367 { ac_try='test -s conftest.$ac_objext'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; }; then
30373 ac_c99_ctype_tr1=yes
30374 else
30375 echo "$as_me: failed program was:" >&5
30376 sed 's/^/| /' conftest.$ac_ext >&5
30378 ac_c99_ctype_tr1=no
30380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30384 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30385 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30386 if test x"$ac_c99_ctype_tr1" = x"yes"; then
30388 cat >>confdefs.h <<\_ACEOF
30389 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
30390 _ACEOF
30394 # Check for the existence of <fenv.h> functions.
30396 for ac_header in fenv.h
30398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30400 echo "$as_me:$LINENO: checking for $ac_header" >&5
30401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30403 echo $ECHO_N "(cached) $ECHO_C" >&6
30405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30407 else
30408 # Is the header compilable?
30409 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30411 cat >conftest.$ac_ext <<_ACEOF
30412 /* confdefs.h. */
30413 _ACEOF
30414 cat confdefs.h >>conftest.$ac_ext
30415 cat >>conftest.$ac_ext <<_ACEOF
30416 /* end confdefs.h. */
30417 $ac_includes_default
30418 #include <$ac_header>
30419 _ACEOF
30420 rm -f conftest.$ac_objext
30421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30422 (eval $ac_compile) 2>conftest.er1
30423 ac_status=$?
30424 grep -v '^ *+' conftest.er1 >conftest.err
30425 rm -f conftest.er1
30426 cat conftest.err >&5
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); } &&
30429 { ac_try='test -z "$ac_cxx_werror_flag"
30430 || test ! -s conftest.err'
30431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30432 (eval $ac_try) 2>&5
30433 ac_status=$?
30434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435 (exit $ac_status); }; } &&
30436 { ac_try='test -s conftest.$ac_objext'
30437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30438 (eval $ac_try) 2>&5
30439 ac_status=$?
30440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30441 (exit $ac_status); }; }; then
30442 ac_header_compiler=yes
30443 else
30444 echo "$as_me: failed program was:" >&5
30445 sed 's/^/| /' conftest.$ac_ext >&5
30447 ac_header_compiler=no
30449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30451 echo "${ECHO_T}$ac_header_compiler" >&6
30453 # Is the header present?
30454 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30456 cat >conftest.$ac_ext <<_ACEOF
30457 /* confdefs.h. */
30458 _ACEOF
30459 cat confdefs.h >>conftest.$ac_ext
30460 cat >>conftest.$ac_ext <<_ACEOF
30461 /* end confdefs.h. */
30462 #include <$ac_header>
30463 _ACEOF
30464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30466 ac_status=$?
30467 grep -v '^ *+' conftest.er1 >conftest.err
30468 rm -f conftest.er1
30469 cat conftest.err >&5
30470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30471 (exit $ac_status); } >/dev/null; then
30472 if test -s conftest.err; then
30473 ac_cpp_err=$ac_cxx_preproc_warn_flag
30474 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30475 else
30476 ac_cpp_err=
30478 else
30479 ac_cpp_err=yes
30481 if test -z "$ac_cpp_err"; then
30482 ac_header_preproc=yes
30483 else
30484 echo "$as_me: failed program was:" >&5
30485 sed 's/^/| /' conftest.$ac_ext >&5
30487 ac_header_preproc=no
30489 rm -f conftest.err conftest.$ac_ext
30490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30491 echo "${ECHO_T}$ac_header_preproc" >&6
30493 # So? What about this header?
30494 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30495 yes:no: )
30496 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30499 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30500 ac_header_preproc=yes
30502 no:yes:* )
30503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30507 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30508 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30509 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30510 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30512 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30513 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30514 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30516 cat <<\_ASBOX
30517 ## ----------------------------------------- ##
30518 ## Report this to the package-unused lists. ##
30519 ## ----------------------------------------- ##
30520 _ASBOX
30522 sed "s/^/$as_me: WARNING: /" >&2
30524 esac
30525 echo "$as_me:$LINENO: checking for $ac_header" >&5
30526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30528 echo $ECHO_N "(cached) $ECHO_C" >&6
30529 else
30530 eval "$as_ac_Header=\$ac_header_preproc"
30532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30537 cat >>confdefs.h <<_ACEOF
30538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30539 _ACEOF
30540 ac_has_fenv_h=yes
30541 else
30542 ac_has_fenv_h=no
30545 done
30547 ac_c99_fenv_tr1=no;
30548 if test x"$ac_has_fenv_h" = x"yes"; then
30549 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30550 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30551 cat >conftest.$ac_ext <<_ACEOF
30552 /* confdefs.h. */
30553 _ACEOF
30554 cat confdefs.h >>conftest.$ac_ext
30555 cat >>conftest.$ac_ext <<_ACEOF
30556 /* end confdefs.h. */
30557 #include <fenv.h>
30559 main ()
30561 int except, mode;
30562 fexcept_t* pflag;
30563 fenv_t* penv;
30564 int ret;
30565 ret = feclearexcept(except);
30566 ret = fegetexceptflag(pflag, except);
30567 ret = feraiseexcept(except);
30568 ret = fesetexceptflag(pflag, except);
30569 ret = fetestexcept(except);
30570 ret = fegetround();
30571 ret = fesetround(mode);
30572 ret = fegetenv(penv);
30573 ret = feholdexcept(penv);
30574 ret = fesetenv(penv);
30575 ret = feupdateenv(penv);
30578 return 0;
30580 _ACEOF
30581 rm -f conftest.$ac_objext
30582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30583 (eval $ac_compile) 2>conftest.er1
30584 ac_status=$?
30585 grep -v '^ *+' conftest.er1 >conftest.err
30586 rm -f conftest.er1
30587 cat conftest.err >&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); } &&
30590 { ac_try='test -z "$ac_cxx_werror_flag"
30591 || test ! -s conftest.err'
30592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30593 (eval $ac_try) 2>&5
30594 ac_status=$?
30595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596 (exit $ac_status); }; } &&
30597 { ac_try='test -s conftest.$ac_objext'
30598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30599 (eval $ac_try) 2>&5
30600 ac_status=$?
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); }; }; then
30603 ac_c99_fenv_tr1=yes
30604 else
30605 echo "$as_me: failed program was:" >&5
30606 sed 's/^/| /' conftest.$ac_ext >&5
30608 ac_c99_fenv_tr1=no
30610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30612 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30613 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30614 if test x"$ac_c99_fenv_tr1" = x"yes"; then
30616 cat >>confdefs.h <<\_ACEOF
30617 #define _GLIBCXX_USE_C99_FENV_TR1 1
30618 _ACEOF
30622 # Check for the existence of <stdint.h> types.
30623 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30624 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30625 if test "${ac_c99_stdint_tr1+set}" = set; then
30626 echo $ECHO_N "(cached) $ECHO_C" >&6
30627 else
30629 cat >conftest.$ac_ext <<_ACEOF
30630 /* confdefs.h. */
30631 _ACEOF
30632 cat confdefs.h >>conftest.$ac_ext
30633 cat >>conftest.$ac_ext <<_ACEOF
30634 /* end confdefs.h. */
30635 #include <stdint.h>
30637 main ()
30639 typedef int8_t my_int8_t;
30640 typedef int16_t my_int16_t;
30641 typedef int32_t my_int32_t;
30642 typedef int64_t my_int64_t;
30643 typedef int_fast8_t my_int_fast8_t;
30644 typedef int_fast16_t my_int_fast16_t;
30645 typedef int_fast32_t my_int_fast32_t;
30646 typedef int_fast64_t my_int_fast64_t;
30647 typedef int_least8_t my_int_least8_t;
30648 typedef int_least16_t my_int_least16_t;
30649 typedef int_least32_t my_int_least32_t;
30650 typedef int_least64_t my_int_least64_t;
30651 typedef intmax_t my_intmax_t;
30652 typedef intptr_t my_intptr_t;
30653 typedef uint8_t my_uint8_t;
30654 typedef uint16_t my_uint16_t;
30655 typedef uint32_t my_uint32_t;
30656 typedef uint64_t my_uint64_t;
30657 typedef uint_fast8_t my_uint_fast8_t;
30658 typedef uint_fast16_t my_uint_fast16_t;
30659 typedef uint_fast32_t my_uint_fast32_t;
30660 typedef uint_fast64_t my_uint_fast64_t;
30661 typedef uint_least8_t my_uint_least8_t;
30662 typedef uint_least16_t my_uint_least16_t;
30663 typedef uint_least32_t my_uint_least32_t;
30664 typedef uint_least64_t my_uint_least64_t;
30665 typedef uintmax_t my_uintmax_t;
30666 typedef uintptr_t my_uintptr_t;
30669 return 0;
30671 _ACEOF
30672 rm -f conftest.$ac_objext
30673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30674 (eval $ac_compile) 2>conftest.er1
30675 ac_status=$?
30676 grep -v '^ *+' conftest.er1 >conftest.err
30677 rm -f conftest.er1
30678 cat conftest.err >&5
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); } &&
30681 { ac_try='test -z "$ac_cxx_werror_flag"
30682 || test ! -s conftest.err'
30683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30684 (eval $ac_try) 2>&5
30685 ac_status=$?
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); }; } &&
30688 { ac_try='test -s conftest.$ac_objext'
30689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30690 (eval $ac_try) 2>&5
30691 ac_status=$?
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); }; }; then
30694 ac_c99_stdint_tr1=yes
30695 else
30696 echo "$as_me: failed program was:" >&5
30697 sed 's/^/| /' conftest.$ac_ext >&5
30699 ac_c99_stdint_tr1=no
30701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30705 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30706 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30707 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30709 cat >>confdefs.h <<\_ACEOF
30710 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30711 _ACEOF
30715 # Check for the existence of <math.h> functions.
30716 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30717 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30718 if test "${ac_c99_math_tr1+set}" = set; then
30719 echo $ECHO_N "(cached) $ECHO_C" >&6
30720 else
30722 cat >conftest.$ac_ext <<_ACEOF
30723 /* confdefs.h. */
30724 _ACEOF
30725 cat confdefs.h >>conftest.$ac_ext
30726 cat >>conftest.$ac_ext <<_ACEOF
30727 /* end confdefs.h. */
30728 #include <math.h>
30730 main ()
30732 typedef double_t my_double_t;
30733 typedef float_t my_float_t;
30734 acosh(0.0);
30735 acoshf(0.0f);
30736 acoshl(0.0l);
30737 asinh(0.0);
30738 asinhf(0.0f);
30739 asinhl(0.0l);
30740 atanh(0.0);
30741 atanhf(0.0f);
30742 atanhl(0.0l);
30743 cbrt(0.0);
30744 cbrtf(0.0f);
30745 cbrtl(0.0l);
30746 copysign(0.0, 0.0);
30747 copysignf(0.0f, 0.0f);
30748 copysignl(0.0l, 0.0l);
30749 erf(0.0);
30750 erff(0.0f);
30751 erfl(0.0l);
30752 erfc(0.0);
30753 erfcf(0.0f);
30754 erfcl(0.0l);
30755 exp2(0.0);
30756 exp2f(0.0f);
30757 exp2l(0.0l);
30758 expm1(0.0);
30759 expm1f(0.0f);
30760 expm1l(0.0l);
30761 fdim(0.0, 0.0);
30762 fdimf(0.0f, 0.0f);
30763 fdiml(0.0l, 0.0l);
30764 fma(0.0, 0.0, 0.0);
30765 fmaf(0.0f, 0.0f, 0.0f);
30766 fmal(0.0l, 0.0l, 0.0l);
30767 fmax(0.0, 0.0);
30768 fmaxf(0.0f, 0.0f);
30769 fmaxl(0.0l, 0.0l);
30770 fmin(0.0, 0.0);
30771 fminf(0.0f, 0.0f);
30772 fminl(0.0l, 0.0l);
30773 hypot(0.0, 0.0);
30774 hypotf(0.0f, 0.0f);
30775 hypotl(0.0l, 0.0l);
30776 ilogb(0.0);
30777 ilogbf(0.0f);
30778 ilogbl(0.0l);
30779 lgamma(0.0);
30780 lgammaf(0.0f);
30781 lgammal(0.0l);
30782 llrint(0.0);
30783 llrintf(0.0f);
30784 llrintl(0.0l);
30785 llround(0.0);
30786 llroundf(0.0f);
30787 llroundl(0.0l);
30788 log1p(0.0);
30789 log1pf(0.0f);
30790 log1pl(0.0l);
30791 log2(0.0);
30792 log2f(0.0f);
30793 log2l(0.0l);
30794 logb(0.0);
30795 logbf(0.0f);
30796 logbl(0.0l);
30797 lrint(0.0);
30798 lrintf(0.0f);
30799 lrintl(0.0l);
30800 lround(0.0);
30801 lroundf(0.0f);
30802 lroundl(0.0l);
30803 nan(0);
30804 nanf(0);
30805 nanl(0);
30806 nearbyint(0.0);
30807 nearbyintf(0.0f);
30808 nearbyintl(0.0l);
30809 nextafter(0.0, 0.0);
30810 nextafterf(0.0f, 0.0f);
30811 nextafterl(0.0l, 0.0l);
30812 nexttoward(0.0, 0.0);
30813 nexttowardf(0.0f, 0.0f);
30814 nexttowardl(0.0l, 0.0l);
30815 remainder(0.0, 0.0);
30816 remainderf(0.0f, 0.0f);
30817 remainderl(0.0l, 0.0l);
30818 remquo(0.0, 0.0, 0);
30819 remquo(0.0f, 0.0f, 0);
30820 remquo(0.0l, 0.0l, 0);
30821 rint(0.0);
30822 rintf(0.0f);
30823 rintl(0.0l);
30824 round(0.0);
30825 roundf(0.0f);
30826 roundl(0.0l);
30827 scalbln(0.0, 0l);
30828 scalblnf(0.0f, 0l);
30829 scalblnl(0.0l, 0l);
30830 scalbn(0.0, 0);
30831 scalbnf(0.0f, 0);
30832 scalbnl(0.0l, 0);
30833 tgamma(0.0);
30834 tgammaf(0.0f);
30835 tgammal(0.0l);
30836 trunc(0.0);
30837 truncf(0.0f);
30838 truncl(0.0l);
30841 return 0;
30843 _ACEOF
30844 rm -f conftest.$ac_objext
30845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30846 (eval $ac_compile) 2>conftest.er1
30847 ac_status=$?
30848 grep -v '^ *+' conftest.er1 >conftest.err
30849 rm -f conftest.er1
30850 cat conftest.err >&5
30851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852 (exit $ac_status); } &&
30853 { ac_try='test -z "$ac_cxx_werror_flag"
30854 || test ! -s conftest.err'
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); }; } &&
30860 { ac_try='test -s conftest.$ac_objext'
30861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30862 (eval $ac_try) 2>&5
30863 ac_status=$?
30864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30865 (exit $ac_status); }; }; then
30866 ac_c99_math_tr1=yes
30867 else
30868 echo "$as_me: failed program was:" >&5
30869 sed 's/^/| /' conftest.$ac_ext >&5
30871 ac_c99_math_tr1=no
30873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30877 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
30878 echo "${ECHO_T}$ac_c99_math_tr1" >&6
30879 if test x"$ac_c99_math_tr1" = x"yes"; then
30881 cat >>confdefs.h <<\_ACEOF
30882 #define _GLIBCXX_USE_C99_MATH_TR1 1
30883 _ACEOF
30887 # Check for the existence of <inttypes.h> functions (NB: doesn't make
30888 # sense if the previous check fails, per C99, 7.8/1).
30889 ac_c99_inttypes_tr1=no;
30890 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30891 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30892 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30893 cat >conftest.$ac_ext <<_ACEOF
30894 /* confdefs.h. */
30895 _ACEOF
30896 cat confdefs.h >>conftest.$ac_ext
30897 cat >>conftest.$ac_ext <<_ACEOF
30898 /* end confdefs.h. */
30899 #include <inttypes.h>
30901 main ()
30903 intmax_t i, numer, denom, base;
30904 const char* s;
30905 char** endptr;
30906 intmax_t ret = imaxabs(i);
30907 imaxdiv_t dret = imaxdiv(numer, denom);
30908 ret = strtoimax(s, endptr, base);
30909 uintmax_t uret = strtoumax(s, endptr, base);
30912 return 0;
30914 _ACEOF
30915 rm -f conftest.$ac_objext
30916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30917 (eval $ac_compile) 2>conftest.er1
30918 ac_status=$?
30919 grep -v '^ *+' conftest.er1 >conftest.err
30920 rm -f conftest.er1
30921 cat conftest.err >&5
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); } &&
30924 { ac_try='test -z "$ac_cxx_werror_flag"
30925 || test ! -s conftest.err'
30926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30927 (eval $ac_try) 2>&5
30928 ac_status=$?
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); }; } &&
30931 { ac_try='test -s conftest.$ac_objext'
30932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30933 (eval $ac_try) 2>&5
30934 ac_status=$?
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); }; }; then
30937 ac_c99_inttypes_tr1=yes
30938 else
30939 echo "$as_me: failed program was:" >&5
30940 sed 's/^/| /' conftest.$ac_ext >&5
30942 ac_c99_inttypes_tr1=no
30944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30946 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
30947 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
30948 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
30950 cat >>confdefs.h <<\_ACEOF
30951 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
30952 _ACEOF
30956 # Check for the existence of the <stdbool.h> header.
30958 for ac_header in stdbool.h
30960 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30962 echo "$as_me:$LINENO: checking for $ac_header" >&5
30963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30965 echo $ECHO_N "(cached) $ECHO_C" >&6
30967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30969 else
30970 # Is the header compilable?
30971 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30973 cat >conftest.$ac_ext <<_ACEOF
30974 /* confdefs.h. */
30975 _ACEOF
30976 cat confdefs.h >>conftest.$ac_ext
30977 cat >>conftest.$ac_ext <<_ACEOF
30978 /* end confdefs.h. */
30979 $ac_includes_default
30980 #include <$ac_header>
30981 _ACEOF
30982 rm -f conftest.$ac_objext
30983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30984 (eval $ac_compile) 2>conftest.er1
30985 ac_status=$?
30986 grep -v '^ *+' conftest.er1 >conftest.err
30987 rm -f conftest.er1
30988 cat conftest.err >&5
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); } &&
30991 { ac_try='test -z "$ac_cxx_werror_flag"
30992 || test ! -s conftest.err'
30993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30994 (eval $ac_try) 2>&5
30995 ac_status=$?
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); }; } &&
30998 { ac_try='test -s conftest.$ac_objext'
30999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31000 (eval $ac_try) 2>&5
31001 ac_status=$?
31002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31003 (exit $ac_status); }; }; then
31004 ac_header_compiler=yes
31005 else
31006 echo "$as_me: failed program was:" >&5
31007 sed 's/^/| /' conftest.$ac_ext >&5
31009 ac_header_compiler=no
31011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31013 echo "${ECHO_T}$ac_header_compiler" >&6
31015 # Is the header present?
31016 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31017 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31018 cat >conftest.$ac_ext <<_ACEOF
31019 /* confdefs.h. */
31020 _ACEOF
31021 cat confdefs.h >>conftest.$ac_ext
31022 cat >>conftest.$ac_ext <<_ACEOF
31023 /* end confdefs.h. */
31024 #include <$ac_header>
31025 _ACEOF
31026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31028 ac_status=$?
31029 grep -v '^ *+' conftest.er1 >conftest.err
31030 rm -f conftest.er1
31031 cat conftest.err >&5
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); } >/dev/null; then
31034 if test -s conftest.err; then
31035 ac_cpp_err=$ac_cxx_preproc_warn_flag
31036 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31037 else
31038 ac_cpp_err=
31040 else
31041 ac_cpp_err=yes
31043 if test -z "$ac_cpp_err"; then
31044 ac_header_preproc=yes
31045 else
31046 echo "$as_me: failed program was:" >&5
31047 sed 's/^/| /' conftest.$ac_ext >&5
31049 ac_header_preproc=no
31051 rm -f conftest.err conftest.$ac_ext
31052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31053 echo "${ECHO_T}$ac_header_preproc" >&6
31055 # So? What about this header?
31056 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31057 yes:no: )
31058 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31059 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31061 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31062 ac_header_preproc=yes
31064 no:yes:* )
31065 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31066 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31067 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31068 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31069 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31070 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31071 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31072 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31074 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31075 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31076 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31078 cat <<\_ASBOX
31079 ## ----------------------------------------- ##
31080 ## Report this to the package-unused lists. ##
31081 ## ----------------------------------------- ##
31082 _ASBOX
31084 sed "s/^/$as_me: WARNING: /" >&2
31086 esac
31087 echo "$as_me:$LINENO: checking for $ac_header" >&5
31088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31090 echo $ECHO_N "(cached) $ECHO_C" >&6
31091 else
31092 eval "$as_ac_Header=\$ac_header_preproc"
31094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31098 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31099 cat >>confdefs.h <<_ACEOF
31100 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31101 _ACEOF
31105 done
31108 ac_ext=c
31109 ac_cpp='$CPP $CPPFLAGS'
31110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31116 # For TLS support.
31118 # Check whether --enable-tls or --disable-tls was given.
31119 if test "${enable_tls+set}" = set; then
31120 enableval="$enable_tls"
31122 case "$enableval" in
31123 yes|no) ;;
31124 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
31125 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
31126 { (exit 1); exit 1; }; } ;;
31127 esac
31129 else
31130 enable_tls=yes
31133 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
31134 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
31135 if test "${have_tls+set}" = set; then
31136 echo $ECHO_N "(cached) $ECHO_C" >&6
31137 else
31139 if test "$cross_compiling" = yes; then
31140 cat >conftest.$ac_ext <<_ACEOF
31141 __thread int foo;
31142 _ACEOF
31143 rm -f conftest.$ac_objext
31144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31145 (eval $ac_compile) 2>conftest.er1
31146 ac_status=$?
31147 grep -v '^ *+' conftest.er1 >conftest.err
31148 rm -f conftest.er1
31149 cat conftest.err >&5
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); } &&
31152 { ac_try='test -z "$ac_c_werror_flag"
31153 || test ! -s conftest.err'
31154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31155 (eval $ac_try) 2>&5
31156 ac_status=$?
31157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31158 (exit $ac_status); }; } &&
31159 { ac_try='test -s conftest.$ac_objext'
31160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31161 (eval $ac_try) 2>&5
31162 ac_status=$?
31163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164 (exit $ac_status); }; }; then
31165 have_tls=yes
31166 else
31167 echo "$as_me: failed program was:" >&5
31168 sed 's/^/| /' conftest.$ac_ext >&5
31170 have_tls=no
31172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31174 else
31175 cat >conftest.$ac_ext <<_ACEOF
31176 __thread int a; int b; int main() { return a = b; }
31177 _ACEOF
31178 rm -f conftest$ac_exeext
31179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31180 (eval $ac_link) 2>&5
31181 ac_status=$?
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31185 (eval $ac_try) 2>&5
31186 ac_status=$?
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); }; }; then
31189 save_LDFLAGS="$LDFLAGS"
31190 LDFLAGS="-static $LDFLAGS"
31191 if test "$cross_compiling" = yes; then
31192 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
31193 See \`config.log' for more details." >&5
31194 echo "$as_me: error: cannot run test program while cross compiling
31195 See \`config.log' for more details." >&2;}
31196 { (exit 1); exit 1; }; }
31197 else
31198 cat >conftest.$ac_ext <<_ACEOF
31199 __thread int a; int b; int main() { return a = b; }
31200 _ACEOF
31201 rm -f conftest$ac_exeext
31202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31203 (eval $ac_link) 2>&5
31204 ac_status=$?
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31208 (eval $ac_try) 2>&5
31209 ac_status=$?
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); }; }; then
31212 have_tls=yes
31213 else
31214 echo "$as_me: program exited with status $ac_status" >&5
31215 echo "$as_me: failed program was:" >&5
31216 sed 's/^/| /' conftest.$ac_ext >&5
31218 ( exit $ac_status )
31219 have_tls=no
31221 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31223 LDFLAGS="$save_LDFLAGS"
31224 else
31225 echo "$as_me: program exited with status $ac_status" >&5
31226 echo "$as_me: failed program was:" >&5
31227 sed 's/^/| /' conftest.$ac_ext >&5
31229 ( exit $ac_status )
31230 have_tls=no
31232 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31235 echo "$as_me:$LINENO: result: $have_tls" >&5
31236 echo "${ECHO_T}$have_tls" >&6
31237 if test "$enable_tls $have_tls" = "yes yes"; then
31239 cat >>confdefs.h <<\_ACEOF
31240 #define HAVE_TLS 1
31241 _ACEOF
31246 if test "${ac_cv_header_locale_h+set}" = set; then
31247 echo "$as_me:$LINENO: checking for locale.h" >&5
31248 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31249 if test "${ac_cv_header_locale_h+set}" = set; then
31250 echo $ECHO_N "(cached) $ECHO_C" >&6
31252 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31253 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31254 else
31255 # Is the header compilable?
31256 echo "$as_me:$LINENO: checking locale.h usability" >&5
31257 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31258 cat >conftest.$ac_ext <<_ACEOF
31259 /* confdefs.h. */
31260 _ACEOF
31261 cat confdefs.h >>conftest.$ac_ext
31262 cat >>conftest.$ac_ext <<_ACEOF
31263 /* end confdefs.h. */
31264 $ac_includes_default
31265 #include <locale.h>
31266 _ACEOF
31267 rm -f conftest.$ac_objext
31268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31269 (eval $ac_compile) 2>conftest.er1
31270 ac_status=$?
31271 grep -v '^ *+' conftest.er1 >conftest.err
31272 rm -f conftest.er1
31273 cat conftest.err >&5
31274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31275 (exit $ac_status); } &&
31276 { ac_try='test -z "$ac_c_werror_flag"
31277 || test ! -s conftest.err'
31278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31279 (eval $ac_try) 2>&5
31280 ac_status=$?
31281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31282 (exit $ac_status); }; } &&
31283 { ac_try='test -s conftest.$ac_objext'
31284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31285 (eval $ac_try) 2>&5
31286 ac_status=$?
31287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31288 (exit $ac_status); }; }; then
31289 ac_header_compiler=yes
31290 else
31291 echo "$as_me: failed program was:" >&5
31292 sed 's/^/| /' conftest.$ac_ext >&5
31294 ac_header_compiler=no
31296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31298 echo "${ECHO_T}$ac_header_compiler" >&6
31300 # Is the header present?
31301 echo "$as_me:$LINENO: checking locale.h presence" >&5
31302 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31303 cat >conftest.$ac_ext <<_ACEOF
31304 /* confdefs.h. */
31305 _ACEOF
31306 cat confdefs.h >>conftest.$ac_ext
31307 cat >>conftest.$ac_ext <<_ACEOF
31308 /* end confdefs.h. */
31309 #include <locale.h>
31310 _ACEOF
31311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31313 ac_status=$?
31314 grep -v '^ *+' conftest.er1 >conftest.err
31315 rm -f conftest.er1
31316 cat conftest.err >&5
31317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31318 (exit $ac_status); } >/dev/null; then
31319 if test -s conftest.err; then
31320 ac_cpp_err=$ac_c_preproc_warn_flag
31321 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31322 else
31323 ac_cpp_err=
31325 else
31326 ac_cpp_err=yes
31328 if test -z "$ac_cpp_err"; then
31329 ac_header_preproc=yes
31330 else
31331 echo "$as_me: failed program was:" >&5
31332 sed 's/^/| /' conftest.$ac_ext >&5
31334 ac_header_preproc=no
31336 rm -f conftest.err conftest.$ac_ext
31337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31338 echo "${ECHO_T}$ac_header_preproc" >&6
31340 # So? What about this header?
31341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31342 yes:no: )
31343 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31344 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31345 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31346 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31347 ac_header_preproc=yes
31349 no:yes:* )
31350 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31351 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31352 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
31353 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
31354 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31355 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31356 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
31357 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
31358 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31359 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31360 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31361 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31363 cat <<\_ASBOX
31364 ## ----------------------------------------- ##
31365 ## Report this to the package-unused lists. ##
31366 ## ----------------------------------------- ##
31367 _ASBOX
31369 sed "s/^/$as_me: WARNING: /" >&2
31371 esac
31372 echo "$as_me:$LINENO: checking for locale.h" >&5
31373 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31374 if test "${ac_cv_header_locale_h+set}" = set; then
31375 echo $ECHO_N "(cached) $ECHO_C" >&6
31376 else
31377 ac_cv_header_locale_h=$ac_header_preproc
31379 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31380 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31383 if test $ac_cv_header_locale_h = yes; then
31385 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31386 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31387 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31388 echo $ECHO_N "(cached) $ECHO_C" >&6
31389 else
31390 if test x$gcc_no_link = xyes; then
31391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31393 { (exit 1); exit 1; }; }
31395 cat >conftest.$ac_ext <<_ACEOF
31396 /* confdefs.h. */
31397 _ACEOF
31398 cat confdefs.h >>conftest.$ac_ext
31399 cat >>conftest.$ac_ext <<_ACEOF
31400 /* end confdefs.h. */
31401 #include <locale.h>
31403 main ()
31405 return LC_MESSAGES
31407 return 0;
31409 _ACEOF
31410 rm -f conftest.$ac_objext conftest$ac_exeext
31411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31412 (eval $ac_link) 2>conftest.er1
31413 ac_status=$?
31414 grep -v '^ *+' conftest.er1 >conftest.err
31415 rm -f conftest.er1
31416 cat conftest.err >&5
31417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31418 (exit $ac_status); } &&
31419 { ac_try='test -z "$ac_c_werror_flag"
31420 || test ! -s conftest.err'
31421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31422 (eval $ac_try) 2>&5
31423 ac_status=$?
31424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31425 (exit $ac_status); }; } &&
31426 { ac_try='test -s conftest$ac_exeext'
31427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31428 (eval $ac_try) 2>&5
31429 ac_status=$?
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); }; }; then
31432 ac_cv_val_LC_MESSAGES=yes
31433 else
31434 echo "$as_me: failed program was:" >&5
31435 sed 's/^/| /' conftest.$ac_ext >&5
31437 ac_cv_val_LC_MESSAGES=no
31439 rm -f conftest.err conftest.$ac_objext \
31440 conftest$ac_exeext conftest.$ac_ext
31442 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31443 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31444 if test $ac_cv_val_LC_MESSAGES = yes; then
31446 cat >>confdefs.h <<\_ACEOF
31447 #define HAVE_LC_MESSAGES 1
31448 _ACEOF
31457 cat >conftest.$ac_ext <<_ACEOF
31458 /* confdefs.h. */
31459 _ACEOF
31460 cat confdefs.h >>conftest.$ac_ext
31461 cat >>conftest.$ac_ext <<_ACEOF
31462 /* end confdefs.h. */
31463 #include <setjmp.h>
31465 main ()
31467 sigjmp_buf env;
31468 while (! sigsetjmp (env, 1))
31469 siglongjmp (env, 1);
31472 return 0;
31474 _ACEOF
31475 rm -f conftest.$ac_objext
31476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31477 (eval $ac_compile) 2>conftest.er1
31478 ac_status=$?
31479 grep -v '^ *+' conftest.er1 >conftest.err
31480 rm -f conftest.er1
31481 cat conftest.err >&5
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); } &&
31484 { ac_try='test -z "$ac_c_werror_flag"
31485 || test ! -s conftest.err'
31486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487 (eval $ac_try) 2>&5
31488 ac_status=$?
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; } &&
31491 { ac_try='test -s conftest.$ac_objext'
31492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31493 (eval $ac_try) 2>&5
31494 ac_status=$?
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); }; }; then
31498 cat >>confdefs.h <<\_ACEOF
31499 #define HAVE_SIGSETJMP 1
31500 _ACEOF
31502 else
31503 echo "$as_me: failed program was:" >&5
31504 sed 's/^/| /' conftest.$ac_ext >&5
31507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31509 if test x$gcc_no_link = xyes; then
31510 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31511 ac_cv_func_mmap_fixed_mapped=no
31514 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31517 for ac_header in stdlib.h unistd.h
31519 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31521 echo "$as_me:$LINENO: checking for $ac_header" >&5
31522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31524 echo $ECHO_N "(cached) $ECHO_C" >&6
31526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31528 else
31529 # Is the header compilable?
31530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31532 cat >conftest.$ac_ext <<_ACEOF
31533 /* confdefs.h. */
31534 _ACEOF
31535 cat confdefs.h >>conftest.$ac_ext
31536 cat >>conftest.$ac_ext <<_ACEOF
31537 /* end confdefs.h. */
31538 $ac_includes_default
31539 #include <$ac_header>
31540 _ACEOF
31541 rm -f conftest.$ac_objext
31542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31543 (eval $ac_compile) 2>conftest.er1
31544 ac_status=$?
31545 grep -v '^ *+' conftest.er1 >conftest.err
31546 rm -f conftest.er1
31547 cat conftest.err >&5
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); } &&
31550 { ac_try='test -z "$ac_c_werror_flag"
31551 || test ! -s conftest.err'
31552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31553 (eval $ac_try) 2>&5
31554 ac_status=$?
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); }; } &&
31557 { ac_try='test -s conftest.$ac_objext'
31558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31559 (eval $ac_try) 2>&5
31560 ac_status=$?
31561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31562 (exit $ac_status); }; }; then
31563 ac_header_compiler=yes
31564 else
31565 echo "$as_me: failed program was:" >&5
31566 sed 's/^/| /' conftest.$ac_ext >&5
31568 ac_header_compiler=no
31570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31572 echo "${ECHO_T}$ac_header_compiler" >&6
31574 # Is the header present?
31575 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31576 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31577 cat >conftest.$ac_ext <<_ACEOF
31578 /* confdefs.h. */
31579 _ACEOF
31580 cat confdefs.h >>conftest.$ac_ext
31581 cat >>conftest.$ac_ext <<_ACEOF
31582 /* end confdefs.h. */
31583 #include <$ac_header>
31584 _ACEOF
31585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31586 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31587 ac_status=$?
31588 grep -v '^ *+' conftest.er1 >conftest.err
31589 rm -f conftest.er1
31590 cat conftest.err >&5
31591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592 (exit $ac_status); } >/dev/null; then
31593 if test -s conftest.err; then
31594 ac_cpp_err=$ac_c_preproc_warn_flag
31595 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31596 else
31597 ac_cpp_err=
31599 else
31600 ac_cpp_err=yes
31602 if test -z "$ac_cpp_err"; then
31603 ac_header_preproc=yes
31604 else
31605 echo "$as_me: failed program was:" >&5
31606 sed 's/^/| /' conftest.$ac_ext >&5
31608 ac_header_preproc=no
31610 rm -f conftest.err conftest.$ac_ext
31611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31612 echo "${ECHO_T}$ac_header_preproc" >&6
31614 # So? What about this header?
31615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31616 yes:no: )
31617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31621 ac_header_preproc=yes
31623 no:yes:* )
31624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31637 cat <<\_ASBOX
31638 ## ----------------------------------------- ##
31639 ## Report this to the package-unused lists. ##
31640 ## ----------------------------------------- ##
31641 _ASBOX
31643 sed "s/^/$as_me: WARNING: /" >&2
31645 esac
31646 echo "$as_me:$LINENO: checking for $ac_header" >&5
31647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31649 echo $ECHO_N "(cached) $ECHO_C" >&6
31650 else
31651 eval "$as_ac_Header=\$ac_header_preproc"
31653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31658 cat >>confdefs.h <<_ACEOF
31659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31660 _ACEOF
31664 done
31667 for ac_func in getpagesize
31669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31670 echo "$as_me:$LINENO: checking for $ac_func" >&5
31671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31672 if eval "test \"\${$as_ac_var+set}\" = set"; then
31673 echo $ECHO_N "(cached) $ECHO_C" >&6
31674 else
31675 if test x$gcc_no_link = xyes; then
31676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31678 { (exit 1); exit 1; }; }
31680 cat >conftest.$ac_ext <<_ACEOF
31681 /* confdefs.h. */
31682 _ACEOF
31683 cat confdefs.h >>conftest.$ac_ext
31684 cat >>conftest.$ac_ext <<_ACEOF
31685 /* end confdefs.h. */
31686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31688 #define $ac_func innocuous_$ac_func
31690 /* System header to define __stub macros and hopefully few prototypes,
31691 which can conflict with char $ac_func (); below.
31692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31693 <limits.h> exists even on freestanding compilers. */
31695 #ifdef __STDC__
31696 # include <limits.h>
31697 #else
31698 # include <assert.h>
31699 #endif
31701 #undef $ac_func
31703 /* Override any gcc2 internal prototype to avoid an error. */
31704 #ifdef __cplusplus
31705 extern "C"
31707 #endif
31708 /* We use char because int might match the return type of a gcc2
31709 builtin and then its argument prototype would still apply. */
31710 char $ac_func ();
31711 /* The GNU C library defines this for functions which it implements
31712 to always fail with ENOSYS. Some functions are actually named
31713 something starting with __ and the normal name is an alias. */
31714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31715 choke me
31716 #else
31717 char (*f) () = $ac_func;
31718 #endif
31719 #ifdef __cplusplus
31721 #endif
31724 main ()
31726 return f != $ac_func;
31728 return 0;
31730 _ACEOF
31731 rm -f conftest.$ac_objext conftest$ac_exeext
31732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31733 (eval $ac_link) 2>conftest.er1
31734 ac_status=$?
31735 grep -v '^ *+' conftest.er1 >conftest.err
31736 rm -f conftest.er1
31737 cat conftest.err >&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); } &&
31740 { ac_try='test -z "$ac_c_werror_flag"
31741 || test ! -s conftest.err'
31742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31743 (eval $ac_try) 2>&5
31744 ac_status=$?
31745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746 (exit $ac_status); }; } &&
31747 { ac_try='test -s conftest$ac_exeext'
31748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31749 (eval $ac_try) 2>&5
31750 ac_status=$?
31751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31752 (exit $ac_status); }; }; then
31753 eval "$as_ac_var=yes"
31754 else
31755 echo "$as_me: failed program was:" >&5
31756 sed 's/^/| /' conftest.$ac_ext >&5
31758 eval "$as_ac_var=no"
31760 rm -f conftest.err conftest.$ac_objext \
31761 conftest$ac_exeext conftest.$ac_ext
31763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31765 if test `eval echo '${'$as_ac_var'}'` = yes; then
31766 cat >>confdefs.h <<_ACEOF
31767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31768 _ACEOF
31771 done
31773 echo "$as_me:$LINENO: checking for working mmap" >&5
31774 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
31775 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
31776 echo $ECHO_N "(cached) $ECHO_C" >&6
31777 else
31778 if test "$cross_compiling" = yes; then
31779 ac_cv_func_mmap_fixed_mapped=no
31780 else
31781 cat >conftest.$ac_ext <<_ACEOF
31782 /* confdefs.h. */
31783 _ACEOF
31784 cat confdefs.h >>conftest.$ac_ext
31785 cat >>conftest.$ac_ext <<_ACEOF
31786 /* end confdefs.h. */
31787 $ac_includes_default
31788 /* malloc might have been renamed as rpl_malloc. */
31789 #undef malloc
31791 /* Thanks to Mike Haertel and Jim Avera for this test.
31792 Here is a matrix of mmap possibilities:
31793 mmap private not fixed
31794 mmap private fixed at somewhere currently unmapped
31795 mmap private fixed at somewhere already mapped
31796 mmap shared not fixed
31797 mmap shared fixed at somewhere currently unmapped
31798 mmap shared fixed at somewhere already mapped
31799 For private mappings, we should verify that changes cannot be read()
31800 back from the file, nor mmap's back from the file at a different
31801 address. (There have been systems where private was not correctly
31802 implemented like the infamous i386 svr4.0, and systems where the
31803 VM page cache was not coherent with the file system buffer cache
31804 like early versions of FreeBSD and possibly contemporary NetBSD.)
31805 For shared mappings, we should conversely verify that changes get
31806 propagated back to all the places they're supposed to be.
31808 Grep wants private fixed already mapped.
31809 The main things grep needs to know about mmap are:
31810 * does it exist and is it safe to write into the mmap'd area
31811 * how to use it (BSD variants) */
31813 #include <fcntl.h>
31814 #include <sys/mman.h>
31816 #if !STDC_HEADERS && !HAVE_STDLIB_H
31817 char *malloc ();
31818 #endif
31820 /* This mess was copied from the GNU getpagesize.h. */
31821 #if !HAVE_GETPAGESIZE
31822 /* Assume that all systems that can run configure have sys/param.h. */
31823 # if !HAVE_SYS_PARAM_H
31824 # define HAVE_SYS_PARAM_H 1
31825 # endif
31827 # ifdef _SC_PAGESIZE
31828 # define getpagesize() sysconf(_SC_PAGESIZE)
31829 # else /* no _SC_PAGESIZE */
31830 # if HAVE_SYS_PARAM_H
31831 # include <sys/param.h>
31832 # ifdef EXEC_PAGESIZE
31833 # define getpagesize() EXEC_PAGESIZE
31834 # else /* no EXEC_PAGESIZE */
31835 # ifdef NBPG
31836 # define getpagesize() NBPG * CLSIZE
31837 # ifndef CLSIZE
31838 # define CLSIZE 1
31839 # endif /* no CLSIZE */
31840 # else /* no NBPG */
31841 # ifdef NBPC
31842 # define getpagesize() NBPC
31843 # else /* no NBPC */
31844 # ifdef PAGESIZE
31845 # define getpagesize() PAGESIZE
31846 # endif /* PAGESIZE */
31847 # endif /* no NBPC */
31848 # endif /* no NBPG */
31849 # endif /* no EXEC_PAGESIZE */
31850 # else /* no HAVE_SYS_PARAM_H */
31851 # define getpagesize() 8192 /* punt totally */
31852 # endif /* no HAVE_SYS_PARAM_H */
31853 # endif /* no _SC_PAGESIZE */
31855 #endif /* no HAVE_GETPAGESIZE */
31858 main ()
31860 char *data, *data2, *data3;
31861 int i, pagesize;
31862 int fd;
31864 pagesize = getpagesize ();
31866 /* First, make a file with some known garbage in it. */
31867 data = (char *) malloc (pagesize);
31868 if (!data)
31869 exit (1);
31870 for (i = 0; i < pagesize; ++i)
31871 *(data + i) = rand ();
31872 umask (0);
31873 fd = creat ("conftest.mmap", 0600);
31874 if (fd < 0)
31875 exit (1);
31876 if (write (fd, data, pagesize) != pagesize)
31877 exit (1);
31878 close (fd);
31880 /* Next, try to mmap the file at a fixed address which already has
31881 something else allocated at it. If we can, also make sure that
31882 we see the same garbage. */
31883 fd = open ("conftest.mmap", O_RDWR);
31884 if (fd < 0)
31885 exit (1);
31886 data2 = (char *) malloc (2 * pagesize);
31887 if (!data2)
31888 exit (1);
31889 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
31890 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
31891 MAP_PRIVATE | MAP_FIXED, fd, 0L))
31892 exit (1);
31893 for (i = 0; i < pagesize; ++i)
31894 if (*(data + i) != *(data2 + i))
31895 exit (1);
31897 /* Finally, make sure that changes to the mapped area do not
31898 percolate back to the file as seen by read(). (This is a bug on
31899 some variants of i386 svr4.0.) */
31900 for (i = 0; i < pagesize; ++i)
31901 *(data2 + i) = *(data2 + i) + 1;
31902 data3 = (char *) malloc (pagesize);
31903 if (!data3)
31904 exit (1);
31905 if (read (fd, data3, pagesize) != pagesize)
31906 exit (1);
31907 for (i = 0; i < pagesize; ++i)
31908 if (*(data + i) != *(data3 + i))
31909 exit (1);
31910 close (fd);
31911 exit (0);
31913 _ACEOF
31914 rm -f conftest$ac_exeext
31915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31916 (eval $ac_link) 2>&5
31917 ac_status=$?
31918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31921 (eval $ac_try) 2>&5
31922 ac_status=$?
31923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31924 (exit $ac_status); }; }; then
31925 ac_cv_func_mmap_fixed_mapped=yes
31926 else
31927 echo "$as_me: program exited with status $ac_status" >&5
31928 echo "$as_me: failed program was:" >&5
31929 sed 's/^/| /' conftest.$ac_ext >&5
31931 ( exit $ac_status )
31932 ac_cv_func_mmap_fixed_mapped=no
31934 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31937 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
31938 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
31939 if test $ac_cv_func_mmap_fixed_mapped = yes; then
31941 cat >>confdefs.h <<\_ACEOF
31942 #define HAVE_MMAP 1
31943 _ACEOF
31946 rm -f conftest.mmap
31950 else
31952 # This lets us hard-code the functionality we know we'll have in the cross
31953 # target environment. "Let" is a sugar-coated word placed on an especially
31954 # dull and tedious hack, actually.
31956 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
31957 # that involve linking, can't be used:
31958 # "cannot open sim-crt0.o"
31959 # "cannot open crt0.o"
31960 # etc. All this is because there currently exists no unified, consistent
31961 # way for top level CC information to be passed down to target directories:
31962 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
31963 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
31964 # crosses can be removed.
31966 # If Canadian cross, then don't pick up tools from the build directory.
31967 # Used only in GLIBCXX_EXPORT_INCLUDES.
31968 if test -n "$with_cross_host" &&
31969 test x"$build_alias" != x"$with_cross_host" &&
31970 test x"$build" != x"$target";
31971 then
31972 CANADIAN=yes
31973 else
31974 CANADIAN=no
31977 # Construct crosses by hand, eliminating bits that need ld...
31978 # GLIBCXX_CHECK_COMPILER_FEATURES
31979 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
31980 # GLIBCXX_CHECK_MATH_SUPPORT
31982 # First, test for "known" system libraries. We may be using newlib even
31983 # on a hosted environment.
31984 if test "x${with_newlib}" = "xyes"; then
31985 os_include_dir="os/newlib"
31986 cat >>confdefs.h <<\_ACEOF
31987 #define HAVE_HYPOT 1
31988 _ACEOF
31991 # GLIBCXX_CHECK_STDLIB_SUPPORT
31992 cat >>confdefs.h <<\_ACEOF
31993 #define HAVE_STRTOF 1
31994 _ACEOF
31996 # AC_FUNC_MMAP
31997 cat >>confdefs.h <<\_ACEOF
31998 #define HAVE_MMAP 1
31999 _ACEOF
32002 cat >>confdefs.h <<\_ACEOF
32003 #define HAVE_ACOSF 1
32004 _ACEOF
32006 cat >>confdefs.h <<\_ACEOF
32007 #define HAVE_ASINF 1
32008 _ACEOF
32010 cat >>confdefs.h <<\_ACEOF
32011 #define HAVE_ATAN2F 1
32012 _ACEOF
32014 cat >>confdefs.h <<\_ACEOF
32015 #define HAVE_ATANF 1
32016 _ACEOF
32018 cat >>confdefs.h <<\_ACEOF
32019 #define HAVE_CEILF 1
32020 _ACEOF
32022 cat >>confdefs.h <<\_ACEOF
32023 #define HAVE_COPYSIGN 1
32024 _ACEOF
32026 cat >>confdefs.h <<\_ACEOF
32027 #define HAVE_COPYSIGNF 1
32028 _ACEOF
32030 cat >>confdefs.h <<\_ACEOF
32031 #define HAVE_COSF 1
32032 _ACEOF
32034 cat >>confdefs.h <<\_ACEOF
32035 #define HAVE_COSHF 1
32036 _ACEOF
32038 cat >>confdefs.h <<\_ACEOF
32039 #define HAVE_EXPF 1
32040 _ACEOF
32042 cat >>confdefs.h <<\_ACEOF
32043 #define HAVE_FABSF 1
32044 _ACEOF
32046 cat >>confdefs.h <<\_ACEOF
32047 #define HAVE_FLOORF 1
32048 _ACEOF
32050 cat >>confdefs.h <<\_ACEOF
32051 #define HAVE_FMODF 1
32052 _ACEOF
32054 cat >>confdefs.h <<\_ACEOF
32055 #define HAVE_FREXPF 1
32056 _ACEOF
32058 cat >>confdefs.h <<\_ACEOF
32059 #define HAVE_LDEXPF 1
32060 _ACEOF
32062 cat >>confdefs.h <<\_ACEOF
32063 #define HAVE_LOG10F 1
32064 _ACEOF
32066 cat >>confdefs.h <<\_ACEOF
32067 #define HAVE_LOGF 1
32068 _ACEOF
32070 cat >>confdefs.h <<\_ACEOF
32071 #define HAVE_MODFF 1
32072 _ACEOF
32074 cat >>confdefs.h <<\_ACEOF
32075 #define HAVE_POWF 1
32076 _ACEOF
32078 cat >>confdefs.h <<\_ACEOF
32079 #define HAVE_SINF 1
32080 _ACEOF
32082 cat >>confdefs.h <<\_ACEOF
32083 #define HAVE_SINHF 1
32084 _ACEOF
32086 cat >>confdefs.h <<\_ACEOF
32087 #define HAVE_SQRTF 1
32088 _ACEOF
32090 cat >>confdefs.h <<\_ACEOF
32091 #define HAVE_TANF 1
32092 _ACEOF
32094 cat >>confdefs.h <<\_ACEOF
32095 #define HAVE_TANHF 1
32096 _ACEOF
32099 cat >>confdefs.h <<\_ACEOF
32100 #define HAVE_S_ISREG 1
32101 _ACEOF
32103 cat >>confdefs.h <<\_ACEOF
32104 #define HAVE_S_IFREG 1
32105 _ACEOF
32107 else
32109 # Base decisions on target environment.
32110 case "${host}" in
32111 arm*-*-symbianelf*)
32112 # This is a freestanding configuration; there is nothing to do here.
32115 *-darwin*)
32116 # Darwin versions vary, but the linker should work in a cross environment,
32117 # so we just check for all the features here.
32118 # Check for available headers.
32132 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32133 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32134 sys/types.h
32136 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32138 echo "$as_me:$LINENO: checking for $ac_header" >&5
32139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32141 echo $ECHO_N "(cached) $ECHO_C" >&6
32143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32145 else
32146 # Is the header compilable?
32147 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32149 cat >conftest.$ac_ext <<_ACEOF
32150 /* confdefs.h. */
32151 _ACEOF
32152 cat confdefs.h >>conftest.$ac_ext
32153 cat >>conftest.$ac_ext <<_ACEOF
32154 /* end confdefs.h. */
32155 $ac_includes_default
32156 #include <$ac_header>
32157 _ACEOF
32158 rm -f conftest.$ac_objext
32159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32160 (eval $ac_compile) 2>conftest.er1
32161 ac_status=$?
32162 grep -v '^ *+' conftest.er1 >conftest.err
32163 rm -f conftest.er1
32164 cat conftest.err >&5
32165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32166 (exit $ac_status); } &&
32167 { ac_try='test -z "$ac_c_werror_flag"
32168 || test ! -s conftest.err'
32169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32170 (eval $ac_try) 2>&5
32171 ac_status=$?
32172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 (exit $ac_status); }; } &&
32174 { ac_try='test -s conftest.$ac_objext'
32175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32176 (eval $ac_try) 2>&5
32177 ac_status=$?
32178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32179 (exit $ac_status); }; }; then
32180 ac_header_compiler=yes
32181 else
32182 echo "$as_me: failed program was:" >&5
32183 sed 's/^/| /' conftest.$ac_ext >&5
32185 ac_header_compiler=no
32187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32189 echo "${ECHO_T}$ac_header_compiler" >&6
32191 # Is the header present?
32192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32194 cat >conftest.$ac_ext <<_ACEOF
32195 /* confdefs.h. */
32196 _ACEOF
32197 cat confdefs.h >>conftest.$ac_ext
32198 cat >>conftest.$ac_ext <<_ACEOF
32199 /* end confdefs.h. */
32200 #include <$ac_header>
32201 _ACEOF
32202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32204 ac_status=$?
32205 grep -v '^ *+' conftest.er1 >conftest.err
32206 rm -f conftest.er1
32207 cat conftest.err >&5
32208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32209 (exit $ac_status); } >/dev/null; then
32210 if test -s conftest.err; then
32211 ac_cpp_err=$ac_c_preproc_warn_flag
32212 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32213 else
32214 ac_cpp_err=
32216 else
32217 ac_cpp_err=yes
32219 if test -z "$ac_cpp_err"; then
32220 ac_header_preproc=yes
32221 else
32222 echo "$as_me: failed program was:" >&5
32223 sed 's/^/| /' conftest.$ac_ext >&5
32225 ac_header_preproc=no
32227 rm -f conftest.err conftest.$ac_ext
32228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32229 echo "${ECHO_T}$ac_header_preproc" >&6
32231 # So? What about this header?
32232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32233 yes:no: )
32234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32238 ac_header_preproc=yes
32240 no:yes:* )
32241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32254 cat <<\_ASBOX
32255 ## ----------------------------------------- ##
32256 ## Report this to the package-unused lists. ##
32257 ## ----------------------------------------- ##
32258 _ASBOX
32260 sed "s/^/$as_me: WARNING: /" >&2
32262 esac
32263 echo "$as_me:$LINENO: checking for $ac_header" >&5
32264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32266 echo $ECHO_N "(cached) $ECHO_C" >&6
32267 else
32268 eval "$as_ac_Header=\$ac_header_preproc"
32270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32275 cat >>confdefs.h <<_ACEOF
32276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32277 _ACEOF
32281 done
32285 # All these tests are for C++; save the language and the compiler flags.
32286 # The CXXFLAGS thing is suspicious, but based on similar bits previously
32287 # found in GLIBCXX_CONFIGURE.
32290 ac_ext=cc
32291 ac_cpp='$CXXCPP $CPPFLAGS'
32292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32296 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32297 ac_save_CXXFLAGS="$CXXFLAGS"
32299 # Check for maintainer-mode bits.
32300 if test x"$USE_MAINTAINER_MODE" = xno; then
32301 WERROR=''
32302 else
32303 WERROR='-Werror'
32306 # Check for -ffunction-sections -fdata-sections
32307 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
32308 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
32309 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
32310 cat >conftest.$ac_ext <<_ACEOF
32311 /* confdefs.h. */
32312 _ACEOF
32313 cat confdefs.h >>conftest.$ac_ext
32314 cat >>conftest.$ac_ext <<_ACEOF
32315 /* end confdefs.h. */
32318 main ()
32320 int foo;
32322 return 0;
32324 _ACEOF
32325 rm -f conftest.$ac_objext
32326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32327 (eval $ac_compile) 2>conftest.er1
32328 ac_status=$?
32329 grep -v '^ *+' conftest.er1 >conftest.err
32330 rm -f conftest.er1
32331 cat conftest.err >&5
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); } &&
32334 { ac_try='test -z "$ac_cxx_werror_flag"
32335 || test ! -s conftest.err'
32336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32337 (eval $ac_try) 2>&5
32338 ac_status=$?
32339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32340 (exit $ac_status); }; } &&
32341 { ac_try='test -s conftest.$ac_objext'
32342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32343 (eval $ac_try) 2>&5
32344 ac_status=$?
32345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32346 (exit $ac_status); }; }; then
32347 ac_fdsections=yes
32348 else
32349 echo "$as_me: failed program was:" >&5
32350 sed 's/^/| /' conftest.$ac_ext >&5
32352 ac_fdsections=no
32354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32355 if test "$ac_test_CXXFLAGS" = set; then
32356 CXXFLAGS="$ac_save_CXXFLAGS"
32357 else
32358 # this is the suspicious part
32359 CXXFLAGS=''
32361 if test x"$ac_fdsections" = x"yes"; then
32362 SECTION_FLAGS='-ffunction-sections -fdata-sections'
32364 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
32365 echo "${ECHO_T}$ac_fdsections" >&6
32367 ac_ext=c
32368 ac_cpp='$CPP $CPPFLAGS'
32369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32376 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32378 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32379 ac_save_CXXFLAGS="$CXXFLAGS"
32380 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32382 echo "$as_me:$LINENO: checking for sin in -lm" >&5
32383 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32384 if test "${ac_cv_lib_m_sin+set}" = set; then
32385 echo $ECHO_N "(cached) $ECHO_C" >&6
32386 else
32387 ac_check_lib_save_LIBS=$LIBS
32388 LIBS="-lm $LIBS"
32389 if test x$gcc_no_link = xyes; then
32390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32392 { (exit 1); exit 1; }; }
32394 cat >conftest.$ac_ext <<_ACEOF
32395 /* confdefs.h. */
32396 _ACEOF
32397 cat confdefs.h >>conftest.$ac_ext
32398 cat >>conftest.$ac_ext <<_ACEOF
32399 /* end confdefs.h. */
32401 /* Override any gcc2 internal prototype to avoid an error. */
32402 #ifdef __cplusplus
32403 extern "C"
32404 #endif
32405 /* We use char because int might match the return type of a gcc2
32406 builtin and then its argument prototype would still apply. */
32407 char sin ();
32409 main ()
32411 sin ();
32413 return 0;
32415 _ACEOF
32416 rm -f conftest.$ac_objext conftest$ac_exeext
32417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32418 (eval $ac_link) 2>conftest.er1
32419 ac_status=$?
32420 grep -v '^ *+' conftest.er1 >conftest.err
32421 rm -f conftest.er1
32422 cat conftest.err >&5
32423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424 (exit $ac_status); } &&
32425 { ac_try='test -z "$ac_c_werror_flag"
32426 || test ! -s conftest.err'
32427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32428 (eval $ac_try) 2>&5
32429 ac_status=$?
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); }; } &&
32432 { ac_try='test -s conftest$ac_exeext'
32433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434 (eval $ac_try) 2>&5
32435 ac_status=$?
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; }; then
32438 ac_cv_lib_m_sin=yes
32439 else
32440 echo "$as_me: failed program was:" >&5
32441 sed 's/^/| /' conftest.$ac_ext >&5
32443 ac_cv_lib_m_sin=no
32445 rm -f conftest.err conftest.$ac_objext \
32446 conftest$ac_exeext conftest.$ac_ext
32447 LIBS=$ac_check_lib_save_LIBS
32449 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
32450 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
32451 if test $ac_cv_lib_m_sin = yes; then
32452 libm="-lm"
32455 ac_save_LIBS="$LIBS"
32456 LIBS="$LIBS $libm"
32460 echo "$as_me:$LINENO: checking for isinf declaration" >&5
32461 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
32462 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32463 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
32464 echo $ECHO_N "(cached) $ECHO_C" >&6
32465 else
32469 ac_ext=cc
32470 ac_cpp='$CXXCPP $CPPFLAGS'
32471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32475 cat >conftest.$ac_ext <<_ACEOF
32476 /* confdefs.h. */
32477 _ACEOF
32478 cat confdefs.h >>conftest.$ac_ext
32479 cat >>conftest.$ac_ext <<_ACEOF
32480 /* end confdefs.h. */
32481 #include <math.h>
32482 #ifdef HAVE_IEEEFP_H
32483 #include <ieeefp.h>
32484 #endif
32487 main ()
32489 isinf(0);
32491 return 0;
32493 _ACEOF
32494 rm -f conftest.$ac_objext
32495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32496 (eval $ac_compile) 2>conftest.er1
32497 ac_status=$?
32498 grep -v '^ *+' conftest.er1 >conftest.err
32499 rm -f conftest.er1
32500 cat conftest.err >&5
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); } &&
32503 { ac_try='test -z "$ac_cxx_werror_flag"
32504 || test ! -s conftest.err'
32505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32506 (eval $ac_try) 2>&5
32507 ac_status=$?
32508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32509 (exit $ac_status); }; } &&
32510 { ac_try='test -s conftest.$ac_objext'
32511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32512 (eval $ac_try) 2>&5
32513 ac_status=$?
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); }; }; then
32516 glibcxx_cv_func_isinf_use=yes
32517 else
32518 echo "$as_me: failed program was:" >&5
32519 sed 's/^/| /' conftest.$ac_ext >&5
32521 glibcxx_cv_func_isinf_use=no
32523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32524 ac_ext=c
32525 ac_cpp='$CPP $CPPFLAGS'
32526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32534 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
32535 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
32537 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32539 for ac_func in isinf
32541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32542 echo "$as_me:$LINENO: checking for $ac_func" >&5
32543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32544 if eval "test \"\${$as_ac_var+set}\" = set"; then
32545 echo $ECHO_N "(cached) $ECHO_C" >&6
32546 else
32547 if test x$gcc_no_link = xyes; then
32548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32550 { (exit 1); exit 1; }; }
32552 cat >conftest.$ac_ext <<_ACEOF
32553 /* confdefs.h. */
32554 _ACEOF
32555 cat confdefs.h >>conftest.$ac_ext
32556 cat >>conftest.$ac_ext <<_ACEOF
32557 /* end confdefs.h. */
32558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32560 #define $ac_func innocuous_$ac_func
32562 /* System header to define __stub macros and hopefully few prototypes,
32563 which can conflict with char $ac_func (); below.
32564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32565 <limits.h> exists even on freestanding compilers. */
32567 #ifdef __STDC__
32568 # include <limits.h>
32569 #else
32570 # include <assert.h>
32571 #endif
32573 #undef $ac_func
32575 /* Override any gcc2 internal prototype to avoid an error. */
32576 #ifdef __cplusplus
32577 extern "C"
32579 #endif
32580 /* We use char because int might match the return type of a gcc2
32581 builtin and then its argument prototype would still apply. */
32582 char $ac_func ();
32583 /* The GNU C library defines this for functions which it implements
32584 to always fail with ENOSYS. Some functions are actually named
32585 something starting with __ and the normal name is an alias. */
32586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32587 choke me
32588 #else
32589 char (*f) () = $ac_func;
32590 #endif
32591 #ifdef __cplusplus
32593 #endif
32596 main ()
32598 return f != $ac_func;
32600 return 0;
32602 _ACEOF
32603 rm -f conftest.$ac_objext conftest$ac_exeext
32604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32605 (eval $ac_link) 2>conftest.er1
32606 ac_status=$?
32607 grep -v '^ *+' conftest.er1 >conftest.err
32608 rm -f conftest.er1
32609 cat conftest.err >&5
32610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32611 (exit $ac_status); } &&
32612 { ac_try='test -z "$ac_c_werror_flag"
32613 || test ! -s conftest.err'
32614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32615 (eval $ac_try) 2>&5
32616 ac_status=$?
32617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618 (exit $ac_status); }; } &&
32619 { ac_try='test -s conftest$ac_exeext'
32620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32621 (eval $ac_try) 2>&5
32622 ac_status=$?
32623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32624 (exit $ac_status); }; }; then
32625 eval "$as_ac_var=yes"
32626 else
32627 echo "$as_me: failed program was:" >&5
32628 sed 's/^/| /' conftest.$ac_ext >&5
32630 eval "$as_ac_var=no"
32632 rm -f conftest.err conftest.$ac_objext \
32633 conftest$ac_exeext conftest.$ac_ext
32635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32637 if test `eval echo '${'$as_ac_var'}'` = yes; then
32638 cat >>confdefs.h <<_ACEOF
32639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32640 _ACEOF
32643 done
32645 else
32647 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
32648 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
32649 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32650 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
32651 echo $ECHO_N "(cached) $ECHO_C" >&6
32652 else
32656 ac_ext=cc
32657 ac_cpp='$CXXCPP $CPPFLAGS'
32658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32662 cat >conftest.$ac_ext <<_ACEOF
32663 /* confdefs.h. */
32664 _ACEOF
32665 cat confdefs.h >>conftest.$ac_ext
32666 cat >>conftest.$ac_ext <<_ACEOF
32667 /* end confdefs.h. */
32668 #include <math.h>
32669 #ifdef HAVE_IEEEFP_H
32670 #include <ieeefp.h>
32671 #endif
32674 main ()
32676 _isinf(0);
32678 return 0;
32680 _ACEOF
32681 rm -f conftest.$ac_objext
32682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32683 (eval $ac_compile) 2>conftest.er1
32684 ac_status=$?
32685 grep -v '^ *+' conftest.er1 >conftest.err
32686 rm -f conftest.er1
32687 cat conftest.err >&5
32688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32689 (exit $ac_status); } &&
32690 { ac_try='test -z "$ac_cxx_werror_flag"
32691 || test ! -s conftest.err'
32692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32693 (eval $ac_try) 2>&5
32694 ac_status=$?
32695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32696 (exit $ac_status); }; } &&
32697 { ac_try='test -s conftest.$ac_objext'
32698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32699 (eval $ac_try) 2>&5
32700 ac_status=$?
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); }; }; then
32703 glibcxx_cv_func__isinf_use=yes
32704 else
32705 echo "$as_me: failed program was:" >&5
32706 sed 's/^/| /' conftest.$ac_ext >&5
32708 glibcxx_cv_func__isinf_use=no
32710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32711 ac_ext=c
32712 ac_cpp='$CPP $CPPFLAGS'
32713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32721 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
32722 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
32724 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32726 for ac_func in _isinf
32728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32729 echo "$as_me:$LINENO: checking for $ac_func" >&5
32730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32731 if eval "test \"\${$as_ac_var+set}\" = set"; then
32732 echo $ECHO_N "(cached) $ECHO_C" >&6
32733 else
32734 if test x$gcc_no_link = xyes; then
32735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32737 { (exit 1); exit 1; }; }
32739 cat >conftest.$ac_ext <<_ACEOF
32740 /* confdefs.h. */
32741 _ACEOF
32742 cat confdefs.h >>conftest.$ac_ext
32743 cat >>conftest.$ac_ext <<_ACEOF
32744 /* end confdefs.h. */
32745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32747 #define $ac_func innocuous_$ac_func
32749 /* System header to define __stub macros and hopefully few prototypes,
32750 which can conflict with char $ac_func (); below.
32751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32752 <limits.h> exists even on freestanding compilers. */
32754 #ifdef __STDC__
32755 # include <limits.h>
32756 #else
32757 # include <assert.h>
32758 #endif
32760 #undef $ac_func
32762 /* Override any gcc2 internal prototype to avoid an error. */
32763 #ifdef __cplusplus
32764 extern "C"
32766 #endif
32767 /* We use char because int might match the return type of a gcc2
32768 builtin and then its argument prototype would still apply. */
32769 char $ac_func ();
32770 /* The GNU C library defines this for functions which it implements
32771 to always fail with ENOSYS. Some functions are actually named
32772 something starting with __ and the normal name is an alias. */
32773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32774 choke me
32775 #else
32776 char (*f) () = $ac_func;
32777 #endif
32778 #ifdef __cplusplus
32780 #endif
32783 main ()
32785 return f != $ac_func;
32787 return 0;
32789 _ACEOF
32790 rm -f conftest.$ac_objext conftest$ac_exeext
32791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32792 (eval $ac_link) 2>conftest.er1
32793 ac_status=$?
32794 grep -v '^ *+' conftest.er1 >conftest.err
32795 rm -f conftest.er1
32796 cat conftest.err >&5
32797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32798 (exit $ac_status); } &&
32799 { ac_try='test -z "$ac_c_werror_flag"
32800 || test ! -s conftest.err'
32801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32802 (eval $ac_try) 2>&5
32803 ac_status=$?
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); }; } &&
32806 { ac_try='test -s conftest$ac_exeext'
32807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32808 (eval $ac_try) 2>&5
32809 ac_status=$?
32810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32811 (exit $ac_status); }; }; then
32812 eval "$as_ac_var=yes"
32813 else
32814 echo "$as_me: failed program was:" >&5
32815 sed 's/^/| /' conftest.$ac_ext >&5
32817 eval "$as_ac_var=no"
32819 rm -f conftest.err conftest.$ac_objext \
32820 conftest$ac_exeext conftest.$ac_ext
32822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32824 if test `eval echo '${'$as_ac_var'}'` = yes; then
32825 cat >>confdefs.h <<_ACEOF
32826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32827 _ACEOF
32830 done
32840 echo "$as_me:$LINENO: checking for isnan declaration" >&5
32841 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
32842 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32843 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
32844 echo $ECHO_N "(cached) $ECHO_C" >&6
32845 else
32849 ac_ext=cc
32850 ac_cpp='$CXXCPP $CPPFLAGS'
32851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32855 cat >conftest.$ac_ext <<_ACEOF
32856 /* confdefs.h. */
32857 _ACEOF
32858 cat confdefs.h >>conftest.$ac_ext
32859 cat >>conftest.$ac_ext <<_ACEOF
32860 /* end confdefs.h. */
32861 #include <math.h>
32862 #ifdef HAVE_IEEEFP_H
32863 #include <ieeefp.h>
32864 #endif
32867 main ()
32869 isnan(0);
32871 return 0;
32873 _ACEOF
32874 rm -f conftest.$ac_objext
32875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32876 (eval $ac_compile) 2>conftest.er1
32877 ac_status=$?
32878 grep -v '^ *+' conftest.er1 >conftest.err
32879 rm -f conftest.er1
32880 cat conftest.err >&5
32881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32882 (exit $ac_status); } &&
32883 { ac_try='test -z "$ac_cxx_werror_flag"
32884 || test ! -s conftest.err'
32885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32886 (eval $ac_try) 2>&5
32887 ac_status=$?
32888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32889 (exit $ac_status); }; } &&
32890 { ac_try='test -s conftest.$ac_objext'
32891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32892 (eval $ac_try) 2>&5
32893 ac_status=$?
32894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32895 (exit $ac_status); }; }; then
32896 glibcxx_cv_func_isnan_use=yes
32897 else
32898 echo "$as_me: failed program was:" >&5
32899 sed 's/^/| /' conftest.$ac_ext >&5
32901 glibcxx_cv_func_isnan_use=no
32903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32904 ac_ext=c
32905 ac_cpp='$CPP $CPPFLAGS'
32906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32914 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
32915 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
32917 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32919 for ac_func in isnan
32921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32922 echo "$as_me:$LINENO: checking for $ac_func" >&5
32923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32924 if eval "test \"\${$as_ac_var+set}\" = set"; then
32925 echo $ECHO_N "(cached) $ECHO_C" >&6
32926 else
32927 if test x$gcc_no_link = xyes; then
32928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32930 { (exit 1); exit 1; }; }
32932 cat >conftest.$ac_ext <<_ACEOF
32933 /* confdefs.h. */
32934 _ACEOF
32935 cat confdefs.h >>conftest.$ac_ext
32936 cat >>conftest.$ac_ext <<_ACEOF
32937 /* end confdefs.h. */
32938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32940 #define $ac_func innocuous_$ac_func
32942 /* System header to define __stub macros and hopefully few prototypes,
32943 which can conflict with char $ac_func (); below.
32944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32945 <limits.h> exists even on freestanding compilers. */
32947 #ifdef __STDC__
32948 # include <limits.h>
32949 #else
32950 # include <assert.h>
32951 #endif
32953 #undef $ac_func
32955 /* Override any gcc2 internal prototype to avoid an error. */
32956 #ifdef __cplusplus
32957 extern "C"
32959 #endif
32960 /* We use char because int might match the return type of a gcc2
32961 builtin and then its argument prototype would still apply. */
32962 char $ac_func ();
32963 /* The GNU C library defines this for functions which it implements
32964 to always fail with ENOSYS. Some functions are actually named
32965 something starting with __ and the normal name is an alias. */
32966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32967 choke me
32968 #else
32969 char (*f) () = $ac_func;
32970 #endif
32971 #ifdef __cplusplus
32973 #endif
32976 main ()
32978 return f != $ac_func;
32980 return 0;
32982 _ACEOF
32983 rm -f conftest.$ac_objext conftest$ac_exeext
32984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32985 (eval $ac_link) 2>conftest.er1
32986 ac_status=$?
32987 grep -v '^ *+' conftest.er1 >conftest.err
32988 rm -f conftest.er1
32989 cat conftest.err >&5
32990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32991 (exit $ac_status); } &&
32992 { ac_try='test -z "$ac_c_werror_flag"
32993 || test ! -s conftest.err'
32994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32995 (eval $ac_try) 2>&5
32996 ac_status=$?
32997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32998 (exit $ac_status); }; } &&
32999 { ac_try='test -s conftest$ac_exeext'
33000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33001 (eval $ac_try) 2>&5
33002 ac_status=$?
33003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33004 (exit $ac_status); }; }; then
33005 eval "$as_ac_var=yes"
33006 else
33007 echo "$as_me: failed program was:" >&5
33008 sed 's/^/| /' conftest.$ac_ext >&5
33010 eval "$as_ac_var=no"
33012 rm -f conftest.err conftest.$ac_objext \
33013 conftest$ac_exeext conftest.$ac_ext
33015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33017 if test `eval echo '${'$as_ac_var'}'` = yes; then
33018 cat >>confdefs.h <<_ACEOF
33019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33020 _ACEOF
33023 done
33025 else
33027 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33028 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33029 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33030 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33031 echo $ECHO_N "(cached) $ECHO_C" >&6
33032 else
33036 ac_ext=cc
33037 ac_cpp='$CXXCPP $CPPFLAGS'
33038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33042 cat >conftest.$ac_ext <<_ACEOF
33043 /* confdefs.h. */
33044 _ACEOF
33045 cat confdefs.h >>conftest.$ac_ext
33046 cat >>conftest.$ac_ext <<_ACEOF
33047 /* end confdefs.h. */
33048 #include <math.h>
33049 #ifdef HAVE_IEEEFP_H
33050 #include <ieeefp.h>
33051 #endif
33054 main ()
33056 _isnan(0);
33058 return 0;
33060 _ACEOF
33061 rm -f conftest.$ac_objext
33062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33063 (eval $ac_compile) 2>conftest.er1
33064 ac_status=$?
33065 grep -v '^ *+' conftest.er1 >conftest.err
33066 rm -f conftest.er1
33067 cat conftest.err >&5
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); } &&
33070 { ac_try='test -z "$ac_cxx_werror_flag"
33071 || test ! -s conftest.err'
33072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33073 (eval $ac_try) 2>&5
33074 ac_status=$?
33075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33076 (exit $ac_status); }; } &&
33077 { ac_try='test -s conftest.$ac_objext'
33078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33079 (eval $ac_try) 2>&5
33080 ac_status=$?
33081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33082 (exit $ac_status); }; }; then
33083 glibcxx_cv_func__isnan_use=yes
33084 else
33085 echo "$as_me: failed program was:" >&5
33086 sed 's/^/| /' conftest.$ac_ext >&5
33088 glibcxx_cv_func__isnan_use=no
33090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33091 ac_ext=c
33092 ac_cpp='$CPP $CPPFLAGS'
33093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33101 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33102 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33104 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33106 for ac_func in _isnan
33108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33109 echo "$as_me:$LINENO: checking for $ac_func" >&5
33110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33111 if eval "test \"\${$as_ac_var+set}\" = set"; then
33112 echo $ECHO_N "(cached) $ECHO_C" >&6
33113 else
33114 if test x$gcc_no_link = xyes; then
33115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33117 { (exit 1); exit 1; }; }
33119 cat >conftest.$ac_ext <<_ACEOF
33120 /* confdefs.h. */
33121 _ACEOF
33122 cat confdefs.h >>conftest.$ac_ext
33123 cat >>conftest.$ac_ext <<_ACEOF
33124 /* end confdefs.h. */
33125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33127 #define $ac_func innocuous_$ac_func
33129 /* System header to define __stub macros and hopefully few prototypes,
33130 which can conflict with char $ac_func (); below.
33131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33132 <limits.h> exists even on freestanding compilers. */
33134 #ifdef __STDC__
33135 # include <limits.h>
33136 #else
33137 # include <assert.h>
33138 #endif
33140 #undef $ac_func
33142 /* Override any gcc2 internal prototype to avoid an error. */
33143 #ifdef __cplusplus
33144 extern "C"
33146 #endif
33147 /* We use char because int might match the return type of a gcc2
33148 builtin and then its argument prototype would still apply. */
33149 char $ac_func ();
33150 /* The GNU C library defines this for functions which it implements
33151 to always fail with ENOSYS. Some functions are actually named
33152 something starting with __ and the normal name is an alias. */
33153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33154 choke me
33155 #else
33156 char (*f) () = $ac_func;
33157 #endif
33158 #ifdef __cplusplus
33160 #endif
33163 main ()
33165 return f != $ac_func;
33167 return 0;
33169 _ACEOF
33170 rm -f conftest.$ac_objext conftest$ac_exeext
33171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33172 (eval $ac_link) 2>conftest.er1
33173 ac_status=$?
33174 grep -v '^ *+' conftest.er1 >conftest.err
33175 rm -f conftest.er1
33176 cat conftest.err >&5
33177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33178 (exit $ac_status); } &&
33179 { ac_try='test -z "$ac_c_werror_flag"
33180 || test ! -s conftest.err'
33181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33182 (eval $ac_try) 2>&5
33183 ac_status=$?
33184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33185 (exit $ac_status); }; } &&
33186 { ac_try='test -s conftest$ac_exeext'
33187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33188 (eval $ac_try) 2>&5
33189 ac_status=$?
33190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33191 (exit $ac_status); }; }; then
33192 eval "$as_ac_var=yes"
33193 else
33194 echo "$as_me: failed program was:" >&5
33195 sed 's/^/| /' conftest.$ac_ext >&5
33197 eval "$as_ac_var=no"
33199 rm -f conftest.err conftest.$ac_objext \
33200 conftest$ac_exeext conftest.$ac_ext
33202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33204 if test `eval echo '${'$as_ac_var'}'` = yes; then
33205 cat >>confdefs.h <<_ACEOF
33206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33207 _ACEOF
33210 done
33220 echo "$as_me:$LINENO: checking for finite declaration" >&5
33221 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33222 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33223 if test "${glibcxx_cv_func_finite_use+set}" = set; then
33224 echo $ECHO_N "(cached) $ECHO_C" >&6
33225 else
33229 ac_ext=cc
33230 ac_cpp='$CXXCPP $CPPFLAGS'
33231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33235 cat >conftest.$ac_ext <<_ACEOF
33236 /* confdefs.h. */
33237 _ACEOF
33238 cat confdefs.h >>conftest.$ac_ext
33239 cat >>conftest.$ac_ext <<_ACEOF
33240 /* end confdefs.h. */
33241 #include <math.h>
33242 #ifdef HAVE_IEEEFP_H
33243 #include <ieeefp.h>
33244 #endif
33247 main ()
33249 finite(0);
33251 return 0;
33253 _ACEOF
33254 rm -f conftest.$ac_objext
33255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33256 (eval $ac_compile) 2>conftest.er1
33257 ac_status=$?
33258 grep -v '^ *+' conftest.er1 >conftest.err
33259 rm -f conftest.er1
33260 cat conftest.err >&5
33261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33262 (exit $ac_status); } &&
33263 { ac_try='test -z "$ac_cxx_werror_flag"
33264 || test ! -s conftest.err'
33265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33266 (eval $ac_try) 2>&5
33267 ac_status=$?
33268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33269 (exit $ac_status); }; } &&
33270 { ac_try='test -s conftest.$ac_objext'
33271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33272 (eval $ac_try) 2>&5
33273 ac_status=$?
33274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33275 (exit $ac_status); }; }; then
33276 glibcxx_cv_func_finite_use=yes
33277 else
33278 echo "$as_me: failed program was:" >&5
33279 sed 's/^/| /' conftest.$ac_ext >&5
33281 glibcxx_cv_func_finite_use=no
33283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33284 ac_ext=c
33285 ac_cpp='$CPP $CPPFLAGS'
33286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33294 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33295 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33297 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33299 for ac_func in finite
33301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33302 echo "$as_me:$LINENO: checking for $ac_func" >&5
33303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33304 if eval "test \"\${$as_ac_var+set}\" = set"; then
33305 echo $ECHO_N "(cached) $ECHO_C" >&6
33306 else
33307 if test x$gcc_no_link = xyes; then
33308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33310 { (exit 1); exit 1; }; }
33312 cat >conftest.$ac_ext <<_ACEOF
33313 /* confdefs.h. */
33314 _ACEOF
33315 cat confdefs.h >>conftest.$ac_ext
33316 cat >>conftest.$ac_ext <<_ACEOF
33317 /* end confdefs.h. */
33318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33320 #define $ac_func innocuous_$ac_func
33322 /* System header to define __stub macros and hopefully few prototypes,
33323 which can conflict with char $ac_func (); below.
33324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33325 <limits.h> exists even on freestanding compilers. */
33327 #ifdef __STDC__
33328 # include <limits.h>
33329 #else
33330 # include <assert.h>
33331 #endif
33333 #undef $ac_func
33335 /* Override any gcc2 internal prototype to avoid an error. */
33336 #ifdef __cplusplus
33337 extern "C"
33339 #endif
33340 /* We use char because int might match the return type of a gcc2
33341 builtin and then its argument prototype would still apply. */
33342 char $ac_func ();
33343 /* The GNU C library defines this for functions which it implements
33344 to always fail with ENOSYS. Some functions are actually named
33345 something starting with __ and the normal name is an alias. */
33346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33347 choke me
33348 #else
33349 char (*f) () = $ac_func;
33350 #endif
33351 #ifdef __cplusplus
33353 #endif
33356 main ()
33358 return f != $ac_func;
33360 return 0;
33362 _ACEOF
33363 rm -f conftest.$ac_objext conftest$ac_exeext
33364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33365 (eval $ac_link) 2>conftest.er1
33366 ac_status=$?
33367 grep -v '^ *+' conftest.er1 >conftest.err
33368 rm -f conftest.er1
33369 cat conftest.err >&5
33370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33371 (exit $ac_status); } &&
33372 { ac_try='test -z "$ac_c_werror_flag"
33373 || test ! -s conftest.err'
33374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33375 (eval $ac_try) 2>&5
33376 ac_status=$?
33377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33378 (exit $ac_status); }; } &&
33379 { ac_try='test -s conftest$ac_exeext'
33380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33381 (eval $ac_try) 2>&5
33382 ac_status=$?
33383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33384 (exit $ac_status); }; }; then
33385 eval "$as_ac_var=yes"
33386 else
33387 echo "$as_me: failed program was:" >&5
33388 sed 's/^/| /' conftest.$ac_ext >&5
33390 eval "$as_ac_var=no"
33392 rm -f conftest.err conftest.$ac_objext \
33393 conftest$ac_exeext conftest.$ac_ext
33395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33397 if test `eval echo '${'$as_ac_var'}'` = yes; then
33398 cat >>confdefs.h <<_ACEOF
33399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33400 _ACEOF
33403 done
33405 else
33407 echo "$as_me:$LINENO: checking for _finite declaration" >&5
33408 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
33409 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33410 if test "${glibcxx_cv_func__finite_use+set}" = set; then
33411 echo $ECHO_N "(cached) $ECHO_C" >&6
33412 else
33416 ac_ext=cc
33417 ac_cpp='$CXXCPP $CPPFLAGS'
33418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33422 cat >conftest.$ac_ext <<_ACEOF
33423 /* confdefs.h. */
33424 _ACEOF
33425 cat confdefs.h >>conftest.$ac_ext
33426 cat >>conftest.$ac_ext <<_ACEOF
33427 /* end confdefs.h. */
33428 #include <math.h>
33429 #ifdef HAVE_IEEEFP_H
33430 #include <ieeefp.h>
33431 #endif
33434 main ()
33436 _finite(0);
33438 return 0;
33440 _ACEOF
33441 rm -f conftest.$ac_objext
33442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33443 (eval $ac_compile) 2>conftest.er1
33444 ac_status=$?
33445 grep -v '^ *+' conftest.er1 >conftest.err
33446 rm -f conftest.er1
33447 cat conftest.err >&5
33448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33449 (exit $ac_status); } &&
33450 { ac_try='test -z "$ac_cxx_werror_flag"
33451 || test ! -s conftest.err'
33452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33453 (eval $ac_try) 2>&5
33454 ac_status=$?
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); }; } &&
33457 { ac_try='test -s conftest.$ac_objext'
33458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33459 (eval $ac_try) 2>&5
33460 ac_status=$?
33461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33462 (exit $ac_status); }; }; then
33463 glibcxx_cv_func__finite_use=yes
33464 else
33465 echo "$as_me: failed program was:" >&5
33466 sed 's/^/| /' conftest.$ac_ext >&5
33468 glibcxx_cv_func__finite_use=no
33470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33471 ac_ext=c
33472 ac_cpp='$CPP $CPPFLAGS'
33473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33481 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
33482 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
33484 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33486 for ac_func in _finite
33488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33489 echo "$as_me:$LINENO: checking for $ac_func" >&5
33490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33491 if eval "test \"\${$as_ac_var+set}\" = set"; then
33492 echo $ECHO_N "(cached) $ECHO_C" >&6
33493 else
33494 if test x$gcc_no_link = xyes; then
33495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33497 { (exit 1); exit 1; }; }
33499 cat >conftest.$ac_ext <<_ACEOF
33500 /* confdefs.h. */
33501 _ACEOF
33502 cat confdefs.h >>conftest.$ac_ext
33503 cat >>conftest.$ac_ext <<_ACEOF
33504 /* end confdefs.h. */
33505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33507 #define $ac_func innocuous_$ac_func
33509 /* System header to define __stub macros and hopefully few prototypes,
33510 which can conflict with char $ac_func (); below.
33511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33512 <limits.h> exists even on freestanding compilers. */
33514 #ifdef __STDC__
33515 # include <limits.h>
33516 #else
33517 # include <assert.h>
33518 #endif
33520 #undef $ac_func
33522 /* Override any gcc2 internal prototype to avoid an error. */
33523 #ifdef __cplusplus
33524 extern "C"
33526 #endif
33527 /* We use char because int might match the return type of a gcc2
33528 builtin and then its argument prototype would still apply. */
33529 char $ac_func ();
33530 /* The GNU C library defines this for functions which it implements
33531 to always fail with ENOSYS. Some functions are actually named
33532 something starting with __ and the normal name is an alias. */
33533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33534 choke me
33535 #else
33536 char (*f) () = $ac_func;
33537 #endif
33538 #ifdef __cplusplus
33540 #endif
33543 main ()
33545 return f != $ac_func;
33547 return 0;
33549 _ACEOF
33550 rm -f conftest.$ac_objext conftest$ac_exeext
33551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33552 (eval $ac_link) 2>conftest.er1
33553 ac_status=$?
33554 grep -v '^ *+' conftest.er1 >conftest.err
33555 rm -f conftest.er1
33556 cat conftest.err >&5
33557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33558 (exit $ac_status); } &&
33559 { ac_try='test -z "$ac_c_werror_flag"
33560 || test ! -s conftest.err'
33561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33562 (eval $ac_try) 2>&5
33563 ac_status=$?
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); }; } &&
33566 { ac_try='test -s conftest$ac_exeext'
33567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33568 (eval $ac_try) 2>&5
33569 ac_status=$?
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); }; }; then
33572 eval "$as_ac_var=yes"
33573 else
33574 echo "$as_me: failed program was:" >&5
33575 sed 's/^/| /' conftest.$ac_ext >&5
33577 eval "$as_ac_var=no"
33579 rm -f conftest.err conftest.$ac_objext \
33580 conftest$ac_exeext conftest.$ac_ext
33582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33584 if test `eval echo '${'$as_ac_var'}'` = yes; then
33585 cat >>confdefs.h <<_ACEOF
33586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33587 _ACEOF
33590 done
33600 echo "$as_me:$LINENO: checking for copysign declaration" >&5
33601 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
33602 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
33603 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
33604 echo $ECHO_N "(cached) $ECHO_C" >&6
33605 else
33609 ac_ext=cc
33610 ac_cpp='$CXXCPP $CPPFLAGS'
33611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33615 cat >conftest.$ac_ext <<_ACEOF
33616 /* confdefs.h. */
33617 _ACEOF
33618 cat confdefs.h >>conftest.$ac_ext
33619 cat >>conftest.$ac_ext <<_ACEOF
33620 /* end confdefs.h. */
33621 #include <math.h>
33623 main ()
33625 copysign(0, 0);
33627 return 0;
33629 _ACEOF
33630 rm -f conftest.$ac_objext
33631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33632 (eval $ac_compile) 2>conftest.er1
33633 ac_status=$?
33634 grep -v '^ *+' conftest.er1 >conftest.err
33635 rm -f conftest.er1
33636 cat conftest.err >&5
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); } &&
33639 { ac_try='test -z "$ac_cxx_werror_flag"
33640 || test ! -s conftest.err'
33641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33642 (eval $ac_try) 2>&5
33643 ac_status=$?
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); }; } &&
33646 { ac_try='test -s conftest.$ac_objext'
33647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33648 (eval $ac_try) 2>&5
33649 ac_status=$?
33650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33651 (exit $ac_status); }; }; then
33652 glibcxx_cv_func_copysign_use=yes
33653 else
33654 echo "$as_me: failed program was:" >&5
33655 sed 's/^/| /' conftest.$ac_ext >&5
33657 glibcxx_cv_func_copysign_use=no
33659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33660 ac_ext=c
33661 ac_cpp='$CPP $CPPFLAGS'
33662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33670 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
33671 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
33673 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
33675 for ac_func in copysign
33677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33678 echo "$as_me:$LINENO: checking for $ac_func" >&5
33679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33680 if eval "test \"\${$as_ac_var+set}\" = set"; then
33681 echo $ECHO_N "(cached) $ECHO_C" >&6
33682 else
33683 if test x$gcc_no_link = xyes; then
33684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33686 { (exit 1); exit 1; }; }
33688 cat >conftest.$ac_ext <<_ACEOF
33689 /* confdefs.h. */
33690 _ACEOF
33691 cat confdefs.h >>conftest.$ac_ext
33692 cat >>conftest.$ac_ext <<_ACEOF
33693 /* end confdefs.h. */
33694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33696 #define $ac_func innocuous_$ac_func
33698 /* System header to define __stub macros and hopefully few prototypes,
33699 which can conflict with char $ac_func (); below.
33700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33701 <limits.h> exists even on freestanding compilers. */
33703 #ifdef __STDC__
33704 # include <limits.h>
33705 #else
33706 # include <assert.h>
33707 #endif
33709 #undef $ac_func
33711 /* Override any gcc2 internal prototype to avoid an error. */
33712 #ifdef __cplusplus
33713 extern "C"
33715 #endif
33716 /* We use char because int might match the return type of a gcc2
33717 builtin and then its argument prototype would still apply. */
33718 char $ac_func ();
33719 /* The GNU C library defines this for functions which it implements
33720 to always fail with ENOSYS. Some functions are actually named
33721 something starting with __ and the normal name is an alias. */
33722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33723 choke me
33724 #else
33725 char (*f) () = $ac_func;
33726 #endif
33727 #ifdef __cplusplus
33729 #endif
33732 main ()
33734 return f != $ac_func;
33736 return 0;
33738 _ACEOF
33739 rm -f conftest.$ac_objext conftest$ac_exeext
33740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33741 (eval $ac_link) 2>conftest.er1
33742 ac_status=$?
33743 grep -v '^ *+' conftest.er1 >conftest.err
33744 rm -f conftest.er1
33745 cat conftest.err >&5
33746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33747 (exit $ac_status); } &&
33748 { ac_try='test -z "$ac_c_werror_flag"
33749 || test ! -s conftest.err'
33750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33751 (eval $ac_try) 2>&5
33752 ac_status=$?
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); }; } &&
33755 { ac_try='test -s conftest$ac_exeext'
33756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33757 (eval $ac_try) 2>&5
33758 ac_status=$?
33759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33760 (exit $ac_status); }; }; then
33761 eval "$as_ac_var=yes"
33762 else
33763 echo "$as_me: failed program was:" >&5
33764 sed 's/^/| /' conftest.$ac_ext >&5
33766 eval "$as_ac_var=no"
33768 rm -f conftest.err conftest.$ac_objext \
33769 conftest$ac_exeext conftest.$ac_ext
33771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33773 if test `eval echo '${'$as_ac_var'}'` = yes; then
33774 cat >>confdefs.h <<_ACEOF
33775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33776 _ACEOF
33779 done
33781 else
33783 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
33784 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
33785 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
33786 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
33787 echo $ECHO_N "(cached) $ECHO_C" >&6
33788 else
33792 ac_ext=cc
33793 ac_cpp='$CXXCPP $CPPFLAGS'
33794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33798 cat >conftest.$ac_ext <<_ACEOF
33799 /* confdefs.h. */
33800 _ACEOF
33801 cat confdefs.h >>conftest.$ac_ext
33802 cat >>conftest.$ac_ext <<_ACEOF
33803 /* end confdefs.h. */
33804 #include <math.h>
33806 main ()
33808 _copysign(0, 0);
33810 return 0;
33812 _ACEOF
33813 rm -f conftest.$ac_objext
33814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33815 (eval $ac_compile) 2>conftest.er1
33816 ac_status=$?
33817 grep -v '^ *+' conftest.er1 >conftest.err
33818 rm -f conftest.er1
33819 cat conftest.err >&5
33820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33821 (exit $ac_status); } &&
33822 { ac_try='test -z "$ac_cxx_werror_flag"
33823 || test ! -s conftest.err'
33824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33825 (eval $ac_try) 2>&5
33826 ac_status=$?
33827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33828 (exit $ac_status); }; } &&
33829 { ac_try='test -s conftest.$ac_objext'
33830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33831 (eval $ac_try) 2>&5
33832 ac_status=$?
33833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834 (exit $ac_status); }; }; then
33835 glibcxx_cv_func__copysign_use=yes
33836 else
33837 echo "$as_me: failed program was:" >&5
33838 sed 's/^/| /' conftest.$ac_ext >&5
33840 glibcxx_cv_func__copysign_use=no
33842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33843 ac_ext=c
33844 ac_cpp='$CPP $CPPFLAGS'
33845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33853 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
33854 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
33856 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
33858 for ac_func in _copysign
33860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33861 echo "$as_me:$LINENO: checking for $ac_func" >&5
33862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33863 if eval "test \"\${$as_ac_var+set}\" = set"; then
33864 echo $ECHO_N "(cached) $ECHO_C" >&6
33865 else
33866 if test x$gcc_no_link = xyes; then
33867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33869 { (exit 1); exit 1; }; }
33871 cat >conftest.$ac_ext <<_ACEOF
33872 /* confdefs.h. */
33873 _ACEOF
33874 cat confdefs.h >>conftest.$ac_ext
33875 cat >>conftest.$ac_ext <<_ACEOF
33876 /* end confdefs.h. */
33877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33879 #define $ac_func innocuous_$ac_func
33881 /* System header to define __stub macros and hopefully few prototypes,
33882 which can conflict with char $ac_func (); below.
33883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33884 <limits.h> exists even on freestanding compilers. */
33886 #ifdef __STDC__
33887 # include <limits.h>
33888 #else
33889 # include <assert.h>
33890 #endif
33892 #undef $ac_func
33894 /* Override any gcc2 internal prototype to avoid an error. */
33895 #ifdef __cplusplus
33896 extern "C"
33898 #endif
33899 /* We use char because int might match the return type of a gcc2
33900 builtin and then its argument prototype would still apply. */
33901 char $ac_func ();
33902 /* The GNU C library defines this for functions which it implements
33903 to always fail with ENOSYS. Some functions are actually named
33904 something starting with __ and the normal name is an alias. */
33905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33906 choke me
33907 #else
33908 char (*f) () = $ac_func;
33909 #endif
33910 #ifdef __cplusplus
33912 #endif
33915 main ()
33917 return f != $ac_func;
33919 return 0;
33921 _ACEOF
33922 rm -f conftest.$ac_objext conftest$ac_exeext
33923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33924 (eval $ac_link) 2>conftest.er1
33925 ac_status=$?
33926 grep -v '^ *+' conftest.er1 >conftest.err
33927 rm -f conftest.er1
33928 cat conftest.err >&5
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); } &&
33931 { ac_try='test -z "$ac_c_werror_flag"
33932 || test ! -s conftest.err'
33933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33934 (eval $ac_try) 2>&5
33935 ac_status=$?
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); }; } &&
33938 { ac_try='test -s conftest$ac_exeext'
33939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33940 (eval $ac_try) 2>&5
33941 ac_status=$?
33942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33943 (exit $ac_status); }; }; then
33944 eval "$as_ac_var=yes"
33945 else
33946 echo "$as_me: failed program was:" >&5
33947 sed 's/^/| /' conftest.$ac_ext >&5
33949 eval "$as_ac_var=no"
33951 rm -f conftest.err conftest.$ac_objext \
33952 conftest$ac_exeext conftest.$ac_ext
33954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33956 if test `eval echo '${'$as_ac_var'}'` = yes; then
33957 cat >>confdefs.h <<_ACEOF
33958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33959 _ACEOF
33962 done
33972 echo "$as_me:$LINENO: checking for sincos declaration" >&5
33973 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
33974 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33975 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
33976 echo $ECHO_N "(cached) $ECHO_C" >&6
33977 else
33981 ac_ext=cc
33982 ac_cpp='$CXXCPP $CPPFLAGS'
33983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33987 cat >conftest.$ac_ext <<_ACEOF
33988 /* confdefs.h. */
33989 _ACEOF
33990 cat confdefs.h >>conftest.$ac_ext
33991 cat >>conftest.$ac_ext <<_ACEOF
33992 /* end confdefs.h. */
33993 #include <math.h>
33995 main ()
33997 sincos(0, 0, 0);
33999 return 0;
34001 _ACEOF
34002 rm -f conftest.$ac_objext
34003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34004 (eval $ac_compile) 2>conftest.er1
34005 ac_status=$?
34006 grep -v '^ *+' conftest.er1 >conftest.err
34007 rm -f conftest.er1
34008 cat conftest.err >&5
34009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34010 (exit $ac_status); } &&
34011 { ac_try='test -z "$ac_cxx_werror_flag"
34012 || test ! -s conftest.err'
34013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34014 (eval $ac_try) 2>&5
34015 ac_status=$?
34016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34017 (exit $ac_status); }; } &&
34018 { ac_try='test -s conftest.$ac_objext'
34019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34020 (eval $ac_try) 2>&5
34021 ac_status=$?
34022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 (exit $ac_status); }; }; then
34024 glibcxx_cv_func_sincos_use=yes
34025 else
34026 echo "$as_me: failed program was:" >&5
34027 sed 's/^/| /' conftest.$ac_ext >&5
34029 glibcxx_cv_func_sincos_use=no
34031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34032 ac_ext=c
34033 ac_cpp='$CPP $CPPFLAGS'
34034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34042 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34043 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34045 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34047 for ac_func in sincos
34049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34050 echo "$as_me:$LINENO: checking for $ac_func" >&5
34051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34052 if eval "test \"\${$as_ac_var+set}\" = set"; then
34053 echo $ECHO_N "(cached) $ECHO_C" >&6
34054 else
34055 if test x$gcc_no_link = xyes; then
34056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34058 { (exit 1); exit 1; }; }
34060 cat >conftest.$ac_ext <<_ACEOF
34061 /* confdefs.h. */
34062 _ACEOF
34063 cat confdefs.h >>conftest.$ac_ext
34064 cat >>conftest.$ac_ext <<_ACEOF
34065 /* end confdefs.h. */
34066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34068 #define $ac_func innocuous_$ac_func
34070 /* System header to define __stub macros and hopefully few prototypes,
34071 which can conflict with char $ac_func (); below.
34072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34073 <limits.h> exists even on freestanding compilers. */
34075 #ifdef __STDC__
34076 # include <limits.h>
34077 #else
34078 # include <assert.h>
34079 #endif
34081 #undef $ac_func
34083 /* Override any gcc2 internal prototype to avoid an error. */
34084 #ifdef __cplusplus
34085 extern "C"
34087 #endif
34088 /* We use char because int might match the return type of a gcc2
34089 builtin and then its argument prototype would still apply. */
34090 char $ac_func ();
34091 /* The GNU C library defines this for functions which it implements
34092 to always fail with ENOSYS. Some functions are actually named
34093 something starting with __ and the normal name is an alias. */
34094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34095 choke me
34096 #else
34097 char (*f) () = $ac_func;
34098 #endif
34099 #ifdef __cplusplus
34101 #endif
34104 main ()
34106 return f != $ac_func;
34108 return 0;
34110 _ACEOF
34111 rm -f conftest.$ac_objext conftest$ac_exeext
34112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34113 (eval $ac_link) 2>conftest.er1
34114 ac_status=$?
34115 grep -v '^ *+' conftest.er1 >conftest.err
34116 rm -f conftest.er1
34117 cat conftest.err >&5
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); } &&
34120 { ac_try='test -z "$ac_c_werror_flag"
34121 || test ! -s conftest.err'
34122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34123 (eval $ac_try) 2>&5
34124 ac_status=$?
34125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34126 (exit $ac_status); }; } &&
34127 { ac_try='test -s conftest$ac_exeext'
34128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34129 (eval $ac_try) 2>&5
34130 ac_status=$?
34131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34132 (exit $ac_status); }; }; then
34133 eval "$as_ac_var=yes"
34134 else
34135 echo "$as_me: failed program was:" >&5
34136 sed 's/^/| /' conftest.$ac_ext >&5
34138 eval "$as_ac_var=no"
34140 rm -f conftest.err conftest.$ac_objext \
34141 conftest$ac_exeext conftest.$ac_ext
34143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34145 if test `eval echo '${'$as_ac_var'}'` = yes; then
34146 cat >>confdefs.h <<_ACEOF
34147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34148 _ACEOF
34151 done
34153 else
34155 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34156 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34157 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34158 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34159 echo $ECHO_N "(cached) $ECHO_C" >&6
34160 else
34164 ac_ext=cc
34165 ac_cpp='$CXXCPP $CPPFLAGS'
34166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34170 cat >conftest.$ac_ext <<_ACEOF
34171 /* confdefs.h. */
34172 _ACEOF
34173 cat confdefs.h >>conftest.$ac_ext
34174 cat >>conftest.$ac_ext <<_ACEOF
34175 /* end confdefs.h. */
34176 #include <math.h>
34178 main ()
34180 _sincos(0, 0, 0);
34182 return 0;
34184 _ACEOF
34185 rm -f conftest.$ac_objext
34186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34187 (eval $ac_compile) 2>conftest.er1
34188 ac_status=$?
34189 grep -v '^ *+' conftest.er1 >conftest.err
34190 rm -f conftest.er1
34191 cat conftest.err >&5
34192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34193 (exit $ac_status); } &&
34194 { ac_try='test -z "$ac_cxx_werror_flag"
34195 || test ! -s conftest.err'
34196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34197 (eval $ac_try) 2>&5
34198 ac_status=$?
34199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34200 (exit $ac_status); }; } &&
34201 { ac_try='test -s conftest.$ac_objext'
34202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34203 (eval $ac_try) 2>&5
34204 ac_status=$?
34205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34206 (exit $ac_status); }; }; then
34207 glibcxx_cv_func__sincos_use=yes
34208 else
34209 echo "$as_me: failed program was:" >&5
34210 sed 's/^/| /' conftest.$ac_ext >&5
34212 glibcxx_cv_func__sincos_use=no
34214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34215 ac_ext=c
34216 ac_cpp='$CPP $CPPFLAGS'
34217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34225 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34226 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34228 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34230 for ac_func in _sincos
34232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34233 echo "$as_me:$LINENO: checking for $ac_func" >&5
34234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34235 if eval "test \"\${$as_ac_var+set}\" = set"; then
34236 echo $ECHO_N "(cached) $ECHO_C" >&6
34237 else
34238 if test x$gcc_no_link = xyes; then
34239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34241 { (exit 1); exit 1; }; }
34243 cat >conftest.$ac_ext <<_ACEOF
34244 /* confdefs.h. */
34245 _ACEOF
34246 cat confdefs.h >>conftest.$ac_ext
34247 cat >>conftest.$ac_ext <<_ACEOF
34248 /* end confdefs.h. */
34249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34251 #define $ac_func innocuous_$ac_func
34253 /* System header to define __stub macros and hopefully few prototypes,
34254 which can conflict with char $ac_func (); below.
34255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34256 <limits.h> exists even on freestanding compilers. */
34258 #ifdef __STDC__
34259 # include <limits.h>
34260 #else
34261 # include <assert.h>
34262 #endif
34264 #undef $ac_func
34266 /* Override any gcc2 internal prototype to avoid an error. */
34267 #ifdef __cplusplus
34268 extern "C"
34270 #endif
34271 /* We use char because int might match the return type of a gcc2
34272 builtin and then its argument prototype would still apply. */
34273 char $ac_func ();
34274 /* The GNU C library defines this for functions which it implements
34275 to always fail with ENOSYS. Some functions are actually named
34276 something starting with __ and the normal name is an alias. */
34277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34278 choke me
34279 #else
34280 char (*f) () = $ac_func;
34281 #endif
34282 #ifdef __cplusplus
34284 #endif
34287 main ()
34289 return f != $ac_func;
34291 return 0;
34293 _ACEOF
34294 rm -f conftest.$ac_objext conftest$ac_exeext
34295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34296 (eval $ac_link) 2>conftest.er1
34297 ac_status=$?
34298 grep -v '^ *+' conftest.er1 >conftest.err
34299 rm -f conftest.er1
34300 cat conftest.err >&5
34301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34302 (exit $ac_status); } &&
34303 { ac_try='test -z "$ac_c_werror_flag"
34304 || test ! -s conftest.err'
34305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34306 (eval $ac_try) 2>&5
34307 ac_status=$?
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); }; } &&
34310 { ac_try='test -s conftest$ac_exeext'
34311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34312 (eval $ac_try) 2>&5
34313 ac_status=$?
34314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34315 (exit $ac_status); }; }; then
34316 eval "$as_ac_var=yes"
34317 else
34318 echo "$as_me: failed program was:" >&5
34319 sed 's/^/| /' conftest.$ac_ext >&5
34321 eval "$as_ac_var=no"
34323 rm -f conftest.err conftest.$ac_objext \
34324 conftest$ac_exeext conftest.$ac_ext
34326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34328 if test `eval echo '${'$as_ac_var'}'` = yes; then
34329 cat >>confdefs.h <<_ACEOF
34330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34331 _ACEOF
34334 done
34344 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34345 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34346 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34347 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34348 echo $ECHO_N "(cached) $ECHO_C" >&6
34349 else
34353 ac_ext=cc
34354 ac_cpp='$CXXCPP $CPPFLAGS'
34355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34359 cat >conftest.$ac_ext <<_ACEOF
34360 /* confdefs.h. */
34361 _ACEOF
34362 cat confdefs.h >>conftest.$ac_ext
34363 cat >>conftest.$ac_ext <<_ACEOF
34364 /* end confdefs.h. */
34365 #include <math.h>
34366 #ifdef HAVE_IEEEFP_H
34367 #include <ieeefp.h>
34368 #endif
34371 main ()
34373 fpclass(0);
34375 return 0;
34377 _ACEOF
34378 rm -f conftest.$ac_objext
34379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34380 (eval $ac_compile) 2>conftest.er1
34381 ac_status=$?
34382 grep -v '^ *+' conftest.er1 >conftest.err
34383 rm -f conftest.er1
34384 cat conftest.err >&5
34385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34386 (exit $ac_status); } &&
34387 { ac_try='test -z "$ac_cxx_werror_flag"
34388 || test ! -s conftest.err'
34389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34390 (eval $ac_try) 2>&5
34391 ac_status=$?
34392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34393 (exit $ac_status); }; } &&
34394 { ac_try='test -s conftest.$ac_objext'
34395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34396 (eval $ac_try) 2>&5
34397 ac_status=$?
34398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34399 (exit $ac_status); }; }; then
34400 glibcxx_cv_func_fpclass_use=yes
34401 else
34402 echo "$as_me: failed program was:" >&5
34403 sed 's/^/| /' conftest.$ac_ext >&5
34405 glibcxx_cv_func_fpclass_use=no
34407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34408 ac_ext=c
34409 ac_cpp='$CPP $CPPFLAGS'
34410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34418 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
34419 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
34421 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34423 for ac_func in fpclass
34425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34426 echo "$as_me:$LINENO: checking for $ac_func" >&5
34427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34428 if eval "test \"\${$as_ac_var+set}\" = set"; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34430 else
34431 if test x$gcc_no_link = xyes; then
34432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34434 { (exit 1); exit 1; }; }
34436 cat >conftest.$ac_ext <<_ACEOF
34437 /* confdefs.h. */
34438 _ACEOF
34439 cat confdefs.h >>conftest.$ac_ext
34440 cat >>conftest.$ac_ext <<_ACEOF
34441 /* end confdefs.h. */
34442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34444 #define $ac_func innocuous_$ac_func
34446 /* System header to define __stub macros and hopefully few prototypes,
34447 which can conflict with char $ac_func (); below.
34448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34449 <limits.h> exists even on freestanding compilers. */
34451 #ifdef __STDC__
34452 # include <limits.h>
34453 #else
34454 # include <assert.h>
34455 #endif
34457 #undef $ac_func
34459 /* Override any gcc2 internal prototype to avoid an error. */
34460 #ifdef __cplusplus
34461 extern "C"
34463 #endif
34464 /* We use char because int might match the return type of a gcc2
34465 builtin and then its argument prototype would still apply. */
34466 char $ac_func ();
34467 /* The GNU C library defines this for functions which it implements
34468 to always fail with ENOSYS. Some functions are actually named
34469 something starting with __ and the normal name is an alias. */
34470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34471 choke me
34472 #else
34473 char (*f) () = $ac_func;
34474 #endif
34475 #ifdef __cplusplus
34477 #endif
34480 main ()
34482 return f != $ac_func;
34484 return 0;
34486 _ACEOF
34487 rm -f conftest.$ac_objext conftest$ac_exeext
34488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34489 (eval $ac_link) 2>conftest.er1
34490 ac_status=$?
34491 grep -v '^ *+' conftest.er1 >conftest.err
34492 rm -f conftest.er1
34493 cat conftest.err >&5
34494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34495 (exit $ac_status); } &&
34496 { ac_try='test -z "$ac_c_werror_flag"
34497 || test ! -s conftest.err'
34498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34499 (eval $ac_try) 2>&5
34500 ac_status=$?
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); }; } &&
34503 { ac_try='test -s conftest$ac_exeext'
34504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34505 (eval $ac_try) 2>&5
34506 ac_status=$?
34507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34508 (exit $ac_status); }; }; then
34509 eval "$as_ac_var=yes"
34510 else
34511 echo "$as_me: failed program was:" >&5
34512 sed 's/^/| /' conftest.$ac_ext >&5
34514 eval "$as_ac_var=no"
34516 rm -f conftest.err conftest.$ac_objext \
34517 conftest$ac_exeext conftest.$ac_ext
34519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34521 if test `eval echo '${'$as_ac_var'}'` = yes; then
34522 cat >>confdefs.h <<_ACEOF
34523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34524 _ACEOF
34527 done
34529 else
34531 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
34532 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
34533 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34534 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
34535 echo $ECHO_N "(cached) $ECHO_C" >&6
34536 else
34540 ac_ext=cc
34541 ac_cpp='$CXXCPP $CPPFLAGS'
34542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34546 cat >conftest.$ac_ext <<_ACEOF
34547 /* confdefs.h. */
34548 _ACEOF
34549 cat confdefs.h >>conftest.$ac_ext
34550 cat >>conftest.$ac_ext <<_ACEOF
34551 /* end confdefs.h. */
34552 #include <math.h>
34553 #ifdef HAVE_IEEEFP_H
34554 #include <ieeefp.h>
34555 #endif
34558 main ()
34560 _fpclass(0);
34562 return 0;
34564 _ACEOF
34565 rm -f conftest.$ac_objext
34566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34567 (eval $ac_compile) 2>conftest.er1
34568 ac_status=$?
34569 grep -v '^ *+' conftest.er1 >conftest.err
34570 rm -f conftest.er1
34571 cat conftest.err >&5
34572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34573 (exit $ac_status); } &&
34574 { ac_try='test -z "$ac_cxx_werror_flag"
34575 || test ! -s conftest.err'
34576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34577 (eval $ac_try) 2>&5
34578 ac_status=$?
34579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34580 (exit $ac_status); }; } &&
34581 { ac_try='test -s conftest.$ac_objext'
34582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34583 (eval $ac_try) 2>&5
34584 ac_status=$?
34585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34586 (exit $ac_status); }; }; then
34587 glibcxx_cv_func__fpclass_use=yes
34588 else
34589 echo "$as_me: failed program was:" >&5
34590 sed 's/^/| /' conftest.$ac_ext >&5
34592 glibcxx_cv_func__fpclass_use=no
34594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34595 ac_ext=c
34596 ac_cpp='$CPP $CPPFLAGS'
34597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34605 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
34606 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
34608 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34610 for ac_func in _fpclass
34612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34613 echo "$as_me:$LINENO: checking for $ac_func" >&5
34614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34615 if eval "test \"\${$as_ac_var+set}\" = set"; then
34616 echo $ECHO_N "(cached) $ECHO_C" >&6
34617 else
34618 if test x$gcc_no_link = xyes; then
34619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34621 { (exit 1); exit 1; }; }
34623 cat >conftest.$ac_ext <<_ACEOF
34624 /* confdefs.h. */
34625 _ACEOF
34626 cat confdefs.h >>conftest.$ac_ext
34627 cat >>conftest.$ac_ext <<_ACEOF
34628 /* end confdefs.h. */
34629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34631 #define $ac_func innocuous_$ac_func
34633 /* System header to define __stub macros and hopefully few prototypes,
34634 which can conflict with char $ac_func (); below.
34635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34636 <limits.h> exists even on freestanding compilers. */
34638 #ifdef __STDC__
34639 # include <limits.h>
34640 #else
34641 # include <assert.h>
34642 #endif
34644 #undef $ac_func
34646 /* Override any gcc2 internal prototype to avoid an error. */
34647 #ifdef __cplusplus
34648 extern "C"
34650 #endif
34651 /* We use char because int might match the return type of a gcc2
34652 builtin and then its argument prototype would still apply. */
34653 char $ac_func ();
34654 /* The GNU C library defines this for functions which it implements
34655 to always fail with ENOSYS. Some functions are actually named
34656 something starting with __ and the normal name is an alias. */
34657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34658 choke me
34659 #else
34660 char (*f) () = $ac_func;
34661 #endif
34662 #ifdef __cplusplus
34664 #endif
34667 main ()
34669 return f != $ac_func;
34671 return 0;
34673 _ACEOF
34674 rm -f conftest.$ac_objext conftest$ac_exeext
34675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34676 (eval $ac_link) 2>conftest.er1
34677 ac_status=$?
34678 grep -v '^ *+' conftest.er1 >conftest.err
34679 rm -f conftest.er1
34680 cat conftest.err >&5
34681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34682 (exit $ac_status); } &&
34683 { ac_try='test -z "$ac_c_werror_flag"
34684 || test ! -s conftest.err'
34685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34686 (eval $ac_try) 2>&5
34687 ac_status=$?
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); }; } &&
34690 { ac_try='test -s conftest$ac_exeext'
34691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34692 (eval $ac_try) 2>&5
34693 ac_status=$?
34694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695 (exit $ac_status); }; }; then
34696 eval "$as_ac_var=yes"
34697 else
34698 echo "$as_me: failed program was:" >&5
34699 sed 's/^/| /' conftest.$ac_ext >&5
34701 eval "$as_ac_var=no"
34703 rm -f conftest.err conftest.$ac_objext \
34704 conftest$ac_exeext conftest.$ac_ext
34706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34708 if test `eval echo '${'$as_ac_var'}'` = yes; then
34709 cat >>confdefs.h <<_ACEOF
34710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34711 _ACEOF
34714 done
34724 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
34725 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
34726 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34727 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
34728 echo $ECHO_N "(cached) $ECHO_C" >&6
34729 else
34733 ac_ext=cc
34734 ac_cpp='$CXXCPP $CPPFLAGS'
34735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34739 cat >conftest.$ac_ext <<_ACEOF
34740 /* confdefs.h. */
34741 _ACEOF
34742 cat confdefs.h >>conftest.$ac_ext
34743 cat >>conftest.$ac_ext <<_ACEOF
34744 /* end confdefs.h. */
34745 #include <math.h>
34746 #ifdef HAVE_IEEEFP_H
34747 #include <ieeefp.h>
34748 #endif
34751 main ()
34753 qfpclass(0);
34755 return 0;
34757 _ACEOF
34758 rm -f conftest.$ac_objext
34759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34760 (eval $ac_compile) 2>conftest.er1
34761 ac_status=$?
34762 grep -v '^ *+' conftest.er1 >conftest.err
34763 rm -f conftest.er1
34764 cat conftest.err >&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); } &&
34767 { ac_try='test -z "$ac_cxx_werror_flag"
34768 || test ! -s conftest.err'
34769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34770 (eval $ac_try) 2>&5
34771 ac_status=$?
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); }; } &&
34774 { ac_try='test -s conftest.$ac_objext'
34775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34776 (eval $ac_try) 2>&5
34777 ac_status=$?
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); }; }; then
34780 glibcxx_cv_func_qfpclass_use=yes
34781 else
34782 echo "$as_me: failed program was:" >&5
34783 sed 's/^/| /' conftest.$ac_ext >&5
34785 glibcxx_cv_func_qfpclass_use=no
34787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34788 ac_ext=c
34789 ac_cpp='$CPP $CPPFLAGS'
34790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34798 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
34799 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
34801 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34803 for ac_func in qfpclass
34805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34806 echo "$as_me:$LINENO: checking for $ac_func" >&5
34807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34808 if eval "test \"\${$as_ac_var+set}\" = set"; then
34809 echo $ECHO_N "(cached) $ECHO_C" >&6
34810 else
34811 if test x$gcc_no_link = xyes; then
34812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34814 { (exit 1); exit 1; }; }
34816 cat >conftest.$ac_ext <<_ACEOF
34817 /* confdefs.h. */
34818 _ACEOF
34819 cat confdefs.h >>conftest.$ac_ext
34820 cat >>conftest.$ac_ext <<_ACEOF
34821 /* end confdefs.h. */
34822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34824 #define $ac_func innocuous_$ac_func
34826 /* System header to define __stub macros and hopefully few prototypes,
34827 which can conflict with char $ac_func (); below.
34828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34829 <limits.h> exists even on freestanding compilers. */
34831 #ifdef __STDC__
34832 # include <limits.h>
34833 #else
34834 # include <assert.h>
34835 #endif
34837 #undef $ac_func
34839 /* Override any gcc2 internal prototype to avoid an error. */
34840 #ifdef __cplusplus
34841 extern "C"
34843 #endif
34844 /* We use char because int might match the return type of a gcc2
34845 builtin and then its argument prototype would still apply. */
34846 char $ac_func ();
34847 /* The GNU C library defines this for functions which it implements
34848 to always fail with ENOSYS. Some functions are actually named
34849 something starting with __ and the normal name is an alias. */
34850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34851 choke me
34852 #else
34853 char (*f) () = $ac_func;
34854 #endif
34855 #ifdef __cplusplus
34857 #endif
34860 main ()
34862 return f != $ac_func;
34864 return 0;
34866 _ACEOF
34867 rm -f conftest.$ac_objext conftest$ac_exeext
34868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34869 (eval $ac_link) 2>conftest.er1
34870 ac_status=$?
34871 grep -v '^ *+' conftest.er1 >conftest.err
34872 rm -f conftest.er1
34873 cat conftest.err >&5
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); } &&
34876 { ac_try='test -z "$ac_c_werror_flag"
34877 || test ! -s conftest.err'
34878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34879 (eval $ac_try) 2>&5
34880 ac_status=$?
34881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882 (exit $ac_status); }; } &&
34883 { ac_try='test -s conftest$ac_exeext'
34884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34885 (eval $ac_try) 2>&5
34886 ac_status=$?
34887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888 (exit $ac_status); }; }; then
34889 eval "$as_ac_var=yes"
34890 else
34891 echo "$as_me: failed program was:" >&5
34892 sed 's/^/| /' conftest.$ac_ext >&5
34894 eval "$as_ac_var=no"
34896 rm -f conftest.err conftest.$ac_objext \
34897 conftest$ac_exeext conftest.$ac_ext
34899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34901 if test `eval echo '${'$as_ac_var'}'` = yes; then
34902 cat >>confdefs.h <<_ACEOF
34903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34904 _ACEOF
34907 done
34909 else
34911 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
34912 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
34913 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34914 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
34915 echo $ECHO_N "(cached) $ECHO_C" >&6
34916 else
34920 ac_ext=cc
34921 ac_cpp='$CXXCPP $CPPFLAGS'
34922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34926 cat >conftest.$ac_ext <<_ACEOF
34927 /* confdefs.h. */
34928 _ACEOF
34929 cat confdefs.h >>conftest.$ac_ext
34930 cat >>conftest.$ac_ext <<_ACEOF
34931 /* end confdefs.h. */
34932 #include <math.h>
34933 #ifdef HAVE_IEEEFP_H
34934 #include <ieeefp.h>
34935 #endif
34938 main ()
34940 _qfpclass(0);
34942 return 0;
34944 _ACEOF
34945 rm -f conftest.$ac_objext
34946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34947 (eval $ac_compile) 2>conftest.er1
34948 ac_status=$?
34949 grep -v '^ *+' conftest.er1 >conftest.err
34950 rm -f conftest.er1
34951 cat conftest.err >&5
34952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34953 (exit $ac_status); } &&
34954 { ac_try='test -z "$ac_cxx_werror_flag"
34955 || test ! -s conftest.err'
34956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34957 (eval $ac_try) 2>&5
34958 ac_status=$?
34959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34960 (exit $ac_status); }; } &&
34961 { ac_try='test -s conftest.$ac_objext'
34962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34963 (eval $ac_try) 2>&5
34964 ac_status=$?
34965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34966 (exit $ac_status); }; }; then
34967 glibcxx_cv_func__qfpclass_use=yes
34968 else
34969 echo "$as_me: failed program was:" >&5
34970 sed 's/^/| /' conftest.$ac_ext >&5
34972 glibcxx_cv_func__qfpclass_use=no
34974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34975 ac_ext=c
34976 ac_cpp='$CPP $CPPFLAGS'
34977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34985 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
34986 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
34988 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34990 for ac_func in _qfpclass
34992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34993 echo "$as_me:$LINENO: checking for $ac_func" >&5
34994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34995 if eval "test \"\${$as_ac_var+set}\" = set"; then
34996 echo $ECHO_N "(cached) $ECHO_C" >&6
34997 else
34998 if test x$gcc_no_link = xyes; then
34999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35001 { (exit 1); exit 1; }; }
35003 cat >conftest.$ac_ext <<_ACEOF
35004 /* confdefs.h. */
35005 _ACEOF
35006 cat confdefs.h >>conftest.$ac_ext
35007 cat >>conftest.$ac_ext <<_ACEOF
35008 /* end confdefs.h. */
35009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35011 #define $ac_func innocuous_$ac_func
35013 /* System header to define __stub macros and hopefully few prototypes,
35014 which can conflict with char $ac_func (); below.
35015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35016 <limits.h> exists even on freestanding compilers. */
35018 #ifdef __STDC__
35019 # include <limits.h>
35020 #else
35021 # include <assert.h>
35022 #endif
35024 #undef $ac_func
35026 /* Override any gcc2 internal prototype to avoid an error. */
35027 #ifdef __cplusplus
35028 extern "C"
35030 #endif
35031 /* We use char because int might match the return type of a gcc2
35032 builtin and then its argument prototype would still apply. */
35033 char $ac_func ();
35034 /* The GNU C library defines this for functions which it implements
35035 to always fail with ENOSYS. Some functions are actually named
35036 something starting with __ and the normal name is an alias. */
35037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35038 choke me
35039 #else
35040 char (*f) () = $ac_func;
35041 #endif
35042 #ifdef __cplusplus
35044 #endif
35047 main ()
35049 return f != $ac_func;
35051 return 0;
35053 _ACEOF
35054 rm -f conftest.$ac_objext conftest$ac_exeext
35055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35056 (eval $ac_link) 2>conftest.er1
35057 ac_status=$?
35058 grep -v '^ *+' conftest.er1 >conftest.err
35059 rm -f conftest.er1
35060 cat conftest.err >&5
35061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35062 (exit $ac_status); } &&
35063 { ac_try='test -z "$ac_c_werror_flag"
35064 || test ! -s conftest.err'
35065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35066 (eval $ac_try) 2>&5
35067 ac_status=$?
35068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35069 (exit $ac_status); }; } &&
35070 { ac_try='test -s conftest$ac_exeext'
35071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35072 (eval $ac_try) 2>&5
35073 ac_status=$?
35074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35075 (exit $ac_status); }; }; then
35076 eval "$as_ac_var=yes"
35077 else
35078 echo "$as_me: failed program was:" >&5
35079 sed 's/^/| /' conftest.$ac_ext >&5
35081 eval "$as_ac_var=no"
35083 rm -f conftest.err conftest.$ac_objext \
35084 conftest$ac_exeext conftest.$ac_ext
35086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35088 if test `eval echo '${'$as_ac_var'}'` = yes; then
35089 cat >>confdefs.h <<_ACEOF
35090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35091 _ACEOF
35094 done
35104 echo "$as_me:$LINENO: checking for hypot declaration" >&5
35105 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35106 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35107 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35108 echo $ECHO_N "(cached) $ECHO_C" >&6
35109 else
35113 ac_ext=cc
35114 ac_cpp='$CXXCPP $CPPFLAGS'
35115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35119 cat >conftest.$ac_ext <<_ACEOF
35120 /* confdefs.h. */
35121 _ACEOF
35122 cat confdefs.h >>conftest.$ac_ext
35123 cat >>conftest.$ac_ext <<_ACEOF
35124 /* end confdefs.h. */
35125 #include <math.h>
35127 main ()
35129 hypot(0, 0);
35131 return 0;
35133 _ACEOF
35134 rm -f conftest.$ac_objext
35135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35136 (eval $ac_compile) 2>conftest.er1
35137 ac_status=$?
35138 grep -v '^ *+' conftest.er1 >conftest.err
35139 rm -f conftest.er1
35140 cat conftest.err >&5
35141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35142 (exit $ac_status); } &&
35143 { ac_try='test -z "$ac_cxx_werror_flag"
35144 || test ! -s conftest.err'
35145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35146 (eval $ac_try) 2>&5
35147 ac_status=$?
35148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35149 (exit $ac_status); }; } &&
35150 { ac_try='test -s conftest.$ac_objext'
35151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35152 (eval $ac_try) 2>&5
35153 ac_status=$?
35154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35155 (exit $ac_status); }; }; then
35156 glibcxx_cv_func_hypot_use=yes
35157 else
35158 echo "$as_me: failed program was:" >&5
35159 sed 's/^/| /' conftest.$ac_ext >&5
35161 glibcxx_cv_func_hypot_use=no
35163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35164 ac_ext=c
35165 ac_cpp='$CPP $CPPFLAGS'
35166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35174 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35175 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35177 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35179 for ac_func in hypot
35181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35182 echo "$as_me:$LINENO: checking for $ac_func" >&5
35183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35184 if eval "test \"\${$as_ac_var+set}\" = set"; then
35185 echo $ECHO_N "(cached) $ECHO_C" >&6
35186 else
35187 if test x$gcc_no_link = xyes; then
35188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35190 { (exit 1); exit 1; }; }
35192 cat >conftest.$ac_ext <<_ACEOF
35193 /* confdefs.h. */
35194 _ACEOF
35195 cat confdefs.h >>conftest.$ac_ext
35196 cat >>conftest.$ac_ext <<_ACEOF
35197 /* end confdefs.h. */
35198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35200 #define $ac_func innocuous_$ac_func
35202 /* System header to define __stub macros and hopefully few prototypes,
35203 which can conflict with char $ac_func (); below.
35204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35205 <limits.h> exists even on freestanding compilers. */
35207 #ifdef __STDC__
35208 # include <limits.h>
35209 #else
35210 # include <assert.h>
35211 #endif
35213 #undef $ac_func
35215 /* Override any gcc2 internal prototype to avoid an error. */
35216 #ifdef __cplusplus
35217 extern "C"
35219 #endif
35220 /* We use char because int might match the return type of a gcc2
35221 builtin and then its argument prototype would still apply. */
35222 char $ac_func ();
35223 /* The GNU C library defines this for functions which it implements
35224 to always fail with ENOSYS. Some functions are actually named
35225 something starting with __ and the normal name is an alias. */
35226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35227 choke me
35228 #else
35229 char (*f) () = $ac_func;
35230 #endif
35231 #ifdef __cplusplus
35233 #endif
35236 main ()
35238 return f != $ac_func;
35240 return 0;
35242 _ACEOF
35243 rm -f conftest.$ac_objext conftest$ac_exeext
35244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35245 (eval $ac_link) 2>conftest.er1
35246 ac_status=$?
35247 grep -v '^ *+' conftest.er1 >conftest.err
35248 rm -f conftest.er1
35249 cat conftest.err >&5
35250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35251 (exit $ac_status); } &&
35252 { ac_try='test -z "$ac_c_werror_flag"
35253 || test ! -s conftest.err'
35254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35255 (eval $ac_try) 2>&5
35256 ac_status=$?
35257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35258 (exit $ac_status); }; } &&
35259 { ac_try='test -s conftest$ac_exeext'
35260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35261 (eval $ac_try) 2>&5
35262 ac_status=$?
35263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264 (exit $ac_status); }; }; then
35265 eval "$as_ac_var=yes"
35266 else
35267 echo "$as_me: failed program was:" >&5
35268 sed 's/^/| /' conftest.$ac_ext >&5
35270 eval "$as_ac_var=no"
35272 rm -f conftest.err conftest.$ac_objext \
35273 conftest$ac_exeext conftest.$ac_ext
35275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35277 if test `eval echo '${'$as_ac_var'}'` = yes; then
35278 cat >>confdefs.h <<_ACEOF
35279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35280 _ACEOF
35283 done
35285 else
35287 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35288 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35289 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35290 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35291 echo $ECHO_N "(cached) $ECHO_C" >&6
35292 else
35296 ac_ext=cc
35297 ac_cpp='$CXXCPP $CPPFLAGS'
35298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35302 cat >conftest.$ac_ext <<_ACEOF
35303 /* confdefs.h. */
35304 _ACEOF
35305 cat confdefs.h >>conftest.$ac_ext
35306 cat >>conftest.$ac_ext <<_ACEOF
35307 /* end confdefs.h. */
35308 #include <math.h>
35310 main ()
35312 _hypot(0, 0);
35314 return 0;
35316 _ACEOF
35317 rm -f conftest.$ac_objext
35318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35319 (eval $ac_compile) 2>conftest.er1
35320 ac_status=$?
35321 grep -v '^ *+' conftest.er1 >conftest.err
35322 rm -f conftest.er1
35323 cat conftest.err >&5
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); } &&
35326 { ac_try='test -z "$ac_cxx_werror_flag"
35327 || test ! -s conftest.err'
35328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35329 (eval $ac_try) 2>&5
35330 ac_status=$?
35331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35332 (exit $ac_status); }; } &&
35333 { ac_try='test -s conftest.$ac_objext'
35334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35335 (eval $ac_try) 2>&5
35336 ac_status=$?
35337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35338 (exit $ac_status); }; }; then
35339 glibcxx_cv_func__hypot_use=yes
35340 else
35341 echo "$as_me: failed program was:" >&5
35342 sed 's/^/| /' conftest.$ac_ext >&5
35344 glibcxx_cv_func__hypot_use=no
35346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35347 ac_ext=c
35348 ac_cpp='$CPP $CPPFLAGS'
35349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35357 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35358 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35360 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35362 for ac_func in _hypot
35364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35365 echo "$as_me:$LINENO: checking for $ac_func" >&5
35366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35367 if eval "test \"\${$as_ac_var+set}\" = set"; then
35368 echo $ECHO_N "(cached) $ECHO_C" >&6
35369 else
35370 if test x$gcc_no_link = xyes; then
35371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35373 { (exit 1); exit 1; }; }
35375 cat >conftest.$ac_ext <<_ACEOF
35376 /* confdefs.h. */
35377 _ACEOF
35378 cat confdefs.h >>conftest.$ac_ext
35379 cat >>conftest.$ac_ext <<_ACEOF
35380 /* end confdefs.h. */
35381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35383 #define $ac_func innocuous_$ac_func
35385 /* System header to define __stub macros and hopefully few prototypes,
35386 which can conflict with char $ac_func (); below.
35387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35388 <limits.h> exists even on freestanding compilers. */
35390 #ifdef __STDC__
35391 # include <limits.h>
35392 #else
35393 # include <assert.h>
35394 #endif
35396 #undef $ac_func
35398 /* Override any gcc2 internal prototype to avoid an error. */
35399 #ifdef __cplusplus
35400 extern "C"
35402 #endif
35403 /* We use char because int might match the return type of a gcc2
35404 builtin and then its argument prototype would still apply. */
35405 char $ac_func ();
35406 /* The GNU C library defines this for functions which it implements
35407 to always fail with ENOSYS. Some functions are actually named
35408 something starting with __ and the normal name is an alias. */
35409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35410 choke me
35411 #else
35412 char (*f) () = $ac_func;
35413 #endif
35414 #ifdef __cplusplus
35416 #endif
35419 main ()
35421 return f != $ac_func;
35423 return 0;
35425 _ACEOF
35426 rm -f conftest.$ac_objext conftest$ac_exeext
35427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35428 (eval $ac_link) 2>conftest.er1
35429 ac_status=$?
35430 grep -v '^ *+' conftest.er1 >conftest.err
35431 rm -f conftest.er1
35432 cat conftest.err >&5
35433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35434 (exit $ac_status); } &&
35435 { ac_try='test -z "$ac_c_werror_flag"
35436 || test ! -s conftest.err'
35437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35438 (eval $ac_try) 2>&5
35439 ac_status=$?
35440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35441 (exit $ac_status); }; } &&
35442 { ac_try='test -s conftest$ac_exeext'
35443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35444 (eval $ac_try) 2>&5
35445 ac_status=$?
35446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35447 (exit $ac_status); }; }; then
35448 eval "$as_ac_var=yes"
35449 else
35450 echo "$as_me: failed program was:" >&5
35451 sed 's/^/| /' conftest.$ac_ext >&5
35453 eval "$as_ac_var=no"
35455 rm -f conftest.err conftest.$ac_objext \
35456 conftest$ac_exeext conftest.$ac_ext
35458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35460 if test `eval echo '${'$as_ac_var'}'` = yes; then
35461 cat >>confdefs.h <<_ACEOF
35462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35463 _ACEOF
35466 done
35476 echo "$as_me:$LINENO: checking for float trig functions" >&5
35477 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
35478 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
35479 echo $ECHO_N "(cached) $ECHO_C" >&6
35480 else
35484 ac_ext=cc
35485 ac_cpp='$CXXCPP $CPPFLAGS'
35486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35490 cat >conftest.$ac_ext <<_ACEOF
35491 /* confdefs.h. */
35492 _ACEOF
35493 cat confdefs.h >>conftest.$ac_ext
35494 cat >>conftest.$ac_ext <<_ACEOF
35495 /* end confdefs.h. */
35496 #include <math.h>
35498 main ()
35500 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35502 return 0;
35504 _ACEOF
35505 rm -f conftest.$ac_objext
35506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35507 (eval $ac_compile) 2>conftest.er1
35508 ac_status=$?
35509 grep -v '^ *+' conftest.er1 >conftest.err
35510 rm -f conftest.er1
35511 cat conftest.err >&5
35512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35513 (exit $ac_status); } &&
35514 { ac_try='test -z "$ac_cxx_werror_flag"
35515 || test ! -s conftest.err'
35516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35517 (eval $ac_try) 2>&5
35518 ac_status=$?
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); }; } &&
35521 { ac_try='test -s conftest.$ac_objext'
35522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35523 (eval $ac_try) 2>&5
35524 ac_status=$?
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); }; }; then
35527 glibcxx_cv_func_float_trig_use=yes
35528 else
35529 echo "$as_me: failed program was:" >&5
35530 sed 's/^/| /' conftest.$ac_ext >&5
35532 glibcxx_cv_func_float_trig_use=no
35534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35535 ac_ext=c
35536 ac_cpp='$CPP $CPPFLAGS'
35537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35543 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
35544 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
35545 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35555 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35558 echo "$as_me:$LINENO: checking for $ac_func" >&5
35559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35560 if eval "test \"\${$as_ac_var+set}\" = set"; then
35561 echo $ECHO_N "(cached) $ECHO_C" >&6
35562 else
35563 if test x$gcc_no_link = xyes; then
35564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35566 { (exit 1); exit 1; }; }
35568 cat >conftest.$ac_ext <<_ACEOF
35569 /* confdefs.h. */
35570 _ACEOF
35571 cat confdefs.h >>conftest.$ac_ext
35572 cat >>conftest.$ac_ext <<_ACEOF
35573 /* end confdefs.h. */
35574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35576 #define $ac_func innocuous_$ac_func
35578 /* System header to define __stub macros and hopefully few prototypes,
35579 which can conflict with char $ac_func (); below.
35580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35581 <limits.h> exists even on freestanding compilers. */
35583 #ifdef __STDC__
35584 # include <limits.h>
35585 #else
35586 # include <assert.h>
35587 #endif
35589 #undef $ac_func
35591 /* Override any gcc2 internal prototype to avoid an error. */
35592 #ifdef __cplusplus
35593 extern "C"
35595 #endif
35596 /* We use char because int might match the return type of a gcc2
35597 builtin and then its argument prototype would still apply. */
35598 char $ac_func ();
35599 /* The GNU C library defines this for functions which it implements
35600 to always fail with ENOSYS. Some functions are actually named
35601 something starting with __ and the normal name is an alias. */
35602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35603 choke me
35604 #else
35605 char (*f) () = $ac_func;
35606 #endif
35607 #ifdef __cplusplus
35609 #endif
35612 main ()
35614 return f != $ac_func;
35616 return 0;
35618 _ACEOF
35619 rm -f conftest.$ac_objext conftest$ac_exeext
35620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35621 (eval $ac_link) 2>conftest.er1
35622 ac_status=$?
35623 grep -v '^ *+' conftest.er1 >conftest.err
35624 rm -f conftest.er1
35625 cat conftest.err >&5
35626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35627 (exit $ac_status); } &&
35628 { ac_try='test -z "$ac_c_werror_flag"
35629 || test ! -s conftest.err'
35630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35631 (eval $ac_try) 2>&5
35632 ac_status=$?
35633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634 (exit $ac_status); }; } &&
35635 { ac_try='test -s conftest$ac_exeext'
35636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35637 (eval $ac_try) 2>&5
35638 ac_status=$?
35639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640 (exit $ac_status); }; }; then
35641 eval "$as_ac_var=yes"
35642 else
35643 echo "$as_me: failed program was:" >&5
35644 sed 's/^/| /' conftest.$ac_ext >&5
35646 eval "$as_ac_var=no"
35648 rm -f conftest.err conftest.$ac_objext \
35649 conftest$ac_exeext conftest.$ac_ext
35651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35653 if test `eval echo '${'$as_ac_var'}'` = yes; then
35654 cat >>confdefs.h <<_ACEOF
35655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35656 _ACEOF
35659 done
35661 else
35662 echo "$as_me:$LINENO: checking for _float trig functions" >&5
35663 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
35664 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
35665 echo $ECHO_N "(cached) $ECHO_C" >&6
35666 else
35670 ac_ext=cc
35671 ac_cpp='$CXXCPP $CPPFLAGS'
35672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35676 cat >conftest.$ac_ext <<_ACEOF
35677 /* confdefs.h. */
35678 _ACEOF
35679 cat confdefs.h >>conftest.$ac_ext
35680 cat >>conftest.$ac_ext <<_ACEOF
35681 /* end confdefs.h. */
35682 #include <math.h>
35684 main ()
35686 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35688 return 0;
35690 _ACEOF
35691 rm -f conftest.$ac_objext
35692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35693 (eval $ac_compile) 2>conftest.er1
35694 ac_status=$?
35695 grep -v '^ *+' conftest.er1 >conftest.err
35696 rm -f conftest.er1
35697 cat conftest.err >&5
35698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35699 (exit $ac_status); } &&
35700 { ac_try='test -z "$ac_cxx_werror_flag"
35701 || test ! -s conftest.err'
35702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35703 (eval $ac_try) 2>&5
35704 ac_status=$?
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); }; } &&
35707 { ac_try='test -s conftest.$ac_objext'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35710 ac_status=$?
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; }; then
35713 glibcxx_cv_func__float_trig_use=yes
35714 else
35715 echo "$as_me: failed program was:" >&5
35716 sed 's/^/| /' conftest.$ac_ext >&5
35718 glibcxx_cv_func__float_trig_use=no
35720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35721 ac_ext=c
35722 ac_cpp='$CPP $CPPFLAGS'
35723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35729 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
35730 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
35731 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35741 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35744 echo "$as_me:$LINENO: checking for $ac_func" >&5
35745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35746 if eval "test \"\${$as_ac_var+set}\" = set"; then
35747 echo $ECHO_N "(cached) $ECHO_C" >&6
35748 else
35749 if test x$gcc_no_link = xyes; then
35750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35752 { (exit 1); exit 1; }; }
35754 cat >conftest.$ac_ext <<_ACEOF
35755 /* confdefs.h. */
35756 _ACEOF
35757 cat confdefs.h >>conftest.$ac_ext
35758 cat >>conftest.$ac_ext <<_ACEOF
35759 /* end confdefs.h. */
35760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35762 #define $ac_func innocuous_$ac_func
35764 /* System header to define __stub macros and hopefully few prototypes,
35765 which can conflict with char $ac_func (); below.
35766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35767 <limits.h> exists even on freestanding compilers. */
35769 #ifdef __STDC__
35770 # include <limits.h>
35771 #else
35772 # include <assert.h>
35773 #endif
35775 #undef $ac_func
35777 /* Override any gcc2 internal prototype to avoid an error. */
35778 #ifdef __cplusplus
35779 extern "C"
35781 #endif
35782 /* We use char because int might match the return type of a gcc2
35783 builtin and then its argument prototype would still apply. */
35784 char $ac_func ();
35785 /* The GNU C library defines this for functions which it implements
35786 to always fail with ENOSYS. Some functions are actually named
35787 something starting with __ and the normal name is an alias. */
35788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35789 choke me
35790 #else
35791 char (*f) () = $ac_func;
35792 #endif
35793 #ifdef __cplusplus
35795 #endif
35798 main ()
35800 return f != $ac_func;
35802 return 0;
35804 _ACEOF
35805 rm -f conftest.$ac_objext conftest$ac_exeext
35806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35807 (eval $ac_link) 2>conftest.er1
35808 ac_status=$?
35809 grep -v '^ *+' conftest.er1 >conftest.err
35810 rm -f conftest.er1
35811 cat conftest.err >&5
35812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35813 (exit $ac_status); } &&
35814 { ac_try='test -z "$ac_c_werror_flag"
35815 || test ! -s conftest.err'
35816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35817 (eval $ac_try) 2>&5
35818 ac_status=$?
35819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35820 (exit $ac_status); }; } &&
35821 { ac_try='test -s conftest$ac_exeext'
35822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35823 (eval $ac_try) 2>&5
35824 ac_status=$?
35825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35826 (exit $ac_status); }; }; then
35827 eval "$as_ac_var=yes"
35828 else
35829 echo "$as_me: failed program was:" >&5
35830 sed 's/^/| /' conftest.$ac_ext >&5
35832 eval "$as_ac_var=no"
35834 rm -f conftest.err conftest.$ac_objext \
35835 conftest$ac_exeext conftest.$ac_ext
35837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35839 if test `eval echo '${'$as_ac_var'}'` = yes; then
35840 cat >>confdefs.h <<_ACEOF
35841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35842 _ACEOF
35845 done
35863 echo "$as_me:$LINENO: checking for float round functions" >&5
35864 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
35865 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
35866 echo $ECHO_N "(cached) $ECHO_C" >&6
35867 else
35871 ac_ext=cc
35872 ac_cpp='$CXXCPP $CPPFLAGS'
35873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35877 cat >conftest.$ac_ext <<_ACEOF
35878 /* confdefs.h. */
35879 _ACEOF
35880 cat confdefs.h >>conftest.$ac_ext
35881 cat >>conftest.$ac_ext <<_ACEOF
35882 /* end confdefs.h. */
35883 #include <math.h>
35885 main ()
35887 ceilf (0); floorf (0);
35889 return 0;
35891 _ACEOF
35892 rm -f conftest.$ac_objext
35893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35894 (eval $ac_compile) 2>conftest.er1
35895 ac_status=$?
35896 grep -v '^ *+' conftest.er1 >conftest.err
35897 rm -f conftest.er1
35898 cat conftest.err >&5
35899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35900 (exit $ac_status); } &&
35901 { ac_try='test -z "$ac_cxx_werror_flag"
35902 || test ! -s conftest.err'
35903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35904 (eval $ac_try) 2>&5
35905 ac_status=$?
35906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35907 (exit $ac_status); }; } &&
35908 { ac_try='test -s conftest.$ac_objext'
35909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35910 (eval $ac_try) 2>&5
35911 ac_status=$?
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); }; }; then
35914 glibcxx_cv_func_float_round_use=yes
35915 else
35916 echo "$as_me: failed program was:" >&5
35917 sed 's/^/| /' conftest.$ac_ext >&5
35919 glibcxx_cv_func_float_round_use=no
35921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35922 ac_ext=c
35923 ac_cpp='$CPP $CPPFLAGS'
35924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35930 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
35931 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
35932 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35935 for ac_func in ceilf floorf
35937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35938 echo "$as_me:$LINENO: checking for $ac_func" >&5
35939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35940 if eval "test \"\${$as_ac_var+set}\" = set"; then
35941 echo $ECHO_N "(cached) $ECHO_C" >&6
35942 else
35943 if test x$gcc_no_link = xyes; then
35944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35946 { (exit 1); exit 1; }; }
35948 cat >conftest.$ac_ext <<_ACEOF
35949 /* confdefs.h. */
35950 _ACEOF
35951 cat confdefs.h >>conftest.$ac_ext
35952 cat >>conftest.$ac_ext <<_ACEOF
35953 /* end confdefs.h. */
35954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35956 #define $ac_func innocuous_$ac_func
35958 /* System header to define __stub macros and hopefully few prototypes,
35959 which can conflict with char $ac_func (); below.
35960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35961 <limits.h> exists even on freestanding compilers. */
35963 #ifdef __STDC__
35964 # include <limits.h>
35965 #else
35966 # include <assert.h>
35967 #endif
35969 #undef $ac_func
35971 /* Override any gcc2 internal prototype to avoid an error. */
35972 #ifdef __cplusplus
35973 extern "C"
35975 #endif
35976 /* We use char because int might match the return type of a gcc2
35977 builtin and then its argument prototype would still apply. */
35978 char $ac_func ();
35979 /* The GNU C library defines this for functions which it implements
35980 to always fail with ENOSYS. Some functions are actually named
35981 something starting with __ and the normal name is an alias. */
35982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35983 choke me
35984 #else
35985 char (*f) () = $ac_func;
35986 #endif
35987 #ifdef __cplusplus
35989 #endif
35992 main ()
35994 return f != $ac_func;
35996 return 0;
35998 _ACEOF
35999 rm -f conftest.$ac_objext conftest$ac_exeext
36000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36001 (eval $ac_link) 2>conftest.er1
36002 ac_status=$?
36003 grep -v '^ *+' conftest.er1 >conftest.err
36004 rm -f conftest.er1
36005 cat conftest.err >&5
36006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36007 (exit $ac_status); } &&
36008 { ac_try='test -z "$ac_c_werror_flag"
36009 || test ! -s conftest.err'
36010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36011 (eval $ac_try) 2>&5
36012 ac_status=$?
36013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36014 (exit $ac_status); }; } &&
36015 { ac_try='test -s conftest$ac_exeext'
36016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36017 (eval $ac_try) 2>&5
36018 ac_status=$?
36019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020 (exit $ac_status); }; }; then
36021 eval "$as_ac_var=yes"
36022 else
36023 echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.$ac_ext >&5
36026 eval "$as_ac_var=no"
36028 rm -f conftest.err conftest.$ac_objext \
36029 conftest$ac_exeext conftest.$ac_ext
36031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36033 if test `eval echo '${'$as_ac_var'}'` = yes; then
36034 cat >>confdefs.h <<_ACEOF
36035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36036 _ACEOF
36039 done
36041 else
36042 echo "$as_me:$LINENO: checking for _float round functions" >&5
36043 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36044 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36045 echo $ECHO_N "(cached) $ECHO_C" >&6
36046 else
36050 ac_ext=cc
36051 ac_cpp='$CXXCPP $CPPFLAGS'
36052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36056 cat >conftest.$ac_ext <<_ACEOF
36057 /* confdefs.h. */
36058 _ACEOF
36059 cat confdefs.h >>conftest.$ac_ext
36060 cat >>conftest.$ac_ext <<_ACEOF
36061 /* end confdefs.h. */
36062 #include <math.h>
36064 main ()
36066 _ceilf (0); _floorf (0);
36068 return 0;
36070 _ACEOF
36071 rm -f conftest.$ac_objext
36072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36073 (eval $ac_compile) 2>conftest.er1
36074 ac_status=$?
36075 grep -v '^ *+' conftest.er1 >conftest.err
36076 rm -f conftest.er1
36077 cat conftest.err >&5
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); } &&
36080 { ac_try='test -z "$ac_cxx_werror_flag"
36081 || test ! -s conftest.err'
36082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36083 (eval $ac_try) 2>&5
36084 ac_status=$?
36085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36086 (exit $ac_status); }; } &&
36087 { ac_try='test -s conftest.$ac_objext'
36088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36089 (eval $ac_try) 2>&5
36090 ac_status=$?
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); }; }; then
36093 glibcxx_cv_func__float_round_use=yes
36094 else
36095 echo "$as_me: failed program was:" >&5
36096 sed 's/^/| /' conftest.$ac_ext >&5
36098 glibcxx_cv_func__float_round_use=no
36100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36101 ac_ext=c
36102 ac_cpp='$CPP $CPPFLAGS'
36103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36109 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36110 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36111 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36114 for ac_func in _ceilf _floorf
36116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36117 echo "$as_me:$LINENO: checking for $ac_func" >&5
36118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36119 if eval "test \"\${$as_ac_var+set}\" = set"; then
36120 echo $ECHO_N "(cached) $ECHO_C" >&6
36121 else
36122 if test x$gcc_no_link = xyes; then
36123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36125 { (exit 1); exit 1; }; }
36127 cat >conftest.$ac_ext <<_ACEOF
36128 /* confdefs.h. */
36129 _ACEOF
36130 cat confdefs.h >>conftest.$ac_ext
36131 cat >>conftest.$ac_ext <<_ACEOF
36132 /* end confdefs.h. */
36133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36135 #define $ac_func innocuous_$ac_func
36137 /* System header to define __stub macros and hopefully few prototypes,
36138 which can conflict with char $ac_func (); below.
36139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36140 <limits.h> exists even on freestanding compilers. */
36142 #ifdef __STDC__
36143 # include <limits.h>
36144 #else
36145 # include <assert.h>
36146 #endif
36148 #undef $ac_func
36150 /* Override any gcc2 internal prototype to avoid an error. */
36151 #ifdef __cplusplus
36152 extern "C"
36154 #endif
36155 /* We use char because int might match the return type of a gcc2
36156 builtin and then its argument prototype would still apply. */
36157 char $ac_func ();
36158 /* The GNU C library defines this for functions which it implements
36159 to always fail with ENOSYS. Some functions are actually named
36160 something starting with __ and the normal name is an alias. */
36161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36162 choke me
36163 #else
36164 char (*f) () = $ac_func;
36165 #endif
36166 #ifdef __cplusplus
36168 #endif
36171 main ()
36173 return f != $ac_func;
36175 return 0;
36177 _ACEOF
36178 rm -f conftest.$ac_objext conftest$ac_exeext
36179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36180 (eval $ac_link) 2>conftest.er1
36181 ac_status=$?
36182 grep -v '^ *+' conftest.er1 >conftest.err
36183 rm -f conftest.er1
36184 cat conftest.err >&5
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); } &&
36187 { ac_try='test -z "$ac_c_werror_flag"
36188 || test ! -s conftest.err'
36189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36190 (eval $ac_try) 2>&5
36191 ac_status=$?
36192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193 (exit $ac_status); }; } &&
36194 { ac_try='test -s conftest$ac_exeext'
36195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36196 (eval $ac_try) 2>&5
36197 ac_status=$?
36198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36199 (exit $ac_status); }; }; then
36200 eval "$as_ac_var=yes"
36201 else
36202 echo "$as_me: failed program was:" >&5
36203 sed 's/^/| /' conftest.$ac_ext >&5
36205 eval "$as_ac_var=no"
36207 rm -f conftest.err conftest.$ac_objext \
36208 conftest$ac_exeext conftest.$ac_ext
36210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36212 if test `eval echo '${'$as_ac_var'}'` = yes; then
36213 cat >>confdefs.h <<_ACEOF
36214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36215 _ACEOF
36218 done
36230 echo "$as_me:$LINENO: checking for expf declaration" >&5
36231 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36232 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36233 if test "${glibcxx_cv_func_expf_use+set}" = set; then
36234 echo $ECHO_N "(cached) $ECHO_C" >&6
36235 else
36239 ac_ext=cc
36240 ac_cpp='$CXXCPP $CPPFLAGS'
36241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36245 cat >conftest.$ac_ext <<_ACEOF
36246 /* confdefs.h. */
36247 _ACEOF
36248 cat confdefs.h >>conftest.$ac_ext
36249 cat >>conftest.$ac_ext <<_ACEOF
36250 /* end confdefs.h. */
36251 #include <math.h>
36252 #ifdef HAVE_IEEEFP_H
36253 #include <ieeefp.h>
36254 #endif
36257 main ()
36259 expf(0);
36261 return 0;
36263 _ACEOF
36264 rm -f conftest.$ac_objext
36265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36266 (eval $ac_compile) 2>conftest.er1
36267 ac_status=$?
36268 grep -v '^ *+' conftest.er1 >conftest.err
36269 rm -f conftest.er1
36270 cat conftest.err >&5
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); } &&
36273 { ac_try='test -z "$ac_cxx_werror_flag"
36274 || test ! -s conftest.err'
36275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36276 (eval $ac_try) 2>&5
36277 ac_status=$?
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); }; } &&
36280 { ac_try='test -s conftest.$ac_objext'
36281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36282 (eval $ac_try) 2>&5
36283 ac_status=$?
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); }; }; then
36286 glibcxx_cv_func_expf_use=yes
36287 else
36288 echo "$as_me: failed program was:" >&5
36289 sed 's/^/| /' conftest.$ac_ext >&5
36291 glibcxx_cv_func_expf_use=no
36293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36294 ac_ext=c
36295 ac_cpp='$CPP $CPPFLAGS'
36296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36305 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36307 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36309 for ac_func in expf
36311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36312 echo "$as_me:$LINENO: checking for $ac_func" >&5
36313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36314 if eval "test \"\${$as_ac_var+set}\" = set"; then
36315 echo $ECHO_N "(cached) $ECHO_C" >&6
36316 else
36317 if test x$gcc_no_link = xyes; then
36318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36320 { (exit 1); exit 1; }; }
36322 cat >conftest.$ac_ext <<_ACEOF
36323 /* confdefs.h. */
36324 _ACEOF
36325 cat confdefs.h >>conftest.$ac_ext
36326 cat >>conftest.$ac_ext <<_ACEOF
36327 /* end confdefs.h. */
36328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36330 #define $ac_func innocuous_$ac_func
36332 /* System header to define __stub macros and hopefully few prototypes,
36333 which can conflict with char $ac_func (); below.
36334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36335 <limits.h> exists even on freestanding compilers. */
36337 #ifdef __STDC__
36338 # include <limits.h>
36339 #else
36340 # include <assert.h>
36341 #endif
36343 #undef $ac_func
36345 /* Override any gcc2 internal prototype to avoid an error. */
36346 #ifdef __cplusplus
36347 extern "C"
36349 #endif
36350 /* We use char because int might match the return type of a gcc2
36351 builtin and then its argument prototype would still apply. */
36352 char $ac_func ();
36353 /* The GNU C library defines this for functions which it implements
36354 to always fail with ENOSYS. Some functions are actually named
36355 something starting with __ and the normal name is an alias. */
36356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36357 choke me
36358 #else
36359 char (*f) () = $ac_func;
36360 #endif
36361 #ifdef __cplusplus
36363 #endif
36366 main ()
36368 return f != $ac_func;
36370 return 0;
36372 _ACEOF
36373 rm -f conftest.$ac_objext conftest$ac_exeext
36374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36375 (eval $ac_link) 2>conftest.er1
36376 ac_status=$?
36377 grep -v '^ *+' conftest.er1 >conftest.err
36378 rm -f conftest.er1
36379 cat conftest.err >&5
36380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36381 (exit $ac_status); } &&
36382 { ac_try='test -z "$ac_c_werror_flag"
36383 || test ! -s conftest.err'
36384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36385 (eval $ac_try) 2>&5
36386 ac_status=$?
36387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36388 (exit $ac_status); }; } &&
36389 { ac_try='test -s conftest$ac_exeext'
36390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36391 (eval $ac_try) 2>&5
36392 ac_status=$?
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); }; }; then
36395 eval "$as_ac_var=yes"
36396 else
36397 echo "$as_me: failed program was:" >&5
36398 sed 's/^/| /' conftest.$ac_ext >&5
36400 eval "$as_ac_var=no"
36402 rm -f conftest.err conftest.$ac_objext \
36403 conftest$ac_exeext conftest.$ac_ext
36405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36407 if test `eval echo '${'$as_ac_var'}'` = yes; then
36408 cat >>confdefs.h <<_ACEOF
36409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36410 _ACEOF
36413 done
36415 else
36417 echo "$as_me:$LINENO: checking for _expf declaration" >&5
36418 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36419 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36420 if test "${glibcxx_cv_func__expf_use+set}" = set; then
36421 echo $ECHO_N "(cached) $ECHO_C" >&6
36422 else
36426 ac_ext=cc
36427 ac_cpp='$CXXCPP $CPPFLAGS'
36428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36432 cat >conftest.$ac_ext <<_ACEOF
36433 /* confdefs.h. */
36434 _ACEOF
36435 cat confdefs.h >>conftest.$ac_ext
36436 cat >>conftest.$ac_ext <<_ACEOF
36437 /* end confdefs.h. */
36438 #include <math.h>
36439 #ifdef HAVE_IEEEFP_H
36440 #include <ieeefp.h>
36441 #endif
36444 main ()
36446 _expf(0);
36448 return 0;
36450 _ACEOF
36451 rm -f conftest.$ac_objext
36452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36453 (eval $ac_compile) 2>conftest.er1
36454 ac_status=$?
36455 grep -v '^ *+' conftest.er1 >conftest.err
36456 rm -f conftest.er1
36457 cat conftest.err >&5
36458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36459 (exit $ac_status); } &&
36460 { ac_try='test -z "$ac_cxx_werror_flag"
36461 || test ! -s conftest.err'
36462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36463 (eval $ac_try) 2>&5
36464 ac_status=$?
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); }; } &&
36467 { ac_try='test -s conftest.$ac_objext'
36468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36469 (eval $ac_try) 2>&5
36470 ac_status=$?
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); }; }; then
36473 glibcxx_cv_func__expf_use=yes
36474 else
36475 echo "$as_me: failed program was:" >&5
36476 sed 's/^/| /' conftest.$ac_ext >&5
36478 glibcxx_cv_func__expf_use=no
36480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36481 ac_ext=c
36482 ac_cpp='$CPP $CPPFLAGS'
36483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36491 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36492 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36494 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36496 for ac_func in _expf
36498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36499 echo "$as_me:$LINENO: checking for $ac_func" >&5
36500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36501 if eval "test \"\${$as_ac_var+set}\" = set"; then
36502 echo $ECHO_N "(cached) $ECHO_C" >&6
36503 else
36504 if test x$gcc_no_link = xyes; then
36505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36507 { (exit 1); exit 1; }; }
36509 cat >conftest.$ac_ext <<_ACEOF
36510 /* confdefs.h. */
36511 _ACEOF
36512 cat confdefs.h >>conftest.$ac_ext
36513 cat >>conftest.$ac_ext <<_ACEOF
36514 /* end confdefs.h. */
36515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36517 #define $ac_func innocuous_$ac_func
36519 /* System header to define __stub macros and hopefully few prototypes,
36520 which can conflict with char $ac_func (); below.
36521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36522 <limits.h> exists even on freestanding compilers. */
36524 #ifdef __STDC__
36525 # include <limits.h>
36526 #else
36527 # include <assert.h>
36528 #endif
36530 #undef $ac_func
36532 /* Override any gcc2 internal prototype to avoid an error. */
36533 #ifdef __cplusplus
36534 extern "C"
36536 #endif
36537 /* We use char because int might match the return type of a gcc2
36538 builtin and then its argument prototype would still apply. */
36539 char $ac_func ();
36540 /* The GNU C library defines this for functions which it implements
36541 to always fail with ENOSYS. Some functions are actually named
36542 something starting with __ and the normal name is an alias. */
36543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36544 choke me
36545 #else
36546 char (*f) () = $ac_func;
36547 #endif
36548 #ifdef __cplusplus
36550 #endif
36553 main ()
36555 return f != $ac_func;
36557 return 0;
36559 _ACEOF
36560 rm -f conftest.$ac_objext conftest$ac_exeext
36561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36562 (eval $ac_link) 2>conftest.er1
36563 ac_status=$?
36564 grep -v '^ *+' conftest.er1 >conftest.err
36565 rm -f conftest.er1
36566 cat conftest.err >&5
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); } &&
36569 { ac_try='test -z "$ac_c_werror_flag"
36570 || test ! -s conftest.err'
36571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36572 (eval $ac_try) 2>&5
36573 ac_status=$?
36574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36575 (exit $ac_status); }; } &&
36576 { ac_try='test -s conftest$ac_exeext'
36577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36578 (eval $ac_try) 2>&5
36579 ac_status=$?
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); }; }; then
36582 eval "$as_ac_var=yes"
36583 else
36584 echo "$as_me: failed program was:" >&5
36585 sed 's/^/| /' conftest.$ac_ext >&5
36587 eval "$as_ac_var=no"
36589 rm -f conftest.err conftest.$ac_objext \
36590 conftest$ac_exeext conftest.$ac_ext
36592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36594 if test `eval echo '${'$as_ac_var'}'` = yes; then
36595 cat >>confdefs.h <<_ACEOF
36596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36597 _ACEOF
36600 done
36610 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36611 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36612 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36613 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36614 echo $ECHO_N "(cached) $ECHO_C" >&6
36615 else
36619 ac_ext=cc
36620 ac_cpp='$CXXCPP $CPPFLAGS'
36621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36625 cat >conftest.$ac_ext <<_ACEOF
36626 /* confdefs.h. */
36627 _ACEOF
36628 cat confdefs.h >>conftest.$ac_ext
36629 cat >>conftest.$ac_ext <<_ACEOF
36630 /* end confdefs.h. */
36631 #include <math.h>
36632 #ifdef HAVE_IEEEFP_H
36633 #include <ieeefp.h>
36634 #endif
36637 main ()
36639 isnanf(0);
36641 return 0;
36643 _ACEOF
36644 rm -f conftest.$ac_objext
36645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36646 (eval $ac_compile) 2>conftest.er1
36647 ac_status=$?
36648 grep -v '^ *+' conftest.er1 >conftest.err
36649 rm -f conftest.er1
36650 cat conftest.err >&5
36651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36652 (exit $ac_status); } &&
36653 { ac_try='test -z "$ac_cxx_werror_flag"
36654 || test ! -s conftest.err'
36655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36656 (eval $ac_try) 2>&5
36657 ac_status=$?
36658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659 (exit $ac_status); }; } &&
36660 { ac_try='test -s conftest.$ac_objext'
36661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36662 (eval $ac_try) 2>&5
36663 ac_status=$?
36664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36665 (exit $ac_status); }; }; then
36666 glibcxx_cv_func_isnanf_use=yes
36667 else
36668 echo "$as_me: failed program was:" >&5
36669 sed 's/^/| /' conftest.$ac_ext >&5
36671 glibcxx_cv_func_isnanf_use=no
36673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36674 ac_ext=c
36675 ac_cpp='$CPP $CPPFLAGS'
36676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36684 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
36685 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
36687 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36689 for ac_func in isnanf
36691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36692 echo "$as_me:$LINENO: checking for $ac_func" >&5
36693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36694 if eval "test \"\${$as_ac_var+set}\" = set"; then
36695 echo $ECHO_N "(cached) $ECHO_C" >&6
36696 else
36697 if test x$gcc_no_link = xyes; then
36698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36700 { (exit 1); exit 1; }; }
36702 cat >conftest.$ac_ext <<_ACEOF
36703 /* confdefs.h. */
36704 _ACEOF
36705 cat confdefs.h >>conftest.$ac_ext
36706 cat >>conftest.$ac_ext <<_ACEOF
36707 /* end confdefs.h. */
36708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36710 #define $ac_func innocuous_$ac_func
36712 /* System header to define __stub macros and hopefully few prototypes,
36713 which can conflict with char $ac_func (); below.
36714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36715 <limits.h> exists even on freestanding compilers. */
36717 #ifdef __STDC__
36718 # include <limits.h>
36719 #else
36720 # include <assert.h>
36721 #endif
36723 #undef $ac_func
36725 /* Override any gcc2 internal prototype to avoid an error. */
36726 #ifdef __cplusplus
36727 extern "C"
36729 #endif
36730 /* We use char because int might match the return type of a gcc2
36731 builtin and then its argument prototype would still apply. */
36732 char $ac_func ();
36733 /* The GNU C library defines this for functions which it implements
36734 to always fail with ENOSYS. Some functions are actually named
36735 something starting with __ and the normal name is an alias. */
36736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36737 choke me
36738 #else
36739 char (*f) () = $ac_func;
36740 #endif
36741 #ifdef __cplusplus
36743 #endif
36746 main ()
36748 return f != $ac_func;
36750 return 0;
36752 _ACEOF
36753 rm -f conftest.$ac_objext conftest$ac_exeext
36754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36755 (eval $ac_link) 2>conftest.er1
36756 ac_status=$?
36757 grep -v '^ *+' conftest.er1 >conftest.err
36758 rm -f conftest.er1
36759 cat conftest.err >&5
36760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36761 (exit $ac_status); } &&
36762 { ac_try='test -z "$ac_c_werror_flag"
36763 || test ! -s conftest.err'
36764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36765 (eval $ac_try) 2>&5
36766 ac_status=$?
36767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36768 (exit $ac_status); }; } &&
36769 { ac_try='test -s conftest$ac_exeext'
36770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36771 (eval $ac_try) 2>&5
36772 ac_status=$?
36773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774 (exit $ac_status); }; }; then
36775 eval "$as_ac_var=yes"
36776 else
36777 echo "$as_me: failed program was:" >&5
36778 sed 's/^/| /' conftest.$ac_ext >&5
36780 eval "$as_ac_var=no"
36782 rm -f conftest.err conftest.$ac_objext \
36783 conftest$ac_exeext conftest.$ac_ext
36785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36787 if test `eval echo '${'$as_ac_var'}'` = yes; then
36788 cat >>confdefs.h <<_ACEOF
36789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36790 _ACEOF
36793 done
36795 else
36797 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
36798 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
36799 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36800 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
36801 echo $ECHO_N "(cached) $ECHO_C" >&6
36802 else
36806 ac_ext=cc
36807 ac_cpp='$CXXCPP $CPPFLAGS'
36808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36812 cat >conftest.$ac_ext <<_ACEOF
36813 /* confdefs.h. */
36814 _ACEOF
36815 cat confdefs.h >>conftest.$ac_ext
36816 cat >>conftest.$ac_ext <<_ACEOF
36817 /* end confdefs.h. */
36818 #include <math.h>
36819 #ifdef HAVE_IEEEFP_H
36820 #include <ieeefp.h>
36821 #endif
36824 main ()
36826 _isnanf(0);
36828 return 0;
36830 _ACEOF
36831 rm -f conftest.$ac_objext
36832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36833 (eval $ac_compile) 2>conftest.er1
36834 ac_status=$?
36835 grep -v '^ *+' conftest.er1 >conftest.err
36836 rm -f conftest.er1
36837 cat conftest.err >&5
36838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36839 (exit $ac_status); } &&
36840 { ac_try='test -z "$ac_cxx_werror_flag"
36841 || test ! -s conftest.err'
36842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36843 (eval $ac_try) 2>&5
36844 ac_status=$?
36845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36846 (exit $ac_status); }; } &&
36847 { ac_try='test -s conftest.$ac_objext'
36848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36849 (eval $ac_try) 2>&5
36850 ac_status=$?
36851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36852 (exit $ac_status); }; }; then
36853 glibcxx_cv_func__isnanf_use=yes
36854 else
36855 echo "$as_me: failed program was:" >&5
36856 sed 's/^/| /' conftest.$ac_ext >&5
36858 glibcxx_cv_func__isnanf_use=no
36860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36861 ac_ext=c
36862 ac_cpp='$CPP $CPPFLAGS'
36863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36871 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
36872 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
36874 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36876 for ac_func in _isnanf
36878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36879 echo "$as_me:$LINENO: checking for $ac_func" >&5
36880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36881 if eval "test \"\${$as_ac_var+set}\" = set"; then
36882 echo $ECHO_N "(cached) $ECHO_C" >&6
36883 else
36884 if test x$gcc_no_link = xyes; then
36885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36887 { (exit 1); exit 1; }; }
36889 cat >conftest.$ac_ext <<_ACEOF
36890 /* confdefs.h. */
36891 _ACEOF
36892 cat confdefs.h >>conftest.$ac_ext
36893 cat >>conftest.$ac_ext <<_ACEOF
36894 /* end confdefs.h. */
36895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36897 #define $ac_func innocuous_$ac_func
36899 /* System header to define __stub macros and hopefully few prototypes,
36900 which can conflict with char $ac_func (); below.
36901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36902 <limits.h> exists even on freestanding compilers. */
36904 #ifdef __STDC__
36905 # include <limits.h>
36906 #else
36907 # include <assert.h>
36908 #endif
36910 #undef $ac_func
36912 /* Override any gcc2 internal prototype to avoid an error. */
36913 #ifdef __cplusplus
36914 extern "C"
36916 #endif
36917 /* We use char because int might match the return type of a gcc2
36918 builtin and then its argument prototype would still apply. */
36919 char $ac_func ();
36920 /* The GNU C library defines this for functions which it implements
36921 to always fail with ENOSYS. Some functions are actually named
36922 something starting with __ and the normal name is an alias. */
36923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36924 choke me
36925 #else
36926 char (*f) () = $ac_func;
36927 #endif
36928 #ifdef __cplusplus
36930 #endif
36933 main ()
36935 return f != $ac_func;
36937 return 0;
36939 _ACEOF
36940 rm -f conftest.$ac_objext conftest$ac_exeext
36941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36942 (eval $ac_link) 2>conftest.er1
36943 ac_status=$?
36944 grep -v '^ *+' conftest.er1 >conftest.err
36945 rm -f conftest.er1
36946 cat conftest.err >&5
36947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36948 (exit $ac_status); } &&
36949 { ac_try='test -z "$ac_c_werror_flag"
36950 || test ! -s conftest.err'
36951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36952 (eval $ac_try) 2>&5
36953 ac_status=$?
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); }; } &&
36956 { ac_try='test -s conftest$ac_exeext'
36957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36958 (eval $ac_try) 2>&5
36959 ac_status=$?
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); }; }; then
36962 eval "$as_ac_var=yes"
36963 else
36964 echo "$as_me: failed program was:" >&5
36965 sed 's/^/| /' conftest.$ac_ext >&5
36967 eval "$as_ac_var=no"
36969 rm -f conftest.err conftest.$ac_objext \
36970 conftest$ac_exeext conftest.$ac_ext
36972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36974 if test `eval echo '${'$as_ac_var'}'` = yes; then
36975 cat >>confdefs.h <<_ACEOF
36976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36977 _ACEOF
36980 done
36990 echo "$as_me:$LINENO: checking for isinff declaration" >&5
36991 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
36992 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36993 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
36994 echo $ECHO_N "(cached) $ECHO_C" >&6
36995 else
36999 ac_ext=cc
37000 ac_cpp='$CXXCPP $CPPFLAGS'
37001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37005 cat >conftest.$ac_ext <<_ACEOF
37006 /* confdefs.h. */
37007 _ACEOF
37008 cat confdefs.h >>conftest.$ac_ext
37009 cat >>conftest.$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37011 #include <math.h>
37012 #ifdef HAVE_IEEEFP_H
37013 #include <ieeefp.h>
37014 #endif
37017 main ()
37019 isinff(0);
37021 return 0;
37023 _ACEOF
37024 rm -f conftest.$ac_objext
37025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37026 (eval $ac_compile) 2>conftest.er1
37027 ac_status=$?
37028 grep -v '^ *+' conftest.er1 >conftest.err
37029 rm -f conftest.er1
37030 cat conftest.err >&5
37031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37032 (exit $ac_status); } &&
37033 { ac_try='test -z "$ac_cxx_werror_flag"
37034 || test ! -s conftest.err'
37035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37036 (eval $ac_try) 2>&5
37037 ac_status=$?
37038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37039 (exit $ac_status); }; } &&
37040 { ac_try='test -s conftest.$ac_objext'
37041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37042 (eval $ac_try) 2>&5
37043 ac_status=$?
37044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37045 (exit $ac_status); }; }; then
37046 glibcxx_cv_func_isinff_use=yes
37047 else
37048 echo "$as_me: failed program was:" >&5
37049 sed 's/^/| /' conftest.$ac_ext >&5
37051 glibcxx_cv_func_isinff_use=no
37053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37054 ac_ext=c
37055 ac_cpp='$CPP $CPPFLAGS'
37056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37064 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37065 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37067 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37069 for ac_func in isinff
37071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37072 echo "$as_me:$LINENO: checking for $ac_func" >&5
37073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37074 if eval "test \"\${$as_ac_var+set}\" = set"; then
37075 echo $ECHO_N "(cached) $ECHO_C" >&6
37076 else
37077 if test x$gcc_no_link = xyes; then
37078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37080 { (exit 1); exit 1; }; }
37082 cat >conftest.$ac_ext <<_ACEOF
37083 /* confdefs.h. */
37084 _ACEOF
37085 cat confdefs.h >>conftest.$ac_ext
37086 cat >>conftest.$ac_ext <<_ACEOF
37087 /* end confdefs.h. */
37088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37090 #define $ac_func innocuous_$ac_func
37092 /* System header to define __stub macros and hopefully few prototypes,
37093 which can conflict with char $ac_func (); below.
37094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37095 <limits.h> exists even on freestanding compilers. */
37097 #ifdef __STDC__
37098 # include <limits.h>
37099 #else
37100 # include <assert.h>
37101 #endif
37103 #undef $ac_func
37105 /* Override any gcc2 internal prototype to avoid an error. */
37106 #ifdef __cplusplus
37107 extern "C"
37109 #endif
37110 /* We use char because int might match the return type of a gcc2
37111 builtin and then its argument prototype would still apply. */
37112 char $ac_func ();
37113 /* The GNU C library defines this for functions which it implements
37114 to always fail with ENOSYS. Some functions are actually named
37115 something starting with __ and the normal name is an alias. */
37116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37117 choke me
37118 #else
37119 char (*f) () = $ac_func;
37120 #endif
37121 #ifdef __cplusplus
37123 #endif
37126 main ()
37128 return f != $ac_func;
37130 return 0;
37132 _ACEOF
37133 rm -f conftest.$ac_objext conftest$ac_exeext
37134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37135 (eval $ac_link) 2>conftest.er1
37136 ac_status=$?
37137 grep -v '^ *+' conftest.er1 >conftest.err
37138 rm -f conftest.er1
37139 cat conftest.err >&5
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); } &&
37142 { ac_try='test -z "$ac_c_werror_flag"
37143 || test ! -s conftest.err'
37144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37145 (eval $ac_try) 2>&5
37146 ac_status=$?
37147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37148 (exit $ac_status); }; } &&
37149 { ac_try='test -s conftest$ac_exeext'
37150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37151 (eval $ac_try) 2>&5
37152 ac_status=$?
37153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37154 (exit $ac_status); }; }; then
37155 eval "$as_ac_var=yes"
37156 else
37157 echo "$as_me: failed program was:" >&5
37158 sed 's/^/| /' conftest.$ac_ext >&5
37160 eval "$as_ac_var=no"
37162 rm -f conftest.err conftest.$ac_objext \
37163 conftest$ac_exeext conftest.$ac_ext
37165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37167 if test `eval echo '${'$as_ac_var'}'` = yes; then
37168 cat >>confdefs.h <<_ACEOF
37169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37170 _ACEOF
37173 done
37175 else
37177 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37178 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37179 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37180 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37181 echo $ECHO_N "(cached) $ECHO_C" >&6
37182 else
37186 ac_ext=cc
37187 ac_cpp='$CXXCPP $CPPFLAGS'
37188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37192 cat >conftest.$ac_ext <<_ACEOF
37193 /* confdefs.h. */
37194 _ACEOF
37195 cat confdefs.h >>conftest.$ac_ext
37196 cat >>conftest.$ac_ext <<_ACEOF
37197 /* end confdefs.h. */
37198 #include <math.h>
37199 #ifdef HAVE_IEEEFP_H
37200 #include <ieeefp.h>
37201 #endif
37204 main ()
37206 _isinff(0);
37208 return 0;
37210 _ACEOF
37211 rm -f conftest.$ac_objext
37212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37213 (eval $ac_compile) 2>conftest.er1
37214 ac_status=$?
37215 grep -v '^ *+' conftest.er1 >conftest.err
37216 rm -f conftest.er1
37217 cat conftest.err >&5
37218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37219 (exit $ac_status); } &&
37220 { ac_try='test -z "$ac_cxx_werror_flag"
37221 || test ! -s conftest.err'
37222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37223 (eval $ac_try) 2>&5
37224 ac_status=$?
37225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226 (exit $ac_status); }; } &&
37227 { ac_try='test -s conftest.$ac_objext'
37228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37229 (eval $ac_try) 2>&5
37230 ac_status=$?
37231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37232 (exit $ac_status); }; }; then
37233 glibcxx_cv_func__isinff_use=yes
37234 else
37235 echo "$as_me: failed program was:" >&5
37236 sed 's/^/| /' conftest.$ac_ext >&5
37238 glibcxx_cv_func__isinff_use=no
37240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37241 ac_ext=c
37242 ac_cpp='$CPP $CPPFLAGS'
37243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37251 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37252 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37254 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37256 for ac_func in _isinff
37258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37259 echo "$as_me:$LINENO: checking for $ac_func" >&5
37260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37261 if eval "test \"\${$as_ac_var+set}\" = set"; then
37262 echo $ECHO_N "(cached) $ECHO_C" >&6
37263 else
37264 if test x$gcc_no_link = xyes; then
37265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37267 { (exit 1); exit 1; }; }
37269 cat >conftest.$ac_ext <<_ACEOF
37270 /* confdefs.h. */
37271 _ACEOF
37272 cat confdefs.h >>conftest.$ac_ext
37273 cat >>conftest.$ac_ext <<_ACEOF
37274 /* end confdefs.h. */
37275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37277 #define $ac_func innocuous_$ac_func
37279 /* System header to define __stub macros and hopefully few prototypes,
37280 which can conflict with char $ac_func (); below.
37281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37282 <limits.h> exists even on freestanding compilers. */
37284 #ifdef __STDC__
37285 # include <limits.h>
37286 #else
37287 # include <assert.h>
37288 #endif
37290 #undef $ac_func
37292 /* Override any gcc2 internal prototype to avoid an error. */
37293 #ifdef __cplusplus
37294 extern "C"
37296 #endif
37297 /* We use char because int might match the return type of a gcc2
37298 builtin and then its argument prototype would still apply. */
37299 char $ac_func ();
37300 /* The GNU C library defines this for functions which it implements
37301 to always fail with ENOSYS. Some functions are actually named
37302 something starting with __ and the normal name is an alias. */
37303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37304 choke me
37305 #else
37306 char (*f) () = $ac_func;
37307 #endif
37308 #ifdef __cplusplus
37310 #endif
37313 main ()
37315 return f != $ac_func;
37317 return 0;
37319 _ACEOF
37320 rm -f conftest.$ac_objext conftest$ac_exeext
37321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37322 (eval $ac_link) 2>conftest.er1
37323 ac_status=$?
37324 grep -v '^ *+' conftest.er1 >conftest.err
37325 rm -f conftest.er1
37326 cat conftest.err >&5
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); } &&
37329 { ac_try='test -z "$ac_c_werror_flag"
37330 || test ! -s conftest.err'
37331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37332 (eval $ac_try) 2>&5
37333 ac_status=$?
37334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335 (exit $ac_status); }; } &&
37336 { ac_try='test -s conftest$ac_exeext'
37337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37338 (eval $ac_try) 2>&5
37339 ac_status=$?
37340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37341 (exit $ac_status); }; }; then
37342 eval "$as_ac_var=yes"
37343 else
37344 echo "$as_me: failed program was:" >&5
37345 sed 's/^/| /' conftest.$ac_ext >&5
37347 eval "$as_ac_var=no"
37349 rm -f conftest.err conftest.$ac_objext \
37350 conftest$ac_exeext conftest.$ac_ext
37352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37354 if test `eval echo '${'$as_ac_var'}'` = yes; then
37355 cat >>confdefs.h <<_ACEOF
37356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37357 _ACEOF
37360 done
37370 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37371 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37372 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37373 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37374 echo $ECHO_N "(cached) $ECHO_C" >&6
37375 else
37379 ac_ext=cc
37380 ac_cpp='$CXXCPP $CPPFLAGS'
37381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37385 cat >conftest.$ac_ext <<_ACEOF
37386 /* confdefs.h. */
37387 _ACEOF
37388 cat confdefs.h >>conftest.$ac_ext
37389 cat >>conftest.$ac_ext <<_ACEOF
37390 /* end confdefs.h. */
37391 #include <math.h>
37393 main ()
37395 atan2f(0, 0);
37397 return 0;
37399 _ACEOF
37400 rm -f conftest.$ac_objext
37401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37402 (eval $ac_compile) 2>conftest.er1
37403 ac_status=$?
37404 grep -v '^ *+' conftest.er1 >conftest.err
37405 rm -f conftest.er1
37406 cat conftest.err >&5
37407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37408 (exit $ac_status); } &&
37409 { ac_try='test -z "$ac_cxx_werror_flag"
37410 || test ! -s conftest.err'
37411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37412 (eval $ac_try) 2>&5
37413 ac_status=$?
37414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37415 (exit $ac_status); }; } &&
37416 { ac_try='test -s conftest.$ac_objext'
37417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37418 (eval $ac_try) 2>&5
37419 ac_status=$?
37420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37421 (exit $ac_status); }; }; then
37422 glibcxx_cv_func_atan2f_use=yes
37423 else
37424 echo "$as_me: failed program was:" >&5
37425 sed 's/^/| /' conftest.$ac_ext >&5
37427 glibcxx_cv_func_atan2f_use=no
37429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37430 ac_ext=c
37431 ac_cpp='$CPP $CPPFLAGS'
37432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37440 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37441 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37443 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37445 for ac_func in atan2f
37447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37448 echo "$as_me:$LINENO: checking for $ac_func" >&5
37449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37450 if eval "test \"\${$as_ac_var+set}\" = set"; then
37451 echo $ECHO_N "(cached) $ECHO_C" >&6
37452 else
37453 if test x$gcc_no_link = xyes; then
37454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37456 { (exit 1); exit 1; }; }
37458 cat >conftest.$ac_ext <<_ACEOF
37459 /* confdefs.h. */
37460 _ACEOF
37461 cat confdefs.h >>conftest.$ac_ext
37462 cat >>conftest.$ac_ext <<_ACEOF
37463 /* end confdefs.h. */
37464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37466 #define $ac_func innocuous_$ac_func
37468 /* System header to define __stub macros and hopefully few prototypes,
37469 which can conflict with char $ac_func (); below.
37470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37471 <limits.h> exists even on freestanding compilers. */
37473 #ifdef __STDC__
37474 # include <limits.h>
37475 #else
37476 # include <assert.h>
37477 #endif
37479 #undef $ac_func
37481 /* Override any gcc2 internal prototype to avoid an error. */
37482 #ifdef __cplusplus
37483 extern "C"
37485 #endif
37486 /* We use char because int might match the return type of a gcc2
37487 builtin and then its argument prototype would still apply. */
37488 char $ac_func ();
37489 /* The GNU C library defines this for functions which it implements
37490 to always fail with ENOSYS. Some functions are actually named
37491 something starting with __ and the normal name is an alias. */
37492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37493 choke me
37494 #else
37495 char (*f) () = $ac_func;
37496 #endif
37497 #ifdef __cplusplus
37499 #endif
37502 main ()
37504 return f != $ac_func;
37506 return 0;
37508 _ACEOF
37509 rm -f conftest.$ac_objext conftest$ac_exeext
37510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37511 (eval $ac_link) 2>conftest.er1
37512 ac_status=$?
37513 grep -v '^ *+' conftest.er1 >conftest.err
37514 rm -f conftest.er1
37515 cat conftest.err >&5
37516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37517 (exit $ac_status); } &&
37518 { ac_try='test -z "$ac_c_werror_flag"
37519 || test ! -s conftest.err'
37520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37521 (eval $ac_try) 2>&5
37522 ac_status=$?
37523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37524 (exit $ac_status); }; } &&
37525 { ac_try='test -s conftest$ac_exeext'
37526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37527 (eval $ac_try) 2>&5
37528 ac_status=$?
37529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37530 (exit $ac_status); }; }; then
37531 eval "$as_ac_var=yes"
37532 else
37533 echo "$as_me: failed program was:" >&5
37534 sed 's/^/| /' conftest.$ac_ext >&5
37536 eval "$as_ac_var=no"
37538 rm -f conftest.err conftest.$ac_objext \
37539 conftest$ac_exeext conftest.$ac_ext
37541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37543 if test `eval echo '${'$as_ac_var'}'` = yes; then
37544 cat >>confdefs.h <<_ACEOF
37545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37546 _ACEOF
37549 done
37551 else
37553 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37554 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37555 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37556 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37557 echo $ECHO_N "(cached) $ECHO_C" >&6
37558 else
37562 ac_ext=cc
37563 ac_cpp='$CXXCPP $CPPFLAGS'
37564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37568 cat >conftest.$ac_ext <<_ACEOF
37569 /* confdefs.h. */
37570 _ACEOF
37571 cat confdefs.h >>conftest.$ac_ext
37572 cat >>conftest.$ac_ext <<_ACEOF
37573 /* end confdefs.h. */
37574 #include <math.h>
37576 main ()
37578 _atan2f(0, 0);
37580 return 0;
37582 _ACEOF
37583 rm -f conftest.$ac_objext
37584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37585 (eval $ac_compile) 2>conftest.er1
37586 ac_status=$?
37587 grep -v '^ *+' conftest.er1 >conftest.err
37588 rm -f conftest.er1
37589 cat conftest.err >&5
37590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37591 (exit $ac_status); } &&
37592 { ac_try='test -z "$ac_cxx_werror_flag"
37593 || test ! -s conftest.err'
37594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37595 (eval $ac_try) 2>&5
37596 ac_status=$?
37597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37598 (exit $ac_status); }; } &&
37599 { ac_try='test -s conftest.$ac_objext'
37600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37601 (eval $ac_try) 2>&5
37602 ac_status=$?
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); }; }; then
37605 glibcxx_cv_func__atan2f_use=yes
37606 else
37607 echo "$as_me: failed program was:" >&5
37608 sed 's/^/| /' conftest.$ac_ext >&5
37610 glibcxx_cv_func__atan2f_use=no
37612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37613 ac_ext=c
37614 ac_cpp='$CPP $CPPFLAGS'
37615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37624 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37626 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37628 for ac_func in _atan2f
37630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37631 echo "$as_me:$LINENO: checking for $ac_func" >&5
37632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37633 if eval "test \"\${$as_ac_var+set}\" = set"; then
37634 echo $ECHO_N "(cached) $ECHO_C" >&6
37635 else
37636 if test x$gcc_no_link = xyes; then
37637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37639 { (exit 1); exit 1; }; }
37641 cat >conftest.$ac_ext <<_ACEOF
37642 /* confdefs.h. */
37643 _ACEOF
37644 cat confdefs.h >>conftest.$ac_ext
37645 cat >>conftest.$ac_ext <<_ACEOF
37646 /* end confdefs.h. */
37647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37649 #define $ac_func innocuous_$ac_func
37651 /* System header to define __stub macros and hopefully few prototypes,
37652 which can conflict with char $ac_func (); below.
37653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37654 <limits.h> exists even on freestanding compilers. */
37656 #ifdef __STDC__
37657 # include <limits.h>
37658 #else
37659 # include <assert.h>
37660 #endif
37662 #undef $ac_func
37664 /* Override any gcc2 internal prototype to avoid an error. */
37665 #ifdef __cplusplus
37666 extern "C"
37668 #endif
37669 /* We use char because int might match the return type of a gcc2
37670 builtin and then its argument prototype would still apply. */
37671 char $ac_func ();
37672 /* The GNU C library defines this for functions which it implements
37673 to always fail with ENOSYS. Some functions are actually named
37674 something starting with __ and the normal name is an alias. */
37675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37676 choke me
37677 #else
37678 char (*f) () = $ac_func;
37679 #endif
37680 #ifdef __cplusplus
37682 #endif
37685 main ()
37687 return f != $ac_func;
37689 return 0;
37691 _ACEOF
37692 rm -f conftest.$ac_objext conftest$ac_exeext
37693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37694 (eval $ac_link) 2>conftest.er1
37695 ac_status=$?
37696 grep -v '^ *+' conftest.er1 >conftest.err
37697 rm -f conftest.er1
37698 cat conftest.err >&5
37699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37700 (exit $ac_status); } &&
37701 { ac_try='test -z "$ac_c_werror_flag"
37702 || test ! -s conftest.err'
37703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37704 (eval $ac_try) 2>&5
37705 ac_status=$?
37706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37707 (exit $ac_status); }; } &&
37708 { ac_try='test -s conftest$ac_exeext'
37709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37710 (eval $ac_try) 2>&5
37711 ac_status=$?
37712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713 (exit $ac_status); }; }; then
37714 eval "$as_ac_var=yes"
37715 else
37716 echo "$as_me: failed program was:" >&5
37717 sed 's/^/| /' conftest.$ac_ext >&5
37719 eval "$as_ac_var=no"
37721 rm -f conftest.err conftest.$ac_objext \
37722 conftest$ac_exeext conftest.$ac_ext
37724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37726 if test `eval echo '${'$as_ac_var'}'` = yes; then
37727 cat >>confdefs.h <<_ACEOF
37728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37729 _ACEOF
37732 done
37742 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
37743 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
37744 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37745 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
37746 echo $ECHO_N "(cached) $ECHO_C" >&6
37747 else
37751 ac_ext=cc
37752 ac_cpp='$CXXCPP $CPPFLAGS'
37753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37757 cat >conftest.$ac_ext <<_ACEOF
37758 /* confdefs.h. */
37759 _ACEOF
37760 cat confdefs.h >>conftest.$ac_ext
37761 cat >>conftest.$ac_ext <<_ACEOF
37762 /* end confdefs.h. */
37763 #include <math.h>
37764 #ifdef HAVE_IEEEFP_H
37765 #include <ieeefp.h>
37766 #endif
37769 main ()
37771 fabsf(0);
37773 return 0;
37775 _ACEOF
37776 rm -f conftest.$ac_objext
37777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37778 (eval $ac_compile) 2>conftest.er1
37779 ac_status=$?
37780 grep -v '^ *+' conftest.er1 >conftest.err
37781 rm -f conftest.er1
37782 cat conftest.err >&5
37783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37784 (exit $ac_status); } &&
37785 { ac_try='test -z "$ac_cxx_werror_flag"
37786 || test ! -s conftest.err'
37787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37788 (eval $ac_try) 2>&5
37789 ac_status=$?
37790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37791 (exit $ac_status); }; } &&
37792 { ac_try='test -s conftest.$ac_objext'
37793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37794 (eval $ac_try) 2>&5
37795 ac_status=$?
37796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797 (exit $ac_status); }; }; then
37798 glibcxx_cv_func_fabsf_use=yes
37799 else
37800 echo "$as_me: failed program was:" >&5
37801 sed 's/^/| /' conftest.$ac_ext >&5
37803 glibcxx_cv_func_fabsf_use=no
37805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37806 ac_ext=c
37807 ac_cpp='$CPP $CPPFLAGS'
37808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37816 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
37817 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
37819 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37821 for ac_func in fabsf
37823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37824 echo "$as_me:$LINENO: checking for $ac_func" >&5
37825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37826 if eval "test \"\${$as_ac_var+set}\" = set"; then
37827 echo $ECHO_N "(cached) $ECHO_C" >&6
37828 else
37829 if test x$gcc_no_link = xyes; then
37830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37832 { (exit 1); exit 1; }; }
37834 cat >conftest.$ac_ext <<_ACEOF
37835 /* confdefs.h. */
37836 _ACEOF
37837 cat confdefs.h >>conftest.$ac_ext
37838 cat >>conftest.$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37842 #define $ac_func innocuous_$ac_func
37844 /* System header to define __stub macros and hopefully few prototypes,
37845 which can conflict with char $ac_func (); below.
37846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37847 <limits.h> exists even on freestanding compilers. */
37849 #ifdef __STDC__
37850 # include <limits.h>
37851 #else
37852 # include <assert.h>
37853 #endif
37855 #undef $ac_func
37857 /* Override any gcc2 internal prototype to avoid an error. */
37858 #ifdef __cplusplus
37859 extern "C"
37861 #endif
37862 /* We use char because int might match the return type of a gcc2
37863 builtin and then its argument prototype would still apply. */
37864 char $ac_func ();
37865 /* The GNU C library defines this for functions which it implements
37866 to always fail with ENOSYS. Some functions are actually named
37867 something starting with __ and the normal name is an alias. */
37868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37869 choke me
37870 #else
37871 char (*f) () = $ac_func;
37872 #endif
37873 #ifdef __cplusplus
37875 #endif
37878 main ()
37880 return f != $ac_func;
37882 return 0;
37884 _ACEOF
37885 rm -f conftest.$ac_objext conftest$ac_exeext
37886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37887 (eval $ac_link) 2>conftest.er1
37888 ac_status=$?
37889 grep -v '^ *+' conftest.er1 >conftest.err
37890 rm -f conftest.er1
37891 cat conftest.err >&5
37892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37893 (exit $ac_status); } &&
37894 { ac_try='test -z "$ac_c_werror_flag"
37895 || test ! -s conftest.err'
37896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37897 (eval $ac_try) 2>&5
37898 ac_status=$?
37899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37900 (exit $ac_status); }; } &&
37901 { ac_try='test -s conftest$ac_exeext'
37902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37903 (eval $ac_try) 2>&5
37904 ac_status=$?
37905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37906 (exit $ac_status); }; }; then
37907 eval "$as_ac_var=yes"
37908 else
37909 echo "$as_me: failed program was:" >&5
37910 sed 's/^/| /' conftest.$ac_ext >&5
37912 eval "$as_ac_var=no"
37914 rm -f conftest.err conftest.$ac_objext \
37915 conftest$ac_exeext conftest.$ac_ext
37917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37919 if test `eval echo '${'$as_ac_var'}'` = yes; then
37920 cat >>confdefs.h <<_ACEOF
37921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37922 _ACEOF
37925 done
37927 else
37929 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
37930 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
37931 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37932 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
37933 echo $ECHO_N "(cached) $ECHO_C" >&6
37934 else
37938 ac_ext=cc
37939 ac_cpp='$CXXCPP $CPPFLAGS'
37940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37944 cat >conftest.$ac_ext <<_ACEOF
37945 /* confdefs.h. */
37946 _ACEOF
37947 cat confdefs.h >>conftest.$ac_ext
37948 cat >>conftest.$ac_ext <<_ACEOF
37949 /* end confdefs.h. */
37950 #include <math.h>
37951 #ifdef HAVE_IEEEFP_H
37952 #include <ieeefp.h>
37953 #endif
37956 main ()
37958 _fabsf(0);
37960 return 0;
37962 _ACEOF
37963 rm -f conftest.$ac_objext
37964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37965 (eval $ac_compile) 2>conftest.er1
37966 ac_status=$?
37967 grep -v '^ *+' conftest.er1 >conftest.err
37968 rm -f conftest.er1
37969 cat conftest.err >&5
37970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37971 (exit $ac_status); } &&
37972 { ac_try='test -z "$ac_cxx_werror_flag"
37973 || test ! -s conftest.err'
37974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37975 (eval $ac_try) 2>&5
37976 ac_status=$?
37977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37978 (exit $ac_status); }; } &&
37979 { ac_try='test -s conftest.$ac_objext'
37980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37981 (eval $ac_try) 2>&5
37982 ac_status=$?
37983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37984 (exit $ac_status); }; }; then
37985 glibcxx_cv_func__fabsf_use=yes
37986 else
37987 echo "$as_me: failed program was:" >&5
37988 sed 's/^/| /' conftest.$ac_ext >&5
37990 glibcxx_cv_func__fabsf_use=no
37992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37993 ac_ext=c
37994 ac_cpp='$CPP $CPPFLAGS'
37995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38003 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38004 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38006 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38008 for ac_func in _fabsf
38010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38011 echo "$as_me:$LINENO: checking for $ac_func" >&5
38012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38013 if eval "test \"\${$as_ac_var+set}\" = set"; then
38014 echo $ECHO_N "(cached) $ECHO_C" >&6
38015 else
38016 if test x$gcc_no_link = xyes; then
38017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38019 { (exit 1); exit 1; }; }
38021 cat >conftest.$ac_ext <<_ACEOF
38022 /* confdefs.h. */
38023 _ACEOF
38024 cat confdefs.h >>conftest.$ac_ext
38025 cat >>conftest.$ac_ext <<_ACEOF
38026 /* end confdefs.h. */
38027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38029 #define $ac_func innocuous_$ac_func
38031 /* System header to define __stub macros and hopefully few prototypes,
38032 which can conflict with char $ac_func (); below.
38033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38034 <limits.h> exists even on freestanding compilers. */
38036 #ifdef __STDC__
38037 # include <limits.h>
38038 #else
38039 # include <assert.h>
38040 #endif
38042 #undef $ac_func
38044 /* Override any gcc2 internal prototype to avoid an error. */
38045 #ifdef __cplusplus
38046 extern "C"
38048 #endif
38049 /* We use char because int might match the return type of a gcc2
38050 builtin and then its argument prototype would still apply. */
38051 char $ac_func ();
38052 /* The GNU C library defines this for functions which it implements
38053 to always fail with ENOSYS. Some functions are actually named
38054 something starting with __ and the normal name is an alias. */
38055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38056 choke me
38057 #else
38058 char (*f) () = $ac_func;
38059 #endif
38060 #ifdef __cplusplus
38062 #endif
38065 main ()
38067 return f != $ac_func;
38069 return 0;
38071 _ACEOF
38072 rm -f conftest.$ac_objext conftest$ac_exeext
38073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38074 (eval $ac_link) 2>conftest.er1
38075 ac_status=$?
38076 grep -v '^ *+' conftest.er1 >conftest.err
38077 rm -f conftest.er1
38078 cat conftest.err >&5
38079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38080 (exit $ac_status); } &&
38081 { ac_try='test -z "$ac_c_werror_flag"
38082 || test ! -s conftest.err'
38083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38084 (eval $ac_try) 2>&5
38085 ac_status=$?
38086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38087 (exit $ac_status); }; } &&
38088 { ac_try='test -s conftest$ac_exeext'
38089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38090 (eval $ac_try) 2>&5
38091 ac_status=$?
38092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38093 (exit $ac_status); }; }; then
38094 eval "$as_ac_var=yes"
38095 else
38096 echo "$as_me: failed program was:" >&5
38097 sed 's/^/| /' conftest.$ac_ext >&5
38099 eval "$as_ac_var=no"
38101 rm -f conftest.err conftest.$ac_objext \
38102 conftest$ac_exeext conftest.$ac_ext
38104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38106 if test `eval echo '${'$as_ac_var'}'` = yes; then
38107 cat >>confdefs.h <<_ACEOF
38108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38109 _ACEOF
38112 done
38122 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38123 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38124 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38125 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38126 echo $ECHO_N "(cached) $ECHO_C" >&6
38127 else
38131 ac_ext=cc
38132 ac_cpp='$CXXCPP $CPPFLAGS'
38133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38137 cat >conftest.$ac_ext <<_ACEOF
38138 /* confdefs.h. */
38139 _ACEOF
38140 cat confdefs.h >>conftest.$ac_ext
38141 cat >>conftest.$ac_ext <<_ACEOF
38142 /* end confdefs.h. */
38143 #include <math.h>
38145 main ()
38147 fmodf(0, 0);
38149 return 0;
38151 _ACEOF
38152 rm -f conftest.$ac_objext
38153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38154 (eval $ac_compile) 2>conftest.er1
38155 ac_status=$?
38156 grep -v '^ *+' conftest.er1 >conftest.err
38157 rm -f conftest.er1
38158 cat conftest.err >&5
38159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38160 (exit $ac_status); } &&
38161 { ac_try='test -z "$ac_cxx_werror_flag"
38162 || test ! -s conftest.err'
38163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38164 (eval $ac_try) 2>&5
38165 ac_status=$?
38166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38167 (exit $ac_status); }; } &&
38168 { ac_try='test -s conftest.$ac_objext'
38169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38170 (eval $ac_try) 2>&5
38171 ac_status=$?
38172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38173 (exit $ac_status); }; }; then
38174 glibcxx_cv_func_fmodf_use=yes
38175 else
38176 echo "$as_me: failed program was:" >&5
38177 sed 's/^/| /' conftest.$ac_ext >&5
38179 glibcxx_cv_func_fmodf_use=no
38181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38182 ac_ext=c
38183 ac_cpp='$CPP $CPPFLAGS'
38184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38192 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38193 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38195 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38197 for ac_func in fmodf
38199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38200 echo "$as_me:$LINENO: checking for $ac_func" >&5
38201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38202 if eval "test \"\${$as_ac_var+set}\" = set"; then
38203 echo $ECHO_N "(cached) $ECHO_C" >&6
38204 else
38205 if test x$gcc_no_link = xyes; then
38206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38208 { (exit 1); exit 1; }; }
38210 cat >conftest.$ac_ext <<_ACEOF
38211 /* confdefs.h. */
38212 _ACEOF
38213 cat confdefs.h >>conftest.$ac_ext
38214 cat >>conftest.$ac_ext <<_ACEOF
38215 /* end confdefs.h. */
38216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38218 #define $ac_func innocuous_$ac_func
38220 /* System header to define __stub macros and hopefully few prototypes,
38221 which can conflict with char $ac_func (); below.
38222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38223 <limits.h> exists even on freestanding compilers. */
38225 #ifdef __STDC__
38226 # include <limits.h>
38227 #else
38228 # include <assert.h>
38229 #endif
38231 #undef $ac_func
38233 /* Override any gcc2 internal prototype to avoid an error. */
38234 #ifdef __cplusplus
38235 extern "C"
38237 #endif
38238 /* We use char because int might match the return type of a gcc2
38239 builtin and then its argument prototype would still apply. */
38240 char $ac_func ();
38241 /* The GNU C library defines this for functions which it implements
38242 to always fail with ENOSYS. Some functions are actually named
38243 something starting with __ and the normal name is an alias. */
38244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38245 choke me
38246 #else
38247 char (*f) () = $ac_func;
38248 #endif
38249 #ifdef __cplusplus
38251 #endif
38254 main ()
38256 return f != $ac_func;
38258 return 0;
38260 _ACEOF
38261 rm -f conftest.$ac_objext conftest$ac_exeext
38262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38263 (eval $ac_link) 2>conftest.er1
38264 ac_status=$?
38265 grep -v '^ *+' conftest.er1 >conftest.err
38266 rm -f conftest.er1
38267 cat conftest.err >&5
38268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38269 (exit $ac_status); } &&
38270 { ac_try='test -z "$ac_c_werror_flag"
38271 || test ! -s conftest.err'
38272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38273 (eval $ac_try) 2>&5
38274 ac_status=$?
38275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38276 (exit $ac_status); }; } &&
38277 { ac_try='test -s conftest$ac_exeext'
38278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38279 (eval $ac_try) 2>&5
38280 ac_status=$?
38281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38282 (exit $ac_status); }; }; then
38283 eval "$as_ac_var=yes"
38284 else
38285 echo "$as_me: failed program was:" >&5
38286 sed 's/^/| /' conftest.$ac_ext >&5
38288 eval "$as_ac_var=no"
38290 rm -f conftest.err conftest.$ac_objext \
38291 conftest$ac_exeext conftest.$ac_ext
38293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38295 if test `eval echo '${'$as_ac_var'}'` = yes; then
38296 cat >>confdefs.h <<_ACEOF
38297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38298 _ACEOF
38301 done
38303 else
38305 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38306 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38307 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38308 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38309 echo $ECHO_N "(cached) $ECHO_C" >&6
38310 else
38314 ac_ext=cc
38315 ac_cpp='$CXXCPP $CPPFLAGS'
38316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38320 cat >conftest.$ac_ext <<_ACEOF
38321 /* confdefs.h. */
38322 _ACEOF
38323 cat confdefs.h >>conftest.$ac_ext
38324 cat >>conftest.$ac_ext <<_ACEOF
38325 /* end confdefs.h. */
38326 #include <math.h>
38328 main ()
38330 _fmodf(0, 0);
38332 return 0;
38334 _ACEOF
38335 rm -f conftest.$ac_objext
38336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38337 (eval $ac_compile) 2>conftest.er1
38338 ac_status=$?
38339 grep -v '^ *+' conftest.er1 >conftest.err
38340 rm -f conftest.er1
38341 cat conftest.err >&5
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); } &&
38344 { ac_try='test -z "$ac_cxx_werror_flag"
38345 || test ! -s conftest.err'
38346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38347 (eval $ac_try) 2>&5
38348 ac_status=$?
38349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38350 (exit $ac_status); }; } &&
38351 { ac_try='test -s conftest.$ac_objext'
38352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38353 (eval $ac_try) 2>&5
38354 ac_status=$?
38355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38356 (exit $ac_status); }; }; then
38357 glibcxx_cv_func__fmodf_use=yes
38358 else
38359 echo "$as_me: failed program was:" >&5
38360 sed 's/^/| /' conftest.$ac_ext >&5
38362 glibcxx_cv_func__fmodf_use=no
38364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38365 ac_ext=c
38366 ac_cpp='$CPP $CPPFLAGS'
38367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38375 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38376 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38378 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38380 for ac_func in _fmodf
38382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38383 echo "$as_me:$LINENO: checking for $ac_func" >&5
38384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38385 if eval "test \"\${$as_ac_var+set}\" = set"; then
38386 echo $ECHO_N "(cached) $ECHO_C" >&6
38387 else
38388 if test x$gcc_no_link = xyes; then
38389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38391 { (exit 1); exit 1; }; }
38393 cat >conftest.$ac_ext <<_ACEOF
38394 /* confdefs.h. */
38395 _ACEOF
38396 cat confdefs.h >>conftest.$ac_ext
38397 cat >>conftest.$ac_ext <<_ACEOF
38398 /* end confdefs.h. */
38399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38401 #define $ac_func innocuous_$ac_func
38403 /* System header to define __stub macros and hopefully few prototypes,
38404 which can conflict with char $ac_func (); below.
38405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38406 <limits.h> exists even on freestanding compilers. */
38408 #ifdef __STDC__
38409 # include <limits.h>
38410 #else
38411 # include <assert.h>
38412 #endif
38414 #undef $ac_func
38416 /* Override any gcc2 internal prototype to avoid an error. */
38417 #ifdef __cplusplus
38418 extern "C"
38420 #endif
38421 /* We use char because int might match the return type of a gcc2
38422 builtin and then its argument prototype would still apply. */
38423 char $ac_func ();
38424 /* The GNU C library defines this for functions which it implements
38425 to always fail with ENOSYS. Some functions are actually named
38426 something starting with __ and the normal name is an alias. */
38427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38428 choke me
38429 #else
38430 char (*f) () = $ac_func;
38431 #endif
38432 #ifdef __cplusplus
38434 #endif
38437 main ()
38439 return f != $ac_func;
38441 return 0;
38443 _ACEOF
38444 rm -f conftest.$ac_objext conftest$ac_exeext
38445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38446 (eval $ac_link) 2>conftest.er1
38447 ac_status=$?
38448 grep -v '^ *+' conftest.er1 >conftest.err
38449 rm -f conftest.er1
38450 cat conftest.err >&5
38451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38452 (exit $ac_status); } &&
38453 { ac_try='test -z "$ac_c_werror_flag"
38454 || test ! -s conftest.err'
38455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38456 (eval $ac_try) 2>&5
38457 ac_status=$?
38458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38459 (exit $ac_status); }; } &&
38460 { ac_try='test -s conftest$ac_exeext'
38461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38462 (eval $ac_try) 2>&5
38463 ac_status=$?
38464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38465 (exit $ac_status); }; }; then
38466 eval "$as_ac_var=yes"
38467 else
38468 echo "$as_me: failed program was:" >&5
38469 sed 's/^/| /' conftest.$ac_ext >&5
38471 eval "$as_ac_var=no"
38473 rm -f conftest.err conftest.$ac_objext \
38474 conftest$ac_exeext conftest.$ac_ext
38476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38478 if test `eval echo '${'$as_ac_var'}'` = yes; then
38479 cat >>confdefs.h <<_ACEOF
38480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38481 _ACEOF
38484 done
38494 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38495 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38496 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38497 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38498 echo $ECHO_N "(cached) $ECHO_C" >&6
38499 else
38503 ac_ext=cc
38504 ac_cpp='$CXXCPP $CPPFLAGS'
38505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38509 cat >conftest.$ac_ext <<_ACEOF
38510 /* confdefs.h. */
38511 _ACEOF
38512 cat confdefs.h >>conftest.$ac_ext
38513 cat >>conftest.$ac_ext <<_ACEOF
38514 /* end confdefs.h. */
38515 #include <math.h>
38517 main ()
38519 frexpf(0, 0);
38521 return 0;
38523 _ACEOF
38524 rm -f conftest.$ac_objext
38525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38526 (eval $ac_compile) 2>conftest.er1
38527 ac_status=$?
38528 grep -v '^ *+' conftest.er1 >conftest.err
38529 rm -f conftest.er1
38530 cat conftest.err >&5
38531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38532 (exit $ac_status); } &&
38533 { ac_try='test -z "$ac_cxx_werror_flag"
38534 || test ! -s conftest.err'
38535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38536 (eval $ac_try) 2>&5
38537 ac_status=$?
38538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539 (exit $ac_status); }; } &&
38540 { ac_try='test -s conftest.$ac_objext'
38541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38542 (eval $ac_try) 2>&5
38543 ac_status=$?
38544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38545 (exit $ac_status); }; }; then
38546 glibcxx_cv_func_frexpf_use=yes
38547 else
38548 echo "$as_me: failed program was:" >&5
38549 sed 's/^/| /' conftest.$ac_ext >&5
38551 glibcxx_cv_func_frexpf_use=no
38553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38554 ac_ext=c
38555 ac_cpp='$CPP $CPPFLAGS'
38556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38565 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38567 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38569 for ac_func in frexpf
38571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38572 echo "$as_me:$LINENO: checking for $ac_func" >&5
38573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38574 if eval "test \"\${$as_ac_var+set}\" = set"; then
38575 echo $ECHO_N "(cached) $ECHO_C" >&6
38576 else
38577 if test x$gcc_no_link = xyes; then
38578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38580 { (exit 1); exit 1; }; }
38582 cat >conftest.$ac_ext <<_ACEOF
38583 /* confdefs.h. */
38584 _ACEOF
38585 cat confdefs.h >>conftest.$ac_ext
38586 cat >>conftest.$ac_ext <<_ACEOF
38587 /* end confdefs.h. */
38588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38590 #define $ac_func innocuous_$ac_func
38592 /* System header to define __stub macros and hopefully few prototypes,
38593 which can conflict with char $ac_func (); below.
38594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38595 <limits.h> exists even on freestanding compilers. */
38597 #ifdef __STDC__
38598 # include <limits.h>
38599 #else
38600 # include <assert.h>
38601 #endif
38603 #undef $ac_func
38605 /* Override any gcc2 internal prototype to avoid an error. */
38606 #ifdef __cplusplus
38607 extern "C"
38609 #endif
38610 /* We use char because int might match the return type of a gcc2
38611 builtin and then its argument prototype would still apply. */
38612 char $ac_func ();
38613 /* The GNU C library defines this for functions which it implements
38614 to always fail with ENOSYS. Some functions are actually named
38615 something starting with __ and the normal name is an alias. */
38616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38617 choke me
38618 #else
38619 char (*f) () = $ac_func;
38620 #endif
38621 #ifdef __cplusplus
38623 #endif
38626 main ()
38628 return f != $ac_func;
38630 return 0;
38632 _ACEOF
38633 rm -f conftest.$ac_objext conftest$ac_exeext
38634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38635 (eval $ac_link) 2>conftest.er1
38636 ac_status=$?
38637 grep -v '^ *+' conftest.er1 >conftest.err
38638 rm -f conftest.er1
38639 cat conftest.err >&5
38640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641 (exit $ac_status); } &&
38642 { ac_try='test -z "$ac_c_werror_flag"
38643 || test ! -s conftest.err'
38644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38645 (eval $ac_try) 2>&5
38646 ac_status=$?
38647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648 (exit $ac_status); }; } &&
38649 { ac_try='test -s conftest$ac_exeext'
38650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38651 (eval $ac_try) 2>&5
38652 ac_status=$?
38653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38654 (exit $ac_status); }; }; then
38655 eval "$as_ac_var=yes"
38656 else
38657 echo "$as_me: failed program was:" >&5
38658 sed 's/^/| /' conftest.$ac_ext >&5
38660 eval "$as_ac_var=no"
38662 rm -f conftest.err conftest.$ac_objext \
38663 conftest$ac_exeext conftest.$ac_ext
38665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38667 if test `eval echo '${'$as_ac_var'}'` = yes; then
38668 cat >>confdefs.h <<_ACEOF
38669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38670 _ACEOF
38673 done
38675 else
38677 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
38678 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
38679 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38680 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
38681 echo $ECHO_N "(cached) $ECHO_C" >&6
38682 else
38686 ac_ext=cc
38687 ac_cpp='$CXXCPP $CPPFLAGS'
38688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38692 cat >conftest.$ac_ext <<_ACEOF
38693 /* confdefs.h. */
38694 _ACEOF
38695 cat confdefs.h >>conftest.$ac_ext
38696 cat >>conftest.$ac_ext <<_ACEOF
38697 /* end confdefs.h. */
38698 #include <math.h>
38700 main ()
38702 _frexpf(0, 0);
38704 return 0;
38706 _ACEOF
38707 rm -f conftest.$ac_objext
38708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38709 (eval $ac_compile) 2>conftest.er1
38710 ac_status=$?
38711 grep -v '^ *+' conftest.er1 >conftest.err
38712 rm -f conftest.er1
38713 cat conftest.err >&5
38714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38715 (exit $ac_status); } &&
38716 { ac_try='test -z "$ac_cxx_werror_flag"
38717 || test ! -s conftest.err'
38718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38719 (eval $ac_try) 2>&5
38720 ac_status=$?
38721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38722 (exit $ac_status); }; } &&
38723 { ac_try='test -s conftest.$ac_objext'
38724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38725 (eval $ac_try) 2>&5
38726 ac_status=$?
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); }; }; then
38729 glibcxx_cv_func__frexpf_use=yes
38730 else
38731 echo "$as_me: failed program was:" >&5
38732 sed 's/^/| /' conftest.$ac_ext >&5
38734 glibcxx_cv_func__frexpf_use=no
38736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38737 ac_ext=c
38738 ac_cpp='$CPP $CPPFLAGS'
38739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38747 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
38748 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
38750 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38752 for ac_func in _frexpf
38754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38755 echo "$as_me:$LINENO: checking for $ac_func" >&5
38756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38757 if eval "test \"\${$as_ac_var+set}\" = set"; then
38758 echo $ECHO_N "(cached) $ECHO_C" >&6
38759 else
38760 if test x$gcc_no_link = xyes; then
38761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38763 { (exit 1); exit 1; }; }
38765 cat >conftest.$ac_ext <<_ACEOF
38766 /* confdefs.h. */
38767 _ACEOF
38768 cat confdefs.h >>conftest.$ac_ext
38769 cat >>conftest.$ac_ext <<_ACEOF
38770 /* end confdefs.h. */
38771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38773 #define $ac_func innocuous_$ac_func
38775 /* System header to define __stub macros and hopefully few prototypes,
38776 which can conflict with char $ac_func (); below.
38777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38778 <limits.h> exists even on freestanding compilers. */
38780 #ifdef __STDC__
38781 # include <limits.h>
38782 #else
38783 # include <assert.h>
38784 #endif
38786 #undef $ac_func
38788 /* Override any gcc2 internal prototype to avoid an error. */
38789 #ifdef __cplusplus
38790 extern "C"
38792 #endif
38793 /* We use char because int might match the return type of a gcc2
38794 builtin and then its argument prototype would still apply. */
38795 char $ac_func ();
38796 /* The GNU C library defines this for functions which it implements
38797 to always fail with ENOSYS. Some functions are actually named
38798 something starting with __ and the normal name is an alias. */
38799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38800 choke me
38801 #else
38802 char (*f) () = $ac_func;
38803 #endif
38804 #ifdef __cplusplus
38806 #endif
38809 main ()
38811 return f != $ac_func;
38813 return 0;
38815 _ACEOF
38816 rm -f conftest.$ac_objext conftest$ac_exeext
38817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38818 (eval $ac_link) 2>conftest.er1
38819 ac_status=$?
38820 grep -v '^ *+' conftest.er1 >conftest.err
38821 rm -f conftest.er1
38822 cat conftest.err >&5
38823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38824 (exit $ac_status); } &&
38825 { ac_try='test -z "$ac_c_werror_flag"
38826 || test ! -s conftest.err'
38827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38828 (eval $ac_try) 2>&5
38829 ac_status=$?
38830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38831 (exit $ac_status); }; } &&
38832 { ac_try='test -s conftest$ac_exeext'
38833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38834 (eval $ac_try) 2>&5
38835 ac_status=$?
38836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38837 (exit $ac_status); }; }; then
38838 eval "$as_ac_var=yes"
38839 else
38840 echo "$as_me: failed program was:" >&5
38841 sed 's/^/| /' conftest.$ac_ext >&5
38843 eval "$as_ac_var=no"
38845 rm -f conftest.err conftest.$ac_objext \
38846 conftest$ac_exeext conftest.$ac_ext
38848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38850 if test `eval echo '${'$as_ac_var'}'` = yes; then
38851 cat >>confdefs.h <<_ACEOF
38852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38853 _ACEOF
38856 done
38866 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
38867 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
38868 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
38869 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
38870 echo $ECHO_N "(cached) $ECHO_C" >&6
38871 else
38875 ac_ext=cc
38876 ac_cpp='$CXXCPP $CPPFLAGS'
38877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38881 cat >conftest.$ac_ext <<_ACEOF
38882 /* confdefs.h. */
38883 _ACEOF
38884 cat confdefs.h >>conftest.$ac_ext
38885 cat >>conftest.$ac_ext <<_ACEOF
38886 /* end confdefs.h. */
38887 #include <math.h>
38889 main ()
38891 hypotf(0, 0);
38893 return 0;
38895 _ACEOF
38896 rm -f conftest.$ac_objext
38897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38898 (eval $ac_compile) 2>conftest.er1
38899 ac_status=$?
38900 grep -v '^ *+' conftest.er1 >conftest.err
38901 rm -f conftest.er1
38902 cat conftest.err >&5
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); } &&
38905 { ac_try='test -z "$ac_cxx_werror_flag"
38906 || test ! -s conftest.err'
38907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38908 (eval $ac_try) 2>&5
38909 ac_status=$?
38910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38911 (exit $ac_status); }; } &&
38912 { ac_try='test -s conftest.$ac_objext'
38913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38914 (eval $ac_try) 2>&5
38915 ac_status=$?
38916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38917 (exit $ac_status); }; }; then
38918 glibcxx_cv_func_hypotf_use=yes
38919 else
38920 echo "$as_me: failed program was:" >&5
38921 sed 's/^/| /' conftest.$ac_ext >&5
38923 glibcxx_cv_func_hypotf_use=no
38925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38926 ac_ext=c
38927 ac_cpp='$CPP $CPPFLAGS'
38928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
38937 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
38939 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
38941 for ac_func in hypotf
38943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38944 echo "$as_me:$LINENO: checking for $ac_func" >&5
38945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38946 if eval "test \"\${$as_ac_var+set}\" = set"; then
38947 echo $ECHO_N "(cached) $ECHO_C" >&6
38948 else
38949 if test x$gcc_no_link = xyes; then
38950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38952 { (exit 1); exit 1; }; }
38954 cat >conftest.$ac_ext <<_ACEOF
38955 /* confdefs.h. */
38956 _ACEOF
38957 cat confdefs.h >>conftest.$ac_ext
38958 cat >>conftest.$ac_ext <<_ACEOF
38959 /* end confdefs.h. */
38960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38962 #define $ac_func innocuous_$ac_func
38964 /* System header to define __stub macros and hopefully few prototypes,
38965 which can conflict with char $ac_func (); below.
38966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38967 <limits.h> exists even on freestanding compilers. */
38969 #ifdef __STDC__
38970 # include <limits.h>
38971 #else
38972 # include <assert.h>
38973 #endif
38975 #undef $ac_func
38977 /* Override any gcc2 internal prototype to avoid an error. */
38978 #ifdef __cplusplus
38979 extern "C"
38981 #endif
38982 /* We use char because int might match the return type of a gcc2
38983 builtin and then its argument prototype would still apply. */
38984 char $ac_func ();
38985 /* The GNU C library defines this for functions which it implements
38986 to always fail with ENOSYS. Some functions are actually named
38987 something starting with __ and the normal name is an alias. */
38988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38989 choke me
38990 #else
38991 char (*f) () = $ac_func;
38992 #endif
38993 #ifdef __cplusplus
38995 #endif
38998 main ()
39000 return f != $ac_func;
39002 return 0;
39004 _ACEOF
39005 rm -f conftest.$ac_objext conftest$ac_exeext
39006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39007 (eval $ac_link) 2>conftest.er1
39008 ac_status=$?
39009 grep -v '^ *+' conftest.er1 >conftest.err
39010 rm -f conftest.er1
39011 cat conftest.err >&5
39012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39013 (exit $ac_status); } &&
39014 { ac_try='test -z "$ac_c_werror_flag"
39015 || test ! -s conftest.err'
39016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39017 (eval $ac_try) 2>&5
39018 ac_status=$?
39019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39020 (exit $ac_status); }; } &&
39021 { ac_try='test -s conftest$ac_exeext'
39022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39023 (eval $ac_try) 2>&5
39024 ac_status=$?
39025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39026 (exit $ac_status); }; }; then
39027 eval "$as_ac_var=yes"
39028 else
39029 echo "$as_me: failed program was:" >&5
39030 sed 's/^/| /' conftest.$ac_ext >&5
39032 eval "$as_ac_var=no"
39034 rm -f conftest.err conftest.$ac_objext \
39035 conftest$ac_exeext conftest.$ac_ext
39037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39039 if test `eval echo '${'$as_ac_var'}'` = yes; then
39040 cat >>confdefs.h <<_ACEOF
39041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39042 _ACEOF
39045 done
39047 else
39049 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39050 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39051 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39052 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39053 echo $ECHO_N "(cached) $ECHO_C" >&6
39054 else
39058 ac_ext=cc
39059 ac_cpp='$CXXCPP $CPPFLAGS'
39060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39064 cat >conftest.$ac_ext <<_ACEOF
39065 /* confdefs.h. */
39066 _ACEOF
39067 cat confdefs.h >>conftest.$ac_ext
39068 cat >>conftest.$ac_ext <<_ACEOF
39069 /* end confdefs.h. */
39070 #include <math.h>
39072 main ()
39074 _hypotf(0, 0);
39076 return 0;
39078 _ACEOF
39079 rm -f conftest.$ac_objext
39080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39081 (eval $ac_compile) 2>conftest.er1
39082 ac_status=$?
39083 grep -v '^ *+' conftest.er1 >conftest.err
39084 rm -f conftest.er1
39085 cat conftest.err >&5
39086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39087 (exit $ac_status); } &&
39088 { ac_try='test -z "$ac_cxx_werror_flag"
39089 || test ! -s conftest.err'
39090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39091 (eval $ac_try) 2>&5
39092 ac_status=$?
39093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39094 (exit $ac_status); }; } &&
39095 { ac_try='test -s conftest.$ac_objext'
39096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39097 (eval $ac_try) 2>&5
39098 ac_status=$?
39099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39100 (exit $ac_status); }; }; then
39101 glibcxx_cv_func__hypotf_use=yes
39102 else
39103 echo "$as_me: failed program was:" >&5
39104 sed 's/^/| /' conftest.$ac_ext >&5
39106 glibcxx_cv_func__hypotf_use=no
39108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39109 ac_ext=c
39110 ac_cpp='$CPP $CPPFLAGS'
39111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39119 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39120 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39122 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39124 for ac_func in _hypotf
39126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39127 echo "$as_me:$LINENO: checking for $ac_func" >&5
39128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39129 if eval "test \"\${$as_ac_var+set}\" = set"; then
39130 echo $ECHO_N "(cached) $ECHO_C" >&6
39131 else
39132 if test x$gcc_no_link = xyes; then
39133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39135 { (exit 1); exit 1; }; }
39137 cat >conftest.$ac_ext <<_ACEOF
39138 /* confdefs.h. */
39139 _ACEOF
39140 cat confdefs.h >>conftest.$ac_ext
39141 cat >>conftest.$ac_ext <<_ACEOF
39142 /* end confdefs.h. */
39143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39145 #define $ac_func innocuous_$ac_func
39147 /* System header to define __stub macros and hopefully few prototypes,
39148 which can conflict with char $ac_func (); below.
39149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39150 <limits.h> exists even on freestanding compilers. */
39152 #ifdef __STDC__
39153 # include <limits.h>
39154 #else
39155 # include <assert.h>
39156 #endif
39158 #undef $ac_func
39160 /* Override any gcc2 internal prototype to avoid an error. */
39161 #ifdef __cplusplus
39162 extern "C"
39164 #endif
39165 /* We use char because int might match the return type of a gcc2
39166 builtin and then its argument prototype would still apply. */
39167 char $ac_func ();
39168 /* The GNU C library defines this for functions which it implements
39169 to always fail with ENOSYS. Some functions are actually named
39170 something starting with __ and the normal name is an alias. */
39171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39172 choke me
39173 #else
39174 char (*f) () = $ac_func;
39175 #endif
39176 #ifdef __cplusplus
39178 #endif
39181 main ()
39183 return f != $ac_func;
39185 return 0;
39187 _ACEOF
39188 rm -f conftest.$ac_objext conftest$ac_exeext
39189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39190 (eval $ac_link) 2>conftest.er1
39191 ac_status=$?
39192 grep -v '^ *+' conftest.er1 >conftest.err
39193 rm -f conftest.er1
39194 cat conftest.err >&5
39195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39196 (exit $ac_status); } &&
39197 { ac_try='test -z "$ac_c_werror_flag"
39198 || test ! -s conftest.err'
39199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39200 (eval $ac_try) 2>&5
39201 ac_status=$?
39202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39203 (exit $ac_status); }; } &&
39204 { ac_try='test -s conftest$ac_exeext'
39205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39206 (eval $ac_try) 2>&5
39207 ac_status=$?
39208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209 (exit $ac_status); }; }; then
39210 eval "$as_ac_var=yes"
39211 else
39212 echo "$as_me: failed program was:" >&5
39213 sed 's/^/| /' conftest.$ac_ext >&5
39215 eval "$as_ac_var=no"
39217 rm -f conftest.err conftest.$ac_objext \
39218 conftest$ac_exeext conftest.$ac_ext
39220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39222 if test `eval echo '${'$as_ac_var'}'` = yes; then
39223 cat >>confdefs.h <<_ACEOF
39224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39225 _ACEOF
39228 done
39238 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39239 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39240 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39241 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39242 echo $ECHO_N "(cached) $ECHO_C" >&6
39243 else
39247 ac_ext=cc
39248 ac_cpp='$CXXCPP $CPPFLAGS'
39249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39253 cat >conftest.$ac_ext <<_ACEOF
39254 /* confdefs.h. */
39255 _ACEOF
39256 cat confdefs.h >>conftest.$ac_ext
39257 cat >>conftest.$ac_ext <<_ACEOF
39258 /* end confdefs.h. */
39259 #include <math.h>
39261 main ()
39263 ldexpf(0, 0);
39265 return 0;
39267 _ACEOF
39268 rm -f conftest.$ac_objext
39269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39270 (eval $ac_compile) 2>conftest.er1
39271 ac_status=$?
39272 grep -v '^ *+' conftest.er1 >conftest.err
39273 rm -f conftest.er1
39274 cat conftest.err >&5
39275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39276 (exit $ac_status); } &&
39277 { ac_try='test -z "$ac_cxx_werror_flag"
39278 || test ! -s conftest.err'
39279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39280 (eval $ac_try) 2>&5
39281 ac_status=$?
39282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39283 (exit $ac_status); }; } &&
39284 { ac_try='test -s conftest.$ac_objext'
39285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39286 (eval $ac_try) 2>&5
39287 ac_status=$?
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); }; }; then
39290 glibcxx_cv_func_ldexpf_use=yes
39291 else
39292 echo "$as_me: failed program was:" >&5
39293 sed 's/^/| /' conftest.$ac_ext >&5
39295 glibcxx_cv_func_ldexpf_use=no
39297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39298 ac_ext=c
39299 ac_cpp='$CPP $CPPFLAGS'
39300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39309 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39311 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39313 for ac_func in ldexpf
39315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39316 echo "$as_me:$LINENO: checking for $ac_func" >&5
39317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39318 if eval "test \"\${$as_ac_var+set}\" = set"; then
39319 echo $ECHO_N "(cached) $ECHO_C" >&6
39320 else
39321 if test x$gcc_no_link = xyes; then
39322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39324 { (exit 1); exit 1; }; }
39326 cat >conftest.$ac_ext <<_ACEOF
39327 /* confdefs.h. */
39328 _ACEOF
39329 cat confdefs.h >>conftest.$ac_ext
39330 cat >>conftest.$ac_ext <<_ACEOF
39331 /* end confdefs.h. */
39332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39334 #define $ac_func innocuous_$ac_func
39336 /* System header to define __stub macros and hopefully few prototypes,
39337 which can conflict with char $ac_func (); below.
39338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39339 <limits.h> exists even on freestanding compilers. */
39341 #ifdef __STDC__
39342 # include <limits.h>
39343 #else
39344 # include <assert.h>
39345 #endif
39347 #undef $ac_func
39349 /* Override any gcc2 internal prototype to avoid an error. */
39350 #ifdef __cplusplus
39351 extern "C"
39353 #endif
39354 /* We use char because int might match the return type of a gcc2
39355 builtin and then its argument prototype would still apply. */
39356 char $ac_func ();
39357 /* The GNU C library defines this for functions which it implements
39358 to always fail with ENOSYS. Some functions are actually named
39359 something starting with __ and the normal name is an alias. */
39360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39361 choke me
39362 #else
39363 char (*f) () = $ac_func;
39364 #endif
39365 #ifdef __cplusplus
39367 #endif
39370 main ()
39372 return f != $ac_func;
39374 return 0;
39376 _ACEOF
39377 rm -f conftest.$ac_objext conftest$ac_exeext
39378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39379 (eval $ac_link) 2>conftest.er1
39380 ac_status=$?
39381 grep -v '^ *+' conftest.er1 >conftest.err
39382 rm -f conftest.er1
39383 cat conftest.err >&5
39384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39385 (exit $ac_status); } &&
39386 { ac_try='test -z "$ac_c_werror_flag"
39387 || test ! -s conftest.err'
39388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39389 (eval $ac_try) 2>&5
39390 ac_status=$?
39391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39392 (exit $ac_status); }; } &&
39393 { ac_try='test -s conftest$ac_exeext'
39394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39395 (eval $ac_try) 2>&5
39396 ac_status=$?
39397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39398 (exit $ac_status); }; }; then
39399 eval "$as_ac_var=yes"
39400 else
39401 echo "$as_me: failed program was:" >&5
39402 sed 's/^/| /' conftest.$ac_ext >&5
39404 eval "$as_ac_var=no"
39406 rm -f conftest.err conftest.$ac_objext \
39407 conftest$ac_exeext conftest.$ac_ext
39409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39411 if test `eval echo '${'$as_ac_var'}'` = yes; then
39412 cat >>confdefs.h <<_ACEOF
39413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39414 _ACEOF
39417 done
39419 else
39421 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39422 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39423 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39424 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39425 echo $ECHO_N "(cached) $ECHO_C" >&6
39426 else
39430 ac_ext=cc
39431 ac_cpp='$CXXCPP $CPPFLAGS'
39432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39436 cat >conftest.$ac_ext <<_ACEOF
39437 /* confdefs.h. */
39438 _ACEOF
39439 cat confdefs.h >>conftest.$ac_ext
39440 cat >>conftest.$ac_ext <<_ACEOF
39441 /* end confdefs.h. */
39442 #include <math.h>
39444 main ()
39446 _ldexpf(0, 0);
39448 return 0;
39450 _ACEOF
39451 rm -f conftest.$ac_objext
39452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39453 (eval $ac_compile) 2>conftest.er1
39454 ac_status=$?
39455 grep -v '^ *+' conftest.er1 >conftest.err
39456 rm -f conftest.er1
39457 cat conftest.err >&5
39458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39459 (exit $ac_status); } &&
39460 { ac_try='test -z "$ac_cxx_werror_flag"
39461 || test ! -s conftest.err'
39462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39463 (eval $ac_try) 2>&5
39464 ac_status=$?
39465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39466 (exit $ac_status); }; } &&
39467 { ac_try='test -s conftest.$ac_objext'
39468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39469 (eval $ac_try) 2>&5
39470 ac_status=$?
39471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39472 (exit $ac_status); }; }; then
39473 glibcxx_cv_func__ldexpf_use=yes
39474 else
39475 echo "$as_me: failed program was:" >&5
39476 sed 's/^/| /' conftest.$ac_ext >&5
39478 glibcxx_cv_func__ldexpf_use=no
39480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39481 ac_ext=c
39482 ac_cpp='$CPP $CPPFLAGS'
39483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39491 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39492 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39494 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39496 for ac_func in _ldexpf
39498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39499 echo "$as_me:$LINENO: checking for $ac_func" >&5
39500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39501 if eval "test \"\${$as_ac_var+set}\" = set"; then
39502 echo $ECHO_N "(cached) $ECHO_C" >&6
39503 else
39504 if test x$gcc_no_link = xyes; then
39505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39507 { (exit 1); exit 1; }; }
39509 cat >conftest.$ac_ext <<_ACEOF
39510 /* confdefs.h. */
39511 _ACEOF
39512 cat confdefs.h >>conftest.$ac_ext
39513 cat >>conftest.$ac_ext <<_ACEOF
39514 /* end confdefs.h. */
39515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39517 #define $ac_func innocuous_$ac_func
39519 /* System header to define __stub macros and hopefully few prototypes,
39520 which can conflict with char $ac_func (); below.
39521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39522 <limits.h> exists even on freestanding compilers. */
39524 #ifdef __STDC__
39525 # include <limits.h>
39526 #else
39527 # include <assert.h>
39528 #endif
39530 #undef $ac_func
39532 /* Override any gcc2 internal prototype to avoid an error. */
39533 #ifdef __cplusplus
39534 extern "C"
39536 #endif
39537 /* We use char because int might match the return type of a gcc2
39538 builtin and then its argument prototype would still apply. */
39539 char $ac_func ();
39540 /* The GNU C library defines this for functions which it implements
39541 to always fail with ENOSYS. Some functions are actually named
39542 something starting with __ and the normal name is an alias. */
39543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39544 choke me
39545 #else
39546 char (*f) () = $ac_func;
39547 #endif
39548 #ifdef __cplusplus
39550 #endif
39553 main ()
39555 return f != $ac_func;
39557 return 0;
39559 _ACEOF
39560 rm -f conftest.$ac_objext conftest$ac_exeext
39561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39562 (eval $ac_link) 2>conftest.er1
39563 ac_status=$?
39564 grep -v '^ *+' conftest.er1 >conftest.err
39565 rm -f conftest.er1
39566 cat conftest.err >&5
39567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39568 (exit $ac_status); } &&
39569 { ac_try='test -z "$ac_c_werror_flag"
39570 || test ! -s conftest.err'
39571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39572 (eval $ac_try) 2>&5
39573 ac_status=$?
39574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39575 (exit $ac_status); }; } &&
39576 { ac_try='test -s conftest$ac_exeext'
39577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39578 (eval $ac_try) 2>&5
39579 ac_status=$?
39580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39581 (exit $ac_status); }; }; then
39582 eval "$as_ac_var=yes"
39583 else
39584 echo "$as_me: failed program was:" >&5
39585 sed 's/^/| /' conftest.$ac_ext >&5
39587 eval "$as_ac_var=no"
39589 rm -f conftest.err conftest.$ac_objext \
39590 conftest$ac_exeext conftest.$ac_ext
39592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39594 if test `eval echo '${'$as_ac_var'}'` = yes; then
39595 cat >>confdefs.h <<_ACEOF
39596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39597 _ACEOF
39600 done
39610 echo "$as_me:$LINENO: checking for logf declaration" >&5
39611 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39612 if test x${glibcxx_cv_func_logf_use+set} != xset; then
39613 if test "${glibcxx_cv_func_logf_use+set}" = set; then
39614 echo $ECHO_N "(cached) $ECHO_C" >&6
39615 else
39619 ac_ext=cc
39620 ac_cpp='$CXXCPP $CPPFLAGS'
39621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39625 cat >conftest.$ac_ext <<_ACEOF
39626 /* confdefs.h. */
39627 _ACEOF
39628 cat confdefs.h >>conftest.$ac_ext
39629 cat >>conftest.$ac_ext <<_ACEOF
39630 /* end confdefs.h. */
39631 #include <math.h>
39632 #ifdef HAVE_IEEEFP_H
39633 #include <ieeefp.h>
39634 #endif
39637 main ()
39639 logf(0);
39641 return 0;
39643 _ACEOF
39644 rm -f conftest.$ac_objext
39645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39646 (eval $ac_compile) 2>conftest.er1
39647 ac_status=$?
39648 grep -v '^ *+' conftest.er1 >conftest.err
39649 rm -f conftest.er1
39650 cat conftest.err >&5
39651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39652 (exit $ac_status); } &&
39653 { ac_try='test -z "$ac_cxx_werror_flag"
39654 || test ! -s conftest.err'
39655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39656 (eval $ac_try) 2>&5
39657 ac_status=$?
39658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39659 (exit $ac_status); }; } &&
39660 { ac_try='test -s conftest.$ac_objext'
39661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39662 (eval $ac_try) 2>&5
39663 ac_status=$?
39664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665 (exit $ac_status); }; }; then
39666 glibcxx_cv_func_logf_use=yes
39667 else
39668 echo "$as_me: failed program was:" >&5
39669 sed 's/^/| /' conftest.$ac_ext >&5
39671 glibcxx_cv_func_logf_use=no
39673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39674 ac_ext=c
39675 ac_cpp='$CPP $CPPFLAGS'
39676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39684 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
39685 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
39687 if test x$glibcxx_cv_func_logf_use = x"yes"; then
39689 for ac_func in logf
39691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39692 echo "$as_me:$LINENO: checking for $ac_func" >&5
39693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39694 if eval "test \"\${$as_ac_var+set}\" = set"; then
39695 echo $ECHO_N "(cached) $ECHO_C" >&6
39696 else
39697 if test x$gcc_no_link = xyes; then
39698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39700 { (exit 1); exit 1; }; }
39702 cat >conftest.$ac_ext <<_ACEOF
39703 /* confdefs.h. */
39704 _ACEOF
39705 cat confdefs.h >>conftest.$ac_ext
39706 cat >>conftest.$ac_ext <<_ACEOF
39707 /* end confdefs.h. */
39708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39710 #define $ac_func innocuous_$ac_func
39712 /* System header to define __stub macros and hopefully few prototypes,
39713 which can conflict with char $ac_func (); below.
39714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39715 <limits.h> exists even on freestanding compilers. */
39717 #ifdef __STDC__
39718 # include <limits.h>
39719 #else
39720 # include <assert.h>
39721 #endif
39723 #undef $ac_func
39725 /* Override any gcc2 internal prototype to avoid an error. */
39726 #ifdef __cplusplus
39727 extern "C"
39729 #endif
39730 /* We use char because int might match the return type of a gcc2
39731 builtin and then its argument prototype would still apply. */
39732 char $ac_func ();
39733 /* The GNU C library defines this for functions which it implements
39734 to always fail with ENOSYS. Some functions are actually named
39735 something starting with __ and the normal name is an alias. */
39736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39737 choke me
39738 #else
39739 char (*f) () = $ac_func;
39740 #endif
39741 #ifdef __cplusplus
39743 #endif
39746 main ()
39748 return f != $ac_func;
39750 return 0;
39752 _ACEOF
39753 rm -f conftest.$ac_objext conftest$ac_exeext
39754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39755 (eval $ac_link) 2>conftest.er1
39756 ac_status=$?
39757 grep -v '^ *+' conftest.er1 >conftest.err
39758 rm -f conftest.er1
39759 cat conftest.err >&5
39760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39761 (exit $ac_status); } &&
39762 { ac_try='test -z "$ac_c_werror_flag"
39763 || test ! -s conftest.err'
39764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39765 (eval $ac_try) 2>&5
39766 ac_status=$?
39767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39768 (exit $ac_status); }; } &&
39769 { ac_try='test -s conftest$ac_exeext'
39770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39771 (eval $ac_try) 2>&5
39772 ac_status=$?
39773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39774 (exit $ac_status); }; }; then
39775 eval "$as_ac_var=yes"
39776 else
39777 echo "$as_me: failed program was:" >&5
39778 sed 's/^/| /' conftest.$ac_ext >&5
39780 eval "$as_ac_var=no"
39782 rm -f conftest.err conftest.$ac_objext \
39783 conftest$ac_exeext conftest.$ac_ext
39785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39787 if test `eval echo '${'$as_ac_var'}'` = yes; then
39788 cat >>confdefs.h <<_ACEOF
39789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39790 _ACEOF
39793 done
39795 else
39797 echo "$as_me:$LINENO: checking for _logf declaration" >&5
39798 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
39799 if test x${glibcxx_cv_func__logf_use+set} != xset; then
39800 if test "${glibcxx_cv_func__logf_use+set}" = set; then
39801 echo $ECHO_N "(cached) $ECHO_C" >&6
39802 else
39806 ac_ext=cc
39807 ac_cpp='$CXXCPP $CPPFLAGS'
39808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39812 cat >conftest.$ac_ext <<_ACEOF
39813 /* confdefs.h. */
39814 _ACEOF
39815 cat confdefs.h >>conftest.$ac_ext
39816 cat >>conftest.$ac_ext <<_ACEOF
39817 /* end confdefs.h. */
39818 #include <math.h>
39819 #ifdef HAVE_IEEEFP_H
39820 #include <ieeefp.h>
39821 #endif
39824 main ()
39826 _logf(0);
39828 return 0;
39830 _ACEOF
39831 rm -f conftest.$ac_objext
39832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39833 (eval $ac_compile) 2>conftest.er1
39834 ac_status=$?
39835 grep -v '^ *+' conftest.er1 >conftest.err
39836 rm -f conftest.er1
39837 cat conftest.err >&5
39838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39839 (exit $ac_status); } &&
39840 { ac_try='test -z "$ac_cxx_werror_flag"
39841 || test ! -s conftest.err'
39842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39843 (eval $ac_try) 2>&5
39844 ac_status=$?
39845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39846 (exit $ac_status); }; } &&
39847 { ac_try='test -s conftest.$ac_objext'
39848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39849 (eval $ac_try) 2>&5
39850 ac_status=$?
39851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39852 (exit $ac_status); }; }; then
39853 glibcxx_cv_func__logf_use=yes
39854 else
39855 echo "$as_me: failed program was:" >&5
39856 sed 's/^/| /' conftest.$ac_ext >&5
39858 glibcxx_cv_func__logf_use=no
39860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39861 ac_ext=c
39862 ac_cpp='$CPP $CPPFLAGS'
39863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39871 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
39872 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
39874 if test x$glibcxx_cv_func__logf_use = x"yes"; then
39876 for ac_func in _logf
39878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39879 echo "$as_me:$LINENO: checking for $ac_func" >&5
39880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39881 if eval "test \"\${$as_ac_var+set}\" = set"; then
39882 echo $ECHO_N "(cached) $ECHO_C" >&6
39883 else
39884 if test x$gcc_no_link = xyes; then
39885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39887 { (exit 1); exit 1; }; }
39889 cat >conftest.$ac_ext <<_ACEOF
39890 /* confdefs.h. */
39891 _ACEOF
39892 cat confdefs.h >>conftest.$ac_ext
39893 cat >>conftest.$ac_ext <<_ACEOF
39894 /* end confdefs.h. */
39895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39897 #define $ac_func innocuous_$ac_func
39899 /* System header to define __stub macros and hopefully few prototypes,
39900 which can conflict with char $ac_func (); below.
39901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39902 <limits.h> exists even on freestanding compilers. */
39904 #ifdef __STDC__
39905 # include <limits.h>
39906 #else
39907 # include <assert.h>
39908 #endif
39910 #undef $ac_func
39912 /* Override any gcc2 internal prototype to avoid an error. */
39913 #ifdef __cplusplus
39914 extern "C"
39916 #endif
39917 /* We use char because int might match the return type of a gcc2
39918 builtin and then its argument prototype would still apply. */
39919 char $ac_func ();
39920 /* The GNU C library defines this for functions which it implements
39921 to always fail with ENOSYS. Some functions are actually named
39922 something starting with __ and the normal name is an alias. */
39923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39924 choke me
39925 #else
39926 char (*f) () = $ac_func;
39927 #endif
39928 #ifdef __cplusplus
39930 #endif
39933 main ()
39935 return f != $ac_func;
39937 return 0;
39939 _ACEOF
39940 rm -f conftest.$ac_objext conftest$ac_exeext
39941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39942 (eval $ac_link) 2>conftest.er1
39943 ac_status=$?
39944 grep -v '^ *+' conftest.er1 >conftest.err
39945 rm -f conftest.er1
39946 cat conftest.err >&5
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); } &&
39949 { ac_try='test -z "$ac_c_werror_flag"
39950 || test ! -s conftest.err'
39951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39952 (eval $ac_try) 2>&5
39953 ac_status=$?
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); }; } &&
39956 { ac_try='test -s conftest$ac_exeext'
39957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39958 (eval $ac_try) 2>&5
39959 ac_status=$?
39960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961 (exit $ac_status); }; }; then
39962 eval "$as_ac_var=yes"
39963 else
39964 echo "$as_me: failed program was:" >&5
39965 sed 's/^/| /' conftest.$ac_ext >&5
39967 eval "$as_ac_var=no"
39969 rm -f conftest.err conftest.$ac_objext \
39970 conftest$ac_exeext conftest.$ac_ext
39972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39974 if test `eval echo '${'$as_ac_var'}'` = yes; then
39975 cat >>confdefs.h <<_ACEOF
39976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39977 _ACEOF
39980 done
39990 echo "$as_me:$LINENO: checking for log10f declaration" >&5
39991 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
39992 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
39993 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
39994 echo $ECHO_N "(cached) $ECHO_C" >&6
39995 else
39999 ac_ext=cc
40000 ac_cpp='$CXXCPP $CPPFLAGS'
40001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40005 cat >conftest.$ac_ext <<_ACEOF
40006 /* confdefs.h. */
40007 _ACEOF
40008 cat confdefs.h >>conftest.$ac_ext
40009 cat >>conftest.$ac_ext <<_ACEOF
40010 /* end confdefs.h. */
40011 #include <math.h>
40012 #ifdef HAVE_IEEEFP_H
40013 #include <ieeefp.h>
40014 #endif
40017 main ()
40019 log10f(0);
40021 return 0;
40023 _ACEOF
40024 rm -f conftest.$ac_objext
40025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40026 (eval $ac_compile) 2>conftest.er1
40027 ac_status=$?
40028 grep -v '^ *+' conftest.er1 >conftest.err
40029 rm -f conftest.er1
40030 cat conftest.err >&5
40031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40032 (exit $ac_status); } &&
40033 { ac_try='test -z "$ac_cxx_werror_flag"
40034 || test ! -s conftest.err'
40035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40036 (eval $ac_try) 2>&5
40037 ac_status=$?
40038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40039 (exit $ac_status); }; } &&
40040 { ac_try='test -s conftest.$ac_objext'
40041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40042 (eval $ac_try) 2>&5
40043 ac_status=$?
40044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40045 (exit $ac_status); }; }; then
40046 glibcxx_cv_func_log10f_use=yes
40047 else
40048 echo "$as_me: failed program was:" >&5
40049 sed 's/^/| /' conftest.$ac_ext >&5
40051 glibcxx_cv_func_log10f_use=no
40053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40054 ac_ext=c
40055 ac_cpp='$CPP $CPPFLAGS'
40056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40064 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40065 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40067 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40069 for ac_func in log10f
40071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40072 echo "$as_me:$LINENO: checking for $ac_func" >&5
40073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40074 if eval "test \"\${$as_ac_var+set}\" = set"; then
40075 echo $ECHO_N "(cached) $ECHO_C" >&6
40076 else
40077 if test x$gcc_no_link = xyes; then
40078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40080 { (exit 1); exit 1; }; }
40082 cat >conftest.$ac_ext <<_ACEOF
40083 /* confdefs.h. */
40084 _ACEOF
40085 cat confdefs.h >>conftest.$ac_ext
40086 cat >>conftest.$ac_ext <<_ACEOF
40087 /* end confdefs.h. */
40088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40090 #define $ac_func innocuous_$ac_func
40092 /* System header to define __stub macros and hopefully few prototypes,
40093 which can conflict with char $ac_func (); below.
40094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40095 <limits.h> exists even on freestanding compilers. */
40097 #ifdef __STDC__
40098 # include <limits.h>
40099 #else
40100 # include <assert.h>
40101 #endif
40103 #undef $ac_func
40105 /* Override any gcc2 internal prototype to avoid an error. */
40106 #ifdef __cplusplus
40107 extern "C"
40109 #endif
40110 /* We use char because int might match the return type of a gcc2
40111 builtin and then its argument prototype would still apply. */
40112 char $ac_func ();
40113 /* The GNU C library defines this for functions which it implements
40114 to always fail with ENOSYS. Some functions are actually named
40115 something starting with __ and the normal name is an alias. */
40116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40117 choke me
40118 #else
40119 char (*f) () = $ac_func;
40120 #endif
40121 #ifdef __cplusplus
40123 #endif
40126 main ()
40128 return f != $ac_func;
40130 return 0;
40132 _ACEOF
40133 rm -f conftest.$ac_objext conftest$ac_exeext
40134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40135 (eval $ac_link) 2>conftest.er1
40136 ac_status=$?
40137 grep -v '^ *+' conftest.er1 >conftest.err
40138 rm -f conftest.er1
40139 cat conftest.err >&5
40140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40141 (exit $ac_status); } &&
40142 { ac_try='test -z "$ac_c_werror_flag"
40143 || test ! -s conftest.err'
40144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40145 (eval $ac_try) 2>&5
40146 ac_status=$?
40147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40148 (exit $ac_status); }; } &&
40149 { ac_try='test -s conftest$ac_exeext'
40150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40151 (eval $ac_try) 2>&5
40152 ac_status=$?
40153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40154 (exit $ac_status); }; }; then
40155 eval "$as_ac_var=yes"
40156 else
40157 echo "$as_me: failed program was:" >&5
40158 sed 's/^/| /' conftest.$ac_ext >&5
40160 eval "$as_ac_var=no"
40162 rm -f conftest.err conftest.$ac_objext \
40163 conftest$ac_exeext conftest.$ac_ext
40165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40167 if test `eval echo '${'$as_ac_var'}'` = yes; then
40168 cat >>confdefs.h <<_ACEOF
40169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40170 _ACEOF
40173 done
40175 else
40177 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40178 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40179 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40180 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40181 echo $ECHO_N "(cached) $ECHO_C" >&6
40182 else
40186 ac_ext=cc
40187 ac_cpp='$CXXCPP $CPPFLAGS'
40188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40192 cat >conftest.$ac_ext <<_ACEOF
40193 /* confdefs.h. */
40194 _ACEOF
40195 cat confdefs.h >>conftest.$ac_ext
40196 cat >>conftest.$ac_ext <<_ACEOF
40197 /* end confdefs.h. */
40198 #include <math.h>
40199 #ifdef HAVE_IEEEFP_H
40200 #include <ieeefp.h>
40201 #endif
40204 main ()
40206 _log10f(0);
40208 return 0;
40210 _ACEOF
40211 rm -f conftest.$ac_objext
40212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40213 (eval $ac_compile) 2>conftest.er1
40214 ac_status=$?
40215 grep -v '^ *+' conftest.er1 >conftest.err
40216 rm -f conftest.er1
40217 cat conftest.err >&5
40218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40219 (exit $ac_status); } &&
40220 { ac_try='test -z "$ac_cxx_werror_flag"
40221 || test ! -s conftest.err'
40222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40223 (eval $ac_try) 2>&5
40224 ac_status=$?
40225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40226 (exit $ac_status); }; } &&
40227 { ac_try='test -s conftest.$ac_objext'
40228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40229 (eval $ac_try) 2>&5
40230 ac_status=$?
40231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40232 (exit $ac_status); }; }; then
40233 glibcxx_cv_func__log10f_use=yes
40234 else
40235 echo "$as_me: failed program was:" >&5
40236 sed 's/^/| /' conftest.$ac_ext >&5
40238 glibcxx_cv_func__log10f_use=no
40240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40241 ac_ext=c
40242 ac_cpp='$CPP $CPPFLAGS'
40243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40251 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40252 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40254 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40256 for ac_func in _log10f
40258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40259 echo "$as_me:$LINENO: checking for $ac_func" >&5
40260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40261 if eval "test \"\${$as_ac_var+set}\" = set"; then
40262 echo $ECHO_N "(cached) $ECHO_C" >&6
40263 else
40264 if test x$gcc_no_link = xyes; then
40265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40267 { (exit 1); exit 1; }; }
40269 cat >conftest.$ac_ext <<_ACEOF
40270 /* confdefs.h. */
40271 _ACEOF
40272 cat confdefs.h >>conftest.$ac_ext
40273 cat >>conftest.$ac_ext <<_ACEOF
40274 /* end confdefs.h. */
40275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40277 #define $ac_func innocuous_$ac_func
40279 /* System header to define __stub macros and hopefully few prototypes,
40280 which can conflict with char $ac_func (); below.
40281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40282 <limits.h> exists even on freestanding compilers. */
40284 #ifdef __STDC__
40285 # include <limits.h>
40286 #else
40287 # include <assert.h>
40288 #endif
40290 #undef $ac_func
40292 /* Override any gcc2 internal prototype to avoid an error. */
40293 #ifdef __cplusplus
40294 extern "C"
40296 #endif
40297 /* We use char because int might match the return type of a gcc2
40298 builtin and then its argument prototype would still apply. */
40299 char $ac_func ();
40300 /* The GNU C library defines this for functions which it implements
40301 to always fail with ENOSYS. Some functions are actually named
40302 something starting with __ and the normal name is an alias. */
40303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40304 choke me
40305 #else
40306 char (*f) () = $ac_func;
40307 #endif
40308 #ifdef __cplusplus
40310 #endif
40313 main ()
40315 return f != $ac_func;
40317 return 0;
40319 _ACEOF
40320 rm -f conftest.$ac_objext conftest$ac_exeext
40321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40322 (eval $ac_link) 2>conftest.er1
40323 ac_status=$?
40324 grep -v '^ *+' conftest.er1 >conftest.err
40325 rm -f conftest.er1
40326 cat conftest.err >&5
40327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40328 (exit $ac_status); } &&
40329 { ac_try='test -z "$ac_c_werror_flag"
40330 || test ! -s conftest.err'
40331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40332 (eval $ac_try) 2>&5
40333 ac_status=$?
40334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335 (exit $ac_status); }; } &&
40336 { ac_try='test -s conftest$ac_exeext'
40337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40338 (eval $ac_try) 2>&5
40339 ac_status=$?
40340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40341 (exit $ac_status); }; }; then
40342 eval "$as_ac_var=yes"
40343 else
40344 echo "$as_me: failed program was:" >&5
40345 sed 's/^/| /' conftest.$ac_ext >&5
40347 eval "$as_ac_var=no"
40349 rm -f conftest.err conftest.$ac_objext \
40350 conftest$ac_exeext conftest.$ac_ext
40352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40354 if test `eval echo '${'$as_ac_var'}'` = yes; then
40355 cat >>confdefs.h <<_ACEOF
40356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40357 _ACEOF
40360 done
40370 echo "$as_me:$LINENO: checking for modff declaration" >&5
40371 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40372 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40373 if test "${glibcxx_cv_func_modff_use+set}" = set; then
40374 echo $ECHO_N "(cached) $ECHO_C" >&6
40375 else
40379 ac_ext=cc
40380 ac_cpp='$CXXCPP $CPPFLAGS'
40381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40385 cat >conftest.$ac_ext <<_ACEOF
40386 /* confdefs.h. */
40387 _ACEOF
40388 cat confdefs.h >>conftest.$ac_ext
40389 cat >>conftest.$ac_ext <<_ACEOF
40390 /* end confdefs.h. */
40391 #include <math.h>
40393 main ()
40395 modff(0, 0);
40397 return 0;
40399 _ACEOF
40400 rm -f conftest.$ac_objext
40401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40402 (eval $ac_compile) 2>conftest.er1
40403 ac_status=$?
40404 grep -v '^ *+' conftest.er1 >conftest.err
40405 rm -f conftest.er1
40406 cat conftest.err >&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } &&
40409 { ac_try='test -z "$ac_cxx_werror_flag"
40410 || test ! -s conftest.err'
40411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40412 (eval $ac_try) 2>&5
40413 ac_status=$?
40414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40415 (exit $ac_status); }; } &&
40416 { ac_try='test -s conftest.$ac_objext'
40417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40418 (eval $ac_try) 2>&5
40419 ac_status=$?
40420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40421 (exit $ac_status); }; }; then
40422 glibcxx_cv_func_modff_use=yes
40423 else
40424 echo "$as_me: failed program was:" >&5
40425 sed 's/^/| /' conftest.$ac_ext >&5
40427 glibcxx_cv_func_modff_use=no
40429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40430 ac_ext=c
40431 ac_cpp='$CPP $CPPFLAGS'
40432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40440 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40441 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40443 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40445 for ac_func in modff
40447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40448 echo "$as_me:$LINENO: checking for $ac_func" >&5
40449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40450 if eval "test \"\${$as_ac_var+set}\" = set"; then
40451 echo $ECHO_N "(cached) $ECHO_C" >&6
40452 else
40453 if test x$gcc_no_link = xyes; then
40454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40456 { (exit 1); exit 1; }; }
40458 cat >conftest.$ac_ext <<_ACEOF
40459 /* confdefs.h. */
40460 _ACEOF
40461 cat confdefs.h >>conftest.$ac_ext
40462 cat >>conftest.$ac_ext <<_ACEOF
40463 /* end confdefs.h. */
40464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40466 #define $ac_func innocuous_$ac_func
40468 /* System header to define __stub macros and hopefully few prototypes,
40469 which can conflict with char $ac_func (); below.
40470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40471 <limits.h> exists even on freestanding compilers. */
40473 #ifdef __STDC__
40474 # include <limits.h>
40475 #else
40476 # include <assert.h>
40477 #endif
40479 #undef $ac_func
40481 /* Override any gcc2 internal prototype to avoid an error. */
40482 #ifdef __cplusplus
40483 extern "C"
40485 #endif
40486 /* We use char because int might match the return type of a gcc2
40487 builtin and then its argument prototype would still apply. */
40488 char $ac_func ();
40489 /* The GNU C library defines this for functions which it implements
40490 to always fail with ENOSYS. Some functions are actually named
40491 something starting with __ and the normal name is an alias. */
40492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40493 choke me
40494 #else
40495 char (*f) () = $ac_func;
40496 #endif
40497 #ifdef __cplusplus
40499 #endif
40502 main ()
40504 return f != $ac_func;
40506 return 0;
40508 _ACEOF
40509 rm -f conftest.$ac_objext conftest$ac_exeext
40510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40511 (eval $ac_link) 2>conftest.er1
40512 ac_status=$?
40513 grep -v '^ *+' conftest.er1 >conftest.err
40514 rm -f conftest.er1
40515 cat conftest.err >&5
40516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40517 (exit $ac_status); } &&
40518 { ac_try='test -z "$ac_c_werror_flag"
40519 || test ! -s conftest.err'
40520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40521 (eval $ac_try) 2>&5
40522 ac_status=$?
40523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40524 (exit $ac_status); }; } &&
40525 { ac_try='test -s conftest$ac_exeext'
40526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40527 (eval $ac_try) 2>&5
40528 ac_status=$?
40529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40530 (exit $ac_status); }; }; then
40531 eval "$as_ac_var=yes"
40532 else
40533 echo "$as_me: failed program was:" >&5
40534 sed 's/^/| /' conftest.$ac_ext >&5
40536 eval "$as_ac_var=no"
40538 rm -f conftest.err conftest.$ac_objext \
40539 conftest$ac_exeext conftest.$ac_ext
40541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40543 if test `eval echo '${'$as_ac_var'}'` = yes; then
40544 cat >>confdefs.h <<_ACEOF
40545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40546 _ACEOF
40549 done
40551 else
40553 echo "$as_me:$LINENO: checking for _modff declaration" >&5
40554 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40555 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40556 if test "${glibcxx_cv_func__modff_use+set}" = set; then
40557 echo $ECHO_N "(cached) $ECHO_C" >&6
40558 else
40562 ac_ext=cc
40563 ac_cpp='$CXXCPP $CPPFLAGS'
40564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40568 cat >conftest.$ac_ext <<_ACEOF
40569 /* confdefs.h. */
40570 _ACEOF
40571 cat confdefs.h >>conftest.$ac_ext
40572 cat >>conftest.$ac_ext <<_ACEOF
40573 /* end confdefs.h. */
40574 #include <math.h>
40576 main ()
40578 _modff(0, 0);
40580 return 0;
40582 _ACEOF
40583 rm -f conftest.$ac_objext
40584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40585 (eval $ac_compile) 2>conftest.er1
40586 ac_status=$?
40587 grep -v '^ *+' conftest.er1 >conftest.err
40588 rm -f conftest.er1
40589 cat conftest.err >&5
40590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40591 (exit $ac_status); } &&
40592 { ac_try='test -z "$ac_cxx_werror_flag"
40593 || test ! -s conftest.err'
40594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40595 (eval $ac_try) 2>&5
40596 ac_status=$?
40597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40598 (exit $ac_status); }; } &&
40599 { ac_try='test -s conftest.$ac_objext'
40600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40601 (eval $ac_try) 2>&5
40602 ac_status=$?
40603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40604 (exit $ac_status); }; }; then
40605 glibcxx_cv_func__modff_use=yes
40606 else
40607 echo "$as_me: failed program was:" >&5
40608 sed 's/^/| /' conftest.$ac_ext >&5
40610 glibcxx_cv_func__modff_use=no
40612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40613 ac_ext=c
40614 ac_cpp='$CPP $CPPFLAGS'
40615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40624 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40626 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40628 for ac_func in _modff
40630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40631 echo "$as_me:$LINENO: checking for $ac_func" >&5
40632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40633 if eval "test \"\${$as_ac_var+set}\" = set"; then
40634 echo $ECHO_N "(cached) $ECHO_C" >&6
40635 else
40636 if test x$gcc_no_link = xyes; then
40637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40639 { (exit 1); exit 1; }; }
40641 cat >conftest.$ac_ext <<_ACEOF
40642 /* confdefs.h. */
40643 _ACEOF
40644 cat confdefs.h >>conftest.$ac_ext
40645 cat >>conftest.$ac_ext <<_ACEOF
40646 /* end confdefs.h. */
40647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40649 #define $ac_func innocuous_$ac_func
40651 /* System header to define __stub macros and hopefully few prototypes,
40652 which can conflict with char $ac_func (); below.
40653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40654 <limits.h> exists even on freestanding compilers. */
40656 #ifdef __STDC__
40657 # include <limits.h>
40658 #else
40659 # include <assert.h>
40660 #endif
40662 #undef $ac_func
40664 /* Override any gcc2 internal prototype to avoid an error. */
40665 #ifdef __cplusplus
40666 extern "C"
40668 #endif
40669 /* We use char because int might match the return type of a gcc2
40670 builtin and then its argument prototype would still apply. */
40671 char $ac_func ();
40672 /* The GNU C library defines this for functions which it implements
40673 to always fail with ENOSYS. Some functions are actually named
40674 something starting with __ and the normal name is an alias. */
40675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40676 choke me
40677 #else
40678 char (*f) () = $ac_func;
40679 #endif
40680 #ifdef __cplusplus
40682 #endif
40685 main ()
40687 return f != $ac_func;
40689 return 0;
40691 _ACEOF
40692 rm -f conftest.$ac_objext conftest$ac_exeext
40693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40694 (eval $ac_link) 2>conftest.er1
40695 ac_status=$?
40696 grep -v '^ *+' conftest.er1 >conftest.err
40697 rm -f conftest.er1
40698 cat conftest.err >&5
40699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40700 (exit $ac_status); } &&
40701 { ac_try='test -z "$ac_c_werror_flag"
40702 || test ! -s conftest.err'
40703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40704 (eval $ac_try) 2>&5
40705 ac_status=$?
40706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40707 (exit $ac_status); }; } &&
40708 { ac_try='test -s conftest$ac_exeext'
40709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40710 (eval $ac_try) 2>&5
40711 ac_status=$?
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); }; }; then
40714 eval "$as_ac_var=yes"
40715 else
40716 echo "$as_me: failed program was:" >&5
40717 sed 's/^/| /' conftest.$ac_ext >&5
40719 eval "$as_ac_var=no"
40721 rm -f conftest.err conftest.$ac_objext \
40722 conftest$ac_exeext conftest.$ac_ext
40724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40726 if test `eval echo '${'$as_ac_var'}'` = yes; then
40727 cat >>confdefs.h <<_ACEOF
40728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40729 _ACEOF
40732 done
40742 echo "$as_me:$LINENO: checking for modf declaration" >&5
40743 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
40744 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40745 if test "${glibcxx_cv_func_modf_use+set}" = set; then
40746 echo $ECHO_N "(cached) $ECHO_C" >&6
40747 else
40751 ac_ext=cc
40752 ac_cpp='$CXXCPP $CPPFLAGS'
40753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40757 cat >conftest.$ac_ext <<_ACEOF
40758 /* confdefs.h. */
40759 _ACEOF
40760 cat confdefs.h >>conftest.$ac_ext
40761 cat >>conftest.$ac_ext <<_ACEOF
40762 /* end confdefs.h. */
40763 #include <math.h>
40765 main ()
40767 modf(0, 0);
40769 return 0;
40771 _ACEOF
40772 rm -f conftest.$ac_objext
40773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40774 (eval $ac_compile) 2>conftest.er1
40775 ac_status=$?
40776 grep -v '^ *+' conftest.er1 >conftest.err
40777 rm -f conftest.er1
40778 cat conftest.err >&5
40779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40780 (exit $ac_status); } &&
40781 { ac_try='test -z "$ac_cxx_werror_flag"
40782 || test ! -s conftest.err'
40783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40784 (eval $ac_try) 2>&5
40785 ac_status=$?
40786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787 (exit $ac_status); }; } &&
40788 { ac_try='test -s conftest.$ac_objext'
40789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40790 (eval $ac_try) 2>&5
40791 ac_status=$?
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); }; }; then
40794 glibcxx_cv_func_modf_use=yes
40795 else
40796 echo "$as_me: failed program was:" >&5
40797 sed 's/^/| /' conftest.$ac_ext >&5
40799 glibcxx_cv_func_modf_use=no
40801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40802 ac_ext=c
40803 ac_cpp='$CPP $CPPFLAGS'
40804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40812 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
40813 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
40815 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40817 for ac_func in modf
40819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40820 echo "$as_me:$LINENO: checking for $ac_func" >&5
40821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40822 if eval "test \"\${$as_ac_var+set}\" = set"; then
40823 echo $ECHO_N "(cached) $ECHO_C" >&6
40824 else
40825 if test x$gcc_no_link = xyes; then
40826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40828 { (exit 1); exit 1; }; }
40830 cat >conftest.$ac_ext <<_ACEOF
40831 /* confdefs.h. */
40832 _ACEOF
40833 cat confdefs.h >>conftest.$ac_ext
40834 cat >>conftest.$ac_ext <<_ACEOF
40835 /* end confdefs.h. */
40836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40838 #define $ac_func innocuous_$ac_func
40840 /* System header to define __stub macros and hopefully few prototypes,
40841 which can conflict with char $ac_func (); below.
40842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40843 <limits.h> exists even on freestanding compilers. */
40845 #ifdef __STDC__
40846 # include <limits.h>
40847 #else
40848 # include <assert.h>
40849 #endif
40851 #undef $ac_func
40853 /* Override any gcc2 internal prototype to avoid an error. */
40854 #ifdef __cplusplus
40855 extern "C"
40857 #endif
40858 /* We use char because int might match the return type of a gcc2
40859 builtin and then its argument prototype would still apply. */
40860 char $ac_func ();
40861 /* The GNU C library defines this for functions which it implements
40862 to always fail with ENOSYS. Some functions are actually named
40863 something starting with __ and the normal name is an alias. */
40864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40865 choke me
40866 #else
40867 char (*f) () = $ac_func;
40868 #endif
40869 #ifdef __cplusplus
40871 #endif
40874 main ()
40876 return f != $ac_func;
40878 return 0;
40880 _ACEOF
40881 rm -f conftest.$ac_objext conftest$ac_exeext
40882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40883 (eval $ac_link) 2>conftest.er1
40884 ac_status=$?
40885 grep -v '^ *+' conftest.er1 >conftest.err
40886 rm -f conftest.er1
40887 cat conftest.err >&5
40888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40889 (exit $ac_status); } &&
40890 { ac_try='test -z "$ac_c_werror_flag"
40891 || test ! -s conftest.err'
40892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40893 (eval $ac_try) 2>&5
40894 ac_status=$?
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); }; } &&
40897 { ac_try='test -s conftest$ac_exeext'
40898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40899 (eval $ac_try) 2>&5
40900 ac_status=$?
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); }; }; then
40903 eval "$as_ac_var=yes"
40904 else
40905 echo "$as_me: failed program was:" >&5
40906 sed 's/^/| /' conftest.$ac_ext >&5
40908 eval "$as_ac_var=no"
40910 rm -f conftest.err conftest.$ac_objext \
40911 conftest$ac_exeext conftest.$ac_ext
40913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40915 if test `eval echo '${'$as_ac_var'}'` = yes; then
40916 cat >>confdefs.h <<_ACEOF
40917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40918 _ACEOF
40921 done
40923 else
40925 echo "$as_me:$LINENO: checking for _modf declaration" >&5
40926 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
40927 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40928 if test "${glibcxx_cv_func__modf_use+set}" = set; then
40929 echo $ECHO_N "(cached) $ECHO_C" >&6
40930 else
40934 ac_ext=cc
40935 ac_cpp='$CXXCPP $CPPFLAGS'
40936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40940 cat >conftest.$ac_ext <<_ACEOF
40941 /* confdefs.h. */
40942 _ACEOF
40943 cat confdefs.h >>conftest.$ac_ext
40944 cat >>conftest.$ac_ext <<_ACEOF
40945 /* end confdefs.h. */
40946 #include <math.h>
40948 main ()
40950 _modf(0, 0);
40952 return 0;
40954 _ACEOF
40955 rm -f conftest.$ac_objext
40956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40957 (eval $ac_compile) 2>conftest.er1
40958 ac_status=$?
40959 grep -v '^ *+' conftest.er1 >conftest.err
40960 rm -f conftest.er1
40961 cat conftest.err >&5
40962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40963 (exit $ac_status); } &&
40964 { ac_try='test -z "$ac_cxx_werror_flag"
40965 || test ! -s conftest.err'
40966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40967 (eval $ac_try) 2>&5
40968 ac_status=$?
40969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40970 (exit $ac_status); }; } &&
40971 { ac_try='test -s conftest.$ac_objext'
40972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40973 (eval $ac_try) 2>&5
40974 ac_status=$?
40975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40976 (exit $ac_status); }; }; then
40977 glibcxx_cv_func__modf_use=yes
40978 else
40979 echo "$as_me: failed program was:" >&5
40980 sed 's/^/| /' conftest.$ac_ext >&5
40982 glibcxx_cv_func__modf_use=no
40984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40985 ac_ext=c
40986 ac_cpp='$CPP $CPPFLAGS'
40987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40995 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
40996 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
40998 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41000 for ac_func in _modf
41002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41003 echo "$as_me:$LINENO: checking for $ac_func" >&5
41004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41005 if eval "test \"\${$as_ac_var+set}\" = set"; then
41006 echo $ECHO_N "(cached) $ECHO_C" >&6
41007 else
41008 if test x$gcc_no_link = xyes; then
41009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41011 { (exit 1); exit 1; }; }
41013 cat >conftest.$ac_ext <<_ACEOF
41014 /* confdefs.h. */
41015 _ACEOF
41016 cat confdefs.h >>conftest.$ac_ext
41017 cat >>conftest.$ac_ext <<_ACEOF
41018 /* end confdefs.h. */
41019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41021 #define $ac_func innocuous_$ac_func
41023 /* System header to define __stub macros and hopefully few prototypes,
41024 which can conflict with char $ac_func (); below.
41025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41026 <limits.h> exists even on freestanding compilers. */
41028 #ifdef __STDC__
41029 # include <limits.h>
41030 #else
41031 # include <assert.h>
41032 #endif
41034 #undef $ac_func
41036 /* Override any gcc2 internal prototype to avoid an error. */
41037 #ifdef __cplusplus
41038 extern "C"
41040 #endif
41041 /* We use char because int might match the return type of a gcc2
41042 builtin and then its argument prototype would still apply. */
41043 char $ac_func ();
41044 /* The GNU C library defines this for functions which it implements
41045 to always fail with ENOSYS. Some functions are actually named
41046 something starting with __ and the normal name is an alias. */
41047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41048 choke me
41049 #else
41050 char (*f) () = $ac_func;
41051 #endif
41052 #ifdef __cplusplus
41054 #endif
41057 main ()
41059 return f != $ac_func;
41061 return 0;
41063 _ACEOF
41064 rm -f conftest.$ac_objext conftest$ac_exeext
41065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41066 (eval $ac_link) 2>conftest.er1
41067 ac_status=$?
41068 grep -v '^ *+' conftest.er1 >conftest.err
41069 rm -f conftest.er1
41070 cat conftest.err >&5
41071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41072 (exit $ac_status); } &&
41073 { ac_try='test -z "$ac_c_werror_flag"
41074 || test ! -s conftest.err'
41075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41076 (eval $ac_try) 2>&5
41077 ac_status=$?
41078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41079 (exit $ac_status); }; } &&
41080 { ac_try='test -s conftest$ac_exeext'
41081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41082 (eval $ac_try) 2>&5
41083 ac_status=$?
41084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41085 (exit $ac_status); }; }; then
41086 eval "$as_ac_var=yes"
41087 else
41088 echo "$as_me: failed program was:" >&5
41089 sed 's/^/| /' conftest.$ac_ext >&5
41091 eval "$as_ac_var=no"
41093 rm -f conftest.err conftest.$ac_objext \
41094 conftest$ac_exeext conftest.$ac_ext
41096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41098 if test `eval echo '${'$as_ac_var'}'` = yes; then
41099 cat >>confdefs.h <<_ACEOF
41100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41101 _ACEOF
41104 done
41114 echo "$as_me:$LINENO: checking for powf declaration" >&5
41115 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41116 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41117 if test "${glibcxx_cv_func_powf_use+set}" = set; then
41118 echo $ECHO_N "(cached) $ECHO_C" >&6
41119 else
41123 ac_ext=cc
41124 ac_cpp='$CXXCPP $CPPFLAGS'
41125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41129 cat >conftest.$ac_ext <<_ACEOF
41130 /* confdefs.h. */
41131 _ACEOF
41132 cat confdefs.h >>conftest.$ac_ext
41133 cat >>conftest.$ac_ext <<_ACEOF
41134 /* end confdefs.h. */
41135 #include <math.h>
41137 main ()
41139 powf(0, 0);
41141 return 0;
41143 _ACEOF
41144 rm -f conftest.$ac_objext
41145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41146 (eval $ac_compile) 2>conftest.er1
41147 ac_status=$?
41148 grep -v '^ *+' conftest.er1 >conftest.err
41149 rm -f conftest.er1
41150 cat conftest.err >&5
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); } &&
41153 { ac_try='test -z "$ac_cxx_werror_flag"
41154 || test ! -s conftest.err'
41155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41156 (eval $ac_try) 2>&5
41157 ac_status=$?
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); }; } &&
41160 { ac_try='test -s conftest.$ac_objext'
41161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41162 (eval $ac_try) 2>&5
41163 ac_status=$?
41164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41165 (exit $ac_status); }; }; then
41166 glibcxx_cv_func_powf_use=yes
41167 else
41168 echo "$as_me: failed program was:" >&5
41169 sed 's/^/| /' conftest.$ac_ext >&5
41171 glibcxx_cv_func_powf_use=no
41173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41174 ac_ext=c
41175 ac_cpp='$CPP $CPPFLAGS'
41176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41184 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41185 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41187 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41189 for ac_func in powf
41191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41192 echo "$as_me:$LINENO: checking for $ac_func" >&5
41193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41194 if eval "test \"\${$as_ac_var+set}\" = set"; then
41195 echo $ECHO_N "(cached) $ECHO_C" >&6
41196 else
41197 if test x$gcc_no_link = xyes; then
41198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41200 { (exit 1); exit 1; }; }
41202 cat >conftest.$ac_ext <<_ACEOF
41203 /* confdefs.h. */
41204 _ACEOF
41205 cat confdefs.h >>conftest.$ac_ext
41206 cat >>conftest.$ac_ext <<_ACEOF
41207 /* end confdefs.h. */
41208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41210 #define $ac_func innocuous_$ac_func
41212 /* System header to define __stub macros and hopefully few prototypes,
41213 which can conflict with char $ac_func (); below.
41214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41215 <limits.h> exists even on freestanding compilers. */
41217 #ifdef __STDC__
41218 # include <limits.h>
41219 #else
41220 # include <assert.h>
41221 #endif
41223 #undef $ac_func
41225 /* Override any gcc2 internal prototype to avoid an error. */
41226 #ifdef __cplusplus
41227 extern "C"
41229 #endif
41230 /* We use char because int might match the return type of a gcc2
41231 builtin and then its argument prototype would still apply. */
41232 char $ac_func ();
41233 /* The GNU C library defines this for functions which it implements
41234 to always fail with ENOSYS. Some functions are actually named
41235 something starting with __ and the normal name is an alias. */
41236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41237 choke me
41238 #else
41239 char (*f) () = $ac_func;
41240 #endif
41241 #ifdef __cplusplus
41243 #endif
41246 main ()
41248 return f != $ac_func;
41250 return 0;
41252 _ACEOF
41253 rm -f conftest.$ac_objext conftest$ac_exeext
41254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41255 (eval $ac_link) 2>conftest.er1
41256 ac_status=$?
41257 grep -v '^ *+' conftest.er1 >conftest.err
41258 rm -f conftest.er1
41259 cat conftest.err >&5
41260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41261 (exit $ac_status); } &&
41262 { ac_try='test -z "$ac_c_werror_flag"
41263 || test ! -s conftest.err'
41264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41265 (eval $ac_try) 2>&5
41266 ac_status=$?
41267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41268 (exit $ac_status); }; } &&
41269 { ac_try='test -s conftest$ac_exeext'
41270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41271 (eval $ac_try) 2>&5
41272 ac_status=$?
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); }; }; then
41275 eval "$as_ac_var=yes"
41276 else
41277 echo "$as_me: failed program was:" >&5
41278 sed 's/^/| /' conftest.$ac_ext >&5
41280 eval "$as_ac_var=no"
41282 rm -f conftest.err conftest.$ac_objext \
41283 conftest$ac_exeext conftest.$ac_ext
41285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41287 if test `eval echo '${'$as_ac_var'}'` = yes; then
41288 cat >>confdefs.h <<_ACEOF
41289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41290 _ACEOF
41293 done
41295 else
41297 echo "$as_me:$LINENO: checking for _powf declaration" >&5
41298 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41299 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41300 if test "${glibcxx_cv_func__powf_use+set}" = set; then
41301 echo $ECHO_N "(cached) $ECHO_C" >&6
41302 else
41306 ac_ext=cc
41307 ac_cpp='$CXXCPP $CPPFLAGS'
41308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41312 cat >conftest.$ac_ext <<_ACEOF
41313 /* confdefs.h. */
41314 _ACEOF
41315 cat confdefs.h >>conftest.$ac_ext
41316 cat >>conftest.$ac_ext <<_ACEOF
41317 /* end confdefs.h. */
41318 #include <math.h>
41320 main ()
41322 _powf(0, 0);
41324 return 0;
41326 _ACEOF
41327 rm -f conftest.$ac_objext
41328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41329 (eval $ac_compile) 2>conftest.er1
41330 ac_status=$?
41331 grep -v '^ *+' conftest.er1 >conftest.err
41332 rm -f conftest.er1
41333 cat conftest.err >&5
41334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41335 (exit $ac_status); } &&
41336 { ac_try='test -z "$ac_cxx_werror_flag"
41337 || test ! -s conftest.err'
41338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41339 (eval $ac_try) 2>&5
41340 ac_status=$?
41341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41342 (exit $ac_status); }; } &&
41343 { ac_try='test -s conftest.$ac_objext'
41344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41345 (eval $ac_try) 2>&5
41346 ac_status=$?
41347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41348 (exit $ac_status); }; }; then
41349 glibcxx_cv_func__powf_use=yes
41350 else
41351 echo "$as_me: failed program was:" >&5
41352 sed 's/^/| /' conftest.$ac_ext >&5
41354 glibcxx_cv_func__powf_use=no
41356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41357 ac_ext=c
41358 ac_cpp='$CPP $CPPFLAGS'
41359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41367 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41368 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41370 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41372 for ac_func in _powf
41374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41375 echo "$as_me:$LINENO: checking for $ac_func" >&5
41376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41377 if eval "test \"\${$as_ac_var+set}\" = set"; then
41378 echo $ECHO_N "(cached) $ECHO_C" >&6
41379 else
41380 if test x$gcc_no_link = xyes; then
41381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41383 { (exit 1); exit 1; }; }
41385 cat >conftest.$ac_ext <<_ACEOF
41386 /* confdefs.h. */
41387 _ACEOF
41388 cat confdefs.h >>conftest.$ac_ext
41389 cat >>conftest.$ac_ext <<_ACEOF
41390 /* end confdefs.h. */
41391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41393 #define $ac_func innocuous_$ac_func
41395 /* System header to define __stub macros and hopefully few prototypes,
41396 which can conflict with char $ac_func (); below.
41397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41398 <limits.h> exists even on freestanding compilers. */
41400 #ifdef __STDC__
41401 # include <limits.h>
41402 #else
41403 # include <assert.h>
41404 #endif
41406 #undef $ac_func
41408 /* Override any gcc2 internal prototype to avoid an error. */
41409 #ifdef __cplusplus
41410 extern "C"
41412 #endif
41413 /* We use char because int might match the return type of a gcc2
41414 builtin and then its argument prototype would still apply. */
41415 char $ac_func ();
41416 /* The GNU C library defines this for functions which it implements
41417 to always fail with ENOSYS. Some functions are actually named
41418 something starting with __ and the normal name is an alias. */
41419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41420 choke me
41421 #else
41422 char (*f) () = $ac_func;
41423 #endif
41424 #ifdef __cplusplus
41426 #endif
41429 main ()
41431 return f != $ac_func;
41433 return 0;
41435 _ACEOF
41436 rm -f conftest.$ac_objext conftest$ac_exeext
41437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41438 (eval $ac_link) 2>conftest.er1
41439 ac_status=$?
41440 grep -v '^ *+' conftest.er1 >conftest.err
41441 rm -f conftest.er1
41442 cat conftest.err >&5
41443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 (exit $ac_status); } &&
41445 { ac_try='test -z "$ac_c_werror_flag"
41446 || test ! -s conftest.err'
41447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41448 (eval $ac_try) 2>&5
41449 ac_status=$?
41450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41451 (exit $ac_status); }; } &&
41452 { ac_try='test -s conftest$ac_exeext'
41453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41454 (eval $ac_try) 2>&5
41455 ac_status=$?
41456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41457 (exit $ac_status); }; }; then
41458 eval "$as_ac_var=yes"
41459 else
41460 echo "$as_me: failed program was:" >&5
41461 sed 's/^/| /' conftest.$ac_ext >&5
41463 eval "$as_ac_var=no"
41465 rm -f conftest.err conftest.$ac_objext \
41466 conftest$ac_exeext conftest.$ac_ext
41468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41470 if test `eval echo '${'$as_ac_var'}'` = yes; then
41471 cat >>confdefs.h <<_ACEOF
41472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41473 _ACEOF
41476 done
41486 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41487 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41488 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41489 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41490 echo $ECHO_N "(cached) $ECHO_C" >&6
41491 else
41495 ac_ext=cc
41496 ac_cpp='$CXXCPP $CPPFLAGS'
41497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41501 cat >conftest.$ac_ext <<_ACEOF
41502 /* confdefs.h. */
41503 _ACEOF
41504 cat confdefs.h >>conftest.$ac_ext
41505 cat >>conftest.$ac_ext <<_ACEOF
41506 /* end confdefs.h. */
41507 #include <math.h>
41508 #ifdef HAVE_IEEEFP_H
41509 #include <ieeefp.h>
41510 #endif
41513 main ()
41515 sqrtf(0);
41517 return 0;
41519 _ACEOF
41520 rm -f conftest.$ac_objext
41521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41522 (eval $ac_compile) 2>conftest.er1
41523 ac_status=$?
41524 grep -v '^ *+' conftest.er1 >conftest.err
41525 rm -f conftest.er1
41526 cat conftest.err >&5
41527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41528 (exit $ac_status); } &&
41529 { ac_try='test -z "$ac_cxx_werror_flag"
41530 || test ! -s conftest.err'
41531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41532 (eval $ac_try) 2>&5
41533 ac_status=$?
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); }; } &&
41536 { ac_try='test -s conftest.$ac_objext'
41537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41538 (eval $ac_try) 2>&5
41539 ac_status=$?
41540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541 (exit $ac_status); }; }; then
41542 glibcxx_cv_func_sqrtf_use=yes
41543 else
41544 echo "$as_me: failed program was:" >&5
41545 sed 's/^/| /' conftest.$ac_ext >&5
41547 glibcxx_cv_func_sqrtf_use=no
41549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41550 ac_ext=c
41551 ac_cpp='$CPP $CPPFLAGS'
41552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41560 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41561 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41563 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41565 for ac_func in sqrtf
41567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41568 echo "$as_me:$LINENO: checking for $ac_func" >&5
41569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41570 if eval "test \"\${$as_ac_var+set}\" = set"; then
41571 echo $ECHO_N "(cached) $ECHO_C" >&6
41572 else
41573 if test x$gcc_no_link = xyes; then
41574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41576 { (exit 1); exit 1; }; }
41578 cat >conftest.$ac_ext <<_ACEOF
41579 /* confdefs.h. */
41580 _ACEOF
41581 cat confdefs.h >>conftest.$ac_ext
41582 cat >>conftest.$ac_ext <<_ACEOF
41583 /* end confdefs.h. */
41584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41586 #define $ac_func innocuous_$ac_func
41588 /* System header to define __stub macros and hopefully few prototypes,
41589 which can conflict with char $ac_func (); below.
41590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41591 <limits.h> exists even on freestanding compilers. */
41593 #ifdef __STDC__
41594 # include <limits.h>
41595 #else
41596 # include <assert.h>
41597 #endif
41599 #undef $ac_func
41601 /* Override any gcc2 internal prototype to avoid an error. */
41602 #ifdef __cplusplus
41603 extern "C"
41605 #endif
41606 /* We use char because int might match the return type of a gcc2
41607 builtin and then its argument prototype would still apply. */
41608 char $ac_func ();
41609 /* The GNU C library defines this for functions which it implements
41610 to always fail with ENOSYS. Some functions are actually named
41611 something starting with __ and the normal name is an alias. */
41612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41613 choke me
41614 #else
41615 char (*f) () = $ac_func;
41616 #endif
41617 #ifdef __cplusplus
41619 #endif
41622 main ()
41624 return f != $ac_func;
41626 return 0;
41628 _ACEOF
41629 rm -f conftest.$ac_objext conftest$ac_exeext
41630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41631 (eval $ac_link) 2>conftest.er1
41632 ac_status=$?
41633 grep -v '^ *+' conftest.er1 >conftest.err
41634 rm -f conftest.er1
41635 cat conftest.err >&5
41636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41637 (exit $ac_status); } &&
41638 { ac_try='test -z "$ac_c_werror_flag"
41639 || test ! -s conftest.err'
41640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41641 (eval $ac_try) 2>&5
41642 ac_status=$?
41643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41644 (exit $ac_status); }; } &&
41645 { ac_try='test -s conftest$ac_exeext'
41646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41647 (eval $ac_try) 2>&5
41648 ac_status=$?
41649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41650 (exit $ac_status); }; }; then
41651 eval "$as_ac_var=yes"
41652 else
41653 echo "$as_me: failed program was:" >&5
41654 sed 's/^/| /' conftest.$ac_ext >&5
41656 eval "$as_ac_var=no"
41658 rm -f conftest.err conftest.$ac_objext \
41659 conftest$ac_exeext conftest.$ac_ext
41661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41663 if test `eval echo '${'$as_ac_var'}'` = yes; then
41664 cat >>confdefs.h <<_ACEOF
41665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41666 _ACEOF
41669 done
41671 else
41673 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
41674 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
41675 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41676 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
41677 echo $ECHO_N "(cached) $ECHO_C" >&6
41678 else
41682 ac_ext=cc
41683 ac_cpp='$CXXCPP $CPPFLAGS'
41684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41688 cat >conftest.$ac_ext <<_ACEOF
41689 /* confdefs.h. */
41690 _ACEOF
41691 cat confdefs.h >>conftest.$ac_ext
41692 cat >>conftest.$ac_ext <<_ACEOF
41693 /* end confdefs.h. */
41694 #include <math.h>
41695 #ifdef HAVE_IEEEFP_H
41696 #include <ieeefp.h>
41697 #endif
41700 main ()
41702 _sqrtf(0);
41704 return 0;
41706 _ACEOF
41707 rm -f conftest.$ac_objext
41708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41709 (eval $ac_compile) 2>conftest.er1
41710 ac_status=$?
41711 grep -v '^ *+' conftest.er1 >conftest.err
41712 rm -f conftest.er1
41713 cat conftest.err >&5
41714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715 (exit $ac_status); } &&
41716 { ac_try='test -z "$ac_cxx_werror_flag"
41717 || test ! -s conftest.err'
41718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41719 (eval $ac_try) 2>&5
41720 ac_status=$?
41721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722 (exit $ac_status); }; } &&
41723 { ac_try='test -s conftest.$ac_objext'
41724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41725 (eval $ac_try) 2>&5
41726 ac_status=$?
41727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41728 (exit $ac_status); }; }; then
41729 glibcxx_cv_func__sqrtf_use=yes
41730 else
41731 echo "$as_me: failed program was:" >&5
41732 sed 's/^/| /' conftest.$ac_ext >&5
41734 glibcxx_cv_func__sqrtf_use=no
41736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41737 ac_ext=c
41738 ac_cpp='$CPP $CPPFLAGS'
41739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41747 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
41748 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
41750 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41752 for ac_func in _sqrtf
41754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41755 echo "$as_me:$LINENO: checking for $ac_func" >&5
41756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41757 if eval "test \"\${$as_ac_var+set}\" = set"; then
41758 echo $ECHO_N "(cached) $ECHO_C" >&6
41759 else
41760 if test x$gcc_no_link = xyes; then
41761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41763 { (exit 1); exit 1; }; }
41765 cat >conftest.$ac_ext <<_ACEOF
41766 /* confdefs.h. */
41767 _ACEOF
41768 cat confdefs.h >>conftest.$ac_ext
41769 cat >>conftest.$ac_ext <<_ACEOF
41770 /* end confdefs.h. */
41771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41773 #define $ac_func innocuous_$ac_func
41775 /* System header to define __stub macros and hopefully few prototypes,
41776 which can conflict with char $ac_func (); below.
41777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41778 <limits.h> exists even on freestanding compilers. */
41780 #ifdef __STDC__
41781 # include <limits.h>
41782 #else
41783 # include <assert.h>
41784 #endif
41786 #undef $ac_func
41788 /* Override any gcc2 internal prototype to avoid an error. */
41789 #ifdef __cplusplus
41790 extern "C"
41792 #endif
41793 /* We use char because int might match the return type of a gcc2
41794 builtin and then its argument prototype would still apply. */
41795 char $ac_func ();
41796 /* The GNU C library defines this for functions which it implements
41797 to always fail with ENOSYS. Some functions are actually named
41798 something starting with __ and the normal name is an alias. */
41799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41800 choke me
41801 #else
41802 char (*f) () = $ac_func;
41803 #endif
41804 #ifdef __cplusplus
41806 #endif
41809 main ()
41811 return f != $ac_func;
41813 return 0;
41815 _ACEOF
41816 rm -f conftest.$ac_objext conftest$ac_exeext
41817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41818 (eval $ac_link) 2>conftest.er1
41819 ac_status=$?
41820 grep -v '^ *+' conftest.er1 >conftest.err
41821 rm -f conftest.er1
41822 cat conftest.err >&5
41823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41824 (exit $ac_status); } &&
41825 { ac_try='test -z "$ac_c_werror_flag"
41826 || test ! -s conftest.err'
41827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41828 (eval $ac_try) 2>&5
41829 ac_status=$?
41830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41831 (exit $ac_status); }; } &&
41832 { ac_try='test -s conftest$ac_exeext'
41833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41834 (eval $ac_try) 2>&5
41835 ac_status=$?
41836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41837 (exit $ac_status); }; }; then
41838 eval "$as_ac_var=yes"
41839 else
41840 echo "$as_me: failed program was:" >&5
41841 sed 's/^/| /' conftest.$ac_ext >&5
41843 eval "$as_ac_var=no"
41845 rm -f conftest.err conftest.$ac_objext \
41846 conftest$ac_exeext conftest.$ac_ext
41848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41850 if test `eval echo '${'$as_ac_var'}'` = yes; then
41851 cat >>confdefs.h <<_ACEOF
41852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41853 _ACEOF
41856 done
41866 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
41867 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
41868 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41869 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
41870 echo $ECHO_N "(cached) $ECHO_C" >&6
41871 else
41875 ac_ext=cc
41876 ac_cpp='$CXXCPP $CPPFLAGS'
41877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41881 cat >conftest.$ac_ext <<_ACEOF
41882 /* confdefs.h. */
41883 _ACEOF
41884 cat confdefs.h >>conftest.$ac_ext
41885 cat >>conftest.$ac_ext <<_ACEOF
41886 /* end confdefs.h. */
41887 #include <math.h>
41889 main ()
41891 sincosf(0, 0, 0);
41893 return 0;
41895 _ACEOF
41896 rm -f conftest.$ac_objext
41897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41898 (eval $ac_compile) 2>conftest.er1
41899 ac_status=$?
41900 grep -v '^ *+' conftest.er1 >conftest.err
41901 rm -f conftest.er1
41902 cat conftest.err >&5
41903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41904 (exit $ac_status); } &&
41905 { ac_try='test -z "$ac_cxx_werror_flag"
41906 || test ! -s conftest.err'
41907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41908 (eval $ac_try) 2>&5
41909 ac_status=$?
41910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41911 (exit $ac_status); }; } &&
41912 { ac_try='test -s conftest.$ac_objext'
41913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41914 (eval $ac_try) 2>&5
41915 ac_status=$?
41916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41917 (exit $ac_status); }; }; then
41918 glibcxx_cv_func_sincosf_use=yes
41919 else
41920 echo "$as_me: failed program was:" >&5
41921 sed 's/^/| /' conftest.$ac_ext >&5
41923 glibcxx_cv_func_sincosf_use=no
41925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41926 ac_ext=c
41927 ac_cpp='$CPP $CPPFLAGS'
41928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
41937 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
41939 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41941 for ac_func in sincosf
41943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41944 echo "$as_me:$LINENO: checking for $ac_func" >&5
41945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41946 if eval "test \"\${$as_ac_var+set}\" = set"; then
41947 echo $ECHO_N "(cached) $ECHO_C" >&6
41948 else
41949 if test x$gcc_no_link = xyes; then
41950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41952 { (exit 1); exit 1; }; }
41954 cat >conftest.$ac_ext <<_ACEOF
41955 /* confdefs.h. */
41956 _ACEOF
41957 cat confdefs.h >>conftest.$ac_ext
41958 cat >>conftest.$ac_ext <<_ACEOF
41959 /* end confdefs.h. */
41960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41962 #define $ac_func innocuous_$ac_func
41964 /* System header to define __stub macros and hopefully few prototypes,
41965 which can conflict with char $ac_func (); below.
41966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41967 <limits.h> exists even on freestanding compilers. */
41969 #ifdef __STDC__
41970 # include <limits.h>
41971 #else
41972 # include <assert.h>
41973 #endif
41975 #undef $ac_func
41977 /* Override any gcc2 internal prototype to avoid an error. */
41978 #ifdef __cplusplus
41979 extern "C"
41981 #endif
41982 /* We use char because int might match the return type of a gcc2
41983 builtin and then its argument prototype would still apply. */
41984 char $ac_func ();
41985 /* The GNU C library defines this for functions which it implements
41986 to always fail with ENOSYS. Some functions are actually named
41987 something starting with __ and the normal name is an alias. */
41988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41989 choke me
41990 #else
41991 char (*f) () = $ac_func;
41992 #endif
41993 #ifdef __cplusplus
41995 #endif
41998 main ()
42000 return f != $ac_func;
42002 return 0;
42004 _ACEOF
42005 rm -f conftest.$ac_objext conftest$ac_exeext
42006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42007 (eval $ac_link) 2>conftest.er1
42008 ac_status=$?
42009 grep -v '^ *+' conftest.er1 >conftest.err
42010 rm -f conftest.er1
42011 cat conftest.err >&5
42012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42013 (exit $ac_status); } &&
42014 { ac_try='test -z "$ac_c_werror_flag"
42015 || test ! -s conftest.err'
42016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42017 (eval $ac_try) 2>&5
42018 ac_status=$?
42019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42020 (exit $ac_status); }; } &&
42021 { ac_try='test -s conftest$ac_exeext'
42022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42023 (eval $ac_try) 2>&5
42024 ac_status=$?
42025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42026 (exit $ac_status); }; }; then
42027 eval "$as_ac_var=yes"
42028 else
42029 echo "$as_me: failed program was:" >&5
42030 sed 's/^/| /' conftest.$ac_ext >&5
42032 eval "$as_ac_var=no"
42034 rm -f conftest.err conftest.$ac_objext \
42035 conftest$ac_exeext conftest.$ac_ext
42037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42039 if test `eval echo '${'$as_ac_var'}'` = yes; then
42040 cat >>confdefs.h <<_ACEOF
42041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42042 _ACEOF
42045 done
42047 else
42049 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42050 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42051 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42052 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42053 echo $ECHO_N "(cached) $ECHO_C" >&6
42054 else
42058 ac_ext=cc
42059 ac_cpp='$CXXCPP $CPPFLAGS'
42060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42064 cat >conftest.$ac_ext <<_ACEOF
42065 /* confdefs.h. */
42066 _ACEOF
42067 cat confdefs.h >>conftest.$ac_ext
42068 cat >>conftest.$ac_ext <<_ACEOF
42069 /* end confdefs.h. */
42070 #include <math.h>
42072 main ()
42074 _sincosf(0, 0, 0);
42076 return 0;
42078 _ACEOF
42079 rm -f conftest.$ac_objext
42080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42081 (eval $ac_compile) 2>conftest.er1
42082 ac_status=$?
42083 grep -v '^ *+' conftest.er1 >conftest.err
42084 rm -f conftest.er1
42085 cat conftest.err >&5
42086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42087 (exit $ac_status); } &&
42088 { ac_try='test -z "$ac_cxx_werror_flag"
42089 || test ! -s conftest.err'
42090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42091 (eval $ac_try) 2>&5
42092 ac_status=$?
42093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42094 (exit $ac_status); }; } &&
42095 { ac_try='test -s conftest.$ac_objext'
42096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42097 (eval $ac_try) 2>&5
42098 ac_status=$?
42099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42100 (exit $ac_status); }; }; then
42101 glibcxx_cv_func__sincosf_use=yes
42102 else
42103 echo "$as_me: failed program was:" >&5
42104 sed 's/^/| /' conftest.$ac_ext >&5
42106 glibcxx_cv_func__sincosf_use=no
42108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42109 ac_ext=c
42110 ac_cpp='$CPP $CPPFLAGS'
42111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42119 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42120 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42122 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42124 for ac_func in _sincosf
42126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42127 echo "$as_me:$LINENO: checking for $ac_func" >&5
42128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42129 if eval "test \"\${$as_ac_var+set}\" = set"; then
42130 echo $ECHO_N "(cached) $ECHO_C" >&6
42131 else
42132 if test x$gcc_no_link = xyes; then
42133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42135 { (exit 1); exit 1; }; }
42137 cat >conftest.$ac_ext <<_ACEOF
42138 /* confdefs.h. */
42139 _ACEOF
42140 cat confdefs.h >>conftest.$ac_ext
42141 cat >>conftest.$ac_ext <<_ACEOF
42142 /* end confdefs.h. */
42143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42145 #define $ac_func innocuous_$ac_func
42147 /* System header to define __stub macros and hopefully few prototypes,
42148 which can conflict with char $ac_func (); below.
42149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42150 <limits.h> exists even on freestanding compilers. */
42152 #ifdef __STDC__
42153 # include <limits.h>
42154 #else
42155 # include <assert.h>
42156 #endif
42158 #undef $ac_func
42160 /* Override any gcc2 internal prototype to avoid an error. */
42161 #ifdef __cplusplus
42162 extern "C"
42164 #endif
42165 /* We use char because int might match the return type of a gcc2
42166 builtin and then its argument prototype would still apply. */
42167 char $ac_func ();
42168 /* The GNU C library defines this for functions which it implements
42169 to always fail with ENOSYS. Some functions are actually named
42170 something starting with __ and the normal name is an alias. */
42171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42172 choke me
42173 #else
42174 char (*f) () = $ac_func;
42175 #endif
42176 #ifdef __cplusplus
42178 #endif
42181 main ()
42183 return f != $ac_func;
42185 return 0;
42187 _ACEOF
42188 rm -f conftest.$ac_objext conftest$ac_exeext
42189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42190 (eval $ac_link) 2>conftest.er1
42191 ac_status=$?
42192 grep -v '^ *+' conftest.er1 >conftest.err
42193 rm -f conftest.er1
42194 cat conftest.err >&5
42195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42196 (exit $ac_status); } &&
42197 { ac_try='test -z "$ac_c_werror_flag"
42198 || test ! -s conftest.err'
42199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42200 (eval $ac_try) 2>&5
42201 ac_status=$?
42202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42203 (exit $ac_status); }; } &&
42204 { ac_try='test -s conftest$ac_exeext'
42205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42206 (eval $ac_try) 2>&5
42207 ac_status=$?
42208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42209 (exit $ac_status); }; }; then
42210 eval "$as_ac_var=yes"
42211 else
42212 echo "$as_me: failed program was:" >&5
42213 sed 's/^/| /' conftest.$ac_ext >&5
42215 eval "$as_ac_var=no"
42217 rm -f conftest.err conftest.$ac_objext \
42218 conftest$ac_exeext conftest.$ac_ext
42220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42222 if test `eval echo '${'$as_ac_var'}'` = yes; then
42223 cat >>confdefs.h <<_ACEOF
42224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42225 _ACEOF
42228 done
42238 echo "$as_me:$LINENO: checking for finitef declaration" >&5
42239 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42240 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42241 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42242 echo $ECHO_N "(cached) $ECHO_C" >&6
42243 else
42247 ac_ext=cc
42248 ac_cpp='$CXXCPP $CPPFLAGS'
42249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42253 cat >conftest.$ac_ext <<_ACEOF
42254 /* confdefs.h. */
42255 _ACEOF
42256 cat confdefs.h >>conftest.$ac_ext
42257 cat >>conftest.$ac_ext <<_ACEOF
42258 /* end confdefs.h. */
42259 #include <math.h>
42260 #ifdef HAVE_IEEEFP_H
42261 #include <ieeefp.h>
42262 #endif
42265 main ()
42267 finitef(0);
42269 return 0;
42271 _ACEOF
42272 rm -f conftest.$ac_objext
42273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42274 (eval $ac_compile) 2>conftest.er1
42275 ac_status=$?
42276 grep -v '^ *+' conftest.er1 >conftest.err
42277 rm -f conftest.er1
42278 cat conftest.err >&5
42279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42280 (exit $ac_status); } &&
42281 { ac_try='test -z "$ac_cxx_werror_flag"
42282 || test ! -s conftest.err'
42283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42284 (eval $ac_try) 2>&5
42285 ac_status=$?
42286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42287 (exit $ac_status); }; } &&
42288 { ac_try='test -s conftest.$ac_objext'
42289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42290 (eval $ac_try) 2>&5
42291 ac_status=$?
42292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42293 (exit $ac_status); }; }; then
42294 glibcxx_cv_func_finitef_use=yes
42295 else
42296 echo "$as_me: failed program was:" >&5
42297 sed 's/^/| /' conftest.$ac_ext >&5
42299 glibcxx_cv_func_finitef_use=no
42301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42302 ac_ext=c
42303 ac_cpp='$CPP $CPPFLAGS'
42304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42312 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42313 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42315 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42317 for ac_func in finitef
42319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42320 echo "$as_me:$LINENO: checking for $ac_func" >&5
42321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42322 if eval "test \"\${$as_ac_var+set}\" = set"; then
42323 echo $ECHO_N "(cached) $ECHO_C" >&6
42324 else
42325 if test x$gcc_no_link = xyes; then
42326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42328 { (exit 1); exit 1; }; }
42330 cat >conftest.$ac_ext <<_ACEOF
42331 /* confdefs.h. */
42332 _ACEOF
42333 cat confdefs.h >>conftest.$ac_ext
42334 cat >>conftest.$ac_ext <<_ACEOF
42335 /* end confdefs.h. */
42336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42338 #define $ac_func innocuous_$ac_func
42340 /* System header to define __stub macros and hopefully few prototypes,
42341 which can conflict with char $ac_func (); below.
42342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42343 <limits.h> exists even on freestanding compilers. */
42345 #ifdef __STDC__
42346 # include <limits.h>
42347 #else
42348 # include <assert.h>
42349 #endif
42351 #undef $ac_func
42353 /* Override any gcc2 internal prototype to avoid an error. */
42354 #ifdef __cplusplus
42355 extern "C"
42357 #endif
42358 /* We use char because int might match the return type of a gcc2
42359 builtin and then its argument prototype would still apply. */
42360 char $ac_func ();
42361 /* The GNU C library defines this for functions which it implements
42362 to always fail with ENOSYS. Some functions are actually named
42363 something starting with __ and the normal name is an alias. */
42364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42365 choke me
42366 #else
42367 char (*f) () = $ac_func;
42368 #endif
42369 #ifdef __cplusplus
42371 #endif
42374 main ()
42376 return f != $ac_func;
42378 return 0;
42380 _ACEOF
42381 rm -f conftest.$ac_objext conftest$ac_exeext
42382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42383 (eval $ac_link) 2>conftest.er1
42384 ac_status=$?
42385 grep -v '^ *+' conftest.er1 >conftest.err
42386 rm -f conftest.er1
42387 cat conftest.err >&5
42388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42389 (exit $ac_status); } &&
42390 { ac_try='test -z "$ac_c_werror_flag"
42391 || test ! -s conftest.err'
42392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42393 (eval $ac_try) 2>&5
42394 ac_status=$?
42395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42396 (exit $ac_status); }; } &&
42397 { ac_try='test -s conftest$ac_exeext'
42398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42399 (eval $ac_try) 2>&5
42400 ac_status=$?
42401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42402 (exit $ac_status); }; }; then
42403 eval "$as_ac_var=yes"
42404 else
42405 echo "$as_me: failed program was:" >&5
42406 sed 's/^/| /' conftest.$ac_ext >&5
42408 eval "$as_ac_var=no"
42410 rm -f conftest.err conftest.$ac_objext \
42411 conftest$ac_exeext conftest.$ac_ext
42413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42415 if test `eval echo '${'$as_ac_var'}'` = yes; then
42416 cat >>confdefs.h <<_ACEOF
42417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42418 _ACEOF
42421 done
42423 else
42425 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42426 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42427 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42428 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42429 echo $ECHO_N "(cached) $ECHO_C" >&6
42430 else
42434 ac_ext=cc
42435 ac_cpp='$CXXCPP $CPPFLAGS'
42436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42440 cat >conftest.$ac_ext <<_ACEOF
42441 /* confdefs.h. */
42442 _ACEOF
42443 cat confdefs.h >>conftest.$ac_ext
42444 cat >>conftest.$ac_ext <<_ACEOF
42445 /* end confdefs.h. */
42446 #include <math.h>
42447 #ifdef HAVE_IEEEFP_H
42448 #include <ieeefp.h>
42449 #endif
42452 main ()
42454 _finitef(0);
42456 return 0;
42458 _ACEOF
42459 rm -f conftest.$ac_objext
42460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42461 (eval $ac_compile) 2>conftest.er1
42462 ac_status=$?
42463 grep -v '^ *+' conftest.er1 >conftest.err
42464 rm -f conftest.er1
42465 cat conftest.err >&5
42466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42467 (exit $ac_status); } &&
42468 { ac_try='test -z "$ac_cxx_werror_flag"
42469 || test ! -s conftest.err'
42470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42471 (eval $ac_try) 2>&5
42472 ac_status=$?
42473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42474 (exit $ac_status); }; } &&
42475 { ac_try='test -s conftest.$ac_objext'
42476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42477 (eval $ac_try) 2>&5
42478 ac_status=$?
42479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42480 (exit $ac_status); }; }; then
42481 glibcxx_cv_func__finitef_use=yes
42482 else
42483 echo "$as_me: failed program was:" >&5
42484 sed 's/^/| /' conftest.$ac_ext >&5
42486 glibcxx_cv_func__finitef_use=no
42488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42489 ac_ext=c
42490 ac_cpp='$CPP $CPPFLAGS'
42491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42499 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42500 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42502 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42504 for ac_func in _finitef
42506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42507 echo "$as_me:$LINENO: checking for $ac_func" >&5
42508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42509 if eval "test \"\${$as_ac_var+set}\" = set"; then
42510 echo $ECHO_N "(cached) $ECHO_C" >&6
42511 else
42512 if test x$gcc_no_link = xyes; then
42513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42515 { (exit 1); exit 1; }; }
42517 cat >conftest.$ac_ext <<_ACEOF
42518 /* confdefs.h. */
42519 _ACEOF
42520 cat confdefs.h >>conftest.$ac_ext
42521 cat >>conftest.$ac_ext <<_ACEOF
42522 /* end confdefs.h. */
42523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42525 #define $ac_func innocuous_$ac_func
42527 /* System header to define __stub macros and hopefully few prototypes,
42528 which can conflict with char $ac_func (); below.
42529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42530 <limits.h> exists even on freestanding compilers. */
42532 #ifdef __STDC__
42533 # include <limits.h>
42534 #else
42535 # include <assert.h>
42536 #endif
42538 #undef $ac_func
42540 /* Override any gcc2 internal prototype to avoid an error. */
42541 #ifdef __cplusplus
42542 extern "C"
42544 #endif
42545 /* We use char because int might match the return type of a gcc2
42546 builtin and then its argument prototype would still apply. */
42547 char $ac_func ();
42548 /* The GNU C library defines this for functions which it implements
42549 to always fail with ENOSYS. Some functions are actually named
42550 something starting with __ and the normal name is an alias. */
42551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42552 choke me
42553 #else
42554 char (*f) () = $ac_func;
42555 #endif
42556 #ifdef __cplusplus
42558 #endif
42561 main ()
42563 return f != $ac_func;
42565 return 0;
42567 _ACEOF
42568 rm -f conftest.$ac_objext conftest$ac_exeext
42569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42570 (eval $ac_link) 2>conftest.er1
42571 ac_status=$?
42572 grep -v '^ *+' conftest.er1 >conftest.err
42573 rm -f conftest.er1
42574 cat conftest.err >&5
42575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42576 (exit $ac_status); } &&
42577 { ac_try='test -z "$ac_c_werror_flag"
42578 || test ! -s conftest.err'
42579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42580 (eval $ac_try) 2>&5
42581 ac_status=$?
42582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42583 (exit $ac_status); }; } &&
42584 { ac_try='test -s conftest$ac_exeext'
42585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42586 (eval $ac_try) 2>&5
42587 ac_status=$?
42588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42589 (exit $ac_status); }; }; then
42590 eval "$as_ac_var=yes"
42591 else
42592 echo "$as_me: failed program was:" >&5
42593 sed 's/^/| /' conftest.$ac_ext >&5
42595 eval "$as_ac_var=no"
42597 rm -f conftest.err conftest.$ac_objext \
42598 conftest$ac_exeext conftest.$ac_ext
42600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42602 if test `eval echo '${'$as_ac_var'}'` = yes; then
42603 cat >>confdefs.h <<_ACEOF
42604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42605 _ACEOF
42608 done
42618 echo "$as_me:$LINENO: checking for long double trig functions" >&5
42619 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42620 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42621 echo $ECHO_N "(cached) $ECHO_C" >&6
42622 else
42626 ac_ext=cc
42627 ac_cpp='$CXXCPP $CPPFLAGS'
42628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42632 cat >conftest.$ac_ext <<_ACEOF
42633 /* confdefs.h. */
42634 _ACEOF
42635 cat confdefs.h >>conftest.$ac_ext
42636 cat >>conftest.$ac_ext <<_ACEOF
42637 /* end confdefs.h. */
42638 #include <math.h>
42640 main ()
42642 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42644 return 0;
42646 _ACEOF
42647 rm -f conftest.$ac_objext
42648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42649 (eval $ac_compile) 2>conftest.er1
42650 ac_status=$?
42651 grep -v '^ *+' conftest.er1 >conftest.err
42652 rm -f conftest.er1
42653 cat conftest.err >&5
42654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42655 (exit $ac_status); } &&
42656 { ac_try='test -z "$ac_cxx_werror_flag"
42657 || test ! -s conftest.err'
42658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42659 (eval $ac_try) 2>&5
42660 ac_status=$?
42661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42662 (exit $ac_status); }; } &&
42663 { ac_try='test -s conftest.$ac_objext'
42664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42665 (eval $ac_try) 2>&5
42666 ac_status=$?
42667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42668 (exit $ac_status); }; }; then
42669 glibcxx_cv_func_long_double_trig_use=yes
42670 else
42671 echo "$as_me: failed program was:" >&5
42672 sed 's/^/| /' conftest.$ac_ext >&5
42674 glibcxx_cv_func_long_double_trig_use=no
42676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42677 ac_ext=c
42678 ac_cpp='$CPP $CPPFLAGS'
42679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42685 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
42686 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
42687 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42697 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42700 echo "$as_me:$LINENO: checking for $ac_func" >&5
42701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42702 if eval "test \"\${$as_ac_var+set}\" = set"; then
42703 echo $ECHO_N "(cached) $ECHO_C" >&6
42704 else
42705 if test x$gcc_no_link = xyes; then
42706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42708 { (exit 1); exit 1; }; }
42710 cat >conftest.$ac_ext <<_ACEOF
42711 /* confdefs.h. */
42712 _ACEOF
42713 cat confdefs.h >>conftest.$ac_ext
42714 cat >>conftest.$ac_ext <<_ACEOF
42715 /* end confdefs.h. */
42716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42718 #define $ac_func innocuous_$ac_func
42720 /* System header to define __stub macros and hopefully few prototypes,
42721 which can conflict with char $ac_func (); below.
42722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42723 <limits.h> exists even on freestanding compilers. */
42725 #ifdef __STDC__
42726 # include <limits.h>
42727 #else
42728 # include <assert.h>
42729 #endif
42731 #undef $ac_func
42733 /* Override any gcc2 internal prototype to avoid an error. */
42734 #ifdef __cplusplus
42735 extern "C"
42737 #endif
42738 /* We use char because int might match the return type of a gcc2
42739 builtin and then its argument prototype would still apply. */
42740 char $ac_func ();
42741 /* The GNU C library defines this for functions which it implements
42742 to always fail with ENOSYS. Some functions are actually named
42743 something starting with __ and the normal name is an alias. */
42744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42745 choke me
42746 #else
42747 char (*f) () = $ac_func;
42748 #endif
42749 #ifdef __cplusplus
42751 #endif
42754 main ()
42756 return f != $ac_func;
42758 return 0;
42760 _ACEOF
42761 rm -f conftest.$ac_objext conftest$ac_exeext
42762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42763 (eval $ac_link) 2>conftest.er1
42764 ac_status=$?
42765 grep -v '^ *+' conftest.er1 >conftest.err
42766 rm -f conftest.er1
42767 cat conftest.err >&5
42768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42769 (exit $ac_status); } &&
42770 { ac_try='test -z "$ac_c_werror_flag"
42771 || test ! -s conftest.err'
42772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42773 (eval $ac_try) 2>&5
42774 ac_status=$?
42775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42776 (exit $ac_status); }; } &&
42777 { ac_try='test -s conftest$ac_exeext'
42778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42779 (eval $ac_try) 2>&5
42780 ac_status=$?
42781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42782 (exit $ac_status); }; }; then
42783 eval "$as_ac_var=yes"
42784 else
42785 echo "$as_me: failed program was:" >&5
42786 sed 's/^/| /' conftest.$ac_ext >&5
42788 eval "$as_ac_var=no"
42790 rm -f conftest.err conftest.$ac_objext \
42791 conftest$ac_exeext conftest.$ac_ext
42793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42795 if test `eval echo '${'$as_ac_var'}'` = yes; then
42796 cat >>confdefs.h <<_ACEOF
42797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42798 _ACEOF
42801 done
42803 else
42804 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
42805 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
42806 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
42807 echo $ECHO_N "(cached) $ECHO_C" >&6
42808 else
42812 ac_ext=cc
42813 ac_cpp='$CXXCPP $CPPFLAGS'
42814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42818 cat >conftest.$ac_ext <<_ACEOF
42819 /* confdefs.h. */
42820 _ACEOF
42821 cat confdefs.h >>conftest.$ac_ext
42822 cat >>conftest.$ac_ext <<_ACEOF
42823 /* end confdefs.h. */
42824 #include <math.h>
42826 main ()
42828 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42830 return 0;
42832 _ACEOF
42833 rm -f conftest.$ac_objext
42834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42835 (eval $ac_compile) 2>conftest.er1
42836 ac_status=$?
42837 grep -v '^ *+' conftest.er1 >conftest.err
42838 rm -f conftest.er1
42839 cat conftest.err >&5
42840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42841 (exit $ac_status); } &&
42842 { ac_try='test -z "$ac_cxx_werror_flag"
42843 || test ! -s conftest.err'
42844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42845 (eval $ac_try) 2>&5
42846 ac_status=$?
42847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42848 (exit $ac_status); }; } &&
42849 { ac_try='test -s conftest.$ac_objext'
42850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42851 (eval $ac_try) 2>&5
42852 ac_status=$?
42853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42854 (exit $ac_status); }; }; then
42855 glibcxx_cv_func__long_double_trig_use=yes
42856 else
42857 echo "$as_me: failed program was:" >&5
42858 sed 's/^/| /' conftest.$ac_ext >&5
42860 glibcxx_cv_func__long_double_trig_use=no
42862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42863 ac_ext=c
42864 ac_cpp='$CPP $CPPFLAGS'
42865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42871 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
42872 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
42873 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42883 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42886 echo "$as_me:$LINENO: checking for $ac_func" >&5
42887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42888 if eval "test \"\${$as_ac_var+set}\" = set"; then
42889 echo $ECHO_N "(cached) $ECHO_C" >&6
42890 else
42891 if test x$gcc_no_link = xyes; then
42892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42894 { (exit 1); exit 1; }; }
42896 cat >conftest.$ac_ext <<_ACEOF
42897 /* confdefs.h. */
42898 _ACEOF
42899 cat confdefs.h >>conftest.$ac_ext
42900 cat >>conftest.$ac_ext <<_ACEOF
42901 /* end confdefs.h. */
42902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42904 #define $ac_func innocuous_$ac_func
42906 /* System header to define __stub macros and hopefully few prototypes,
42907 which can conflict with char $ac_func (); below.
42908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42909 <limits.h> exists even on freestanding compilers. */
42911 #ifdef __STDC__
42912 # include <limits.h>
42913 #else
42914 # include <assert.h>
42915 #endif
42917 #undef $ac_func
42919 /* Override any gcc2 internal prototype to avoid an error. */
42920 #ifdef __cplusplus
42921 extern "C"
42923 #endif
42924 /* We use char because int might match the return type of a gcc2
42925 builtin and then its argument prototype would still apply. */
42926 char $ac_func ();
42927 /* The GNU C library defines this for functions which it implements
42928 to always fail with ENOSYS. Some functions are actually named
42929 something starting with __ and the normal name is an alias. */
42930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42931 choke me
42932 #else
42933 char (*f) () = $ac_func;
42934 #endif
42935 #ifdef __cplusplus
42937 #endif
42940 main ()
42942 return f != $ac_func;
42944 return 0;
42946 _ACEOF
42947 rm -f conftest.$ac_objext conftest$ac_exeext
42948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42949 (eval $ac_link) 2>conftest.er1
42950 ac_status=$?
42951 grep -v '^ *+' conftest.er1 >conftest.err
42952 rm -f conftest.er1
42953 cat conftest.err >&5
42954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42955 (exit $ac_status); } &&
42956 { ac_try='test -z "$ac_c_werror_flag"
42957 || test ! -s conftest.err'
42958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42959 (eval $ac_try) 2>&5
42960 ac_status=$?
42961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42962 (exit $ac_status); }; } &&
42963 { ac_try='test -s conftest$ac_exeext'
42964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42965 (eval $ac_try) 2>&5
42966 ac_status=$?
42967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42968 (exit $ac_status); }; }; then
42969 eval "$as_ac_var=yes"
42970 else
42971 echo "$as_me: failed program was:" >&5
42972 sed 's/^/| /' conftest.$ac_ext >&5
42974 eval "$as_ac_var=no"
42976 rm -f conftest.err conftest.$ac_objext \
42977 conftest$ac_exeext conftest.$ac_ext
42979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42981 if test `eval echo '${'$as_ac_var'}'` = yes; then
42982 cat >>confdefs.h <<_ACEOF
42983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42984 _ACEOF
42987 done
43005 echo "$as_me:$LINENO: checking for long double round functions" >&5
43006 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43007 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43008 echo $ECHO_N "(cached) $ECHO_C" >&6
43009 else
43013 ac_ext=cc
43014 ac_cpp='$CXXCPP $CPPFLAGS'
43015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43019 cat >conftest.$ac_ext <<_ACEOF
43020 /* confdefs.h. */
43021 _ACEOF
43022 cat confdefs.h >>conftest.$ac_ext
43023 cat >>conftest.$ac_ext <<_ACEOF
43024 /* end confdefs.h. */
43025 #include <math.h>
43027 main ()
43029 ceill (0); floorl (0);
43031 return 0;
43033 _ACEOF
43034 rm -f conftest.$ac_objext
43035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43036 (eval $ac_compile) 2>conftest.er1
43037 ac_status=$?
43038 grep -v '^ *+' conftest.er1 >conftest.err
43039 rm -f conftest.er1
43040 cat conftest.err >&5
43041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43042 (exit $ac_status); } &&
43043 { ac_try='test -z "$ac_cxx_werror_flag"
43044 || test ! -s conftest.err'
43045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43046 (eval $ac_try) 2>&5
43047 ac_status=$?
43048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43049 (exit $ac_status); }; } &&
43050 { ac_try='test -s conftest.$ac_objext'
43051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43052 (eval $ac_try) 2>&5
43053 ac_status=$?
43054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43055 (exit $ac_status); }; }; then
43056 glibcxx_cv_func_long_double_round_use=yes
43057 else
43058 echo "$as_me: failed program was:" >&5
43059 sed 's/^/| /' conftest.$ac_ext >&5
43061 glibcxx_cv_func_long_double_round_use=no
43063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43064 ac_ext=c
43065 ac_cpp='$CPP $CPPFLAGS'
43066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43072 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43073 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43074 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43077 for ac_func in ceill floorl
43079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43080 echo "$as_me:$LINENO: checking for $ac_func" >&5
43081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43082 if eval "test \"\${$as_ac_var+set}\" = set"; then
43083 echo $ECHO_N "(cached) $ECHO_C" >&6
43084 else
43085 if test x$gcc_no_link = xyes; then
43086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43088 { (exit 1); exit 1; }; }
43090 cat >conftest.$ac_ext <<_ACEOF
43091 /* confdefs.h. */
43092 _ACEOF
43093 cat confdefs.h >>conftest.$ac_ext
43094 cat >>conftest.$ac_ext <<_ACEOF
43095 /* end confdefs.h. */
43096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43098 #define $ac_func innocuous_$ac_func
43100 /* System header to define __stub macros and hopefully few prototypes,
43101 which can conflict with char $ac_func (); below.
43102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43103 <limits.h> exists even on freestanding compilers. */
43105 #ifdef __STDC__
43106 # include <limits.h>
43107 #else
43108 # include <assert.h>
43109 #endif
43111 #undef $ac_func
43113 /* Override any gcc2 internal prototype to avoid an error. */
43114 #ifdef __cplusplus
43115 extern "C"
43117 #endif
43118 /* We use char because int might match the return type of a gcc2
43119 builtin and then its argument prototype would still apply. */
43120 char $ac_func ();
43121 /* The GNU C library defines this for functions which it implements
43122 to always fail with ENOSYS. Some functions are actually named
43123 something starting with __ and the normal name is an alias. */
43124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43125 choke me
43126 #else
43127 char (*f) () = $ac_func;
43128 #endif
43129 #ifdef __cplusplus
43131 #endif
43134 main ()
43136 return f != $ac_func;
43138 return 0;
43140 _ACEOF
43141 rm -f conftest.$ac_objext conftest$ac_exeext
43142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43143 (eval $ac_link) 2>conftest.er1
43144 ac_status=$?
43145 grep -v '^ *+' conftest.er1 >conftest.err
43146 rm -f conftest.er1
43147 cat conftest.err >&5
43148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43149 (exit $ac_status); } &&
43150 { ac_try='test -z "$ac_c_werror_flag"
43151 || test ! -s conftest.err'
43152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43153 (eval $ac_try) 2>&5
43154 ac_status=$?
43155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43156 (exit $ac_status); }; } &&
43157 { ac_try='test -s conftest$ac_exeext'
43158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43159 (eval $ac_try) 2>&5
43160 ac_status=$?
43161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43162 (exit $ac_status); }; }; then
43163 eval "$as_ac_var=yes"
43164 else
43165 echo "$as_me: failed program was:" >&5
43166 sed 's/^/| /' conftest.$ac_ext >&5
43168 eval "$as_ac_var=no"
43170 rm -f conftest.err conftest.$ac_objext \
43171 conftest$ac_exeext conftest.$ac_ext
43173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43175 if test `eval echo '${'$as_ac_var'}'` = yes; then
43176 cat >>confdefs.h <<_ACEOF
43177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43178 _ACEOF
43181 done
43183 else
43184 echo "$as_me:$LINENO: checking for _long double round functions" >&5
43185 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43186 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43187 echo $ECHO_N "(cached) $ECHO_C" >&6
43188 else
43192 ac_ext=cc
43193 ac_cpp='$CXXCPP $CPPFLAGS'
43194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43198 cat >conftest.$ac_ext <<_ACEOF
43199 /* confdefs.h. */
43200 _ACEOF
43201 cat confdefs.h >>conftest.$ac_ext
43202 cat >>conftest.$ac_ext <<_ACEOF
43203 /* end confdefs.h. */
43204 #include <math.h>
43206 main ()
43208 _ceill (0); _floorl (0);
43210 return 0;
43212 _ACEOF
43213 rm -f conftest.$ac_objext
43214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43215 (eval $ac_compile) 2>conftest.er1
43216 ac_status=$?
43217 grep -v '^ *+' conftest.er1 >conftest.err
43218 rm -f conftest.er1
43219 cat conftest.err >&5
43220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221 (exit $ac_status); } &&
43222 { ac_try='test -z "$ac_cxx_werror_flag"
43223 || test ! -s conftest.err'
43224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43225 (eval $ac_try) 2>&5
43226 ac_status=$?
43227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43228 (exit $ac_status); }; } &&
43229 { ac_try='test -s conftest.$ac_objext'
43230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43231 (eval $ac_try) 2>&5
43232 ac_status=$?
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); }; }; then
43235 glibcxx_cv_func__long_double_round_use=yes
43236 else
43237 echo "$as_me: failed program was:" >&5
43238 sed 's/^/| /' conftest.$ac_ext >&5
43240 glibcxx_cv_func__long_double_round_use=no
43242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43243 ac_ext=c
43244 ac_cpp='$CPP $CPPFLAGS'
43245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43251 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
43252 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
43253 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43256 for ac_func in _ceill _floorl
43258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43259 echo "$as_me:$LINENO: checking for $ac_func" >&5
43260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43261 if eval "test \"\${$as_ac_var+set}\" = set"; then
43262 echo $ECHO_N "(cached) $ECHO_C" >&6
43263 else
43264 if test x$gcc_no_link = xyes; then
43265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43267 { (exit 1); exit 1; }; }
43269 cat >conftest.$ac_ext <<_ACEOF
43270 /* confdefs.h. */
43271 _ACEOF
43272 cat confdefs.h >>conftest.$ac_ext
43273 cat >>conftest.$ac_ext <<_ACEOF
43274 /* end confdefs.h. */
43275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43277 #define $ac_func innocuous_$ac_func
43279 /* System header to define __stub macros and hopefully few prototypes,
43280 which can conflict with char $ac_func (); below.
43281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43282 <limits.h> exists even on freestanding compilers. */
43284 #ifdef __STDC__
43285 # include <limits.h>
43286 #else
43287 # include <assert.h>
43288 #endif
43290 #undef $ac_func
43292 /* Override any gcc2 internal prototype to avoid an error. */
43293 #ifdef __cplusplus
43294 extern "C"
43296 #endif
43297 /* We use char because int might match the return type of a gcc2
43298 builtin and then its argument prototype would still apply. */
43299 char $ac_func ();
43300 /* The GNU C library defines this for functions which it implements
43301 to always fail with ENOSYS. Some functions are actually named
43302 something starting with __ and the normal name is an alias. */
43303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43304 choke me
43305 #else
43306 char (*f) () = $ac_func;
43307 #endif
43308 #ifdef __cplusplus
43310 #endif
43313 main ()
43315 return f != $ac_func;
43317 return 0;
43319 _ACEOF
43320 rm -f conftest.$ac_objext conftest$ac_exeext
43321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43322 (eval $ac_link) 2>conftest.er1
43323 ac_status=$?
43324 grep -v '^ *+' conftest.er1 >conftest.err
43325 rm -f conftest.er1
43326 cat conftest.err >&5
43327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43328 (exit $ac_status); } &&
43329 { ac_try='test -z "$ac_c_werror_flag"
43330 || test ! -s conftest.err'
43331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43332 (eval $ac_try) 2>&5
43333 ac_status=$?
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); }; } &&
43336 { ac_try='test -s conftest$ac_exeext'
43337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43338 (eval $ac_try) 2>&5
43339 ac_status=$?
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); }; }; then
43342 eval "$as_ac_var=yes"
43343 else
43344 echo "$as_me: failed program was:" >&5
43345 sed 's/^/| /' conftest.$ac_ext >&5
43347 eval "$as_ac_var=no"
43349 rm -f conftest.err conftest.$ac_objext \
43350 conftest$ac_exeext conftest.$ac_ext
43352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43354 if test `eval echo '${'$as_ac_var'}'` = yes; then
43355 cat >>confdefs.h <<_ACEOF
43356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43357 _ACEOF
43360 done
43372 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43373 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43374 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43375 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43376 echo $ECHO_N "(cached) $ECHO_C" >&6
43377 else
43381 ac_ext=cc
43382 ac_cpp='$CXXCPP $CPPFLAGS'
43383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43387 cat >conftest.$ac_ext <<_ACEOF
43388 /* confdefs.h. */
43389 _ACEOF
43390 cat confdefs.h >>conftest.$ac_ext
43391 cat >>conftest.$ac_ext <<_ACEOF
43392 /* end confdefs.h. */
43393 #include <math.h>
43394 #ifdef HAVE_IEEEFP_H
43395 #include <ieeefp.h>
43396 #endif
43399 main ()
43401 isnanl(0);
43403 return 0;
43405 _ACEOF
43406 rm -f conftest.$ac_objext
43407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43408 (eval $ac_compile) 2>conftest.er1
43409 ac_status=$?
43410 grep -v '^ *+' conftest.er1 >conftest.err
43411 rm -f conftest.er1
43412 cat conftest.err >&5
43413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43414 (exit $ac_status); } &&
43415 { ac_try='test -z "$ac_cxx_werror_flag"
43416 || test ! -s conftest.err'
43417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43418 (eval $ac_try) 2>&5
43419 ac_status=$?
43420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43421 (exit $ac_status); }; } &&
43422 { ac_try='test -s conftest.$ac_objext'
43423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43424 (eval $ac_try) 2>&5
43425 ac_status=$?
43426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43427 (exit $ac_status); }; }; then
43428 glibcxx_cv_func_isnanl_use=yes
43429 else
43430 echo "$as_me: failed program was:" >&5
43431 sed 's/^/| /' conftest.$ac_ext >&5
43433 glibcxx_cv_func_isnanl_use=no
43435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43436 ac_ext=c
43437 ac_cpp='$CPP $CPPFLAGS'
43438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43446 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
43447 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
43449 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43451 for ac_func in isnanl
43453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43454 echo "$as_me:$LINENO: checking for $ac_func" >&5
43455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43456 if eval "test \"\${$as_ac_var+set}\" = set"; then
43457 echo $ECHO_N "(cached) $ECHO_C" >&6
43458 else
43459 if test x$gcc_no_link = xyes; then
43460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43462 { (exit 1); exit 1; }; }
43464 cat >conftest.$ac_ext <<_ACEOF
43465 /* confdefs.h. */
43466 _ACEOF
43467 cat confdefs.h >>conftest.$ac_ext
43468 cat >>conftest.$ac_ext <<_ACEOF
43469 /* end confdefs.h. */
43470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43472 #define $ac_func innocuous_$ac_func
43474 /* System header to define __stub macros and hopefully few prototypes,
43475 which can conflict with char $ac_func (); below.
43476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43477 <limits.h> exists even on freestanding compilers. */
43479 #ifdef __STDC__
43480 # include <limits.h>
43481 #else
43482 # include <assert.h>
43483 #endif
43485 #undef $ac_func
43487 /* Override any gcc2 internal prototype to avoid an error. */
43488 #ifdef __cplusplus
43489 extern "C"
43491 #endif
43492 /* We use char because int might match the return type of a gcc2
43493 builtin and then its argument prototype would still apply. */
43494 char $ac_func ();
43495 /* The GNU C library defines this for functions which it implements
43496 to always fail with ENOSYS. Some functions are actually named
43497 something starting with __ and the normal name is an alias. */
43498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43499 choke me
43500 #else
43501 char (*f) () = $ac_func;
43502 #endif
43503 #ifdef __cplusplus
43505 #endif
43508 main ()
43510 return f != $ac_func;
43512 return 0;
43514 _ACEOF
43515 rm -f conftest.$ac_objext conftest$ac_exeext
43516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43517 (eval $ac_link) 2>conftest.er1
43518 ac_status=$?
43519 grep -v '^ *+' conftest.er1 >conftest.err
43520 rm -f conftest.er1
43521 cat conftest.err >&5
43522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43523 (exit $ac_status); } &&
43524 { ac_try='test -z "$ac_c_werror_flag"
43525 || test ! -s conftest.err'
43526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43527 (eval $ac_try) 2>&5
43528 ac_status=$?
43529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43530 (exit $ac_status); }; } &&
43531 { ac_try='test -s conftest$ac_exeext'
43532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43533 (eval $ac_try) 2>&5
43534 ac_status=$?
43535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43536 (exit $ac_status); }; }; then
43537 eval "$as_ac_var=yes"
43538 else
43539 echo "$as_me: failed program was:" >&5
43540 sed 's/^/| /' conftest.$ac_ext >&5
43542 eval "$as_ac_var=no"
43544 rm -f conftest.err conftest.$ac_objext \
43545 conftest$ac_exeext conftest.$ac_ext
43547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43549 if test `eval echo '${'$as_ac_var'}'` = yes; then
43550 cat >>confdefs.h <<_ACEOF
43551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43552 _ACEOF
43555 done
43557 else
43559 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
43560 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43561 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43562 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
43563 echo $ECHO_N "(cached) $ECHO_C" >&6
43564 else
43568 ac_ext=cc
43569 ac_cpp='$CXXCPP $CPPFLAGS'
43570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43574 cat >conftest.$ac_ext <<_ACEOF
43575 /* confdefs.h. */
43576 _ACEOF
43577 cat confdefs.h >>conftest.$ac_ext
43578 cat >>conftest.$ac_ext <<_ACEOF
43579 /* end confdefs.h. */
43580 #include <math.h>
43581 #ifdef HAVE_IEEEFP_H
43582 #include <ieeefp.h>
43583 #endif
43586 main ()
43588 _isnanl(0);
43590 return 0;
43592 _ACEOF
43593 rm -f conftest.$ac_objext
43594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43595 (eval $ac_compile) 2>conftest.er1
43596 ac_status=$?
43597 grep -v '^ *+' conftest.er1 >conftest.err
43598 rm -f conftest.er1
43599 cat conftest.err >&5
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); } &&
43602 { ac_try='test -z "$ac_cxx_werror_flag"
43603 || test ! -s conftest.err'
43604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43605 (eval $ac_try) 2>&5
43606 ac_status=$?
43607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43608 (exit $ac_status); }; } &&
43609 { ac_try='test -s conftest.$ac_objext'
43610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43611 (eval $ac_try) 2>&5
43612 ac_status=$?
43613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43614 (exit $ac_status); }; }; then
43615 glibcxx_cv_func__isnanl_use=yes
43616 else
43617 echo "$as_me: failed program was:" >&5
43618 sed 's/^/| /' conftest.$ac_ext >&5
43620 glibcxx_cv_func__isnanl_use=no
43622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43623 ac_ext=c
43624 ac_cpp='$CPP $CPPFLAGS'
43625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43634 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43636 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43638 for ac_func in _isnanl
43640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43641 echo "$as_me:$LINENO: checking for $ac_func" >&5
43642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43643 if eval "test \"\${$as_ac_var+set}\" = set"; then
43644 echo $ECHO_N "(cached) $ECHO_C" >&6
43645 else
43646 if test x$gcc_no_link = xyes; then
43647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43649 { (exit 1); exit 1; }; }
43651 cat >conftest.$ac_ext <<_ACEOF
43652 /* confdefs.h. */
43653 _ACEOF
43654 cat confdefs.h >>conftest.$ac_ext
43655 cat >>conftest.$ac_ext <<_ACEOF
43656 /* end confdefs.h. */
43657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43659 #define $ac_func innocuous_$ac_func
43661 /* System header to define __stub macros and hopefully few prototypes,
43662 which can conflict with char $ac_func (); below.
43663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43664 <limits.h> exists even on freestanding compilers. */
43666 #ifdef __STDC__
43667 # include <limits.h>
43668 #else
43669 # include <assert.h>
43670 #endif
43672 #undef $ac_func
43674 /* Override any gcc2 internal prototype to avoid an error. */
43675 #ifdef __cplusplus
43676 extern "C"
43678 #endif
43679 /* We use char because int might match the return type of a gcc2
43680 builtin and then its argument prototype would still apply. */
43681 char $ac_func ();
43682 /* The GNU C library defines this for functions which it implements
43683 to always fail with ENOSYS. Some functions are actually named
43684 something starting with __ and the normal name is an alias. */
43685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43686 choke me
43687 #else
43688 char (*f) () = $ac_func;
43689 #endif
43690 #ifdef __cplusplus
43692 #endif
43695 main ()
43697 return f != $ac_func;
43699 return 0;
43701 _ACEOF
43702 rm -f conftest.$ac_objext conftest$ac_exeext
43703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43704 (eval $ac_link) 2>conftest.er1
43705 ac_status=$?
43706 grep -v '^ *+' conftest.er1 >conftest.err
43707 rm -f conftest.er1
43708 cat conftest.err >&5
43709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43710 (exit $ac_status); } &&
43711 { ac_try='test -z "$ac_c_werror_flag"
43712 || test ! -s conftest.err'
43713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43714 (eval $ac_try) 2>&5
43715 ac_status=$?
43716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43717 (exit $ac_status); }; } &&
43718 { ac_try='test -s conftest$ac_exeext'
43719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43720 (eval $ac_try) 2>&5
43721 ac_status=$?
43722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43723 (exit $ac_status); }; }; then
43724 eval "$as_ac_var=yes"
43725 else
43726 echo "$as_me: failed program was:" >&5
43727 sed 's/^/| /' conftest.$ac_ext >&5
43729 eval "$as_ac_var=no"
43731 rm -f conftest.err conftest.$ac_objext \
43732 conftest$ac_exeext conftest.$ac_ext
43734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43736 if test `eval echo '${'$as_ac_var'}'` = yes; then
43737 cat >>confdefs.h <<_ACEOF
43738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43739 _ACEOF
43742 done
43752 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
43753 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
43754 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43755 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
43756 echo $ECHO_N "(cached) $ECHO_C" >&6
43757 else
43761 ac_ext=cc
43762 ac_cpp='$CXXCPP $CPPFLAGS'
43763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43767 cat >conftest.$ac_ext <<_ACEOF
43768 /* confdefs.h. */
43769 _ACEOF
43770 cat confdefs.h >>conftest.$ac_ext
43771 cat >>conftest.$ac_ext <<_ACEOF
43772 /* end confdefs.h. */
43773 #include <math.h>
43774 #ifdef HAVE_IEEEFP_H
43775 #include <ieeefp.h>
43776 #endif
43779 main ()
43781 isinfl(0);
43783 return 0;
43785 _ACEOF
43786 rm -f conftest.$ac_objext
43787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43788 (eval $ac_compile) 2>conftest.er1
43789 ac_status=$?
43790 grep -v '^ *+' conftest.er1 >conftest.err
43791 rm -f conftest.er1
43792 cat conftest.err >&5
43793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43794 (exit $ac_status); } &&
43795 { ac_try='test -z "$ac_cxx_werror_flag"
43796 || test ! -s conftest.err'
43797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43798 (eval $ac_try) 2>&5
43799 ac_status=$?
43800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43801 (exit $ac_status); }; } &&
43802 { ac_try='test -s conftest.$ac_objext'
43803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43804 (eval $ac_try) 2>&5
43805 ac_status=$?
43806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43807 (exit $ac_status); }; }; then
43808 glibcxx_cv_func_isinfl_use=yes
43809 else
43810 echo "$as_me: failed program was:" >&5
43811 sed 's/^/| /' conftest.$ac_ext >&5
43813 glibcxx_cv_func_isinfl_use=no
43815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43816 ac_ext=c
43817 ac_cpp='$CPP $CPPFLAGS'
43818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43826 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
43827 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
43829 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43831 for ac_func in isinfl
43833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43834 echo "$as_me:$LINENO: checking for $ac_func" >&5
43835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43836 if eval "test \"\${$as_ac_var+set}\" = set"; then
43837 echo $ECHO_N "(cached) $ECHO_C" >&6
43838 else
43839 if test x$gcc_no_link = xyes; then
43840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43842 { (exit 1); exit 1; }; }
43844 cat >conftest.$ac_ext <<_ACEOF
43845 /* confdefs.h. */
43846 _ACEOF
43847 cat confdefs.h >>conftest.$ac_ext
43848 cat >>conftest.$ac_ext <<_ACEOF
43849 /* end confdefs.h. */
43850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43852 #define $ac_func innocuous_$ac_func
43854 /* System header to define __stub macros and hopefully few prototypes,
43855 which can conflict with char $ac_func (); below.
43856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43857 <limits.h> exists even on freestanding compilers. */
43859 #ifdef __STDC__
43860 # include <limits.h>
43861 #else
43862 # include <assert.h>
43863 #endif
43865 #undef $ac_func
43867 /* Override any gcc2 internal prototype to avoid an error. */
43868 #ifdef __cplusplus
43869 extern "C"
43871 #endif
43872 /* We use char because int might match the return type of a gcc2
43873 builtin and then its argument prototype would still apply. */
43874 char $ac_func ();
43875 /* The GNU C library defines this for functions which it implements
43876 to always fail with ENOSYS. Some functions are actually named
43877 something starting with __ and the normal name is an alias. */
43878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43879 choke me
43880 #else
43881 char (*f) () = $ac_func;
43882 #endif
43883 #ifdef __cplusplus
43885 #endif
43888 main ()
43890 return f != $ac_func;
43892 return 0;
43894 _ACEOF
43895 rm -f conftest.$ac_objext conftest$ac_exeext
43896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43897 (eval $ac_link) 2>conftest.er1
43898 ac_status=$?
43899 grep -v '^ *+' conftest.er1 >conftest.err
43900 rm -f conftest.er1
43901 cat conftest.err >&5
43902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43903 (exit $ac_status); } &&
43904 { ac_try='test -z "$ac_c_werror_flag"
43905 || test ! -s conftest.err'
43906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43907 (eval $ac_try) 2>&5
43908 ac_status=$?
43909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43910 (exit $ac_status); }; } &&
43911 { ac_try='test -s conftest$ac_exeext'
43912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43913 (eval $ac_try) 2>&5
43914 ac_status=$?
43915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43916 (exit $ac_status); }; }; then
43917 eval "$as_ac_var=yes"
43918 else
43919 echo "$as_me: failed program was:" >&5
43920 sed 's/^/| /' conftest.$ac_ext >&5
43922 eval "$as_ac_var=no"
43924 rm -f conftest.err conftest.$ac_objext \
43925 conftest$ac_exeext conftest.$ac_ext
43927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43929 if test `eval echo '${'$as_ac_var'}'` = yes; then
43930 cat >>confdefs.h <<_ACEOF
43931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43932 _ACEOF
43935 done
43937 else
43939 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
43940 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
43941 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43942 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
43943 echo $ECHO_N "(cached) $ECHO_C" >&6
43944 else
43948 ac_ext=cc
43949 ac_cpp='$CXXCPP $CPPFLAGS'
43950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43954 cat >conftest.$ac_ext <<_ACEOF
43955 /* confdefs.h. */
43956 _ACEOF
43957 cat confdefs.h >>conftest.$ac_ext
43958 cat >>conftest.$ac_ext <<_ACEOF
43959 /* end confdefs.h. */
43960 #include <math.h>
43961 #ifdef HAVE_IEEEFP_H
43962 #include <ieeefp.h>
43963 #endif
43966 main ()
43968 _isinfl(0);
43970 return 0;
43972 _ACEOF
43973 rm -f conftest.$ac_objext
43974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43975 (eval $ac_compile) 2>conftest.er1
43976 ac_status=$?
43977 grep -v '^ *+' conftest.er1 >conftest.err
43978 rm -f conftest.er1
43979 cat conftest.err >&5
43980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43981 (exit $ac_status); } &&
43982 { ac_try='test -z "$ac_cxx_werror_flag"
43983 || test ! -s conftest.err'
43984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43985 (eval $ac_try) 2>&5
43986 ac_status=$?
43987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43988 (exit $ac_status); }; } &&
43989 { ac_try='test -s conftest.$ac_objext'
43990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43991 (eval $ac_try) 2>&5
43992 ac_status=$?
43993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43994 (exit $ac_status); }; }; then
43995 glibcxx_cv_func__isinfl_use=yes
43996 else
43997 echo "$as_me: failed program was:" >&5
43998 sed 's/^/| /' conftest.$ac_ext >&5
44000 glibcxx_cv_func__isinfl_use=no
44002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44003 ac_ext=c
44004 ac_cpp='$CPP $CPPFLAGS'
44005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44014 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44016 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44018 for ac_func in _isinfl
44020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44021 echo "$as_me:$LINENO: checking for $ac_func" >&5
44022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44023 if eval "test \"\${$as_ac_var+set}\" = set"; then
44024 echo $ECHO_N "(cached) $ECHO_C" >&6
44025 else
44026 if test x$gcc_no_link = xyes; then
44027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44029 { (exit 1); exit 1; }; }
44031 cat >conftest.$ac_ext <<_ACEOF
44032 /* confdefs.h. */
44033 _ACEOF
44034 cat confdefs.h >>conftest.$ac_ext
44035 cat >>conftest.$ac_ext <<_ACEOF
44036 /* end confdefs.h. */
44037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44039 #define $ac_func innocuous_$ac_func
44041 /* System header to define __stub macros and hopefully few prototypes,
44042 which can conflict with char $ac_func (); below.
44043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44044 <limits.h> exists even on freestanding compilers. */
44046 #ifdef __STDC__
44047 # include <limits.h>
44048 #else
44049 # include <assert.h>
44050 #endif
44052 #undef $ac_func
44054 /* Override any gcc2 internal prototype to avoid an error. */
44055 #ifdef __cplusplus
44056 extern "C"
44058 #endif
44059 /* We use char because int might match the return type of a gcc2
44060 builtin and then its argument prototype would still apply. */
44061 char $ac_func ();
44062 /* The GNU C library defines this for functions which it implements
44063 to always fail with ENOSYS. Some functions are actually named
44064 something starting with __ and the normal name is an alias. */
44065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44066 choke me
44067 #else
44068 char (*f) () = $ac_func;
44069 #endif
44070 #ifdef __cplusplus
44072 #endif
44075 main ()
44077 return f != $ac_func;
44079 return 0;
44081 _ACEOF
44082 rm -f conftest.$ac_objext conftest$ac_exeext
44083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44084 (eval $ac_link) 2>conftest.er1
44085 ac_status=$?
44086 grep -v '^ *+' conftest.er1 >conftest.err
44087 rm -f conftest.er1
44088 cat conftest.err >&5
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); } &&
44091 { ac_try='test -z "$ac_c_werror_flag"
44092 || test ! -s conftest.err'
44093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44094 (eval $ac_try) 2>&5
44095 ac_status=$?
44096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44097 (exit $ac_status); }; } &&
44098 { ac_try='test -s conftest$ac_exeext'
44099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44100 (eval $ac_try) 2>&5
44101 ac_status=$?
44102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44103 (exit $ac_status); }; }; then
44104 eval "$as_ac_var=yes"
44105 else
44106 echo "$as_me: failed program was:" >&5
44107 sed 's/^/| /' conftest.$ac_ext >&5
44109 eval "$as_ac_var=no"
44111 rm -f conftest.err conftest.$ac_objext \
44112 conftest$ac_exeext conftest.$ac_ext
44114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44116 if test `eval echo '${'$as_ac_var'}'` = yes; then
44117 cat >>confdefs.h <<_ACEOF
44118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44119 _ACEOF
44122 done
44132 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44133 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44134 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44135 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44136 echo $ECHO_N "(cached) $ECHO_C" >&6
44137 else
44141 ac_ext=cc
44142 ac_cpp='$CXXCPP $CPPFLAGS'
44143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44147 cat >conftest.$ac_ext <<_ACEOF
44148 /* confdefs.h. */
44149 _ACEOF
44150 cat confdefs.h >>conftest.$ac_ext
44151 cat >>conftest.$ac_ext <<_ACEOF
44152 /* end confdefs.h. */
44153 #include <math.h>
44155 main ()
44157 copysignl(0, 0);
44159 return 0;
44161 _ACEOF
44162 rm -f conftest.$ac_objext
44163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44164 (eval $ac_compile) 2>conftest.er1
44165 ac_status=$?
44166 grep -v '^ *+' conftest.er1 >conftest.err
44167 rm -f conftest.er1
44168 cat conftest.err >&5
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); } &&
44171 { ac_try='test -z "$ac_cxx_werror_flag"
44172 || test ! -s conftest.err'
44173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44174 (eval $ac_try) 2>&5
44175 ac_status=$?
44176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44177 (exit $ac_status); }; } &&
44178 { ac_try='test -s conftest.$ac_objext'
44179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44180 (eval $ac_try) 2>&5
44181 ac_status=$?
44182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44183 (exit $ac_status); }; }; then
44184 glibcxx_cv_func_copysignl_use=yes
44185 else
44186 echo "$as_me: failed program was:" >&5
44187 sed 's/^/| /' conftest.$ac_ext >&5
44189 glibcxx_cv_func_copysignl_use=no
44191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44192 ac_ext=c
44193 ac_cpp='$CPP $CPPFLAGS'
44194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44203 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44205 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44207 for ac_func in copysignl
44209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44210 echo "$as_me:$LINENO: checking for $ac_func" >&5
44211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44212 if eval "test \"\${$as_ac_var+set}\" = set"; then
44213 echo $ECHO_N "(cached) $ECHO_C" >&6
44214 else
44215 if test x$gcc_no_link = xyes; then
44216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44218 { (exit 1); exit 1; }; }
44220 cat >conftest.$ac_ext <<_ACEOF
44221 /* confdefs.h. */
44222 _ACEOF
44223 cat confdefs.h >>conftest.$ac_ext
44224 cat >>conftest.$ac_ext <<_ACEOF
44225 /* end confdefs.h. */
44226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44228 #define $ac_func innocuous_$ac_func
44230 /* System header to define __stub macros and hopefully few prototypes,
44231 which can conflict with char $ac_func (); below.
44232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44233 <limits.h> exists even on freestanding compilers. */
44235 #ifdef __STDC__
44236 # include <limits.h>
44237 #else
44238 # include <assert.h>
44239 #endif
44241 #undef $ac_func
44243 /* Override any gcc2 internal prototype to avoid an error. */
44244 #ifdef __cplusplus
44245 extern "C"
44247 #endif
44248 /* We use char because int might match the return type of a gcc2
44249 builtin and then its argument prototype would still apply. */
44250 char $ac_func ();
44251 /* The GNU C library defines this for functions which it implements
44252 to always fail with ENOSYS. Some functions are actually named
44253 something starting with __ and the normal name is an alias. */
44254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44255 choke me
44256 #else
44257 char (*f) () = $ac_func;
44258 #endif
44259 #ifdef __cplusplus
44261 #endif
44264 main ()
44266 return f != $ac_func;
44268 return 0;
44270 _ACEOF
44271 rm -f conftest.$ac_objext conftest$ac_exeext
44272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44273 (eval $ac_link) 2>conftest.er1
44274 ac_status=$?
44275 grep -v '^ *+' conftest.er1 >conftest.err
44276 rm -f conftest.er1
44277 cat conftest.err >&5
44278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44279 (exit $ac_status); } &&
44280 { ac_try='test -z "$ac_c_werror_flag"
44281 || test ! -s conftest.err'
44282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44283 (eval $ac_try) 2>&5
44284 ac_status=$?
44285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44286 (exit $ac_status); }; } &&
44287 { ac_try='test -s conftest$ac_exeext'
44288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44289 (eval $ac_try) 2>&5
44290 ac_status=$?
44291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44292 (exit $ac_status); }; }; then
44293 eval "$as_ac_var=yes"
44294 else
44295 echo "$as_me: failed program was:" >&5
44296 sed 's/^/| /' conftest.$ac_ext >&5
44298 eval "$as_ac_var=no"
44300 rm -f conftest.err conftest.$ac_objext \
44301 conftest$ac_exeext conftest.$ac_ext
44303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44305 if test `eval echo '${'$as_ac_var'}'` = yes; then
44306 cat >>confdefs.h <<_ACEOF
44307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44308 _ACEOF
44311 done
44313 else
44315 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44316 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44317 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44318 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44319 echo $ECHO_N "(cached) $ECHO_C" >&6
44320 else
44324 ac_ext=cc
44325 ac_cpp='$CXXCPP $CPPFLAGS'
44326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44330 cat >conftest.$ac_ext <<_ACEOF
44331 /* confdefs.h. */
44332 _ACEOF
44333 cat confdefs.h >>conftest.$ac_ext
44334 cat >>conftest.$ac_ext <<_ACEOF
44335 /* end confdefs.h. */
44336 #include <math.h>
44338 main ()
44340 _copysignl(0, 0);
44342 return 0;
44344 _ACEOF
44345 rm -f conftest.$ac_objext
44346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44347 (eval $ac_compile) 2>conftest.er1
44348 ac_status=$?
44349 grep -v '^ *+' conftest.er1 >conftest.err
44350 rm -f conftest.er1
44351 cat conftest.err >&5
44352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44353 (exit $ac_status); } &&
44354 { ac_try='test -z "$ac_cxx_werror_flag"
44355 || test ! -s conftest.err'
44356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44357 (eval $ac_try) 2>&5
44358 ac_status=$?
44359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360 (exit $ac_status); }; } &&
44361 { ac_try='test -s conftest.$ac_objext'
44362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44363 (eval $ac_try) 2>&5
44364 ac_status=$?
44365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44366 (exit $ac_status); }; }; then
44367 glibcxx_cv_func__copysignl_use=yes
44368 else
44369 echo "$as_me: failed program was:" >&5
44370 sed 's/^/| /' conftest.$ac_ext >&5
44372 glibcxx_cv_func__copysignl_use=no
44374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44375 ac_ext=c
44376 ac_cpp='$CPP $CPPFLAGS'
44377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44386 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44388 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44390 for ac_func in _copysignl
44392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44393 echo "$as_me:$LINENO: checking for $ac_func" >&5
44394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44395 if eval "test \"\${$as_ac_var+set}\" = set"; then
44396 echo $ECHO_N "(cached) $ECHO_C" >&6
44397 else
44398 if test x$gcc_no_link = xyes; then
44399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44401 { (exit 1); exit 1; }; }
44403 cat >conftest.$ac_ext <<_ACEOF
44404 /* confdefs.h. */
44405 _ACEOF
44406 cat confdefs.h >>conftest.$ac_ext
44407 cat >>conftest.$ac_ext <<_ACEOF
44408 /* end confdefs.h. */
44409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44411 #define $ac_func innocuous_$ac_func
44413 /* System header to define __stub macros and hopefully few prototypes,
44414 which can conflict with char $ac_func (); below.
44415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44416 <limits.h> exists even on freestanding compilers. */
44418 #ifdef __STDC__
44419 # include <limits.h>
44420 #else
44421 # include <assert.h>
44422 #endif
44424 #undef $ac_func
44426 /* Override any gcc2 internal prototype to avoid an error. */
44427 #ifdef __cplusplus
44428 extern "C"
44430 #endif
44431 /* We use char because int might match the return type of a gcc2
44432 builtin and then its argument prototype would still apply. */
44433 char $ac_func ();
44434 /* The GNU C library defines this for functions which it implements
44435 to always fail with ENOSYS. Some functions are actually named
44436 something starting with __ and the normal name is an alias. */
44437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44438 choke me
44439 #else
44440 char (*f) () = $ac_func;
44441 #endif
44442 #ifdef __cplusplus
44444 #endif
44447 main ()
44449 return f != $ac_func;
44451 return 0;
44453 _ACEOF
44454 rm -f conftest.$ac_objext conftest$ac_exeext
44455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44456 (eval $ac_link) 2>conftest.er1
44457 ac_status=$?
44458 grep -v '^ *+' conftest.er1 >conftest.err
44459 rm -f conftest.er1
44460 cat conftest.err >&5
44461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44462 (exit $ac_status); } &&
44463 { ac_try='test -z "$ac_c_werror_flag"
44464 || test ! -s conftest.err'
44465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44466 (eval $ac_try) 2>&5
44467 ac_status=$?
44468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44469 (exit $ac_status); }; } &&
44470 { ac_try='test -s conftest$ac_exeext'
44471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44472 (eval $ac_try) 2>&5
44473 ac_status=$?
44474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475 (exit $ac_status); }; }; then
44476 eval "$as_ac_var=yes"
44477 else
44478 echo "$as_me: failed program was:" >&5
44479 sed 's/^/| /' conftest.$ac_ext >&5
44481 eval "$as_ac_var=no"
44483 rm -f conftest.err conftest.$ac_objext \
44484 conftest$ac_exeext conftest.$ac_ext
44486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44488 if test `eval echo '${'$as_ac_var'}'` = yes; then
44489 cat >>confdefs.h <<_ACEOF
44490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44491 _ACEOF
44494 done
44504 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
44505 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
44506 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44507 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
44508 echo $ECHO_N "(cached) $ECHO_C" >&6
44509 else
44513 ac_ext=cc
44514 ac_cpp='$CXXCPP $CPPFLAGS'
44515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44519 cat >conftest.$ac_ext <<_ACEOF
44520 /* confdefs.h. */
44521 _ACEOF
44522 cat confdefs.h >>conftest.$ac_ext
44523 cat >>conftest.$ac_ext <<_ACEOF
44524 /* end confdefs.h. */
44525 #include <math.h>
44527 main ()
44529 atan2l(0, 0);
44531 return 0;
44533 _ACEOF
44534 rm -f conftest.$ac_objext
44535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44536 (eval $ac_compile) 2>conftest.er1
44537 ac_status=$?
44538 grep -v '^ *+' conftest.er1 >conftest.err
44539 rm -f conftest.er1
44540 cat conftest.err >&5
44541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44542 (exit $ac_status); } &&
44543 { ac_try='test -z "$ac_cxx_werror_flag"
44544 || test ! -s conftest.err'
44545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44546 (eval $ac_try) 2>&5
44547 ac_status=$?
44548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44549 (exit $ac_status); }; } &&
44550 { ac_try='test -s conftest.$ac_objext'
44551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44552 (eval $ac_try) 2>&5
44553 ac_status=$?
44554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44555 (exit $ac_status); }; }; then
44556 glibcxx_cv_func_atan2l_use=yes
44557 else
44558 echo "$as_me: failed program was:" >&5
44559 sed 's/^/| /' conftest.$ac_ext >&5
44561 glibcxx_cv_func_atan2l_use=no
44563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44564 ac_ext=c
44565 ac_cpp='$CPP $CPPFLAGS'
44566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
44575 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44577 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44579 for ac_func in atan2l
44581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44582 echo "$as_me:$LINENO: checking for $ac_func" >&5
44583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44584 if eval "test \"\${$as_ac_var+set}\" = set"; then
44585 echo $ECHO_N "(cached) $ECHO_C" >&6
44586 else
44587 if test x$gcc_no_link = xyes; then
44588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44590 { (exit 1); exit 1; }; }
44592 cat >conftest.$ac_ext <<_ACEOF
44593 /* confdefs.h. */
44594 _ACEOF
44595 cat confdefs.h >>conftest.$ac_ext
44596 cat >>conftest.$ac_ext <<_ACEOF
44597 /* end confdefs.h. */
44598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44600 #define $ac_func innocuous_$ac_func
44602 /* System header to define __stub macros and hopefully few prototypes,
44603 which can conflict with char $ac_func (); below.
44604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44605 <limits.h> exists even on freestanding compilers. */
44607 #ifdef __STDC__
44608 # include <limits.h>
44609 #else
44610 # include <assert.h>
44611 #endif
44613 #undef $ac_func
44615 /* Override any gcc2 internal prototype to avoid an error. */
44616 #ifdef __cplusplus
44617 extern "C"
44619 #endif
44620 /* We use char because int might match the return type of a gcc2
44621 builtin and then its argument prototype would still apply. */
44622 char $ac_func ();
44623 /* The GNU C library defines this for functions which it implements
44624 to always fail with ENOSYS. Some functions are actually named
44625 something starting with __ and the normal name is an alias. */
44626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44627 choke me
44628 #else
44629 char (*f) () = $ac_func;
44630 #endif
44631 #ifdef __cplusplus
44633 #endif
44636 main ()
44638 return f != $ac_func;
44640 return 0;
44642 _ACEOF
44643 rm -f conftest.$ac_objext conftest$ac_exeext
44644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44645 (eval $ac_link) 2>conftest.er1
44646 ac_status=$?
44647 grep -v '^ *+' conftest.er1 >conftest.err
44648 rm -f conftest.er1
44649 cat conftest.err >&5
44650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44651 (exit $ac_status); } &&
44652 { ac_try='test -z "$ac_c_werror_flag"
44653 || test ! -s conftest.err'
44654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44655 (eval $ac_try) 2>&5
44656 ac_status=$?
44657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44658 (exit $ac_status); }; } &&
44659 { ac_try='test -s conftest$ac_exeext'
44660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44661 (eval $ac_try) 2>&5
44662 ac_status=$?
44663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44664 (exit $ac_status); }; }; then
44665 eval "$as_ac_var=yes"
44666 else
44667 echo "$as_me: failed program was:" >&5
44668 sed 's/^/| /' conftest.$ac_ext >&5
44670 eval "$as_ac_var=no"
44672 rm -f conftest.err conftest.$ac_objext \
44673 conftest$ac_exeext conftest.$ac_ext
44675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44677 if test `eval echo '${'$as_ac_var'}'` = yes; then
44678 cat >>confdefs.h <<_ACEOF
44679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44680 _ACEOF
44683 done
44685 else
44687 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
44688 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
44689 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44690 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
44691 echo $ECHO_N "(cached) $ECHO_C" >&6
44692 else
44696 ac_ext=cc
44697 ac_cpp='$CXXCPP $CPPFLAGS'
44698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44702 cat >conftest.$ac_ext <<_ACEOF
44703 /* confdefs.h. */
44704 _ACEOF
44705 cat confdefs.h >>conftest.$ac_ext
44706 cat >>conftest.$ac_ext <<_ACEOF
44707 /* end confdefs.h. */
44708 #include <math.h>
44710 main ()
44712 _atan2l(0, 0);
44714 return 0;
44716 _ACEOF
44717 rm -f conftest.$ac_objext
44718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44719 (eval $ac_compile) 2>conftest.er1
44720 ac_status=$?
44721 grep -v '^ *+' conftest.er1 >conftest.err
44722 rm -f conftest.er1
44723 cat conftest.err >&5
44724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44725 (exit $ac_status); } &&
44726 { ac_try='test -z "$ac_cxx_werror_flag"
44727 || test ! -s conftest.err'
44728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44729 (eval $ac_try) 2>&5
44730 ac_status=$?
44731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44732 (exit $ac_status); }; } &&
44733 { ac_try='test -s conftest.$ac_objext'
44734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44735 (eval $ac_try) 2>&5
44736 ac_status=$?
44737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44738 (exit $ac_status); }; }; then
44739 glibcxx_cv_func__atan2l_use=yes
44740 else
44741 echo "$as_me: failed program was:" >&5
44742 sed 's/^/| /' conftest.$ac_ext >&5
44744 glibcxx_cv_func__atan2l_use=no
44746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44747 ac_ext=c
44748 ac_cpp='$CPP $CPPFLAGS'
44749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
44758 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
44760 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44762 for ac_func in _atan2l
44764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44765 echo "$as_me:$LINENO: checking for $ac_func" >&5
44766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44767 if eval "test \"\${$as_ac_var+set}\" = set"; then
44768 echo $ECHO_N "(cached) $ECHO_C" >&6
44769 else
44770 if test x$gcc_no_link = xyes; then
44771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44773 { (exit 1); exit 1; }; }
44775 cat >conftest.$ac_ext <<_ACEOF
44776 /* confdefs.h. */
44777 _ACEOF
44778 cat confdefs.h >>conftest.$ac_ext
44779 cat >>conftest.$ac_ext <<_ACEOF
44780 /* end confdefs.h. */
44781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44783 #define $ac_func innocuous_$ac_func
44785 /* System header to define __stub macros and hopefully few prototypes,
44786 which can conflict with char $ac_func (); below.
44787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44788 <limits.h> exists even on freestanding compilers. */
44790 #ifdef __STDC__
44791 # include <limits.h>
44792 #else
44793 # include <assert.h>
44794 #endif
44796 #undef $ac_func
44798 /* Override any gcc2 internal prototype to avoid an error. */
44799 #ifdef __cplusplus
44800 extern "C"
44802 #endif
44803 /* We use char because int might match the return type of a gcc2
44804 builtin and then its argument prototype would still apply. */
44805 char $ac_func ();
44806 /* The GNU C library defines this for functions which it implements
44807 to always fail with ENOSYS. Some functions are actually named
44808 something starting with __ and the normal name is an alias. */
44809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44810 choke me
44811 #else
44812 char (*f) () = $ac_func;
44813 #endif
44814 #ifdef __cplusplus
44816 #endif
44819 main ()
44821 return f != $ac_func;
44823 return 0;
44825 _ACEOF
44826 rm -f conftest.$ac_objext conftest$ac_exeext
44827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44828 (eval $ac_link) 2>conftest.er1
44829 ac_status=$?
44830 grep -v '^ *+' conftest.er1 >conftest.err
44831 rm -f conftest.er1
44832 cat conftest.err >&5
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); } &&
44835 { ac_try='test -z "$ac_c_werror_flag"
44836 || test ! -s conftest.err'
44837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44838 (eval $ac_try) 2>&5
44839 ac_status=$?
44840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44841 (exit $ac_status); }; } &&
44842 { ac_try='test -s conftest$ac_exeext'
44843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44844 (eval $ac_try) 2>&5
44845 ac_status=$?
44846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44847 (exit $ac_status); }; }; then
44848 eval "$as_ac_var=yes"
44849 else
44850 echo "$as_me: failed program was:" >&5
44851 sed 's/^/| /' conftest.$ac_ext >&5
44853 eval "$as_ac_var=no"
44855 rm -f conftest.err conftest.$ac_objext \
44856 conftest$ac_exeext conftest.$ac_ext
44858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44860 if test `eval echo '${'$as_ac_var'}'` = yes; then
44861 cat >>confdefs.h <<_ACEOF
44862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44863 _ACEOF
44866 done
44876 echo "$as_me:$LINENO: checking for expl declaration" >&5
44877 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
44878 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44879 if test "${glibcxx_cv_func_expl_use+set}" = set; then
44880 echo $ECHO_N "(cached) $ECHO_C" >&6
44881 else
44885 ac_ext=cc
44886 ac_cpp='$CXXCPP $CPPFLAGS'
44887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44891 cat >conftest.$ac_ext <<_ACEOF
44892 /* confdefs.h. */
44893 _ACEOF
44894 cat confdefs.h >>conftest.$ac_ext
44895 cat >>conftest.$ac_ext <<_ACEOF
44896 /* end confdefs.h. */
44897 #include <math.h>
44898 #ifdef HAVE_IEEEFP_H
44899 #include <ieeefp.h>
44900 #endif
44903 main ()
44905 expl(0);
44907 return 0;
44909 _ACEOF
44910 rm -f conftest.$ac_objext
44911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44912 (eval $ac_compile) 2>conftest.er1
44913 ac_status=$?
44914 grep -v '^ *+' conftest.er1 >conftest.err
44915 rm -f conftest.er1
44916 cat conftest.err >&5
44917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44918 (exit $ac_status); } &&
44919 { ac_try='test -z "$ac_cxx_werror_flag"
44920 || test ! -s conftest.err'
44921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44922 (eval $ac_try) 2>&5
44923 ac_status=$?
44924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44925 (exit $ac_status); }; } &&
44926 { ac_try='test -s conftest.$ac_objext'
44927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44928 (eval $ac_try) 2>&5
44929 ac_status=$?
44930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44931 (exit $ac_status); }; }; then
44932 glibcxx_cv_func_expl_use=yes
44933 else
44934 echo "$as_me: failed program was:" >&5
44935 sed 's/^/| /' conftest.$ac_ext >&5
44937 glibcxx_cv_func_expl_use=no
44939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44940 ac_ext=c
44941 ac_cpp='$CPP $CPPFLAGS'
44942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
44951 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
44953 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44955 for ac_func in expl
44957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44958 echo "$as_me:$LINENO: checking for $ac_func" >&5
44959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44960 if eval "test \"\${$as_ac_var+set}\" = set"; then
44961 echo $ECHO_N "(cached) $ECHO_C" >&6
44962 else
44963 if test x$gcc_no_link = xyes; then
44964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44966 { (exit 1); exit 1; }; }
44968 cat >conftest.$ac_ext <<_ACEOF
44969 /* confdefs.h. */
44970 _ACEOF
44971 cat confdefs.h >>conftest.$ac_ext
44972 cat >>conftest.$ac_ext <<_ACEOF
44973 /* end confdefs.h. */
44974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44976 #define $ac_func innocuous_$ac_func
44978 /* System header to define __stub macros and hopefully few prototypes,
44979 which can conflict with char $ac_func (); below.
44980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44981 <limits.h> exists even on freestanding compilers. */
44983 #ifdef __STDC__
44984 # include <limits.h>
44985 #else
44986 # include <assert.h>
44987 #endif
44989 #undef $ac_func
44991 /* Override any gcc2 internal prototype to avoid an error. */
44992 #ifdef __cplusplus
44993 extern "C"
44995 #endif
44996 /* We use char because int might match the return type of a gcc2
44997 builtin and then its argument prototype would still apply. */
44998 char $ac_func ();
44999 /* The GNU C library defines this for functions which it implements
45000 to always fail with ENOSYS. Some functions are actually named
45001 something starting with __ and the normal name is an alias. */
45002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45003 choke me
45004 #else
45005 char (*f) () = $ac_func;
45006 #endif
45007 #ifdef __cplusplus
45009 #endif
45012 main ()
45014 return f != $ac_func;
45016 return 0;
45018 _ACEOF
45019 rm -f conftest.$ac_objext conftest$ac_exeext
45020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45021 (eval $ac_link) 2>conftest.er1
45022 ac_status=$?
45023 grep -v '^ *+' conftest.er1 >conftest.err
45024 rm -f conftest.er1
45025 cat conftest.err >&5
45026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45027 (exit $ac_status); } &&
45028 { ac_try='test -z "$ac_c_werror_flag"
45029 || test ! -s conftest.err'
45030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45031 (eval $ac_try) 2>&5
45032 ac_status=$?
45033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45034 (exit $ac_status); }; } &&
45035 { ac_try='test -s conftest$ac_exeext'
45036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45037 (eval $ac_try) 2>&5
45038 ac_status=$?
45039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45040 (exit $ac_status); }; }; then
45041 eval "$as_ac_var=yes"
45042 else
45043 echo "$as_me: failed program was:" >&5
45044 sed 's/^/| /' conftest.$ac_ext >&5
45046 eval "$as_ac_var=no"
45048 rm -f conftest.err conftest.$ac_objext \
45049 conftest$ac_exeext conftest.$ac_ext
45051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45053 if test `eval echo '${'$as_ac_var'}'` = yes; then
45054 cat >>confdefs.h <<_ACEOF
45055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45056 _ACEOF
45059 done
45061 else
45063 echo "$as_me:$LINENO: checking for _expl declaration" >&5
45064 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45065 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45066 if test "${glibcxx_cv_func__expl_use+set}" = set; then
45067 echo $ECHO_N "(cached) $ECHO_C" >&6
45068 else
45072 ac_ext=cc
45073 ac_cpp='$CXXCPP $CPPFLAGS'
45074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45078 cat >conftest.$ac_ext <<_ACEOF
45079 /* confdefs.h. */
45080 _ACEOF
45081 cat confdefs.h >>conftest.$ac_ext
45082 cat >>conftest.$ac_ext <<_ACEOF
45083 /* end confdefs.h. */
45084 #include <math.h>
45085 #ifdef HAVE_IEEEFP_H
45086 #include <ieeefp.h>
45087 #endif
45090 main ()
45092 _expl(0);
45094 return 0;
45096 _ACEOF
45097 rm -f conftest.$ac_objext
45098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45099 (eval $ac_compile) 2>conftest.er1
45100 ac_status=$?
45101 grep -v '^ *+' conftest.er1 >conftest.err
45102 rm -f conftest.er1
45103 cat conftest.err >&5
45104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45105 (exit $ac_status); } &&
45106 { ac_try='test -z "$ac_cxx_werror_flag"
45107 || test ! -s conftest.err'
45108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45109 (eval $ac_try) 2>&5
45110 ac_status=$?
45111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45112 (exit $ac_status); }; } &&
45113 { ac_try='test -s conftest.$ac_objext'
45114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45115 (eval $ac_try) 2>&5
45116 ac_status=$?
45117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45118 (exit $ac_status); }; }; then
45119 glibcxx_cv_func__expl_use=yes
45120 else
45121 echo "$as_me: failed program was:" >&5
45122 sed 's/^/| /' conftest.$ac_ext >&5
45124 glibcxx_cv_func__expl_use=no
45126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45127 ac_ext=c
45128 ac_cpp='$CPP $CPPFLAGS'
45129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45137 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45138 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45140 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45142 for ac_func in _expl
45144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45145 echo "$as_me:$LINENO: checking for $ac_func" >&5
45146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45147 if eval "test \"\${$as_ac_var+set}\" = set"; then
45148 echo $ECHO_N "(cached) $ECHO_C" >&6
45149 else
45150 if test x$gcc_no_link = xyes; then
45151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45153 { (exit 1); exit 1; }; }
45155 cat >conftest.$ac_ext <<_ACEOF
45156 /* confdefs.h. */
45157 _ACEOF
45158 cat confdefs.h >>conftest.$ac_ext
45159 cat >>conftest.$ac_ext <<_ACEOF
45160 /* end confdefs.h. */
45161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45163 #define $ac_func innocuous_$ac_func
45165 /* System header to define __stub macros and hopefully few prototypes,
45166 which can conflict with char $ac_func (); below.
45167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45168 <limits.h> exists even on freestanding compilers. */
45170 #ifdef __STDC__
45171 # include <limits.h>
45172 #else
45173 # include <assert.h>
45174 #endif
45176 #undef $ac_func
45178 /* Override any gcc2 internal prototype to avoid an error. */
45179 #ifdef __cplusplus
45180 extern "C"
45182 #endif
45183 /* We use char because int might match the return type of a gcc2
45184 builtin and then its argument prototype would still apply. */
45185 char $ac_func ();
45186 /* The GNU C library defines this for functions which it implements
45187 to always fail with ENOSYS. Some functions are actually named
45188 something starting with __ and the normal name is an alias. */
45189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45190 choke me
45191 #else
45192 char (*f) () = $ac_func;
45193 #endif
45194 #ifdef __cplusplus
45196 #endif
45199 main ()
45201 return f != $ac_func;
45203 return 0;
45205 _ACEOF
45206 rm -f conftest.$ac_objext conftest$ac_exeext
45207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45208 (eval $ac_link) 2>conftest.er1
45209 ac_status=$?
45210 grep -v '^ *+' conftest.er1 >conftest.err
45211 rm -f conftest.er1
45212 cat conftest.err >&5
45213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45214 (exit $ac_status); } &&
45215 { ac_try='test -z "$ac_c_werror_flag"
45216 || test ! -s conftest.err'
45217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45218 (eval $ac_try) 2>&5
45219 ac_status=$?
45220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45221 (exit $ac_status); }; } &&
45222 { ac_try='test -s conftest$ac_exeext'
45223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45224 (eval $ac_try) 2>&5
45225 ac_status=$?
45226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45227 (exit $ac_status); }; }; then
45228 eval "$as_ac_var=yes"
45229 else
45230 echo "$as_me: failed program was:" >&5
45231 sed 's/^/| /' conftest.$ac_ext >&5
45233 eval "$as_ac_var=no"
45235 rm -f conftest.err conftest.$ac_objext \
45236 conftest$ac_exeext conftest.$ac_ext
45238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45240 if test `eval echo '${'$as_ac_var'}'` = yes; then
45241 cat >>confdefs.h <<_ACEOF
45242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45243 _ACEOF
45246 done
45256 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45257 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45258 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45259 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45260 echo $ECHO_N "(cached) $ECHO_C" >&6
45261 else
45265 ac_ext=cc
45266 ac_cpp='$CXXCPP $CPPFLAGS'
45267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45271 cat >conftest.$ac_ext <<_ACEOF
45272 /* confdefs.h. */
45273 _ACEOF
45274 cat confdefs.h >>conftest.$ac_ext
45275 cat >>conftest.$ac_ext <<_ACEOF
45276 /* end confdefs.h. */
45277 #include <math.h>
45278 #ifdef HAVE_IEEEFP_H
45279 #include <ieeefp.h>
45280 #endif
45283 main ()
45285 fabsl(0);
45287 return 0;
45289 _ACEOF
45290 rm -f conftest.$ac_objext
45291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45292 (eval $ac_compile) 2>conftest.er1
45293 ac_status=$?
45294 grep -v '^ *+' conftest.er1 >conftest.err
45295 rm -f conftest.er1
45296 cat conftest.err >&5
45297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45298 (exit $ac_status); } &&
45299 { ac_try='test -z "$ac_cxx_werror_flag"
45300 || test ! -s conftest.err'
45301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45302 (eval $ac_try) 2>&5
45303 ac_status=$?
45304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45305 (exit $ac_status); }; } &&
45306 { ac_try='test -s conftest.$ac_objext'
45307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45308 (eval $ac_try) 2>&5
45309 ac_status=$?
45310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45311 (exit $ac_status); }; }; then
45312 glibcxx_cv_func_fabsl_use=yes
45313 else
45314 echo "$as_me: failed program was:" >&5
45315 sed 's/^/| /' conftest.$ac_ext >&5
45317 glibcxx_cv_func_fabsl_use=no
45319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45320 ac_ext=c
45321 ac_cpp='$CPP $CPPFLAGS'
45322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45330 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45331 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45333 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45335 for ac_func in fabsl
45337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45338 echo "$as_me:$LINENO: checking for $ac_func" >&5
45339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45340 if eval "test \"\${$as_ac_var+set}\" = set"; then
45341 echo $ECHO_N "(cached) $ECHO_C" >&6
45342 else
45343 if test x$gcc_no_link = xyes; then
45344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45346 { (exit 1); exit 1; }; }
45348 cat >conftest.$ac_ext <<_ACEOF
45349 /* confdefs.h. */
45350 _ACEOF
45351 cat confdefs.h >>conftest.$ac_ext
45352 cat >>conftest.$ac_ext <<_ACEOF
45353 /* end confdefs.h. */
45354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45356 #define $ac_func innocuous_$ac_func
45358 /* System header to define __stub macros and hopefully few prototypes,
45359 which can conflict with char $ac_func (); below.
45360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45361 <limits.h> exists even on freestanding compilers. */
45363 #ifdef __STDC__
45364 # include <limits.h>
45365 #else
45366 # include <assert.h>
45367 #endif
45369 #undef $ac_func
45371 /* Override any gcc2 internal prototype to avoid an error. */
45372 #ifdef __cplusplus
45373 extern "C"
45375 #endif
45376 /* We use char because int might match the return type of a gcc2
45377 builtin and then its argument prototype would still apply. */
45378 char $ac_func ();
45379 /* The GNU C library defines this for functions which it implements
45380 to always fail with ENOSYS. Some functions are actually named
45381 something starting with __ and the normal name is an alias. */
45382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45383 choke me
45384 #else
45385 char (*f) () = $ac_func;
45386 #endif
45387 #ifdef __cplusplus
45389 #endif
45392 main ()
45394 return f != $ac_func;
45396 return 0;
45398 _ACEOF
45399 rm -f conftest.$ac_objext conftest$ac_exeext
45400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45401 (eval $ac_link) 2>conftest.er1
45402 ac_status=$?
45403 grep -v '^ *+' conftest.er1 >conftest.err
45404 rm -f conftest.er1
45405 cat conftest.err >&5
45406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45407 (exit $ac_status); } &&
45408 { ac_try='test -z "$ac_c_werror_flag"
45409 || test ! -s conftest.err'
45410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45411 (eval $ac_try) 2>&5
45412 ac_status=$?
45413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45414 (exit $ac_status); }; } &&
45415 { ac_try='test -s conftest$ac_exeext'
45416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45417 (eval $ac_try) 2>&5
45418 ac_status=$?
45419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45420 (exit $ac_status); }; }; then
45421 eval "$as_ac_var=yes"
45422 else
45423 echo "$as_me: failed program was:" >&5
45424 sed 's/^/| /' conftest.$ac_ext >&5
45426 eval "$as_ac_var=no"
45428 rm -f conftest.err conftest.$ac_objext \
45429 conftest$ac_exeext conftest.$ac_ext
45431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45433 if test `eval echo '${'$as_ac_var'}'` = yes; then
45434 cat >>confdefs.h <<_ACEOF
45435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45436 _ACEOF
45439 done
45441 else
45443 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
45444 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
45445 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45446 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
45447 echo $ECHO_N "(cached) $ECHO_C" >&6
45448 else
45452 ac_ext=cc
45453 ac_cpp='$CXXCPP $CPPFLAGS'
45454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45458 cat >conftest.$ac_ext <<_ACEOF
45459 /* confdefs.h. */
45460 _ACEOF
45461 cat confdefs.h >>conftest.$ac_ext
45462 cat >>conftest.$ac_ext <<_ACEOF
45463 /* end confdefs.h. */
45464 #include <math.h>
45465 #ifdef HAVE_IEEEFP_H
45466 #include <ieeefp.h>
45467 #endif
45470 main ()
45472 _fabsl(0);
45474 return 0;
45476 _ACEOF
45477 rm -f conftest.$ac_objext
45478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45479 (eval $ac_compile) 2>conftest.er1
45480 ac_status=$?
45481 grep -v '^ *+' conftest.er1 >conftest.err
45482 rm -f conftest.er1
45483 cat conftest.err >&5
45484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45485 (exit $ac_status); } &&
45486 { ac_try='test -z "$ac_cxx_werror_flag"
45487 || test ! -s conftest.err'
45488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45489 (eval $ac_try) 2>&5
45490 ac_status=$?
45491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45492 (exit $ac_status); }; } &&
45493 { ac_try='test -s conftest.$ac_objext'
45494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45495 (eval $ac_try) 2>&5
45496 ac_status=$?
45497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45498 (exit $ac_status); }; }; then
45499 glibcxx_cv_func__fabsl_use=yes
45500 else
45501 echo "$as_me: failed program was:" >&5
45502 sed 's/^/| /' conftest.$ac_ext >&5
45504 glibcxx_cv_func__fabsl_use=no
45506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45507 ac_ext=c
45508 ac_cpp='$CPP $CPPFLAGS'
45509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45517 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45518 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45520 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45522 for ac_func in _fabsl
45524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45525 echo "$as_me:$LINENO: checking for $ac_func" >&5
45526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45527 if eval "test \"\${$as_ac_var+set}\" = set"; then
45528 echo $ECHO_N "(cached) $ECHO_C" >&6
45529 else
45530 if test x$gcc_no_link = xyes; then
45531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45533 { (exit 1); exit 1; }; }
45535 cat >conftest.$ac_ext <<_ACEOF
45536 /* confdefs.h. */
45537 _ACEOF
45538 cat confdefs.h >>conftest.$ac_ext
45539 cat >>conftest.$ac_ext <<_ACEOF
45540 /* end confdefs.h. */
45541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45543 #define $ac_func innocuous_$ac_func
45545 /* System header to define __stub macros and hopefully few prototypes,
45546 which can conflict with char $ac_func (); below.
45547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45548 <limits.h> exists even on freestanding compilers. */
45550 #ifdef __STDC__
45551 # include <limits.h>
45552 #else
45553 # include <assert.h>
45554 #endif
45556 #undef $ac_func
45558 /* Override any gcc2 internal prototype to avoid an error. */
45559 #ifdef __cplusplus
45560 extern "C"
45562 #endif
45563 /* We use char because int might match the return type of a gcc2
45564 builtin and then its argument prototype would still apply. */
45565 char $ac_func ();
45566 /* The GNU C library defines this for functions which it implements
45567 to always fail with ENOSYS. Some functions are actually named
45568 something starting with __ and the normal name is an alias. */
45569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45570 choke me
45571 #else
45572 char (*f) () = $ac_func;
45573 #endif
45574 #ifdef __cplusplus
45576 #endif
45579 main ()
45581 return f != $ac_func;
45583 return 0;
45585 _ACEOF
45586 rm -f conftest.$ac_objext conftest$ac_exeext
45587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45588 (eval $ac_link) 2>conftest.er1
45589 ac_status=$?
45590 grep -v '^ *+' conftest.er1 >conftest.err
45591 rm -f conftest.er1
45592 cat conftest.err >&5
45593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45594 (exit $ac_status); } &&
45595 { ac_try='test -z "$ac_c_werror_flag"
45596 || test ! -s conftest.err'
45597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45598 (eval $ac_try) 2>&5
45599 ac_status=$?
45600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45601 (exit $ac_status); }; } &&
45602 { ac_try='test -s conftest$ac_exeext'
45603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45604 (eval $ac_try) 2>&5
45605 ac_status=$?
45606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45607 (exit $ac_status); }; }; then
45608 eval "$as_ac_var=yes"
45609 else
45610 echo "$as_me: failed program was:" >&5
45611 sed 's/^/| /' conftest.$ac_ext >&5
45613 eval "$as_ac_var=no"
45615 rm -f conftest.err conftest.$ac_objext \
45616 conftest$ac_exeext conftest.$ac_ext
45618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45620 if test `eval echo '${'$as_ac_var'}'` = yes; then
45621 cat >>confdefs.h <<_ACEOF
45622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45623 _ACEOF
45626 done
45636 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45637 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45638 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45639 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45640 echo $ECHO_N "(cached) $ECHO_C" >&6
45641 else
45645 ac_ext=cc
45646 ac_cpp='$CXXCPP $CPPFLAGS'
45647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45651 cat >conftest.$ac_ext <<_ACEOF
45652 /* confdefs.h. */
45653 _ACEOF
45654 cat confdefs.h >>conftest.$ac_ext
45655 cat >>conftest.$ac_ext <<_ACEOF
45656 /* end confdefs.h. */
45657 #include <math.h>
45659 main ()
45661 fmodl(0, 0);
45663 return 0;
45665 _ACEOF
45666 rm -f conftest.$ac_objext
45667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45668 (eval $ac_compile) 2>conftest.er1
45669 ac_status=$?
45670 grep -v '^ *+' conftest.er1 >conftest.err
45671 rm -f conftest.er1
45672 cat conftest.err >&5
45673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45674 (exit $ac_status); } &&
45675 { ac_try='test -z "$ac_cxx_werror_flag"
45676 || test ! -s conftest.err'
45677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45678 (eval $ac_try) 2>&5
45679 ac_status=$?
45680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45681 (exit $ac_status); }; } &&
45682 { ac_try='test -s conftest.$ac_objext'
45683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45684 (eval $ac_try) 2>&5
45685 ac_status=$?
45686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45687 (exit $ac_status); }; }; then
45688 glibcxx_cv_func_fmodl_use=yes
45689 else
45690 echo "$as_me: failed program was:" >&5
45691 sed 's/^/| /' conftest.$ac_ext >&5
45693 glibcxx_cv_func_fmodl_use=no
45695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45696 ac_ext=c
45697 ac_cpp='$CPP $CPPFLAGS'
45698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45706 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
45707 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
45709 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45711 for ac_func in fmodl
45713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45714 echo "$as_me:$LINENO: checking for $ac_func" >&5
45715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45716 if eval "test \"\${$as_ac_var+set}\" = set"; then
45717 echo $ECHO_N "(cached) $ECHO_C" >&6
45718 else
45719 if test x$gcc_no_link = xyes; then
45720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45722 { (exit 1); exit 1; }; }
45724 cat >conftest.$ac_ext <<_ACEOF
45725 /* confdefs.h. */
45726 _ACEOF
45727 cat confdefs.h >>conftest.$ac_ext
45728 cat >>conftest.$ac_ext <<_ACEOF
45729 /* end confdefs.h. */
45730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45732 #define $ac_func innocuous_$ac_func
45734 /* System header to define __stub macros and hopefully few prototypes,
45735 which can conflict with char $ac_func (); below.
45736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45737 <limits.h> exists even on freestanding compilers. */
45739 #ifdef __STDC__
45740 # include <limits.h>
45741 #else
45742 # include <assert.h>
45743 #endif
45745 #undef $ac_func
45747 /* Override any gcc2 internal prototype to avoid an error. */
45748 #ifdef __cplusplus
45749 extern "C"
45751 #endif
45752 /* We use char because int might match the return type of a gcc2
45753 builtin and then its argument prototype would still apply. */
45754 char $ac_func ();
45755 /* The GNU C library defines this for functions which it implements
45756 to always fail with ENOSYS. Some functions are actually named
45757 something starting with __ and the normal name is an alias. */
45758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45759 choke me
45760 #else
45761 char (*f) () = $ac_func;
45762 #endif
45763 #ifdef __cplusplus
45765 #endif
45768 main ()
45770 return f != $ac_func;
45772 return 0;
45774 _ACEOF
45775 rm -f conftest.$ac_objext conftest$ac_exeext
45776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45777 (eval $ac_link) 2>conftest.er1
45778 ac_status=$?
45779 grep -v '^ *+' conftest.er1 >conftest.err
45780 rm -f conftest.er1
45781 cat conftest.err >&5
45782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45783 (exit $ac_status); } &&
45784 { ac_try='test -z "$ac_c_werror_flag"
45785 || test ! -s conftest.err'
45786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45787 (eval $ac_try) 2>&5
45788 ac_status=$?
45789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45790 (exit $ac_status); }; } &&
45791 { ac_try='test -s conftest$ac_exeext'
45792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45793 (eval $ac_try) 2>&5
45794 ac_status=$?
45795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45796 (exit $ac_status); }; }; then
45797 eval "$as_ac_var=yes"
45798 else
45799 echo "$as_me: failed program was:" >&5
45800 sed 's/^/| /' conftest.$ac_ext >&5
45802 eval "$as_ac_var=no"
45804 rm -f conftest.err conftest.$ac_objext \
45805 conftest$ac_exeext conftest.$ac_ext
45807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45809 if test `eval echo '${'$as_ac_var'}'` = yes; then
45810 cat >>confdefs.h <<_ACEOF
45811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45812 _ACEOF
45815 done
45817 else
45819 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
45820 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
45821 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45822 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
45823 echo $ECHO_N "(cached) $ECHO_C" >&6
45824 else
45828 ac_ext=cc
45829 ac_cpp='$CXXCPP $CPPFLAGS'
45830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45834 cat >conftest.$ac_ext <<_ACEOF
45835 /* confdefs.h. */
45836 _ACEOF
45837 cat confdefs.h >>conftest.$ac_ext
45838 cat >>conftest.$ac_ext <<_ACEOF
45839 /* end confdefs.h. */
45840 #include <math.h>
45842 main ()
45844 _fmodl(0, 0);
45846 return 0;
45848 _ACEOF
45849 rm -f conftest.$ac_objext
45850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45851 (eval $ac_compile) 2>conftest.er1
45852 ac_status=$?
45853 grep -v '^ *+' conftest.er1 >conftest.err
45854 rm -f conftest.er1
45855 cat conftest.err >&5
45856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45857 (exit $ac_status); } &&
45858 { ac_try='test -z "$ac_cxx_werror_flag"
45859 || test ! -s conftest.err'
45860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45861 (eval $ac_try) 2>&5
45862 ac_status=$?
45863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45864 (exit $ac_status); }; } &&
45865 { ac_try='test -s conftest.$ac_objext'
45866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45867 (eval $ac_try) 2>&5
45868 ac_status=$?
45869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45870 (exit $ac_status); }; }; then
45871 glibcxx_cv_func__fmodl_use=yes
45872 else
45873 echo "$as_me: failed program was:" >&5
45874 sed 's/^/| /' conftest.$ac_ext >&5
45876 glibcxx_cv_func__fmodl_use=no
45878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45879 ac_ext=c
45880 ac_cpp='$CPP $CPPFLAGS'
45881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45889 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
45890 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
45892 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45894 for ac_func in _fmodl
45896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45897 echo "$as_me:$LINENO: checking for $ac_func" >&5
45898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45899 if eval "test \"\${$as_ac_var+set}\" = set"; then
45900 echo $ECHO_N "(cached) $ECHO_C" >&6
45901 else
45902 if test x$gcc_no_link = xyes; then
45903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45905 { (exit 1); exit 1; }; }
45907 cat >conftest.$ac_ext <<_ACEOF
45908 /* confdefs.h. */
45909 _ACEOF
45910 cat confdefs.h >>conftest.$ac_ext
45911 cat >>conftest.$ac_ext <<_ACEOF
45912 /* end confdefs.h. */
45913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45915 #define $ac_func innocuous_$ac_func
45917 /* System header to define __stub macros and hopefully few prototypes,
45918 which can conflict with char $ac_func (); below.
45919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45920 <limits.h> exists even on freestanding compilers. */
45922 #ifdef __STDC__
45923 # include <limits.h>
45924 #else
45925 # include <assert.h>
45926 #endif
45928 #undef $ac_func
45930 /* Override any gcc2 internal prototype to avoid an error. */
45931 #ifdef __cplusplus
45932 extern "C"
45934 #endif
45935 /* We use char because int might match the return type of a gcc2
45936 builtin and then its argument prototype would still apply. */
45937 char $ac_func ();
45938 /* The GNU C library defines this for functions which it implements
45939 to always fail with ENOSYS. Some functions are actually named
45940 something starting with __ and the normal name is an alias. */
45941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45942 choke me
45943 #else
45944 char (*f) () = $ac_func;
45945 #endif
45946 #ifdef __cplusplus
45948 #endif
45951 main ()
45953 return f != $ac_func;
45955 return 0;
45957 _ACEOF
45958 rm -f conftest.$ac_objext conftest$ac_exeext
45959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45960 (eval $ac_link) 2>conftest.er1
45961 ac_status=$?
45962 grep -v '^ *+' conftest.er1 >conftest.err
45963 rm -f conftest.er1
45964 cat conftest.err >&5
45965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45966 (exit $ac_status); } &&
45967 { ac_try='test -z "$ac_c_werror_flag"
45968 || test ! -s conftest.err'
45969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45970 (eval $ac_try) 2>&5
45971 ac_status=$?
45972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45973 (exit $ac_status); }; } &&
45974 { ac_try='test -s conftest$ac_exeext'
45975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45976 (eval $ac_try) 2>&5
45977 ac_status=$?
45978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45979 (exit $ac_status); }; }; then
45980 eval "$as_ac_var=yes"
45981 else
45982 echo "$as_me: failed program was:" >&5
45983 sed 's/^/| /' conftest.$ac_ext >&5
45985 eval "$as_ac_var=no"
45987 rm -f conftest.err conftest.$ac_objext \
45988 conftest$ac_exeext conftest.$ac_ext
45990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45992 if test `eval echo '${'$as_ac_var'}'` = yes; then
45993 cat >>confdefs.h <<_ACEOF
45994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45995 _ACEOF
45998 done
46008 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46009 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46010 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46011 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46012 echo $ECHO_N "(cached) $ECHO_C" >&6
46013 else
46017 ac_ext=cc
46018 ac_cpp='$CXXCPP $CPPFLAGS'
46019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46023 cat >conftest.$ac_ext <<_ACEOF
46024 /* confdefs.h. */
46025 _ACEOF
46026 cat confdefs.h >>conftest.$ac_ext
46027 cat >>conftest.$ac_ext <<_ACEOF
46028 /* end confdefs.h. */
46029 #include <math.h>
46031 main ()
46033 frexpl(0, 0);
46035 return 0;
46037 _ACEOF
46038 rm -f conftest.$ac_objext
46039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46040 (eval $ac_compile) 2>conftest.er1
46041 ac_status=$?
46042 grep -v '^ *+' conftest.er1 >conftest.err
46043 rm -f conftest.er1
46044 cat conftest.err >&5
46045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46046 (exit $ac_status); } &&
46047 { ac_try='test -z "$ac_cxx_werror_flag"
46048 || test ! -s conftest.err'
46049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46050 (eval $ac_try) 2>&5
46051 ac_status=$?
46052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46053 (exit $ac_status); }; } &&
46054 { ac_try='test -s conftest.$ac_objext'
46055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46056 (eval $ac_try) 2>&5
46057 ac_status=$?
46058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46059 (exit $ac_status); }; }; then
46060 glibcxx_cv_func_frexpl_use=yes
46061 else
46062 echo "$as_me: failed program was:" >&5
46063 sed 's/^/| /' conftest.$ac_ext >&5
46065 glibcxx_cv_func_frexpl_use=no
46067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46068 ac_ext=c
46069 ac_cpp='$CPP $CPPFLAGS'
46070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46078 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46079 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46081 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46083 for ac_func in frexpl
46085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46086 echo "$as_me:$LINENO: checking for $ac_func" >&5
46087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46088 if eval "test \"\${$as_ac_var+set}\" = set"; then
46089 echo $ECHO_N "(cached) $ECHO_C" >&6
46090 else
46091 if test x$gcc_no_link = xyes; then
46092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46094 { (exit 1); exit 1; }; }
46096 cat >conftest.$ac_ext <<_ACEOF
46097 /* confdefs.h. */
46098 _ACEOF
46099 cat confdefs.h >>conftest.$ac_ext
46100 cat >>conftest.$ac_ext <<_ACEOF
46101 /* end confdefs.h. */
46102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46104 #define $ac_func innocuous_$ac_func
46106 /* System header to define __stub macros and hopefully few prototypes,
46107 which can conflict with char $ac_func (); below.
46108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46109 <limits.h> exists even on freestanding compilers. */
46111 #ifdef __STDC__
46112 # include <limits.h>
46113 #else
46114 # include <assert.h>
46115 #endif
46117 #undef $ac_func
46119 /* Override any gcc2 internal prototype to avoid an error. */
46120 #ifdef __cplusplus
46121 extern "C"
46123 #endif
46124 /* We use char because int might match the return type of a gcc2
46125 builtin and then its argument prototype would still apply. */
46126 char $ac_func ();
46127 /* The GNU C library defines this for functions which it implements
46128 to always fail with ENOSYS. Some functions are actually named
46129 something starting with __ and the normal name is an alias. */
46130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46131 choke me
46132 #else
46133 char (*f) () = $ac_func;
46134 #endif
46135 #ifdef __cplusplus
46137 #endif
46140 main ()
46142 return f != $ac_func;
46144 return 0;
46146 _ACEOF
46147 rm -f conftest.$ac_objext conftest$ac_exeext
46148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46149 (eval $ac_link) 2>conftest.er1
46150 ac_status=$?
46151 grep -v '^ *+' conftest.er1 >conftest.err
46152 rm -f conftest.er1
46153 cat conftest.err >&5
46154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46155 (exit $ac_status); } &&
46156 { ac_try='test -z "$ac_c_werror_flag"
46157 || test ! -s conftest.err'
46158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46159 (eval $ac_try) 2>&5
46160 ac_status=$?
46161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46162 (exit $ac_status); }; } &&
46163 { ac_try='test -s conftest$ac_exeext'
46164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46165 (eval $ac_try) 2>&5
46166 ac_status=$?
46167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46168 (exit $ac_status); }; }; then
46169 eval "$as_ac_var=yes"
46170 else
46171 echo "$as_me: failed program was:" >&5
46172 sed 's/^/| /' conftest.$ac_ext >&5
46174 eval "$as_ac_var=no"
46176 rm -f conftest.err conftest.$ac_objext \
46177 conftest$ac_exeext conftest.$ac_ext
46179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46181 if test `eval echo '${'$as_ac_var'}'` = yes; then
46182 cat >>confdefs.h <<_ACEOF
46183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46184 _ACEOF
46187 done
46189 else
46191 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46192 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46193 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46194 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46195 echo $ECHO_N "(cached) $ECHO_C" >&6
46196 else
46200 ac_ext=cc
46201 ac_cpp='$CXXCPP $CPPFLAGS'
46202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46206 cat >conftest.$ac_ext <<_ACEOF
46207 /* confdefs.h. */
46208 _ACEOF
46209 cat confdefs.h >>conftest.$ac_ext
46210 cat >>conftest.$ac_ext <<_ACEOF
46211 /* end confdefs.h. */
46212 #include <math.h>
46214 main ()
46216 _frexpl(0, 0);
46218 return 0;
46220 _ACEOF
46221 rm -f conftest.$ac_objext
46222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46223 (eval $ac_compile) 2>conftest.er1
46224 ac_status=$?
46225 grep -v '^ *+' conftest.er1 >conftest.err
46226 rm -f conftest.er1
46227 cat conftest.err >&5
46228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46229 (exit $ac_status); } &&
46230 { ac_try='test -z "$ac_cxx_werror_flag"
46231 || test ! -s conftest.err'
46232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46233 (eval $ac_try) 2>&5
46234 ac_status=$?
46235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46236 (exit $ac_status); }; } &&
46237 { ac_try='test -s conftest.$ac_objext'
46238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46239 (eval $ac_try) 2>&5
46240 ac_status=$?
46241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46242 (exit $ac_status); }; }; then
46243 glibcxx_cv_func__frexpl_use=yes
46244 else
46245 echo "$as_me: failed program was:" >&5
46246 sed 's/^/| /' conftest.$ac_ext >&5
46248 glibcxx_cv_func__frexpl_use=no
46250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46251 ac_ext=c
46252 ac_cpp='$CPP $CPPFLAGS'
46253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46262 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46264 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46266 for ac_func in _frexpl
46268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46269 echo "$as_me:$LINENO: checking for $ac_func" >&5
46270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46271 if eval "test \"\${$as_ac_var+set}\" = set"; then
46272 echo $ECHO_N "(cached) $ECHO_C" >&6
46273 else
46274 if test x$gcc_no_link = xyes; then
46275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46277 { (exit 1); exit 1; }; }
46279 cat >conftest.$ac_ext <<_ACEOF
46280 /* confdefs.h. */
46281 _ACEOF
46282 cat confdefs.h >>conftest.$ac_ext
46283 cat >>conftest.$ac_ext <<_ACEOF
46284 /* end confdefs.h. */
46285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46287 #define $ac_func innocuous_$ac_func
46289 /* System header to define __stub macros and hopefully few prototypes,
46290 which can conflict with char $ac_func (); below.
46291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46292 <limits.h> exists even on freestanding compilers. */
46294 #ifdef __STDC__
46295 # include <limits.h>
46296 #else
46297 # include <assert.h>
46298 #endif
46300 #undef $ac_func
46302 /* Override any gcc2 internal prototype to avoid an error. */
46303 #ifdef __cplusplus
46304 extern "C"
46306 #endif
46307 /* We use char because int might match the return type of a gcc2
46308 builtin and then its argument prototype would still apply. */
46309 char $ac_func ();
46310 /* The GNU C library defines this for functions which it implements
46311 to always fail with ENOSYS. Some functions are actually named
46312 something starting with __ and the normal name is an alias. */
46313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46314 choke me
46315 #else
46316 char (*f) () = $ac_func;
46317 #endif
46318 #ifdef __cplusplus
46320 #endif
46323 main ()
46325 return f != $ac_func;
46327 return 0;
46329 _ACEOF
46330 rm -f conftest.$ac_objext conftest$ac_exeext
46331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46332 (eval $ac_link) 2>conftest.er1
46333 ac_status=$?
46334 grep -v '^ *+' conftest.er1 >conftest.err
46335 rm -f conftest.er1
46336 cat conftest.err >&5
46337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46338 (exit $ac_status); } &&
46339 { ac_try='test -z "$ac_c_werror_flag"
46340 || test ! -s conftest.err'
46341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46342 (eval $ac_try) 2>&5
46343 ac_status=$?
46344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46345 (exit $ac_status); }; } &&
46346 { ac_try='test -s conftest$ac_exeext'
46347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46348 (eval $ac_try) 2>&5
46349 ac_status=$?
46350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46351 (exit $ac_status); }; }; then
46352 eval "$as_ac_var=yes"
46353 else
46354 echo "$as_me: failed program was:" >&5
46355 sed 's/^/| /' conftest.$ac_ext >&5
46357 eval "$as_ac_var=no"
46359 rm -f conftest.err conftest.$ac_objext \
46360 conftest$ac_exeext conftest.$ac_ext
46362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46364 if test `eval echo '${'$as_ac_var'}'` = yes; then
46365 cat >>confdefs.h <<_ACEOF
46366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46367 _ACEOF
46370 done
46380 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46381 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46382 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46383 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46384 echo $ECHO_N "(cached) $ECHO_C" >&6
46385 else
46389 ac_ext=cc
46390 ac_cpp='$CXXCPP $CPPFLAGS'
46391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46395 cat >conftest.$ac_ext <<_ACEOF
46396 /* confdefs.h. */
46397 _ACEOF
46398 cat confdefs.h >>conftest.$ac_ext
46399 cat >>conftest.$ac_ext <<_ACEOF
46400 /* end confdefs.h. */
46401 #include <math.h>
46403 main ()
46405 hypotl(0, 0);
46407 return 0;
46409 _ACEOF
46410 rm -f conftest.$ac_objext
46411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46412 (eval $ac_compile) 2>conftest.er1
46413 ac_status=$?
46414 grep -v '^ *+' conftest.er1 >conftest.err
46415 rm -f conftest.er1
46416 cat conftest.err >&5
46417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46418 (exit $ac_status); } &&
46419 { ac_try='test -z "$ac_cxx_werror_flag"
46420 || test ! -s conftest.err'
46421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46422 (eval $ac_try) 2>&5
46423 ac_status=$?
46424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46425 (exit $ac_status); }; } &&
46426 { ac_try='test -s conftest.$ac_objext'
46427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46428 (eval $ac_try) 2>&5
46429 ac_status=$?
46430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46431 (exit $ac_status); }; }; then
46432 glibcxx_cv_func_hypotl_use=yes
46433 else
46434 echo "$as_me: failed program was:" >&5
46435 sed 's/^/| /' conftest.$ac_ext >&5
46437 glibcxx_cv_func_hypotl_use=no
46439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46440 ac_ext=c
46441 ac_cpp='$CPP $CPPFLAGS'
46442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46450 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
46451 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
46453 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46455 for ac_func in hypotl
46457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46458 echo "$as_me:$LINENO: checking for $ac_func" >&5
46459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46460 if eval "test \"\${$as_ac_var+set}\" = set"; then
46461 echo $ECHO_N "(cached) $ECHO_C" >&6
46462 else
46463 if test x$gcc_no_link = xyes; then
46464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46466 { (exit 1); exit 1; }; }
46468 cat >conftest.$ac_ext <<_ACEOF
46469 /* confdefs.h. */
46470 _ACEOF
46471 cat confdefs.h >>conftest.$ac_ext
46472 cat >>conftest.$ac_ext <<_ACEOF
46473 /* end confdefs.h. */
46474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46476 #define $ac_func innocuous_$ac_func
46478 /* System header to define __stub macros and hopefully few prototypes,
46479 which can conflict with char $ac_func (); below.
46480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46481 <limits.h> exists even on freestanding compilers. */
46483 #ifdef __STDC__
46484 # include <limits.h>
46485 #else
46486 # include <assert.h>
46487 #endif
46489 #undef $ac_func
46491 /* Override any gcc2 internal prototype to avoid an error. */
46492 #ifdef __cplusplus
46493 extern "C"
46495 #endif
46496 /* We use char because int might match the return type of a gcc2
46497 builtin and then its argument prototype would still apply. */
46498 char $ac_func ();
46499 /* The GNU C library defines this for functions which it implements
46500 to always fail with ENOSYS. Some functions are actually named
46501 something starting with __ and the normal name is an alias. */
46502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46503 choke me
46504 #else
46505 char (*f) () = $ac_func;
46506 #endif
46507 #ifdef __cplusplus
46509 #endif
46512 main ()
46514 return f != $ac_func;
46516 return 0;
46518 _ACEOF
46519 rm -f conftest.$ac_objext conftest$ac_exeext
46520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46521 (eval $ac_link) 2>conftest.er1
46522 ac_status=$?
46523 grep -v '^ *+' conftest.er1 >conftest.err
46524 rm -f conftest.er1
46525 cat conftest.err >&5
46526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46527 (exit $ac_status); } &&
46528 { ac_try='test -z "$ac_c_werror_flag"
46529 || test ! -s conftest.err'
46530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46531 (eval $ac_try) 2>&5
46532 ac_status=$?
46533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46534 (exit $ac_status); }; } &&
46535 { ac_try='test -s conftest$ac_exeext'
46536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46537 (eval $ac_try) 2>&5
46538 ac_status=$?
46539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46540 (exit $ac_status); }; }; then
46541 eval "$as_ac_var=yes"
46542 else
46543 echo "$as_me: failed program was:" >&5
46544 sed 's/^/| /' conftest.$ac_ext >&5
46546 eval "$as_ac_var=no"
46548 rm -f conftest.err conftest.$ac_objext \
46549 conftest$ac_exeext conftest.$ac_ext
46551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46553 if test `eval echo '${'$as_ac_var'}'` = yes; then
46554 cat >>confdefs.h <<_ACEOF
46555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46556 _ACEOF
46559 done
46561 else
46563 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46564 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46565 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46566 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46567 echo $ECHO_N "(cached) $ECHO_C" >&6
46568 else
46572 ac_ext=cc
46573 ac_cpp='$CXXCPP $CPPFLAGS'
46574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46578 cat >conftest.$ac_ext <<_ACEOF
46579 /* confdefs.h. */
46580 _ACEOF
46581 cat confdefs.h >>conftest.$ac_ext
46582 cat >>conftest.$ac_ext <<_ACEOF
46583 /* end confdefs.h. */
46584 #include <math.h>
46586 main ()
46588 _hypotl(0, 0);
46590 return 0;
46592 _ACEOF
46593 rm -f conftest.$ac_objext
46594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46595 (eval $ac_compile) 2>conftest.er1
46596 ac_status=$?
46597 grep -v '^ *+' conftest.er1 >conftest.err
46598 rm -f conftest.er1
46599 cat conftest.err >&5
46600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46601 (exit $ac_status); } &&
46602 { ac_try='test -z "$ac_cxx_werror_flag"
46603 || test ! -s conftest.err'
46604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46605 (eval $ac_try) 2>&5
46606 ac_status=$?
46607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46608 (exit $ac_status); }; } &&
46609 { ac_try='test -s conftest.$ac_objext'
46610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46611 (eval $ac_try) 2>&5
46612 ac_status=$?
46613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46614 (exit $ac_status); }; }; then
46615 glibcxx_cv_func__hypotl_use=yes
46616 else
46617 echo "$as_me: failed program was:" >&5
46618 sed 's/^/| /' conftest.$ac_ext >&5
46620 glibcxx_cv_func__hypotl_use=no
46622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46623 ac_ext=c
46624 ac_cpp='$CPP $CPPFLAGS'
46625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46634 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46636 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46638 for ac_func in _hypotl
46640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46641 echo "$as_me:$LINENO: checking for $ac_func" >&5
46642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46643 if eval "test \"\${$as_ac_var+set}\" = set"; then
46644 echo $ECHO_N "(cached) $ECHO_C" >&6
46645 else
46646 if test x$gcc_no_link = xyes; then
46647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46649 { (exit 1); exit 1; }; }
46651 cat >conftest.$ac_ext <<_ACEOF
46652 /* confdefs.h. */
46653 _ACEOF
46654 cat confdefs.h >>conftest.$ac_ext
46655 cat >>conftest.$ac_ext <<_ACEOF
46656 /* end confdefs.h. */
46657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46659 #define $ac_func innocuous_$ac_func
46661 /* System header to define __stub macros and hopefully few prototypes,
46662 which can conflict with char $ac_func (); below.
46663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46664 <limits.h> exists even on freestanding compilers. */
46666 #ifdef __STDC__
46667 # include <limits.h>
46668 #else
46669 # include <assert.h>
46670 #endif
46672 #undef $ac_func
46674 /* Override any gcc2 internal prototype to avoid an error. */
46675 #ifdef __cplusplus
46676 extern "C"
46678 #endif
46679 /* We use char because int might match the return type of a gcc2
46680 builtin and then its argument prototype would still apply. */
46681 char $ac_func ();
46682 /* The GNU C library defines this for functions which it implements
46683 to always fail with ENOSYS. Some functions are actually named
46684 something starting with __ and the normal name is an alias. */
46685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46686 choke me
46687 #else
46688 char (*f) () = $ac_func;
46689 #endif
46690 #ifdef __cplusplus
46692 #endif
46695 main ()
46697 return f != $ac_func;
46699 return 0;
46701 _ACEOF
46702 rm -f conftest.$ac_objext conftest$ac_exeext
46703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46704 (eval $ac_link) 2>conftest.er1
46705 ac_status=$?
46706 grep -v '^ *+' conftest.er1 >conftest.err
46707 rm -f conftest.er1
46708 cat conftest.err >&5
46709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46710 (exit $ac_status); } &&
46711 { ac_try='test -z "$ac_c_werror_flag"
46712 || test ! -s conftest.err'
46713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46714 (eval $ac_try) 2>&5
46715 ac_status=$?
46716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46717 (exit $ac_status); }; } &&
46718 { ac_try='test -s conftest$ac_exeext'
46719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46720 (eval $ac_try) 2>&5
46721 ac_status=$?
46722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46723 (exit $ac_status); }; }; then
46724 eval "$as_ac_var=yes"
46725 else
46726 echo "$as_me: failed program was:" >&5
46727 sed 's/^/| /' conftest.$ac_ext >&5
46729 eval "$as_ac_var=no"
46731 rm -f conftest.err conftest.$ac_objext \
46732 conftest$ac_exeext conftest.$ac_ext
46734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46736 if test `eval echo '${'$as_ac_var'}'` = yes; then
46737 cat >>confdefs.h <<_ACEOF
46738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46739 _ACEOF
46742 done
46752 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
46753 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
46754 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46755 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
46756 echo $ECHO_N "(cached) $ECHO_C" >&6
46757 else
46761 ac_ext=cc
46762 ac_cpp='$CXXCPP $CPPFLAGS'
46763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46767 cat >conftest.$ac_ext <<_ACEOF
46768 /* confdefs.h. */
46769 _ACEOF
46770 cat confdefs.h >>conftest.$ac_ext
46771 cat >>conftest.$ac_ext <<_ACEOF
46772 /* end confdefs.h. */
46773 #include <math.h>
46775 main ()
46777 ldexpl(0, 0);
46779 return 0;
46781 _ACEOF
46782 rm -f conftest.$ac_objext
46783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46784 (eval $ac_compile) 2>conftest.er1
46785 ac_status=$?
46786 grep -v '^ *+' conftest.er1 >conftest.err
46787 rm -f conftest.er1
46788 cat conftest.err >&5
46789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46790 (exit $ac_status); } &&
46791 { ac_try='test -z "$ac_cxx_werror_flag"
46792 || test ! -s conftest.err'
46793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46794 (eval $ac_try) 2>&5
46795 ac_status=$?
46796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46797 (exit $ac_status); }; } &&
46798 { ac_try='test -s conftest.$ac_objext'
46799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46800 (eval $ac_try) 2>&5
46801 ac_status=$?
46802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46803 (exit $ac_status); }; }; then
46804 glibcxx_cv_func_ldexpl_use=yes
46805 else
46806 echo "$as_me: failed program was:" >&5
46807 sed 's/^/| /' conftest.$ac_ext >&5
46809 glibcxx_cv_func_ldexpl_use=no
46811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46812 ac_ext=c
46813 ac_cpp='$CPP $CPPFLAGS'
46814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46822 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
46823 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
46825 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46827 for ac_func in ldexpl
46829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46830 echo "$as_me:$LINENO: checking for $ac_func" >&5
46831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46832 if eval "test \"\${$as_ac_var+set}\" = set"; then
46833 echo $ECHO_N "(cached) $ECHO_C" >&6
46834 else
46835 if test x$gcc_no_link = xyes; then
46836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46838 { (exit 1); exit 1; }; }
46840 cat >conftest.$ac_ext <<_ACEOF
46841 /* confdefs.h. */
46842 _ACEOF
46843 cat confdefs.h >>conftest.$ac_ext
46844 cat >>conftest.$ac_ext <<_ACEOF
46845 /* end confdefs.h. */
46846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46848 #define $ac_func innocuous_$ac_func
46850 /* System header to define __stub macros and hopefully few prototypes,
46851 which can conflict with char $ac_func (); below.
46852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46853 <limits.h> exists even on freestanding compilers. */
46855 #ifdef __STDC__
46856 # include <limits.h>
46857 #else
46858 # include <assert.h>
46859 #endif
46861 #undef $ac_func
46863 /* Override any gcc2 internal prototype to avoid an error. */
46864 #ifdef __cplusplus
46865 extern "C"
46867 #endif
46868 /* We use char because int might match the return type of a gcc2
46869 builtin and then its argument prototype would still apply. */
46870 char $ac_func ();
46871 /* The GNU C library defines this for functions which it implements
46872 to always fail with ENOSYS. Some functions are actually named
46873 something starting with __ and the normal name is an alias. */
46874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46875 choke me
46876 #else
46877 char (*f) () = $ac_func;
46878 #endif
46879 #ifdef __cplusplus
46881 #endif
46884 main ()
46886 return f != $ac_func;
46888 return 0;
46890 _ACEOF
46891 rm -f conftest.$ac_objext conftest$ac_exeext
46892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46893 (eval $ac_link) 2>conftest.er1
46894 ac_status=$?
46895 grep -v '^ *+' conftest.er1 >conftest.err
46896 rm -f conftest.er1
46897 cat conftest.err >&5
46898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46899 (exit $ac_status); } &&
46900 { ac_try='test -z "$ac_c_werror_flag"
46901 || test ! -s conftest.err'
46902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46903 (eval $ac_try) 2>&5
46904 ac_status=$?
46905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46906 (exit $ac_status); }; } &&
46907 { ac_try='test -s conftest$ac_exeext'
46908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46909 (eval $ac_try) 2>&5
46910 ac_status=$?
46911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46912 (exit $ac_status); }; }; then
46913 eval "$as_ac_var=yes"
46914 else
46915 echo "$as_me: failed program was:" >&5
46916 sed 's/^/| /' conftest.$ac_ext >&5
46918 eval "$as_ac_var=no"
46920 rm -f conftest.err conftest.$ac_objext \
46921 conftest$ac_exeext conftest.$ac_ext
46923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46925 if test `eval echo '${'$as_ac_var'}'` = yes; then
46926 cat >>confdefs.h <<_ACEOF
46927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46928 _ACEOF
46931 done
46933 else
46935 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
46936 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
46937 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46938 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
46939 echo $ECHO_N "(cached) $ECHO_C" >&6
46940 else
46944 ac_ext=cc
46945 ac_cpp='$CXXCPP $CPPFLAGS'
46946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46950 cat >conftest.$ac_ext <<_ACEOF
46951 /* confdefs.h. */
46952 _ACEOF
46953 cat confdefs.h >>conftest.$ac_ext
46954 cat >>conftest.$ac_ext <<_ACEOF
46955 /* end confdefs.h. */
46956 #include <math.h>
46958 main ()
46960 _ldexpl(0, 0);
46962 return 0;
46964 _ACEOF
46965 rm -f conftest.$ac_objext
46966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46967 (eval $ac_compile) 2>conftest.er1
46968 ac_status=$?
46969 grep -v '^ *+' conftest.er1 >conftest.err
46970 rm -f conftest.er1
46971 cat conftest.err >&5
46972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46973 (exit $ac_status); } &&
46974 { ac_try='test -z "$ac_cxx_werror_flag"
46975 || test ! -s conftest.err'
46976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46977 (eval $ac_try) 2>&5
46978 ac_status=$?
46979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46980 (exit $ac_status); }; } &&
46981 { ac_try='test -s conftest.$ac_objext'
46982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46983 (eval $ac_try) 2>&5
46984 ac_status=$?
46985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46986 (exit $ac_status); }; }; then
46987 glibcxx_cv_func__ldexpl_use=yes
46988 else
46989 echo "$as_me: failed program was:" >&5
46990 sed 's/^/| /' conftest.$ac_ext >&5
46992 glibcxx_cv_func__ldexpl_use=no
46994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46995 ac_ext=c
46996 ac_cpp='$CPP $CPPFLAGS'
46997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47006 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47008 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47010 for ac_func in _ldexpl
47012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47013 echo "$as_me:$LINENO: checking for $ac_func" >&5
47014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47015 if eval "test \"\${$as_ac_var+set}\" = set"; then
47016 echo $ECHO_N "(cached) $ECHO_C" >&6
47017 else
47018 if test x$gcc_no_link = xyes; then
47019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47021 { (exit 1); exit 1; }; }
47023 cat >conftest.$ac_ext <<_ACEOF
47024 /* confdefs.h. */
47025 _ACEOF
47026 cat confdefs.h >>conftest.$ac_ext
47027 cat >>conftest.$ac_ext <<_ACEOF
47028 /* end confdefs.h. */
47029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47031 #define $ac_func innocuous_$ac_func
47033 /* System header to define __stub macros and hopefully few prototypes,
47034 which can conflict with char $ac_func (); below.
47035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47036 <limits.h> exists even on freestanding compilers. */
47038 #ifdef __STDC__
47039 # include <limits.h>
47040 #else
47041 # include <assert.h>
47042 #endif
47044 #undef $ac_func
47046 /* Override any gcc2 internal prototype to avoid an error. */
47047 #ifdef __cplusplus
47048 extern "C"
47050 #endif
47051 /* We use char because int might match the return type of a gcc2
47052 builtin and then its argument prototype would still apply. */
47053 char $ac_func ();
47054 /* The GNU C library defines this for functions which it implements
47055 to always fail with ENOSYS. Some functions are actually named
47056 something starting with __ and the normal name is an alias. */
47057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47058 choke me
47059 #else
47060 char (*f) () = $ac_func;
47061 #endif
47062 #ifdef __cplusplus
47064 #endif
47067 main ()
47069 return f != $ac_func;
47071 return 0;
47073 _ACEOF
47074 rm -f conftest.$ac_objext conftest$ac_exeext
47075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47076 (eval $ac_link) 2>conftest.er1
47077 ac_status=$?
47078 grep -v '^ *+' conftest.er1 >conftest.err
47079 rm -f conftest.er1
47080 cat conftest.err >&5
47081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47082 (exit $ac_status); } &&
47083 { ac_try='test -z "$ac_c_werror_flag"
47084 || test ! -s conftest.err'
47085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47086 (eval $ac_try) 2>&5
47087 ac_status=$?
47088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47089 (exit $ac_status); }; } &&
47090 { ac_try='test -s conftest$ac_exeext'
47091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47092 (eval $ac_try) 2>&5
47093 ac_status=$?
47094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47095 (exit $ac_status); }; }; then
47096 eval "$as_ac_var=yes"
47097 else
47098 echo "$as_me: failed program was:" >&5
47099 sed 's/^/| /' conftest.$ac_ext >&5
47101 eval "$as_ac_var=no"
47103 rm -f conftest.err conftest.$ac_objext \
47104 conftest$ac_exeext conftest.$ac_ext
47106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47108 if test `eval echo '${'$as_ac_var'}'` = yes; then
47109 cat >>confdefs.h <<_ACEOF
47110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47111 _ACEOF
47114 done
47124 echo "$as_me:$LINENO: checking for logl declaration" >&5
47125 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47126 if test x${glibcxx_cv_func_logl_use+set} != xset; then
47127 if test "${glibcxx_cv_func_logl_use+set}" = set; then
47128 echo $ECHO_N "(cached) $ECHO_C" >&6
47129 else
47133 ac_ext=cc
47134 ac_cpp='$CXXCPP $CPPFLAGS'
47135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47139 cat >conftest.$ac_ext <<_ACEOF
47140 /* confdefs.h. */
47141 _ACEOF
47142 cat confdefs.h >>conftest.$ac_ext
47143 cat >>conftest.$ac_ext <<_ACEOF
47144 /* end confdefs.h. */
47145 #include <math.h>
47146 #ifdef HAVE_IEEEFP_H
47147 #include <ieeefp.h>
47148 #endif
47151 main ()
47153 logl(0);
47155 return 0;
47157 _ACEOF
47158 rm -f conftest.$ac_objext
47159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47160 (eval $ac_compile) 2>conftest.er1
47161 ac_status=$?
47162 grep -v '^ *+' conftest.er1 >conftest.err
47163 rm -f conftest.er1
47164 cat conftest.err >&5
47165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47166 (exit $ac_status); } &&
47167 { ac_try='test -z "$ac_cxx_werror_flag"
47168 || test ! -s conftest.err'
47169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47170 (eval $ac_try) 2>&5
47171 ac_status=$?
47172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47173 (exit $ac_status); }; } &&
47174 { ac_try='test -s conftest.$ac_objext'
47175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47176 (eval $ac_try) 2>&5
47177 ac_status=$?
47178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47179 (exit $ac_status); }; }; then
47180 glibcxx_cv_func_logl_use=yes
47181 else
47182 echo "$as_me: failed program was:" >&5
47183 sed 's/^/| /' conftest.$ac_ext >&5
47185 glibcxx_cv_func_logl_use=no
47187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47188 ac_ext=c
47189 ac_cpp='$CPP $CPPFLAGS'
47190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47198 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47199 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47201 if test x$glibcxx_cv_func_logl_use = x"yes"; then
47203 for ac_func in logl
47205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47206 echo "$as_me:$LINENO: checking for $ac_func" >&5
47207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47208 if eval "test \"\${$as_ac_var+set}\" = set"; then
47209 echo $ECHO_N "(cached) $ECHO_C" >&6
47210 else
47211 if test x$gcc_no_link = xyes; then
47212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47214 { (exit 1); exit 1; }; }
47216 cat >conftest.$ac_ext <<_ACEOF
47217 /* confdefs.h. */
47218 _ACEOF
47219 cat confdefs.h >>conftest.$ac_ext
47220 cat >>conftest.$ac_ext <<_ACEOF
47221 /* end confdefs.h. */
47222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47224 #define $ac_func innocuous_$ac_func
47226 /* System header to define __stub macros and hopefully few prototypes,
47227 which can conflict with char $ac_func (); below.
47228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47229 <limits.h> exists even on freestanding compilers. */
47231 #ifdef __STDC__
47232 # include <limits.h>
47233 #else
47234 # include <assert.h>
47235 #endif
47237 #undef $ac_func
47239 /* Override any gcc2 internal prototype to avoid an error. */
47240 #ifdef __cplusplus
47241 extern "C"
47243 #endif
47244 /* We use char because int might match the return type of a gcc2
47245 builtin and then its argument prototype would still apply. */
47246 char $ac_func ();
47247 /* The GNU C library defines this for functions which it implements
47248 to always fail with ENOSYS. Some functions are actually named
47249 something starting with __ and the normal name is an alias. */
47250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47251 choke me
47252 #else
47253 char (*f) () = $ac_func;
47254 #endif
47255 #ifdef __cplusplus
47257 #endif
47260 main ()
47262 return f != $ac_func;
47264 return 0;
47266 _ACEOF
47267 rm -f conftest.$ac_objext conftest$ac_exeext
47268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47269 (eval $ac_link) 2>conftest.er1
47270 ac_status=$?
47271 grep -v '^ *+' conftest.er1 >conftest.err
47272 rm -f conftest.er1
47273 cat conftest.err >&5
47274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47275 (exit $ac_status); } &&
47276 { ac_try='test -z "$ac_c_werror_flag"
47277 || test ! -s conftest.err'
47278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47279 (eval $ac_try) 2>&5
47280 ac_status=$?
47281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47282 (exit $ac_status); }; } &&
47283 { ac_try='test -s conftest$ac_exeext'
47284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47285 (eval $ac_try) 2>&5
47286 ac_status=$?
47287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47288 (exit $ac_status); }; }; then
47289 eval "$as_ac_var=yes"
47290 else
47291 echo "$as_me: failed program was:" >&5
47292 sed 's/^/| /' conftest.$ac_ext >&5
47294 eval "$as_ac_var=no"
47296 rm -f conftest.err conftest.$ac_objext \
47297 conftest$ac_exeext conftest.$ac_ext
47299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47301 if test `eval echo '${'$as_ac_var'}'` = yes; then
47302 cat >>confdefs.h <<_ACEOF
47303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47304 _ACEOF
47307 done
47309 else
47311 echo "$as_me:$LINENO: checking for _logl declaration" >&5
47312 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47313 if test x${glibcxx_cv_func__logl_use+set} != xset; then
47314 if test "${glibcxx_cv_func__logl_use+set}" = set; then
47315 echo $ECHO_N "(cached) $ECHO_C" >&6
47316 else
47320 ac_ext=cc
47321 ac_cpp='$CXXCPP $CPPFLAGS'
47322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47326 cat >conftest.$ac_ext <<_ACEOF
47327 /* confdefs.h. */
47328 _ACEOF
47329 cat confdefs.h >>conftest.$ac_ext
47330 cat >>conftest.$ac_ext <<_ACEOF
47331 /* end confdefs.h. */
47332 #include <math.h>
47333 #ifdef HAVE_IEEEFP_H
47334 #include <ieeefp.h>
47335 #endif
47338 main ()
47340 _logl(0);
47342 return 0;
47344 _ACEOF
47345 rm -f conftest.$ac_objext
47346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47347 (eval $ac_compile) 2>conftest.er1
47348 ac_status=$?
47349 grep -v '^ *+' conftest.er1 >conftest.err
47350 rm -f conftest.er1
47351 cat conftest.err >&5
47352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47353 (exit $ac_status); } &&
47354 { ac_try='test -z "$ac_cxx_werror_flag"
47355 || test ! -s conftest.err'
47356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47357 (eval $ac_try) 2>&5
47358 ac_status=$?
47359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47360 (exit $ac_status); }; } &&
47361 { ac_try='test -s conftest.$ac_objext'
47362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47363 (eval $ac_try) 2>&5
47364 ac_status=$?
47365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47366 (exit $ac_status); }; }; then
47367 glibcxx_cv_func__logl_use=yes
47368 else
47369 echo "$as_me: failed program was:" >&5
47370 sed 's/^/| /' conftest.$ac_ext >&5
47372 glibcxx_cv_func__logl_use=no
47374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47375 ac_ext=c
47376 ac_cpp='$CPP $CPPFLAGS'
47377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47386 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47388 if test x$glibcxx_cv_func__logl_use = x"yes"; then
47390 for ac_func in _logl
47392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47393 echo "$as_me:$LINENO: checking for $ac_func" >&5
47394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47395 if eval "test \"\${$as_ac_var+set}\" = set"; then
47396 echo $ECHO_N "(cached) $ECHO_C" >&6
47397 else
47398 if test x$gcc_no_link = xyes; then
47399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47401 { (exit 1); exit 1; }; }
47403 cat >conftest.$ac_ext <<_ACEOF
47404 /* confdefs.h. */
47405 _ACEOF
47406 cat confdefs.h >>conftest.$ac_ext
47407 cat >>conftest.$ac_ext <<_ACEOF
47408 /* end confdefs.h. */
47409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47411 #define $ac_func innocuous_$ac_func
47413 /* System header to define __stub macros and hopefully few prototypes,
47414 which can conflict with char $ac_func (); below.
47415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47416 <limits.h> exists even on freestanding compilers. */
47418 #ifdef __STDC__
47419 # include <limits.h>
47420 #else
47421 # include <assert.h>
47422 #endif
47424 #undef $ac_func
47426 /* Override any gcc2 internal prototype to avoid an error. */
47427 #ifdef __cplusplus
47428 extern "C"
47430 #endif
47431 /* We use char because int might match the return type of a gcc2
47432 builtin and then its argument prototype would still apply. */
47433 char $ac_func ();
47434 /* The GNU C library defines this for functions which it implements
47435 to always fail with ENOSYS. Some functions are actually named
47436 something starting with __ and the normal name is an alias. */
47437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47438 choke me
47439 #else
47440 char (*f) () = $ac_func;
47441 #endif
47442 #ifdef __cplusplus
47444 #endif
47447 main ()
47449 return f != $ac_func;
47451 return 0;
47453 _ACEOF
47454 rm -f conftest.$ac_objext conftest$ac_exeext
47455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47456 (eval $ac_link) 2>conftest.er1
47457 ac_status=$?
47458 grep -v '^ *+' conftest.er1 >conftest.err
47459 rm -f conftest.er1
47460 cat conftest.err >&5
47461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47462 (exit $ac_status); } &&
47463 { ac_try='test -z "$ac_c_werror_flag"
47464 || test ! -s conftest.err'
47465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47466 (eval $ac_try) 2>&5
47467 ac_status=$?
47468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47469 (exit $ac_status); }; } &&
47470 { ac_try='test -s conftest$ac_exeext'
47471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47472 (eval $ac_try) 2>&5
47473 ac_status=$?
47474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47475 (exit $ac_status); }; }; then
47476 eval "$as_ac_var=yes"
47477 else
47478 echo "$as_me: failed program was:" >&5
47479 sed 's/^/| /' conftest.$ac_ext >&5
47481 eval "$as_ac_var=no"
47483 rm -f conftest.err conftest.$ac_objext \
47484 conftest$ac_exeext conftest.$ac_ext
47486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47488 if test `eval echo '${'$as_ac_var'}'` = yes; then
47489 cat >>confdefs.h <<_ACEOF
47490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47491 _ACEOF
47494 done
47504 echo "$as_me:$LINENO: checking for log10l declaration" >&5
47505 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
47506 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47507 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
47508 echo $ECHO_N "(cached) $ECHO_C" >&6
47509 else
47513 ac_ext=cc
47514 ac_cpp='$CXXCPP $CPPFLAGS'
47515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47519 cat >conftest.$ac_ext <<_ACEOF
47520 /* confdefs.h. */
47521 _ACEOF
47522 cat confdefs.h >>conftest.$ac_ext
47523 cat >>conftest.$ac_ext <<_ACEOF
47524 /* end confdefs.h. */
47525 #include <math.h>
47526 #ifdef HAVE_IEEEFP_H
47527 #include <ieeefp.h>
47528 #endif
47531 main ()
47533 log10l(0);
47535 return 0;
47537 _ACEOF
47538 rm -f conftest.$ac_objext
47539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47540 (eval $ac_compile) 2>conftest.er1
47541 ac_status=$?
47542 grep -v '^ *+' conftest.er1 >conftest.err
47543 rm -f conftest.er1
47544 cat conftest.err >&5
47545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47546 (exit $ac_status); } &&
47547 { ac_try='test -z "$ac_cxx_werror_flag"
47548 || test ! -s conftest.err'
47549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47550 (eval $ac_try) 2>&5
47551 ac_status=$?
47552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47553 (exit $ac_status); }; } &&
47554 { ac_try='test -s conftest.$ac_objext'
47555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47556 (eval $ac_try) 2>&5
47557 ac_status=$?
47558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47559 (exit $ac_status); }; }; then
47560 glibcxx_cv_func_log10l_use=yes
47561 else
47562 echo "$as_me: failed program was:" >&5
47563 sed 's/^/| /' conftest.$ac_ext >&5
47565 glibcxx_cv_func_log10l_use=no
47567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47568 ac_ext=c
47569 ac_cpp='$CPP $CPPFLAGS'
47570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47578 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47579 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47581 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47583 for ac_func in log10l
47585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47586 echo "$as_me:$LINENO: checking for $ac_func" >&5
47587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47588 if eval "test \"\${$as_ac_var+set}\" = set"; then
47589 echo $ECHO_N "(cached) $ECHO_C" >&6
47590 else
47591 if test x$gcc_no_link = xyes; then
47592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47594 { (exit 1); exit 1; }; }
47596 cat >conftest.$ac_ext <<_ACEOF
47597 /* confdefs.h. */
47598 _ACEOF
47599 cat confdefs.h >>conftest.$ac_ext
47600 cat >>conftest.$ac_ext <<_ACEOF
47601 /* end confdefs.h. */
47602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47604 #define $ac_func innocuous_$ac_func
47606 /* System header to define __stub macros and hopefully few prototypes,
47607 which can conflict with char $ac_func (); below.
47608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47609 <limits.h> exists even on freestanding compilers. */
47611 #ifdef __STDC__
47612 # include <limits.h>
47613 #else
47614 # include <assert.h>
47615 #endif
47617 #undef $ac_func
47619 /* Override any gcc2 internal prototype to avoid an error. */
47620 #ifdef __cplusplus
47621 extern "C"
47623 #endif
47624 /* We use char because int might match the return type of a gcc2
47625 builtin and then its argument prototype would still apply. */
47626 char $ac_func ();
47627 /* The GNU C library defines this for functions which it implements
47628 to always fail with ENOSYS. Some functions are actually named
47629 something starting with __ and the normal name is an alias. */
47630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47631 choke me
47632 #else
47633 char (*f) () = $ac_func;
47634 #endif
47635 #ifdef __cplusplus
47637 #endif
47640 main ()
47642 return f != $ac_func;
47644 return 0;
47646 _ACEOF
47647 rm -f conftest.$ac_objext conftest$ac_exeext
47648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47649 (eval $ac_link) 2>conftest.er1
47650 ac_status=$?
47651 grep -v '^ *+' conftest.er1 >conftest.err
47652 rm -f conftest.er1
47653 cat conftest.err >&5
47654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47655 (exit $ac_status); } &&
47656 { ac_try='test -z "$ac_c_werror_flag"
47657 || test ! -s conftest.err'
47658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47659 (eval $ac_try) 2>&5
47660 ac_status=$?
47661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47662 (exit $ac_status); }; } &&
47663 { ac_try='test -s conftest$ac_exeext'
47664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47665 (eval $ac_try) 2>&5
47666 ac_status=$?
47667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47668 (exit $ac_status); }; }; then
47669 eval "$as_ac_var=yes"
47670 else
47671 echo "$as_me: failed program was:" >&5
47672 sed 's/^/| /' conftest.$ac_ext >&5
47674 eval "$as_ac_var=no"
47676 rm -f conftest.err conftest.$ac_objext \
47677 conftest$ac_exeext conftest.$ac_ext
47679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47681 if test `eval echo '${'$as_ac_var'}'` = yes; then
47682 cat >>confdefs.h <<_ACEOF
47683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47684 _ACEOF
47687 done
47689 else
47691 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
47692 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
47693 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
47694 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
47695 echo $ECHO_N "(cached) $ECHO_C" >&6
47696 else
47700 ac_ext=cc
47701 ac_cpp='$CXXCPP $CPPFLAGS'
47702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47706 cat >conftest.$ac_ext <<_ACEOF
47707 /* confdefs.h. */
47708 _ACEOF
47709 cat confdefs.h >>conftest.$ac_ext
47710 cat >>conftest.$ac_ext <<_ACEOF
47711 /* end confdefs.h. */
47712 #include <math.h>
47713 #ifdef HAVE_IEEEFP_H
47714 #include <ieeefp.h>
47715 #endif
47718 main ()
47720 _log10l(0);
47722 return 0;
47724 _ACEOF
47725 rm -f conftest.$ac_objext
47726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47727 (eval $ac_compile) 2>conftest.er1
47728 ac_status=$?
47729 grep -v '^ *+' conftest.er1 >conftest.err
47730 rm -f conftest.er1
47731 cat conftest.err >&5
47732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47733 (exit $ac_status); } &&
47734 { ac_try='test -z "$ac_cxx_werror_flag"
47735 || test ! -s conftest.err'
47736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47737 (eval $ac_try) 2>&5
47738 ac_status=$?
47739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47740 (exit $ac_status); }; } &&
47741 { ac_try='test -s conftest.$ac_objext'
47742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47743 (eval $ac_try) 2>&5
47744 ac_status=$?
47745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47746 (exit $ac_status); }; }; then
47747 glibcxx_cv_func__log10l_use=yes
47748 else
47749 echo "$as_me: failed program was:" >&5
47750 sed 's/^/| /' conftest.$ac_ext >&5
47752 glibcxx_cv_func__log10l_use=no
47754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47755 ac_ext=c
47756 ac_cpp='$CPP $CPPFLAGS'
47757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
47766 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
47768 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
47770 for ac_func in _log10l
47772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47773 echo "$as_me:$LINENO: checking for $ac_func" >&5
47774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47775 if eval "test \"\${$as_ac_var+set}\" = set"; then
47776 echo $ECHO_N "(cached) $ECHO_C" >&6
47777 else
47778 if test x$gcc_no_link = xyes; then
47779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47781 { (exit 1); exit 1; }; }
47783 cat >conftest.$ac_ext <<_ACEOF
47784 /* confdefs.h. */
47785 _ACEOF
47786 cat confdefs.h >>conftest.$ac_ext
47787 cat >>conftest.$ac_ext <<_ACEOF
47788 /* end confdefs.h. */
47789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47791 #define $ac_func innocuous_$ac_func
47793 /* System header to define __stub macros and hopefully few prototypes,
47794 which can conflict with char $ac_func (); below.
47795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47796 <limits.h> exists even on freestanding compilers. */
47798 #ifdef __STDC__
47799 # include <limits.h>
47800 #else
47801 # include <assert.h>
47802 #endif
47804 #undef $ac_func
47806 /* Override any gcc2 internal prototype to avoid an error. */
47807 #ifdef __cplusplus
47808 extern "C"
47810 #endif
47811 /* We use char because int might match the return type of a gcc2
47812 builtin and then its argument prototype would still apply. */
47813 char $ac_func ();
47814 /* The GNU C library defines this for functions which it implements
47815 to always fail with ENOSYS. Some functions are actually named
47816 something starting with __ and the normal name is an alias. */
47817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47818 choke me
47819 #else
47820 char (*f) () = $ac_func;
47821 #endif
47822 #ifdef __cplusplus
47824 #endif
47827 main ()
47829 return f != $ac_func;
47831 return 0;
47833 _ACEOF
47834 rm -f conftest.$ac_objext conftest$ac_exeext
47835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47836 (eval $ac_link) 2>conftest.er1
47837 ac_status=$?
47838 grep -v '^ *+' conftest.er1 >conftest.err
47839 rm -f conftest.er1
47840 cat conftest.err >&5
47841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47842 (exit $ac_status); } &&
47843 { ac_try='test -z "$ac_c_werror_flag"
47844 || test ! -s conftest.err'
47845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47846 (eval $ac_try) 2>&5
47847 ac_status=$?
47848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47849 (exit $ac_status); }; } &&
47850 { ac_try='test -s conftest$ac_exeext'
47851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47852 (eval $ac_try) 2>&5
47853 ac_status=$?
47854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47855 (exit $ac_status); }; }; then
47856 eval "$as_ac_var=yes"
47857 else
47858 echo "$as_me: failed program was:" >&5
47859 sed 's/^/| /' conftest.$ac_ext >&5
47861 eval "$as_ac_var=no"
47863 rm -f conftest.err conftest.$ac_objext \
47864 conftest$ac_exeext conftest.$ac_ext
47866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47868 if test `eval echo '${'$as_ac_var'}'` = yes; then
47869 cat >>confdefs.h <<_ACEOF
47870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47871 _ACEOF
47874 done
47884 echo "$as_me:$LINENO: checking for modfl declaration" >&5
47885 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
47886 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
47887 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
47888 echo $ECHO_N "(cached) $ECHO_C" >&6
47889 else
47893 ac_ext=cc
47894 ac_cpp='$CXXCPP $CPPFLAGS'
47895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47899 cat >conftest.$ac_ext <<_ACEOF
47900 /* confdefs.h. */
47901 _ACEOF
47902 cat confdefs.h >>conftest.$ac_ext
47903 cat >>conftest.$ac_ext <<_ACEOF
47904 /* end confdefs.h. */
47905 #include <math.h>
47907 main ()
47909 modfl(0, 0);
47911 return 0;
47913 _ACEOF
47914 rm -f conftest.$ac_objext
47915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47916 (eval $ac_compile) 2>conftest.er1
47917 ac_status=$?
47918 grep -v '^ *+' conftest.er1 >conftest.err
47919 rm -f conftest.er1
47920 cat conftest.err >&5
47921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47922 (exit $ac_status); } &&
47923 { ac_try='test -z "$ac_cxx_werror_flag"
47924 || test ! -s conftest.err'
47925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47926 (eval $ac_try) 2>&5
47927 ac_status=$?
47928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47929 (exit $ac_status); }; } &&
47930 { ac_try='test -s conftest.$ac_objext'
47931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47932 (eval $ac_try) 2>&5
47933 ac_status=$?
47934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47935 (exit $ac_status); }; }; then
47936 glibcxx_cv_func_modfl_use=yes
47937 else
47938 echo "$as_me: failed program was:" >&5
47939 sed 's/^/| /' conftest.$ac_ext >&5
47941 glibcxx_cv_func_modfl_use=no
47943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47944 ac_ext=c
47945 ac_cpp='$CPP $CPPFLAGS'
47946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47954 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
47955 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
47957 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
47959 for ac_func in modfl
47961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47962 echo "$as_me:$LINENO: checking for $ac_func" >&5
47963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47964 if eval "test \"\${$as_ac_var+set}\" = set"; then
47965 echo $ECHO_N "(cached) $ECHO_C" >&6
47966 else
47967 if test x$gcc_no_link = xyes; then
47968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47970 { (exit 1); exit 1; }; }
47972 cat >conftest.$ac_ext <<_ACEOF
47973 /* confdefs.h. */
47974 _ACEOF
47975 cat confdefs.h >>conftest.$ac_ext
47976 cat >>conftest.$ac_ext <<_ACEOF
47977 /* end confdefs.h. */
47978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47980 #define $ac_func innocuous_$ac_func
47982 /* System header to define __stub macros and hopefully few prototypes,
47983 which can conflict with char $ac_func (); below.
47984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47985 <limits.h> exists even on freestanding compilers. */
47987 #ifdef __STDC__
47988 # include <limits.h>
47989 #else
47990 # include <assert.h>
47991 #endif
47993 #undef $ac_func
47995 /* Override any gcc2 internal prototype to avoid an error. */
47996 #ifdef __cplusplus
47997 extern "C"
47999 #endif
48000 /* We use char because int might match the return type of a gcc2
48001 builtin and then its argument prototype would still apply. */
48002 char $ac_func ();
48003 /* The GNU C library defines this for functions which it implements
48004 to always fail with ENOSYS. Some functions are actually named
48005 something starting with __ and the normal name is an alias. */
48006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48007 choke me
48008 #else
48009 char (*f) () = $ac_func;
48010 #endif
48011 #ifdef __cplusplus
48013 #endif
48016 main ()
48018 return f != $ac_func;
48020 return 0;
48022 _ACEOF
48023 rm -f conftest.$ac_objext conftest$ac_exeext
48024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48025 (eval $ac_link) 2>conftest.er1
48026 ac_status=$?
48027 grep -v '^ *+' conftest.er1 >conftest.err
48028 rm -f conftest.er1
48029 cat conftest.err >&5
48030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48031 (exit $ac_status); } &&
48032 { ac_try='test -z "$ac_c_werror_flag"
48033 || test ! -s conftest.err'
48034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48035 (eval $ac_try) 2>&5
48036 ac_status=$?
48037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48038 (exit $ac_status); }; } &&
48039 { ac_try='test -s conftest$ac_exeext'
48040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48041 (eval $ac_try) 2>&5
48042 ac_status=$?
48043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48044 (exit $ac_status); }; }; then
48045 eval "$as_ac_var=yes"
48046 else
48047 echo "$as_me: failed program was:" >&5
48048 sed 's/^/| /' conftest.$ac_ext >&5
48050 eval "$as_ac_var=no"
48052 rm -f conftest.err conftest.$ac_objext \
48053 conftest$ac_exeext conftest.$ac_ext
48055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48057 if test `eval echo '${'$as_ac_var'}'` = yes; then
48058 cat >>confdefs.h <<_ACEOF
48059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48060 _ACEOF
48063 done
48065 else
48067 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48068 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48069 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48070 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48071 echo $ECHO_N "(cached) $ECHO_C" >&6
48072 else
48076 ac_ext=cc
48077 ac_cpp='$CXXCPP $CPPFLAGS'
48078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48082 cat >conftest.$ac_ext <<_ACEOF
48083 /* confdefs.h. */
48084 _ACEOF
48085 cat confdefs.h >>conftest.$ac_ext
48086 cat >>conftest.$ac_ext <<_ACEOF
48087 /* end confdefs.h. */
48088 #include <math.h>
48090 main ()
48092 _modfl(0, 0);
48094 return 0;
48096 _ACEOF
48097 rm -f conftest.$ac_objext
48098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48099 (eval $ac_compile) 2>conftest.er1
48100 ac_status=$?
48101 grep -v '^ *+' conftest.er1 >conftest.err
48102 rm -f conftest.er1
48103 cat conftest.err >&5
48104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48105 (exit $ac_status); } &&
48106 { ac_try='test -z "$ac_cxx_werror_flag"
48107 || test ! -s conftest.err'
48108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48109 (eval $ac_try) 2>&5
48110 ac_status=$?
48111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48112 (exit $ac_status); }; } &&
48113 { ac_try='test -s conftest.$ac_objext'
48114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48115 (eval $ac_try) 2>&5
48116 ac_status=$?
48117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48118 (exit $ac_status); }; }; then
48119 glibcxx_cv_func__modfl_use=yes
48120 else
48121 echo "$as_me: failed program was:" >&5
48122 sed 's/^/| /' conftest.$ac_ext >&5
48124 glibcxx_cv_func__modfl_use=no
48126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48127 ac_ext=c
48128 ac_cpp='$CPP $CPPFLAGS'
48129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48137 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48138 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48140 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48142 for ac_func in _modfl
48144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48145 echo "$as_me:$LINENO: checking for $ac_func" >&5
48146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48147 if eval "test \"\${$as_ac_var+set}\" = set"; then
48148 echo $ECHO_N "(cached) $ECHO_C" >&6
48149 else
48150 if test x$gcc_no_link = xyes; then
48151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48153 { (exit 1); exit 1; }; }
48155 cat >conftest.$ac_ext <<_ACEOF
48156 /* confdefs.h. */
48157 _ACEOF
48158 cat confdefs.h >>conftest.$ac_ext
48159 cat >>conftest.$ac_ext <<_ACEOF
48160 /* end confdefs.h. */
48161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48163 #define $ac_func innocuous_$ac_func
48165 /* System header to define __stub macros and hopefully few prototypes,
48166 which can conflict with char $ac_func (); below.
48167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48168 <limits.h> exists even on freestanding compilers. */
48170 #ifdef __STDC__
48171 # include <limits.h>
48172 #else
48173 # include <assert.h>
48174 #endif
48176 #undef $ac_func
48178 /* Override any gcc2 internal prototype to avoid an error. */
48179 #ifdef __cplusplus
48180 extern "C"
48182 #endif
48183 /* We use char because int might match the return type of a gcc2
48184 builtin and then its argument prototype would still apply. */
48185 char $ac_func ();
48186 /* The GNU C library defines this for functions which it implements
48187 to always fail with ENOSYS. Some functions are actually named
48188 something starting with __ and the normal name is an alias. */
48189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48190 choke me
48191 #else
48192 char (*f) () = $ac_func;
48193 #endif
48194 #ifdef __cplusplus
48196 #endif
48199 main ()
48201 return f != $ac_func;
48203 return 0;
48205 _ACEOF
48206 rm -f conftest.$ac_objext conftest$ac_exeext
48207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48208 (eval $ac_link) 2>conftest.er1
48209 ac_status=$?
48210 grep -v '^ *+' conftest.er1 >conftest.err
48211 rm -f conftest.er1
48212 cat conftest.err >&5
48213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48214 (exit $ac_status); } &&
48215 { ac_try='test -z "$ac_c_werror_flag"
48216 || test ! -s conftest.err'
48217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48218 (eval $ac_try) 2>&5
48219 ac_status=$?
48220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48221 (exit $ac_status); }; } &&
48222 { ac_try='test -s conftest$ac_exeext'
48223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48224 (eval $ac_try) 2>&5
48225 ac_status=$?
48226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48227 (exit $ac_status); }; }; then
48228 eval "$as_ac_var=yes"
48229 else
48230 echo "$as_me: failed program was:" >&5
48231 sed 's/^/| /' conftest.$ac_ext >&5
48233 eval "$as_ac_var=no"
48235 rm -f conftest.err conftest.$ac_objext \
48236 conftest$ac_exeext conftest.$ac_ext
48238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48240 if test `eval echo '${'$as_ac_var'}'` = yes; then
48241 cat >>confdefs.h <<_ACEOF
48242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48243 _ACEOF
48246 done
48256 echo "$as_me:$LINENO: checking for powl declaration" >&5
48257 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48258 if test x${glibcxx_cv_func_powl_use+set} != xset; then
48259 if test "${glibcxx_cv_func_powl_use+set}" = set; then
48260 echo $ECHO_N "(cached) $ECHO_C" >&6
48261 else
48265 ac_ext=cc
48266 ac_cpp='$CXXCPP $CPPFLAGS'
48267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48271 cat >conftest.$ac_ext <<_ACEOF
48272 /* confdefs.h. */
48273 _ACEOF
48274 cat confdefs.h >>conftest.$ac_ext
48275 cat >>conftest.$ac_ext <<_ACEOF
48276 /* end confdefs.h. */
48277 #include <math.h>
48279 main ()
48281 powl(0, 0);
48283 return 0;
48285 _ACEOF
48286 rm -f conftest.$ac_objext
48287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48288 (eval $ac_compile) 2>conftest.er1
48289 ac_status=$?
48290 grep -v '^ *+' conftest.er1 >conftest.err
48291 rm -f conftest.er1
48292 cat conftest.err >&5
48293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48294 (exit $ac_status); } &&
48295 { ac_try='test -z "$ac_cxx_werror_flag"
48296 || test ! -s conftest.err'
48297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48298 (eval $ac_try) 2>&5
48299 ac_status=$?
48300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48301 (exit $ac_status); }; } &&
48302 { ac_try='test -s conftest.$ac_objext'
48303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48304 (eval $ac_try) 2>&5
48305 ac_status=$?
48306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48307 (exit $ac_status); }; }; then
48308 glibcxx_cv_func_powl_use=yes
48309 else
48310 echo "$as_me: failed program was:" >&5
48311 sed 's/^/| /' conftest.$ac_ext >&5
48313 glibcxx_cv_func_powl_use=no
48315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48316 ac_ext=c
48317 ac_cpp='$CPP $CPPFLAGS'
48318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48326 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48327 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48329 if test x$glibcxx_cv_func_powl_use = x"yes"; then
48331 for ac_func in powl
48333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48334 echo "$as_me:$LINENO: checking for $ac_func" >&5
48335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48336 if eval "test \"\${$as_ac_var+set}\" = set"; then
48337 echo $ECHO_N "(cached) $ECHO_C" >&6
48338 else
48339 if test x$gcc_no_link = xyes; then
48340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48342 { (exit 1); exit 1; }; }
48344 cat >conftest.$ac_ext <<_ACEOF
48345 /* confdefs.h. */
48346 _ACEOF
48347 cat confdefs.h >>conftest.$ac_ext
48348 cat >>conftest.$ac_ext <<_ACEOF
48349 /* end confdefs.h. */
48350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48352 #define $ac_func innocuous_$ac_func
48354 /* System header to define __stub macros and hopefully few prototypes,
48355 which can conflict with char $ac_func (); below.
48356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48357 <limits.h> exists even on freestanding compilers. */
48359 #ifdef __STDC__
48360 # include <limits.h>
48361 #else
48362 # include <assert.h>
48363 #endif
48365 #undef $ac_func
48367 /* Override any gcc2 internal prototype to avoid an error. */
48368 #ifdef __cplusplus
48369 extern "C"
48371 #endif
48372 /* We use char because int might match the return type of a gcc2
48373 builtin and then its argument prototype would still apply. */
48374 char $ac_func ();
48375 /* The GNU C library defines this for functions which it implements
48376 to always fail with ENOSYS. Some functions are actually named
48377 something starting with __ and the normal name is an alias. */
48378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48379 choke me
48380 #else
48381 char (*f) () = $ac_func;
48382 #endif
48383 #ifdef __cplusplus
48385 #endif
48388 main ()
48390 return f != $ac_func;
48392 return 0;
48394 _ACEOF
48395 rm -f conftest.$ac_objext conftest$ac_exeext
48396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48397 (eval $ac_link) 2>conftest.er1
48398 ac_status=$?
48399 grep -v '^ *+' conftest.er1 >conftest.err
48400 rm -f conftest.er1
48401 cat conftest.err >&5
48402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48403 (exit $ac_status); } &&
48404 { ac_try='test -z "$ac_c_werror_flag"
48405 || test ! -s conftest.err'
48406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48407 (eval $ac_try) 2>&5
48408 ac_status=$?
48409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48410 (exit $ac_status); }; } &&
48411 { ac_try='test -s conftest$ac_exeext'
48412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48413 (eval $ac_try) 2>&5
48414 ac_status=$?
48415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48416 (exit $ac_status); }; }; then
48417 eval "$as_ac_var=yes"
48418 else
48419 echo "$as_me: failed program was:" >&5
48420 sed 's/^/| /' conftest.$ac_ext >&5
48422 eval "$as_ac_var=no"
48424 rm -f conftest.err conftest.$ac_objext \
48425 conftest$ac_exeext conftest.$ac_ext
48427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48429 if test `eval echo '${'$as_ac_var'}'` = yes; then
48430 cat >>confdefs.h <<_ACEOF
48431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48432 _ACEOF
48435 done
48437 else
48439 echo "$as_me:$LINENO: checking for _powl declaration" >&5
48440 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
48441 if test x${glibcxx_cv_func__powl_use+set} != xset; then
48442 if test "${glibcxx_cv_func__powl_use+set}" = set; then
48443 echo $ECHO_N "(cached) $ECHO_C" >&6
48444 else
48448 ac_ext=cc
48449 ac_cpp='$CXXCPP $CPPFLAGS'
48450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48454 cat >conftest.$ac_ext <<_ACEOF
48455 /* confdefs.h. */
48456 _ACEOF
48457 cat confdefs.h >>conftest.$ac_ext
48458 cat >>conftest.$ac_ext <<_ACEOF
48459 /* end confdefs.h. */
48460 #include <math.h>
48462 main ()
48464 _powl(0, 0);
48466 return 0;
48468 _ACEOF
48469 rm -f conftest.$ac_objext
48470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48471 (eval $ac_compile) 2>conftest.er1
48472 ac_status=$?
48473 grep -v '^ *+' conftest.er1 >conftest.err
48474 rm -f conftest.er1
48475 cat conftest.err >&5
48476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48477 (exit $ac_status); } &&
48478 { ac_try='test -z "$ac_cxx_werror_flag"
48479 || test ! -s conftest.err'
48480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48481 (eval $ac_try) 2>&5
48482 ac_status=$?
48483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48484 (exit $ac_status); }; } &&
48485 { ac_try='test -s conftest.$ac_objext'
48486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48487 (eval $ac_try) 2>&5
48488 ac_status=$?
48489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48490 (exit $ac_status); }; }; then
48491 glibcxx_cv_func__powl_use=yes
48492 else
48493 echo "$as_me: failed program was:" >&5
48494 sed 's/^/| /' conftest.$ac_ext >&5
48496 glibcxx_cv_func__powl_use=no
48498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48499 ac_ext=c
48500 ac_cpp='$CPP $CPPFLAGS'
48501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48509 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
48510 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
48512 if test x$glibcxx_cv_func__powl_use = x"yes"; then
48514 for ac_func in _powl
48516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48517 echo "$as_me:$LINENO: checking for $ac_func" >&5
48518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48519 if eval "test \"\${$as_ac_var+set}\" = set"; then
48520 echo $ECHO_N "(cached) $ECHO_C" >&6
48521 else
48522 if test x$gcc_no_link = xyes; then
48523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48525 { (exit 1); exit 1; }; }
48527 cat >conftest.$ac_ext <<_ACEOF
48528 /* confdefs.h. */
48529 _ACEOF
48530 cat confdefs.h >>conftest.$ac_ext
48531 cat >>conftest.$ac_ext <<_ACEOF
48532 /* end confdefs.h. */
48533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48535 #define $ac_func innocuous_$ac_func
48537 /* System header to define __stub macros and hopefully few prototypes,
48538 which can conflict with char $ac_func (); below.
48539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48540 <limits.h> exists even on freestanding compilers. */
48542 #ifdef __STDC__
48543 # include <limits.h>
48544 #else
48545 # include <assert.h>
48546 #endif
48548 #undef $ac_func
48550 /* Override any gcc2 internal prototype to avoid an error. */
48551 #ifdef __cplusplus
48552 extern "C"
48554 #endif
48555 /* We use char because int might match the return type of a gcc2
48556 builtin and then its argument prototype would still apply. */
48557 char $ac_func ();
48558 /* The GNU C library defines this for functions which it implements
48559 to always fail with ENOSYS. Some functions are actually named
48560 something starting with __ and the normal name is an alias. */
48561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48562 choke me
48563 #else
48564 char (*f) () = $ac_func;
48565 #endif
48566 #ifdef __cplusplus
48568 #endif
48571 main ()
48573 return f != $ac_func;
48575 return 0;
48577 _ACEOF
48578 rm -f conftest.$ac_objext conftest$ac_exeext
48579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48580 (eval $ac_link) 2>conftest.er1
48581 ac_status=$?
48582 grep -v '^ *+' conftest.er1 >conftest.err
48583 rm -f conftest.er1
48584 cat conftest.err >&5
48585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48586 (exit $ac_status); } &&
48587 { ac_try='test -z "$ac_c_werror_flag"
48588 || test ! -s conftest.err'
48589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48590 (eval $ac_try) 2>&5
48591 ac_status=$?
48592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48593 (exit $ac_status); }; } &&
48594 { ac_try='test -s conftest$ac_exeext'
48595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48596 (eval $ac_try) 2>&5
48597 ac_status=$?
48598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48599 (exit $ac_status); }; }; then
48600 eval "$as_ac_var=yes"
48601 else
48602 echo "$as_me: failed program was:" >&5
48603 sed 's/^/| /' conftest.$ac_ext >&5
48605 eval "$as_ac_var=no"
48607 rm -f conftest.err conftest.$ac_objext \
48608 conftest$ac_exeext conftest.$ac_ext
48610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48612 if test `eval echo '${'$as_ac_var'}'` = yes; then
48613 cat >>confdefs.h <<_ACEOF
48614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48615 _ACEOF
48618 done
48628 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48629 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48630 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48631 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48632 echo $ECHO_N "(cached) $ECHO_C" >&6
48633 else
48637 ac_ext=cc
48638 ac_cpp='$CXXCPP $CPPFLAGS'
48639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48643 cat >conftest.$ac_ext <<_ACEOF
48644 /* confdefs.h. */
48645 _ACEOF
48646 cat confdefs.h >>conftest.$ac_ext
48647 cat >>conftest.$ac_ext <<_ACEOF
48648 /* end confdefs.h. */
48649 #include <math.h>
48650 #ifdef HAVE_IEEEFP_H
48651 #include <ieeefp.h>
48652 #endif
48655 main ()
48657 sqrtl(0);
48659 return 0;
48661 _ACEOF
48662 rm -f conftest.$ac_objext
48663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48664 (eval $ac_compile) 2>conftest.er1
48665 ac_status=$?
48666 grep -v '^ *+' conftest.er1 >conftest.err
48667 rm -f conftest.er1
48668 cat conftest.err >&5
48669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48670 (exit $ac_status); } &&
48671 { ac_try='test -z "$ac_cxx_werror_flag"
48672 || test ! -s conftest.err'
48673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48674 (eval $ac_try) 2>&5
48675 ac_status=$?
48676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48677 (exit $ac_status); }; } &&
48678 { ac_try='test -s conftest.$ac_objext'
48679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48680 (eval $ac_try) 2>&5
48681 ac_status=$?
48682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48683 (exit $ac_status); }; }; then
48684 glibcxx_cv_func_sqrtl_use=yes
48685 else
48686 echo "$as_me: failed program was:" >&5
48687 sed 's/^/| /' conftest.$ac_ext >&5
48689 glibcxx_cv_func_sqrtl_use=no
48691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48692 ac_ext=c
48693 ac_cpp='$CPP $CPPFLAGS'
48694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48702 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
48703 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
48705 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48707 for ac_func in sqrtl
48709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48710 echo "$as_me:$LINENO: checking for $ac_func" >&5
48711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48712 if eval "test \"\${$as_ac_var+set}\" = set"; then
48713 echo $ECHO_N "(cached) $ECHO_C" >&6
48714 else
48715 if test x$gcc_no_link = xyes; then
48716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48718 { (exit 1); exit 1; }; }
48720 cat >conftest.$ac_ext <<_ACEOF
48721 /* confdefs.h. */
48722 _ACEOF
48723 cat confdefs.h >>conftest.$ac_ext
48724 cat >>conftest.$ac_ext <<_ACEOF
48725 /* end confdefs.h. */
48726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48728 #define $ac_func innocuous_$ac_func
48730 /* System header to define __stub macros and hopefully few prototypes,
48731 which can conflict with char $ac_func (); below.
48732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48733 <limits.h> exists even on freestanding compilers. */
48735 #ifdef __STDC__
48736 # include <limits.h>
48737 #else
48738 # include <assert.h>
48739 #endif
48741 #undef $ac_func
48743 /* Override any gcc2 internal prototype to avoid an error. */
48744 #ifdef __cplusplus
48745 extern "C"
48747 #endif
48748 /* We use char because int might match the return type of a gcc2
48749 builtin and then its argument prototype would still apply. */
48750 char $ac_func ();
48751 /* The GNU C library defines this for functions which it implements
48752 to always fail with ENOSYS. Some functions are actually named
48753 something starting with __ and the normal name is an alias. */
48754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48755 choke me
48756 #else
48757 char (*f) () = $ac_func;
48758 #endif
48759 #ifdef __cplusplus
48761 #endif
48764 main ()
48766 return f != $ac_func;
48768 return 0;
48770 _ACEOF
48771 rm -f conftest.$ac_objext conftest$ac_exeext
48772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48773 (eval $ac_link) 2>conftest.er1
48774 ac_status=$?
48775 grep -v '^ *+' conftest.er1 >conftest.err
48776 rm -f conftest.er1
48777 cat conftest.err >&5
48778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48779 (exit $ac_status); } &&
48780 { ac_try='test -z "$ac_c_werror_flag"
48781 || test ! -s conftest.err'
48782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48783 (eval $ac_try) 2>&5
48784 ac_status=$?
48785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48786 (exit $ac_status); }; } &&
48787 { ac_try='test -s conftest$ac_exeext'
48788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48789 (eval $ac_try) 2>&5
48790 ac_status=$?
48791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48792 (exit $ac_status); }; }; then
48793 eval "$as_ac_var=yes"
48794 else
48795 echo "$as_me: failed program was:" >&5
48796 sed 's/^/| /' conftest.$ac_ext >&5
48798 eval "$as_ac_var=no"
48800 rm -f conftest.err conftest.$ac_objext \
48801 conftest$ac_exeext conftest.$ac_ext
48803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48805 if test `eval echo '${'$as_ac_var'}'` = yes; then
48806 cat >>confdefs.h <<_ACEOF
48807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48808 _ACEOF
48811 done
48813 else
48815 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
48816 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
48817 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48818 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
48819 echo $ECHO_N "(cached) $ECHO_C" >&6
48820 else
48824 ac_ext=cc
48825 ac_cpp='$CXXCPP $CPPFLAGS'
48826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48830 cat >conftest.$ac_ext <<_ACEOF
48831 /* confdefs.h. */
48832 _ACEOF
48833 cat confdefs.h >>conftest.$ac_ext
48834 cat >>conftest.$ac_ext <<_ACEOF
48835 /* end confdefs.h. */
48836 #include <math.h>
48837 #ifdef HAVE_IEEEFP_H
48838 #include <ieeefp.h>
48839 #endif
48842 main ()
48844 _sqrtl(0);
48846 return 0;
48848 _ACEOF
48849 rm -f conftest.$ac_objext
48850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48851 (eval $ac_compile) 2>conftest.er1
48852 ac_status=$?
48853 grep -v '^ *+' conftest.er1 >conftest.err
48854 rm -f conftest.er1
48855 cat conftest.err >&5
48856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48857 (exit $ac_status); } &&
48858 { ac_try='test -z "$ac_cxx_werror_flag"
48859 || test ! -s conftest.err'
48860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48861 (eval $ac_try) 2>&5
48862 ac_status=$?
48863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48864 (exit $ac_status); }; } &&
48865 { ac_try='test -s conftest.$ac_objext'
48866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48867 (eval $ac_try) 2>&5
48868 ac_status=$?
48869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48870 (exit $ac_status); }; }; then
48871 glibcxx_cv_func__sqrtl_use=yes
48872 else
48873 echo "$as_me: failed program was:" >&5
48874 sed 's/^/| /' conftest.$ac_ext >&5
48876 glibcxx_cv_func__sqrtl_use=no
48878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48879 ac_ext=c
48880 ac_cpp='$CPP $CPPFLAGS'
48881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48889 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
48890 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
48892 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
48894 for ac_func in _sqrtl
48896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48897 echo "$as_me:$LINENO: checking for $ac_func" >&5
48898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48899 if eval "test \"\${$as_ac_var+set}\" = set"; then
48900 echo $ECHO_N "(cached) $ECHO_C" >&6
48901 else
48902 if test x$gcc_no_link = xyes; then
48903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48905 { (exit 1); exit 1; }; }
48907 cat >conftest.$ac_ext <<_ACEOF
48908 /* confdefs.h. */
48909 _ACEOF
48910 cat confdefs.h >>conftest.$ac_ext
48911 cat >>conftest.$ac_ext <<_ACEOF
48912 /* end confdefs.h. */
48913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48915 #define $ac_func innocuous_$ac_func
48917 /* System header to define __stub macros and hopefully few prototypes,
48918 which can conflict with char $ac_func (); below.
48919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48920 <limits.h> exists even on freestanding compilers. */
48922 #ifdef __STDC__
48923 # include <limits.h>
48924 #else
48925 # include <assert.h>
48926 #endif
48928 #undef $ac_func
48930 /* Override any gcc2 internal prototype to avoid an error. */
48931 #ifdef __cplusplus
48932 extern "C"
48934 #endif
48935 /* We use char because int might match the return type of a gcc2
48936 builtin and then its argument prototype would still apply. */
48937 char $ac_func ();
48938 /* The GNU C library defines this for functions which it implements
48939 to always fail with ENOSYS. Some functions are actually named
48940 something starting with __ and the normal name is an alias. */
48941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48942 choke me
48943 #else
48944 char (*f) () = $ac_func;
48945 #endif
48946 #ifdef __cplusplus
48948 #endif
48951 main ()
48953 return f != $ac_func;
48955 return 0;
48957 _ACEOF
48958 rm -f conftest.$ac_objext conftest$ac_exeext
48959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48960 (eval $ac_link) 2>conftest.er1
48961 ac_status=$?
48962 grep -v '^ *+' conftest.er1 >conftest.err
48963 rm -f conftest.er1
48964 cat conftest.err >&5
48965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48966 (exit $ac_status); } &&
48967 { ac_try='test -z "$ac_c_werror_flag"
48968 || test ! -s conftest.err'
48969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48970 (eval $ac_try) 2>&5
48971 ac_status=$?
48972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48973 (exit $ac_status); }; } &&
48974 { ac_try='test -s conftest$ac_exeext'
48975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48976 (eval $ac_try) 2>&5
48977 ac_status=$?
48978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48979 (exit $ac_status); }; }; then
48980 eval "$as_ac_var=yes"
48981 else
48982 echo "$as_me: failed program was:" >&5
48983 sed 's/^/| /' conftest.$ac_ext >&5
48985 eval "$as_ac_var=no"
48987 rm -f conftest.err conftest.$ac_objext \
48988 conftest$ac_exeext conftest.$ac_ext
48990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48992 if test `eval echo '${'$as_ac_var'}'` = yes; then
48993 cat >>confdefs.h <<_ACEOF
48994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48995 _ACEOF
48998 done
49008 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49009 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49010 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49011 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49012 echo $ECHO_N "(cached) $ECHO_C" >&6
49013 else
49017 ac_ext=cc
49018 ac_cpp='$CXXCPP $CPPFLAGS'
49019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49023 cat >conftest.$ac_ext <<_ACEOF
49024 /* confdefs.h. */
49025 _ACEOF
49026 cat confdefs.h >>conftest.$ac_ext
49027 cat >>conftest.$ac_ext <<_ACEOF
49028 /* end confdefs.h. */
49029 #include <math.h>
49031 main ()
49033 sincosl(0, 0, 0);
49035 return 0;
49037 _ACEOF
49038 rm -f conftest.$ac_objext
49039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49040 (eval $ac_compile) 2>conftest.er1
49041 ac_status=$?
49042 grep -v '^ *+' conftest.er1 >conftest.err
49043 rm -f conftest.er1
49044 cat conftest.err >&5
49045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49046 (exit $ac_status); } &&
49047 { ac_try='test -z "$ac_cxx_werror_flag"
49048 || test ! -s conftest.err'
49049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49050 (eval $ac_try) 2>&5
49051 ac_status=$?
49052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49053 (exit $ac_status); }; } &&
49054 { ac_try='test -s conftest.$ac_objext'
49055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49056 (eval $ac_try) 2>&5
49057 ac_status=$?
49058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49059 (exit $ac_status); }; }; then
49060 glibcxx_cv_func_sincosl_use=yes
49061 else
49062 echo "$as_me: failed program was:" >&5
49063 sed 's/^/| /' conftest.$ac_ext >&5
49065 glibcxx_cv_func_sincosl_use=no
49067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49068 ac_ext=c
49069 ac_cpp='$CPP $CPPFLAGS'
49070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49078 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49079 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49081 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49083 for ac_func in sincosl
49085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49086 echo "$as_me:$LINENO: checking for $ac_func" >&5
49087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49088 if eval "test \"\${$as_ac_var+set}\" = set"; then
49089 echo $ECHO_N "(cached) $ECHO_C" >&6
49090 else
49091 if test x$gcc_no_link = xyes; then
49092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49094 { (exit 1); exit 1; }; }
49096 cat >conftest.$ac_ext <<_ACEOF
49097 /* confdefs.h. */
49098 _ACEOF
49099 cat confdefs.h >>conftest.$ac_ext
49100 cat >>conftest.$ac_ext <<_ACEOF
49101 /* end confdefs.h. */
49102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49104 #define $ac_func innocuous_$ac_func
49106 /* System header to define __stub macros and hopefully few prototypes,
49107 which can conflict with char $ac_func (); below.
49108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49109 <limits.h> exists even on freestanding compilers. */
49111 #ifdef __STDC__
49112 # include <limits.h>
49113 #else
49114 # include <assert.h>
49115 #endif
49117 #undef $ac_func
49119 /* Override any gcc2 internal prototype to avoid an error. */
49120 #ifdef __cplusplus
49121 extern "C"
49123 #endif
49124 /* We use char because int might match the return type of a gcc2
49125 builtin and then its argument prototype would still apply. */
49126 char $ac_func ();
49127 /* The GNU C library defines this for functions which it implements
49128 to always fail with ENOSYS. Some functions are actually named
49129 something starting with __ and the normal name is an alias. */
49130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49131 choke me
49132 #else
49133 char (*f) () = $ac_func;
49134 #endif
49135 #ifdef __cplusplus
49137 #endif
49140 main ()
49142 return f != $ac_func;
49144 return 0;
49146 _ACEOF
49147 rm -f conftest.$ac_objext conftest$ac_exeext
49148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49149 (eval $ac_link) 2>conftest.er1
49150 ac_status=$?
49151 grep -v '^ *+' conftest.er1 >conftest.err
49152 rm -f conftest.er1
49153 cat conftest.err >&5
49154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49155 (exit $ac_status); } &&
49156 { ac_try='test -z "$ac_c_werror_flag"
49157 || test ! -s conftest.err'
49158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49159 (eval $ac_try) 2>&5
49160 ac_status=$?
49161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49162 (exit $ac_status); }; } &&
49163 { ac_try='test -s conftest$ac_exeext'
49164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49165 (eval $ac_try) 2>&5
49166 ac_status=$?
49167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49168 (exit $ac_status); }; }; then
49169 eval "$as_ac_var=yes"
49170 else
49171 echo "$as_me: failed program was:" >&5
49172 sed 's/^/| /' conftest.$ac_ext >&5
49174 eval "$as_ac_var=no"
49176 rm -f conftest.err conftest.$ac_objext \
49177 conftest$ac_exeext conftest.$ac_ext
49179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49181 if test `eval echo '${'$as_ac_var'}'` = yes; then
49182 cat >>confdefs.h <<_ACEOF
49183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49184 _ACEOF
49187 done
49189 else
49191 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49192 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49193 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49194 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49195 echo $ECHO_N "(cached) $ECHO_C" >&6
49196 else
49200 ac_ext=cc
49201 ac_cpp='$CXXCPP $CPPFLAGS'
49202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49206 cat >conftest.$ac_ext <<_ACEOF
49207 /* confdefs.h. */
49208 _ACEOF
49209 cat confdefs.h >>conftest.$ac_ext
49210 cat >>conftest.$ac_ext <<_ACEOF
49211 /* end confdefs.h. */
49212 #include <math.h>
49214 main ()
49216 _sincosl(0, 0, 0);
49218 return 0;
49220 _ACEOF
49221 rm -f conftest.$ac_objext
49222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49223 (eval $ac_compile) 2>conftest.er1
49224 ac_status=$?
49225 grep -v '^ *+' conftest.er1 >conftest.err
49226 rm -f conftest.er1
49227 cat conftest.err >&5
49228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49229 (exit $ac_status); } &&
49230 { ac_try='test -z "$ac_cxx_werror_flag"
49231 || test ! -s conftest.err'
49232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49233 (eval $ac_try) 2>&5
49234 ac_status=$?
49235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49236 (exit $ac_status); }; } &&
49237 { ac_try='test -s conftest.$ac_objext'
49238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49239 (eval $ac_try) 2>&5
49240 ac_status=$?
49241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49242 (exit $ac_status); }; }; then
49243 glibcxx_cv_func__sincosl_use=yes
49244 else
49245 echo "$as_me: failed program was:" >&5
49246 sed 's/^/| /' conftest.$ac_ext >&5
49248 glibcxx_cv_func__sincosl_use=no
49250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49251 ac_ext=c
49252 ac_cpp='$CPP $CPPFLAGS'
49253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49262 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49264 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49266 for ac_func in _sincosl
49268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49269 echo "$as_me:$LINENO: checking for $ac_func" >&5
49270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49271 if eval "test \"\${$as_ac_var+set}\" = set"; then
49272 echo $ECHO_N "(cached) $ECHO_C" >&6
49273 else
49274 if test x$gcc_no_link = xyes; then
49275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49277 { (exit 1); exit 1; }; }
49279 cat >conftest.$ac_ext <<_ACEOF
49280 /* confdefs.h. */
49281 _ACEOF
49282 cat confdefs.h >>conftest.$ac_ext
49283 cat >>conftest.$ac_ext <<_ACEOF
49284 /* end confdefs.h. */
49285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49287 #define $ac_func innocuous_$ac_func
49289 /* System header to define __stub macros and hopefully few prototypes,
49290 which can conflict with char $ac_func (); below.
49291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49292 <limits.h> exists even on freestanding compilers. */
49294 #ifdef __STDC__
49295 # include <limits.h>
49296 #else
49297 # include <assert.h>
49298 #endif
49300 #undef $ac_func
49302 /* Override any gcc2 internal prototype to avoid an error. */
49303 #ifdef __cplusplus
49304 extern "C"
49306 #endif
49307 /* We use char because int might match the return type of a gcc2
49308 builtin and then its argument prototype would still apply. */
49309 char $ac_func ();
49310 /* The GNU C library defines this for functions which it implements
49311 to always fail with ENOSYS. Some functions are actually named
49312 something starting with __ and the normal name is an alias. */
49313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49314 choke me
49315 #else
49316 char (*f) () = $ac_func;
49317 #endif
49318 #ifdef __cplusplus
49320 #endif
49323 main ()
49325 return f != $ac_func;
49327 return 0;
49329 _ACEOF
49330 rm -f conftest.$ac_objext conftest$ac_exeext
49331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49332 (eval $ac_link) 2>conftest.er1
49333 ac_status=$?
49334 grep -v '^ *+' conftest.er1 >conftest.err
49335 rm -f conftest.er1
49336 cat conftest.err >&5
49337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49338 (exit $ac_status); } &&
49339 { ac_try='test -z "$ac_c_werror_flag"
49340 || test ! -s conftest.err'
49341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49342 (eval $ac_try) 2>&5
49343 ac_status=$?
49344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49345 (exit $ac_status); }; } &&
49346 { ac_try='test -s conftest$ac_exeext'
49347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49348 (eval $ac_try) 2>&5
49349 ac_status=$?
49350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49351 (exit $ac_status); }; }; then
49352 eval "$as_ac_var=yes"
49353 else
49354 echo "$as_me: failed program was:" >&5
49355 sed 's/^/| /' conftest.$ac_ext >&5
49357 eval "$as_ac_var=no"
49359 rm -f conftest.err conftest.$ac_objext \
49360 conftest$ac_exeext conftest.$ac_ext
49362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49364 if test `eval echo '${'$as_ac_var'}'` = yes; then
49365 cat >>confdefs.h <<_ACEOF
49366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49367 _ACEOF
49370 done
49380 echo "$as_me:$LINENO: checking for finitel declaration" >&5
49381 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49382 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49383 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49384 echo $ECHO_N "(cached) $ECHO_C" >&6
49385 else
49389 ac_ext=cc
49390 ac_cpp='$CXXCPP $CPPFLAGS'
49391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49395 cat >conftest.$ac_ext <<_ACEOF
49396 /* confdefs.h. */
49397 _ACEOF
49398 cat confdefs.h >>conftest.$ac_ext
49399 cat >>conftest.$ac_ext <<_ACEOF
49400 /* end confdefs.h. */
49401 #include <math.h>
49402 #ifdef HAVE_IEEEFP_H
49403 #include <ieeefp.h>
49404 #endif
49407 main ()
49409 finitel(0);
49411 return 0;
49413 _ACEOF
49414 rm -f conftest.$ac_objext
49415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49416 (eval $ac_compile) 2>conftest.er1
49417 ac_status=$?
49418 grep -v '^ *+' conftest.er1 >conftest.err
49419 rm -f conftest.er1
49420 cat conftest.err >&5
49421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49422 (exit $ac_status); } &&
49423 { ac_try='test -z "$ac_cxx_werror_flag"
49424 || test ! -s conftest.err'
49425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49426 (eval $ac_try) 2>&5
49427 ac_status=$?
49428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49429 (exit $ac_status); }; } &&
49430 { ac_try='test -s conftest.$ac_objext'
49431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49432 (eval $ac_try) 2>&5
49433 ac_status=$?
49434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49435 (exit $ac_status); }; }; then
49436 glibcxx_cv_func_finitel_use=yes
49437 else
49438 echo "$as_me: failed program was:" >&5
49439 sed 's/^/| /' conftest.$ac_ext >&5
49441 glibcxx_cv_func_finitel_use=no
49443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49444 ac_ext=c
49445 ac_cpp='$CPP $CPPFLAGS'
49446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
49455 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
49457 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
49459 for ac_func in finitel
49461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49462 echo "$as_me:$LINENO: checking for $ac_func" >&5
49463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49464 if eval "test \"\${$as_ac_var+set}\" = set"; then
49465 echo $ECHO_N "(cached) $ECHO_C" >&6
49466 else
49467 if test x$gcc_no_link = xyes; then
49468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49470 { (exit 1); exit 1; }; }
49472 cat >conftest.$ac_ext <<_ACEOF
49473 /* confdefs.h. */
49474 _ACEOF
49475 cat confdefs.h >>conftest.$ac_ext
49476 cat >>conftest.$ac_ext <<_ACEOF
49477 /* end confdefs.h. */
49478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49480 #define $ac_func innocuous_$ac_func
49482 /* System header to define __stub macros and hopefully few prototypes,
49483 which can conflict with char $ac_func (); below.
49484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49485 <limits.h> exists even on freestanding compilers. */
49487 #ifdef __STDC__
49488 # include <limits.h>
49489 #else
49490 # include <assert.h>
49491 #endif
49493 #undef $ac_func
49495 /* Override any gcc2 internal prototype to avoid an error. */
49496 #ifdef __cplusplus
49497 extern "C"
49499 #endif
49500 /* We use char because int might match the return type of a gcc2
49501 builtin and then its argument prototype would still apply. */
49502 char $ac_func ();
49503 /* The GNU C library defines this for functions which it implements
49504 to always fail with ENOSYS. Some functions are actually named
49505 something starting with __ and the normal name is an alias. */
49506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49507 choke me
49508 #else
49509 char (*f) () = $ac_func;
49510 #endif
49511 #ifdef __cplusplus
49513 #endif
49516 main ()
49518 return f != $ac_func;
49520 return 0;
49522 _ACEOF
49523 rm -f conftest.$ac_objext conftest$ac_exeext
49524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49525 (eval $ac_link) 2>conftest.er1
49526 ac_status=$?
49527 grep -v '^ *+' conftest.er1 >conftest.err
49528 rm -f conftest.er1
49529 cat conftest.err >&5
49530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49531 (exit $ac_status); } &&
49532 { ac_try='test -z "$ac_c_werror_flag"
49533 || test ! -s conftest.err'
49534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49535 (eval $ac_try) 2>&5
49536 ac_status=$?
49537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49538 (exit $ac_status); }; } &&
49539 { ac_try='test -s conftest$ac_exeext'
49540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49541 (eval $ac_try) 2>&5
49542 ac_status=$?
49543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49544 (exit $ac_status); }; }; then
49545 eval "$as_ac_var=yes"
49546 else
49547 echo "$as_me: failed program was:" >&5
49548 sed 's/^/| /' conftest.$ac_ext >&5
49550 eval "$as_ac_var=no"
49552 rm -f conftest.err conftest.$ac_objext \
49553 conftest$ac_exeext conftest.$ac_ext
49555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49557 if test `eval echo '${'$as_ac_var'}'` = yes; then
49558 cat >>confdefs.h <<_ACEOF
49559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49560 _ACEOF
49563 done
49565 else
49567 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49568 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49569 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49570 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49571 echo $ECHO_N "(cached) $ECHO_C" >&6
49572 else
49576 ac_ext=cc
49577 ac_cpp='$CXXCPP $CPPFLAGS'
49578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49582 cat >conftest.$ac_ext <<_ACEOF
49583 /* confdefs.h. */
49584 _ACEOF
49585 cat confdefs.h >>conftest.$ac_ext
49586 cat >>conftest.$ac_ext <<_ACEOF
49587 /* end confdefs.h. */
49588 #include <math.h>
49589 #ifdef HAVE_IEEEFP_H
49590 #include <ieeefp.h>
49591 #endif
49594 main ()
49596 _finitel(0);
49598 return 0;
49600 _ACEOF
49601 rm -f conftest.$ac_objext
49602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49603 (eval $ac_compile) 2>conftest.er1
49604 ac_status=$?
49605 grep -v '^ *+' conftest.er1 >conftest.err
49606 rm -f conftest.er1
49607 cat conftest.err >&5
49608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49609 (exit $ac_status); } &&
49610 { ac_try='test -z "$ac_cxx_werror_flag"
49611 || test ! -s conftest.err'
49612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49613 (eval $ac_try) 2>&5
49614 ac_status=$?
49615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49616 (exit $ac_status); }; } &&
49617 { ac_try='test -s conftest.$ac_objext'
49618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49619 (eval $ac_try) 2>&5
49620 ac_status=$?
49621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49622 (exit $ac_status); }; }; then
49623 glibcxx_cv_func__finitel_use=yes
49624 else
49625 echo "$as_me: failed program was:" >&5
49626 sed 's/^/| /' conftest.$ac_ext >&5
49628 glibcxx_cv_func__finitel_use=no
49630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49631 ac_ext=c
49632 ac_cpp='$CPP $CPPFLAGS'
49633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49642 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49644 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49646 for ac_func in _finitel
49648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49649 echo "$as_me:$LINENO: checking for $ac_func" >&5
49650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49651 if eval "test \"\${$as_ac_var+set}\" = set"; then
49652 echo $ECHO_N "(cached) $ECHO_C" >&6
49653 else
49654 if test x$gcc_no_link = xyes; then
49655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49657 { (exit 1); exit 1; }; }
49659 cat >conftest.$ac_ext <<_ACEOF
49660 /* confdefs.h. */
49661 _ACEOF
49662 cat confdefs.h >>conftest.$ac_ext
49663 cat >>conftest.$ac_ext <<_ACEOF
49664 /* end confdefs.h. */
49665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49667 #define $ac_func innocuous_$ac_func
49669 /* System header to define __stub macros and hopefully few prototypes,
49670 which can conflict with char $ac_func (); below.
49671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49672 <limits.h> exists even on freestanding compilers. */
49674 #ifdef __STDC__
49675 # include <limits.h>
49676 #else
49677 # include <assert.h>
49678 #endif
49680 #undef $ac_func
49682 /* Override any gcc2 internal prototype to avoid an error. */
49683 #ifdef __cplusplus
49684 extern "C"
49686 #endif
49687 /* We use char because int might match the return type of a gcc2
49688 builtin and then its argument prototype would still apply. */
49689 char $ac_func ();
49690 /* The GNU C library defines this for functions which it implements
49691 to always fail with ENOSYS. Some functions are actually named
49692 something starting with __ and the normal name is an alias. */
49693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49694 choke me
49695 #else
49696 char (*f) () = $ac_func;
49697 #endif
49698 #ifdef __cplusplus
49700 #endif
49703 main ()
49705 return f != $ac_func;
49707 return 0;
49709 _ACEOF
49710 rm -f conftest.$ac_objext conftest$ac_exeext
49711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49712 (eval $ac_link) 2>conftest.er1
49713 ac_status=$?
49714 grep -v '^ *+' conftest.er1 >conftest.err
49715 rm -f conftest.er1
49716 cat conftest.err >&5
49717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49718 (exit $ac_status); } &&
49719 { ac_try='test -z "$ac_c_werror_flag"
49720 || test ! -s conftest.err'
49721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49722 (eval $ac_try) 2>&5
49723 ac_status=$?
49724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49725 (exit $ac_status); }; } &&
49726 { ac_try='test -s conftest$ac_exeext'
49727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49728 (eval $ac_try) 2>&5
49729 ac_status=$?
49730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49731 (exit $ac_status); }; }; then
49732 eval "$as_ac_var=yes"
49733 else
49734 echo "$as_me: failed program was:" >&5
49735 sed 's/^/| /' conftest.$ac_ext >&5
49737 eval "$as_ac_var=no"
49739 rm -f conftest.err conftest.$ac_objext \
49740 conftest$ac_exeext conftest.$ac_ext
49742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49744 if test `eval echo '${'$as_ac_var'}'` = yes; then
49745 cat >>confdefs.h <<_ACEOF
49746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49747 _ACEOF
49750 done
49759 LIBS="$ac_save_LIBS"
49760 CXXFLAGS="$ac_save_CXXFLAGS"
49764 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
49765 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
49766 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
49767 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
49768 echo $ECHO_N "(cached) $ECHO_C" >&6
49769 else
49773 ac_ext=cc
49774 ac_cpp='$CXXCPP $CPPFLAGS'
49775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49779 cat >conftest.$ac_ext <<_ACEOF
49780 /* confdefs.h. */
49781 _ACEOF
49782 cat confdefs.h >>conftest.$ac_ext
49783 cat >>conftest.$ac_ext <<_ACEOF
49784 /* end confdefs.h. */
49785 #include <math.h>
49787 main ()
49789 __builtin_abs(0);
49791 return 0;
49793 _ACEOF
49794 rm -f conftest.$ac_objext
49795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49796 (eval $ac_compile) 2>conftest.er1
49797 ac_status=$?
49798 grep -v '^ *+' conftest.er1 >conftest.err
49799 rm -f conftest.er1
49800 cat conftest.err >&5
49801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49802 (exit $ac_status); } &&
49803 { ac_try='test -z "$ac_cxx_werror_flag"
49804 || test ! -s conftest.err'
49805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49806 (eval $ac_try) 2>&5
49807 ac_status=$?
49808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49809 (exit $ac_status); }; } &&
49810 { ac_try='test -s conftest.$ac_objext'
49811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49812 (eval $ac_try) 2>&5
49813 ac_status=$?
49814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49815 (exit $ac_status); }; }; then
49816 glibcxx_cv_func___builtin_abs_use=yes
49817 else
49818 echo "$as_me: failed program was:" >&5
49819 sed 's/^/| /' conftest.$ac_ext >&5
49821 glibcxx_cv_func___builtin_abs_use=no
49823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49824 ac_ext=c
49825 ac_cpp='$CPP $CPPFLAGS'
49826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49834 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
49835 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
49836 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
49837 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
49838 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
49839 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
49840 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
49841 echo $ECHO_N "(cached) $ECHO_C" >&6
49842 else
49844 if test x$gcc_no_link = xyes; then
49845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49847 { (exit 1); exit 1; }; }
49849 cat >conftest.$ac_ext <<_ACEOF
49850 /* confdefs.h. */
49851 _ACEOF
49852 cat confdefs.h >>conftest.$ac_ext
49853 cat >>conftest.$ac_ext <<_ACEOF
49854 /* end confdefs.h. */
49855 #include <math.h>
49857 main ()
49859 __builtin_abs(0);
49861 return 0;
49863 _ACEOF
49864 rm -f conftest.$ac_objext conftest$ac_exeext
49865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49866 (eval $ac_link) 2>conftest.er1
49867 ac_status=$?
49868 grep -v '^ *+' conftest.er1 >conftest.err
49869 rm -f conftest.er1
49870 cat conftest.err >&5
49871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49872 (exit $ac_status); } &&
49873 { ac_try='test -z "$ac_c_werror_flag"
49874 || test ! -s conftest.err'
49875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49876 (eval $ac_try) 2>&5
49877 ac_status=$?
49878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49879 (exit $ac_status); }; } &&
49880 { ac_try='test -s conftest$ac_exeext'
49881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49882 (eval $ac_try) 2>&5
49883 ac_status=$?
49884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49885 (exit $ac_status); }; }; then
49886 glibcxx_cv_func___builtin_abs_link=yes
49887 else
49888 echo "$as_me: failed program was:" >&5
49889 sed 's/^/| /' conftest.$ac_ext >&5
49891 glibcxx_cv_func___builtin_abs_link=no
49893 rm -f conftest.err conftest.$ac_objext \
49894 conftest$ac_exeext conftest.$ac_ext
49899 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
49900 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
49902 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
49904 cat >>confdefs.h <<\_ACEOF
49905 #define HAVE___BUILTIN_ABS 1
49906 _ACEOF
49913 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
49914 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
49915 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
49916 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
49917 echo $ECHO_N "(cached) $ECHO_C" >&6
49918 else
49922 ac_ext=cc
49923 ac_cpp='$CXXCPP $CPPFLAGS'
49924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49928 cat >conftest.$ac_ext <<_ACEOF
49929 /* confdefs.h. */
49930 _ACEOF
49931 cat confdefs.h >>conftest.$ac_ext
49932 cat >>conftest.$ac_ext <<_ACEOF
49933 /* end confdefs.h. */
49934 #include <math.h>
49936 main ()
49938 __builtin_fabsf(0);
49940 return 0;
49942 _ACEOF
49943 rm -f conftest.$ac_objext
49944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49945 (eval $ac_compile) 2>conftest.er1
49946 ac_status=$?
49947 grep -v '^ *+' conftest.er1 >conftest.err
49948 rm -f conftest.er1
49949 cat conftest.err >&5
49950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49951 (exit $ac_status); } &&
49952 { ac_try='test -z "$ac_cxx_werror_flag"
49953 || test ! -s conftest.err'
49954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49955 (eval $ac_try) 2>&5
49956 ac_status=$?
49957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49958 (exit $ac_status); }; } &&
49959 { ac_try='test -s conftest.$ac_objext'
49960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49961 (eval $ac_try) 2>&5
49962 ac_status=$?
49963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49964 (exit $ac_status); }; }; then
49965 glibcxx_cv_func___builtin_fabsf_use=yes
49966 else
49967 echo "$as_me: failed program was:" >&5
49968 sed 's/^/| /' conftest.$ac_ext >&5
49970 glibcxx_cv_func___builtin_fabsf_use=no
49972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49973 ac_ext=c
49974 ac_cpp='$CPP $CPPFLAGS'
49975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49983 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
49984 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
49985 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
49986 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
49987 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
49988 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
49989 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
49990 echo $ECHO_N "(cached) $ECHO_C" >&6
49991 else
49993 if test x$gcc_no_link = xyes; then
49994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49996 { (exit 1); exit 1; }; }
49998 cat >conftest.$ac_ext <<_ACEOF
49999 /* confdefs.h. */
50000 _ACEOF
50001 cat confdefs.h >>conftest.$ac_ext
50002 cat >>conftest.$ac_ext <<_ACEOF
50003 /* end confdefs.h. */
50004 #include <math.h>
50006 main ()
50008 __builtin_fabsf(0);
50010 return 0;
50012 _ACEOF
50013 rm -f conftest.$ac_objext conftest$ac_exeext
50014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50015 (eval $ac_link) 2>conftest.er1
50016 ac_status=$?
50017 grep -v '^ *+' conftest.er1 >conftest.err
50018 rm -f conftest.er1
50019 cat conftest.err >&5
50020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50021 (exit $ac_status); } &&
50022 { ac_try='test -z "$ac_c_werror_flag"
50023 || test ! -s conftest.err'
50024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50025 (eval $ac_try) 2>&5
50026 ac_status=$?
50027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50028 (exit $ac_status); }; } &&
50029 { ac_try='test -s conftest$ac_exeext'
50030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50031 (eval $ac_try) 2>&5
50032 ac_status=$?
50033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50034 (exit $ac_status); }; }; then
50035 glibcxx_cv_func___builtin_fabsf_link=yes
50036 else
50037 echo "$as_me: failed program was:" >&5
50038 sed 's/^/| /' conftest.$ac_ext >&5
50040 glibcxx_cv_func___builtin_fabsf_link=no
50042 rm -f conftest.err conftest.$ac_objext \
50043 conftest$ac_exeext conftest.$ac_ext
50048 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50049 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50051 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50053 cat >>confdefs.h <<\_ACEOF
50054 #define HAVE___BUILTIN_FABSF 1
50055 _ACEOF
50062 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50063 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50064 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50065 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50066 echo $ECHO_N "(cached) $ECHO_C" >&6
50067 else
50071 ac_ext=cc
50072 ac_cpp='$CXXCPP $CPPFLAGS'
50073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50077 cat >conftest.$ac_ext <<_ACEOF
50078 /* confdefs.h. */
50079 _ACEOF
50080 cat confdefs.h >>conftest.$ac_ext
50081 cat >>conftest.$ac_ext <<_ACEOF
50082 /* end confdefs.h. */
50083 #include <math.h>
50085 main ()
50087 __builtin_fabs(0);
50089 return 0;
50091 _ACEOF
50092 rm -f conftest.$ac_objext
50093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50094 (eval $ac_compile) 2>conftest.er1
50095 ac_status=$?
50096 grep -v '^ *+' conftest.er1 >conftest.err
50097 rm -f conftest.er1
50098 cat conftest.err >&5
50099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50100 (exit $ac_status); } &&
50101 { ac_try='test -z "$ac_cxx_werror_flag"
50102 || test ! -s conftest.err'
50103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50104 (eval $ac_try) 2>&5
50105 ac_status=$?
50106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50107 (exit $ac_status); }; } &&
50108 { ac_try='test -s conftest.$ac_objext'
50109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50110 (eval $ac_try) 2>&5
50111 ac_status=$?
50112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50113 (exit $ac_status); }; }; then
50114 glibcxx_cv_func___builtin_fabs_use=yes
50115 else
50116 echo "$as_me: failed program was:" >&5
50117 sed 's/^/| /' conftest.$ac_ext >&5
50119 glibcxx_cv_func___builtin_fabs_use=no
50121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50122 ac_ext=c
50123 ac_cpp='$CPP $CPPFLAGS'
50124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50132 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50133 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50134 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50135 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50136 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50137 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50138 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50139 echo $ECHO_N "(cached) $ECHO_C" >&6
50140 else
50142 if test x$gcc_no_link = xyes; then
50143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50145 { (exit 1); exit 1; }; }
50147 cat >conftest.$ac_ext <<_ACEOF
50148 /* confdefs.h. */
50149 _ACEOF
50150 cat confdefs.h >>conftest.$ac_ext
50151 cat >>conftest.$ac_ext <<_ACEOF
50152 /* end confdefs.h. */
50153 #include <math.h>
50155 main ()
50157 __builtin_fabs(0);
50159 return 0;
50161 _ACEOF
50162 rm -f conftest.$ac_objext conftest$ac_exeext
50163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50164 (eval $ac_link) 2>conftest.er1
50165 ac_status=$?
50166 grep -v '^ *+' conftest.er1 >conftest.err
50167 rm -f conftest.er1
50168 cat conftest.err >&5
50169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50170 (exit $ac_status); } &&
50171 { ac_try='test -z "$ac_c_werror_flag"
50172 || test ! -s conftest.err'
50173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50174 (eval $ac_try) 2>&5
50175 ac_status=$?
50176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50177 (exit $ac_status); }; } &&
50178 { ac_try='test -s conftest$ac_exeext'
50179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50180 (eval $ac_try) 2>&5
50181 ac_status=$?
50182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50183 (exit $ac_status); }; }; then
50184 glibcxx_cv_func___builtin_fabs_link=yes
50185 else
50186 echo "$as_me: failed program was:" >&5
50187 sed 's/^/| /' conftest.$ac_ext >&5
50189 glibcxx_cv_func___builtin_fabs_link=no
50191 rm -f conftest.err conftest.$ac_objext \
50192 conftest$ac_exeext conftest.$ac_ext
50197 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50198 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50200 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50202 cat >>confdefs.h <<\_ACEOF
50203 #define HAVE___BUILTIN_FABS 1
50204 _ACEOF
50211 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50212 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50213 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50214 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50215 echo $ECHO_N "(cached) $ECHO_C" >&6
50216 else
50220 ac_ext=cc
50221 ac_cpp='$CXXCPP $CPPFLAGS'
50222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50226 cat >conftest.$ac_ext <<_ACEOF
50227 /* confdefs.h. */
50228 _ACEOF
50229 cat confdefs.h >>conftest.$ac_ext
50230 cat >>conftest.$ac_ext <<_ACEOF
50231 /* end confdefs.h. */
50232 #include <math.h>
50234 main ()
50236 __builtin_fabsl(0);
50238 return 0;
50240 _ACEOF
50241 rm -f conftest.$ac_objext
50242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50243 (eval $ac_compile) 2>conftest.er1
50244 ac_status=$?
50245 grep -v '^ *+' conftest.er1 >conftest.err
50246 rm -f conftest.er1
50247 cat conftest.err >&5
50248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50249 (exit $ac_status); } &&
50250 { ac_try='test -z "$ac_cxx_werror_flag"
50251 || test ! -s conftest.err'
50252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50253 (eval $ac_try) 2>&5
50254 ac_status=$?
50255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50256 (exit $ac_status); }; } &&
50257 { ac_try='test -s conftest.$ac_objext'
50258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50259 (eval $ac_try) 2>&5
50260 ac_status=$?
50261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50262 (exit $ac_status); }; }; then
50263 glibcxx_cv_func___builtin_fabsl_use=yes
50264 else
50265 echo "$as_me: failed program was:" >&5
50266 sed 's/^/| /' conftest.$ac_ext >&5
50268 glibcxx_cv_func___builtin_fabsl_use=no
50270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50271 ac_ext=c
50272 ac_cpp='$CPP $CPPFLAGS'
50273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50281 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50282 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50283 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50284 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50285 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50286 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50287 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50288 echo $ECHO_N "(cached) $ECHO_C" >&6
50289 else
50291 if test x$gcc_no_link = xyes; then
50292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50294 { (exit 1); exit 1; }; }
50296 cat >conftest.$ac_ext <<_ACEOF
50297 /* confdefs.h. */
50298 _ACEOF
50299 cat confdefs.h >>conftest.$ac_ext
50300 cat >>conftest.$ac_ext <<_ACEOF
50301 /* end confdefs.h. */
50302 #include <math.h>
50304 main ()
50306 __builtin_fabsl(0);
50308 return 0;
50310 _ACEOF
50311 rm -f conftest.$ac_objext conftest$ac_exeext
50312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50313 (eval $ac_link) 2>conftest.er1
50314 ac_status=$?
50315 grep -v '^ *+' conftest.er1 >conftest.err
50316 rm -f conftest.er1
50317 cat conftest.err >&5
50318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50319 (exit $ac_status); } &&
50320 { ac_try='test -z "$ac_c_werror_flag"
50321 || test ! -s conftest.err'
50322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50323 (eval $ac_try) 2>&5
50324 ac_status=$?
50325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50326 (exit $ac_status); }; } &&
50327 { ac_try='test -s conftest$ac_exeext'
50328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50329 (eval $ac_try) 2>&5
50330 ac_status=$?
50331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50332 (exit $ac_status); }; }; then
50333 glibcxx_cv_func___builtin_fabsl_link=yes
50334 else
50335 echo "$as_me: failed program was:" >&5
50336 sed 's/^/| /' conftest.$ac_ext >&5
50338 glibcxx_cv_func___builtin_fabsl_link=no
50340 rm -f conftest.err conftest.$ac_objext \
50341 conftest$ac_exeext conftest.$ac_ext
50346 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50347 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50349 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50351 cat >>confdefs.h <<\_ACEOF
50352 #define HAVE___BUILTIN_FABSL 1
50353 _ACEOF
50360 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50361 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50362 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50363 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50364 echo $ECHO_N "(cached) $ECHO_C" >&6
50365 else
50369 ac_ext=cc
50370 ac_cpp='$CXXCPP $CPPFLAGS'
50371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50375 cat >conftest.$ac_ext <<_ACEOF
50376 /* confdefs.h. */
50377 _ACEOF
50378 cat confdefs.h >>conftest.$ac_ext
50379 cat >>conftest.$ac_ext <<_ACEOF
50380 /* end confdefs.h. */
50381 #include <math.h>
50383 main ()
50385 __builtin_labs(0);
50387 return 0;
50389 _ACEOF
50390 rm -f conftest.$ac_objext
50391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50392 (eval $ac_compile) 2>conftest.er1
50393 ac_status=$?
50394 grep -v '^ *+' conftest.er1 >conftest.err
50395 rm -f conftest.er1
50396 cat conftest.err >&5
50397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50398 (exit $ac_status); } &&
50399 { ac_try='test -z "$ac_cxx_werror_flag"
50400 || test ! -s conftest.err'
50401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50402 (eval $ac_try) 2>&5
50403 ac_status=$?
50404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50405 (exit $ac_status); }; } &&
50406 { ac_try='test -s conftest.$ac_objext'
50407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50408 (eval $ac_try) 2>&5
50409 ac_status=$?
50410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50411 (exit $ac_status); }; }; then
50412 glibcxx_cv_func___builtin_labs_use=yes
50413 else
50414 echo "$as_me: failed program was:" >&5
50415 sed 's/^/| /' conftest.$ac_ext >&5
50417 glibcxx_cv_func___builtin_labs_use=no
50419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50420 ac_ext=c
50421 ac_cpp='$CPP $CPPFLAGS'
50422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50430 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50431 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50432 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50433 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50434 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50435 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50436 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50437 echo $ECHO_N "(cached) $ECHO_C" >&6
50438 else
50440 if test x$gcc_no_link = xyes; then
50441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50443 { (exit 1); exit 1; }; }
50445 cat >conftest.$ac_ext <<_ACEOF
50446 /* confdefs.h. */
50447 _ACEOF
50448 cat confdefs.h >>conftest.$ac_ext
50449 cat >>conftest.$ac_ext <<_ACEOF
50450 /* end confdefs.h. */
50451 #include <math.h>
50453 main ()
50455 __builtin_labs(0);
50457 return 0;
50459 _ACEOF
50460 rm -f conftest.$ac_objext conftest$ac_exeext
50461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50462 (eval $ac_link) 2>conftest.er1
50463 ac_status=$?
50464 grep -v '^ *+' conftest.er1 >conftest.err
50465 rm -f conftest.er1
50466 cat conftest.err >&5
50467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50468 (exit $ac_status); } &&
50469 { ac_try='test -z "$ac_c_werror_flag"
50470 || test ! -s conftest.err'
50471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50472 (eval $ac_try) 2>&5
50473 ac_status=$?
50474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50475 (exit $ac_status); }; } &&
50476 { ac_try='test -s conftest$ac_exeext'
50477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50478 (eval $ac_try) 2>&5
50479 ac_status=$?
50480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50481 (exit $ac_status); }; }; then
50482 glibcxx_cv_func___builtin_labs_link=yes
50483 else
50484 echo "$as_me: failed program was:" >&5
50485 sed 's/^/| /' conftest.$ac_ext >&5
50487 glibcxx_cv_func___builtin_labs_link=no
50489 rm -f conftest.err conftest.$ac_objext \
50490 conftest$ac_exeext conftest.$ac_ext
50495 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50496 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50498 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50500 cat >>confdefs.h <<\_ACEOF
50501 #define HAVE___BUILTIN_LABS 1
50502 _ACEOF
50510 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50511 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50512 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50513 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50514 echo $ECHO_N "(cached) $ECHO_C" >&6
50515 else
50519 ac_ext=cc
50520 ac_cpp='$CXXCPP $CPPFLAGS'
50521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50525 cat >conftest.$ac_ext <<_ACEOF
50526 /* confdefs.h. */
50527 _ACEOF
50528 cat confdefs.h >>conftest.$ac_ext
50529 cat >>conftest.$ac_ext <<_ACEOF
50530 /* end confdefs.h. */
50531 #include <math.h>
50533 main ()
50535 __builtin_sqrtf(0);
50537 return 0;
50539 _ACEOF
50540 rm -f conftest.$ac_objext
50541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50542 (eval $ac_compile) 2>conftest.er1
50543 ac_status=$?
50544 grep -v '^ *+' conftest.er1 >conftest.err
50545 rm -f conftest.er1
50546 cat conftest.err >&5
50547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50548 (exit $ac_status); } &&
50549 { ac_try='test -z "$ac_cxx_werror_flag"
50550 || test ! -s conftest.err'
50551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50552 (eval $ac_try) 2>&5
50553 ac_status=$?
50554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50555 (exit $ac_status); }; } &&
50556 { ac_try='test -s conftest.$ac_objext'
50557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50558 (eval $ac_try) 2>&5
50559 ac_status=$?
50560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50561 (exit $ac_status); }; }; then
50562 glibcxx_cv_func___builtin_sqrtf_use=yes
50563 else
50564 echo "$as_me: failed program was:" >&5
50565 sed 's/^/| /' conftest.$ac_ext >&5
50567 glibcxx_cv_func___builtin_sqrtf_use=no
50569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50570 ac_ext=c
50571 ac_cpp='$CPP $CPPFLAGS'
50572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50580 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50581 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50582 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50583 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50584 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50585 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50586 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50587 echo $ECHO_N "(cached) $ECHO_C" >&6
50588 else
50590 if test x$gcc_no_link = xyes; then
50591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50593 { (exit 1); exit 1; }; }
50595 cat >conftest.$ac_ext <<_ACEOF
50596 /* confdefs.h. */
50597 _ACEOF
50598 cat confdefs.h >>conftest.$ac_ext
50599 cat >>conftest.$ac_ext <<_ACEOF
50600 /* end confdefs.h. */
50601 #include <math.h>
50603 main ()
50605 __builtin_sqrtf(0);
50607 return 0;
50609 _ACEOF
50610 rm -f conftest.$ac_objext conftest$ac_exeext
50611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50612 (eval $ac_link) 2>conftest.er1
50613 ac_status=$?
50614 grep -v '^ *+' conftest.er1 >conftest.err
50615 rm -f conftest.er1
50616 cat conftest.err >&5
50617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50618 (exit $ac_status); } &&
50619 { ac_try='test -z "$ac_c_werror_flag"
50620 || test ! -s conftest.err'
50621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50622 (eval $ac_try) 2>&5
50623 ac_status=$?
50624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50625 (exit $ac_status); }; } &&
50626 { ac_try='test -s conftest$ac_exeext'
50627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50628 (eval $ac_try) 2>&5
50629 ac_status=$?
50630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50631 (exit $ac_status); }; }; then
50632 glibcxx_cv_func___builtin_sqrtf_link=yes
50633 else
50634 echo "$as_me: failed program was:" >&5
50635 sed 's/^/| /' conftest.$ac_ext >&5
50637 glibcxx_cv_func___builtin_sqrtf_link=no
50639 rm -f conftest.err conftest.$ac_objext \
50640 conftest$ac_exeext conftest.$ac_ext
50645 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50646 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50648 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50650 cat >>confdefs.h <<\_ACEOF
50651 #define HAVE___BUILTIN_SQRTF 1
50652 _ACEOF
50659 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50660 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50661 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50662 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50663 echo $ECHO_N "(cached) $ECHO_C" >&6
50664 else
50668 ac_ext=cc
50669 ac_cpp='$CXXCPP $CPPFLAGS'
50670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50674 cat >conftest.$ac_ext <<_ACEOF
50675 /* confdefs.h. */
50676 _ACEOF
50677 cat confdefs.h >>conftest.$ac_ext
50678 cat >>conftest.$ac_ext <<_ACEOF
50679 /* end confdefs.h. */
50680 #include <math.h>
50682 main ()
50684 __builtin_sqrt(0);
50686 return 0;
50688 _ACEOF
50689 rm -f conftest.$ac_objext
50690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50691 (eval $ac_compile) 2>conftest.er1
50692 ac_status=$?
50693 grep -v '^ *+' conftest.er1 >conftest.err
50694 rm -f conftest.er1
50695 cat conftest.err >&5
50696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50697 (exit $ac_status); } &&
50698 { ac_try='test -z "$ac_cxx_werror_flag"
50699 || test ! -s conftest.err'
50700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50701 (eval $ac_try) 2>&5
50702 ac_status=$?
50703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50704 (exit $ac_status); }; } &&
50705 { ac_try='test -s conftest.$ac_objext'
50706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50707 (eval $ac_try) 2>&5
50708 ac_status=$?
50709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50710 (exit $ac_status); }; }; then
50711 glibcxx_cv_func___builtin_sqrt_use=yes
50712 else
50713 echo "$as_me: failed program was:" >&5
50714 sed 's/^/| /' conftest.$ac_ext >&5
50716 glibcxx_cv_func___builtin_sqrt_use=no
50718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50719 ac_ext=c
50720 ac_cpp='$CPP $CPPFLAGS'
50721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50729 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
50730 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
50731 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
50732 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
50733 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
50734 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
50735 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
50736 echo $ECHO_N "(cached) $ECHO_C" >&6
50737 else
50739 if test x$gcc_no_link = xyes; then
50740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50742 { (exit 1); exit 1; }; }
50744 cat >conftest.$ac_ext <<_ACEOF
50745 /* confdefs.h. */
50746 _ACEOF
50747 cat confdefs.h >>conftest.$ac_ext
50748 cat >>conftest.$ac_ext <<_ACEOF
50749 /* end confdefs.h. */
50750 #include <math.h>
50752 main ()
50754 __builtin_sqrt(0);
50756 return 0;
50758 _ACEOF
50759 rm -f conftest.$ac_objext conftest$ac_exeext
50760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50761 (eval $ac_link) 2>conftest.er1
50762 ac_status=$?
50763 grep -v '^ *+' conftest.er1 >conftest.err
50764 rm -f conftest.er1
50765 cat conftest.err >&5
50766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50767 (exit $ac_status); } &&
50768 { ac_try='test -z "$ac_c_werror_flag"
50769 || test ! -s conftest.err'
50770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50771 (eval $ac_try) 2>&5
50772 ac_status=$?
50773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50774 (exit $ac_status); }; } &&
50775 { ac_try='test -s conftest$ac_exeext'
50776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50777 (eval $ac_try) 2>&5
50778 ac_status=$?
50779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50780 (exit $ac_status); }; }; then
50781 glibcxx_cv_func___builtin_sqrt_link=yes
50782 else
50783 echo "$as_me: failed program was:" >&5
50784 sed 's/^/| /' conftest.$ac_ext >&5
50786 glibcxx_cv_func___builtin_sqrt_link=no
50788 rm -f conftest.err conftest.$ac_objext \
50789 conftest$ac_exeext conftest.$ac_ext
50794 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
50795 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
50797 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
50799 cat >>confdefs.h <<\_ACEOF
50800 #define HAVE___BUILTIN_SQRT 1
50801 _ACEOF
50808 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
50809 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
50810 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
50811 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
50812 echo $ECHO_N "(cached) $ECHO_C" >&6
50813 else
50817 ac_ext=cc
50818 ac_cpp='$CXXCPP $CPPFLAGS'
50819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50823 cat >conftest.$ac_ext <<_ACEOF
50824 /* confdefs.h. */
50825 _ACEOF
50826 cat confdefs.h >>conftest.$ac_ext
50827 cat >>conftest.$ac_ext <<_ACEOF
50828 /* end confdefs.h. */
50829 #include <math.h>
50831 main ()
50833 __builtin_sqrtl(0);
50835 return 0;
50837 _ACEOF
50838 rm -f conftest.$ac_objext
50839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50840 (eval $ac_compile) 2>conftest.er1
50841 ac_status=$?
50842 grep -v '^ *+' conftest.er1 >conftest.err
50843 rm -f conftest.er1
50844 cat conftest.err >&5
50845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50846 (exit $ac_status); } &&
50847 { ac_try='test -z "$ac_cxx_werror_flag"
50848 || test ! -s conftest.err'
50849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50850 (eval $ac_try) 2>&5
50851 ac_status=$?
50852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50853 (exit $ac_status); }; } &&
50854 { ac_try='test -s conftest.$ac_objext'
50855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50856 (eval $ac_try) 2>&5
50857 ac_status=$?
50858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50859 (exit $ac_status); }; }; then
50860 glibcxx_cv_func___builtin_sqrtl_use=yes
50861 else
50862 echo "$as_me: failed program was:" >&5
50863 sed 's/^/| /' conftest.$ac_ext >&5
50865 glibcxx_cv_func___builtin_sqrtl_use=no
50867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50868 ac_ext=c
50869 ac_cpp='$CPP $CPPFLAGS'
50870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50878 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
50879 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
50880 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
50881 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
50882 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
50883 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
50884 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
50885 echo $ECHO_N "(cached) $ECHO_C" >&6
50886 else
50888 if test x$gcc_no_link = xyes; then
50889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50891 { (exit 1); exit 1; }; }
50893 cat >conftest.$ac_ext <<_ACEOF
50894 /* confdefs.h. */
50895 _ACEOF
50896 cat confdefs.h >>conftest.$ac_ext
50897 cat >>conftest.$ac_ext <<_ACEOF
50898 /* end confdefs.h. */
50899 #include <math.h>
50901 main ()
50903 __builtin_sqrtl(0);
50905 return 0;
50907 _ACEOF
50908 rm -f conftest.$ac_objext conftest$ac_exeext
50909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50910 (eval $ac_link) 2>conftest.er1
50911 ac_status=$?
50912 grep -v '^ *+' conftest.er1 >conftest.err
50913 rm -f conftest.er1
50914 cat conftest.err >&5
50915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50916 (exit $ac_status); } &&
50917 { ac_try='test -z "$ac_c_werror_flag"
50918 || test ! -s conftest.err'
50919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50920 (eval $ac_try) 2>&5
50921 ac_status=$?
50922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50923 (exit $ac_status); }; } &&
50924 { ac_try='test -s conftest$ac_exeext'
50925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50926 (eval $ac_try) 2>&5
50927 ac_status=$?
50928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50929 (exit $ac_status); }; }; then
50930 glibcxx_cv_func___builtin_sqrtl_link=yes
50931 else
50932 echo "$as_me: failed program was:" >&5
50933 sed 's/^/| /' conftest.$ac_ext >&5
50935 glibcxx_cv_func___builtin_sqrtl_link=no
50937 rm -f conftest.err conftest.$ac_objext \
50938 conftest$ac_exeext conftest.$ac_ext
50943 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
50944 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
50946 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
50948 cat >>confdefs.h <<\_ACEOF
50949 #define HAVE___BUILTIN_SQRTL 1
50950 _ACEOF
50958 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
50959 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
50960 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
50961 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
50962 echo $ECHO_N "(cached) $ECHO_C" >&6
50963 else
50967 ac_ext=cc
50968 ac_cpp='$CXXCPP $CPPFLAGS'
50969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50973 cat >conftest.$ac_ext <<_ACEOF
50974 /* confdefs.h. */
50975 _ACEOF
50976 cat confdefs.h >>conftest.$ac_ext
50977 cat >>conftest.$ac_ext <<_ACEOF
50978 /* end confdefs.h. */
50979 #include <math.h>
50981 main ()
50983 __builtin_sinf(0);
50985 return 0;
50987 _ACEOF
50988 rm -f conftest.$ac_objext
50989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50990 (eval $ac_compile) 2>conftest.er1
50991 ac_status=$?
50992 grep -v '^ *+' conftest.er1 >conftest.err
50993 rm -f conftest.er1
50994 cat conftest.err >&5
50995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50996 (exit $ac_status); } &&
50997 { ac_try='test -z "$ac_cxx_werror_flag"
50998 || test ! -s conftest.err'
50999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51000 (eval $ac_try) 2>&5
51001 ac_status=$?
51002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51003 (exit $ac_status); }; } &&
51004 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
51010 glibcxx_cv_func___builtin_sinf_use=yes
51011 else
51012 echo "$as_me: failed program was:" >&5
51013 sed 's/^/| /' conftest.$ac_ext >&5
51015 glibcxx_cv_func___builtin_sinf_use=no
51017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51018 ac_ext=c
51019 ac_cpp='$CPP $CPPFLAGS'
51020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51028 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51029 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51030 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51031 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51032 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51033 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51034 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51035 echo $ECHO_N "(cached) $ECHO_C" >&6
51036 else
51038 if test x$gcc_no_link = xyes; then
51039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51041 { (exit 1); exit 1; }; }
51043 cat >conftest.$ac_ext <<_ACEOF
51044 /* confdefs.h. */
51045 _ACEOF
51046 cat confdefs.h >>conftest.$ac_ext
51047 cat >>conftest.$ac_ext <<_ACEOF
51048 /* end confdefs.h. */
51049 #include <math.h>
51051 main ()
51053 __builtin_sinf(0);
51055 return 0;
51057 _ACEOF
51058 rm -f conftest.$ac_objext conftest$ac_exeext
51059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51060 (eval $ac_link) 2>conftest.er1
51061 ac_status=$?
51062 grep -v '^ *+' conftest.er1 >conftest.err
51063 rm -f conftest.er1
51064 cat conftest.err >&5
51065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51066 (exit $ac_status); } &&
51067 { ac_try='test -z "$ac_c_werror_flag"
51068 || test ! -s conftest.err'
51069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51070 (eval $ac_try) 2>&5
51071 ac_status=$?
51072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51073 (exit $ac_status); }; } &&
51074 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
51080 glibcxx_cv_func___builtin_sinf_link=yes
51081 else
51082 echo "$as_me: failed program was:" >&5
51083 sed 's/^/| /' conftest.$ac_ext >&5
51085 glibcxx_cv_func___builtin_sinf_link=no
51087 rm -f conftest.err conftest.$ac_objext \
51088 conftest$ac_exeext conftest.$ac_ext
51093 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51094 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51096 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51098 cat >>confdefs.h <<\_ACEOF
51099 #define HAVE___BUILTIN_SINF 1
51100 _ACEOF
51107 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51108 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51109 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51110 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51111 echo $ECHO_N "(cached) $ECHO_C" >&6
51112 else
51116 ac_ext=cc
51117 ac_cpp='$CXXCPP $CPPFLAGS'
51118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51122 cat >conftest.$ac_ext <<_ACEOF
51123 /* confdefs.h. */
51124 _ACEOF
51125 cat confdefs.h >>conftest.$ac_ext
51126 cat >>conftest.$ac_ext <<_ACEOF
51127 /* end confdefs.h. */
51128 #include <math.h>
51130 main ()
51132 __builtin_sin(0);
51134 return 0;
51136 _ACEOF
51137 rm -f conftest.$ac_objext
51138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51139 (eval $ac_compile) 2>conftest.er1
51140 ac_status=$?
51141 grep -v '^ *+' conftest.er1 >conftest.err
51142 rm -f conftest.er1
51143 cat conftest.err >&5
51144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51145 (exit $ac_status); } &&
51146 { ac_try='test -z "$ac_cxx_werror_flag"
51147 || test ! -s conftest.err'
51148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51149 (eval $ac_try) 2>&5
51150 ac_status=$?
51151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51152 (exit $ac_status); }; } &&
51153 { ac_try='test -s conftest.$ac_objext'
51154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51155 (eval $ac_try) 2>&5
51156 ac_status=$?
51157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51158 (exit $ac_status); }; }; then
51159 glibcxx_cv_func___builtin_sin_use=yes
51160 else
51161 echo "$as_me: failed program was:" >&5
51162 sed 's/^/| /' conftest.$ac_ext >&5
51164 glibcxx_cv_func___builtin_sin_use=no
51166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51167 ac_ext=c
51168 ac_cpp='$CPP $CPPFLAGS'
51169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51177 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51178 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51179 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51180 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51181 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51182 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51183 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51184 echo $ECHO_N "(cached) $ECHO_C" >&6
51185 else
51187 if test x$gcc_no_link = xyes; then
51188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51190 { (exit 1); exit 1; }; }
51192 cat >conftest.$ac_ext <<_ACEOF
51193 /* confdefs.h. */
51194 _ACEOF
51195 cat confdefs.h >>conftest.$ac_ext
51196 cat >>conftest.$ac_ext <<_ACEOF
51197 /* end confdefs.h. */
51198 #include <math.h>
51200 main ()
51202 __builtin_sin(0);
51204 return 0;
51206 _ACEOF
51207 rm -f conftest.$ac_objext conftest$ac_exeext
51208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51209 (eval $ac_link) 2>conftest.er1
51210 ac_status=$?
51211 grep -v '^ *+' conftest.er1 >conftest.err
51212 rm -f conftest.er1
51213 cat conftest.err >&5
51214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51215 (exit $ac_status); } &&
51216 { ac_try='test -z "$ac_c_werror_flag"
51217 || test ! -s conftest.err'
51218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51219 (eval $ac_try) 2>&5
51220 ac_status=$?
51221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51222 (exit $ac_status); }; } &&
51223 { ac_try='test -s conftest$ac_exeext'
51224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51225 (eval $ac_try) 2>&5
51226 ac_status=$?
51227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51228 (exit $ac_status); }; }; then
51229 glibcxx_cv_func___builtin_sin_link=yes
51230 else
51231 echo "$as_me: failed program was:" >&5
51232 sed 's/^/| /' conftest.$ac_ext >&5
51234 glibcxx_cv_func___builtin_sin_link=no
51236 rm -f conftest.err conftest.$ac_objext \
51237 conftest$ac_exeext conftest.$ac_ext
51242 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51243 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51245 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51247 cat >>confdefs.h <<\_ACEOF
51248 #define HAVE___BUILTIN_SIN 1
51249 _ACEOF
51256 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51257 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51258 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51259 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51260 echo $ECHO_N "(cached) $ECHO_C" >&6
51261 else
51265 ac_ext=cc
51266 ac_cpp='$CXXCPP $CPPFLAGS'
51267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51271 cat >conftest.$ac_ext <<_ACEOF
51272 /* confdefs.h. */
51273 _ACEOF
51274 cat confdefs.h >>conftest.$ac_ext
51275 cat >>conftest.$ac_ext <<_ACEOF
51276 /* end confdefs.h. */
51277 #include <math.h>
51279 main ()
51281 __builtin_sinl(0);
51283 return 0;
51285 _ACEOF
51286 rm -f conftest.$ac_objext
51287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51288 (eval $ac_compile) 2>conftest.er1
51289 ac_status=$?
51290 grep -v '^ *+' conftest.er1 >conftest.err
51291 rm -f conftest.er1
51292 cat conftest.err >&5
51293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51294 (exit $ac_status); } &&
51295 { ac_try='test -z "$ac_cxx_werror_flag"
51296 || test ! -s conftest.err'
51297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51298 (eval $ac_try) 2>&5
51299 ac_status=$?
51300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51301 (exit $ac_status); }; } &&
51302 { ac_try='test -s conftest.$ac_objext'
51303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51304 (eval $ac_try) 2>&5
51305 ac_status=$?
51306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51307 (exit $ac_status); }; }; then
51308 glibcxx_cv_func___builtin_sinl_use=yes
51309 else
51310 echo "$as_me: failed program was:" >&5
51311 sed 's/^/| /' conftest.$ac_ext >&5
51313 glibcxx_cv_func___builtin_sinl_use=no
51315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51316 ac_ext=c
51317 ac_cpp='$CPP $CPPFLAGS'
51318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51326 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51327 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51328 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51329 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51330 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51331 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51332 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51333 echo $ECHO_N "(cached) $ECHO_C" >&6
51334 else
51336 if test x$gcc_no_link = xyes; then
51337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51339 { (exit 1); exit 1; }; }
51341 cat >conftest.$ac_ext <<_ACEOF
51342 /* confdefs.h. */
51343 _ACEOF
51344 cat confdefs.h >>conftest.$ac_ext
51345 cat >>conftest.$ac_ext <<_ACEOF
51346 /* end confdefs.h. */
51347 #include <math.h>
51349 main ()
51351 __builtin_sinl(0);
51353 return 0;
51355 _ACEOF
51356 rm -f conftest.$ac_objext conftest$ac_exeext
51357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51358 (eval $ac_link) 2>conftest.er1
51359 ac_status=$?
51360 grep -v '^ *+' conftest.er1 >conftest.err
51361 rm -f conftest.er1
51362 cat conftest.err >&5
51363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51364 (exit $ac_status); } &&
51365 { ac_try='test -z "$ac_c_werror_flag"
51366 || test ! -s conftest.err'
51367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51368 (eval $ac_try) 2>&5
51369 ac_status=$?
51370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51371 (exit $ac_status); }; } &&
51372 { ac_try='test -s conftest$ac_exeext'
51373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51374 (eval $ac_try) 2>&5
51375 ac_status=$?
51376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51377 (exit $ac_status); }; }; then
51378 glibcxx_cv_func___builtin_sinl_link=yes
51379 else
51380 echo "$as_me: failed program was:" >&5
51381 sed 's/^/| /' conftest.$ac_ext >&5
51383 glibcxx_cv_func___builtin_sinl_link=no
51385 rm -f conftest.err conftest.$ac_objext \
51386 conftest$ac_exeext conftest.$ac_ext
51391 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51392 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51394 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51396 cat >>confdefs.h <<\_ACEOF
51397 #define HAVE___BUILTIN_SINL 1
51398 _ACEOF
51406 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51407 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51408 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51409 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51410 echo $ECHO_N "(cached) $ECHO_C" >&6
51411 else
51415 ac_ext=cc
51416 ac_cpp='$CXXCPP $CPPFLAGS'
51417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51421 cat >conftest.$ac_ext <<_ACEOF
51422 /* confdefs.h. */
51423 _ACEOF
51424 cat confdefs.h >>conftest.$ac_ext
51425 cat >>conftest.$ac_ext <<_ACEOF
51426 /* end confdefs.h. */
51427 #include <math.h>
51429 main ()
51431 __builtin_cosf(0);
51433 return 0;
51435 _ACEOF
51436 rm -f conftest.$ac_objext
51437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51438 (eval $ac_compile) 2>conftest.er1
51439 ac_status=$?
51440 grep -v '^ *+' conftest.er1 >conftest.err
51441 rm -f conftest.er1
51442 cat conftest.err >&5
51443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51444 (exit $ac_status); } &&
51445 { ac_try='test -z "$ac_cxx_werror_flag"
51446 || test ! -s conftest.err'
51447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51448 (eval $ac_try) 2>&5
51449 ac_status=$?
51450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51451 (exit $ac_status); }; } &&
51452 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
51458 glibcxx_cv_func___builtin_cosf_use=yes
51459 else
51460 echo "$as_me: failed program was:" >&5
51461 sed 's/^/| /' conftest.$ac_ext >&5
51463 glibcxx_cv_func___builtin_cosf_use=no
51465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51466 ac_ext=c
51467 ac_cpp='$CPP $CPPFLAGS'
51468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51476 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51477 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51478 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51479 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51480 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51481 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51482 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51483 echo $ECHO_N "(cached) $ECHO_C" >&6
51484 else
51486 if test x$gcc_no_link = xyes; then
51487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51489 { (exit 1); exit 1; }; }
51491 cat >conftest.$ac_ext <<_ACEOF
51492 /* confdefs.h. */
51493 _ACEOF
51494 cat confdefs.h >>conftest.$ac_ext
51495 cat >>conftest.$ac_ext <<_ACEOF
51496 /* end confdefs.h. */
51497 #include <math.h>
51499 main ()
51501 __builtin_cosf(0);
51503 return 0;
51505 _ACEOF
51506 rm -f conftest.$ac_objext conftest$ac_exeext
51507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51508 (eval $ac_link) 2>conftest.er1
51509 ac_status=$?
51510 grep -v '^ *+' conftest.er1 >conftest.err
51511 rm -f conftest.er1
51512 cat conftest.err >&5
51513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51514 (exit $ac_status); } &&
51515 { ac_try='test -z "$ac_c_werror_flag"
51516 || test ! -s conftest.err'
51517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51518 (eval $ac_try) 2>&5
51519 ac_status=$?
51520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51521 (exit $ac_status); }; } &&
51522 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
51528 glibcxx_cv_func___builtin_cosf_link=yes
51529 else
51530 echo "$as_me: failed program was:" >&5
51531 sed 's/^/| /' conftest.$ac_ext >&5
51533 glibcxx_cv_func___builtin_cosf_link=no
51535 rm -f conftest.err conftest.$ac_objext \
51536 conftest$ac_exeext conftest.$ac_ext
51541 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51542 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51544 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51546 cat >>confdefs.h <<\_ACEOF
51547 #define HAVE___BUILTIN_COSF 1
51548 _ACEOF
51555 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51556 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51557 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51558 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51559 echo $ECHO_N "(cached) $ECHO_C" >&6
51560 else
51564 ac_ext=cc
51565 ac_cpp='$CXXCPP $CPPFLAGS'
51566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51570 cat >conftest.$ac_ext <<_ACEOF
51571 /* confdefs.h. */
51572 _ACEOF
51573 cat confdefs.h >>conftest.$ac_ext
51574 cat >>conftest.$ac_ext <<_ACEOF
51575 /* end confdefs.h. */
51576 #include <math.h>
51578 main ()
51580 __builtin_cos(0);
51582 return 0;
51584 _ACEOF
51585 rm -f conftest.$ac_objext
51586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51587 (eval $ac_compile) 2>conftest.er1
51588 ac_status=$?
51589 grep -v '^ *+' conftest.er1 >conftest.err
51590 rm -f conftest.er1
51591 cat conftest.err >&5
51592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51593 (exit $ac_status); } &&
51594 { ac_try='test -z "$ac_cxx_werror_flag"
51595 || test ! -s conftest.err'
51596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51597 (eval $ac_try) 2>&5
51598 ac_status=$?
51599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51600 (exit $ac_status); }; } &&
51601 { ac_try='test -s conftest.$ac_objext'
51602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51603 (eval $ac_try) 2>&5
51604 ac_status=$?
51605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51606 (exit $ac_status); }; }; then
51607 glibcxx_cv_func___builtin_cos_use=yes
51608 else
51609 echo "$as_me: failed program was:" >&5
51610 sed 's/^/| /' conftest.$ac_ext >&5
51612 glibcxx_cv_func___builtin_cos_use=no
51614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51615 ac_ext=c
51616 ac_cpp='$CPP $CPPFLAGS'
51617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51625 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51626 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51627 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51628 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51629 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51630 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51631 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51632 echo $ECHO_N "(cached) $ECHO_C" >&6
51633 else
51635 if test x$gcc_no_link = xyes; then
51636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51638 { (exit 1); exit 1; }; }
51640 cat >conftest.$ac_ext <<_ACEOF
51641 /* confdefs.h. */
51642 _ACEOF
51643 cat confdefs.h >>conftest.$ac_ext
51644 cat >>conftest.$ac_ext <<_ACEOF
51645 /* end confdefs.h. */
51646 #include <math.h>
51648 main ()
51650 __builtin_cos(0);
51652 return 0;
51654 _ACEOF
51655 rm -f conftest.$ac_objext conftest$ac_exeext
51656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51657 (eval $ac_link) 2>conftest.er1
51658 ac_status=$?
51659 grep -v '^ *+' conftest.er1 >conftest.err
51660 rm -f conftest.er1
51661 cat conftest.err >&5
51662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51663 (exit $ac_status); } &&
51664 { ac_try='test -z "$ac_c_werror_flag"
51665 || test ! -s conftest.err'
51666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51667 (eval $ac_try) 2>&5
51668 ac_status=$?
51669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51670 (exit $ac_status); }; } &&
51671 { ac_try='test -s conftest$ac_exeext'
51672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51673 (eval $ac_try) 2>&5
51674 ac_status=$?
51675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51676 (exit $ac_status); }; }; then
51677 glibcxx_cv_func___builtin_cos_link=yes
51678 else
51679 echo "$as_me: failed program was:" >&5
51680 sed 's/^/| /' conftest.$ac_ext >&5
51682 glibcxx_cv_func___builtin_cos_link=no
51684 rm -f conftest.err conftest.$ac_objext \
51685 conftest$ac_exeext conftest.$ac_ext
51690 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
51691 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
51693 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
51695 cat >>confdefs.h <<\_ACEOF
51696 #define HAVE___BUILTIN_COS 1
51697 _ACEOF
51704 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
51705 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
51706 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
51707 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
51708 echo $ECHO_N "(cached) $ECHO_C" >&6
51709 else
51713 ac_ext=cc
51714 ac_cpp='$CXXCPP $CPPFLAGS'
51715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51719 cat >conftest.$ac_ext <<_ACEOF
51720 /* confdefs.h. */
51721 _ACEOF
51722 cat confdefs.h >>conftest.$ac_ext
51723 cat >>conftest.$ac_ext <<_ACEOF
51724 /* end confdefs.h. */
51725 #include <math.h>
51727 main ()
51729 __builtin_cosl(0);
51731 return 0;
51733 _ACEOF
51734 rm -f conftest.$ac_objext
51735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51736 (eval $ac_compile) 2>conftest.er1
51737 ac_status=$?
51738 grep -v '^ *+' conftest.er1 >conftest.err
51739 rm -f conftest.er1
51740 cat conftest.err >&5
51741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51742 (exit $ac_status); } &&
51743 { ac_try='test -z "$ac_cxx_werror_flag"
51744 || test ! -s conftest.err'
51745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51746 (eval $ac_try) 2>&5
51747 ac_status=$?
51748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51749 (exit $ac_status); }; } &&
51750 { ac_try='test -s conftest.$ac_objext'
51751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51752 (eval $ac_try) 2>&5
51753 ac_status=$?
51754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51755 (exit $ac_status); }; }; then
51756 glibcxx_cv_func___builtin_cosl_use=yes
51757 else
51758 echo "$as_me: failed program was:" >&5
51759 sed 's/^/| /' conftest.$ac_ext >&5
51761 glibcxx_cv_func___builtin_cosl_use=no
51763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51764 ac_ext=c
51765 ac_cpp='$CPP $CPPFLAGS'
51766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51774 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
51775 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
51776 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
51777 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
51778 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
51779 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
51780 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
51781 echo $ECHO_N "(cached) $ECHO_C" >&6
51782 else
51784 if test x$gcc_no_link = xyes; then
51785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51787 { (exit 1); exit 1; }; }
51789 cat >conftest.$ac_ext <<_ACEOF
51790 /* confdefs.h. */
51791 _ACEOF
51792 cat confdefs.h >>conftest.$ac_ext
51793 cat >>conftest.$ac_ext <<_ACEOF
51794 /* end confdefs.h. */
51795 #include <math.h>
51797 main ()
51799 __builtin_cosl(0);
51801 return 0;
51803 _ACEOF
51804 rm -f conftest.$ac_objext conftest$ac_exeext
51805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51806 (eval $ac_link) 2>conftest.er1
51807 ac_status=$?
51808 grep -v '^ *+' conftest.er1 >conftest.err
51809 rm -f conftest.er1
51810 cat conftest.err >&5
51811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51812 (exit $ac_status); } &&
51813 { ac_try='test -z "$ac_c_werror_flag"
51814 || test ! -s conftest.err'
51815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51816 (eval $ac_try) 2>&5
51817 ac_status=$?
51818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51819 (exit $ac_status); }; } &&
51820 { ac_try='test -s conftest$ac_exeext'
51821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51822 (eval $ac_try) 2>&5
51823 ac_status=$?
51824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51825 (exit $ac_status); }; }; then
51826 glibcxx_cv_func___builtin_cosl_link=yes
51827 else
51828 echo "$as_me: failed program was:" >&5
51829 sed 's/^/| /' conftest.$ac_ext >&5
51831 glibcxx_cv_func___builtin_cosl_link=no
51833 rm -f conftest.err conftest.$ac_objext \
51834 conftest$ac_exeext conftest.$ac_ext
51839 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
51840 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
51842 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
51844 cat >>confdefs.h <<\_ACEOF
51845 #define HAVE___BUILTIN_COSL 1
51846 _ACEOF
51855 echo "$as_me:$LINENO: checking for main in -lm" >&5
51856 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51857 if test "${ac_cv_lib_m_main+set}" = set; then
51858 echo $ECHO_N "(cached) $ECHO_C" >&6
51859 else
51860 ac_check_lib_save_LIBS=$LIBS
51861 LIBS="-lm $LIBS"
51862 if test x$gcc_no_link = xyes; then
51863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51865 { (exit 1); exit 1; }; }
51867 cat >conftest.$ac_ext <<_ACEOF
51868 /* confdefs.h. */
51869 _ACEOF
51870 cat confdefs.h >>conftest.$ac_ext
51871 cat >>conftest.$ac_ext <<_ACEOF
51872 /* end confdefs.h. */
51876 main ()
51878 main ();
51880 return 0;
51882 _ACEOF
51883 rm -f conftest.$ac_objext conftest$ac_exeext
51884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51885 (eval $ac_link) 2>conftest.er1
51886 ac_status=$?
51887 grep -v '^ *+' conftest.er1 >conftest.err
51888 rm -f conftest.er1
51889 cat conftest.err >&5
51890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51891 (exit $ac_status); } &&
51892 { ac_try='test -z "$ac_c_werror_flag"
51893 || test ! -s conftest.err'
51894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51895 (eval $ac_try) 2>&5
51896 ac_status=$?
51897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51898 (exit $ac_status); }; } &&
51899 { ac_try='test -s conftest$ac_exeext'
51900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51901 (eval $ac_try) 2>&5
51902 ac_status=$?
51903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51904 (exit $ac_status); }; }; then
51905 ac_cv_lib_m_main=yes
51906 else
51907 echo "$as_me: failed program was:" >&5
51908 sed 's/^/| /' conftest.$ac_ext >&5
51910 ac_cv_lib_m_main=no
51912 rm -f conftest.err conftest.$ac_objext \
51913 conftest$ac_exeext conftest.$ac_ext
51914 LIBS=$ac_check_lib_save_LIBS
51916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
51917 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
51918 if test $ac_cv_lib_m_main = yes; then
51919 cat >>confdefs.h <<_ACEOF
51920 #define HAVE_LIBM 1
51921 _ACEOF
51923 LIBS="-lm $LIBS"
51928 for ac_func in copysignf
51930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51931 echo "$as_me:$LINENO: checking for $ac_func" >&5
51932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51933 if eval "test \"\${$as_ac_var+set}\" = set"; then
51934 echo $ECHO_N "(cached) $ECHO_C" >&6
51935 else
51936 if test x$gcc_no_link = xyes; then
51937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51939 { (exit 1); exit 1; }; }
51941 cat >conftest.$ac_ext <<_ACEOF
51942 /* confdefs.h. */
51943 _ACEOF
51944 cat confdefs.h >>conftest.$ac_ext
51945 cat >>conftest.$ac_ext <<_ACEOF
51946 /* end confdefs.h. */
51947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51949 #define $ac_func innocuous_$ac_func
51951 /* System header to define __stub macros and hopefully few prototypes,
51952 which can conflict with char $ac_func (); below.
51953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51954 <limits.h> exists even on freestanding compilers. */
51956 #ifdef __STDC__
51957 # include <limits.h>
51958 #else
51959 # include <assert.h>
51960 #endif
51962 #undef $ac_func
51964 /* Override any gcc2 internal prototype to avoid an error. */
51965 #ifdef __cplusplus
51966 extern "C"
51968 #endif
51969 /* We use char because int might match the return type of a gcc2
51970 builtin and then its argument prototype would still apply. */
51971 char $ac_func ();
51972 /* The GNU C library defines this for functions which it implements
51973 to always fail with ENOSYS. Some functions are actually named
51974 something starting with __ and the normal name is an alias. */
51975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51976 choke me
51977 #else
51978 char (*f) () = $ac_func;
51979 #endif
51980 #ifdef __cplusplus
51982 #endif
51985 main ()
51987 return f != $ac_func;
51989 return 0;
51991 _ACEOF
51992 rm -f conftest.$ac_objext conftest$ac_exeext
51993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51994 (eval $ac_link) 2>conftest.er1
51995 ac_status=$?
51996 grep -v '^ *+' conftest.er1 >conftest.err
51997 rm -f conftest.er1
51998 cat conftest.err >&5
51999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52000 (exit $ac_status); } &&
52001 { ac_try='test -z "$ac_c_werror_flag"
52002 || test ! -s conftest.err'
52003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52004 (eval $ac_try) 2>&5
52005 ac_status=$?
52006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52007 (exit $ac_status); }; } &&
52008 { ac_try='test -s conftest$ac_exeext'
52009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52010 (eval $ac_try) 2>&5
52011 ac_status=$?
52012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52013 (exit $ac_status); }; }; then
52014 eval "$as_ac_var=yes"
52015 else
52016 echo "$as_me: failed program was:" >&5
52017 sed 's/^/| /' conftest.$ac_ext >&5
52019 eval "$as_ac_var=no"
52021 rm -f conftest.err conftest.$ac_objext \
52022 conftest$ac_exeext conftest.$ac_ext
52024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52026 if test `eval echo '${'$as_ac_var'}'` = yes; then
52027 cat >>confdefs.h <<_ACEOF
52028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52029 _ACEOF
52031 else
52032 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52034 done
52038 for ac_func in __signbit
52040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52041 echo "$as_me:$LINENO: checking for $ac_func" >&5
52042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52043 if eval "test \"\${$as_ac_var+set}\" = set"; then
52044 echo $ECHO_N "(cached) $ECHO_C" >&6
52045 else
52046 if test x$gcc_no_link = xyes; then
52047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52049 { (exit 1); exit 1; }; }
52051 cat >conftest.$ac_ext <<_ACEOF
52052 /* confdefs.h. */
52053 _ACEOF
52054 cat confdefs.h >>conftest.$ac_ext
52055 cat >>conftest.$ac_ext <<_ACEOF
52056 /* end confdefs.h. */
52057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52059 #define $ac_func innocuous_$ac_func
52061 /* System header to define __stub macros and hopefully few prototypes,
52062 which can conflict with char $ac_func (); below.
52063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52064 <limits.h> exists even on freestanding compilers. */
52066 #ifdef __STDC__
52067 # include <limits.h>
52068 #else
52069 # include <assert.h>
52070 #endif
52072 #undef $ac_func
52074 /* Override any gcc2 internal prototype to avoid an error. */
52075 #ifdef __cplusplus
52076 extern "C"
52078 #endif
52079 /* We use char because int might match the return type of a gcc2
52080 builtin and then its argument prototype would still apply. */
52081 char $ac_func ();
52082 /* The GNU C library defines this for functions which it implements
52083 to always fail with ENOSYS. Some functions are actually named
52084 something starting with __ and the normal name is an alias. */
52085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52086 choke me
52087 #else
52088 char (*f) () = $ac_func;
52089 #endif
52090 #ifdef __cplusplus
52092 #endif
52095 main ()
52097 return f != $ac_func;
52099 return 0;
52101 _ACEOF
52102 rm -f conftest.$ac_objext conftest$ac_exeext
52103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52104 (eval $ac_link) 2>conftest.er1
52105 ac_status=$?
52106 grep -v '^ *+' conftest.er1 >conftest.err
52107 rm -f conftest.er1
52108 cat conftest.err >&5
52109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52110 (exit $ac_status); } &&
52111 { ac_try='test -z "$ac_c_werror_flag"
52112 || test ! -s conftest.err'
52113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52114 (eval $ac_try) 2>&5
52115 ac_status=$?
52116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52117 (exit $ac_status); }; } &&
52118 { ac_try='test -s conftest$ac_exeext'
52119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52120 (eval $ac_try) 2>&5
52121 ac_status=$?
52122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52123 (exit $ac_status); }; }; then
52124 eval "$as_ac_var=yes"
52125 else
52126 echo "$as_me: failed program was:" >&5
52127 sed 's/^/| /' conftest.$ac_ext >&5
52129 eval "$as_ac_var=no"
52131 rm -f conftest.err conftest.$ac_objext \
52132 conftest$ac_exeext conftest.$ac_ext
52134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52136 if test `eval echo '${'$as_ac_var'}'` = yes; then
52137 cat >>confdefs.h <<_ACEOF
52138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52139 _ACEOF
52141 else
52142 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52144 done
52148 for ac_func in __signbitf
52150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52151 echo "$as_me:$LINENO: checking for $ac_func" >&5
52152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52153 if eval "test \"\${$as_ac_var+set}\" = set"; then
52154 echo $ECHO_N "(cached) $ECHO_C" >&6
52155 else
52156 if test x$gcc_no_link = xyes; then
52157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52159 { (exit 1); exit 1; }; }
52161 cat >conftest.$ac_ext <<_ACEOF
52162 /* confdefs.h. */
52163 _ACEOF
52164 cat confdefs.h >>conftest.$ac_ext
52165 cat >>conftest.$ac_ext <<_ACEOF
52166 /* end confdefs.h. */
52167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52169 #define $ac_func innocuous_$ac_func
52171 /* System header to define __stub macros and hopefully few prototypes,
52172 which can conflict with char $ac_func (); below.
52173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52174 <limits.h> exists even on freestanding compilers. */
52176 #ifdef __STDC__
52177 # include <limits.h>
52178 #else
52179 # include <assert.h>
52180 #endif
52182 #undef $ac_func
52184 /* Override any gcc2 internal prototype to avoid an error. */
52185 #ifdef __cplusplus
52186 extern "C"
52188 #endif
52189 /* We use char because int might match the return type of a gcc2
52190 builtin and then its argument prototype would still apply. */
52191 char $ac_func ();
52192 /* The GNU C library defines this for functions which it implements
52193 to always fail with ENOSYS. Some functions are actually named
52194 something starting with __ and the normal name is an alias. */
52195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52196 choke me
52197 #else
52198 char (*f) () = $ac_func;
52199 #endif
52200 #ifdef __cplusplus
52202 #endif
52205 main ()
52207 return f != $ac_func;
52209 return 0;
52211 _ACEOF
52212 rm -f conftest.$ac_objext conftest$ac_exeext
52213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52214 (eval $ac_link) 2>conftest.er1
52215 ac_status=$?
52216 grep -v '^ *+' conftest.er1 >conftest.err
52217 rm -f conftest.er1
52218 cat conftest.err >&5
52219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52220 (exit $ac_status); } &&
52221 { ac_try='test -z "$ac_c_werror_flag"
52222 || test ! -s conftest.err'
52223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52224 (eval $ac_try) 2>&5
52225 ac_status=$?
52226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52227 (exit $ac_status); }; } &&
52228 { ac_try='test -s conftest$ac_exeext'
52229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52230 (eval $ac_try) 2>&5
52231 ac_status=$?
52232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52233 (exit $ac_status); }; }; then
52234 eval "$as_ac_var=yes"
52235 else
52236 echo "$as_me: failed program was:" >&5
52237 sed 's/^/| /' conftest.$ac_ext >&5
52239 eval "$as_ac_var=no"
52241 rm -f conftest.err conftest.$ac_objext \
52242 conftest$ac_exeext conftest.$ac_ext
52244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52246 if test `eval echo '${'$as_ac_var'}'` = yes; then
52247 cat >>confdefs.h <<_ACEOF
52248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52249 _ACEOF
52251 else
52252 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52254 done
52257 if test x$ac_cv_func_copysignl = x"yes"; then
52259 for ac_func in __signbitl
52261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52262 echo "$as_me:$LINENO: checking for $ac_func" >&5
52263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52264 if eval "test \"\${$as_ac_var+set}\" = set"; then
52265 echo $ECHO_N "(cached) $ECHO_C" >&6
52266 else
52267 if test x$gcc_no_link = xyes; then
52268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52270 { (exit 1); exit 1; }; }
52272 cat >conftest.$ac_ext <<_ACEOF
52273 /* confdefs.h. */
52274 _ACEOF
52275 cat confdefs.h >>conftest.$ac_ext
52276 cat >>conftest.$ac_ext <<_ACEOF
52277 /* end confdefs.h. */
52278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52280 #define $ac_func innocuous_$ac_func
52282 /* System header to define __stub macros and hopefully few prototypes,
52283 which can conflict with char $ac_func (); below.
52284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52285 <limits.h> exists even on freestanding compilers. */
52287 #ifdef __STDC__
52288 # include <limits.h>
52289 #else
52290 # include <assert.h>
52291 #endif
52293 #undef $ac_func
52295 /* Override any gcc2 internal prototype to avoid an error. */
52296 #ifdef __cplusplus
52297 extern "C"
52299 #endif
52300 /* We use char because int might match the return type of a gcc2
52301 builtin and then its argument prototype would still apply. */
52302 char $ac_func ();
52303 /* The GNU C library defines this for functions which it implements
52304 to always fail with ENOSYS. Some functions are actually named
52305 something starting with __ and the normal name is an alias. */
52306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52307 choke me
52308 #else
52309 char (*f) () = $ac_func;
52310 #endif
52311 #ifdef __cplusplus
52313 #endif
52316 main ()
52318 return f != $ac_func;
52320 return 0;
52322 _ACEOF
52323 rm -f conftest.$ac_objext conftest$ac_exeext
52324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52325 (eval $ac_link) 2>conftest.er1
52326 ac_status=$?
52327 grep -v '^ *+' conftest.er1 >conftest.err
52328 rm -f conftest.er1
52329 cat conftest.err >&5
52330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52331 (exit $ac_status); } &&
52332 { ac_try='test -z "$ac_c_werror_flag"
52333 || test ! -s conftest.err'
52334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52335 (eval $ac_try) 2>&5
52336 ac_status=$?
52337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52338 (exit $ac_status); }; } &&
52339 { ac_try='test -s conftest$ac_exeext'
52340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52341 (eval $ac_try) 2>&5
52342 ac_status=$?
52343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52344 (exit $ac_status); }; }; then
52345 eval "$as_ac_var=yes"
52346 else
52347 echo "$as_me: failed program was:" >&5
52348 sed 's/^/| /' conftest.$ac_ext >&5
52350 eval "$as_ac_var=no"
52352 rm -f conftest.err conftest.$ac_objext \
52353 conftest$ac_exeext conftest.$ac_ext
52355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52357 if test `eval echo '${'$as_ac_var'}'` = yes; then
52358 cat >>confdefs.h <<_ACEOF
52359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52360 _ACEOF
52362 else
52363 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52365 done
52369 # Used in libmath/Makefile.am.
52370 if test -n "$LIBMATHOBJS"; then
52371 need_libmath=yes
52377 enable_iconv=no
52378 # Only continue checking if the ISO C99 headers exist and support is on.
52379 if test x"$enable_wchar_t" = xyes; then
52381 # Use iconv for wchar_t to char conversions. As such, check for
52382 # X/Open Portability Guide, version 2 features (XPG2).
52383 if test "${ac_cv_header_iconv_h+set}" = set; then
52384 echo "$as_me:$LINENO: checking for iconv.h" >&5
52385 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52386 if test "${ac_cv_header_iconv_h+set}" = set; then
52387 echo $ECHO_N "(cached) $ECHO_C" >&6
52389 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52390 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52391 else
52392 # Is the header compilable?
52393 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52394 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52395 cat >conftest.$ac_ext <<_ACEOF
52396 /* confdefs.h. */
52397 _ACEOF
52398 cat confdefs.h >>conftest.$ac_ext
52399 cat >>conftest.$ac_ext <<_ACEOF
52400 /* end confdefs.h. */
52401 $ac_includes_default
52402 #include <iconv.h>
52403 _ACEOF
52404 rm -f conftest.$ac_objext
52405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52406 (eval $ac_compile) 2>conftest.er1
52407 ac_status=$?
52408 grep -v '^ *+' conftest.er1 >conftest.err
52409 rm -f conftest.er1
52410 cat conftest.err >&5
52411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52412 (exit $ac_status); } &&
52413 { ac_try='test -z "$ac_c_werror_flag"
52414 || test ! -s conftest.err'
52415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52416 (eval $ac_try) 2>&5
52417 ac_status=$?
52418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52419 (exit $ac_status); }; } &&
52420 { ac_try='test -s conftest.$ac_objext'
52421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52422 (eval $ac_try) 2>&5
52423 ac_status=$?
52424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52425 (exit $ac_status); }; }; then
52426 ac_header_compiler=yes
52427 else
52428 echo "$as_me: failed program was:" >&5
52429 sed 's/^/| /' conftest.$ac_ext >&5
52431 ac_header_compiler=no
52433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52434 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52435 echo "${ECHO_T}$ac_header_compiler" >&6
52437 # Is the header present?
52438 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52439 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52440 cat >conftest.$ac_ext <<_ACEOF
52441 /* confdefs.h. */
52442 _ACEOF
52443 cat confdefs.h >>conftest.$ac_ext
52444 cat >>conftest.$ac_ext <<_ACEOF
52445 /* end confdefs.h. */
52446 #include <iconv.h>
52447 _ACEOF
52448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52450 ac_status=$?
52451 grep -v '^ *+' conftest.er1 >conftest.err
52452 rm -f conftest.er1
52453 cat conftest.err >&5
52454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52455 (exit $ac_status); } >/dev/null; then
52456 if test -s conftest.err; then
52457 ac_cpp_err=$ac_c_preproc_warn_flag
52458 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52459 else
52460 ac_cpp_err=
52462 else
52463 ac_cpp_err=yes
52465 if test -z "$ac_cpp_err"; then
52466 ac_header_preproc=yes
52467 else
52468 echo "$as_me: failed program was:" >&5
52469 sed 's/^/| /' conftest.$ac_ext >&5
52471 ac_header_preproc=no
52473 rm -f conftest.err conftest.$ac_ext
52474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52475 echo "${ECHO_T}$ac_header_preproc" >&6
52477 # So? What about this header?
52478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52479 yes:no: )
52480 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52481 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52482 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
52483 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
52484 ac_header_preproc=yes
52486 no:yes:* )
52487 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52488 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52489 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52490 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52491 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
52492 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
52493 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
52494 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
52495 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52496 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52497 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
52498 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
52500 cat <<\_ASBOX
52501 ## ----------------------------------------- ##
52502 ## Report this to the package-unused lists. ##
52503 ## ----------------------------------------- ##
52504 _ASBOX
52506 sed "s/^/$as_me: WARNING: /" >&2
52508 esac
52509 echo "$as_me:$LINENO: checking for iconv.h" >&5
52510 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52511 if test "${ac_cv_header_iconv_h+set}" = set; then
52512 echo $ECHO_N "(cached) $ECHO_C" >&6
52513 else
52514 ac_cv_header_iconv_h=$ac_header_preproc
52516 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52517 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52520 if test $ac_cv_header_iconv_h = yes; then
52521 ac_has_iconv_h=yes
52522 else
52523 ac_has_iconv_h=no
52527 if test "${ac_cv_header_langinfo_h+set}" = set; then
52528 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52529 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52530 if test "${ac_cv_header_langinfo_h+set}" = set; then
52531 echo $ECHO_N "(cached) $ECHO_C" >&6
52533 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52534 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52535 else
52536 # Is the header compilable?
52537 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52538 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52539 cat >conftest.$ac_ext <<_ACEOF
52540 /* confdefs.h. */
52541 _ACEOF
52542 cat confdefs.h >>conftest.$ac_ext
52543 cat >>conftest.$ac_ext <<_ACEOF
52544 /* end confdefs.h. */
52545 $ac_includes_default
52546 #include <langinfo.h>
52547 _ACEOF
52548 rm -f conftest.$ac_objext
52549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52550 (eval $ac_compile) 2>conftest.er1
52551 ac_status=$?
52552 grep -v '^ *+' conftest.er1 >conftest.err
52553 rm -f conftest.er1
52554 cat conftest.err >&5
52555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52556 (exit $ac_status); } &&
52557 { ac_try='test -z "$ac_c_werror_flag"
52558 || test ! -s conftest.err'
52559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52560 (eval $ac_try) 2>&5
52561 ac_status=$?
52562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52563 (exit $ac_status); }; } &&
52564 { ac_try='test -s conftest.$ac_objext'
52565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52566 (eval $ac_try) 2>&5
52567 ac_status=$?
52568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52569 (exit $ac_status); }; }; then
52570 ac_header_compiler=yes
52571 else
52572 echo "$as_me: failed program was:" >&5
52573 sed 's/^/| /' conftest.$ac_ext >&5
52575 ac_header_compiler=no
52577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52578 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52579 echo "${ECHO_T}$ac_header_compiler" >&6
52581 # Is the header present?
52582 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52583 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52584 cat >conftest.$ac_ext <<_ACEOF
52585 /* confdefs.h. */
52586 _ACEOF
52587 cat confdefs.h >>conftest.$ac_ext
52588 cat >>conftest.$ac_ext <<_ACEOF
52589 /* end confdefs.h. */
52590 #include <langinfo.h>
52591 _ACEOF
52592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52593 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52594 ac_status=$?
52595 grep -v '^ *+' conftest.er1 >conftest.err
52596 rm -f conftest.er1
52597 cat conftest.err >&5
52598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52599 (exit $ac_status); } >/dev/null; then
52600 if test -s conftest.err; then
52601 ac_cpp_err=$ac_c_preproc_warn_flag
52602 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52603 else
52604 ac_cpp_err=
52606 else
52607 ac_cpp_err=yes
52609 if test -z "$ac_cpp_err"; then
52610 ac_header_preproc=yes
52611 else
52612 echo "$as_me: failed program was:" >&5
52613 sed 's/^/| /' conftest.$ac_ext >&5
52615 ac_header_preproc=no
52617 rm -f conftest.err conftest.$ac_ext
52618 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52619 echo "${ECHO_T}$ac_header_preproc" >&6
52621 # So? What about this header?
52622 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52623 yes:no: )
52624 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52625 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52626 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52627 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52628 ac_header_preproc=yes
52630 no:yes:* )
52631 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52632 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52633 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52634 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52635 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52636 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52637 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
52638 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
52639 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52640 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52641 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52642 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52644 cat <<\_ASBOX
52645 ## ----------------------------------------- ##
52646 ## Report this to the package-unused lists. ##
52647 ## ----------------------------------------- ##
52648 _ASBOX
52650 sed "s/^/$as_me: WARNING: /" >&2
52652 esac
52653 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52654 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52655 if test "${ac_cv_header_langinfo_h+set}" = set; then
52656 echo $ECHO_N "(cached) $ECHO_C" >&6
52657 else
52658 ac_cv_header_langinfo_h=$ac_header_preproc
52660 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52661 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52664 if test $ac_cv_header_langinfo_h = yes; then
52665 ac_has_langinfo_h=yes
52666 else
52667 ac_has_langinfo_h=no
52672 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52673 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52674 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52675 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52676 echo $ECHO_N "(cached) $ECHO_C" >&6
52677 else
52678 ac_check_lib_save_LIBS=$LIBS
52679 LIBS="-liconv $LIBS"
52680 if test x$gcc_no_link = xyes; then
52681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52683 { (exit 1); exit 1; }; }
52685 cat >conftest.$ac_ext <<_ACEOF
52686 /* confdefs.h. */
52687 _ACEOF
52688 cat confdefs.h >>conftest.$ac_ext
52689 cat >>conftest.$ac_ext <<_ACEOF
52690 /* end confdefs.h. */
52692 /* Override any gcc2 internal prototype to avoid an error. */
52693 #ifdef __cplusplus
52694 extern "C"
52695 #endif
52696 /* We use char because int might match the return type of a gcc2
52697 builtin and then its argument prototype would still apply. */
52698 char iconv ();
52700 main ()
52702 iconv ();
52704 return 0;
52706 _ACEOF
52707 rm -f conftest.$ac_objext conftest$ac_exeext
52708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52709 (eval $ac_link) 2>conftest.er1
52710 ac_status=$?
52711 grep -v '^ *+' conftest.er1 >conftest.err
52712 rm -f conftest.er1
52713 cat conftest.err >&5
52714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52715 (exit $ac_status); } &&
52716 { ac_try='test -z "$ac_c_werror_flag"
52717 || test ! -s conftest.err'
52718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52719 (eval $ac_try) 2>&5
52720 ac_status=$?
52721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52722 (exit $ac_status); }; } &&
52723 { ac_try='test -s conftest$ac_exeext'
52724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52725 (eval $ac_try) 2>&5
52726 ac_status=$?
52727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52728 (exit $ac_status); }; }; then
52729 ac_cv_lib_iconv_iconv=yes
52730 else
52731 echo "$as_me: failed program was:" >&5
52732 sed 's/^/| /' conftest.$ac_ext >&5
52734 ac_cv_lib_iconv_iconv=no
52736 rm -f conftest.err conftest.$ac_objext \
52737 conftest$ac_exeext conftest.$ac_ext
52738 LIBS=$ac_check_lib_save_LIBS
52740 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52741 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52742 if test $ac_cv_lib_iconv_iconv = yes; then
52743 LIBICONV="-liconv"
52746 ac_save_LIBS="$LIBS"
52747 LIBS="$LIBS $LIBICONV"
52754 for ac_func in iconv_open iconv_close iconv nl_langinfo
52756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52757 echo "$as_me:$LINENO: checking for $ac_func" >&5
52758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52759 if eval "test \"\${$as_ac_var+set}\" = set"; then
52760 echo $ECHO_N "(cached) $ECHO_C" >&6
52761 else
52762 if test x$gcc_no_link = xyes; then
52763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52765 { (exit 1); exit 1; }; }
52767 cat >conftest.$ac_ext <<_ACEOF
52768 /* confdefs.h. */
52769 _ACEOF
52770 cat confdefs.h >>conftest.$ac_ext
52771 cat >>conftest.$ac_ext <<_ACEOF
52772 /* end confdefs.h. */
52773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52775 #define $ac_func innocuous_$ac_func
52777 /* System header to define __stub macros and hopefully few prototypes,
52778 which can conflict with char $ac_func (); below.
52779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52780 <limits.h> exists even on freestanding compilers. */
52782 #ifdef __STDC__
52783 # include <limits.h>
52784 #else
52785 # include <assert.h>
52786 #endif
52788 #undef $ac_func
52790 /* Override any gcc2 internal prototype to avoid an error. */
52791 #ifdef __cplusplus
52792 extern "C"
52794 #endif
52795 /* We use char because int might match the return type of a gcc2
52796 builtin and then its argument prototype would still apply. */
52797 char $ac_func ();
52798 /* The GNU C library defines this for functions which it implements
52799 to always fail with ENOSYS. Some functions are actually named
52800 something starting with __ and the normal name is an alias. */
52801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52802 choke me
52803 #else
52804 char (*f) () = $ac_func;
52805 #endif
52806 #ifdef __cplusplus
52808 #endif
52811 main ()
52813 return f != $ac_func;
52815 return 0;
52817 _ACEOF
52818 rm -f conftest.$ac_objext conftest$ac_exeext
52819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52820 (eval $ac_link) 2>conftest.er1
52821 ac_status=$?
52822 grep -v '^ *+' conftest.er1 >conftest.err
52823 rm -f conftest.er1
52824 cat conftest.err >&5
52825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52826 (exit $ac_status); } &&
52827 { ac_try='test -z "$ac_c_werror_flag"
52828 || test ! -s conftest.err'
52829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52830 (eval $ac_try) 2>&5
52831 ac_status=$?
52832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52833 (exit $ac_status); }; } &&
52834 { ac_try='test -s conftest$ac_exeext'
52835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52836 (eval $ac_try) 2>&5
52837 ac_status=$?
52838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52839 (exit $ac_status); }; }; then
52840 eval "$as_ac_var=yes"
52841 else
52842 echo "$as_me: failed program was:" >&5
52843 sed 's/^/| /' conftest.$ac_ext >&5
52845 eval "$as_ac_var=no"
52847 rm -f conftest.err conftest.$ac_objext \
52848 conftest$ac_exeext conftest.$ac_ext
52850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52852 if test `eval echo '${'$as_ac_var'}'` = yes; then
52853 cat >>confdefs.h <<_ACEOF
52854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52855 _ACEOF
52856 ac_XPG2funcs=yes
52857 else
52858 ac_XPG2funcs=no
52860 done
52863 LIBS="$ac_save_LIBS"
52865 if test x"$ac_has_iconv_h" = xyes &&
52866 test x"$ac_has_langinfo_h" = xyes &&
52867 test x"$ac_XPG2funcs" = xyes;
52868 then
52870 cat >>confdefs.h <<\_ACEOF
52871 #define _GLIBCXX_USE_ICONV 1
52872 _ACEOF
52874 enable_iconv=yes
52877 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
52878 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
52879 echo "$as_me:$LINENO: result: $enable_iconv" >&5
52880 echo "${ECHO_T}$enable_iconv" >&6
52883 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52884 ac_save_CXXFLAGS="$CXXFLAGS"
52885 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52888 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52889 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52890 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52891 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52892 echo $ECHO_N "(cached) $ECHO_C" >&6
52893 else
52897 ac_ext=cc
52898 ac_cpp='$CXXCPP $CPPFLAGS'
52899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52903 cat >conftest.$ac_ext <<_ACEOF
52904 /* confdefs.h. */
52905 _ACEOF
52906 cat confdefs.h >>conftest.$ac_ext
52907 cat >>conftest.$ac_ext <<_ACEOF
52908 /* end confdefs.h. */
52909 #include <stdlib.h>
52911 main ()
52913 strtold(0, 0);
52915 return 0;
52917 _ACEOF
52918 rm -f conftest.$ac_objext
52919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52920 (eval $ac_compile) 2>conftest.er1
52921 ac_status=$?
52922 grep -v '^ *+' conftest.er1 >conftest.err
52923 rm -f conftest.er1
52924 cat conftest.err >&5
52925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52926 (exit $ac_status); } &&
52927 { ac_try='test -z "$ac_cxx_werror_flag"
52928 || test ! -s conftest.err'
52929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52930 (eval $ac_try) 2>&5
52931 ac_status=$?
52932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52933 (exit $ac_status); }; } &&
52934 { ac_try='test -s conftest.$ac_objext'
52935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52936 (eval $ac_try) 2>&5
52937 ac_status=$?
52938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52939 (exit $ac_status); }; }; then
52940 glibcxx_cv_func_strtold_use=yes
52941 else
52942 echo "$as_me: failed program was:" >&5
52943 sed 's/^/| /' conftest.$ac_ext >&5
52945 glibcxx_cv_func_strtold_use=no
52947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52948 ac_ext=c
52949 ac_cpp='$CPP $CPPFLAGS'
52950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52958 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52959 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52960 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52962 for ac_func in strtold
52964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52965 echo "$as_me:$LINENO: checking for $ac_func" >&5
52966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52967 if eval "test \"\${$as_ac_var+set}\" = set"; then
52968 echo $ECHO_N "(cached) $ECHO_C" >&6
52969 else
52970 if test x$gcc_no_link = xyes; then
52971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52973 { (exit 1); exit 1; }; }
52975 cat >conftest.$ac_ext <<_ACEOF
52976 /* confdefs.h. */
52977 _ACEOF
52978 cat confdefs.h >>conftest.$ac_ext
52979 cat >>conftest.$ac_ext <<_ACEOF
52980 /* end confdefs.h. */
52981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52983 #define $ac_func innocuous_$ac_func
52985 /* System header to define __stub macros and hopefully few prototypes,
52986 which can conflict with char $ac_func (); below.
52987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52988 <limits.h> exists even on freestanding compilers. */
52990 #ifdef __STDC__
52991 # include <limits.h>
52992 #else
52993 # include <assert.h>
52994 #endif
52996 #undef $ac_func
52998 /* Override any gcc2 internal prototype to avoid an error. */
52999 #ifdef __cplusplus
53000 extern "C"
53002 #endif
53003 /* We use char because int might match the return type of a gcc2
53004 builtin and then its argument prototype would still apply. */
53005 char $ac_func ();
53006 /* The GNU C library defines this for functions which it implements
53007 to always fail with ENOSYS. Some functions are actually named
53008 something starting with __ and the normal name is an alias. */
53009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53010 choke me
53011 #else
53012 char (*f) () = $ac_func;
53013 #endif
53014 #ifdef __cplusplus
53016 #endif
53019 main ()
53021 return f != $ac_func;
53023 return 0;
53025 _ACEOF
53026 rm -f conftest.$ac_objext conftest$ac_exeext
53027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53028 (eval $ac_link) 2>conftest.er1
53029 ac_status=$?
53030 grep -v '^ *+' conftest.er1 >conftest.err
53031 rm -f conftest.er1
53032 cat conftest.err >&5
53033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53034 (exit $ac_status); } &&
53035 { ac_try='test -z "$ac_c_werror_flag"
53036 || test ! -s conftest.err'
53037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53038 (eval $ac_try) 2>&5
53039 ac_status=$?
53040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53041 (exit $ac_status); }; } &&
53042 { ac_try='test -s conftest$ac_exeext'
53043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53044 (eval $ac_try) 2>&5
53045 ac_status=$?
53046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53047 (exit $ac_status); }; }; then
53048 eval "$as_ac_var=yes"
53049 else
53050 echo "$as_me: failed program was:" >&5
53051 sed 's/^/| /' conftest.$ac_ext >&5
53053 eval "$as_ac_var=no"
53055 rm -f conftest.err conftest.$ac_objext \
53056 conftest$ac_exeext conftest.$ac_ext
53058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53060 if test `eval echo '${'$as_ac_var'}'` = yes; then
53061 cat >>confdefs.h <<_ACEOF
53062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53063 _ACEOF
53066 done
53074 echo "$as_me:$LINENO: checking for strtof declaration" >&5
53075 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53076 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53077 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53078 echo $ECHO_N "(cached) $ECHO_C" >&6
53079 else
53083 ac_ext=cc
53084 ac_cpp='$CXXCPP $CPPFLAGS'
53085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53089 cat >conftest.$ac_ext <<_ACEOF
53090 /* confdefs.h. */
53091 _ACEOF
53092 cat confdefs.h >>conftest.$ac_ext
53093 cat >>conftest.$ac_ext <<_ACEOF
53094 /* end confdefs.h. */
53095 #include <stdlib.h>
53097 main ()
53099 strtof(0, 0);
53101 return 0;
53103 _ACEOF
53104 rm -f conftest.$ac_objext
53105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53106 (eval $ac_compile) 2>conftest.er1
53107 ac_status=$?
53108 grep -v '^ *+' conftest.er1 >conftest.err
53109 rm -f conftest.er1
53110 cat conftest.err >&5
53111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53112 (exit $ac_status); } &&
53113 { ac_try='test -z "$ac_cxx_werror_flag"
53114 || test ! -s conftest.err'
53115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53116 (eval $ac_try) 2>&5
53117 ac_status=$?
53118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53119 (exit $ac_status); }; } &&
53120 { ac_try='test -s conftest.$ac_objext'
53121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53122 (eval $ac_try) 2>&5
53123 ac_status=$?
53124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53125 (exit $ac_status); }; }; then
53126 glibcxx_cv_func_strtof_use=yes
53127 else
53128 echo "$as_me: failed program was:" >&5
53129 sed 's/^/| /' conftest.$ac_ext >&5
53131 glibcxx_cv_func_strtof_use=no
53133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53134 ac_ext=c
53135 ac_cpp='$CPP $CPPFLAGS'
53136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53144 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53145 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53146 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53148 for ac_func in strtof
53150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53151 echo "$as_me:$LINENO: checking for $ac_func" >&5
53152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53153 if eval "test \"\${$as_ac_var+set}\" = set"; then
53154 echo $ECHO_N "(cached) $ECHO_C" >&6
53155 else
53156 if test x$gcc_no_link = xyes; then
53157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53159 { (exit 1); exit 1; }; }
53161 cat >conftest.$ac_ext <<_ACEOF
53162 /* confdefs.h. */
53163 _ACEOF
53164 cat confdefs.h >>conftest.$ac_ext
53165 cat >>conftest.$ac_ext <<_ACEOF
53166 /* end confdefs.h. */
53167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53169 #define $ac_func innocuous_$ac_func
53171 /* System header to define __stub macros and hopefully few prototypes,
53172 which can conflict with char $ac_func (); below.
53173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53174 <limits.h> exists even on freestanding compilers. */
53176 #ifdef __STDC__
53177 # include <limits.h>
53178 #else
53179 # include <assert.h>
53180 #endif
53182 #undef $ac_func
53184 /* Override any gcc2 internal prototype to avoid an error. */
53185 #ifdef __cplusplus
53186 extern "C"
53188 #endif
53189 /* We use char because int might match the return type of a gcc2
53190 builtin and then its argument prototype would still apply. */
53191 char $ac_func ();
53192 /* The GNU C library defines this for functions which it implements
53193 to always fail with ENOSYS. Some functions are actually named
53194 something starting with __ and the normal name is an alias. */
53195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53196 choke me
53197 #else
53198 char (*f) () = $ac_func;
53199 #endif
53200 #ifdef __cplusplus
53202 #endif
53205 main ()
53207 return f != $ac_func;
53209 return 0;
53211 _ACEOF
53212 rm -f conftest.$ac_objext conftest$ac_exeext
53213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53214 (eval $ac_link) 2>conftest.er1
53215 ac_status=$?
53216 grep -v '^ *+' conftest.er1 >conftest.err
53217 rm -f conftest.er1
53218 cat conftest.err >&5
53219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53220 (exit $ac_status); } &&
53221 { ac_try='test -z "$ac_c_werror_flag"
53222 || test ! -s conftest.err'
53223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53224 (eval $ac_try) 2>&5
53225 ac_status=$?
53226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53227 (exit $ac_status); }; } &&
53228 { ac_try='test -s conftest$ac_exeext'
53229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53230 (eval $ac_try) 2>&5
53231 ac_status=$?
53232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53233 (exit $ac_status); }; }; then
53234 eval "$as_ac_var=yes"
53235 else
53236 echo "$as_me: failed program was:" >&5
53237 sed 's/^/| /' conftest.$ac_ext >&5
53239 eval "$as_ac_var=no"
53241 rm -f conftest.err conftest.$ac_objext \
53242 conftest$ac_exeext conftest.$ac_ext
53244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53246 if test `eval echo '${'$as_ac_var'}'` = yes; then
53247 cat >>confdefs.h <<_ACEOF
53248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53249 _ACEOF
53252 done
53260 CXXFLAGS="$ac_save_CXXFLAGS"
53263 # For showmanyc_helper().
53266 for ac_header in sys/ioctl.h sys/filio.h
53268 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53270 echo "$as_me:$LINENO: checking for $ac_header" >&5
53271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53273 echo $ECHO_N "(cached) $ECHO_C" >&6
53275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53277 else
53278 # Is the header compilable?
53279 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53281 cat >conftest.$ac_ext <<_ACEOF
53282 /* confdefs.h. */
53283 _ACEOF
53284 cat confdefs.h >>conftest.$ac_ext
53285 cat >>conftest.$ac_ext <<_ACEOF
53286 /* end confdefs.h. */
53287 $ac_includes_default
53288 #include <$ac_header>
53289 _ACEOF
53290 rm -f conftest.$ac_objext
53291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53292 (eval $ac_compile) 2>conftest.er1
53293 ac_status=$?
53294 grep -v '^ *+' conftest.er1 >conftest.err
53295 rm -f conftest.er1
53296 cat conftest.err >&5
53297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53298 (exit $ac_status); } &&
53299 { ac_try='test -z "$ac_c_werror_flag"
53300 || test ! -s conftest.err'
53301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53302 (eval $ac_try) 2>&5
53303 ac_status=$?
53304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53305 (exit $ac_status); }; } &&
53306 { ac_try='test -s conftest.$ac_objext'
53307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53308 (eval $ac_try) 2>&5
53309 ac_status=$?
53310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53311 (exit $ac_status); }; }; then
53312 ac_header_compiler=yes
53313 else
53314 echo "$as_me: failed program was:" >&5
53315 sed 's/^/| /' conftest.$ac_ext >&5
53317 ac_header_compiler=no
53319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53321 echo "${ECHO_T}$ac_header_compiler" >&6
53323 # Is the header present?
53324 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53326 cat >conftest.$ac_ext <<_ACEOF
53327 /* confdefs.h. */
53328 _ACEOF
53329 cat confdefs.h >>conftest.$ac_ext
53330 cat >>conftest.$ac_ext <<_ACEOF
53331 /* end confdefs.h. */
53332 #include <$ac_header>
53333 _ACEOF
53334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53336 ac_status=$?
53337 grep -v '^ *+' conftest.er1 >conftest.err
53338 rm -f conftest.er1
53339 cat conftest.err >&5
53340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53341 (exit $ac_status); } >/dev/null; then
53342 if test -s conftest.err; then
53343 ac_cpp_err=$ac_c_preproc_warn_flag
53344 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53345 else
53346 ac_cpp_err=
53348 else
53349 ac_cpp_err=yes
53351 if test -z "$ac_cpp_err"; then
53352 ac_header_preproc=yes
53353 else
53354 echo "$as_me: failed program was:" >&5
53355 sed 's/^/| /' conftest.$ac_ext >&5
53357 ac_header_preproc=no
53359 rm -f conftest.err conftest.$ac_ext
53360 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53361 echo "${ECHO_T}$ac_header_preproc" >&6
53363 # So? What about this header?
53364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53365 yes:no: )
53366 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53367 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53370 ac_header_preproc=yes
53372 no:yes:* )
53373 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53375 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53376 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53377 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53378 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53379 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53380 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53383 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53384 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53386 cat <<\_ASBOX
53387 ## ----------------------------------------- ##
53388 ## Report this to the package-unused lists. ##
53389 ## ----------------------------------------- ##
53390 _ASBOX
53392 sed "s/^/$as_me: WARNING: /" >&2
53394 esac
53395 echo "$as_me:$LINENO: checking for $ac_header" >&5
53396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53398 echo $ECHO_N "(cached) $ECHO_C" >&6
53399 else
53400 eval "$as_ac_Header=\$ac_header_preproc"
53402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53407 cat >>confdefs.h <<_ACEOF
53408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53409 _ACEOF
53413 done
53416 echo "$as_me:$LINENO: checking for poll" >&5
53417 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53418 if test "${glibcxx_cv_POLL+set}" = set; then
53419 echo $ECHO_N "(cached) $ECHO_C" >&6
53420 else
53422 if test x$gcc_no_link = xyes; then
53423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53425 { (exit 1); exit 1; }; }
53427 cat >conftest.$ac_ext <<_ACEOF
53428 /* confdefs.h. */
53429 _ACEOF
53430 cat confdefs.h >>conftest.$ac_ext
53431 cat >>conftest.$ac_ext <<_ACEOF
53432 /* end confdefs.h. */
53433 #include <poll.h>
53435 main ()
53437 struct pollfd pfd[1];
53438 pfd[0].events = POLLIN;
53439 poll(pfd, 1, 0);
53441 return 0;
53443 _ACEOF
53444 rm -f conftest.$ac_objext conftest$ac_exeext
53445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53446 (eval $ac_link) 2>conftest.er1
53447 ac_status=$?
53448 grep -v '^ *+' conftest.er1 >conftest.err
53449 rm -f conftest.er1
53450 cat conftest.err >&5
53451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53452 (exit $ac_status); } &&
53453 { ac_try='test -z "$ac_c_werror_flag"
53454 || test ! -s conftest.err'
53455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53456 (eval $ac_try) 2>&5
53457 ac_status=$?
53458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53459 (exit $ac_status); }; } &&
53460 { ac_try='test -s conftest$ac_exeext'
53461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53462 (eval $ac_try) 2>&5
53463 ac_status=$?
53464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53465 (exit $ac_status); }; }; then
53466 glibcxx_cv_POLL=yes
53467 else
53468 echo "$as_me: failed program was:" >&5
53469 sed 's/^/| /' conftest.$ac_ext >&5
53471 glibcxx_cv_POLL=no
53473 rm -f conftest.err conftest.$ac_objext \
53474 conftest$ac_exeext conftest.$ac_ext
53478 if test $glibcxx_cv_POLL = yes; then
53480 cat >>confdefs.h <<\_ACEOF
53481 #define HAVE_POLL 1
53482 _ACEOF
53485 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53486 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53489 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53490 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53491 if test "${glibcxx_cv_S_ISREG+set}" = set; then
53492 echo $ECHO_N "(cached) $ECHO_C" >&6
53493 else
53495 if test x$gcc_no_link = xyes; then
53496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53498 { (exit 1); exit 1; }; }
53500 cat >conftest.$ac_ext <<_ACEOF
53501 /* confdefs.h. */
53502 _ACEOF
53503 cat confdefs.h >>conftest.$ac_ext
53504 cat >>conftest.$ac_ext <<_ACEOF
53505 /* end confdefs.h. */
53506 #include <sys/stat.h>
53508 main ()
53510 struct stat buffer;
53511 fstat(0, &buffer);
53512 S_ISREG(buffer.st_mode);
53514 return 0;
53516 _ACEOF
53517 rm -f conftest.$ac_objext conftest$ac_exeext
53518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53519 (eval $ac_link) 2>conftest.er1
53520 ac_status=$?
53521 grep -v '^ *+' conftest.er1 >conftest.err
53522 rm -f conftest.er1
53523 cat conftest.err >&5
53524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53525 (exit $ac_status); } &&
53526 { ac_try='test -z "$ac_c_werror_flag"
53527 || test ! -s conftest.err'
53528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53529 (eval $ac_try) 2>&5
53530 ac_status=$?
53531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53532 (exit $ac_status); }; } &&
53533 { ac_try='test -s conftest$ac_exeext'
53534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53535 (eval $ac_try) 2>&5
53536 ac_status=$?
53537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53538 (exit $ac_status); }; }; then
53539 glibcxx_cv_S_ISREG=yes
53540 else
53541 echo "$as_me: failed program was:" >&5
53542 sed 's/^/| /' conftest.$ac_ext >&5
53544 glibcxx_cv_S_ISREG=no
53546 rm -f conftest.err conftest.$ac_objext \
53547 conftest$ac_exeext conftest.$ac_ext
53551 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53552 echo $ECHO_N "(cached) $ECHO_C" >&6
53553 else
53555 if test x$gcc_no_link = xyes; then
53556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53558 { (exit 1); exit 1; }; }
53560 cat >conftest.$ac_ext <<_ACEOF
53561 /* confdefs.h. */
53562 _ACEOF
53563 cat confdefs.h >>conftest.$ac_ext
53564 cat >>conftest.$ac_ext <<_ACEOF
53565 /* end confdefs.h. */
53566 #include <sys/stat.h>
53568 main ()
53570 struct stat buffer;
53571 fstat(0, &buffer);
53572 S_IFREG & buffer.st_mode;
53574 return 0;
53576 _ACEOF
53577 rm -f conftest.$ac_objext conftest$ac_exeext
53578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53579 (eval $ac_link) 2>conftest.er1
53580 ac_status=$?
53581 grep -v '^ *+' conftest.er1 >conftest.err
53582 rm -f conftest.er1
53583 cat conftest.err >&5
53584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53585 (exit $ac_status); } &&
53586 { ac_try='test -z "$ac_c_werror_flag"
53587 || test ! -s conftest.err'
53588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53589 (eval $ac_try) 2>&5
53590 ac_status=$?
53591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53592 (exit $ac_status); }; } &&
53593 { ac_try='test -s conftest$ac_exeext'
53594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53595 (eval $ac_try) 2>&5
53596 ac_status=$?
53597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53598 (exit $ac_status); }; }; then
53599 glibcxx_cv_S_IFREG=yes
53600 else
53601 echo "$as_me: failed program was:" >&5
53602 sed 's/^/| /' conftest.$ac_ext >&5
53604 glibcxx_cv_S_IFREG=no
53606 rm -f conftest.err conftest.$ac_objext \
53607 conftest$ac_exeext conftest.$ac_ext
53611 res=no
53612 if test $glibcxx_cv_S_ISREG = yes; then
53614 cat >>confdefs.h <<\_ACEOF
53615 #define HAVE_S_ISREG 1
53616 _ACEOF
53618 res=S_ISREG
53619 elif test $glibcxx_cv_S_IFREG = yes; then
53621 cat >>confdefs.h <<\_ACEOF
53622 #define HAVE_S_IFREG 1
53623 _ACEOF
53625 res=S_IFREG
53627 echo "$as_me:$LINENO: result: $res" >&5
53628 echo "${ECHO_T}$res" >&6
53631 # For xsputn_2().
53633 for ac_header in sys/uio.h
53635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53637 echo "$as_me:$LINENO: checking for $ac_header" >&5
53638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53640 echo $ECHO_N "(cached) $ECHO_C" >&6
53642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53644 else
53645 # Is the header compilable?
53646 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53648 cat >conftest.$ac_ext <<_ACEOF
53649 /* confdefs.h. */
53650 _ACEOF
53651 cat confdefs.h >>conftest.$ac_ext
53652 cat >>conftest.$ac_ext <<_ACEOF
53653 /* end confdefs.h. */
53654 $ac_includes_default
53655 #include <$ac_header>
53656 _ACEOF
53657 rm -f conftest.$ac_objext
53658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53659 (eval $ac_compile) 2>conftest.er1
53660 ac_status=$?
53661 grep -v '^ *+' conftest.er1 >conftest.err
53662 rm -f conftest.er1
53663 cat conftest.err >&5
53664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53665 (exit $ac_status); } &&
53666 { ac_try='test -z "$ac_c_werror_flag"
53667 || test ! -s conftest.err'
53668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53669 (eval $ac_try) 2>&5
53670 ac_status=$?
53671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53672 (exit $ac_status); }; } &&
53673 { ac_try='test -s conftest.$ac_objext'
53674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53675 (eval $ac_try) 2>&5
53676 ac_status=$?
53677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53678 (exit $ac_status); }; }; then
53679 ac_header_compiler=yes
53680 else
53681 echo "$as_me: failed program was:" >&5
53682 sed 's/^/| /' conftest.$ac_ext >&5
53684 ac_header_compiler=no
53686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53688 echo "${ECHO_T}$ac_header_compiler" >&6
53690 # Is the header present?
53691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53693 cat >conftest.$ac_ext <<_ACEOF
53694 /* confdefs.h. */
53695 _ACEOF
53696 cat confdefs.h >>conftest.$ac_ext
53697 cat >>conftest.$ac_ext <<_ACEOF
53698 /* end confdefs.h. */
53699 #include <$ac_header>
53700 _ACEOF
53701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53702 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53703 ac_status=$?
53704 grep -v '^ *+' conftest.er1 >conftest.err
53705 rm -f conftest.er1
53706 cat conftest.err >&5
53707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53708 (exit $ac_status); } >/dev/null; then
53709 if test -s conftest.err; then
53710 ac_cpp_err=$ac_c_preproc_warn_flag
53711 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53712 else
53713 ac_cpp_err=
53715 else
53716 ac_cpp_err=yes
53718 if test -z "$ac_cpp_err"; then
53719 ac_header_preproc=yes
53720 else
53721 echo "$as_me: failed program was:" >&5
53722 sed 's/^/| /' conftest.$ac_ext >&5
53724 ac_header_preproc=no
53726 rm -f conftest.err conftest.$ac_ext
53727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53728 echo "${ECHO_T}$ac_header_preproc" >&6
53730 # So? What about this header?
53731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53732 yes:no: )
53733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53736 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53737 ac_header_preproc=yes
53739 no:yes:* )
53740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53743 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53745 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53747 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53751 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53753 cat <<\_ASBOX
53754 ## ----------------------------------------- ##
53755 ## Report this to the package-unused lists. ##
53756 ## ----------------------------------------- ##
53757 _ASBOX
53759 sed "s/^/$as_me: WARNING: /" >&2
53761 esac
53762 echo "$as_me:$LINENO: checking for $ac_header" >&5
53763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53765 echo $ECHO_N "(cached) $ECHO_C" >&6
53766 else
53767 eval "$as_ac_Header=\$ac_header_preproc"
53769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53774 cat >>confdefs.h <<_ACEOF
53775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53776 _ACEOF
53780 done
53783 echo "$as_me:$LINENO: checking for writev" >&5
53784 echo $ECHO_N "checking for writev... $ECHO_C" >&6
53785 if test "${glibcxx_cv_WRITEV+set}" = set; then
53786 echo $ECHO_N "(cached) $ECHO_C" >&6
53787 else
53789 if test x$gcc_no_link = xyes; then
53790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53792 { (exit 1); exit 1; }; }
53794 cat >conftest.$ac_ext <<_ACEOF
53795 /* confdefs.h. */
53796 _ACEOF
53797 cat confdefs.h >>conftest.$ac_ext
53798 cat >>conftest.$ac_ext <<_ACEOF
53799 /* end confdefs.h. */
53800 #include <sys/uio.h>
53802 main ()
53804 struct iovec iov[2];
53805 writev(0, iov, 0);
53807 return 0;
53809 _ACEOF
53810 rm -f conftest.$ac_objext conftest$ac_exeext
53811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53812 (eval $ac_link) 2>conftest.er1
53813 ac_status=$?
53814 grep -v '^ *+' conftest.er1 >conftest.err
53815 rm -f conftest.er1
53816 cat conftest.err >&5
53817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53818 (exit $ac_status); } &&
53819 { ac_try='test -z "$ac_c_werror_flag"
53820 || test ! -s conftest.err'
53821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53822 (eval $ac_try) 2>&5
53823 ac_status=$?
53824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53825 (exit $ac_status); }; } &&
53826 { ac_try='test -s conftest$ac_exeext'
53827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53828 (eval $ac_try) 2>&5
53829 ac_status=$?
53830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53831 (exit $ac_status); }; }; then
53832 glibcxx_cv_WRITEV=yes
53833 else
53834 echo "$as_me: failed program was:" >&5
53835 sed 's/^/| /' conftest.$ac_ext >&5
53837 glibcxx_cv_WRITEV=no
53839 rm -f conftest.err conftest.$ac_objext \
53840 conftest$ac_exeext conftest.$ac_ext
53844 if test $glibcxx_cv_WRITEV = yes; then
53846 cat >>confdefs.h <<\_ACEOF
53847 #define HAVE_WRITEV 1
53848 _ACEOF
53851 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
53852 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
53855 cat >>confdefs.h <<\_ACEOF
53856 #define HAVE_LC_MESSAGES 1
53857 _ACEOF
53860 cat >conftest.$ac_ext <<_ACEOF
53861 /* confdefs.h. */
53862 _ACEOF
53863 cat confdefs.h >>conftest.$ac_ext
53864 cat >>conftest.$ac_ext <<_ACEOF
53865 /* end confdefs.h. */
53866 #include <setjmp.h>
53868 main ()
53870 sigjmp_buf env;
53871 while (! sigsetjmp (env, 1))
53872 siglongjmp (env, 1);
53875 return 0;
53877 _ACEOF
53878 rm -f conftest.$ac_objext
53879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53880 (eval $ac_compile) 2>conftest.er1
53881 ac_status=$?
53882 grep -v '^ *+' conftest.er1 >conftest.err
53883 rm -f conftest.er1
53884 cat conftest.err >&5
53885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53886 (exit $ac_status); } &&
53887 { ac_try='test -z "$ac_c_werror_flag"
53888 || test ! -s conftest.err'
53889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53890 (eval $ac_try) 2>&5
53891 ac_status=$?
53892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53893 (exit $ac_status); }; } &&
53894 { ac_try='test -s conftest.$ac_objext'
53895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53896 (eval $ac_try) 2>&5
53897 ac_status=$?
53898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53899 (exit $ac_status); }; }; then
53901 cat >>confdefs.h <<\_ACEOF
53902 #define HAVE_SIGSETJMP 1
53903 _ACEOF
53905 else
53906 echo "$as_me: failed program was:" >&5
53907 sed 's/^/| /' conftest.$ac_ext >&5
53910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53912 cat >>confdefs.h <<\_ACEOF
53913 #define HAVE_MMAP 1
53914 _ACEOF
53918 *djgpp)
53939 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53940 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53941 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53942 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53944 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53946 echo "$as_me:$LINENO: checking for $ac_header" >&5
53947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53949 echo $ECHO_N "(cached) $ECHO_C" >&6
53951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53953 else
53954 # Is the header compilable?
53955 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53956 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
53964 #include <$ac_header>
53965 _ACEOF
53966 rm -f conftest.$ac_objext
53967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53968 (eval $ac_compile) 2>conftest.er1
53969 ac_status=$?
53970 grep -v '^ *+' conftest.er1 >conftest.err
53971 rm -f conftest.er1
53972 cat conftest.err >&5
53973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53974 (exit $ac_status); } &&
53975 { ac_try='test -z "$ac_c_werror_flag"
53976 || test ! -s conftest.err'
53977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53978 (eval $ac_try) 2>&5
53979 ac_status=$?
53980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53981 (exit $ac_status); }; } &&
53982 { ac_try='test -s conftest.$ac_objext'
53983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53984 (eval $ac_try) 2>&5
53985 ac_status=$?
53986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53987 (exit $ac_status); }; }; then
53988 ac_header_compiler=yes
53989 else
53990 echo "$as_me: failed program was:" >&5
53991 sed 's/^/| /' conftest.$ac_ext >&5
53993 ac_header_compiler=no
53995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53997 echo "${ECHO_T}$ac_header_compiler" >&6
53999 # Is the header present?
54000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54002 cat >conftest.$ac_ext <<_ACEOF
54003 /* confdefs.h. */
54004 _ACEOF
54005 cat confdefs.h >>conftest.$ac_ext
54006 cat >>conftest.$ac_ext <<_ACEOF
54007 /* end confdefs.h. */
54008 #include <$ac_header>
54009 _ACEOF
54010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54012 ac_status=$?
54013 grep -v '^ *+' conftest.er1 >conftest.err
54014 rm -f conftest.er1
54015 cat conftest.err >&5
54016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54017 (exit $ac_status); } >/dev/null; then
54018 if test -s conftest.err; then
54019 ac_cpp_err=$ac_c_preproc_warn_flag
54020 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54021 else
54022 ac_cpp_err=
54024 else
54025 ac_cpp_err=yes
54027 if test -z "$ac_cpp_err"; then
54028 ac_header_preproc=yes
54029 else
54030 echo "$as_me: failed program was:" >&5
54031 sed 's/^/| /' conftest.$ac_ext >&5
54033 ac_header_preproc=no
54035 rm -f conftest.err conftest.$ac_ext
54036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54037 echo "${ECHO_T}$ac_header_preproc" >&6
54039 # So? What about this header?
54040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54041 yes:no: )
54042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54045 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54046 ac_header_preproc=yes
54048 no:yes:* )
54049 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54051 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54052 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54053 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54054 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54055 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54056 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54059 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54060 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54062 cat <<\_ASBOX
54063 ## ----------------------------------------- ##
54064 ## Report this to the package-unused lists. ##
54065 ## ----------------------------------------- ##
54066 _ASBOX
54068 sed "s/^/$as_me: WARNING: /" >&2
54070 esac
54071 echo "$as_me:$LINENO: checking for $ac_header" >&5
54072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54074 echo $ECHO_N "(cached) $ECHO_C" >&6
54075 else
54076 eval "$as_ac_Header=\$ac_header_preproc"
54078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54083 cat >>confdefs.h <<_ACEOF
54084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54085 _ACEOF
54089 done
54092 # All these tests are for C++; save the language and the compiler flags.
54093 # The CXXFLAGS thing is suspicious, but based on similar bits previously
54094 # found in GLIBCXX_CONFIGURE.
54097 ac_ext=cc
54098 ac_cpp='$CXXCPP $CPPFLAGS'
54099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54103 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54104 ac_save_CXXFLAGS="$CXXFLAGS"
54106 # Check for maintainer-mode bits.
54107 if test x"$USE_MAINTAINER_MODE" = xno; then
54108 WERROR=''
54109 else
54110 WERROR='-Werror'
54113 # Check for -ffunction-sections -fdata-sections
54114 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
54115 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
54116 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
54117 cat >conftest.$ac_ext <<_ACEOF
54118 /* confdefs.h. */
54119 _ACEOF
54120 cat confdefs.h >>conftest.$ac_ext
54121 cat >>conftest.$ac_ext <<_ACEOF
54122 /* end confdefs.h. */
54125 main ()
54127 int foo;
54129 return 0;
54131 _ACEOF
54132 rm -f conftest.$ac_objext
54133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54134 (eval $ac_compile) 2>conftest.er1
54135 ac_status=$?
54136 grep -v '^ *+' conftest.er1 >conftest.err
54137 rm -f conftest.er1
54138 cat conftest.err >&5
54139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54140 (exit $ac_status); } &&
54141 { ac_try='test -z "$ac_cxx_werror_flag"
54142 || test ! -s conftest.err'
54143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54144 (eval $ac_try) 2>&5
54145 ac_status=$?
54146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54147 (exit $ac_status); }; } &&
54148 { ac_try='test -s conftest.$ac_objext'
54149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54150 (eval $ac_try) 2>&5
54151 ac_status=$?
54152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54153 (exit $ac_status); }; }; then
54154 ac_fdsections=yes
54155 else
54156 echo "$as_me: failed program was:" >&5
54157 sed 's/^/| /' conftest.$ac_ext >&5
54159 ac_fdsections=no
54161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54162 if test "$ac_test_CXXFLAGS" = set; then
54163 CXXFLAGS="$ac_save_CXXFLAGS"
54164 else
54165 # this is the suspicious part
54166 CXXFLAGS=''
54168 if test x"$ac_fdsections" = x"yes"; then
54169 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54171 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
54172 echo "${ECHO_T}$ac_fdsections" >&6
54174 ac_ext=c
54175 ac_cpp='$CPP $CPPFLAGS'
54176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54184 # If we're not using GNU ld, then there's no point in even trying these
54185 # tests. Check for that first. We should have already tested for gld
54186 # by now (in libtool), but require it now just to be safe...
54187 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54188 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54192 # The name set by libtool depends on the version of libtool. Shame on us
54193 # for depending on an impl detail, but c'est la vie. Older versions used
54194 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54195 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54196 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54197 # set (hence we're using an older libtool), then set it.
54198 if test x${with_gnu_ld+set} != xset; then
54199 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54200 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54201 with_gnu_ld=no
54202 else
54203 with_gnu_ld=$ac_cv_prog_gnu_ld
54207 # Start by getting the version number. I think the libtool test already
54208 # does some of this, but throws away the result.
54209 echo "$as_me:$LINENO: checking for ld version" >&5
54210 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54212 ldver=`$LD --version 2>/dev/null | head -1 | \
54213 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
54215 glibcxx_gnu_ld_version=`echo $ldver | \
54216 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54217 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54218 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54220 # Set --gc-sections.
54221 glibcxx_gcsections_min_ld=21602
54222 if test x"$with_gnu_ld" = x"yes" &&
54223 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54225 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54226 # NB: This flag only works reliably after 2.16.1. Configure tests
54227 # for this are difficult, so hard wire a value that should work.
54229 # All these tests are for C++, but run with the "C" compiler driver.
54230 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
54231 ac_test_CFLAGS="${CFLAGS+set}"
54232 ac_save_CFLAGS="$CFLAGS"
54233 CFLAGS='-x c++ -Wl,--gc-sections'
54235 # Check for -Wl,--gc-sections
54236 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54237 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54238 if test x$gcc_no_link = xyes; then
54239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54241 { (exit 1); exit 1; }; }
54243 cat >conftest.$ac_ext <<_ACEOF
54244 /* confdefs.h. */
54245 _ACEOF
54246 cat confdefs.h >>conftest.$ac_ext
54247 cat >>conftest.$ac_ext <<_ACEOF
54248 /* end confdefs.h. */
54249 int one(void) { return 1; }
54250 int two(void) { return 2; }
54253 main ()
54255 two();
54257 return 0;
54259 _ACEOF
54260 rm -f conftest.$ac_objext conftest$ac_exeext
54261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54262 (eval $ac_link) 2>conftest.er1
54263 ac_status=$?
54264 grep -v '^ *+' conftest.er1 >conftest.err
54265 rm -f conftest.er1
54266 cat conftest.err >&5
54267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54268 (exit $ac_status); } &&
54269 { ac_try='test -z "$ac_c_werror_flag"
54270 || test ! -s conftest.err'
54271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54272 (eval $ac_try) 2>&5
54273 ac_status=$?
54274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54275 (exit $ac_status); }; } &&
54276 { ac_try='test -s conftest$ac_exeext'
54277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54278 (eval $ac_try) 2>&5
54279 ac_status=$?
54280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54281 (exit $ac_status); }; }; then
54282 ac_gcsections=yes
54283 else
54284 echo "$as_me: failed program was:" >&5
54285 sed 's/^/| /' conftest.$ac_ext >&5
54287 ac_gcsections=no
54289 rm -f conftest.err conftest.$ac_objext \
54290 conftest$ac_exeext conftest.$ac_ext
54291 if test "$ac_gcsections" = "yes"; then
54292 rm -f conftest.c
54293 touch conftest.c
54294 if $CC -c conftest.c; then
54295 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54296 grep "Warning: gc-sections option ignored" > /dev/null; then
54297 ac_gcsections=no
54300 rm -f conftest.c conftest.o conftest
54302 if test "$ac_gcsections" = "yes"; then
54303 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54305 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54306 echo "${ECHO_T}$ac_gcsections" >&6
54308 if test "$ac_test_CFLAGS" = set; then
54309 CFLAGS="$ac_save_CFLAGS"
54310 else
54311 # this is the suspicious part
54312 CFLAGS=''
54316 # Set -z,relro.
54317 # Note this is only for shared objects.
54318 ac_ld_relro=no
54319 if test x"$with_gnu_ld" = x"yes"; then
54320 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54321 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54322 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54323 if test -n "$cxx_z_relo"; then
54324 OPT_LDFLAGS="-Wl,-z,relro"
54325 ac_ld_relro=yes
54327 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54328 echo "${ECHO_T}$ac_ld_relro" >&6
54331 # Set linker optimization flags.
54332 if test x"$with_gnu_ld" = x"yes"; then
54333 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54340 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54341 ac_save_CXXFLAGS="$CXXFLAGS"
54342 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54344 echo "$as_me:$LINENO: checking for sin in -lm" >&5
54345 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
54346 if test "${ac_cv_lib_m_sin+set}" = set; then
54347 echo $ECHO_N "(cached) $ECHO_C" >&6
54348 else
54349 ac_check_lib_save_LIBS=$LIBS
54350 LIBS="-lm $LIBS"
54351 if test x$gcc_no_link = xyes; then
54352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54354 { (exit 1); exit 1; }; }
54356 cat >conftest.$ac_ext <<_ACEOF
54357 /* confdefs.h. */
54358 _ACEOF
54359 cat confdefs.h >>conftest.$ac_ext
54360 cat >>conftest.$ac_ext <<_ACEOF
54361 /* end confdefs.h. */
54363 /* Override any gcc2 internal prototype to avoid an error. */
54364 #ifdef __cplusplus
54365 extern "C"
54366 #endif
54367 /* We use char because int might match the return type of a gcc2
54368 builtin and then its argument prototype would still apply. */
54369 char sin ();
54371 main ()
54373 sin ();
54375 return 0;
54377 _ACEOF
54378 rm -f conftest.$ac_objext conftest$ac_exeext
54379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54380 (eval $ac_link) 2>conftest.er1
54381 ac_status=$?
54382 grep -v '^ *+' conftest.er1 >conftest.err
54383 rm -f conftest.er1
54384 cat conftest.err >&5
54385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54386 (exit $ac_status); } &&
54387 { ac_try='test -z "$ac_c_werror_flag"
54388 || test ! -s conftest.err'
54389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54390 (eval $ac_try) 2>&5
54391 ac_status=$?
54392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54393 (exit $ac_status); }; } &&
54394 { ac_try='test -s conftest$ac_exeext'
54395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54396 (eval $ac_try) 2>&5
54397 ac_status=$?
54398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54399 (exit $ac_status); }; }; then
54400 ac_cv_lib_m_sin=yes
54401 else
54402 echo "$as_me: failed program was:" >&5
54403 sed 's/^/| /' conftest.$ac_ext >&5
54405 ac_cv_lib_m_sin=no
54407 rm -f conftest.err conftest.$ac_objext \
54408 conftest$ac_exeext conftest.$ac_ext
54409 LIBS=$ac_check_lib_save_LIBS
54411 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
54412 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
54413 if test $ac_cv_lib_m_sin = yes; then
54414 libm="-lm"
54417 ac_save_LIBS="$LIBS"
54418 LIBS="$LIBS $libm"
54422 echo "$as_me:$LINENO: checking for isinf declaration" >&5
54423 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
54424 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54425 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
54426 echo $ECHO_N "(cached) $ECHO_C" >&6
54427 else
54431 ac_ext=cc
54432 ac_cpp='$CXXCPP $CPPFLAGS'
54433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54437 cat >conftest.$ac_ext <<_ACEOF
54438 /* confdefs.h. */
54439 _ACEOF
54440 cat confdefs.h >>conftest.$ac_ext
54441 cat >>conftest.$ac_ext <<_ACEOF
54442 /* end confdefs.h. */
54443 #include <math.h>
54444 #ifdef HAVE_IEEEFP_H
54445 #include <ieeefp.h>
54446 #endif
54449 main ()
54451 isinf(0);
54453 return 0;
54455 _ACEOF
54456 rm -f conftest.$ac_objext
54457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54458 (eval $ac_compile) 2>conftest.er1
54459 ac_status=$?
54460 grep -v '^ *+' conftest.er1 >conftest.err
54461 rm -f conftest.er1
54462 cat conftest.err >&5
54463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54464 (exit $ac_status); } &&
54465 { ac_try='test -z "$ac_cxx_werror_flag"
54466 || test ! -s conftest.err'
54467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54468 (eval $ac_try) 2>&5
54469 ac_status=$?
54470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54471 (exit $ac_status); }; } &&
54472 { ac_try='test -s conftest.$ac_objext'
54473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54474 (eval $ac_try) 2>&5
54475 ac_status=$?
54476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54477 (exit $ac_status); }; }; then
54478 glibcxx_cv_func_isinf_use=yes
54479 else
54480 echo "$as_me: failed program was:" >&5
54481 sed 's/^/| /' conftest.$ac_ext >&5
54483 glibcxx_cv_func_isinf_use=no
54485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54486 ac_ext=c
54487 ac_cpp='$CPP $CPPFLAGS'
54488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54496 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54497 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54499 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54501 for ac_func in isinf
54503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54504 echo "$as_me:$LINENO: checking for $ac_func" >&5
54505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54506 if eval "test \"\${$as_ac_var+set}\" = set"; then
54507 echo $ECHO_N "(cached) $ECHO_C" >&6
54508 else
54509 if test x$gcc_no_link = xyes; then
54510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54512 { (exit 1); exit 1; }; }
54514 cat >conftest.$ac_ext <<_ACEOF
54515 /* confdefs.h. */
54516 _ACEOF
54517 cat confdefs.h >>conftest.$ac_ext
54518 cat >>conftest.$ac_ext <<_ACEOF
54519 /* end confdefs.h. */
54520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54522 #define $ac_func innocuous_$ac_func
54524 /* System header to define __stub macros and hopefully few prototypes,
54525 which can conflict with char $ac_func (); below.
54526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54527 <limits.h> exists even on freestanding compilers. */
54529 #ifdef __STDC__
54530 # include <limits.h>
54531 #else
54532 # include <assert.h>
54533 #endif
54535 #undef $ac_func
54537 /* Override any gcc2 internal prototype to avoid an error. */
54538 #ifdef __cplusplus
54539 extern "C"
54541 #endif
54542 /* We use char because int might match the return type of a gcc2
54543 builtin and then its argument prototype would still apply. */
54544 char $ac_func ();
54545 /* The GNU C library defines this for functions which it implements
54546 to always fail with ENOSYS. Some functions are actually named
54547 something starting with __ and the normal name is an alias. */
54548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54549 choke me
54550 #else
54551 char (*f) () = $ac_func;
54552 #endif
54553 #ifdef __cplusplus
54555 #endif
54558 main ()
54560 return f != $ac_func;
54562 return 0;
54564 _ACEOF
54565 rm -f conftest.$ac_objext conftest$ac_exeext
54566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54567 (eval $ac_link) 2>conftest.er1
54568 ac_status=$?
54569 grep -v '^ *+' conftest.er1 >conftest.err
54570 rm -f conftest.er1
54571 cat conftest.err >&5
54572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54573 (exit $ac_status); } &&
54574 { ac_try='test -z "$ac_c_werror_flag"
54575 || test ! -s conftest.err'
54576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54577 (eval $ac_try) 2>&5
54578 ac_status=$?
54579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54580 (exit $ac_status); }; } &&
54581 { ac_try='test -s conftest$ac_exeext'
54582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54583 (eval $ac_try) 2>&5
54584 ac_status=$?
54585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54586 (exit $ac_status); }; }; then
54587 eval "$as_ac_var=yes"
54588 else
54589 echo "$as_me: failed program was:" >&5
54590 sed 's/^/| /' conftest.$ac_ext >&5
54592 eval "$as_ac_var=no"
54594 rm -f conftest.err conftest.$ac_objext \
54595 conftest$ac_exeext conftest.$ac_ext
54597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54599 if test `eval echo '${'$as_ac_var'}'` = yes; then
54600 cat >>confdefs.h <<_ACEOF
54601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54602 _ACEOF
54605 done
54607 else
54609 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54610 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54611 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54612 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54613 echo $ECHO_N "(cached) $ECHO_C" >&6
54614 else
54618 ac_ext=cc
54619 ac_cpp='$CXXCPP $CPPFLAGS'
54620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54624 cat >conftest.$ac_ext <<_ACEOF
54625 /* confdefs.h. */
54626 _ACEOF
54627 cat confdefs.h >>conftest.$ac_ext
54628 cat >>conftest.$ac_ext <<_ACEOF
54629 /* end confdefs.h. */
54630 #include <math.h>
54631 #ifdef HAVE_IEEEFP_H
54632 #include <ieeefp.h>
54633 #endif
54636 main ()
54638 _isinf(0);
54640 return 0;
54642 _ACEOF
54643 rm -f conftest.$ac_objext
54644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54645 (eval $ac_compile) 2>conftest.er1
54646 ac_status=$?
54647 grep -v '^ *+' conftest.er1 >conftest.err
54648 rm -f conftest.er1
54649 cat conftest.err >&5
54650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54651 (exit $ac_status); } &&
54652 { ac_try='test -z "$ac_cxx_werror_flag"
54653 || test ! -s conftest.err'
54654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54655 (eval $ac_try) 2>&5
54656 ac_status=$?
54657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54658 (exit $ac_status); }; } &&
54659 { ac_try='test -s conftest.$ac_objext'
54660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54661 (eval $ac_try) 2>&5
54662 ac_status=$?
54663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54664 (exit $ac_status); }; }; then
54665 glibcxx_cv_func__isinf_use=yes
54666 else
54667 echo "$as_me: failed program was:" >&5
54668 sed 's/^/| /' conftest.$ac_ext >&5
54670 glibcxx_cv_func__isinf_use=no
54672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54673 ac_ext=c
54674 ac_cpp='$CPP $CPPFLAGS'
54675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54683 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54684 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54686 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54688 for ac_func in _isinf
54690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54691 echo "$as_me:$LINENO: checking for $ac_func" >&5
54692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54693 if eval "test \"\${$as_ac_var+set}\" = set"; then
54694 echo $ECHO_N "(cached) $ECHO_C" >&6
54695 else
54696 if test x$gcc_no_link = xyes; then
54697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54699 { (exit 1); exit 1; }; }
54701 cat >conftest.$ac_ext <<_ACEOF
54702 /* confdefs.h. */
54703 _ACEOF
54704 cat confdefs.h >>conftest.$ac_ext
54705 cat >>conftest.$ac_ext <<_ACEOF
54706 /* end confdefs.h. */
54707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54709 #define $ac_func innocuous_$ac_func
54711 /* System header to define __stub macros and hopefully few prototypes,
54712 which can conflict with char $ac_func (); below.
54713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54714 <limits.h> exists even on freestanding compilers. */
54716 #ifdef __STDC__
54717 # include <limits.h>
54718 #else
54719 # include <assert.h>
54720 #endif
54722 #undef $ac_func
54724 /* Override any gcc2 internal prototype to avoid an error. */
54725 #ifdef __cplusplus
54726 extern "C"
54728 #endif
54729 /* We use char because int might match the return type of a gcc2
54730 builtin and then its argument prototype would still apply. */
54731 char $ac_func ();
54732 /* The GNU C library defines this for functions which it implements
54733 to always fail with ENOSYS. Some functions are actually named
54734 something starting with __ and the normal name is an alias. */
54735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54736 choke me
54737 #else
54738 char (*f) () = $ac_func;
54739 #endif
54740 #ifdef __cplusplus
54742 #endif
54745 main ()
54747 return f != $ac_func;
54749 return 0;
54751 _ACEOF
54752 rm -f conftest.$ac_objext conftest$ac_exeext
54753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54754 (eval $ac_link) 2>conftest.er1
54755 ac_status=$?
54756 grep -v '^ *+' conftest.er1 >conftest.err
54757 rm -f conftest.er1
54758 cat conftest.err >&5
54759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54760 (exit $ac_status); } &&
54761 { ac_try='test -z "$ac_c_werror_flag"
54762 || test ! -s conftest.err'
54763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54764 (eval $ac_try) 2>&5
54765 ac_status=$?
54766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54767 (exit $ac_status); }; } &&
54768 { ac_try='test -s conftest$ac_exeext'
54769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54770 (eval $ac_try) 2>&5
54771 ac_status=$?
54772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54773 (exit $ac_status); }; }; then
54774 eval "$as_ac_var=yes"
54775 else
54776 echo "$as_me: failed program was:" >&5
54777 sed 's/^/| /' conftest.$ac_ext >&5
54779 eval "$as_ac_var=no"
54781 rm -f conftest.err conftest.$ac_objext \
54782 conftest$ac_exeext conftest.$ac_ext
54784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54786 if test `eval echo '${'$as_ac_var'}'` = yes; then
54787 cat >>confdefs.h <<_ACEOF
54788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54789 _ACEOF
54792 done
54802 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54803 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54804 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54805 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54806 echo $ECHO_N "(cached) $ECHO_C" >&6
54807 else
54811 ac_ext=cc
54812 ac_cpp='$CXXCPP $CPPFLAGS'
54813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54817 cat >conftest.$ac_ext <<_ACEOF
54818 /* confdefs.h. */
54819 _ACEOF
54820 cat confdefs.h >>conftest.$ac_ext
54821 cat >>conftest.$ac_ext <<_ACEOF
54822 /* end confdefs.h. */
54823 #include <math.h>
54824 #ifdef HAVE_IEEEFP_H
54825 #include <ieeefp.h>
54826 #endif
54829 main ()
54831 isnan(0);
54833 return 0;
54835 _ACEOF
54836 rm -f conftest.$ac_objext
54837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54838 (eval $ac_compile) 2>conftest.er1
54839 ac_status=$?
54840 grep -v '^ *+' conftest.er1 >conftest.err
54841 rm -f conftest.er1
54842 cat conftest.err >&5
54843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54844 (exit $ac_status); } &&
54845 { ac_try='test -z "$ac_cxx_werror_flag"
54846 || test ! -s conftest.err'
54847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54848 (eval $ac_try) 2>&5
54849 ac_status=$?
54850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54851 (exit $ac_status); }; } &&
54852 { ac_try='test -s conftest.$ac_objext'
54853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54854 (eval $ac_try) 2>&5
54855 ac_status=$?
54856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54857 (exit $ac_status); }; }; then
54858 glibcxx_cv_func_isnan_use=yes
54859 else
54860 echo "$as_me: failed program was:" >&5
54861 sed 's/^/| /' conftest.$ac_ext >&5
54863 glibcxx_cv_func_isnan_use=no
54865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54866 ac_ext=c
54867 ac_cpp='$CPP $CPPFLAGS'
54868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54876 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54877 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54879 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54881 for ac_func in isnan
54883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54884 echo "$as_me:$LINENO: checking for $ac_func" >&5
54885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54886 if eval "test \"\${$as_ac_var+set}\" = set"; then
54887 echo $ECHO_N "(cached) $ECHO_C" >&6
54888 else
54889 if test x$gcc_no_link = xyes; then
54890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54892 { (exit 1); exit 1; }; }
54894 cat >conftest.$ac_ext <<_ACEOF
54895 /* confdefs.h. */
54896 _ACEOF
54897 cat confdefs.h >>conftest.$ac_ext
54898 cat >>conftest.$ac_ext <<_ACEOF
54899 /* end confdefs.h. */
54900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54902 #define $ac_func innocuous_$ac_func
54904 /* System header to define __stub macros and hopefully few prototypes,
54905 which can conflict with char $ac_func (); below.
54906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54907 <limits.h> exists even on freestanding compilers. */
54909 #ifdef __STDC__
54910 # include <limits.h>
54911 #else
54912 # include <assert.h>
54913 #endif
54915 #undef $ac_func
54917 /* Override any gcc2 internal prototype to avoid an error. */
54918 #ifdef __cplusplus
54919 extern "C"
54921 #endif
54922 /* We use char because int might match the return type of a gcc2
54923 builtin and then its argument prototype would still apply. */
54924 char $ac_func ();
54925 /* The GNU C library defines this for functions which it implements
54926 to always fail with ENOSYS. Some functions are actually named
54927 something starting with __ and the normal name is an alias. */
54928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54929 choke me
54930 #else
54931 char (*f) () = $ac_func;
54932 #endif
54933 #ifdef __cplusplus
54935 #endif
54938 main ()
54940 return f != $ac_func;
54942 return 0;
54944 _ACEOF
54945 rm -f conftest.$ac_objext conftest$ac_exeext
54946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54947 (eval $ac_link) 2>conftest.er1
54948 ac_status=$?
54949 grep -v '^ *+' conftest.er1 >conftest.err
54950 rm -f conftest.er1
54951 cat conftest.err >&5
54952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54953 (exit $ac_status); } &&
54954 { ac_try='test -z "$ac_c_werror_flag"
54955 || test ! -s conftest.err'
54956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54957 (eval $ac_try) 2>&5
54958 ac_status=$?
54959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54960 (exit $ac_status); }; } &&
54961 { ac_try='test -s conftest$ac_exeext'
54962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54963 (eval $ac_try) 2>&5
54964 ac_status=$?
54965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54966 (exit $ac_status); }; }; then
54967 eval "$as_ac_var=yes"
54968 else
54969 echo "$as_me: failed program was:" >&5
54970 sed 's/^/| /' conftest.$ac_ext >&5
54972 eval "$as_ac_var=no"
54974 rm -f conftest.err conftest.$ac_objext \
54975 conftest$ac_exeext conftest.$ac_ext
54977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54979 if test `eval echo '${'$as_ac_var'}'` = yes; then
54980 cat >>confdefs.h <<_ACEOF
54981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54982 _ACEOF
54985 done
54987 else
54989 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54990 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54991 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54992 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54993 echo $ECHO_N "(cached) $ECHO_C" >&6
54994 else
54998 ac_ext=cc
54999 ac_cpp='$CXXCPP $CPPFLAGS'
55000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55004 cat >conftest.$ac_ext <<_ACEOF
55005 /* confdefs.h. */
55006 _ACEOF
55007 cat confdefs.h >>conftest.$ac_ext
55008 cat >>conftest.$ac_ext <<_ACEOF
55009 /* end confdefs.h. */
55010 #include <math.h>
55011 #ifdef HAVE_IEEEFP_H
55012 #include <ieeefp.h>
55013 #endif
55016 main ()
55018 _isnan(0);
55020 return 0;
55022 _ACEOF
55023 rm -f conftest.$ac_objext
55024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55025 (eval $ac_compile) 2>conftest.er1
55026 ac_status=$?
55027 grep -v '^ *+' conftest.er1 >conftest.err
55028 rm -f conftest.er1
55029 cat conftest.err >&5
55030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55031 (exit $ac_status); } &&
55032 { ac_try='test -z "$ac_cxx_werror_flag"
55033 || test ! -s conftest.err'
55034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55035 (eval $ac_try) 2>&5
55036 ac_status=$?
55037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55038 (exit $ac_status); }; } &&
55039 { ac_try='test -s conftest.$ac_objext'
55040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55041 (eval $ac_try) 2>&5
55042 ac_status=$?
55043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55044 (exit $ac_status); }; }; then
55045 glibcxx_cv_func__isnan_use=yes
55046 else
55047 echo "$as_me: failed program was:" >&5
55048 sed 's/^/| /' conftest.$ac_ext >&5
55050 glibcxx_cv_func__isnan_use=no
55052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55053 ac_ext=c
55054 ac_cpp='$CPP $CPPFLAGS'
55055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55063 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
55064 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
55066 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55068 for ac_func in _isnan
55070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55071 echo "$as_me:$LINENO: checking for $ac_func" >&5
55072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55073 if eval "test \"\${$as_ac_var+set}\" = set"; then
55074 echo $ECHO_N "(cached) $ECHO_C" >&6
55075 else
55076 if test x$gcc_no_link = xyes; then
55077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55079 { (exit 1); exit 1; }; }
55081 cat >conftest.$ac_ext <<_ACEOF
55082 /* confdefs.h. */
55083 _ACEOF
55084 cat confdefs.h >>conftest.$ac_ext
55085 cat >>conftest.$ac_ext <<_ACEOF
55086 /* end confdefs.h. */
55087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55089 #define $ac_func innocuous_$ac_func
55091 /* System header to define __stub macros and hopefully few prototypes,
55092 which can conflict with char $ac_func (); below.
55093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55094 <limits.h> exists even on freestanding compilers. */
55096 #ifdef __STDC__
55097 # include <limits.h>
55098 #else
55099 # include <assert.h>
55100 #endif
55102 #undef $ac_func
55104 /* Override any gcc2 internal prototype to avoid an error. */
55105 #ifdef __cplusplus
55106 extern "C"
55108 #endif
55109 /* We use char because int might match the return type of a gcc2
55110 builtin and then its argument prototype would still apply. */
55111 char $ac_func ();
55112 /* The GNU C library defines this for functions which it implements
55113 to always fail with ENOSYS. Some functions are actually named
55114 something starting with __ and the normal name is an alias. */
55115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55116 choke me
55117 #else
55118 char (*f) () = $ac_func;
55119 #endif
55120 #ifdef __cplusplus
55122 #endif
55125 main ()
55127 return f != $ac_func;
55129 return 0;
55131 _ACEOF
55132 rm -f conftest.$ac_objext conftest$ac_exeext
55133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55134 (eval $ac_link) 2>conftest.er1
55135 ac_status=$?
55136 grep -v '^ *+' conftest.er1 >conftest.err
55137 rm -f conftest.er1
55138 cat conftest.err >&5
55139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55140 (exit $ac_status); } &&
55141 { ac_try='test -z "$ac_c_werror_flag"
55142 || test ! -s conftest.err'
55143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55144 (eval $ac_try) 2>&5
55145 ac_status=$?
55146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55147 (exit $ac_status); }; } &&
55148 { ac_try='test -s conftest$ac_exeext'
55149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55150 (eval $ac_try) 2>&5
55151 ac_status=$?
55152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55153 (exit $ac_status); }; }; then
55154 eval "$as_ac_var=yes"
55155 else
55156 echo "$as_me: failed program was:" >&5
55157 sed 's/^/| /' conftest.$ac_ext >&5
55159 eval "$as_ac_var=no"
55161 rm -f conftest.err conftest.$ac_objext \
55162 conftest$ac_exeext conftest.$ac_ext
55164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55166 if test `eval echo '${'$as_ac_var'}'` = yes; then
55167 cat >>confdefs.h <<_ACEOF
55168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55169 _ACEOF
55172 done
55182 echo "$as_me:$LINENO: checking for finite declaration" >&5
55183 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
55184 if test x${glibcxx_cv_func_finite_use+set} != xset; then
55185 if test "${glibcxx_cv_func_finite_use+set}" = set; then
55186 echo $ECHO_N "(cached) $ECHO_C" >&6
55187 else
55191 ac_ext=cc
55192 ac_cpp='$CXXCPP $CPPFLAGS'
55193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55197 cat >conftest.$ac_ext <<_ACEOF
55198 /* confdefs.h. */
55199 _ACEOF
55200 cat confdefs.h >>conftest.$ac_ext
55201 cat >>conftest.$ac_ext <<_ACEOF
55202 /* end confdefs.h. */
55203 #include <math.h>
55204 #ifdef HAVE_IEEEFP_H
55205 #include <ieeefp.h>
55206 #endif
55209 main ()
55211 finite(0);
55213 return 0;
55215 _ACEOF
55216 rm -f conftest.$ac_objext
55217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55218 (eval $ac_compile) 2>conftest.er1
55219 ac_status=$?
55220 grep -v '^ *+' conftest.er1 >conftest.err
55221 rm -f conftest.er1
55222 cat conftest.err >&5
55223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55224 (exit $ac_status); } &&
55225 { ac_try='test -z "$ac_cxx_werror_flag"
55226 || test ! -s conftest.err'
55227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55228 (eval $ac_try) 2>&5
55229 ac_status=$?
55230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55231 (exit $ac_status); }; } &&
55232 { ac_try='test -s conftest.$ac_objext'
55233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55234 (eval $ac_try) 2>&5
55235 ac_status=$?
55236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55237 (exit $ac_status); }; }; then
55238 glibcxx_cv_func_finite_use=yes
55239 else
55240 echo "$as_me: failed program was:" >&5
55241 sed 's/^/| /' conftest.$ac_ext >&5
55243 glibcxx_cv_func_finite_use=no
55245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55246 ac_ext=c
55247 ac_cpp='$CPP $CPPFLAGS'
55248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55256 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
55257 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
55259 if test x$glibcxx_cv_func_finite_use = x"yes"; then
55261 for ac_func in finite
55263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55264 echo "$as_me:$LINENO: checking for $ac_func" >&5
55265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55266 if eval "test \"\${$as_ac_var+set}\" = set"; then
55267 echo $ECHO_N "(cached) $ECHO_C" >&6
55268 else
55269 if test x$gcc_no_link = xyes; then
55270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55272 { (exit 1); exit 1; }; }
55274 cat >conftest.$ac_ext <<_ACEOF
55275 /* confdefs.h. */
55276 _ACEOF
55277 cat confdefs.h >>conftest.$ac_ext
55278 cat >>conftest.$ac_ext <<_ACEOF
55279 /* end confdefs.h. */
55280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55282 #define $ac_func innocuous_$ac_func
55284 /* System header to define __stub macros and hopefully few prototypes,
55285 which can conflict with char $ac_func (); below.
55286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55287 <limits.h> exists even on freestanding compilers. */
55289 #ifdef __STDC__
55290 # include <limits.h>
55291 #else
55292 # include <assert.h>
55293 #endif
55295 #undef $ac_func
55297 /* Override any gcc2 internal prototype to avoid an error. */
55298 #ifdef __cplusplus
55299 extern "C"
55301 #endif
55302 /* We use char because int might match the return type of a gcc2
55303 builtin and then its argument prototype would still apply. */
55304 char $ac_func ();
55305 /* The GNU C library defines this for functions which it implements
55306 to always fail with ENOSYS. Some functions are actually named
55307 something starting with __ and the normal name is an alias. */
55308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55309 choke me
55310 #else
55311 char (*f) () = $ac_func;
55312 #endif
55313 #ifdef __cplusplus
55315 #endif
55318 main ()
55320 return f != $ac_func;
55322 return 0;
55324 _ACEOF
55325 rm -f conftest.$ac_objext conftest$ac_exeext
55326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55327 (eval $ac_link) 2>conftest.er1
55328 ac_status=$?
55329 grep -v '^ *+' conftest.er1 >conftest.err
55330 rm -f conftest.er1
55331 cat conftest.err >&5
55332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55333 (exit $ac_status); } &&
55334 { ac_try='test -z "$ac_c_werror_flag"
55335 || test ! -s conftest.err'
55336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55337 (eval $ac_try) 2>&5
55338 ac_status=$?
55339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55340 (exit $ac_status); }; } &&
55341 { ac_try='test -s conftest$ac_exeext'
55342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55343 (eval $ac_try) 2>&5
55344 ac_status=$?
55345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55346 (exit $ac_status); }; }; then
55347 eval "$as_ac_var=yes"
55348 else
55349 echo "$as_me: failed program was:" >&5
55350 sed 's/^/| /' conftest.$ac_ext >&5
55352 eval "$as_ac_var=no"
55354 rm -f conftest.err conftest.$ac_objext \
55355 conftest$ac_exeext conftest.$ac_ext
55357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55359 if test `eval echo '${'$as_ac_var'}'` = yes; then
55360 cat >>confdefs.h <<_ACEOF
55361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55362 _ACEOF
55365 done
55367 else
55369 echo "$as_me:$LINENO: checking for _finite declaration" >&5
55370 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
55371 if test x${glibcxx_cv_func__finite_use+set} != xset; then
55372 if test "${glibcxx_cv_func__finite_use+set}" = set; then
55373 echo $ECHO_N "(cached) $ECHO_C" >&6
55374 else
55378 ac_ext=cc
55379 ac_cpp='$CXXCPP $CPPFLAGS'
55380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55384 cat >conftest.$ac_ext <<_ACEOF
55385 /* confdefs.h. */
55386 _ACEOF
55387 cat confdefs.h >>conftest.$ac_ext
55388 cat >>conftest.$ac_ext <<_ACEOF
55389 /* end confdefs.h. */
55390 #include <math.h>
55391 #ifdef HAVE_IEEEFP_H
55392 #include <ieeefp.h>
55393 #endif
55396 main ()
55398 _finite(0);
55400 return 0;
55402 _ACEOF
55403 rm -f conftest.$ac_objext
55404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55405 (eval $ac_compile) 2>conftest.er1
55406 ac_status=$?
55407 grep -v '^ *+' conftest.er1 >conftest.err
55408 rm -f conftest.er1
55409 cat conftest.err >&5
55410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55411 (exit $ac_status); } &&
55412 { ac_try='test -z "$ac_cxx_werror_flag"
55413 || test ! -s conftest.err'
55414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55415 (eval $ac_try) 2>&5
55416 ac_status=$?
55417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55418 (exit $ac_status); }; } &&
55419 { ac_try='test -s conftest.$ac_objext'
55420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55421 (eval $ac_try) 2>&5
55422 ac_status=$?
55423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55424 (exit $ac_status); }; }; then
55425 glibcxx_cv_func__finite_use=yes
55426 else
55427 echo "$as_me: failed program was:" >&5
55428 sed 's/^/| /' conftest.$ac_ext >&5
55430 glibcxx_cv_func__finite_use=no
55432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55433 ac_ext=c
55434 ac_cpp='$CPP $CPPFLAGS'
55435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
55444 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
55446 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55448 for ac_func in _finite
55450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55451 echo "$as_me:$LINENO: checking for $ac_func" >&5
55452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55453 if eval "test \"\${$as_ac_var+set}\" = set"; then
55454 echo $ECHO_N "(cached) $ECHO_C" >&6
55455 else
55456 if test x$gcc_no_link = xyes; then
55457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55459 { (exit 1); exit 1; }; }
55461 cat >conftest.$ac_ext <<_ACEOF
55462 /* confdefs.h. */
55463 _ACEOF
55464 cat confdefs.h >>conftest.$ac_ext
55465 cat >>conftest.$ac_ext <<_ACEOF
55466 /* end confdefs.h. */
55467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55469 #define $ac_func innocuous_$ac_func
55471 /* System header to define __stub macros and hopefully few prototypes,
55472 which can conflict with char $ac_func (); below.
55473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55474 <limits.h> exists even on freestanding compilers. */
55476 #ifdef __STDC__
55477 # include <limits.h>
55478 #else
55479 # include <assert.h>
55480 #endif
55482 #undef $ac_func
55484 /* Override any gcc2 internal prototype to avoid an error. */
55485 #ifdef __cplusplus
55486 extern "C"
55488 #endif
55489 /* We use char because int might match the return type of a gcc2
55490 builtin and then its argument prototype would still apply. */
55491 char $ac_func ();
55492 /* The GNU C library defines this for functions which it implements
55493 to always fail with ENOSYS. Some functions are actually named
55494 something starting with __ and the normal name is an alias. */
55495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55496 choke me
55497 #else
55498 char (*f) () = $ac_func;
55499 #endif
55500 #ifdef __cplusplus
55502 #endif
55505 main ()
55507 return f != $ac_func;
55509 return 0;
55511 _ACEOF
55512 rm -f conftest.$ac_objext conftest$ac_exeext
55513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55514 (eval $ac_link) 2>conftest.er1
55515 ac_status=$?
55516 grep -v '^ *+' conftest.er1 >conftest.err
55517 rm -f conftest.er1
55518 cat conftest.err >&5
55519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55520 (exit $ac_status); } &&
55521 { ac_try='test -z "$ac_c_werror_flag"
55522 || test ! -s conftest.err'
55523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55524 (eval $ac_try) 2>&5
55525 ac_status=$?
55526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55527 (exit $ac_status); }; } &&
55528 { ac_try='test -s conftest$ac_exeext'
55529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55530 (eval $ac_try) 2>&5
55531 ac_status=$?
55532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55533 (exit $ac_status); }; }; then
55534 eval "$as_ac_var=yes"
55535 else
55536 echo "$as_me: failed program was:" >&5
55537 sed 's/^/| /' conftest.$ac_ext >&5
55539 eval "$as_ac_var=no"
55541 rm -f conftest.err conftest.$ac_objext \
55542 conftest$ac_exeext conftest.$ac_ext
55544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55546 if test `eval echo '${'$as_ac_var'}'` = yes; then
55547 cat >>confdefs.h <<_ACEOF
55548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55549 _ACEOF
55552 done
55562 echo "$as_me:$LINENO: checking for copysign declaration" >&5
55563 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55564 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55565 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55566 echo $ECHO_N "(cached) $ECHO_C" >&6
55567 else
55571 ac_ext=cc
55572 ac_cpp='$CXXCPP $CPPFLAGS'
55573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55577 cat >conftest.$ac_ext <<_ACEOF
55578 /* confdefs.h. */
55579 _ACEOF
55580 cat confdefs.h >>conftest.$ac_ext
55581 cat >>conftest.$ac_ext <<_ACEOF
55582 /* end confdefs.h. */
55583 #include <math.h>
55585 main ()
55587 copysign(0, 0);
55589 return 0;
55591 _ACEOF
55592 rm -f conftest.$ac_objext
55593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55594 (eval $ac_compile) 2>conftest.er1
55595 ac_status=$?
55596 grep -v '^ *+' conftest.er1 >conftest.err
55597 rm -f conftest.er1
55598 cat conftest.err >&5
55599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55600 (exit $ac_status); } &&
55601 { ac_try='test -z "$ac_cxx_werror_flag"
55602 || test ! -s conftest.err'
55603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55604 (eval $ac_try) 2>&5
55605 ac_status=$?
55606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55607 (exit $ac_status); }; } &&
55608 { ac_try='test -s conftest.$ac_objext'
55609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55610 (eval $ac_try) 2>&5
55611 ac_status=$?
55612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55613 (exit $ac_status); }; }; then
55614 glibcxx_cv_func_copysign_use=yes
55615 else
55616 echo "$as_me: failed program was:" >&5
55617 sed 's/^/| /' conftest.$ac_ext >&5
55619 glibcxx_cv_func_copysign_use=no
55621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55622 ac_ext=c
55623 ac_cpp='$CPP $CPPFLAGS'
55624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55632 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55633 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55635 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55637 for ac_func in copysign
55639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55640 echo "$as_me:$LINENO: checking for $ac_func" >&5
55641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55642 if eval "test \"\${$as_ac_var+set}\" = set"; then
55643 echo $ECHO_N "(cached) $ECHO_C" >&6
55644 else
55645 if test x$gcc_no_link = xyes; then
55646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55648 { (exit 1); exit 1; }; }
55650 cat >conftest.$ac_ext <<_ACEOF
55651 /* confdefs.h. */
55652 _ACEOF
55653 cat confdefs.h >>conftest.$ac_ext
55654 cat >>conftest.$ac_ext <<_ACEOF
55655 /* end confdefs.h. */
55656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55658 #define $ac_func innocuous_$ac_func
55660 /* System header to define __stub macros and hopefully few prototypes,
55661 which can conflict with char $ac_func (); below.
55662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55663 <limits.h> exists even on freestanding compilers. */
55665 #ifdef __STDC__
55666 # include <limits.h>
55667 #else
55668 # include <assert.h>
55669 #endif
55671 #undef $ac_func
55673 /* Override any gcc2 internal prototype to avoid an error. */
55674 #ifdef __cplusplus
55675 extern "C"
55677 #endif
55678 /* We use char because int might match the return type of a gcc2
55679 builtin and then its argument prototype would still apply. */
55680 char $ac_func ();
55681 /* The GNU C library defines this for functions which it implements
55682 to always fail with ENOSYS. Some functions are actually named
55683 something starting with __ and the normal name is an alias. */
55684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55685 choke me
55686 #else
55687 char (*f) () = $ac_func;
55688 #endif
55689 #ifdef __cplusplus
55691 #endif
55694 main ()
55696 return f != $ac_func;
55698 return 0;
55700 _ACEOF
55701 rm -f conftest.$ac_objext conftest$ac_exeext
55702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55703 (eval $ac_link) 2>conftest.er1
55704 ac_status=$?
55705 grep -v '^ *+' conftest.er1 >conftest.err
55706 rm -f conftest.er1
55707 cat conftest.err >&5
55708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55709 (exit $ac_status); } &&
55710 { ac_try='test -z "$ac_c_werror_flag"
55711 || test ! -s conftest.err'
55712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55713 (eval $ac_try) 2>&5
55714 ac_status=$?
55715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55716 (exit $ac_status); }; } &&
55717 { ac_try='test -s conftest$ac_exeext'
55718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55719 (eval $ac_try) 2>&5
55720 ac_status=$?
55721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55722 (exit $ac_status); }; }; then
55723 eval "$as_ac_var=yes"
55724 else
55725 echo "$as_me: failed program was:" >&5
55726 sed 's/^/| /' conftest.$ac_ext >&5
55728 eval "$as_ac_var=no"
55730 rm -f conftest.err conftest.$ac_objext \
55731 conftest$ac_exeext conftest.$ac_ext
55733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55735 if test `eval echo '${'$as_ac_var'}'` = yes; then
55736 cat >>confdefs.h <<_ACEOF
55737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55738 _ACEOF
55741 done
55743 else
55745 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55746 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55747 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55748 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55749 echo $ECHO_N "(cached) $ECHO_C" >&6
55750 else
55754 ac_ext=cc
55755 ac_cpp='$CXXCPP $CPPFLAGS'
55756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55760 cat >conftest.$ac_ext <<_ACEOF
55761 /* confdefs.h. */
55762 _ACEOF
55763 cat confdefs.h >>conftest.$ac_ext
55764 cat >>conftest.$ac_ext <<_ACEOF
55765 /* end confdefs.h. */
55766 #include <math.h>
55768 main ()
55770 _copysign(0, 0);
55772 return 0;
55774 _ACEOF
55775 rm -f conftest.$ac_objext
55776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55777 (eval $ac_compile) 2>conftest.er1
55778 ac_status=$?
55779 grep -v '^ *+' conftest.er1 >conftest.err
55780 rm -f conftest.er1
55781 cat conftest.err >&5
55782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55783 (exit $ac_status); } &&
55784 { ac_try='test -z "$ac_cxx_werror_flag"
55785 || test ! -s conftest.err'
55786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55787 (eval $ac_try) 2>&5
55788 ac_status=$?
55789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55790 (exit $ac_status); }; } &&
55791 { ac_try='test -s conftest.$ac_objext'
55792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55793 (eval $ac_try) 2>&5
55794 ac_status=$?
55795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55796 (exit $ac_status); }; }; then
55797 glibcxx_cv_func__copysign_use=yes
55798 else
55799 echo "$as_me: failed program was:" >&5
55800 sed 's/^/| /' conftest.$ac_ext >&5
55802 glibcxx_cv_func__copysign_use=no
55804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55805 ac_ext=c
55806 ac_cpp='$CPP $CPPFLAGS'
55807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55815 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55816 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55818 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55820 for ac_func in _copysign
55822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55823 echo "$as_me:$LINENO: checking for $ac_func" >&5
55824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55825 if eval "test \"\${$as_ac_var+set}\" = set"; then
55826 echo $ECHO_N "(cached) $ECHO_C" >&6
55827 else
55828 if test x$gcc_no_link = xyes; then
55829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55831 { (exit 1); exit 1; }; }
55833 cat >conftest.$ac_ext <<_ACEOF
55834 /* confdefs.h. */
55835 _ACEOF
55836 cat confdefs.h >>conftest.$ac_ext
55837 cat >>conftest.$ac_ext <<_ACEOF
55838 /* end confdefs.h. */
55839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55841 #define $ac_func innocuous_$ac_func
55843 /* System header to define __stub macros and hopefully few prototypes,
55844 which can conflict with char $ac_func (); below.
55845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55846 <limits.h> exists even on freestanding compilers. */
55848 #ifdef __STDC__
55849 # include <limits.h>
55850 #else
55851 # include <assert.h>
55852 #endif
55854 #undef $ac_func
55856 /* Override any gcc2 internal prototype to avoid an error. */
55857 #ifdef __cplusplus
55858 extern "C"
55860 #endif
55861 /* We use char because int might match the return type of a gcc2
55862 builtin and then its argument prototype would still apply. */
55863 char $ac_func ();
55864 /* The GNU C library defines this for functions which it implements
55865 to always fail with ENOSYS. Some functions are actually named
55866 something starting with __ and the normal name is an alias. */
55867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55868 choke me
55869 #else
55870 char (*f) () = $ac_func;
55871 #endif
55872 #ifdef __cplusplus
55874 #endif
55877 main ()
55879 return f != $ac_func;
55881 return 0;
55883 _ACEOF
55884 rm -f conftest.$ac_objext conftest$ac_exeext
55885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55886 (eval $ac_link) 2>conftest.er1
55887 ac_status=$?
55888 grep -v '^ *+' conftest.er1 >conftest.err
55889 rm -f conftest.er1
55890 cat conftest.err >&5
55891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55892 (exit $ac_status); } &&
55893 { ac_try='test -z "$ac_c_werror_flag"
55894 || test ! -s conftest.err'
55895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55896 (eval $ac_try) 2>&5
55897 ac_status=$?
55898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55899 (exit $ac_status); }; } &&
55900 { ac_try='test -s conftest$ac_exeext'
55901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55902 (eval $ac_try) 2>&5
55903 ac_status=$?
55904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55905 (exit $ac_status); }; }; then
55906 eval "$as_ac_var=yes"
55907 else
55908 echo "$as_me: failed program was:" >&5
55909 sed 's/^/| /' conftest.$ac_ext >&5
55911 eval "$as_ac_var=no"
55913 rm -f conftest.err conftest.$ac_objext \
55914 conftest$ac_exeext conftest.$ac_ext
55916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55918 if test `eval echo '${'$as_ac_var'}'` = yes; then
55919 cat >>confdefs.h <<_ACEOF
55920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55921 _ACEOF
55924 done
55934 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55935 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55936 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55937 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55938 echo $ECHO_N "(cached) $ECHO_C" >&6
55939 else
55943 ac_ext=cc
55944 ac_cpp='$CXXCPP $CPPFLAGS'
55945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55949 cat >conftest.$ac_ext <<_ACEOF
55950 /* confdefs.h. */
55951 _ACEOF
55952 cat confdefs.h >>conftest.$ac_ext
55953 cat >>conftest.$ac_ext <<_ACEOF
55954 /* end confdefs.h. */
55955 #include <math.h>
55957 main ()
55959 sincos(0, 0, 0);
55961 return 0;
55963 _ACEOF
55964 rm -f conftest.$ac_objext
55965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55966 (eval $ac_compile) 2>conftest.er1
55967 ac_status=$?
55968 grep -v '^ *+' conftest.er1 >conftest.err
55969 rm -f conftest.er1
55970 cat conftest.err >&5
55971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55972 (exit $ac_status); } &&
55973 { ac_try='test -z "$ac_cxx_werror_flag"
55974 || test ! -s conftest.err'
55975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55976 (eval $ac_try) 2>&5
55977 ac_status=$?
55978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55979 (exit $ac_status); }; } &&
55980 { ac_try='test -s conftest.$ac_objext'
55981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55982 (eval $ac_try) 2>&5
55983 ac_status=$?
55984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55985 (exit $ac_status); }; }; then
55986 glibcxx_cv_func_sincos_use=yes
55987 else
55988 echo "$as_me: failed program was:" >&5
55989 sed 's/^/| /' conftest.$ac_ext >&5
55991 glibcxx_cv_func_sincos_use=no
55993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55994 ac_ext=c
55995 ac_cpp='$CPP $CPPFLAGS'
55996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56004 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
56005 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
56007 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56009 for ac_func in sincos
56011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56012 echo "$as_me:$LINENO: checking for $ac_func" >&5
56013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56014 if eval "test \"\${$as_ac_var+set}\" = set"; then
56015 echo $ECHO_N "(cached) $ECHO_C" >&6
56016 else
56017 if test x$gcc_no_link = xyes; then
56018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56020 { (exit 1); exit 1; }; }
56022 cat >conftest.$ac_ext <<_ACEOF
56023 /* confdefs.h. */
56024 _ACEOF
56025 cat confdefs.h >>conftest.$ac_ext
56026 cat >>conftest.$ac_ext <<_ACEOF
56027 /* end confdefs.h. */
56028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56030 #define $ac_func innocuous_$ac_func
56032 /* System header to define __stub macros and hopefully few prototypes,
56033 which can conflict with char $ac_func (); below.
56034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56035 <limits.h> exists even on freestanding compilers. */
56037 #ifdef __STDC__
56038 # include <limits.h>
56039 #else
56040 # include <assert.h>
56041 #endif
56043 #undef $ac_func
56045 /* Override any gcc2 internal prototype to avoid an error. */
56046 #ifdef __cplusplus
56047 extern "C"
56049 #endif
56050 /* We use char because int might match the return type of a gcc2
56051 builtin and then its argument prototype would still apply. */
56052 char $ac_func ();
56053 /* The GNU C library defines this for functions which it implements
56054 to always fail with ENOSYS. Some functions are actually named
56055 something starting with __ and the normal name is an alias. */
56056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56057 choke me
56058 #else
56059 char (*f) () = $ac_func;
56060 #endif
56061 #ifdef __cplusplus
56063 #endif
56066 main ()
56068 return f != $ac_func;
56070 return 0;
56072 _ACEOF
56073 rm -f conftest.$ac_objext conftest$ac_exeext
56074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56075 (eval $ac_link) 2>conftest.er1
56076 ac_status=$?
56077 grep -v '^ *+' conftest.er1 >conftest.err
56078 rm -f conftest.er1
56079 cat conftest.err >&5
56080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56081 (exit $ac_status); } &&
56082 { ac_try='test -z "$ac_c_werror_flag"
56083 || test ! -s conftest.err'
56084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56085 (eval $ac_try) 2>&5
56086 ac_status=$?
56087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56088 (exit $ac_status); }; } &&
56089 { ac_try='test -s conftest$ac_exeext'
56090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56091 (eval $ac_try) 2>&5
56092 ac_status=$?
56093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56094 (exit $ac_status); }; }; then
56095 eval "$as_ac_var=yes"
56096 else
56097 echo "$as_me: failed program was:" >&5
56098 sed 's/^/| /' conftest.$ac_ext >&5
56100 eval "$as_ac_var=no"
56102 rm -f conftest.err conftest.$ac_objext \
56103 conftest$ac_exeext conftest.$ac_ext
56105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56107 if test `eval echo '${'$as_ac_var'}'` = yes; then
56108 cat >>confdefs.h <<_ACEOF
56109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56110 _ACEOF
56113 done
56115 else
56117 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
56118 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
56119 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
56120 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
56121 echo $ECHO_N "(cached) $ECHO_C" >&6
56122 else
56126 ac_ext=cc
56127 ac_cpp='$CXXCPP $CPPFLAGS'
56128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56132 cat >conftest.$ac_ext <<_ACEOF
56133 /* confdefs.h. */
56134 _ACEOF
56135 cat confdefs.h >>conftest.$ac_ext
56136 cat >>conftest.$ac_ext <<_ACEOF
56137 /* end confdefs.h. */
56138 #include <math.h>
56140 main ()
56142 _sincos(0, 0, 0);
56144 return 0;
56146 _ACEOF
56147 rm -f conftest.$ac_objext
56148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56149 (eval $ac_compile) 2>conftest.er1
56150 ac_status=$?
56151 grep -v '^ *+' conftest.er1 >conftest.err
56152 rm -f conftest.er1
56153 cat conftest.err >&5
56154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56155 (exit $ac_status); } &&
56156 { ac_try='test -z "$ac_cxx_werror_flag"
56157 || test ! -s conftest.err'
56158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56159 (eval $ac_try) 2>&5
56160 ac_status=$?
56161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56162 (exit $ac_status); }; } &&
56163 { ac_try='test -s conftest.$ac_objext'
56164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56165 (eval $ac_try) 2>&5
56166 ac_status=$?
56167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56168 (exit $ac_status); }; }; then
56169 glibcxx_cv_func__sincos_use=yes
56170 else
56171 echo "$as_me: failed program was:" >&5
56172 sed 's/^/| /' conftest.$ac_ext >&5
56174 glibcxx_cv_func__sincos_use=no
56176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56177 ac_ext=c
56178 ac_cpp='$CPP $CPPFLAGS'
56179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
56188 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
56190 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56192 for ac_func in _sincos
56194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56195 echo "$as_me:$LINENO: checking for $ac_func" >&5
56196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56197 if eval "test \"\${$as_ac_var+set}\" = set"; then
56198 echo $ECHO_N "(cached) $ECHO_C" >&6
56199 else
56200 if test x$gcc_no_link = xyes; then
56201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56203 { (exit 1); exit 1; }; }
56205 cat >conftest.$ac_ext <<_ACEOF
56206 /* confdefs.h. */
56207 _ACEOF
56208 cat confdefs.h >>conftest.$ac_ext
56209 cat >>conftest.$ac_ext <<_ACEOF
56210 /* end confdefs.h. */
56211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56213 #define $ac_func innocuous_$ac_func
56215 /* System header to define __stub macros and hopefully few prototypes,
56216 which can conflict with char $ac_func (); below.
56217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56218 <limits.h> exists even on freestanding compilers. */
56220 #ifdef __STDC__
56221 # include <limits.h>
56222 #else
56223 # include <assert.h>
56224 #endif
56226 #undef $ac_func
56228 /* Override any gcc2 internal prototype to avoid an error. */
56229 #ifdef __cplusplus
56230 extern "C"
56232 #endif
56233 /* We use char because int might match the return type of a gcc2
56234 builtin and then its argument prototype would still apply. */
56235 char $ac_func ();
56236 /* The GNU C library defines this for functions which it implements
56237 to always fail with ENOSYS. Some functions are actually named
56238 something starting with __ and the normal name is an alias. */
56239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56240 choke me
56241 #else
56242 char (*f) () = $ac_func;
56243 #endif
56244 #ifdef __cplusplus
56246 #endif
56249 main ()
56251 return f != $ac_func;
56253 return 0;
56255 _ACEOF
56256 rm -f conftest.$ac_objext conftest$ac_exeext
56257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56258 (eval $ac_link) 2>conftest.er1
56259 ac_status=$?
56260 grep -v '^ *+' conftest.er1 >conftest.err
56261 rm -f conftest.er1
56262 cat conftest.err >&5
56263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56264 (exit $ac_status); } &&
56265 { ac_try='test -z "$ac_c_werror_flag"
56266 || test ! -s conftest.err'
56267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56268 (eval $ac_try) 2>&5
56269 ac_status=$?
56270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56271 (exit $ac_status); }; } &&
56272 { ac_try='test -s conftest$ac_exeext'
56273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56274 (eval $ac_try) 2>&5
56275 ac_status=$?
56276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56277 (exit $ac_status); }; }; then
56278 eval "$as_ac_var=yes"
56279 else
56280 echo "$as_me: failed program was:" >&5
56281 sed 's/^/| /' conftest.$ac_ext >&5
56283 eval "$as_ac_var=no"
56285 rm -f conftest.err conftest.$ac_objext \
56286 conftest$ac_exeext conftest.$ac_ext
56288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56290 if test `eval echo '${'$as_ac_var'}'` = yes; then
56291 cat >>confdefs.h <<_ACEOF
56292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56293 _ACEOF
56296 done
56306 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
56307 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
56308 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56309 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
56310 echo $ECHO_N "(cached) $ECHO_C" >&6
56311 else
56315 ac_ext=cc
56316 ac_cpp='$CXXCPP $CPPFLAGS'
56317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56321 cat >conftest.$ac_ext <<_ACEOF
56322 /* confdefs.h. */
56323 _ACEOF
56324 cat confdefs.h >>conftest.$ac_ext
56325 cat >>conftest.$ac_ext <<_ACEOF
56326 /* end confdefs.h. */
56327 #include <math.h>
56328 #ifdef HAVE_IEEEFP_H
56329 #include <ieeefp.h>
56330 #endif
56333 main ()
56335 fpclass(0);
56337 return 0;
56339 _ACEOF
56340 rm -f conftest.$ac_objext
56341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56342 (eval $ac_compile) 2>conftest.er1
56343 ac_status=$?
56344 grep -v '^ *+' conftest.er1 >conftest.err
56345 rm -f conftest.er1
56346 cat conftest.err >&5
56347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56348 (exit $ac_status); } &&
56349 { ac_try='test -z "$ac_cxx_werror_flag"
56350 || test ! -s conftest.err'
56351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56352 (eval $ac_try) 2>&5
56353 ac_status=$?
56354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56355 (exit $ac_status); }; } &&
56356 { ac_try='test -s conftest.$ac_objext'
56357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56358 (eval $ac_try) 2>&5
56359 ac_status=$?
56360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56361 (exit $ac_status); }; }; then
56362 glibcxx_cv_func_fpclass_use=yes
56363 else
56364 echo "$as_me: failed program was:" >&5
56365 sed 's/^/| /' conftest.$ac_ext >&5
56367 glibcxx_cv_func_fpclass_use=no
56369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56370 ac_ext=c
56371 ac_cpp='$CPP $CPPFLAGS'
56372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
56381 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
56383 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
56385 for ac_func in fpclass
56387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56388 echo "$as_me:$LINENO: checking for $ac_func" >&5
56389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56390 if eval "test \"\${$as_ac_var+set}\" = set"; then
56391 echo $ECHO_N "(cached) $ECHO_C" >&6
56392 else
56393 if test x$gcc_no_link = xyes; then
56394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56396 { (exit 1); exit 1; }; }
56398 cat >conftest.$ac_ext <<_ACEOF
56399 /* confdefs.h. */
56400 _ACEOF
56401 cat confdefs.h >>conftest.$ac_ext
56402 cat >>conftest.$ac_ext <<_ACEOF
56403 /* end confdefs.h. */
56404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56406 #define $ac_func innocuous_$ac_func
56408 /* System header to define __stub macros and hopefully few prototypes,
56409 which can conflict with char $ac_func (); below.
56410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56411 <limits.h> exists even on freestanding compilers. */
56413 #ifdef __STDC__
56414 # include <limits.h>
56415 #else
56416 # include <assert.h>
56417 #endif
56419 #undef $ac_func
56421 /* Override any gcc2 internal prototype to avoid an error. */
56422 #ifdef __cplusplus
56423 extern "C"
56425 #endif
56426 /* We use char because int might match the return type of a gcc2
56427 builtin and then its argument prototype would still apply. */
56428 char $ac_func ();
56429 /* The GNU C library defines this for functions which it implements
56430 to always fail with ENOSYS. Some functions are actually named
56431 something starting with __ and the normal name is an alias. */
56432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56433 choke me
56434 #else
56435 char (*f) () = $ac_func;
56436 #endif
56437 #ifdef __cplusplus
56439 #endif
56442 main ()
56444 return f != $ac_func;
56446 return 0;
56448 _ACEOF
56449 rm -f conftest.$ac_objext conftest$ac_exeext
56450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56451 (eval $ac_link) 2>conftest.er1
56452 ac_status=$?
56453 grep -v '^ *+' conftest.er1 >conftest.err
56454 rm -f conftest.er1
56455 cat conftest.err >&5
56456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56457 (exit $ac_status); } &&
56458 { ac_try='test -z "$ac_c_werror_flag"
56459 || test ! -s conftest.err'
56460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56461 (eval $ac_try) 2>&5
56462 ac_status=$?
56463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56464 (exit $ac_status); }; } &&
56465 { ac_try='test -s conftest$ac_exeext'
56466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56467 (eval $ac_try) 2>&5
56468 ac_status=$?
56469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56470 (exit $ac_status); }; }; then
56471 eval "$as_ac_var=yes"
56472 else
56473 echo "$as_me: failed program was:" >&5
56474 sed 's/^/| /' conftest.$ac_ext >&5
56476 eval "$as_ac_var=no"
56478 rm -f conftest.err conftest.$ac_objext \
56479 conftest$ac_exeext conftest.$ac_ext
56481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56483 if test `eval echo '${'$as_ac_var'}'` = yes; then
56484 cat >>confdefs.h <<_ACEOF
56485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56486 _ACEOF
56489 done
56491 else
56493 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
56494 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
56495 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56496 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
56497 echo $ECHO_N "(cached) $ECHO_C" >&6
56498 else
56502 ac_ext=cc
56503 ac_cpp='$CXXCPP $CPPFLAGS'
56504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56508 cat >conftest.$ac_ext <<_ACEOF
56509 /* confdefs.h. */
56510 _ACEOF
56511 cat confdefs.h >>conftest.$ac_ext
56512 cat >>conftest.$ac_ext <<_ACEOF
56513 /* end confdefs.h. */
56514 #include <math.h>
56515 #ifdef HAVE_IEEEFP_H
56516 #include <ieeefp.h>
56517 #endif
56520 main ()
56522 _fpclass(0);
56524 return 0;
56526 _ACEOF
56527 rm -f conftest.$ac_objext
56528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56529 (eval $ac_compile) 2>conftest.er1
56530 ac_status=$?
56531 grep -v '^ *+' conftest.er1 >conftest.err
56532 rm -f conftest.er1
56533 cat conftest.err >&5
56534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56535 (exit $ac_status); } &&
56536 { ac_try='test -z "$ac_cxx_werror_flag"
56537 || test ! -s conftest.err'
56538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56539 (eval $ac_try) 2>&5
56540 ac_status=$?
56541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56542 (exit $ac_status); }; } &&
56543 { ac_try='test -s conftest.$ac_objext'
56544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56545 (eval $ac_try) 2>&5
56546 ac_status=$?
56547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56548 (exit $ac_status); }; }; then
56549 glibcxx_cv_func__fpclass_use=yes
56550 else
56551 echo "$as_me: failed program was:" >&5
56552 sed 's/^/| /' conftest.$ac_ext >&5
56554 glibcxx_cv_func__fpclass_use=no
56556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56557 ac_ext=c
56558 ac_cpp='$CPP $CPPFLAGS'
56559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56567 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56568 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56570 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56572 for ac_func in _fpclass
56574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56575 echo "$as_me:$LINENO: checking for $ac_func" >&5
56576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56577 if eval "test \"\${$as_ac_var+set}\" = set"; then
56578 echo $ECHO_N "(cached) $ECHO_C" >&6
56579 else
56580 if test x$gcc_no_link = xyes; then
56581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56583 { (exit 1); exit 1; }; }
56585 cat >conftest.$ac_ext <<_ACEOF
56586 /* confdefs.h. */
56587 _ACEOF
56588 cat confdefs.h >>conftest.$ac_ext
56589 cat >>conftest.$ac_ext <<_ACEOF
56590 /* end confdefs.h. */
56591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56593 #define $ac_func innocuous_$ac_func
56595 /* System header to define __stub macros and hopefully few prototypes,
56596 which can conflict with char $ac_func (); below.
56597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56598 <limits.h> exists even on freestanding compilers. */
56600 #ifdef __STDC__
56601 # include <limits.h>
56602 #else
56603 # include <assert.h>
56604 #endif
56606 #undef $ac_func
56608 /* Override any gcc2 internal prototype to avoid an error. */
56609 #ifdef __cplusplus
56610 extern "C"
56612 #endif
56613 /* We use char because int might match the return type of a gcc2
56614 builtin and then its argument prototype would still apply. */
56615 char $ac_func ();
56616 /* The GNU C library defines this for functions which it implements
56617 to always fail with ENOSYS. Some functions are actually named
56618 something starting with __ and the normal name is an alias. */
56619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56620 choke me
56621 #else
56622 char (*f) () = $ac_func;
56623 #endif
56624 #ifdef __cplusplus
56626 #endif
56629 main ()
56631 return f != $ac_func;
56633 return 0;
56635 _ACEOF
56636 rm -f conftest.$ac_objext conftest$ac_exeext
56637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56638 (eval $ac_link) 2>conftest.er1
56639 ac_status=$?
56640 grep -v '^ *+' conftest.er1 >conftest.err
56641 rm -f conftest.er1
56642 cat conftest.err >&5
56643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56644 (exit $ac_status); } &&
56645 { ac_try='test -z "$ac_c_werror_flag"
56646 || test ! -s conftest.err'
56647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56648 (eval $ac_try) 2>&5
56649 ac_status=$?
56650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56651 (exit $ac_status); }; } &&
56652 { ac_try='test -s conftest$ac_exeext'
56653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56654 (eval $ac_try) 2>&5
56655 ac_status=$?
56656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56657 (exit $ac_status); }; }; then
56658 eval "$as_ac_var=yes"
56659 else
56660 echo "$as_me: failed program was:" >&5
56661 sed 's/^/| /' conftest.$ac_ext >&5
56663 eval "$as_ac_var=no"
56665 rm -f conftest.err conftest.$ac_objext \
56666 conftest$ac_exeext conftest.$ac_ext
56668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56670 if test `eval echo '${'$as_ac_var'}'` = yes; then
56671 cat >>confdefs.h <<_ACEOF
56672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56673 _ACEOF
56676 done
56686 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56687 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56688 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56689 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56690 echo $ECHO_N "(cached) $ECHO_C" >&6
56691 else
56695 ac_ext=cc
56696 ac_cpp='$CXXCPP $CPPFLAGS'
56697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56701 cat >conftest.$ac_ext <<_ACEOF
56702 /* confdefs.h. */
56703 _ACEOF
56704 cat confdefs.h >>conftest.$ac_ext
56705 cat >>conftest.$ac_ext <<_ACEOF
56706 /* end confdefs.h. */
56707 #include <math.h>
56708 #ifdef HAVE_IEEEFP_H
56709 #include <ieeefp.h>
56710 #endif
56713 main ()
56715 qfpclass(0);
56717 return 0;
56719 _ACEOF
56720 rm -f conftest.$ac_objext
56721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56722 (eval $ac_compile) 2>conftest.er1
56723 ac_status=$?
56724 grep -v '^ *+' conftest.er1 >conftest.err
56725 rm -f conftest.er1
56726 cat conftest.err >&5
56727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56728 (exit $ac_status); } &&
56729 { ac_try='test -z "$ac_cxx_werror_flag"
56730 || test ! -s conftest.err'
56731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56732 (eval $ac_try) 2>&5
56733 ac_status=$?
56734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56735 (exit $ac_status); }; } &&
56736 { ac_try='test -s conftest.$ac_objext'
56737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56738 (eval $ac_try) 2>&5
56739 ac_status=$?
56740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56741 (exit $ac_status); }; }; then
56742 glibcxx_cv_func_qfpclass_use=yes
56743 else
56744 echo "$as_me: failed program was:" >&5
56745 sed 's/^/| /' conftest.$ac_ext >&5
56747 glibcxx_cv_func_qfpclass_use=no
56749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56750 ac_ext=c
56751 ac_cpp='$CPP $CPPFLAGS'
56752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56760 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56761 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56763 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56765 for ac_func in qfpclass
56767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56768 echo "$as_me:$LINENO: checking for $ac_func" >&5
56769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56770 if eval "test \"\${$as_ac_var+set}\" = set"; then
56771 echo $ECHO_N "(cached) $ECHO_C" >&6
56772 else
56773 if test x$gcc_no_link = xyes; then
56774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56776 { (exit 1); exit 1; }; }
56778 cat >conftest.$ac_ext <<_ACEOF
56779 /* confdefs.h. */
56780 _ACEOF
56781 cat confdefs.h >>conftest.$ac_ext
56782 cat >>conftest.$ac_ext <<_ACEOF
56783 /* end confdefs.h. */
56784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56786 #define $ac_func innocuous_$ac_func
56788 /* System header to define __stub macros and hopefully few prototypes,
56789 which can conflict with char $ac_func (); below.
56790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56791 <limits.h> exists even on freestanding compilers. */
56793 #ifdef __STDC__
56794 # include <limits.h>
56795 #else
56796 # include <assert.h>
56797 #endif
56799 #undef $ac_func
56801 /* Override any gcc2 internal prototype to avoid an error. */
56802 #ifdef __cplusplus
56803 extern "C"
56805 #endif
56806 /* We use char because int might match the return type of a gcc2
56807 builtin and then its argument prototype would still apply. */
56808 char $ac_func ();
56809 /* The GNU C library defines this for functions which it implements
56810 to always fail with ENOSYS. Some functions are actually named
56811 something starting with __ and the normal name is an alias. */
56812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56813 choke me
56814 #else
56815 char (*f) () = $ac_func;
56816 #endif
56817 #ifdef __cplusplus
56819 #endif
56822 main ()
56824 return f != $ac_func;
56826 return 0;
56828 _ACEOF
56829 rm -f conftest.$ac_objext conftest$ac_exeext
56830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56831 (eval $ac_link) 2>conftest.er1
56832 ac_status=$?
56833 grep -v '^ *+' conftest.er1 >conftest.err
56834 rm -f conftest.er1
56835 cat conftest.err >&5
56836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56837 (exit $ac_status); } &&
56838 { ac_try='test -z "$ac_c_werror_flag"
56839 || test ! -s conftest.err'
56840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56841 (eval $ac_try) 2>&5
56842 ac_status=$?
56843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56844 (exit $ac_status); }; } &&
56845 { ac_try='test -s conftest$ac_exeext'
56846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56847 (eval $ac_try) 2>&5
56848 ac_status=$?
56849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56850 (exit $ac_status); }; }; then
56851 eval "$as_ac_var=yes"
56852 else
56853 echo "$as_me: failed program was:" >&5
56854 sed 's/^/| /' conftest.$ac_ext >&5
56856 eval "$as_ac_var=no"
56858 rm -f conftest.err conftest.$ac_objext \
56859 conftest$ac_exeext conftest.$ac_ext
56861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56863 if test `eval echo '${'$as_ac_var'}'` = yes; then
56864 cat >>confdefs.h <<_ACEOF
56865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56866 _ACEOF
56869 done
56871 else
56873 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56874 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56875 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56876 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56877 echo $ECHO_N "(cached) $ECHO_C" >&6
56878 else
56882 ac_ext=cc
56883 ac_cpp='$CXXCPP $CPPFLAGS'
56884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56888 cat >conftest.$ac_ext <<_ACEOF
56889 /* confdefs.h. */
56890 _ACEOF
56891 cat confdefs.h >>conftest.$ac_ext
56892 cat >>conftest.$ac_ext <<_ACEOF
56893 /* end confdefs.h. */
56894 #include <math.h>
56895 #ifdef HAVE_IEEEFP_H
56896 #include <ieeefp.h>
56897 #endif
56900 main ()
56902 _qfpclass(0);
56904 return 0;
56906 _ACEOF
56907 rm -f conftest.$ac_objext
56908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56909 (eval $ac_compile) 2>conftest.er1
56910 ac_status=$?
56911 grep -v '^ *+' conftest.er1 >conftest.err
56912 rm -f conftest.er1
56913 cat conftest.err >&5
56914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56915 (exit $ac_status); } &&
56916 { ac_try='test -z "$ac_cxx_werror_flag"
56917 || test ! -s conftest.err'
56918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56919 (eval $ac_try) 2>&5
56920 ac_status=$?
56921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56922 (exit $ac_status); }; } &&
56923 { ac_try='test -s conftest.$ac_objext'
56924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56925 (eval $ac_try) 2>&5
56926 ac_status=$?
56927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56928 (exit $ac_status); }; }; then
56929 glibcxx_cv_func__qfpclass_use=yes
56930 else
56931 echo "$as_me: failed program was:" >&5
56932 sed 's/^/| /' conftest.$ac_ext >&5
56934 glibcxx_cv_func__qfpclass_use=no
56936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56937 ac_ext=c
56938 ac_cpp='$CPP $CPPFLAGS'
56939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56948 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56950 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56952 for ac_func in _qfpclass
56954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56955 echo "$as_me:$LINENO: checking for $ac_func" >&5
56956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56957 if eval "test \"\${$as_ac_var+set}\" = set"; then
56958 echo $ECHO_N "(cached) $ECHO_C" >&6
56959 else
56960 if test x$gcc_no_link = xyes; then
56961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56963 { (exit 1); exit 1; }; }
56965 cat >conftest.$ac_ext <<_ACEOF
56966 /* confdefs.h. */
56967 _ACEOF
56968 cat confdefs.h >>conftest.$ac_ext
56969 cat >>conftest.$ac_ext <<_ACEOF
56970 /* end confdefs.h. */
56971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56973 #define $ac_func innocuous_$ac_func
56975 /* System header to define __stub macros and hopefully few prototypes,
56976 which can conflict with char $ac_func (); below.
56977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56978 <limits.h> exists even on freestanding compilers. */
56980 #ifdef __STDC__
56981 # include <limits.h>
56982 #else
56983 # include <assert.h>
56984 #endif
56986 #undef $ac_func
56988 /* Override any gcc2 internal prototype to avoid an error. */
56989 #ifdef __cplusplus
56990 extern "C"
56992 #endif
56993 /* We use char because int might match the return type of a gcc2
56994 builtin and then its argument prototype would still apply. */
56995 char $ac_func ();
56996 /* The GNU C library defines this for functions which it implements
56997 to always fail with ENOSYS. Some functions are actually named
56998 something starting with __ and the normal name is an alias. */
56999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57000 choke me
57001 #else
57002 char (*f) () = $ac_func;
57003 #endif
57004 #ifdef __cplusplus
57006 #endif
57009 main ()
57011 return f != $ac_func;
57013 return 0;
57015 _ACEOF
57016 rm -f conftest.$ac_objext conftest$ac_exeext
57017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57018 (eval $ac_link) 2>conftest.er1
57019 ac_status=$?
57020 grep -v '^ *+' conftest.er1 >conftest.err
57021 rm -f conftest.er1
57022 cat conftest.err >&5
57023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57024 (exit $ac_status); } &&
57025 { ac_try='test -z "$ac_c_werror_flag"
57026 || test ! -s conftest.err'
57027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57028 (eval $ac_try) 2>&5
57029 ac_status=$?
57030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57031 (exit $ac_status); }; } &&
57032 { ac_try='test -s conftest$ac_exeext'
57033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57034 (eval $ac_try) 2>&5
57035 ac_status=$?
57036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57037 (exit $ac_status); }; }; then
57038 eval "$as_ac_var=yes"
57039 else
57040 echo "$as_me: failed program was:" >&5
57041 sed 's/^/| /' conftest.$ac_ext >&5
57043 eval "$as_ac_var=no"
57045 rm -f conftest.err conftest.$ac_objext \
57046 conftest$ac_exeext conftest.$ac_ext
57048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57050 if test `eval echo '${'$as_ac_var'}'` = yes; then
57051 cat >>confdefs.h <<_ACEOF
57052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57053 _ACEOF
57056 done
57066 echo "$as_me:$LINENO: checking for hypot declaration" >&5
57067 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
57068 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57069 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
57070 echo $ECHO_N "(cached) $ECHO_C" >&6
57071 else
57075 ac_ext=cc
57076 ac_cpp='$CXXCPP $CPPFLAGS'
57077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57081 cat >conftest.$ac_ext <<_ACEOF
57082 /* confdefs.h. */
57083 _ACEOF
57084 cat confdefs.h >>conftest.$ac_ext
57085 cat >>conftest.$ac_ext <<_ACEOF
57086 /* end confdefs.h. */
57087 #include <math.h>
57089 main ()
57091 hypot(0, 0);
57093 return 0;
57095 _ACEOF
57096 rm -f conftest.$ac_objext
57097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57098 (eval $ac_compile) 2>conftest.er1
57099 ac_status=$?
57100 grep -v '^ *+' conftest.er1 >conftest.err
57101 rm -f conftest.er1
57102 cat conftest.err >&5
57103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57104 (exit $ac_status); } &&
57105 { ac_try='test -z "$ac_cxx_werror_flag"
57106 || test ! -s conftest.err'
57107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57108 (eval $ac_try) 2>&5
57109 ac_status=$?
57110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57111 (exit $ac_status); }; } &&
57112 { ac_try='test -s conftest.$ac_objext'
57113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57114 (eval $ac_try) 2>&5
57115 ac_status=$?
57116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57117 (exit $ac_status); }; }; then
57118 glibcxx_cv_func_hypot_use=yes
57119 else
57120 echo "$as_me: failed program was:" >&5
57121 sed 's/^/| /' conftest.$ac_ext >&5
57123 glibcxx_cv_func_hypot_use=no
57125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57126 ac_ext=c
57127 ac_cpp='$CPP $CPPFLAGS'
57128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57136 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
57137 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
57139 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57141 for ac_func in hypot
57143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57144 echo "$as_me:$LINENO: checking for $ac_func" >&5
57145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57146 if eval "test \"\${$as_ac_var+set}\" = set"; then
57147 echo $ECHO_N "(cached) $ECHO_C" >&6
57148 else
57149 if test x$gcc_no_link = xyes; then
57150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57152 { (exit 1); exit 1; }; }
57154 cat >conftest.$ac_ext <<_ACEOF
57155 /* confdefs.h. */
57156 _ACEOF
57157 cat confdefs.h >>conftest.$ac_ext
57158 cat >>conftest.$ac_ext <<_ACEOF
57159 /* end confdefs.h. */
57160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57162 #define $ac_func innocuous_$ac_func
57164 /* System header to define __stub macros and hopefully few prototypes,
57165 which can conflict with char $ac_func (); below.
57166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57167 <limits.h> exists even on freestanding compilers. */
57169 #ifdef __STDC__
57170 # include <limits.h>
57171 #else
57172 # include <assert.h>
57173 #endif
57175 #undef $ac_func
57177 /* Override any gcc2 internal prototype to avoid an error. */
57178 #ifdef __cplusplus
57179 extern "C"
57181 #endif
57182 /* We use char because int might match the return type of a gcc2
57183 builtin and then its argument prototype would still apply. */
57184 char $ac_func ();
57185 /* The GNU C library defines this for functions which it implements
57186 to always fail with ENOSYS. Some functions are actually named
57187 something starting with __ and the normal name is an alias. */
57188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57189 choke me
57190 #else
57191 char (*f) () = $ac_func;
57192 #endif
57193 #ifdef __cplusplus
57195 #endif
57198 main ()
57200 return f != $ac_func;
57202 return 0;
57204 _ACEOF
57205 rm -f conftest.$ac_objext conftest$ac_exeext
57206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57207 (eval $ac_link) 2>conftest.er1
57208 ac_status=$?
57209 grep -v '^ *+' conftest.er1 >conftest.err
57210 rm -f conftest.er1
57211 cat conftest.err >&5
57212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57213 (exit $ac_status); } &&
57214 { ac_try='test -z "$ac_c_werror_flag"
57215 || test ! -s conftest.err'
57216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57217 (eval $ac_try) 2>&5
57218 ac_status=$?
57219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57220 (exit $ac_status); }; } &&
57221 { ac_try='test -s conftest$ac_exeext'
57222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57223 (eval $ac_try) 2>&5
57224 ac_status=$?
57225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57226 (exit $ac_status); }; }; then
57227 eval "$as_ac_var=yes"
57228 else
57229 echo "$as_me: failed program was:" >&5
57230 sed 's/^/| /' conftest.$ac_ext >&5
57232 eval "$as_ac_var=no"
57234 rm -f conftest.err conftest.$ac_objext \
57235 conftest$ac_exeext conftest.$ac_ext
57237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57239 if test `eval echo '${'$as_ac_var'}'` = yes; then
57240 cat >>confdefs.h <<_ACEOF
57241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57242 _ACEOF
57245 done
57247 else
57249 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
57250 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
57251 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57252 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
57253 echo $ECHO_N "(cached) $ECHO_C" >&6
57254 else
57258 ac_ext=cc
57259 ac_cpp='$CXXCPP $CPPFLAGS'
57260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57264 cat >conftest.$ac_ext <<_ACEOF
57265 /* confdefs.h. */
57266 _ACEOF
57267 cat confdefs.h >>conftest.$ac_ext
57268 cat >>conftest.$ac_ext <<_ACEOF
57269 /* end confdefs.h. */
57270 #include <math.h>
57272 main ()
57274 _hypot(0, 0);
57276 return 0;
57278 _ACEOF
57279 rm -f conftest.$ac_objext
57280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57281 (eval $ac_compile) 2>conftest.er1
57282 ac_status=$?
57283 grep -v '^ *+' conftest.er1 >conftest.err
57284 rm -f conftest.er1
57285 cat conftest.err >&5
57286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57287 (exit $ac_status); } &&
57288 { ac_try='test -z "$ac_cxx_werror_flag"
57289 || test ! -s conftest.err'
57290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57291 (eval $ac_try) 2>&5
57292 ac_status=$?
57293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57294 (exit $ac_status); }; } &&
57295 { ac_try='test -s conftest.$ac_objext'
57296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57297 (eval $ac_try) 2>&5
57298 ac_status=$?
57299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57300 (exit $ac_status); }; }; then
57301 glibcxx_cv_func__hypot_use=yes
57302 else
57303 echo "$as_me: failed program was:" >&5
57304 sed 's/^/| /' conftest.$ac_ext >&5
57306 glibcxx_cv_func__hypot_use=no
57308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57309 ac_ext=c
57310 ac_cpp='$CPP $CPPFLAGS'
57311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57319 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
57320 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
57322 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57324 for ac_func in _hypot
57326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57327 echo "$as_me:$LINENO: checking for $ac_func" >&5
57328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57329 if eval "test \"\${$as_ac_var+set}\" = set"; then
57330 echo $ECHO_N "(cached) $ECHO_C" >&6
57331 else
57332 if test x$gcc_no_link = xyes; then
57333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57335 { (exit 1); exit 1; }; }
57337 cat >conftest.$ac_ext <<_ACEOF
57338 /* confdefs.h. */
57339 _ACEOF
57340 cat confdefs.h >>conftest.$ac_ext
57341 cat >>conftest.$ac_ext <<_ACEOF
57342 /* end confdefs.h. */
57343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57345 #define $ac_func innocuous_$ac_func
57347 /* System header to define __stub macros and hopefully few prototypes,
57348 which can conflict with char $ac_func (); below.
57349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57350 <limits.h> exists even on freestanding compilers. */
57352 #ifdef __STDC__
57353 # include <limits.h>
57354 #else
57355 # include <assert.h>
57356 #endif
57358 #undef $ac_func
57360 /* Override any gcc2 internal prototype to avoid an error. */
57361 #ifdef __cplusplus
57362 extern "C"
57364 #endif
57365 /* We use char because int might match the return type of a gcc2
57366 builtin and then its argument prototype would still apply. */
57367 char $ac_func ();
57368 /* The GNU C library defines this for functions which it implements
57369 to always fail with ENOSYS. Some functions are actually named
57370 something starting with __ and the normal name is an alias. */
57371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57372 choke me
57373 #else
57374 char (*f) () = $ac_func;
57375 #endif
57376 #ifdef __cplusplus
57378 #endif
57381 main ()
57383 return f != $ac_func;
57385 return 0;
57387 _ACEOF
57388 rm -f conftest.$ac_objext conftest$ac_exeext
57389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57390 (eval $ac_link) 2>conftest.er1
57391 ac_status=$?
57392 grep -v '^ *+' conftest.er1 >conftest.err
57393 rm -f conftest.er1
57394 cat conftest.err >&5
57395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57396 (exit $ac_status); } &&
57397 { ac_try='test -z "$ac_c_werror_flag"
57398 || test ! -s conftest.err'
57399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57400 (eval $ac_try) 2>&5
57401 ac_status=$?
57402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57403 (exit $ac_status); }; } &&
57404 { ac_try='test -s conftest$ac_exeext'
57405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57406 (eval $ac_try) 2>&5
57407 ac_status=$?
57408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57409 (exit $ac_status); }; }; then
57410 eval "$as_ac_var=yes"
57411 else
57412 echo "$as_me: failed program was:" >&5
57413 sed 's/^/| /' conftest.$ac_ext >&5
57415 eval "$as_ac_var=no"
57417 rm -f conftest.err conftest.$ac_objext \
57418 conftest$ac_exeext conftest.$ac_ext
57420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57422 if test `eval echo '${'$as_ac_var'}'` = yes; then
57423 cat >>confdefs.h <<_ACEOF
57424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57425 _ACEOF
57428 done
57438 echo "$as_me:$LINENO: checking for float trig functions" >&5
57439 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
57440 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
57441 echo $ECHO_N "(cached) $ECHO_C" >&6
57442 else
57446 ac_ext=cc
57447 ac_cpp='$CXXCPP $CPPFLAGS'
57448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57452 cat >conftest.$ac_ext <<_ACEOF
57453 /* confdefs.h. */
57454 _ACEOF
57455 cat confdefs.h >>conftest.$ac_ext
57456 cat >>conftest.$ac_ext <<_ACEOF
57457 /* end confdefs.h. */
57458 #include <math.h>
57460 main ()
57462 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57464 return 0;
57466 _ACEOF
57467 rm -f conftest.$ac_objext
57468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57469 (eval $ac_compile) 2>conftest.er1
57470 ac_status=$?
57471 grep -v '^ *+' conftest.er1 >conftest.err
57472 rm -f conftest.er1
57473 cat conftest.err >&5
57474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57475 (exit $ac_status); } &&
57476 { ac_try='test -z "$ac_cxx_werror_flag"
57477 || test ! -s conftest.err'
57478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57479 (eval $ac_try) 2>&5
57480 ac_status=$?
57481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57482 (exit $ac_status); }; } &&
57483 { ac_try='test -s conftest.$ac_objext'
57484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57485 (eval $ac_try) 2>&5
57486 ac_status=$?
57487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57488 (exit $ac_status); }; }; then
57489 glibcxx_cv_func_float_trig_use=yes
57490 else
57491 echo "$as_me: failed program was:" >&5
57492 sed 's/^/| /' conftest.$ac_ext >&5
57494 glibcxx_cv_func_float_trig_use=no
57496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57497 ac_ext=c
57498 ac_cpp='$CPP $CPPFLAGS'
57499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57505 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
57506 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
57507 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57517 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57520 echo "$as_me:$LINENO: checking for $ac_func" >&5
57521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57522 if eval "test \"\${$as_ac_var+set}\" = set"; then
57523 echo $ECHO_N "(cached) $ECHO_C" >&6
57524 else
57525 if test x$gcc_no_link = xyes; then
57526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57528 { (exit 1); exit 1; }; }
57530 cat >conftest.$ac_ext <<_ACEOF
57531 /* confdefs.h. */
57532 _ACEOF
57533 cat confdefs.h >>conftest.$ac_ext
57534 cat >>conftest.$ac_ext <<_ACEOF
57535 /* end confdefs.h. */
57536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57538 #define $ac_func innocuous_$ac_func
57540 /* System header to define __stub macros and hopefully few prototypes,
57541 which can conflict with char $ac_func (); below.
57542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57543 <limits.h> exists even on freestanding compilers. */
57545 #ifdef __STDC__
57546 # include <limits.h>
57547 #else
57548 # include <assert.h>
57549 #endif
57551 #undef $ac_func
57553 /* Override any gcc2 internal prototype to avoid an error. */
57554 #ifdef __cplusplus
57555 extern "C"
57557 #endif
57558 /* We use char because int might match the return type of a gcc2
57559 builtin and then its argument prototype would still apply. */
57560 char $ac_func ();
57561 /* The GNU C library defines this for functions which it implements
57562 to always fail with ENOSYS. Some functions are actually named
57563 something starting with __ and the normal name is an alias. */
57564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57565 choke me
57566 #else
57567 char (*f) () = $ac_func;
57568 #endif
57569 #ifdef __cplusplus
57571 #endif
57574 main ()
57576 return f != $ac_func;
57578 return 0;
57580 _ACEOF
57581 rm -f conftest.$ac_objext conftest$ac_exeext
57582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57583 (eval $ac_link) 2>conftest.er1
57584 ac_status=$?
57585 grep -v '^ *+' conftest.er1 >conftest.err
57586 rm -f conftest.er1
57587 cat conftest.err >&5
57588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57589 (exit $ac_status); } &&
57590 { ac_try='test -z "$ac_c_werror_flag"
57591 || test ! -s conftest.err'
57592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57593 (eval $ac_try) 2>&5
57594 ac_status=$?
57595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57596 (exit $ac_status); }; } &&
57597 { ac_try='test -s conftest$ac_exeext'
57598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57599 (eval $ac_try) 2>&5
57600 ac_status=$?
57601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57602 (exit $ac_status); }; }; then
57603 eval "$as_ac_var=yes"
57604 else
57605 echo "$as_me: failed program was:" >&5
57606 sed 's/^/| /' conftest.$ac_ext >&5
57608 eval "$as_ac_var=no"
57610 rm -f conftest.err conftest.$ac_objext \
57611 conftest$ac_exeext conftest.$ac_ext
57613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57615 if test `eval echo '${'$as_ac_var'}'` = yes; then
57616 cat >>confdefs.h <<_ACEOF
57617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57618 _ACEOF
57621 done
57623 else
57624 echo "$as_me:$LINENO: checking for _float trig functions" >&5
57625 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57626 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57627 echo $ECHO_N "(cached) $ECHO_C" >&6
57628 else
57632 ac_ext=cc
57633 ac_cpp='$CXXCPP $CPPFLAGS'
57634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57638 cat >conftest.$ac_ext <<_ACEOF
57639 /* confdefs.h. */
57640 _ACEOF
57641 cat confdefs.h >>conftest.$ac_ext
57642 cat >>conftest.$ac_ext <<_ACEOF
57643 /* end confdefs.h. */
57644 #include <math.h>
57646 main ()
57648 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57650 return 0;
57652 _ACEOF
57653 rm -f conftest.$ac_objext
57654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57655 (eval $ac_compile) 2>conftest.er1
57656 ac_status=$?
57657 grep -v '^ *+' conftest.er1 >conftest.err
57658 rm -f conftest.er1
57659 cat conftest.err >&5
57660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57661 (exit $ac_status); } &&
57662 { ac_try='test -z "$ac_cxx_werror_flag"
57663 || test ! -s conftest.err'
57664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57665 (eval $ac_try) 2>&5
57666 ac_status=$?
57667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57668 (exit $ac_status); }; } &&
57669 { ac_try='test -s conftest.$ac_objext'
57670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57671 (eval $ac_try) 2>&5
57672 ac_status=$?
57673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57674 (exit $ac_status); }; }; then
57675 glibcxx_cv_func__float_trig_use=yes
57676 else
57677 echo "$as_me: failed program was:" >&5
57678 sed 's/^/| /' conftest.$ac_ext >&5
57680 glibcxx_cv_func__float_trig_use=no
57682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57683 ac_ext=c
57684 ac_cpp='$CPP $CPPFLAGS'
57685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57691 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57692 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57693 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57703 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57706 echo "$as_me:$LINENO: checking for $ac_func" >&5
57707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57708 if eval "test \"\${$as_ac_var+set}\" = set"; then
57709 echo $ECHO_N "(cached) $ECHO_C" >&6
57710 else
57711 if test x$gcc_no_link = xyes; then
57712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57714 { (exit 1); exit 1; }; }
57716 cat >conftest.$ac_ext <<_ACEOF
57717 /* confdefs.h. */
57718 _ACEOF
57719 cat confdefs.h >>conftest.$ac_ext
57720 cat >>conftest.$ac_ext <<_ACEOF
57721 /* end confdefs.h. */
57722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57724 #define $ac_func innocuous_$ac_func
57726 /* System header to define __stub macros and hopefully few prototypes,
57727 which can conflict with char $ac_func (); below.
57728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57729 <limits.h> exists even on freestanding compilers. */
57731 #ifdef __STDC__
57732 # include <limits.h>
57733 #else
57734 # include <assert.h>
57735 #endif
57737 #undef $ac_func
57739 /* Override any gcc2 internal prototype to avoid an error. */
57740 #ifdef __cplusplus
57741 extern "C"
57743 #endif
57744 /* We use char because int might match the return type of a gcc2
57745 builtin and then its argument prototype would still apply. */
57746 char $ac_func ();
57747 /* The GNU C library defines this for functions which it implements
57748 to always fail with ENOSYS. Some functions are actually named
57749 something starting with __ and the normal name is an alias. */
57750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57751 choke me
57752 #else
57753 char (*f) () = $ac_func;
57754 #endif
57755 #ifdef __cplusplus
57757 #endif
57760 main ()
57762 return f != $ac_func;
57764 return 0;
57766 _ACEOF
57767 rm -f conftest.$ac_objext conftest$ac_exeext
57768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57769 (eval $ac_link) 2>conftest.er1
57770 ac_status=$?
57771 grep -v '^ *+' conftest.er1 >conftest.err
57772 rm -f conftest.er1
57773 cat conftest.err >&5
57774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57775 (exit $ac_status); } &&
57776 { ac_try='test -z "$ac_c_werror_flag"
57777 || test ! -s conftest.err'
57778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57779 (eval $ac_try) 2>&5
57780 ac_status=$?
57781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57782 (exit $ac_status); }; } &&
57783 { ac_try='test -s conftest$ac_exeext'
57784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57785 (eval $ac_try) 2>&5
57786 ac_status=$?
57787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57788 (exit $ac_status); }; }; then
57789 eval "$as_ac_var=yes"
57790 else
57791 echo "$as_me: failed program was:" >&5
57792 sed 's/^/| /' conftest.$ac_ext >&5
57794 eval "$as_ac_var=no"
57796 rm -f conftest.err conftest.$ac_objext \
57797 conftest$ac_exeext conftest.$ac_ext
57799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57801 if test `eval echo '${'$as_ac_var'}'` = yes; then
57802 cat >>confdefs.h <<_ACEOF
57803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57804 _ACEOF
57807 done
57825 echo "$as_me:$LINENO: checking for float round functions" >&5
57826 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
57827 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
57828 echo $ECHO_N "(cached) $ECHO_C" >&6
57829 else
57833 ac_ext=cc
57834 ac_cpp='$CXXCPP $CPPFLAGS'
57835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57839 cat >conftest.$ac_ext <<_ACEOF
57840 /* confdefs.h. */
57841 _ACEOF
57842 cat confdefs.h >>conftest.$ac_ext
57843 cat >>conftest.$ac_ext <<_ACEOF
57844 /* end confdefs.h. */
57845 #include <math.h>
57847 main ()
57849 ceilf (0); floorf (0);
57851 return 0;
57853 _ACEOF
57854 rm -f conftest.$ac_objext
57855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57856 (eval $ac_compile) 2>conftest.er1
57857 ac_status=$?
57858 grep -v '^ *+' conftest.er1 >conftest.err
57859 rm -f conftest.er1
57860 cat conftest.err >&5
57861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57862 (exit $ac_status); } &&
57863 { ac_try='test -z "$ac_cxx_werror_flag"
57864 || test ! -s conftest.err'
57865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57866 (eval $ac_try) 2>&5
57867 ac_status=$?
57868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57869 (exit $ac_status); }; } &&
57870 { ac_try='test -s conftest.$ac_objext'
57871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57872 (eval $ac_try) 2>&5
57873 ac_status=$?
57874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57875 (exit $ac_status); }; }; then
57876 glibcxx_cv_func_float_round_use=yes
57877 else
57878 echo "$as_me: failed program was:" >&5
57879 sed 's/^/| /' conftest.$ac_ext >&5
57881 glibcxx_cv_func_float_round_use=no
57883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57884 ac_ext=c
57885 ac_cpp='$CPP $CPPFLAGS'
57886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57892 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
57893 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
57894 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57897 for ac_func in ceilf floorf
57899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57900 echo "$as_me:$LINENO: checking for $ac_func" >&5
57901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57902 if eval "test \"\${$as_ac_var+set}\" = set"; then
57903 echo $ECHO_N "(cached) $ECHO_C" >&6
57904 else
57905 if test x$gcc_no_link = xyes; then
57906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57908 { (exit 1); exit 1; }; }
57910 cat >conftest.$ac_ext <<_ACEOF
57911 /* confdefs.h. */
57912 _ACEOF
57913 cat confdefs.h >>conftest.$ac_ext
57914 cat >>conftest.$ac_ext <<_ACEOF
57915 /* end confdefs.h. */
57916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57918 #define $ac_func innocuous_$ac_func
57920 /* System header to define __stub macros and hopefully few prototypes,
57921 which can conflict with char $ac_func (); below.
57922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57923 <limits.h> exists even on freestanding compilers. */
57925 #ifdef __STDC__
57926 # include <limits.h>
57927 #else
57928 # include <assert.h>
57929 #endif
57931 #undef $ac_func
57933 /* Override any gcc2 internal prototype to avoid an error. */
57934 #ifdef __cplusplus
57935 extern "C"
57937 #endif
57938 /* We use char because int might match the return type of a gcc2
57939 builtin and then its argument prototype would still apply. */
57940 char $ac_func ();
57941 /* The GNU C library defines this for functions which it implements
57942 to always fail with ENOSYS. Some functions are actually named
57943 something starting with __ and the normal name is an alias. */
57944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57945 choke me
57946 #else
57947 char (*f) () = $ac_func;
57948 #endif
57949 #ifdef __cplusplus
57951 #endif
57954 main ()
57956 return f != $ac_func;
57958 return 0;
57960 _ACEOF
57961 rm -f conftest.$ac_objext conftest$ac_exeext
57962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57963 (eval $ac_link) 2>conftest.er1
57964 ac_status=$?
57965 grep -v '^ *+' conftest.er1 >conftest.err
57966 rm -f conftest.er1
57967 cat conftest.err >&5
57968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57969 (exit $ac_status); } &&
57970 { ac_try='test -z "$ac_c_werror_flag"
57971 || test ! -s conftest.err'
57972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57973 (eval $ac_try) 2>&5
57974 ac_status=$?
57975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57976 (exit $ac_status); }; } &&
57977 { ac_try='test -s conftest$ac_exeext'
57978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57979 (eval $ac_try) 2>&5
57980 ac_status=$?
57981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57982 (exit $ac_status); }; }; then
57983 eval "$as_ac_var=yes"
57984 else
57985 echo "$as_me: failed program was:" >&5
57986 sed 's/^/| /' conftest.$ac_ext >&5
57988 eval "$as_ac_var=no"
57990 rm -f conftest.err conftest.$ac_objext \
57991 conftest$ac_exeext conftest.$ac_ext
57993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57995 if test `eval echo '${'$as_ac_var'}'` = yes; then
57996 cat >>confdefs.h <<_ACEOF
57997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57998 _ACEOF
58001 done
58003 else
58004 echo "$as_me:$LINENO: checking for _float round functions" >&5
58005 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
58006 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
58007 echo $ECHO_N "(cached) $ECHO_C" >&6
58008 else
58012 ac_ext=cc
58013 ac_cpp='$CXXCPP $CPPFLAGS'
58014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58018 cat >conftest.$ac_ext <<_ACEOF
58019 /* confdefs.h. */
58020 _ACEOF
58021 cat confdefs.h >>conftest.$ac_ext
58022 cat >>conftest.$ac_ext <<_ACEOF
58023 /* end confdefs.h. */
58024 #include <math.h>
58026 main ()
58028 _ceilf (0); _floorf (0);
58030 return 0;
58032 _ACEOF
58033 rm -f conftest.$ac_objext
58034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58035 (eval $ac_compile) 2>conftest.er1
58036 ac_status=$?
58037 grep -v '^ *+' conftest.er1 >conftest.err
58038 rm -f conftest.er1
58039 cat conftest.err >&5
58040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58041 (exit $ac_status); } &&
58042 { ac_try='test -z "$ac_cxx_werror_flag"
58043 || test ! -s conftest.err'
58044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58045 (eval $ac_try) 2>&5
58046 ac_status=$?
58047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58048 (exit $ac_status); }; } &&
58049 { ac_try='test -s conftest.$ac_objext'
58050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58051 (eval $ac_try) 2>&5
58052 ac_status=$?
58053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58054 (exit $ac_status); }; }; then
58055 glibcxx_cv_func__float_round_use=yes
58056 else
58057 echo "$as_me: failed program was:" >&5
58058 sed 's/^/| /' conftest.$ac_ext >&5
58060 glibcxx_cv_func__float_round_use=no
58062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58063 ac_ext=c
58064 ac_cpp='$CPP $CPPFLAGS'
58065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58071 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
58072 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
58073 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58076 for ac_func in _ceilf _floorf
58078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58079 echo "$as_me:$LINENO: checking for $ac_func" >&5
58080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58081 if eval "test \"\${$as_ac_var+set}\" = set"; then
58082 echo $ECHO_N "(cached) $ECHO_C" >&6
58083 else
58084 if test x$gcc_no_link = xyes; then
58085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58087 { (exit 1); exit 1; }; }
58089 cat >conftest.$ac_ext <<_ACEOF
58090 /* confdefs.h. */
58091 _ACEOF
58092 cat confdefs.h >>conftest.$ac_ext
58093 cat >>conftest.$ac_ext <<_ACEOF
58094 /* end confdefs.h. */
58095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58097 #define $ac_func innocuous_$ac_func
58099 /* System header to define __stub macros and hopefully few prototypes,
58100 which can conflict with char $ac_func (); below.
58101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58102 <limits.h> exists even on freestanding compilers. */
58104 #ifdef __STDC__
58105 # include <limits.h>
58106 #else
58107 # include <assert.h>
58108 #endif
58110 #undef $ac_func
58112 /* Override any gcc2 internal prototype to avoid an error. */
58113 #ifdef __cplusplus
58114 extern "C"
58116 #endif
58117 /* We use char because int might match the return type of a gcc2
58118 builtin and then its argument prototype would still apply. */
58119 char $ac_func ();
58120 /* The GNU C library defines this for functions which it implements
58121 to always fail with ENOSYS. Some functions are actually named
58122 something starting with __ and the normal name is an alias. */
58123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58124 choke me
58125 #else
58126 char (*f) () = $ac_func;
58127 #endif
58128 #ifdef __cplusplus
58130 #endif
58133 main ()
58135 return f != $ac_func;
58137 return 0;
58139 _ACEOF
58140 rm -f conftest.$ac_objext conftest$ac_exeext
58141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58142 (eval $ac_link) 2>conftest.er1
58143 ac_status=$?
58144 grep -v '^ *+' conftest.er1 >conftest.err
58145 rm -f conftest.er1
58146 cat conftest.err >&5
58147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58148 (exit $ac_status); } &&
58149 { ac_try='test -z "$ac_c_werror_flag"
58150 || test ! -s conftest.err'
58151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58152 (eval $ac_try) 2>&5
58153 ac_status=$?
58154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58155 (exit $ac_status); }; } &&
58156 { ac_try='test -s conftest$ac_exeext'
58157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58158 (eval $ac_try) 2>&5
58159 ac_status=$?
58160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58161 (exit $ac_status); }; }; then
58162 eval "$as_ac_var=yes"
58163 else
58164 echo "$as_me: failed program was:" >&5
58165 sed 's/^/| /' conftest.$ac_ext >&5
58167 eval "$as_ac_var=no"
58169 rm -f conftest.err conftest.$ac_objext \
58170 conftest$ac_exeext conftest.$ac_ext
58172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58174 if test `eval echo '${'$as_ac_var'}'` = yes; then
58175 cat >>confdefs.h <<_ACEOF
58176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58177 _ACEOF
58180 done
58192 echo "$as_me:$LINENO: checking for expf declaration" >&5
58193 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
58194 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58195 if test "${glibcxx_cv_func_expf_use+set}" = set; then
58196 echo $ECHO_N "(cached) $ECHO_C" >&6
58197 else
58201 ac_ext=cc
58202 ac_cpp='$CXXCPP $CPPFLAGS'
58203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58207 cat >conftest.$ac_ext <<_ACEOF
58208 /* confdefs.h. */
58209 _ACEOF
58210 cat confdefs.h >>conftest.$ac_ext
58211 cat >>conftest.$ac_ext <<_ACEOF
58212 /* end confdefs.h. */
58213 #include <math.h>
58214 #ifdef HAVE_IEEEFP_H
58215 #include <ieeefp.h>
58216 #endif
58219 main ()
58221 expf(0);
58223 return 0;
58225 _ACEOF
58226 rm -f conftest.$ac_objext
58227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58228 (eval $ac_compile) 2>conftest.er1
58229 ac_status=$?
58230 grep -v '^ *+' conftest.er1 >conftest.err
58231 rm -f conftest.er1
58232 cat conftest.err >&5
58233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58234 (exit $ac_status); } &&
58235 { ac_try='test -z "$ac_cxx_werror_flag"
58236 || test ! -s conftest.err'
58237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58238 (eval $ac_try) 2>&5
58239 ac_status=$?
58240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58241 (exit $ac_status); }; } &&
58242 { ac_try='test -s conftest.$ac_objext'
58243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58244 (eval $ac_try) 2>&5
58245 ac_status=$?
58246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58247 (exit $ac_status); }; }; then
58248 glibcxx_cv_func_expf_use=yes
58249 else
58250 echo "$as_me: failed program was:" >&5
58251 sed 's/^/| /' conftest.$ac_ext >&5
58253 glibcxx_cv_func_expf_use=no
58255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58256 ac_ext=c
58257 ac_cpp='$CPP $CPPFLAGS'
58258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58267 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58269 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58271 for ac_func in expf
58273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58274 echo "$as_me:$LINENO: checking for $ac_func" >&5
58275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58276 if eval "test \"\${$as_ac_var+set}\" = set"; then
58277 echo $ECHO_N "(cached) $ECHO_C" >&6
58278 else
58279 if test x$gcc_no_link = xyes; then
58280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58282 { (exit 1); exit 1; }; }
58284 cat >conftest.$ac_ext <<_ACEOF
58285 /* confdefs.h. */
58286 _ACEOF
58287 cat confdefs.h >>conftest.$ac_ext
58288 cat >>conftest.$ac_ext <<_ACEOF
58289 /* end confdefs.h. */
58290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58292 #define $ac_func innocuous_$ac_func
58294 /* System header to define __stub macros and hopefully few prototypes,
58295 which can conflict with char $ac_func (); below.
58296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58297 <limits.h> exists even on freestanding compilers. */
58299 #ifdef __STDC__
58300 # include <limits.h>
58301 #else
58302 # include <assert.h>
58303 #endif
58305 #undef $ac_func
58307 /* Override any gcc2 internal prototype to avoid an error. */
58308 #ifdef __cplusplus
58309 extern "C"
58311 #endif
58312 /* We use char because int might match the return type of a gcc2
58313 builtin and then its argument prototype would still apply. */
58314 char $ac_func ();
58315 /* The GNU C library defines this for functions which it implements
58316 to always fail with ENOSYS. Some functions are actually named
58317 something starting with __ and the normal name is an alias. */
58318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58319 choke me
58320 #else
58321 char (*f) () = $ac_func;
58322 #endif
58323 #ifdef __cplusplus
58325 #endif
58328 main ()
58330 return f != $ac_func;
58332 return 0;
58334 _ACEOF
58335 rm -f conftest.$ac_objext conftest$ac_exeext
58336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58337 (eval $ac_link) 2>conftest.er1
58338 ac_status=$?
58339 grep -v '^ *+' conftest.er1 >conftest.err
58340 rm -f conftest.er1
58341 cat conftest.err >&5
58342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58343 (exit $ac_status); } &&
58344 { ac_try='test -z "$ac_c_werror_flag"
58345 || test ! -s conftest.err'
58346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58347 (eval $ac_try) 2>&5
58348 ac_status=$?
58349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58350 (exit $ac_status); }; } &&
58351 { ac_try='test -s conftest$ac_exeext'
58352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58353 (eval $ac_try) 2>&5
58354 ac_status=$?
58355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58356 (exit $ac_status); }; }; then
58357 eval "$as_ac_var=yes"
58358 else
58359 echo "$as_me: failed program was:" >&5
58360 sed 's/^/| /' conftest.$ac_ext >&5
58362 eval "$as_ac_var=no"
58364 rm -f conftest.err conftest.$ac_objext \
58365 conftest$ac_exeext conftest.$ac_ext
58367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58369 if test `eval echo '${'$as_ac_var'}'` = yes; then
58370 cat >>confdefs.h <<_ACEOF
58371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58372 _ACEOF
58375 done
58377 else
58379 echo "$as_me:$LINENO: checking for _expf declaration" >&5
58380 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58381 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58382 if test "${glibcxx_cv_func__expf_use+set}" = set; then
58383 echo $ECHO_N "(cached) $ECHO_C" >&6
58384 else
58388 ac_ext=cc
58389 ac_cpp='$CXXCPP $CPPFLAGS'
58390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58394 cat >conftest.$ac_ext <<_ACEOF
58395 /* confdefs.h. */
58396 _ACEOF
58397 cat confdefs.h >>conftest.$ac_ext
58398 cat >>conftest.$ac_ext <<_ACEOF
58399 /* end confdefs.h. */
58400 #include <math.h>
58401 #ifdef HAVE_IEEEFP_H
58402 #include <ieeefp.h>
58403 #endif
58406 main ()
58408 _expf(0);
58410 return 0;
58412 _ACEOF
58413 rm -f conftest.$ac_objext
58414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58415 (eval $ac_compile) 2>conftest.er1
58416 ac_status=$?
58417 grep -v '^ *+' conftest.er1 >conftest.err
58418 rm -f conftest.er1
58419 cat conftest.err >&5
58420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58421 (exit $ac_status); } &&
58422 { ac_try='test -z "$ac_cxx_werror_flag"
58423 || test ! -s conftest.err'
58424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58425 (eval $ac_try) 2>&5
58426 ac_status=$?
58427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58428 (exit $ac_status); }; } &&
58429 { ac_try='test -s conftest.$ac_objext'
58430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58431 (eval $ac_try) 2>&5
58432 ac_status=$?
58433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58434 (exit $ac_status); }; }; then
58435 glibcxx_cv_func__expf_use=yes
58436 else
58437 echo "$as_me: failed program was:" >&5
58438 sed 's/^/| /' conftest.$ac_ext >&5
58440 glibcxx_cv_func__expf_use=no
58442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58443 ac_ext=c
58444 ac_cpp='$CPP $CPPFLAGS'
58445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58453 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
58454 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
58456 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58458 for ac_func in _expf
58460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58461 echo "$as_me:$LINENO: checking for $ac_func" >&5
58462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58463 if eval "test \"\${$as_ac_var+set}\" = set"; then
58464 echo $ECHO_N "(cached) $ECHO_C" >&6
58465 else
58466 if test x$gcc_no_link = xyes; then
58467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58469 { (exit 1); exit 1; }; }
58471 cat >conftest.$ac_ext <<_ACEOF
58472 /* confdefs.h. */
58473 _ACEOF
58474 cat confdefs.h >>conftest.$ac_ext
58475 cat >>conftest.$ac_ext <<_ACEOF
58476 /* end confdefs.h. */
58477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58479 #define $ac_func innocuous_$ac_func
58481 /* System header to define __stub macros and hopefully few prototypes,
58482 which can conflict with char $ac_func (); below.
58483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58484 <limits.h> exists even on freestanding compilers. */
58486 #ifdef __STDC__
58487 # include <limits.h>
58488 #else
58489 # include <assert.h>
58490 #endif
58492 #undef $ac_func
58494 /* Override any gcc2 internal prototype to avoid an error. */
58495 #ifdef __cplusplus
58496 extern "C"
58498 #endif
58499 /* We use char because int might match the return type of a gcc2
58500 builtin and then its argument prototype would still apply. */
58501 char $ac_func ();
58502 /* The GNU C library defines this for functions which it implements
58503 to always fail with ENOSYS. Some functions are actually named
58504 something starting with __ and the normal name is an alias. */
58505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58506 choke me
58507 #else
58508 char (*f) () = $ac_func;
58509 #endif
58510 #ifdef __cplusplus
58512 #endif
58515 main ()
58517 return f != $ac_func;
58519 return 0;
58521 _ACEOF
58522 rm -f conftest.$ac_objext conftest$ac_exeext
58523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58524 (eval $ac_link) 2>conftest.er1
58525 ac_status=$?
58526 grep -v '^ *+' conftest.er1 >conftest.err
58527 rm -f conftest.er1
58528 cat conftest.err >&5
58529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58530 (exit $ac_status); } &&
58531 { ac_try='test -z "$ac_c_werror_flag"
58532 || test ! -s conftest.err'
58533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58534 (eval $ac_try) 2>&5
58535 ac_status=$?
58536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58537 (exit $ac_status); }; } &&
58538 { ac_try='test -s conftest$ac_exeext'
58539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58540 (eval $ac_try) 2>&5
58541 ac_status=$?
58542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58543 (exit $ac_status); }; }; then
58544 eval "$as_ac_var=yes"
58545 else
58546 echo "$as_me: failed program was:" >&5
58547 sed 's/^/| /' conftest.$ac_ext >&5
58549 eval "$as_ac_var=no"
58551 rm -f conftest.err conftest.$ac_objext \
58552 conftest$ac_exeext conftest.$ac_ext
58554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58556 if test `eval echo '${'$as_ac_var'}'` = yes; then
58557 cat >>confdefs.h <<_ACEOF
58558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58559 _ACEOF
58562 done
58572 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58573 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58574 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58575 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58576 echo $ECHO_N "(cached) $ECHO_C" >&6
58577 else
58581 ac_ext=cc
58582 ac_cpp='$CXXCPP $CPPFLAGS'
58583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58587 cat >conftest.$ac_ext <<_ACEOF
58588 /* confdefs.h. */
58589 _ACEOF
58590 cat confdefs.h >>conftest.$ac_ext
58591 cat >>conftest.$ac_ext <<_ACEOF
58592 /* end confdefs.h. */
58593 #include <math.h>
58594 #ifdef HAVE_IEEEFP_H
58595 #include <ieeefp.h>
58596 #endif
58599 main ()
58601 isnanf(0);
58603 return 0;
58605 _ACEOF
58606 rm -f conftest.$ac_objext
58607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58608 (eval $ac_compile) 2>conftest.er1
58609 ac_status=$?
58610 grep -v '^ *+' conftest.er1 >conftest.err
58611 rm -f conftest.er1
58612 cat conftest.err >&5
58613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58614 (exit $ac_status); } &&
58615 { ac_try='test -z "$ac_cxx_werror_flag"
58616 || test ! -s conftest.err'
58617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58618 (eval $ac_try) 2>&5
58619 ac_status=$?
58620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58621 (exit $ac_status); }; } &&
58622 { ac_try='test -s conftest.$ac_objext'
58623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58624 (eval $ac_try) 2>&5
58625 ac_status=$?
58626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58627 (exit $ac_status); }; }; then
58628 glibcxx_cv_func_isnanf_use=yes
58629 else
58630 echo "$as_me: failed program was:" >&5
58631 sed 's/^/| /' conftest.$ac_ext >&5
58633 glibcxx_cv_func_isnanf_use=no
58635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58636 ac_ext=c
58637 ac_cpp='$CPP $CPPFLAGS'
58638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58647 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58649 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58651 for ac_func in isnanf
58653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58654 echo "$as_me:$LINENO: checking for $ac_func" >&5
58655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58656 if eval "test \"\${$as_ac_var+set}\" = set"; then
58657 echo $ECHO_N "(cached) $ECHO_C" >&6
58658 else
58659 if test x$gcc_no_link = xyes; then
58660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58662 { (exit 1); exit 1; }; }
58664 cat >conftest.$ac_ext <<_ACEOF
58665 /* confdefs.h. */
58666 _ACEOF
58667 cat confdefs.h >>conftest.$ac_ext
58668 cat >>conftest.$ac_ext <<_ACEOF
58669 /* end confdefs.h. */
58670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58672 #define $ac_func innocuous_$ac_func
58674 /* System header to define __stub macros and hopefully few prototypes,
58675 which can conflict with char $ac_func (); below.
58676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58677 <limits.h> exists even on freestanding compilers. */
58679 #ifdef __STDC__
58680 # include <limits.h>
58681 #else
58682 # include <assert.h>
58683 #endif
58685 #undef $ac_func
58687 /* Override any gcc2 internal prototype to avoid an error. */
58688 #ifdef __cplusplus
58689 extern "C"
58691 #endif
58692 /* We use char because int might match the return type of a gcc2
58693 builtin and then its argument prototype would still apply. */
58694 char $ac_func ();
58695 /* The GNU C library defines this for functions which it implements
58696 to always fail with ENOSYS. Some functions are actually named
58697 something starting with __ and the normal name is an alias. */
58698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58699 choke me
58700 #else
58701 char (*f) () = $ac_func;
58702 #endif
58703 #ifdef __cplusplus
58705 #endif
58708 main ()
58710 return f != $ac_func;
58712 return 0;
58714 _ACEOF
58715 rm -f conftest.$ac_objext conftest$ac_exeext
58716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58717 (eval $ac_link) 2>conftest.er1
58718 ac_status=$?
58719 grep -v '^ *+' conftest.er1 >conftest.err
58720 rm -f conftest.er1
58721 cat conftest.err >&5
58722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58723 (exit $ac_status); } &&
58724 { ac_try='test -z "$ac_c_werror_flag"
58725 || test ! -s conftest.err'
58726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58727 (eval $ac_try) 2>&5
58728 ac_status=$?
58729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58730 (exit $ac_status); }; } &&
58731 { ac_try='test -s conftest$ac_exeext'
58732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58733 (eval $ac_try) 2>&5
58734 ac_status=$?
58735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58736 (exit $ac_status); }; }; then
58737 eval "$as_ac_var=yes"
58738 else
58739 echo "$as_me: failed program was:" >&5
58740 sed 's/^/| /' conftest.$ac_ext >&5
58742 eval "$as_ac_var=no"
58744 rm -f conftest.err conftest.$ac_objext \
58745 conftest$ac_exeext conftest.$ac_ext
58747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58749 if test `eval echo '${'$as_ac_var'}'` = yes; then
58750 cat >>confdefs.h <<_ACEOF
58751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58752 _ACEOF
58755 done
58757 else
58759 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
58760 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
58761 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58762 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
58763 echo $ECHO_N "(cached) $ECHO_C" >&6
58764 else
58768 ac_ext=cc
58769 ac_cpp='$CXXCPP $CPPFLAGS'
58770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58774 cat >conftest.$ac_ext <<_ACEOF
58775 /* confdefs.h. */
58776 _ACEOF
58777 cat confdefs.h >>conftest.$ac_ext
58778 cat >>conftest.$ac_ext <<_ACEOF
58779 /* end confdefs.h. */
58780 #include <math.h>
58781 #ifdef HAVE_IEEEFP_H
58782 #include <ieeefp.h>
58783 #endif
58786 main ()
58788 _isnanf(0);
58790 return 0;
58792 _ACEOF
58793 rm -f conftest.$ac_objext
58794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58795 (eval $ac_compile) 2>conftest.er1
58796 ac_status=$?
58797 grep -v '^ *+' conftest.er1 >conftest.err
58798 rm -f conftest.er1
58799 cat conftest.err >&5
58800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58801 (exit $ac_status); } &&
58802 { ac_try='test -z "$ac_cxx_werror_flag"
58803 || test ! -s conftest.err'
58804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58805 (eval $ac_try) 2>&5
58806 ac_status=$?
58807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58808 (exit $ac_status); }; } &&
58809 { ac_try='test -s conftest.$ac_objext'
58810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58811 (eval $ac_try) 2>&5
58812 ac_status=$?
58813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58814 (exit $ac_status); }; }; then
58815 glibcxx_cv_func__isnanf_use=yes
58816 else
58817 echo "$as_me: failed program was:" >&5
58818 sed 's/^/| /' conftest.$ac_ext >&5
58820 glibcxx_cv_func__isnanf_use=no
58822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58823 ac_ext=c
58824 ac_cpp='$CPP $CPPFLAGS'
58825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
58834 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
58836 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58838 for ac_func in _isnanf
58840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58841 echo "$as_me:$LINENO: checking for $ac_func" >&5
58842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58843 if eval "test \"\${$as_ac_var+set}\" = set"; then
58844 echo $ECHO_N "(cached) $ECHO_C" >&6
58845 else
58846 if test x$gcc_no_link = xyes; then
58847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58849 { (exit 1); exit 1; }; }
58851 cat >conftest.$ac_ext <<_ACEOF
58852 /* confdefs.h. */
58853 _ACEOF
58854 cat confdefs.h >>conftest.$ac_ext
58855 cat >>conftest.$ac_ext <<_ACEOF
58856 /* end confdefs.h. */
58857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58859 #define $ac_func innocuous_$ac_func
58861 /* System header to define __stub macros and hopefully few prototypes,
58862 which can conflict with char $ac_func (); below.
58863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58864 <limits.h> exists even on freestanding compilers. */
58866 #ifdef __STDC__
58867 # include <limits.h>
58868 #else
58869 # include <assert.h>
58870 #endif
58872 #undef $ac_func
58874 /* Override any gcc2 internal prototype to avoid an error. */
58875 #ifdef __cplusplus
58876 extern "C"
58878 #endif
58879 /* We use char because int might match the return type of a gcc2
58880 builtin and then its argument prototype would still apply. */
58881 char $ac_func ();
58882 /* The GNU C library defines this for functions which it implements
58883 to always fail with ENOSYS. Some functions are actually named
58884 something starting with __ and the normal name is an alias. */
58885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58886 choke me
58887 #else
58888 char (*f) () = $ac_func;
58889 #endif
58890 #ifdef __cplusplus
58892 #endif
58895 main ()
58897 return f != $ac_func;
58899 return 0;
58901 _ACEOF
58902 rm -f conftest.$ac_objext conftest$ac_exeext
58903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58904 (eval $ac_link) 2>conftest.er1
58905 ac_status=$?
58906 grep -v '^ *+' conftest.er1 >conftest.err
58907 rm -f conftest.er1
58908 cat conftest.err >&5
58909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58910 (exit $ac_status); } &&
58911 { ac_try='test -z "$ac_c_werror_flag"
58912 || test ! -s conftest.err'
58913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58914 (eval $ac_try) 2>&5
58915 ac_status=$?
58916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58917 (exit $ac_status); }; } &&
58918 { ac_try='test -s conftest$ac_exeext'
58919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58920 (eval $ac_try) 2>&5
58921 ac_status=$?
58922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58923 (exit $ac_status); }; }; then
58924 eval "$as_ac_var=yes"
58925 else
58926 echo "$as_me: failed program was:" >&5
58927 sed 's/^/| /' conftest.$ac_ext >&5
58929 eval "$as_ac_var=no"
58931 rm -f conftest.err conftest.$ac_objext \
58932 conftest$ac_exeext conftest.$ac_ext
58934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58936 if test `eval echo '${'$as_ac_var'}'` = yes; then
58937 cat >>confdefs.h <<_ACEOF
58938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58939 _ACEOF
58942 done
58952 echo "$as_me:$LINENO: checking for isinff declaration" >&5
58953 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
58954 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58955 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
58956 echo $ECHO_N "(cached) $ECHO_C" >&6
58957 else
58961 ac_ext=cc
58962 ac_cpp='$CXXCPP $CPPFLAGS'
58963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58967 cat >conftest.$ac_ext <<_ACEOF
58968 /* confdefs.h. */
58969 _ACEOF
58970 cat confdefs.h >>conftest.$ac_ext
58971 cat >>conftest.$ac_ext <<_ACEOF
58972 /* end confdefs.h. */
58973 #include <math.h>
58974 #ifdef HAVE_IEEEFP_H
58975 #include <ieeefp.h>
58976 #endif
58979 main ()
58981 isinff(0);
58983 return 0;
58985 _ACEOF
58986 rm -f conftest.$ac_objext
58987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58988 (eval $ac_compile) 2>conftest.er1
58989 ac_status=$?
58990 grep -v '^ *+' conftest.er1 >conftest.err
58991 rm -f conftest.er1
58992 cat conftest.err >&5
58993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58994 (exit $ac_status); } &&
58995 { ac_try='test -z "$ac_cxx_werror_flag"
58996 || test ! -s conftest.err'
58997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58998 (eval $ac_try) 2>&5
58999 ac_status=$?
59000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59001 (exit $ac_status); }; } &&
59002 { ac_try='test -s conftest.$ac_objext'
59003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59004 (eval $ac_try) 2>&5
59005 ac_status=$?
59006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59007 (exit $ac_status); }; }; then
59008 glibcxx_cv_func_isinff_use=yes
59009 else
59010 echo "$as_me: failed program was:" >&5
59011 sed 's/^/| /' conftest.$ac_ext >&5
59013 glibcxx_cv_func_isinff_use=no
59015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59016 ac_ext=c
59017 ac_cpp='$CPP $CPPFLAGS'
59018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59026 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
59027 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
59029 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59031 for ac_func in isinff
59033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59034 echo "$as_me:$LINENO: checking for $ac_func" >&5
59035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59036 if eval "test \"\${$as_ac_var+set}\" = set"; then
59037 echo $ECHO_N "(cached) $ECHO_C" >&6
59038 else
59039 if test x$gcc_no_link = xyes; then
59040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59042 { (exit 1); exit 1; }; }
59044 cat >conftest.$ac_ext <<_ACEOF
59045 /* confdefs.h. */
59046 _ACEOF
59047 cat confdefs.h >>conftest.$ac_ext
59048 cat >>conftest.$ac_ext <<_ACEOF
59049 /* end confdefs.h. */
59050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59052 #define $ac_func innocuous_$ac_func
59054 /* System header to define __stub macros and hopefully few prototypes,
59055 which can conflict with char $ac_func (); below.
59056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59057 <limits.h> exists even on freestanding compilers. */
59059 #ifdef __STDC__
59060 # include <limits.h>
59061 #else
59062 # include <assert.h>
59063 #endif
59065 #undef $ac_func
59067 /* Override any gcc2 internal prototype to avoid an error. */
59068 #ifdef __cplusplus
59069 extern "C"
59071 #endif
59072 /* We use char because int might match the return type of a gcc2
59073 builtin and then its argument prototype would still apply. */
59074 char $ac_func ();
59075 /* The GNU C library defines this for functions which it implements
59076 to always fail with ENOSYS. Some functions are actually named
59077 something starting with __ and the normal name is an alias. */
59078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59079 choke me
59080 #else
59081 char (*f) () = $ac_func;
59082 #endif
59083 #ifdef __cplusplus
59085 #endif
59088 main ()
59090 return f != $ac_func;
59092 return 0;
59094 _ACEOF
59095 rm -f conftest.$ac_objext conftest$ac_exeext
59096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59097 (eval $ac_link) 2>conftest.er1
59098 ac_status=$?
59099 grep -v '^ *+' conftest.er1 >conftest.err
59100 rm -f conftest.er1
59101 cat conftest.err >&5
59102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59103 (exit $ac_status); } &&
59104 { ac_try='test -z "$ac_c_werror_flag"
59105 || test ! -s conftest.err'
59106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59107 (eval $ac_try) 2>&5
59108 ac_status=$?
59109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59110 (exit $ac_status); }; } &&
59111 { ac_try='test -s conftest$ac_exeext'
59112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59113 (eval $ac_try) 2>&5
59114 ac_status=$?
59115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59116 (exit $ac_status); }; }; then
59117 eval "$as_ac_var=yes"
59118 else
59119 echo "$as_me: failed program was:" >&5
59120 sed 's/^/| /' conftest.$ac_ext >&5
59122 eval "$as_ac_var=no"
59124 rm -f conftest.err conftest.$ac_objext \
59125 conftest$ac_exeext conftest.$ac_ext
59127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59129 if test `eval echo '${'$as_ac_var'}'` = yes; then
59130 cat >>confdefs.h <<_ACEOF
59131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59132 _ACEOF
59135 done
59137 else
59139 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
59140 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
59141 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59142 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
59143 echo $ECHO_N "(cached) $ECHO_C" >&6
59144 else
59148 ac_ext=cc
59149 ac_cpp='$CXXCPP $CPPFLAGS'
59150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59154 cat >conftest.$ac_ext <<_ACEOF
59155 /* confdefs.h. */
59156 _ACEOF
59157 cat confdefs.h >>conftest.$ac_ext
59158 cat >>conftest.$ac_ext <<_ACEOF
59159 /* end confdefs.h. */
59160 #include <math.h>
59161 #ifdef HAVE_IEEEFP_H
59162 #include <ieeefp.h>
59163 #endif
59166 main ()
59168 _isinff(0);
59170 return 0;
59172 _ACEOF
59173 rm -f conftest.$ac_objext
59174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59175 (eval $ac_compile) 2>conftest.er1
59176 ac_status=$?
59177 grep -v '^ *+' conftest.er1 >conftest.err
59178 rm -f conftest.er1
59179 cat conftest.err >&5
59180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59181 (exit $ac_status); } &&
59182 { ac_try='test -z "$ac_cxx_werror_flag"
59183 || test ! -s conftest.err'
59184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59185 (eval $ac_try) 2>&5
59186 ac_status=$?
59187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59188 (exit $ac_status); }; } &&
59189 { ac_try='test -s conftest.$ac_objext'
59190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59191 (eval $ac_try) 2>&5
59192 ac_status=$?
59193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59194 (exit $ac_status); }; }; then
59195 glibcxx_cv_func__isinff_use=yes
59196 else
59197 echo "$as_me: failed program was:" >&5
59198 sed 's/^/| /' conftest.$ac_ext >&5
59200 glibcxx_cv_func__isinff_use=no
59202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59203 ac_ext=c
59204 ac_cpp='$CPP $CPPFLAGS'
59205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59213 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
59214 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
59216 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59218 for ac_func in _isinff
59220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59221 echo "$as_me:$LINENO: checking for $ac_func" >&5
59222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59223 if eval "test \"\${$as_ac_var+set}\" = set"; then
59224 echo $ECHO_N "(cached) $ECHO_C" >&6
59225 else
59226 if test x$gcc_no_link = xyes; then
59227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59229 { (exit 1); exit 1; }; }
59231 cat >conftest.$ac_ext <<_ACEOF
59232 /* confdefs.h. */
59233 _ACEOF
59234 cat confdefs.h >>conftest.$ac_ext
59235 cat >>conftest.$ac_ext <<_ACEOF
59236 /* end confdefs.h. */
59237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59239 #define $ac_func innocuous_$ac_func
59241 /* System header to define __stub macros and hopefully few prototypes,
59242 which can conflict with char $ac_func (); below.
59243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59244 <limits.h> exists even on freestanding compilers. */
59246 #ifdef __STDC__
59247 # include <limits.h>
59248 #else
59249 # include <assert.h>
59250 #endif
59252 #undef $ac_func
59254 /* Override any gcc2 internal prototype to avoid an error. */
59255 #ifdef __cplusplus
59256 extern "C"
59258 #endif
59259 /* We use char because int might match the return type of a gcc2
59260 builtin and then its argument prototype would still apply. */
59261 char $ac_func ();
59262 /* The GNU C library defines this for functions which it implements
59263 to always fail with ENOSYS. Some functions are actually named
59264 something starting with __ and the normal name is an alias. */
59265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59266 choke me
59267 #else
59268 char (*f) () = $ac_func;
59269 #endif
59270 #ifdef __cplusplus
59272 #endif
59275 main ()
59277 return f != $ac_func;
59279 return 0;
59281 _ACEOF
59282 rm -f conftest.$ac_objext conftest$ac_exeext
59283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59284 (eval $ac_link) 2>conftest.er1
59285 ac_status=$?
59286 grep -v '^ *+' conftest.er1 >conftest.err
59287 rm -f conftest.er1
59288 cat conftest.err >&5
59289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59290 (exit $ac_status); } &&
59291 { ac_try='test -z "$ac_c_werror_flag"
59292 || test ! -s conftest.err'
59293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59294 (eval $ac_try) 2>&5
59295 ac_status=$?
59296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59297 (exit $ac_status); }; } &&
59298 { ac_try='test -s conftest$ac_exeext'
59299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59300 (eval $ac_try) 2>&5
59301 ac_status=$?
59302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59303 (exit $ac_status); }; }; then
59304 eval "$as_ac_var=yes"
59305 else
59306 echo "$as_me: failed program was:" >&5
59307 sed 's/^/| /' conftest.$ac_ext >&5
59309 eval "$as_ac_var=no"
59311 rm -f conftest.err conftest.$ac_objext \
59312 conftest$ac_exeext conftest.$ac_ext
59314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59316 if test `eval echo '${'$as_ac_var'}'` = yes; then
59317 cat >>confdefs.h <<_ACEOF
59318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59319 _ACEOF
59322 done
59332 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59333 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59334 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59335 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59336 echo $ECHO_N "(cached) $ECHO_C" >&6
59337 else
59341 ac_ext=cc
59342 ac_cpp='$CXXCPP $CPPFLAGS'
59343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59347 cat >conftest.$ac_ext <<_ACEOF
59348 /* confdefs.h. */
59349 _ACEOF
59350 cat confdefs.h >>conftest.$ac_ext
59351 cat >>conftest.$ac_ext <<_ACEOF
59352 /* end confdefs.h. */
59353 #include <math.h>
59355 main ()
59357 atan2f(0, 0);
59359 return 0;
59361 _ACEOF
59362 rm -f conftest.$ac_objext
59363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59364 (eval $ac_compile) 2>conftest.er1
59365 ac_status=$?
59366 grep -v '^ *+' conftest.er1 >conftest.err
59367 rm -f conftest.er1
59368 cat conftest.err >&5
59369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59370 (exit $ac_status); } &&
59371 { ac_try='test -z "$ac_cxx_werror_flag"
59372 || test ! -s conftest.err'
59373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59374 (eval $ac_try) 2>&5
59375 ac_status=$?
59376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59377 (exit $ac_status); }; } &&
59378 { ac_try='test -s conftest.$ac_objext'
59379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59380 (eval $ac_try) 2>&5
59381 ac_status=$?
59382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59383 (exit $ac_status); }; }; then
59384 glibcxx_cv_func_atan2f_use=yes
59385 else
59386 echo "$as_me: failed program was:" >&5
59387 sed 's/^/| /' conftest.$ac_ext >&5
59389 glibcxx_cv_func_atan2f_use=no
59391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59392 ac_ext=c
59393 ac_cpp='$CPP $CPPFLAGS'
59394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59403 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59405 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59407 for ac_func in atan2f
59409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59410 echo "$as_me:$LINENO: checking for $ac_func" >&5
59411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59412 if eval "test \"\${$as_ac_var+set}\" = set"; then
59413 echo $ECHO_N "(cached) $ECHO_C" >&6
59414 else
59415 if test x$gcc_no_link = xyes; then
59416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59418 { (exit 1); exit 1; }; }
59420 cat >conftest.$ac_ext <<_ACEOF
59421 /* confdefs.h. */
59422 _ACEOF
59423 cat confdefs.h >>conftest.$ac_ext
59424 cat >>conftest.$ac_ext <<_ACEOF
59425 /* end confdefs.h. */
59426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59428 #define $ac_func innocuous_$ac_func
59430 /* System header to define __stub macros and hopefully few prototypes,
59431 which can conflict with char $ac_func (); below.
59432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59433 <limits.h> exists even on freestanding compilers. */
59435 #ifdef __STDC__
59436 # include <limits.h>
59437 #else
59438 # include <assert.h>
59439 #endif
59441 #undef $ac_func
59443 /* Override any gcc2 internal prototype to avoid an error. */
59444 #ifdef __cplusplus
59445 extern "C"
59447 #endif
59448 /* We use char because int might match the return type of a gcc2
59449 builtin and then its argument prototype would still apply. */
59450 char $ac_func ();
59451 /* The GNU C library defines this for functions which it implements
59452 to always fail with ENOSYS. Some functions are actually named
59453 something starting with __ and the normal name is an alias. */
59454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59455 choke me
59456 #else
59457 char (*f) () = $ac_func;
59458 #endif
59459 #ifdef __cplusplus
59461 #endif
59464 main ()
59466 return f != $ac_func;
59468 return 0;
59470 _ACEOF
59471 rm -f conftest.$ac_objext conftest$ac_exeext
59472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59473 (eval $ac_link) 2>conftest.er1
59474 ac_status=$?
59475 grep -v '^ *+' conftest.er1 >conftest.err
59476 rm -f conftest.er1
59477 cat conftest.err >&5
59478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59479 (exit $ac_status); } &&
59480 { ac_try='test -z "$ac_c_werror_flag"
59481 || test ! -s conftest.err'
59482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59483 (eval $ac_try) 2>&5
59484 ac_status=$?
59485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59486 (exit $ac_status); }; } &&
59487 { ac_try='test -s conftest$ac_exeext'
59488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59489 (eval $ac_try) 2>&5
59490 ac_status=$?
59491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59492 (exit $ac_status); }; }; then
59493 eval "$as_ac_var=yes"
59494 else
59495 echo "$as_me: failed program was:" >&5
59496 sed 's/^/| /' conftest.$ac_ext >&5
59498 eval "$as_ac_var=no"
59500 rm -f conftest.err conftest.$ac_objext \
59501 conftest$ac_exeext conftest.$ac_ext
59503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59505 if test `eval echo '${'$as_ac_var'}'` = yes; then
59506 cat >>confdefs.h <<_ACEOF
59507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59508 _ACEOF
59511 done
59513 else
59515 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
59516 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
59517 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59518 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
59519 echo $ECHO_N "(cached) $ECHO_C" >&6
59520 else
59524 ac_ext=cc
59525 ac_cpp='$CXXCPP $CPPFLAGS'
59526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59530 cat >conftest.$ac_ext <<_ACEOF
59531 /* confdefs.h. */
59532 _ACEOF
59533 cat confdefs.h >>conftest.$ac_ext
59534 cat >>conftest.$ac_ext <<_ACEOF
59535 /* end confdefs.h. */
59536 #include <math.h>
59538 main ()
59540 _atan2f(0, 0);
59542 return 0;
59544 _ACEOF
59545 rm -f conftest.$ac_objext
59546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59547 (eval $ac_compile) 2>conftest.er1
59548 ac_status=$?
59549 grep -v '^ *+' conftest.er1 >conftest.err
59550 rm -f conftest.er1
59551 cat conftest.err >&5
59552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59553 (exit $ac_status); } &&
59554 { ac_try='test -z "$ac_cxx_werror_flag"
59555 || test ! -s conftest.err'
59556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59557 (eval $ac_try) 2>&5
59558 ac_status=$?
59559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59560 (exit $ac_status); }; } &&
59561 { ac_try='test -s conftest.$ac_objext'
59562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59563 (eval $ac_try) 2>&5
59564 ac_status=$?
59565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59566 (exit $ac_status); }; }; then
59567 glibcxx_cv_func__atan2f_use=yes
59568 else
59569 echo "$as_me: failed program was:" >&5
59570 sed 's/^/| /' conftest.$ac_ext >&5
59572 glibcxx_cv_func__atan2f_use=no
59574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59575 ac_ext=c
59576 ac_cpp='$CPP $CPPFLAGS'
59577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59585 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59586 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59588 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59590 for ac_func in _atan2f
59592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59593 echo "$as_me:$LINENO: checking for $ac_func" >&5
59594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59595 if eval "test \"\${$as_ac_var+set}\" = set"; then
59596 echo $ECHO_N "(cached) $ECHO_C" >&6
59597 else
59598 if test x$gcc_no_link = xyes; then
59599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59601 { (exit 1); exit 1; }; }
59603 cat >conftest.$ac_ext <<_ACEOF
59604 /* confdefs.h. */
59605 _ACEOF
59606 cat confdefs.h >>conftest.$ac_ext
59607 cat >>conftest.$ac_ext <<_ACEOF
59608 /* end confdefs.h. */
59609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59611 #define $ac_func innocuous_$ac_func
59613 /* System header to define __stub macros and hopefully few prototypes,
59614 which can conflict with char $ac_func (); below.
59615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59616 <limits.h> exists even on freestanding compilers. */
59618 #ifdef __STDC__
59619 # include <limits.h>
59620 #else
59621 # include <assert.h>
59622 #endif
59624 #undef $ac_func
59626 /* Override any gcc2 internal prototype to avoid an error. */
59627 #ifdef __cplusplus
59628 extern "C"
59630 #endif
59631 /* We use char because int might match the return type of a gcc2
59632 builtin and then its argument prototype would still apply. */
59633 char $ac_func ();
59634 /* The GNU C library defines this for functions which it implements
59635 to always fail with ENOSYS. Some functions are actually named
59636 something starting with __ and the normal name is an alias. */
59637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59638 choke me
59639 #else
59640 char (*f) () = $ac_func;
59641 #endif
59642 #ifdef __cplusplus
59644 #endif
59647 main ()
59649 return f != $ac_func;
59651 return 0;
59653 _ACEOF
59654 rm -f conftest.$ac_objext conftest$ac_exeext
59655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59656 (eval $ac_link) 2>conftest.er1
59657 ac_status=$?
59658 grep -v '^ *+' conftest.er1 >conftest.err
59659 rm -f conftest.er1
59660 cat conftest.err >&5
59661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59662 (exit $ac_status); } &&
59663 { ac_try='test -z "$ac_c_werror_flag"
59664 || test ! -s conftest.err'
59665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59666 (eval $ac_try) 2>&5
59667 ac_status=$?
59668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59669 (exit $ac_status); }; } &&
59670 { ac_try='test -s conftest$ac_exeext'
59671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59672 (eval $ac_try) 2>&5
59673 ac_status=$?
59674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59675 (exit $ac_status); }; }; then
59676 eval "$as_ac_var=yes"
59677 else
59678 echo "$as_me: failed program was:" >&5
59679 sed 's/^/| /' conftest.$ac_ext >&5
59681 eval "$as_ac_var=no"
59683 rm -f conftest.err conftest.$ac_objext \
59684 conftest$ac_exeext conftest.$ac_ext
59686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59688 if test `eval echo '${'$as_ac_var'}'` = yes; then
59689 cat >>confdefs.h <<_ACEOF
59690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59691 _ACEOF
59694 done
59704 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59705 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59706 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59707 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59708 echo $ECHO_N "(cached) $ECHO_C" >&6
59709 else
59713 ac_ext=cc
59714 ac_cpp='$CXXCPP $CPPFLAGS'
59715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59719 cat >conftest.$ac_ext <<_ACEOF
59720 /* confdefs.h. */
59721 _ACEOF
59722 cat confdefs.h >>conftest.$ac_ext
59723 cat >>conftest.$ac_ext <<_ACEOF
59724 /* end confdefs.h. */
59725 #include <math.h>
59726 #ifdef HAVE_IEEEFP_H
59727 #include <ieeefp.h>
59728 #endif
59731 main ()
59733 fabsf(0);
59735 return 0;
59737 _ACEOF
59738 rm -f conftest.$ac_objext
59739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59740 (eval $ac_compile) 2>conftest.er1
59741 ac_status=$?
59742 grep -v '^ *+' conftest.er1 >conftest.err
59743 rm -f conftest.er1
59744 cat conftest.err >&5
59745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59746 (exit $ac_status); } &&
59747 { ac_try='test -z "$ac_cxx_werror_flag"
59748 || test ! -s conftest.err'
59749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59750 (eval $ac_try) 2>&5
59751 ac_status=$?
59752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59753 (exit $ac_status); }; } &&
59754 { ac_try='test -s conftest.$ac_objext'
59755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59756 (eval $ac_try) 2>&5
59757 ac_status=$?
59758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59759 (exit $ac_status); }; }; then
59760 glibcxx_cv_func_fabsf_use=yes
59761 else
59762 echo "$as_me: failed program was:" >&5
59763 sed 's/^/| /' conftest.$ac_ext >&5
59765 glibcxx_cv_func_fabsf_use=no
59767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59768 ac_ext=c
59769 ac_cpp='$CPP $CPPFLAGS'
59770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
59779 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
59781 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59783 for ac_func in fabsf
59785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59786 echo "$as_me:$LINENO: checking for $ac_func" >&5
59787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59788 if eval "test \"\${$as_ac_var+set}\" = set"; then
59789 echo $ECHO_N "(cached) $ECHO_C" >&6
59790 else
59791 if test x$gcc_no_link = xyes; then
59792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59794 { (exit 1); exit 1; }; }
59796 cat >conftest.$ac_ext <<_ACEOF
59797 /* confdefs.h. */
59798 _ACEOF
59799 cat confdefs.h >>conftest.$ac_ext
59800 cat >>conftest.$ac_ext <<_ACEOF
59801 /* end confdefs.h. */
59802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59804 #define $ac_func innocuous_$ac_func
59806 /* System header to define __stub macros and hopefully few prototypes,
59807 which can conflict with char $ac_func (); below.
59808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59809 <limits.h> exists even on freestanding compilers. */
59811 #ifdef __STDC__
59812 # include <limits.h>
59813 #else
59814 # include <assert.h>
59815 #endif
59817 #undef $ac_func
59819 /* Override any gcc2 internal prototype to avoid an error. */
59820 #ifdef __cplusplus
59821 extern "C"
59823 #endif
59824 /* We use char because int might match the return type of a gcc2
59825 builtin and then its argument prototype would still apply. */
59826 char $ac_func ();
59827 /* The GNU C library defines this for functions which it implements
59828 to always fail with ENOSYS. Some functions are actually named
59829 something starting with __ and the normal name is an alias. */
59830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59831 choke me
59832 #else
59833 char (*f) () = $ac_func;
59834 #endif
59835 #ifdef __cplusplus
59837 #endif
59840 main ()
59842 return f != $ac_func;
59844 return 0;
59846 _ACEOF
59847 rm -f conftest.$ac_objext conftest$ac_exeext
59848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59849 (eval $ac_link) 2>conftest.er1
59850 ac_status=$?
59851 grep -v '^ *+' conftest.er1 >conftest.err
59852 rm -f conftest.er1
59853 cat conftest.err >&5
59854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59855 (exit $ac_status); } &&
59856 { ac_try='test -z "$ac_c_werror_flag"
59857 || test ! -s conftest.err'
59858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59859 (eval $ac_try) 2>&5
59860 ac_status=$?
59861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59862 (exit $ac_status); }; } &&
59863 { ac_try='test -s conftest$ac_exeext'
59864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59865 (eval $ac_try) 2>&5
59866 ac_status=$?
59867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59868 (exit $ac_status); }; }; then
59869 eval "$as_ac_var=yes"
59870 else
59871 echo "$as_me: failed program was:" >&5
59872 sed 's/^/| /' conftest.$ac_ext >&5
59874 eval "$as_ac_var=no"
59876 rm -f conftest.err conftest.$ac_objext \
59877 conftest$ac_exeext conftest.$ac_ext
59879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59881 if test `eval echo '${'$as_ac_var'}'` = yes; then
59882 cat >>confdefs.h <<_ACEOF
59883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59884 _ACEOF
59887 done
59889 else
59891 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
59892 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
59893 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59894 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
59895 echo $ECHO_N "(cached) $ECHO_C" >&6
59896 else
59900 ac_ext=cc
59901 ac_cpp='$CXXCPP $CPPFLAGS'
59902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59906 cat >conftest.$ac_ext <<_ACEOF
59907 /* confdefs.h. */
59908 _ACEOF
59909 cat confdefs.h >>conftest.$ac_ext
59910 cat >>conftest.$ac_ext <<_ACEOF
59911 /* end confdefs.h. */
59912 #include <math.h>
59913 #ifdef HAVE_IEEEFP_H
59914 #include <ieeefp.h>
59915 #endif
59918 main ()
59920 _fabsf(0);
59922 return 0;
59924 _ACEOF
59925 rm -f conftest.$ac_objext
59926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59927 (eval $ac_compile) 2>conftest.er1
59928 ac_status=$?
59929 grep -v '^ *+' conftest.er1 >conftest.err
59930 rm -f conftest.er1
59931 cat conftest.err >&5
59932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59933 (exit $ac_status); } &&
59934 { ac_try='test -z "$ac_cxx_werror_flag"
59935 || test ! -s conftest.err'
59936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59937 (eval $ac_try) 2>&5
59938 ac_status=$?
59939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59940 (exit $ac_status); }; } &&
59941 { ac_try='test -s conftest.$ac_objext'
59942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59943 (eval $ac_try) 2>&5
59944 ac_status=$?
59945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59946 (exit $ac_status); }; }; then
59947 glibcxx_cv_func__fabsf_use=yes
59948 else
59949 echo "$as_me: failed program was:" >&5
59950 sed 's/^/| /' conftest.$ac_ext >&5
59952 glibcxx_cv_func__fabsf_use=no
59954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59955 ac_ext=c
59956 ac_cpp='$CPP $CPPFLAGS'
59957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59965 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
59966 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
59968 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59970 for ac_func in _fabsf
59972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59973 echo "$as_me:$LINENO: checking for $ac_func" >&5
59974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59975 if eval "test \"\${$as_ac_var+set}\" = set"; then
59976 echo $ECHO_N "(cached) $ECHO_C" >&6
59977 else
59978 if test x$gcc_no_link = xyes; then
59979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59981 { (exit 1); exit 1; }; }
59983 cat >conftest.$ac_ext <<_ACEOF
59984 /* confdefs.h. */
59985 _ACEOF
59986 cat confdefs.h >>conftest.$ac_ext
59987 cat >>conftest.$ac_ext <<_ACEOF
59988 /* end confdefs.h. */
59989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59991 #define $ac_func innocuous_$ac_func
59993 /* System header to define __stub macros and hopefully few prototypes,
59994 which can conflict with char $ac_func (); below.
59995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59996 <limits.h> exists even on freestanding compilers. */
59998 #ifdef __STDC__
59999 # include <limits.h>
60000 #else
60001 # include <assert.h>
60002 #endif
60004 #undef $ac_func
60006 /* Override any gcc2 internal prototype to avoid an error. */
60007 #ifdef __cplusplus
60008 extern "C"
60010 #endif
60011 /* We use char because int might match the return type of a gcc2
60012 builtin and then its argument prototype would still apply. */
60013 char $ac_func ();
60014 /* The GNU C library defines this for functions which it implements
60015 to always fail with ENOSYS. Some functions are actually named
60016 something starting with __ and the normal name is an alias. */
60017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60018 choke me
60019 #else
60020 char (*f) () = $ac_func;
60021 #endif
60022 #ifdef __cplusplus
60024 #endif
60027 main ()
60029 return f != $ac_func;
60031 return 0;
60033 _ACEOF
60034 rm -f conftest.$ac_objext conftest$ac_exeext
60035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60036 (eval $ac_link) 2>conftest.er1
60037 ac_status=$?
60038 grep -v '^ *+' conftest.er1 >conftest.err
60039 rm -f conftest.er1
60040 cat conftest.err >&5
60041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60042 (exit $ac_status); } &&
60043 { ac_try='test -z "$ac_c_werror_flag"
60044 || test ! -s conftest.err'
60045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60046 (eval $ac_try) 2>&5
60047 ac_status=$?
60048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60049 (exit $ac_status); }; } &&
60050 { ac_try='test -s conftest$ac_exeext'
60051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60052 (eval $ac_try) 2>&5
60053 ac_status=$?
60054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60055 (exit $ac_status); }; }; then
60056 eval "$as_ac_var=yes"
60057 else
60058 echo "$as_me: failed program was:" >&5
60059 sed 's/^/| /' conftest.$ac_ext >&5
60061 eval "$as_ac_var=no"
60063 rm -f conftest.err conftest.$ac_objext \
60064 conftest$ac_exeext conftest.$ac_ext
60066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60068 if test `eval echo '${'$as_ac_var'}'` = yes; then
60069 cat >>confdefs.h <<_ACEOF
60070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60071 _ACEOF
60074 done
60084 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
60085 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
60086 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60087 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
60088 echo $ECHO_N "(cached) $ECHO_C" >&6
60089 else
60093 ac_ext=cc
60094 ac_cpp='$CXXCPP $CPPFLAGS'
60095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60099 cat >conftest.$ac_ext <<_ACEOF
60100 /* confdefs.h. */
60101 _ACEOF
60102 cat confdefs.h >>conftest.$ac_ext
60103 cat >>conftest.$ac_ext <<_ACEOF
60104 /* end confdefs.h. */
60105 #include <math.h>
60107 main ()
60109 fmodf(0, 0);
60111 return 0;
60113 _ACEOF
60114 rm -f conftest.$ac_objext
60115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60116 (eval $ac_compile) 2>conftest.er1
60117 ac_status=$?
60118 grep -v '^ *+' conftest.er1 >conftest.err
60119 rm -f conftest.er1
60120 cat conftest.err >&5
60121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60122 (exit $ac_status); } &&
60123 { ac_try='test -z "$ac_cxx_werror_flag"
60124 || test ! -s conftest.err'
60125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60126 (eval $ac_try) 2>&5
60127 ac_status=$?
60128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60129 (exit $ac_status); }; } &&
60130 { ac_try='test -s conftest.$ac_objext'
60131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60132 (eval $ac_try) 2>&5
60133 ac_status=$?
60134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60135 (exit $ac_status); }; }; then
60136 glibcxx_cv_func_fmodf_use=yes
60137 else
60138 echo "$as_me: failed program was:" >&5
60139 sed 's/^/| /' conftest.$ac_ext >&5
60141 glibcxx_cv_func_fmodf_use=no
60143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60144 ac_ext=c
60145 ac_cpp='$CPP $CPPFLAGS'
60146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60154 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
60155 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
60157 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60159 for ac_func in fmodf
60161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60162 echo "$as_me:$LINENO: checking for $ac_func" >&5
60163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60164 if eval "test \"\${$as_ac_var+set}\" = set"; then
60165 echo $ECHO_N "(cached) $ECHO_C" >&6
60166 else
60167 if test x$gcc_no_link = xyes; then
60168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60170 { (exit 1); exit 1; }; }
60172 cat >conftest.$ac_ext <<_ACEOF
60173 /* confdefs.h. */
60174 _ACEOF
60175 cat confdefs.h >>conftest.$ac_ext
60176 cat >>conftest.$ac_ext <<_ACEOF
60177 /* end confdefs.h. */
60178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60180 #define $ac_func innocuous_$ac_func
60182 /* System header to define __stub macros and hopefully few prototypes,
60183 which can conflict with char $ac_func (); below.
60184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60185 <limits.h> exists even on freestanding compilers. */
60187 #ifdef __STDC__
60188 # include <limits.h>
60189 #else
60190 # include <assert.h>
60191 #endif
60193 #undef $ac_func
60195 /* Override any gcc2 internal prototype to avoid an error. */
60196 #ifdef __cplusplus
60197 extern "C"
60199 #endif
60200 /* We use char because int might match the return type of a gcc2
60201 builtin and then its argument prototype would still apply. */
60202 char $ac_func ();
60203 /* The GNU C library defines this for functions which it implements
60204 to always fail with ENOSYS. Some functions are actually named
60205 something starting with __ and the normal name is an alias. */
60206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60207 choke me
60208 #else
60209 char (*f) () = $ac_func;
60210 #endif
60211 #ifdef __cplusplus
60213 #endif
60216 main ()
60218 return f != $ac_func;
60220 return 0;
60222 _ACEOF
60223 rm -f conftest.$ac_objext conftest$ac_exeext
60224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60225 (eval $ac_link) 2>conftest.er1
60226 ac_status=$?
60227 grep -v '^ *+' conftest.er1 >conftest.err
60228 rm -f conftest.er1
60229 cat conftest.err >&5
60230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60231 (exit $ac_status); } &&
60232 { ac_try='test -z "$ac_c_werror_flag"
60233 || test ! -s conftest.err'
60234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60235 (eval $ac_try) 2>&5
60236 ac_status=$?
60237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60238 (exit $ac_status); }; } &&
60239 { ac_try='test -s conftest$ac_exeext'
60240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60241 (eval $ac_try) 2>&5
60242 ac_status=$?
60243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60244 (exit $ac_status); }; }; then
60245 eval "$as_ac_var=yes"
60246 else
60247 echo "$as_me: failed program was:" >&5
60248 sed 's/^/| /' conftest.$ac_ext >&5
60250 eval "$as_ac_var=no"
60252 rm -f conftest.err conftest.$ac_objext \
60253 conftest$ac_exeext conftest.$ac_ext
60255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60257 if test `eval echo '${'$as_ac_var'}'` = yes; then
60258 cat >>confdefs.h <<_ACEOF
60259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60260 _ACEOF
60263 done
60265 else
60267 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60268 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60269 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60270 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60271 echo $ECHO_N "(cached) $ECHO_C" >&6
60272 else
60276 ac_ext=cc
60277 ac_cpp='$CXXCPP $CPPFLAGS'
60278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60282 cat >conftest.$ac_ext <<_ACEOF
60283 /* confdefs.h. */
60284 _ACEOF
60285 cat confdefs.h >>conftest.$ac_ext
60286 cat >>conftest.$ac_ext <<_ACEOF
60287 /* end confdefs.h. */
60288 #include <math.h>
60290 main ()
60292 _fmodf(0, 0);
60294 return 0;
60296 _ACEOF
60297 rm -f conftest.$ac_objext
60298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60299 (eval $ac_compile) 2>conftest.er1
60300 ac_status=$?
60301 grep -v '^ *+' conftest.er1 >conftest.err
60302 rm -f conftest.er1
60303 cat conftest.err >&5
60304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60305 (exit $ac_status); } &&
60306 { ac_try='test -z "$ac_cxx_werror_flag"
60307 || test ! -s conftest.err'
60308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60309 (eval $ac_try) 2>&5
60310 ac_status=$?
60311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60312 (exit $ac_status); }; } &&
60313 { ac_try='test -s conftest.$ac_objext'
60314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60315 (eval $ac_try) 2>&5
60316 ac_status=$?
60317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60318 (exit $ac_status); }; }; then
60319 glibcxx_cv_func__fmodf_use=yes
60320 else
60321 echo "$as_me: failed program was:" >&5
60322 sed 's/^/| /' conftest.$ac_ext >&5
60324 glibcxx_cv_func__fmodf_use=no
60326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60327 ac_ext=c
60328 ac_cpp='$CPP $CPPFLAGS'
60329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60337 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60338 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60340 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60342 for ac_func in _fmodf
60344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60345 echo "$as_me:$LINENO: checking for $ac_func" >&5
60346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60347 if eval "test \"\${$as_ac_var+set}\" = set"; then
60348 echo $ECHO_N "(cached) $ECHO_C" >&6
60349 else
60350 if test x$gcc_no_link = xyes; then
60351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60353 { (exit 1); exit 1; }; }
60355 cat >conftest.$ac_ext <<_ACEOF
60356 /* confdefs.h. */
60357 _ACEOF
60358 cat confdefs.h >>conftest.$ac_ext
60359 cat >>conftest.$ac_ext <<_ACEOF
60360 /* end confdefs.h. */
60361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60363 #define $ac_func innocuous_$ac_func
60365 /* System header to define __stub macros and hopefully few prototypes,
60366 which can conflict with char $ac_func (); below.
60367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60368 <limits.h> exists even on freestanding compilers. */
60370 #ifdef __STDC__
60371 # include <limits.h>
60372 #else
60373 # include <assert.h>
60374 #endif
60376 #undef $ac_func
60378 /* Override any gcc2 internal prototype to avoid an error. */
60379 #ifdef __cplusplus
60380 extern "C"
60382 #endif
60383 /* We use char because int might match the return type of a gcc2
60384 builtin and then its argument prototype would still apply. */
60385 char $ac_func ();
60386 /* The GNU C library defines this for functions which it implements
60387 to always fail with ENOSYS. Some functions are actually named
60388 something starting with __ and the normal name is an alias. */
60389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60390 choke me
60391 #else
60392 char (*f) () = $ac_func;
60393 #endif
60394 #ifdef __cplusplus
60396 #endif
60399 main ()
60401 return f != $ac_func;
60403 return 0;
60405 _ACEOF
60406 rm -f conftest.$ac_objext conftest$ac_exeext
60407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60408 (eval $ac_link) 2>conftest.er1
60409 ac_status=$?
60410 grep -v '^ *+' conftest.er1 >conftest.err
60411 rm -f conftest.er1
60412 cat conftest.err >&5
60413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60414 (exit $ac_status); } &&
60415 { ac_try='test -z "$ac_c_werror_flag"
60416 || test ! -s conftest.err'
60417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60418 (eval $ac_try) 2>&5
60419 ac_status=$?
60420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60421 (exit $ac_status); }; } &&
60422 { ac_try='test -s conftest$ac_exeext'
60423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60424 (eval $ac_try) 2>&5
60425 ac_status=$?
60426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60427 (exit $ac_status); }; }; then
60428 eval "$as_ac_var=yes"
60429 else
60430 echo "$as_me: failed program was:" >&5
60431 sed 's/^/| /' conftest.$ac_ext >&5
60433 eval "$as_ac_var=no"
60435 rm -f conftest.err conftest.$ac_objext \
60436 conftest$ac_exeext conftest.$ac_ext
60438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60440 if test `eval echo '${'$as_ac_var'}'` = yes; then
60441 cat >>confdefs.h <<_ACEOF
60442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60443 _ACEOF
60446 done
60456 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
60457 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
60458 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60459 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
60460 echo $ECHO_N "(cached) $ECHO_C" >&6
60461 else
60465 ac_ext=cc
60466 ac_cpp='$CXXCPP $CPPFLAGS'
60467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60471 cat >conftest.$ac_ext <<_ACEOF
60472 /* confdefs.h. */
60473 _ACEOF
60474 cat confdefs.h >>conftest.$ac_ext
60475 cat >>conftest.$ac_ext <<_ACEOF
60476 /* end confdefs.h. */
60477 #include <math.h>
60479 main ()
60481 frexpf(0, 0);
60483 return 0;
60485 _ACEOF
60486 rm -f conftest.$ac_objext
60487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60488 (eval $ac_compile) 2>conftest.er1
60489 ac_status=$?
60490 grep -v '^ *+' conftest.er1 >conftest.err
60491 rm -f conftest.er1
60492 cat conftest.err >&5
60493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60494 (exit $ac_status); } &&
60495 { ac_try='test -z "$ac_cxx_werror_flag"
60496 || test ! -s conftest.err'
60497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60498 (eval $ac_try) 2>&5
60499 ac_status=$?
60500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60501 (exit $ac_status); }; } &&
60502 { ac_try='test -s conftest.$ac_objext'
60503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60504 (eval $ac_try) 2>&5
60505 ac_status=$?
60506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60507 (exit $ac_status); }; }; then
60508 glibcxx_cv_func_frexpf_use=yes
60509 else
60510 echo "$as_me: failed program was:" >&5
60511 sed 's/^/| /' conftest.$ac_ext >&5
60513 glibcxx_cv_func_frexpf_use=no
60515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60516 ac_ext=c
60517 ac_cpp='$CPP $CPPFLAGS'
60518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60526 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
60527 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
60529 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60531 for ac_func in frexpf
60533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60534 echo "$as_me:$LINENO: checking for $ac_func" >&5
60535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60536 if eval "test \"\${$as_ac_var+set}\" = set"; then
60537 echo $ECHO_N "(cached) $ECHO_C" >&6
60538 else
60539 if test x$gcc_no_link = xyes; then
60540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60542 { (exit 1); exit 1; }; }
60544 cat >conftest.$ac_ext <<_ACEOF
60545 /* confdefs.h. */
60546 _ACEOF
60547 cat confdefs.h >>conftest.$ac_ext
60548 cat >>conftest.$ac_ext <<_ACEOF
60549 /* end confdefs.h. */
60550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60552 #define $ac_func innocuous_$ac_func
60554 /* System header to define __stub macros and hopefully few prototypes,
60555 which can conflict with char $ac_func (); below.
60556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60557 <limits.h> exists even on freestanding compilers. */
60559 #ifdef __STDC__
60560 # include <limits.h>
60561 #else
60562 # include <assert.h>
60563 #endif
60565 #undef $ac_func
60567 /* Override any gcc2 internal prototype to avoid an error. */
60568 #ifdef __cplusplus
60569 extern "C"
60571 #endif
60572 /* We use char because int might match the return type of a gcc2
60573 builtin and then its argument prototype would still apply. */
60574 char $ac_func ();
60575 /* The GNU C library defines this for functions which it implements
60576 to always fail with ENOSYS. Some functions are actually named
60577 something starting with __ and the normal name is an alias. */
60578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60579 choke me
60580 #else
60581 char (*f) () = $ac_func;
60582 #endif
60583 #ifdef __cplusplus
60585 #endif
60588 main ()
60590 return f != $ac_func;
60592 return 0;
60594 _ACEOF
60595 rm -f conftest.$ac_objext conftest$ac_exeext
60596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60597 (eval $ac_link) 2>conftest.er1
60598 ac_status=$?
60599 grep -v '^ *+' conftest.er1 >conftest.err
60600 rm -f conftest.er1
60601 cat conftest.err >&5
60602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60603 (exit $ac_status); } &&
60604 { ac_try='test -z "$ac_c_werror_flag"
60605 || test ! -s conftest.err'
60606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60607 (eval $ac_try) 2>&5
60608 ac_status=$?
60609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60610 (exit $ac_status); }; } &&
60611 { ac_try='test -s conftest$ac_exeext'
60612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60613 (eval $ac_try) 2>&5
60614 ac_status=$?
60615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60616 (exit $ac_status); }; }; then
60617 eval "$as_ac_var=yes"
60618 else
60619 echo "$as_me: failed program was:" >&5
60620 sed 's/^/| /' conftest.$ac_ext >&5
60622 eval "$as_ac_var=no"
60624 rm -f conftest.err conftest.$ac_objext \
60625 conftest$ac_exeext conftest.$ac_ext
60627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60629 if test `eval echo '${'$as_ac_var'}'` = yes; then
60630 cat >>confdefs.h <<_ACEOF
60631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60632 _ACEOF
60635 done
60637 else
60639 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60640 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60641 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60642 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60643 echo $ECHO_N "(cached) $ECHO_C" >&6
60644 else
60648 ac_ext=cc
60649 ac_cpp='$CXXCPP $CPPFLAGS'
60650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60654 cat >conftest.$ac_ext <<_ACEOF
60655 /* confdefs.h. */
60656 _ACEOF
60657 cat confdefs.h >>conftest.$ac_ext
60658 cat >>conftest.$ac_ext <<_ACEOF
60659 /* end confdefs.h. */
60660 #include <math.h>
60662 main ()
60664 _frexpf(0, 0);
60666 return 0;
60668 _ACEOF
60669 rm -f conftest.$ac_objext
60670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60671 (eval $ac_compile) 2>conftest.er1
60672 ac_status=$?
60673 grep -v '^ *+' conftest.er1 >conftest.err
60674 rm -f conftest.er1
60675 cat conftest.err >&5
60676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60677 (exit $ac_status); } &&
60678 { ac_try='test -z "$ac_cxx_werror_flag"
60679 || test ! -s conftest.err'
60680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60681 (eval $ac_try) 2>&5
60682 ac_status=$?
60683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60684 (exit $ac_status); }; } &&
60685 { ac_try='test -s conftest.$ac_objext'
60686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60687 (eval $ac_try) 2>&5
60688 ac_status=$?
60689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60690 (exit $ac_status); }; }; then
60691 glibcxx_cv_func__frexpf_use=yes
60692 else
60693 echo "$as_me: failed program was:" >&5
60694 sed 's/^/| /' conftest.$ac_ext >&5
60696 glibcxx_cv_func__frexpf_use=no
60698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60699 ac_ext=c
60700 ac_cpp='$CPP $CPPFLAGS'
60701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60709 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
60710 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60712 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60714 for ac_func in _frexpf
60716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60717 echo "$as_me:$LINENO: checking for $ac_func" >&5
60718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60719 if eval "test \"\${$as_ac_var+set}\" = set"; then
60720 echo $ECHO_N "(cached) $ECHO_C" >&6
60721 else
60722 if test x$gcc_no_link = xyes; then
60723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60725 { (exit 1); exit 1; }; }
60727 cat >conftest.$ac_ext <<_ACEOF
60728 /* confdefs.h. */
60729 _ACEOF
60730 cat confdefs.h >>conftest.$ac_ext
60731 cat >>conftest.$ac_ext <<_ACEOF
60732 /* end confdefs.h. */
60733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60735 #define $ac_func innocuous_$ac_func
60737 /* System header to define __stub macros and hopefully few prototypes,
60738 which can conflict with char $ac_func (); below.
60739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60740 <limits.h> exists even on freestanding compilers. */
60742 #ifdef __STDC__
60743 # include <limits.h>
60744 #else
60745 # include <assert.h>
60746 #endif
60748 #undef $ac_func
60750 /* Override any gcc2 internal prototype to avoid an error. */
60751 #ifdef __cplusplus
60752 extern "C"
60754 #endif
60755 /* We use char because int might match the return type of a gcc2
60756 builtin and then its argument prototype would still apply. */
60757 char $ac_func ();
60758 /* The GNU C library defines this for functions which it implements
60759 to always fail with ENOSYS. Some functions are actually named
60760 something starting with __ and the normal name is an alias. */
60761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60762 choke me
60763 #else
60764 char (*f) () = $ac_func;
60765 #endif
60766 #ifdef __cplusplus
60768 #endif
60771 main ()
60773 return f != $ac_func;
60775 return 0;
60777 _ACEOF
60778 rm -f conftest.$ac_objext conftest$ac_exeext
60779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60780 (eval $ac_link) 2>conftest.er1
60781 ac_status=$?
60782 grep -v '^ *+' conftest.er1 >conftest.err
60783 rm -f conftest.er1
60784 cat conftest.err >&5
60785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60786 (exit $ac_status); } &&
60787 { ac_try='test -z "$ac_c_werror_flag"
60788 || test ! -s conftest.err'
60789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60790 (eval $ac_try) 2>&5
60791 ac_status=$?
60792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60793 (exit $ac_status); }; } &&
60794 { ac_try='test -s conftest$ac_exeext'
60795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60796 (eval $ac_try) 2>&5
60797 ac_status=$?
60798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60799 (exit $ac_status); }; }; then
60800 eval "$as_ac_var=yes"
60801 else
60802 echo "$as_me: failed program was:" >&5
60803 sed 's/^/| /' conftest.$ac_ext >&5
60805 eval "$as_ac_var=no"
60807 rm -f conftest.err conftest.$ac_objext \
60808 conftest$ac_exeext conftest.$ac_ext
60810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60812 if test `eval echo '${'$as_ac_var'}'` = yes; then
60813 cat >>confdefs.h <<_ACEOF
60814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60815 _ACEOF
60818 done
60828 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
60829 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
60830 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60831 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
60832 echo $ECHO_N "(cached) $ECHO_C" >&6
60833 else
60837 ac_ext=cc
60838 ac_cpp='$CXXCPP $CPPFLAGS'
60839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60843 cat >conftest.$ac_ext <<_ACEOF
60844 /* confdefs.h. */
60845 _ACEOF
60846 cat confdefs.h >>conftest.$ac_ext
60847 cat >>conftest.$ac_ext <<_ACEOF
60848 /* end confdefs.h. */
60849 #include <math.h>
60851 main ()
60853 hypotf(0, 0);
60855 return 0;
60857 _ACEOF
60858 rm -f conftest.$ac_objext
60859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60860 (eval $ac_compile) 2>conftest.er1
60861 ac_status=$?
60862 grep -v '^ *+' conftest.er1 >conftest.err
60863 rm -f conftest.er1
60864 cat conftest.err >&5
60865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60866 (exit $ac_status); } &&
60867 { ac_try='test -z "$ac_cxx_werror_flag"
60868 || test ! -s conftest.err'
60869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60870 (eval $ac_try) 2>&5
60871 ac_status=$?
60872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60873 (exit $ac_status); }; } &&
60874 { ac_try='test -s conftest.$ac_objext'
60875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60876 (eval $ac_try) 2>&5
60877 ac_status=$?
60878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60879 (exit $ac_status); }; }; then
60880 glibcxx_cv_func_hypotf_use=yes
60881 else
60882 echo "$as_me: failed program was:" >&5
60883 sed 's/^/| /' conftest.$ac_ext >&5
60885 glibcxx_cv_func_hypotf_use=no
60887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60888 ac_ext=c
60889 ac_cpp='$CPP $CPPFLAGS'
60890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
60899 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
60901 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60903 for ac_func in hypotf
60905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60906 echo "$as_me:$LINENO: checking for $ac_func" >&5
60907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60908 if eval "test \"\${$as_ac_var+set}\" = set"; then
60909 echo $ECHO_N "(cached) $ECHO_C" >&6
60910 else
60911 if test x$gcc_no_link = xyes; then
60912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60914 { (exit 1); exit 1; }; }
60916 cat >conftest.$ac_ext <<_ACEOF
60917 /* confdefs.h. */
60918 _ACEOF
60919 cat confdefs.h >>conftest.$ac_ext
60920 cat >>conftest.$ac_ext <<_ACEOF
60921 /* end confdefs.h. */
60922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60924 #define $ac_func innocuous_$ac_func
60926 /* System header to define __stub macros and hopefully few prototypes,
60927 which can conflict with char $ac_func (); below.
60928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60929 <limits.h> exists even on freestanding compilers. */
60931 #ifdef __STDC__
60932 # include <limits.h>
60933 #else
60934 # include <assert.h>
60935 #endif
60937 #undef $ac_func
60939 /* Override any gcc2 internal prototype to avoid an error. */
60940 #ifdef __cplusplus
60941 extern "C"
60943 #endif
60944 /* We use char because int might match the return type of a gcc2
60945 builtin and then its argument prototype would still apply. */
60946 char $ac_func ();
60947 /* The GNU C library defines this for functions which it implements
60948 to always fail with ENOSYS. Some functions are actually named
60949 something starting with __ and the normal name is an alias. */
60950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60951 choke me
60952 #else
60953 char (*f) () = $ac_func;
60954 #endif
60955 #ifdef __cplusplus
60957 #endif
60960 main ()
60962 return f != $ac_func;
60964 return 0;
60966 _ACEOF
60967 rm -f conftest.$ac_objext conftest$ac_exeext
60968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60969 (eval $ac_link) 2>conftest.er1
60970 ac_status=$?
60971 grep -v '^ *+' conftest.er1 >conftest.err
60972 rm -f conftest.er1
60973 cat conftest.err >&5
60974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60975 (exit $ac_status); } &&
60976 { ac_try='test -z "$ac_c_werror_flag"
60977 || test ! -s conftest.err'
60978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60979 (eval $ac_try) 2>&5
60980 ac_status=$?
60981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60982 (exit $ac_status); }; } &&
60983 { ac_try='test -s conftest$ac_exeext'
60984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60985 (eval $ac_try) 2>&5
60986 ac_status=$?
60987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60988 (exit $ac_status); }; }; then
60989 eval "$as_ac_var=yes"
60990 else
60991 echo "$as_me: failed program was:" >&5
60992 sed 's/^/| /' conftest.$ac_ext >&5
60994 eval "$as_ac_var=no"
60996 rm -f conftest.err conftest.$ac_objext \
60997 conftest$ac_exeext conftest.$ac_ext
60999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61001 if test `eval echo '${'$as_ac_var'}'` = yes; then
61002 cat >>confdefs.h <<_ACEOF
61003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61004 _ACEOF
61007 done
61009 else
61011 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
61012 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
61013 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61014 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
61015 echo $ECHO_N "(cached) $ECHO_C" >&6
61016 else
61020 ac_ext=cc
61021 ac_cpp='$CXXCPP $CPPFLAGS'
61022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61026 cat >conftest.$ac_ext <<_ACEOF
61027 /* confdefs.h. */
61028 _ACEOF
61029 cat confdefs.h >>conftest.$ac_ext
61030 cat >>conftest.$ac_ext <<_ACEOF
61031 /* end confdefs.h. */
61032 #include <math.h>
61034 main ()
61036 _hypotf(0, 0);
61038 return 0;
61040 _ACEOF
61041 rm -f conftest.$ac_objext
61042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61043 (eval $ac_compile) 2>conftest.er1
61044 ac_status=$?
61045 grep -v '^ *+' conftest.er1 >conftest.err
61046 rm -f conftest.er1
61047 cat conftest.err >&5
61048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61049 (exit $ac_status); } &&
61050 { ac_try='test -z "$ac_cxx_werror_flag"
61051 || test ! -s conftest.err'
61052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61053 (eval $ac_try) 2>&5
61054 ac_status=$?
61055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61056 (exit $ac_status); }; } &&
61057 { ac_try='test -s conftest.$ac_objext'
61058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61059 (eval $ac_try) 2>&5
61060 ac_status=$?
61061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61062 (exit $ac_status); }; }; then
61063 glibcxx_cv_func__hypotf_use=yes
61064 else
61065 echo "$as_me: failed program was:" >&5
61066 sed 's/^/| /' conftest.$ac_ext >&5
61068 glibcxx_cv_func__hypotf_use=no
61070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61071 ac_ext=c
61072 ac_cpp='$CPP $CPPFLAGS'
61073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61081 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
61082 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
61084 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61086 for ac_func in _hypotf
61088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61089 echo "$as_me:$LINENO: checking for $ac_func" >&5
61090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61091 if eval "test \"\${$as_ac_var+set}\" = set"; then
61092 echo $ECHO_N "(cached) $ECHO_C" >&6
61093 else
61094 if test x$gcc_no_link = xyes; then
61095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61097 { (exit 1); exit 1; }; }
61099 cat >conftest.$ac_ext <<_ACEOF
61100 /* confdefs.h. */
61101 _ACEOF
61102 cat confdefs.h >>conftest.$ac_ext
61103 cat >>conftest.$ac_ext <<_ACEOF
61104 /* end confdefs.h. */
61105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61107 #define $ac_func innocuous_$ac_func
61109 /* System header to define __stub macros and hopefully few prototypes,
61110 which can conflict with char $ac_func (); below.
61111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61112 <limits.h> exists even on freestanding compilers. */
61114 #ifdef __STDC__
61115 # include <limits.h>
61116 #else
61117 # include <assert.h>
61118 #endif
61120 #undef $ac_func
61122 /* Override any gcc2 internal prototype to avoid an error. */
61123 #ifdef __cplusplus
61124 extern "C"
61126 #endif
61127 /* We use char because int might match the return type of a gcc2
61128 builtin and then its argument prototype would still apply. */
61129 char $ac_func ();
61130 /* The GNU C library defines this for functions which it implements
61131 to always fail with ENOSYS. Some functions are actually named
61132 something starting with __ and the normal name is an alias. */
61133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61134 choke me
61135 #else
61136 char (*f) () = $ac_func;
61137 #endif
61138 #ifdef __cplusplus
61140 #endif
61143 main ()
61145 return f != $ac_func;
61147 return 0;
61149 _ACEOF
61150 rm -f conftest.$ac_objext conftest$ac_exeext
61151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61152 (eval $ac_link) 2>conftest.er1
61153 ac_status=$?
61154 grep -v '^ *+' conftest.er1 >conftest.err
61155 rm -f conftest.er1
61156 cat conftest.err >&5
61157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61158 (exit $ac_status); } &&
61159 { ac_try='test -z "$ac_c_werror_flag"
61160 || test ! -s conftest.err'
61161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61162 (eval $ac_try) 2>&5
61163 ac_status=$?
61164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61165 (exit $ac_status); }; } &&
61166 { ac_try='test -s conftest$ac_exeext'
61167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61168 (eval $ac_try) 2>&5
61169 ac_status=$?
61170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61171 (exit $ac_status); }; }; then
61172 eval "$as_ac_var=yes"
61173 else
61174 echo "$as_me: failed program was:" >&5
61175 sed 's/^/| /' conftest.$ac_ext >&5
61177 eval "$as_ac_var=no"
61179 rm -f conftest.err conftest.$ac_objext \
61180 conftest$ac_exeext conftest.$ac_ext
61182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61184 if test `eval echo '${'$as_ac_var'}'` = yes; then
61185 cat >>confdefs.h <<_ACEOF
61186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61187 _ACEOF
61190 done
61200 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
61201 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
61202 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61203 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
61204 echo $ECHO_N "(cached) $ECHO_C" >&6
61205 else
61209 ac_ext=cc
61210 ac_cpp='$CXXCPP $CPPFLAGS'
61211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61215 cat >conftest.$ac_ext <<_ACEOF
61216 /* confdefs.h. */
61217 _ACEOF
61218 cat confdefs.h >>conftest.$ac_ext
61219 cat >>conftest.$ac_ext <<_ACEOF
61220 /* end confdefs.h. */
61221 #include <math.h>
61223 main ()
61225 ldexpf(0, 0);
61227 return 0;
61229 _ACEOF
61230 rm -f conftest.$ac_objext
61231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61232 (eval $ac_compile) 2>conftest.er1
61233 ac_status=$?
61234 grep -v '^ *+' conftest.er1 >conftest.err
61235 rm -f conftest.er1
61236 cat conftest.err >&5
61237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61238 (exit $ac_status); } &&
61239 { ac_try='test -z "$ac_cxx_werror_flag"
61240 || test ! -s conftest.err'
61241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61242 (eval $ac_try) 2>&5
61243 ac_status=$?
61244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61245 (exit $ac_status); }; } &&
61246 { ac_try='test -s conftest.$ac_objext'
61247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61248 (eval $ac_try) 2>&5
61249 ac_status=$?
61250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61251 (exit $ac_status); }; }; then
61252 glibcxx_cv_func_ldexpf_use=yes
61253 else
61254 echo "$as_me: failed program was:" >&5
61255 sed 's/^/| /' conftest.$ac_ext >&5
61257 glibcxx_cv_func_ldexpf_use=no
61259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61260 ac_ext=c
61261 ac_cpp='$CPP $CPPFLAGS'
61262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61270 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61271 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61273 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61275 for ac_func in ldexpf
61277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61278 echo "$as_me:$LINENO: checking for $ac_func" >&5
61279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61280 if eval "test \"\${$as_ac_var+set}\" = set"; then
61281 echo $ECHO_N "(cached) $ECHO_C" >&6
61282 else
61283 if test x$gcc_no_link = xyes; then
61284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61286 { (exit 1); exit 1; }; }
61288 cat >conftest.$ac_ext <<_ACEOF
61289 /* confdefs.h. */
61290 _ACEOF
61291 cat confdefs.h >>conftest.$ac_ext
61292 cat >>conftest.$ac_ext <<_ACEOF
61293 /* end confdefs.h. */
61294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61296 #define $ac_func innocuous_$ac_func
61298 /* System header to define __stub macros and hopefully few prototypes,
61299 which can conflict with char $ac_func (); below.
61300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61301 <limits.h> exists even on freestanding compilers. */
61303 #ifdef __STDC__
61304 # include <limits.h>
61305 #else
61306 # include <assert.h>
61307 #endif
61309 #undef $ac_func
61311 /* Override any gcc2 internal prototype to avoid an error. */
61312 #ifdef __cplusplus
61313 extern "C"
61315 #endif
61316 /* We use char because int might match the return type of a gcc2
61317 builtin and then its argument prototype would still apply. */
61318 char $ac_func ();
61319 /* The GNU C library defines this for functions which it implements
61320 to always fail with ENOSYS. Some functions are actually named
61321 something starting with __ and the normal name is an alias. */
61322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61323 choke me
61324 #else
61325 char (*f) () = $ac_func;
61326 #endif
61327 #ifdef __cplusplus
61329 #endif
61332 main ()
61334 return f != $ac_func;
61336 return 0;
61338 _ACEOF
61339 rm -f conftest.$ac_objext conftest$ac_exeext
61340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61341 (eval $ac_link) 2>conftest.er1
61342 ac_status=$?
61343 grep -v '^ *+' conftest.er1 >conftest.err
61344 rm -f conftest.er1
61345 cat conftest.err >&5
61346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61347 (exit $ac_status); } &&
61348 { ac_try='test -z "$ac_c_werror_flag"
61349 || test ! -s conftest.err'
61350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61351 (eval $ac_try) 2>&5
61352 ac_status=$?
61353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61354 (exit $ac_status); }; } &&
61355 { ac_try='test -s conftest$ac_exeext'
61356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61357 (eval $ac_try) 2>&5
61358 ac_status=$?
61359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61360 (exit $ac_status); }; }; then
61361 eval "$as_ac_var=yes"
61362 else
61363 echo "$as_me: failed program was:" >&5
61364 sed 's/^/| /' conftest.$ac_ext >&5
61366 eval "$as_ac_var=no"
61368 rm -f conftest.err conftest.$ac_objext \
61369 conftest$ac_exeext conftest.$ac_ext
61371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61373 if test `eval echo '${'$as_ac_var'}'` = yes; then
61374 cat >>confdefs.h <<_ACEOF
61375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61376 _ACEOF
61379 done
61381 else
61383 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61384 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61385 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61386 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61387 echo $ECHO_N "(cached) $ECHO_C" >&6
61388 else
61392 ac_ext=cc
61393 ac_cpp='$CXXCPP $CPPFLAGS'
61394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61398 cat >conftest.$ac_ext <<_ACEOF
61399 /* confdefs.h. */
61400 _ACEOF
61401 cat confdefs.h >>conftest.$ac_ext
61402 cat >>conftest.$ac_ext <<_ACEOF
61403 /* end confdefs.h. */
61404 #include <math.h>
61406 main ()
61408 _ldexpf(0, 0);
61410 return 0;
61412 _ACEOF
61413 rm -f conftest.$ac_objext
61414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61415 (eval $ac_compile) 2>conftest.er1
61416 ac_status=$?
61417 grep -v '^ *+' conftest.er1 >conftest.err
61418 rm -f conftest.er1
61419 cat conftest.err >&5
61420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61421 (exit $ac_status); } &&
61422 { ac_try='test -z "$ac_cxx_werror_flag"
61423 || test ! -s conftest.err'
61424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61425 (eval $ac_try) 2>&5
61426 ac_status=$?
61427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61428 (exit $ac_status); }; } &&
61429 { ac_try='test -s conftest.$ac_objext'
61430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61431 (eval $ac_try) 2>&5
61432 ac_status=$?
61433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61434 (exit $ac_status); }; }; then
61435 glibcxx_cv_func__ldexpf_use=yes
61436 else
61437 echo "$as_me: failed program was:" >&5
61438 sed 's/^/| /' conftest.$ac_ext >&5
61440 glibcxx_cv_func__ldexpf_use=no
61442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61443 ac_ext=c
61444 ac_cpp='$CPP $CPPFLAGS'
61445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61453 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
61454 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
61456 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61458 for ac_func in _ldexpf
61460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61461 echo "$as_me:$LINENO: checking for $ac_func" >&5
61462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61463 if eval "test \"\${$as_ac_var+set}\" = set"; then
61464 echo $ECHO_N "(cached) $ECHO_C" >&6
61465 else
61466 if test x$gcc_no_link = xyes; then
61467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61469 { (exit 1); exit 1; }; }
61471 cat >conftest.$ac_ext <<_ACEOF
61472 /* confdefs.h. */
61473 _ACEOF
61474 cat confdefs.h >>conftest.$ac_ext
61475 cat >>conftest.$ac_ext <<_ACEOF
61476 /* end confdefs.h. */
61477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61479 #define $ac_func innocuous_$ac_func
61481 /* System header to define __stub macros and hopefully few prototypes,
61482 which can conflict with char $ac_func (); below.
61483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61484 <limits.h> exists even on freestanding compilers. */
61486 #ifdef __STDC__
61487 # include <limits.h>
61488 #else
61489 # include <assert.h>
61490 #endif
61492 #undef $ac_func
61494 /* Override any gcc2 internal prototype to avoid an error. */
61495 #ifdef __cplusplus
61496 extern "C"
61498 #endif
61499 /* We use char because int might match the return type of a gcc2
61500 builtin and then its argument prototype would still apply. */
61501 char $ac_func ();
61502 /* The GNU C library defines this for functions which it implements
61503 to always fail with ENOSYS. Some functions are actually named
61504 something starting with __ and the normal name is an alias. */
61505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61506 choke me
61507 #else
61508 char (*f) () = $ac_func;
61509 #endif
61510 #ifdef __cplusplus
61512 #endif
61515 main ()
61517 return f != $ac_func;
61519 return 0;
61521 _ACEOF
61522 rm -f conftest.$ac_objext conftest$ac_exeext
61523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61524 (eval $ac_link) 2>conftest.er1
61525 ac_status=$?
61526 grep -v '^ *+' conftest.er1 >conftest.err
61527 rm -f conftest.er1
61528 cat conftest.err >&5
61529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61530 (exit $ac_status); } &&
61531 { ac_try='test -z "$ac_c_werror_flag"
61532 || test ! -s conftest.err'
61533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61534 (eval $ac_try) 2>&5
61535 ac_status=$?
61536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61537 (exit $ac_status); }; } &&
61538 { ac_try='test -s conftest$ac_exeext'
61539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61540 (eval $ac_try) 2>&5
61541 ac_status=$?
61542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61543 (exit $ac_status); }; }; then
61544 eval "$as_ac_var=yes"
61545 else
61546 echo "$as_me: failed program was:" >&5
61547 sed 's/^/| /' conftest.$ac_ext >&5
61549 eval "$as_ac_var=no"
61551 rm -f conftest.err conftest.$ac_objext \
61552 conftest$ac_exeext conftest.$ac_ext
61554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61556 if test `eval echo '${'$as_ac_var'}'` = yes; then
61557 cat >>confdefs.h <<_ACEOF
61558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61559 _ACEOF
61562 done
61572 echo "$as_me:$LINENO: checking for logf declaration" >&5
61573 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61574 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61575 if test "${glibcxx_cv_func_logf_use+set}" = set; then
61576 echo $ECHO_N "(cached) $ECHO_C" >&6
61577 else
61581 ac_ext=cc
61582 ac_cpp='$CXXCPP $CPPFLAGS'
61583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61587 cat >conftest.$ac_ext <<_ACEOF
61588 /* confdefs.h. */
61589 _ACEOF
61590 cat confdefs.h >>conftest.$ac_ext
61591 cat >>conftest.$ac_ext <<_ACEOF
61592 /* end confdefs.h. */
61593 #include <math.h>
61594 #ifdef HAVE_IEEEFP_H
61595 #include <ieeefp.h>
61596 #endif
61599 main ()
61601 logf(0);
61603 return 0;
61605 _ACEOF
61606 rm -f conftest.$ac_objext
61607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61608 (eval $ac_compile) 2>conftest.er1
61609 ac_status=$?
61610 grep -v '^ *+' conftest.er1 >conftest.err
61611 rm -f conftest.er1
61612 cat conftest.err >&5
61613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61614 (exit $ac_status); } &&
61615 { ac_try='test -z "$ac_cxx_werror_flag"
61616 || test ! -s conftest.err'
61617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61618 (eval $ac_try) 2>&5
61619 ac_status=$?
61620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61621 (exit $ac_status); }; } &&
61622 { ac_try='test -s conftest.$ac_objext'
61623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61624 (eval $ac_try) 2>&5
61625 ac_status=$?
61626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61627 (exit $ac_status); }; }; then
61628 glibcxx_cv_func_logf_use=yes
61629 else
61630 echo "$as_me: failed program was:" >&5
61631 sed 's/^/| /' conftest.$ac_ext >&5
61633 glibcxx_cv_func_logf_use=no
61635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61636 ac_ext=c
61637 ac_cpp='$CPP $CPPFLAGS'
61638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61647 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61649 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61651 for ac_func in logf
61653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61654 echo "$as_me:$LINENO: checking for $ac_func" >&5
61655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61656 if eval "test \"\${$as_ac_var+set}\" = set"; then
61657 echo $ECHO_N "(cached) $ECHO_C" >&6
61658 else
61659 if test x$gcc_no_link = xyes; then
61660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61662 { (exit 1); exit 1; }; }
61664 cat >conftest.$ac_ext <<_ACEOF
61665 /* confdefs.h. */
61666 _ACEOF
61667 cat confdefs.h >>conftest.$ac_ext
61668 cat >>conftest.$ac_ext <<_ACEOF
61669 /* end confdefs.h. */
61670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61672 #define $ac_func innocuous_$ac_func
61674 /* System header to define __stub macros and hopefully few prototypes,
61675 which can conflict with char $ac_func (); below.
61676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61677 <limits.h> exists even on freestanding compilers. */
61679 #ifdef __STDC__
61680 # include <limits.h>
61681 #else
61682 # include <assert.h>
61683 #endif
61685 #undef $ac_func
61687 /* Override any gcc2 internal prototype to avoid an error. */
61688 #ifdef __cplusplus
61689 extern "C"
61691 #endif
61692 /* We use char because int might match the return type of a gcc2
61693 builtin and then its argument prototype would still apply. */
61694 char $ac_func ();
61695 /* The GNU C library defines this for functions which it implements
61696 to always fail with ENOSYS. Some functions are actually named
61697 something starting with __ and the normal name is an alias. */
61698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61699 choke me
61700 #else
61701 char (*f) () = $ac_func;
61702 #endif
61703 #ifdef __cplusplus
61705 #endif
61708 main ()
61710 return f != $ac_func;
61712 return 0;
61714 _ACEOF
61715 rm -f conftest.$ac_objext conftest$ac_exeext
61716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61717 (eval $ac_link) 2>conftest.er1
61718 ac_status=$?
61719 grep -v '^ *+' conftest.er1 >conftest.err
61720 rm -f conftest.er1
61721 cat conftest.err >&5
61722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61723 (exit $ac_status); } &&
61724 { ac_try='test -z "$ac_c_werror_flag"
61725 || test ! -s conftest.err'
61726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61727 (eval $ac_try) 2>&5
61728 ac_status=$?
61729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61730 (exit $ac_status); }; } &&
61731 { ac_try='test -s conftest$ac_exeext'
61732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61733 (eval $ac_try) 2>&5
61734 ac_status=$?
61735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61736 (exit $ac_status); }; }; then
61737 eval "$as_ac_var=yes"
61738 else
61739 echo "$as_me: failed program was:" >&5
61740 sed 's/^/| /' conftest.$ac_ext >&5
61742 eval "$as_ac_var=no"
61744 rm -f conftest.err conftest.$ac_objext \
61745 conftest$ac_exeext conftest.$ac_ext
61747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61749 if test `eval echo '${'$as_ac_var'}'` = yes; then
61750 cat >>confdefs.h <<_ACEOF
61751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61752 _ACEOF
61755 done
61757 else
61759 echo "$as_me:$LINENO: checking for _logf declaration" >&5
61760 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
61761 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61762 if test "${glibcxx_cv_func__logf_use+set}" = set; then
61763 echo $ECHO_N "(cached) $ECHO_C" >&6
61764 else
61768 ac_ext=cc
61769 ac_cpp='$CXXCPP $CPPFLAGS'
61770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61774 cat >conftest.$ac_ext <<_ACEOF
61775 /* confdefs.h. */
61776 _ACEOF
61777 cat confdefs.h >>conftest.$ac_ext
61778 cat >>conftest.$ac_ext <<_ACEOF
61779 /* end confdefs.h. */
61780 #include <math.h>
61781 #ifdef HAVE_IEEEFP_H
61782 #include <ieeefp.h>
61783 #endif
61786 main ()
61788 _logf(0);
61790 return 0;
61792 _ACEOF
61793 rm -f conftest.$ac_objext
61794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61795 (eval $ac_compile) 2>conftest.er1
61796 ac_status=$?
61797 grep -v '^ *+' conftest.er1 >conftest.err
61798 rm -f conftest.er1
61799 cat conftest.err >&5
61800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61801 (exit $ac_status); } &&
61802 { ac_try='test -z "$ac_cxx_werror_flag"
61803 || test ! -s conftest.err'
61804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61805 (eval $ac_try) 2>&5
61806 ac_status=$?
61807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61808 (exit $ac_status); }; } &&
61809 { ac_try='test -s conftest.$ac_objext'
61810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61811 (eval $ac_try) 2>&5
61812 ac_status=$?
61813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61814 (exit $ac_status); }; }; then
61815 glibcxx_cv_func__logf_use=yes
61816 else
61817 echo "$as_me: failed program was:" >&5
61818 sed 's/^/| /' conftest.$ac_ext >&5
61820 glibcxx_cv_func__logf_use=no
61822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61823 ac_ext=c
61824 ac_cpp='$CPP $CPPFLAGS'
61825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
61834 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
61836 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61838 for ac_func in _logf
61840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61841 echo "$as_me:$LINENO: checking for $ac_func" >&5
61842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61843 if eval "test \"\${$as_ac_var+set}\" = set"; then
61844 echo $ECHO_N "(cached) $ECHO_C" >&6
61845 else
61846 if test x$gcc_no_link = xyes; then
61847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61849 { (exit 1); exit 1; }; }
61851 cat >conftest.$ac_ext <<_ACEOF
61852 /* confdefs.h. */
61853 _ACEOF
61854 cat confdefs.h >>conftest.$ac_ext
61855 cat >>conftest.$ac_ext <<_ACEOF
61856 /* end confdefs.h. */
61857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61859 #define $ac_func innocuous_$ac_func
61861 /* System header to define __stub macros and hopefully few prototypes,
61862 which can conflict with char $ac_func (); below.
61863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61864 <limits.h> exists even on freestanding compilers. */
61866 #ifdef __STDC__
61867 # include <limits.h>
61868 #else
61869 # include <assert.h>
61870 #endif
61872 #undef $ac_func
61874 /* Override any gcc2 internal prototype to avoid an error. */
61875 #ifdef __cplusplus
61876 extern "C"
61878 #endif
61879 /* We use char because int might match the return type of a gcc2
61880 builtin and then its argument prototype would still apply. */
61881 char $ac_func ();
61882 /* The GNU C library defines this for functions which it implements
61883 to always fail with ENOSYS. Some functions are actually named
61884 something starting with __ and the normal name is an alias. */
61885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61886 choke me
61887 #else
61888 char (*f) () = $ac_func;
61889 #endif
61890 #ifdef __cplusplus
61892 #endif
61895 main ()
61897 return f != $ac_func;
61899 return 0;
61901 _ACEOF
61902 rm -f conftest.$ac_objext conftest$ac_exeext
61903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61904 (eval $ac_link) 2>conftest.er1
61905 ac_status=$?
61906 grep -v '^ *+' conftest.er1 >conftest.err
61907 rm -f conftest.er1
61908 cat conftest.err >&5
61909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61910 (exit $ac_status); } &&
61911 { ac_try='test -z "$ac_c_werror_flag"
61912 || test ! -s conftest.err'
61913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61914 (eval $ac_try) 2>&5
61915 ac_status=$?
61916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61917 (exit $ac_status); }; } &&
61918 { ac_try='test -s conftest$ac_exeext'
61919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61920 (eval $ac_try) 2>&5
61921 ac_status=$?
61922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61923 (exit $ac_status); }; }; then
61924 eval "$as_ac_var=yes"
61925 else
61926 echo "$as_me: failed program was:" >&5
61927 sed 's/^/| /' conftest.$ac_ext >&5
61929 eval "$as_ac_var=no"
61931 rm -f conftest.err conftest.$ac_objext \
61932 conftest$ac_exeext conftest.$ac_ext
61934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61936 if test `eval echo '${'$as_ac_var'}'` = yes; then
61937 cat >>confdefs.h <<_ACEOF
61938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61939 _ACEOF
61942 done
61952 echo "$as_me:$LINENO: checking for log10f declaration" >&5
61953 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
61954 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61955 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
61956 echo $ECHO_N "(cached) $ECHO_C" >&6
61957 else
61961 ac_ext=cc
61962 ac_cpp='$CXXCPP $CPPFLAGS'
61963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61967 cat >conftest.$ac_ext <<_ACEOF
61968 /* confdefs.h. */
61969 _ACEOF
61970 cat confdefs.h >>conftest.$ac_ext
61971 cat >>conftest.$ac_ext <<_ACEOF
61972 /* end confdefs.h. */
61973 #include <math.h>
61974 #ifdef HAVE_IEEEFP_H
61975 #include <ieeefp.h>
61976 #endif
61979 main ()
61981 log10f(0);
61983 return 0;
61985 _ACEOF
61986 rm -f conftest.$ac_objext
61987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61988 (eval $ac_compile) 2>conftest.er1
61989 ac_status=$?
61990 grep -v '^ *+' conftest.er1 >conftest.err
61991 rm -f conftest.er1
61992 cat conftest.err >&5
61993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61994 (exit $ac_status); } &&
61995 { ac_try='test -z "$ac_cxx_werror_flag"
61996 || test ! -s conftest.err'
61997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61998 (eval $ac_try) 2>&5
61999 ac_status=$?
62000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62001 (exit $ac_status); }; } &&
62002 { ac_try='test -s conftest.$ac_objext'
62003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62004 (eval $ac_try) 2>&5
62005 ac_status=$?
62006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62007 (exit $ac_status); }; }; then
62008 glibcxx_cv_func_log10f_use=yes
62009 else
62010 echo "$as_me: failed program was:" >&5
62011 sed 's/^/| /' conftest.$ac_ext >&5
62013 glibcxx_cv_func_log10f_use=no
62015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62016 ac_ext=c
62017 ac_cpp='$CPP $CPPFLAGS'
62018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62026 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
62027 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
62029 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62031 for ac_func in log10f
62033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62034 echo "$as_me:$LINENO: checking for $ac_func" >&5
62035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62036 if eval "test \"\${$as_ac_var+set}\" = set"; then
62037 echo $ECHO_N "(cached) $ECHO_C" >&6
62038 else
62039 if test x$gcc_no_link = xyes; then
62040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62042 { (exit 1); exit 1; }; }
62044 cat >conftest.$ac_ext <<_ACEOF
62045 /* confdefs.h. */
62046 _ACEOF
62047 cat confdefs.h >>conftest.$ac_ext
62048 cat >>conftest.$ac_ext <<_ACEOF
62049 /* end confdefs.h. */
62050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62052 #define $ac_func innocuous_$ac_func
62054 /* System header to define __stub macros and hopefully few prototypes,
62055 which can conflict with char $ac_func (); below.
62056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62057 <limits.h> exists even on freestanding compilers. */
62059 #ifdef __STDC__
62060 # include <limits.h>
62061 #else
62062 # include <assert.h>
62063 #endif
62065 #undef $ac_func
62067 /* Override any gcc2 internal prototype to avoid an error. */
62068 #ifdef __cplusplus
62069 extern "C"
62071 #endif
62072 /* We use char because int might match the return type of a gcc2
62073 builtin and then its argument prototype would still apply. */
62074 char $ac_func ();
62075 /* The GNU C library defines this for functions which it implements
62076 to always fail with ENOSYS. Some functions are actually named
62077 something starting with __ and the normal name is an alias. */
62078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62079 choke me
62080 #else
62081 char (*f) () = $ac_func;
62082 #endif
62083 #ifdef __cplusplus
62085 #endif
62088 main ()
62090 return f != $ac_func;
62092 return 0;
62094 _ACEOF
62095 rm -f conftest.$ac_objext conftest$ac_exeext
62096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62097 (eval $ac_link) 2>conftest.er1
62098 ac_status=$?
62099 grep -v '^ *+' conftest.er1 >conftest.err
62100 rm -f conftest.er1
62101 cat conftest.err >&5
62102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62103 (exit $ac_status); } &&
62104 { ac_try='test -z "$ac_c_werror_flag"
62105 || test ! -s conftest.err'
62106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62107 (eval $ac_try) 2>&5
62108 ac_status=$?
62109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62110 (exit $ac_status); }; } &&
62111 { ac_try='test -s conftest$ac_exeext'
62112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62113 (eval $ac_try) 2>&5
62114 ac_status=$?
62115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62116 (exit $ac_status); }; }; then
62117 eval "$as_ac_var=yes"
62118 else
62119 echo "$as_me: failed program was:" >&5
62120 sed 's/^/| /' conftest.$ac_ext >&5
62122 eval "$as_ac_var=no"
62124 rm -f conftest.err conftest.$ac_objext \
62125 conftest$ac_exeext conftest.$ac_ext
62127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62129 if test `eval echo '${'$as_ac_var'}'` = yes; then
62130 cat >>confdefs.h <<_ACEOF
62131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62132 _ACEOF
62135 done
62137 else
62139 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
62140 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
62141 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62142 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
62143 echo $ECHO_N "(cached) $ECHO_C" >&6
62144 else
62148 ac_ext=cc
62149 ac_cpp='$CXXCPP $CPPFLAGS'
62150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62154 cat >conftest.$ac_ext <<_ACEOF
62155 /* confdefs.h. */
62156 _ACEOF
62157 cat confdefs.h >>conftest.$ac_ext
62158 cat >>conftest.$ac_ext <<_ACEOF
62159 /* end confdefs.h. */
62160 #include <math.h>
62161 #ifdef HAVE_IEEEFP_H
62162 #include <ieeefp.h>
62163 #endif
62166 main ()
62168 _log10f(0);
62170 return 0;
62172 _ACEOF
62173 rm -f conftest.$ac_objext
62174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62175 (eval $ac_compile) 2>conftest.er1
62176 ac_status=$?
62177 grep -v '^ *+' conftest.er1 >conftest.err
62178 rm -f conftest.er1
62179 cat conftest.err >&5
62180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62181 (exit $ac_status); } &&
62182 { ac_try='test -z "$ac_cxx_werror_flag"
62183 || test ! -s conftest.err'
62184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62185 (eval $ac_try) 2>&5
62186 ac_status=$?
62187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62188 (exit $ac_status); }; } &&
62189 { ac_try='test -s conftest.$ac_objext'
62190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62191 (eval $ac_try) 2>&5
62192 ac_status=$?
62193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62194 (exit $ac_status); }; }; then
62195 glibcxx_cv_func__log10f_use=yes
62196 else
62197 echo "$as_me: failed program was:" >&5
62198 sed 's/^/| /' conftest.$ac_ext >&5
62200 glibcxx_cv_func__log10f_use=no
62202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62203 ac_ext=c
62204 ac_cpp='$CPP $CPPFLAGS'
62205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62213 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
62214 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
62216 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62218 for ac_func in _log10f
62220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62221 echo "$as_me:$LINENO: checking for $ac_func" >&5
62222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62223 if eval "test \"\${$as_ac_var+set}\" = set"; then
62224 echo $ECHO_N "(cached) $ECHO_C" >&6
62225 else
62226 if test x$gcc_no_link = xyes; then
62227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62229 { (exit 1); exit 1; }; }
62231 cat >conftest.$ac_ext <<_ACEOF
62232 /* confdefs.h. */
62233 _ACEOF
62234 cat confdefs.h >>conftest.$ac_ext
62235 cat >>conftest.$ac_ext <<_ACEOF
62236 /* end confdefs.h. */
62237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62239 #define $ac_func innocuous_$ac_func
62241 /* System header to define __stub macros and hopefully few prototypes,
62242 which can conflict with char $ac_func (); below.
62243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62244 <limits.h> exists even on freestanding compilers. */
62246 #ifdef __STDC__
62247 # include <limits.h>
62248 #else
62249 # include <assert.h>
62250 #endif
62252 #undef $ac_func
62254 /* Override any gcc2 internal prototype to avoid an error. */
62255 #ifdef __cplusplus
62256 extern "C"
62258 #endif
62259 /* We use char because int might match the return type of a gcc2
62260 builtin and then its argument prototype would still apply. */
62261 char $ac_func ();
62262 /* The GNU C library defines this for functions which it implements
62263 to always fail with ENOSYS. Some functions are actually named
62264 something starting with __ and the normal name is an alias. */
62265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62266 choke me
62267 #else
62268 char (*f) () = $ac_func;
62269 #endif
62270 #ifdef __cplusplus
62272 #endif
62275 main ()
62277 return f != $ac_func;
62279 return 0;
62281 _ACEOF
62282 rm -f conftest.$ac_objext conftest$ac_exeext
62283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62284 (eval $ac_link) 2>conftest.er1
62285 ac_status=$?
62286 grep -v '^ *+' conftest.er1 >conftest.err
62287 rm -f conftest.er1
62288 cat conftest.err >&5
62289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62290 (exit $ac_status); } &&
62291 { ac_try='test -z "$ac_c_werror_flag"
62292 || test ! -s conftest.err'
62293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62294 (eval $ac_try) 2>&5
62295 ac_status=$?
62296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62297 (exit $ac_status); }; } &&
62298 { ac_try='test -s conftest$ac_exeext'
62299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62300 (eval $ac_try) 2>&5
62301 ac_status=$?
62302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62303 (exit $ac_status); }; }; then
62304 eval "$as_ac_var=yes"
62305 else
62306 echo "$as_me: failed program was:" >&5
62307 sed 's/^/| /' conftest.$ac_ext >&5
62309 eval "$as_ac_var=no"
62311 rm -f conftest.err conftest.$ac_objext \
62312 conftest$ac_exeext conftest.$ac_ext
62314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62316 if test `eval echo '${'$as_ac_var'}'` = yes; then
62317 cat >>confdefs.h <<_ACEOF
62318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62319 _ACEOF
62322 done
62332 echo "$as_me:$LINENO: checking for modff declaration" >&5
62333 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62334 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62335 if test "${glibcxx_cv_func_modff_use+set}" = set; then
62336 echo $ECHO_N "(cached) $ECHO_C" >&6
62337 else
62341 ac_ext=cc
62342 ac_cpp='$CXXCPP $CPPFLAGS'
62343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62347 cat >conftest.$ac_ext <<_ACEOF
62348 /* confdefs.h. */
62349 _ACEOF
62350 cat confdefs.h >>conftest.$ac_ext
62351 cat >>conftest.$ac_ext <<_ACEOF
62352 /* end confdefs.h. */
62353 #include <math.h>
62355 main ()
62357 modff(0, 0);
62359 return 0;
62361 _ACEOF
62362 rm -f conftest.$ac_objext
62363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62364 (eval $ac_compile) 2>conftest.er1
62365 ac_status=$?
62366 grep -v '^ *+' conftest.er1 >conftest.err
62367 rm -f conftest.er1
62368 cat conftest.err >&5
62369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62370 (exit $ac_status); } &&
62371 { ac_try='test -z "$ac_cxx_werror_flag"
62372 || test ! -s conftest.err'
62373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62374 (eval $ac_try) 2>&5
62375 ac_status=$?
62376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62377 (exit $ac_status); }; } &&
62378 { ac_try='test -s conftest.$ac_objext'
62379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62380 (eval $ac_try) 2>&5
62381 ac_status=$?
62382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62383 (exit $ac_status); }; }; then
62384 glibcxx_cv_func_modff_use=yes
62385 else
62386 echo "$as_me: failed program was:" >&5
62387 sed 's/^/| /' conftest.$ac_ext >&5
62389 glibcxx_cv_func_modff_use=no
62391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62392 ac_ext=c
62393 ac_cpp='$CPP $CPPFLAGS'
62394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62403 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62405 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62407 for ac_func in modff
62409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62410 echo "$as_me:$LINENO: checking for $ac_func" >&5
62411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62412 if eval "test \"\${$as_ac_var+set}\" = set"; then
62413 echo $ECHO_N "(cached) $ECHO_C" >&6
62414 else
62415 if test x$gcc_no_link = xyes; then
62416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62418 { (exit 1); exit 1; }; }
62420 cat >conftest.$ac_ext <<_ACEOF
62421 /* confdefs.h. */
62422 _ACEOF
62423 cat confdefs.h >>conftest.$ac_ext
62424 cat >>conftest.$ac_ext <<_ACEOF
62425 /* end confdefs.h. */
62426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62428 #define $ac_func innocuous_$ac_func
62430 /* System header to define __stub macros and hopefully few prototypes,
62431 which can conflict with char $ac_func (); below.
62432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62433 <limits.h> exists even on freestanding compilers. */
62435 #ifdef __STDC__
62436 # include <limits.h>
62437 #else
62438 # include <assert.h>
62439 #endif
62441 #undef $ac_func
62443 /* Override any gcc2 internal prototype to avoid an error. */
62444 #ifdef __cplusplus
62445 extern "C"
62447 #endif
62448 /* We use char because int might match the return type of a gcc2
62449 builtin and then its argument prototype would still apply. */
62450 char $ac_func ();
62451 /* The GNU C library defines this for functions which it implements
62452 to always fail with ENOSYS. Some functions are actually named
62453 something starting with __ and the normal name is an alias. */
62454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62455 choke me
62456 #else
62457 char (*f) () = $ac_func;
62458 #endif
62459 #ifdef __cplusplus
62461 #endif
62464 main ()
62466 return f != $ac_func;
62468 return 0;
62470 _ACEOF
62471 rm -f conftest.$ac_objext conftest$ac_exeext
62472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62473 (eval $ac_link) 2>conftest.er1
62474 ac_status=$?
62475 grep -v '^ *+' conftest.er1 >conftest.err
62476 rm -f conftest.er1
62477 cat conftest.err >&5
62478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62479 (exit $ac_status); } &&
62480 { ac_try='test -z "$ac_c_werror_flag"
62481 || test ! -s conftest.err'
62482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62483 (eval $ac_try) 2>&5
62484 ac_status=$?
62485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62486 (exit $ac_status); }; } &&
62487 { ac_try='test -s conftest$ac_exeext'
62488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62489 (eval $ac_try) 2>&5
62490 ac_status=$?
62491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62492 (exit $ac_status); }; }; then
62493 eval "$as_ac_var=yes"
62494 else
62495 echo "$as_me: failed program was:" >&5
62496 sed 's/^/| /' conftest.$ac_ext >&5
62498 eval "$as_ac_var=no"
62500 rm -f conftest.err conftest.$ac_objext \
62501 conftest$ac_exeext conftest.$ac_ext
62503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62505 if test `eval echo '${'$as_ac_var'}'` = yes; then
62506 cat >>confdefs.h <<_ACEOF
62507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62508 _ACEOF
62511 done
62513 else
62515 echo "$as_me:$LINENO: checking for _modff declaration" >&5
62516 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
62517 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62518 if test "${glibcxx_cv_func__modff_use+set}" = set; then
62519 echo $ECHO_N "(cached) $ECHO_C" >&6
62520 else
62524 ac_ext=cc
62525 ac_cpp='$CXXCPP $CPPFLAGS'
62526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62530 cat >conftest.$ac_ext <<_ACEOF
62531 /* confdefs.h. */
62532 _ACEOF
62533 cat confdefs.h >>conftest.$ac_ext
62534 cat >>conftest.$ac_ext <<_ACEOF
62535 /* end confdefs.h. */
62536 #include <math.h>
62538 main ()
62540 _modff(0, 0);
62542 return 0;
62544 _ACEOF
62545 rm -f conftest.$ac_objext
62546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62547 (eval $ac_compile) 2>conftest.er1
62548 ac_status=$?
62549 grep -v '^ *+' conftest.er1 >conftest.err
62550 rm -f conftest.er1
62551 cat conftest.err >&5
62552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62553 (exit $ac_status); } &&
62554 { ac_try='test -z "$ac_cxx_werror_flag"
62555 || test ! -s conftest.err'
62556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62557 (eval $ac_try) 2>&5
62558 ac_status=$?
62559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62560 (exit $ac_status); }; } &&
62561 { ac_try='test -s conftest.$ac_objext'
62562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62563 (eval $ac_try) 2>&5
62564 ac_status=$?
62565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62566 (exit $ac_status); }; }; then
62567 glibcxx_cv_func__modff_use=yes
62568 else
62569 echo "$as_me: failed program was:" >&5
62570 sed 's/^/| /' conftest.$ac_ext >&5
62572 glibcxx_cv_func__modff_use=no
62574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62575 ac_ext=c
62576 ac_cpp='$CPP $CPPFLAGS'
62577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62585 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62586 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62588 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62590 for ac_func in _modff
62592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62593 echo "$as_me:$LINENO: checking for $ac_func" >&5
62594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62595 if eval "test \"\${$as_ac_var+set}\" = set"; then
62596 echo $ECHO_N "(cached) $ECHO_C" >&6
62597 else
62598 if test x$gcc_no_link = xyes; then
62599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62601 { (exit 1); exit 1; }; }
62603 cat >conftest.$ac_ext <<_ACEOF
62604 /* confdefs.h. */
62605 _ACEOF
62606 cat confdefs.h >>conftest.$ac_ext
62607 cat >>conftest.$ac_ext <<_ACEOF
62608 /* end confdefs.h. */
62609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62611 #define $ac_func innocuous_$ac_func
62613 /* System header to define __stub macros and hopefully few prototypes,
62614 which can conflict with char $ac_func (); below.
62615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62616 <limits.h> exists even on freestanding compilers. */
62618 #ifdef __STDC__
62619 # include <limits.h>
62620 #else
62621 # include <assert.h>
62622 #endif
62624 #undef $ac_func
62626 /* Override any gcc2 internal prototype to avoid an error. */
62627 #ifdef __cplusplus
62628 extern "C"
62630 #endif
62631 /* We use char because int might match the return type of a gcc2
62632 builtin and then its argument prototype would still apply. */
62633 char $ac_func ();
62634 /* The GNU C library defines this for functions which it implements
62635 to always fail with ENOSYS. Some functions are actually named
62636 something starting with __ and the normal name is an alias. */
62637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62638 choke me
62639 #else
62640 char (*f) () = $ac_func;
62641 #endif
62642 #ifdef __cplusplus
62644 #endif
62647 main ()
62649 return f != $ac_func;
62651 return 0;
62653 _ACEOF
62654 rm -f conftest.$ac_objext conftest$ac_exeext
62655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62656 (eval $ac_link) 2>conftest.er1
62657 ac_status=$?
62658 grep -v '^ *+' conftest.er1 >conftest.err
62659 rm -f conftest.er1
62660 cat conftest.err >&5
62661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62662 (exit $ac_status); } &&
62663 { ac_try='test -z "$ac_c_werror_flag"
62664 || test ! -s conftest.err'
62665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62666 (eval $ac_try) 2>&5
62667 ac_status=$?
62668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62669 (exit $ac_status); }; } &&
62670 { ac_try='test -s conftest$ac_exeext'
62671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62672 (eval $ac_try) 2>&5
62673 ac_status=$?
62674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62675 (exit $ac_status); }; }; then
62676 eval "$as_ac_var=yes"
62677 else
62678 echo "$as_me: failed program was:" >&5
62679 sed 's/^/| /' conftest.$ac_ext >&5
62681 eval "$as_ac_var=no"
62683 rm -f conftest.err conftest.$ac_objext \
62684 conftest$ac_exeext conftest.$ac_ext
62686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62688 if test `eval echo '${'$as_ac_var'}'` = yes; then
62689 cat >>confdefs.h <<_ACEOF
62690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62691 _ACEOF
62694 done
62704 echo "$as_me:$LINENO: checking for modf declaration" >&5
62705 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62706 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62707 if test "${glibcxx_cv_func_modf_use+set}" = set; then
62708 echo $ECHO_N "(cached) $ECHO_C" >&6
62709 else
62713 ac_ext=cc
62714 ac_cpp='$CXXCPP $CPPFLAGS'
62715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62719 cat >conftest.$ac_ext <<_ACEOF
62720 /* confdefs.h. */
62721 _ACEOF
62722 cat confdefs.h >>conftest.$ac_ext
62723 cat >>conftest.$ac_ext <<_ACEOF
62724 /* end confdefs.h. */
62725 #include <math.h>
62727 main ()
62729 modf(0, 0);
62731 return 0;
62733 _ACEOF
62734 rm -f conftest.$ac_objext
62735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62736 (eval $ac_compile) 2>conftest.er1
62737 ac_status=$?
62738 grep -v '^ *+' conftest.er1 >conftest.err
62739 rm -f conftest.er1
62740 cat conftest.err >&5
62741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62742 (exit $ac_status); } &&
62743 { ac_try='test -z "$ac_cxx_werror_flag"
62744 || test ! -s conftest.err'
62745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62746 (eval $ac_try) 2>&5
62747 ac_status=$?
62748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62749 (exit $ac_status); }; } &&
62750 { ac_try='test -s conftest.$ac_objext'
62751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62752 (eval $ac_try) 2>&5
62753 ac_status=$?
62754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62755 (exit $ac_status); }; }; then
62756 glibcxx_cv_func_modf_use=yes
62757 else
62758 echo "$as_me: failed program was:" >&5
62759 sed 's/^/| /' conftest.$ac_ext >&5
62761 glibcxx_cv_func_modf_use=no
62763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62764 ac_ext=c
62765 ac_cpp='$CPP $CPPFLAGS'
62766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62774 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
62775 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
62777 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62779 for ac_func in modf
62781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62782 echo "$as_me:$LINENO: checking for $ac_func" >&5
62783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62784 if eval "test \"\${$as_ac_var+set}\" = set"; then
62785 echo $ECHO_N "(cached) $ECHO_C" >&6
62786 else
62787 if test x$gcc_no_link = xyes; then
62788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62790 { (exit 1); exit 1; }; }
62792 cat >conftest.$ac_ext <<_ACEOF
62793 /* confdefs.h. */
62794 _ACEOF
62795 cat confdefs.h >>conftest.$ac_ext
62796 cat >>conftest.$ac_ext <<_ACEOF
62797 /* end confdefs.h. */
62798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62800 #define $ac_func innocuous_$ac_func
62802 /* System header to define __stub macros and hopefully few prototypes,
62803 which can conflict with char $ac_func (); below.
62804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62805 <limits.h> exists even on freestanding compilers. */
62807 #ifdef __STDC__
62808 # include <limits.h>
62809 #else
62810 # include <assert.h>
62811 #endif
62813 #undef $ac_func
62815 /* Override any gcc2 internal prototype to avoid an error. */
62816 #ifdef __cplusplus
62817 extern "C"
62819 #endif
62820 /* We use char because int might match the return type of a gcc2
62821 builtin and then its argument prototype would still apply. */
62822 char $ac_func ();
62823 /* The GNU C library defines this for functions which it implements
62824 to always fail with ENOSYS. Some functions are actually named
62825 something starting with __ and the normal name is an alias. */
62826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62827 choke me
62828 #else
62829 char (*f) () = $ac_func;
62830 #endif
62831 #ifdef __cplusplus
62833 #endif
62836 main ()
62838 return f != $ac_func;
62840 return 0;
62842 _ACEOF
62843 rm -f conftest.$ac_objext conftest$ac_exeext
62844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62845 (eval $ac_link) 2>conftest.er1
62846 ac_status=$?
62847 grep -v '^ *+' conftest.er1 >conftest.err
62848 rm -f conftest.er1
62849 cat conftest.err >&5
62850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62851 (exit $ac_status); } &&
62852 { ac_try='test -z "$ac_c_werror_flag"
62853 || test ! -s conftest.err'
62854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62855 (eval $ac_try) 2>&5
62856 ac_status=$?
62857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62858 (exit $ac_status); }; } &&
62859 { ac_try='test -s conftest$ac_exeext'
62860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62861 (eval $ac_try) 2>&5
62862 ac_status=$?
62863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62864 (exit $ac_status); }; }; then
62865 eval "$as_ac_var=yes"
62866 else
62867 echo "$as_me: failed program was:" >&5
62868 sed 's/^/| /' conftest.$ac_ext >&5
62870 eval "$as_ac_var=no"
62872 rm -f conftest.err conftest.$ac_objext \
62873 conftest$ac_exeext conftest.$ac_ext
62875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62877 if test `eval echo '${'$as_ac_var'}'` = yes; then
62878 cat >>confdefs.h <<_ACEOF
62879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62880 _ACEOF
62883 done
62885 else
62887 echo "$as_me:$LINENO: checking for _modf declaration" >&5
62888 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
62889 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62890 if test "${glibcxx_cv_func__modf_use+set}" = set; then
62891 echo $ECHO_N "(cached) $ECHO_C" >&6
62892 else
62896 ac_ext=cc
62897 ac_cpp='$CXXCPP $CPPFLAGS'
62898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62902 cat >conftest.$ac_ext <<_ACEOF
62903 /* confdefs.h. */
62904 _ACEOF
62905 cat confdefs.h >>conftest.$ac_ext
62906 cat >>conftest.$ac_ext <<_ACEOF
62907 /* end confdefs.h. */
62908 #include <math.h>
62910 main ()
62912 _modf(0, 0);
62914 return 0;
62916 _ACEOF
62917 rm -f conftest.$ac_objext
62918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62919 (eval $ac_compile) 2>conftest.er1
62920 ac_status=$?
62921 grep -v '^ *+' conftest.er1 >conftest.err
62922 rm -f conftest.er1
62923 cat conftest.err >&5
62924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62925 (exit $ac_status); } &&
62926 { ac_try='test -z "$ac_cxx_werror_flag"
62927 || test ! -s conftest.err'
62928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62929 (eval $ac_try) 2>&5
62930 ac_status=$?
62931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62932 (exit $ac_status); }; } &&
62933 { ac_try='test -s conftest.$ac_objext'
62934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62935 (eval $ac_try) 2>&5
62936 ac_status=$?
62937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62938 (exit $ac_status); }; }; then
62939 glibcxx_cv_func__modf_use=yes
62940 else
62941 echo "$as_me: failed program was:" >&5
62942 sed 's/^/| /' conftest.$ac_ext >&5
62944 glibcxx_cv_func__modf_use=no
62946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62947 ac_ext=c
62948 ac_cpp='$CPP $CPPFLAGS'
62949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62957 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
62958 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
62960 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62962 for ac_func in _modf
62964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62965 echo "$as_me:$LINENO: checking for $ac_func" >&5
62966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62967 if eval "test \"\${$as_ac_var+set}\" = set"; then
62968 echo $ECHO_N "(cached) $ECHO_C" >&6
62969 else
62970 if test x$gcc_no_link = xyes; then
62971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62973 { (exit 1); exit 1; }; }
62975 cat >conftest.$ac_ext <<_ACEOF
62976 /* confdefs.h. */
62977 _ACEOF
62978 cat confdefs.h >>conftest.$ac_ext
62979 cat >>conftest.$ac_ext <<_ACEOF
62980 /* end confdefs.h. */
62981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62983 #define $ac_func innocuous_$ac_func
62985 /* System header to define __stub macros and hopefully few prototypes,
62986 which can conflict with char $ac_func (); below.
62987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62988 <limits.h> exists even on freestanding compilers. */
62990 #ifdef __STDC__
62991 # include <limits.h>
62992 #else
62993 # include <assert.h>
62994 #endif
62996 #undef $ac_func
62998 /* Override any gcc2 internal prototype to avoid an error. */
62999 #ifdef __cplusplus
63000 extern "C"
63002 #endif
63003 /* We use char because int might match the return type of a gcc2
63004 builtin and then its argument prototype would still apply. */
63005 char $ac_func ();
63006 /* The GNU C library defines this for functions which it implements
63007 to always fail with ENOSYS. Some functions are actually named
63008 something starting with __ and the normal name is an alias. */
63009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63010 choke me
63011 #else
63012 char (*f) () = $ac_func;
63013 #endif
63014 #ifdef __cplusplus
63016 #endif
63019 main ()
63021 return f != $ac_func;
63023 return 0;
63025 _ACEOF
63026 rm -f conftest.$ac_objext conftest$ac_exeext
63027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63028 (eval $ac_link) 2>conftest.er1
63029 ac_status=$?
63030 grep -v '^ *+' conftest.er1 >conftest.err
63031 rm -f conftest.er1
63032 cat conftest.err >&5
63033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63034 (exit $ac_status); } &&
63035 { ac_try='test -z "$ac_c_werror_flag"
63036 || test ! -s conftest.err'
63037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63038 (eval $ac_try) 2>&5
63039 ac_status=$?
63040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63041 (exit $ac_status); }; } &&
63042 { ac_try='test -s conftest$ac_exeext'
63043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63044 (eval $ac_try) 2>&5
63045 ac_status=$?
63046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63047 (exit $ac_status); }; }; then
63048 eval "$as_ac_var=yes"
63049 else
63050 echo "$as_me: failed program was:" >&5
63051 sed 's/^/| /' conftest.$ac_ext >&5
63053 eval "$as_ac_var=no"
63055 rm -f conftest.err conftest.$ac_objext \
63056 conftest$ac_exeext conftest.$ac_ext
63058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63060 if test `eval echo '${'$as_ac_var'}'` = yes; then
63061 cat >>confdefs.h <<_ACEOF
63062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63063 _ACEOF
63066 done
63076 echo "$as_me:$LINENO: checking for powf declaration" >&5
63077 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
63078 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63079 if test "${glibcxx_cv_func_powf_use+set}" = set; then
63080 echo $ECHO_N "(cached) $ECHO_C" >&6
63081 else
63085 ac_ext=cc
63086 ac_cpp='$CXXCPP $CPPFLAGS'
63087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63091 cat >conftest.$ac_ext <<_ACEOF
63092 /* confdefs.h. */
63093 _ACEOF
63094 cat confdefs.h >>conftest.$ac_ext
63095 cat >>conftest.$ac_ext <<_ACEOF
63096 /* end confdefs.h. */
63097 #include <math.h>
63099 main ()
63101 powf(0, 0);
63103 return 0;
63105 _ACEOF
63106 rm -f conftest.$ac_objext
63107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63108 (eval $ac_compile) 2>conftest.er1
63109 ac_status=$?
63110 grep -v '^ *+' conftest.er1 >conftest.err
63111 rm -f conftest.er1
63112 cat conftest.err >&5
63113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63114 (exit $ac_status); } &&
63115 { ac_try='test -z "$ac_cxx_werror_flag"
63116 || test ! -s conftest.err'
63117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63118 (eval $ac_try) 2>&5
63119 ac_status=$?
63120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63121 (exit $ac_status); }; } &&
63122 { ac_try='test -s conftest.$ac_objext'
63123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63124 (eval $ac_try) 2>&5
63125 ac_status=$?
63126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63127 (exit $ac_status); }; }; then
63128 glibcxx_cv_func_powf_use=yes
63129 else
63130 echo "$as_me: failed program was:" >&5
63131 sed 's/^/| /' conftest.$ac_ext >&5
63133 glibcxx_cv_func_powf_use=no
63135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63136 ac_ext=c
63137 ac_cpp='$CPP $CPPFLAGS'
63138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63146 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
63147 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
63149 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63151 for ac_func in powf
63153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63154 echo "$as_me:$LINENO: checking for $ac_func" >&5
63155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63156 if eval "test \"\${$as_ac_var+set}\" = set"; then
63157 echo $ECHO_N "(cached) $ECHO_C" >&6
63158 else
63159 if test x$gcc_no_link = xyes; then
63160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63162 { (exit 1); exit 1; }; }
63164 cat >conftest.$ac_ext <<_ACEOF
63165 /* confdefs.h. */
63166 _ACEOF
63167 cat confdefs.h >>conftest.$ac_ext
63168 cat >>conftest.$ac_ext <<_ACEOF
63169 /* end confdefs.h. */
63170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63172 #define $ac_func innocuous_$ac_func
63174 /* System header to define __stub macros and hopefully few prototypes,
63175 which can conflict with char $ac_func (); below.
63176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63177 <limits.h> exists even on freestanding compilers. */
63179 #ifdef __STDC__
63180 # include <limits.h>
63181 #else
63182 # include <assert.h>
63183 #endif
63185 #undef $ac_func
63187 /* Override any gcc2 internal prototype to avoid an error. */
63188 #ifdef __cplusplus
63189 extern "C"
63191 #endif
63192 /* We use char because int might match the return type of a gcc2
63193 builtin and then its argument prototype would still apply. */
63194 char $ac_func ();
63195 /* The GNU C library defines this for functions which it implements
63196 to always fail with ENOSYS. Some functions are actually named
63197 something starting with __ and the normal name is an alias. */
63198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63199 choke me
63200 #else
63201 char (*f) () = $ac_func;
63202 #endif
63203 #ifdef __cplusplus
63205 #endif
63208 main ()
63210 return f != $ac_func;
63212 return 0;
63214 _ACEOF
63215 rm -f conftest.$ac_objext conftest$ac_exeext
63216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63217 (eval $ac_link) 2>conftest.er1
63218 ac_status=$?
63219 grep -v '^ *+' conftest.er1 >conftest.err
63220 rm -f conftest.er1
63221 cat conftest.err >&5
63222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63223 (exit $ac_status); } &&
63224 { ac_try='test -z "$ac_c_werror_flag"
63225 || test ! -s conftest.err'
63226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63227 (eval $ac_try) 2>&5
63228 ac_status=$?
63229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63230 (exit $ac_status); }; } &&
63231 { ac_try='test -s conftest$ac_exeext'
63232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63233 (eval $ac_try) 2>&5
63234 ac_status=$?
63235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63236 (exit $ac_status); }; }; then
63237 eval "$as_ac_var=yes"
63238 else
63239 echo "$as_me: failed program was:" >&5
63240 sed 's/^/| /' conftest.$ac_ext >&5
63242 eval "$as_ac_var=no"
63244 rm -f conftest.err conftest.$ac_objext \
63245 conftest$ac_exeext conftest.$ac_ext
63247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63249 if test `eval echo '${'$as_ac_var'}'` = yes; then
63250 cat >>confdefs.h <<_ACEOF
63251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63252 _ACEOF
63255 done
63257 else
63259 echo "$as_me:$LINENO: checking for _powf declaration" >&5
63260 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63261 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63262 if test "${glibcxx_cv_func__powf_use+set}" = set; then
63263 echo $ECHO_N "(cached) $ECHO_C" >&6
63264 else
63268 ac_ext=cc
63269 ac_cpp='$CXXCPP $CPPFLAGS'
63270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63274 cat >conftest.$ac_ext <<_ACEOF
63275 /* confdefs.h. */
63276 _ACEOF
63277 cat confdefs.h >>conftest.$ac_ext
63278 cat >>conftest.$ac_ext <<_ACEOF
63279 /* end confdefs.h. */
63280 #include <math.h>
63282 main ()
63284 _powf(0, 0);
63286 return 0;
63288 _ACEOF
63289 rm -f conftest.$ac_objext
63290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63291 (eval $ac_compile) 2>conftest.er1
63292 ac_status=$?
63293 grep -v '^ *+' conftest.er1 >conftest.err
63294 rm -f conftest.er1
63295 cat conftest.err >&5
63296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63297 (exit $ac_status); } &&
63298 { ac_try='test -z "$ac_cxx_werror_flag"
63299 || test ! -s conftest.err'
63300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63301 (eval $ac_try) 2>&5
63302 ac_status=$?
63303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63304 (exit $ac_status); }; } &&
63305 { ac_try='test -s conftest.$ac_objext'
63306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63307 (eval $ac_try) 2>&5
63308 ac_status=$?
63309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63310 (exit $ac_status); }; }; then
63311 glibcxx_cv_func__powf_use=yes
63312 else
63313 echo "$as_me: failed program was:" >&5
63314 sed 's/^/| /' conftest.$ac_ext >&5
63316 glibcxx_cv_func__powf_use=no
63318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63319 ac_ext=c
63320 ac_cpp='$CPP $CPPFLAGS'
63321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63329 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63330 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63332 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63334 for ac_func in _powf
63336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63337 echo "$as_me:$LINENO: checking for $ac_func" >&5
63338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63339 if eval "test \"\${$as_ac_var+set}\" = set"; then
63340 echo $ECHO_N "(cached) $ECHO_C" >&6
63341 else
63342 if test x$gcc_no_link = xyes; then
63343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63345 { (exit 1); exit 1; }; }
63347 cat >conftest.$ac_ext <<_ACEOF
63348 /* confdefs.h. */
63349 _ACEOF
63350 cat confdefs.h >>conftest.$ac_ext
63351 cat >>conftest.$ac_ext <<_ACEOF
63352 /* end confdefs.h. */
63353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63355 #define $ac_func innocuous_$ac_func
63357 /* System header to define __stub macros and hopefully few prototypes,
63358 which can conflict with char $ac_func (); below.
63359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63360 <limits.h> exists even on freestanding compilers. */
63362 #ifdef __STDC__
63363 # include <limits.h>
63364 #else
63365 # include <assert.h>
63366 #endif
63368 #undef $ac_func
63370 /* Override any gcc2 internal prototype to avoid an error. */
63371 #ifdef __cplusplus
63372 extern "C"
63374 #endif
63375 /* We use char because int might match the return type of a gcc2
63376 builtin and then its argument prototype would still apply. */
63377 char $ac_func ();
63378 /* The GNU C library defines this for functions which it implements
63379 to always fail with ENOSYS. Some functions are actually named
63380 something starting with __ and the normal name is an alias. */
63381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63382 choke me
63383 #else
63384 char (*f) () = $ac_func;
63385 #endif
63386 #ifdef __cplusplus
63388 #endif
63391 main ()
63393 return f != $ac_func;
63395 return 0;
63397 _ACEOF
63398 rm -f conftest.$ac_objext conftest$ac_exeext
63399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63400 (eval $ac_link) 2>conftest.er1
63401 ac_status=$?
63402 grep -v '^ *+' conftest.er1 >conftest.err
63403 rm -f conftest.er1
63404 cat conftest.err >&5
63405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63406 (exit $ac_status); } &&
63407 { ac_try='test -z "$ac_c_werror_flag"
63408 || test ! -s conftest.err'
63409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63410 (eval $ac_try) 2>&5
63411 ac_status=$?
63412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63413 (exit $ac_status); }; } &&
63414 { ac_try='test -s conftest$ac_exeext'
63415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63416 (eval $ac_try) 2>&5
63417 ac_status=$?
63418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63419 (exit $ac_status); }; }; then
63420 eval "$as_ac_var=yes"
63421 else
63422 echo "$as_me: failed program was:" >&5
63423 sed 's/^/| /' conftest.$ac_ext >&5
63425 eval "$as_ac_var=no"
63427 rm -f conftest.err conftest.$ac_objext \
63428 conftest$ac_exeext conftest.$ac_ext
63430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63432 if test `eval echo '${'$as_ac_var'}'` = yes; then
63433 cat >>confdefs.h <<_ACEOF
63434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63435 _ACEOF
63438 done
63448 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63449 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63450 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63451 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63452 echo $ECHO_N "(cached) $ECHO_C" >&6
63453 else
63457 ac_ext=cc
63458 ac_cpp='$CXXCPP $CPPFLAGS'
63459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63463 cat >conftest.$ac_ext <<_ACEOF
63464 /* confdefs.h. */
63465 _ACEOF
63466 cat confdefs.h >>conftest.$ac_ext
63467 cat >>conftest.$ac_ext <<_ACEOF
63468 /* end confdefs.h. */
63469 #include <math.h>
63470 #ifdef HAVE_IEEEFP_H
63471 #include <ieeefp.h>
63472 #endif
63475 main ()
63477 sqrtf(0);
63479 return 0;
63481 _ACEOF
63482 rm -f conftest.$ac_objext
63483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63484 (eval $ac_compile) 2>conftest.er1
63485 ac_status=$?
63486 grep -v '^ *+' conftest.er1 >conftest.err
63487 rm -f conftest.er1
63488 cat conftest.err >&5
63489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63490 (exit $ac_status); } &&
63491 { ac_try='test -z "$ac_cxx_werror_flag"
63492 || test ! -s conftest.err'
63493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63494 (eval $ac_try) 2>&5
63495 ac_status=$?
63496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63497 (exit $ac_status); }; } &&
63498 { ac_try='test -s conftest.$ac_objext'
63499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63500 (eval $ac_try) 2>&5
63501 ac_status=$?
63502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63503 (exit $ac_status); }; }; then
63504 glibcxx_cv_func_sqrtf_use=yes
63505 else
63506 echo "$as_me: failed program was:" >&5
63507 sed 's/^/| /' conftest.$ac_ext >&5
63509 glibcxx_cv_func_sqrtf_use=no
63511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63512 ac_ext=c
63513 ac_cpp='$CPP $CPPFLAGS'
63514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63523 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63525 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63527 for ac_func in sqrtf
63529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63530 echo "$as_me:$LINENO: checking for $ac_func" >&5
63531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63532 if eval "test \"\${$as_ac_var+set}\" = set"; then
63533 echo $ECHO_N "(cached) $ECHO_C" >&6
63534 else
63535 if test x$gcc_no_link = xyes; then
63536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63538 { (exit 1); exit 1; }; }
63540 cat >conftest.$ac_ext <<_ACEOF
63541 /* confdefs.h. */
63542 _ACEOF
63543 cat confdefs.h >>conftest.$ac_ext
63544 cat >>conftest.$ac_ext <<_ACEOF
63545 /* end confdefs.h. */
63546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63548 #define $ac_func innocuous_$ac_func
63550 /* System header to define __stub macros and hopefully few prototypes,
63551 which can conflict with char $ac_func (); below.
63552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63553 <limits.h> exists even on freestanding compilers. */
63555 #ifdef __STDC__
63556 # include <limits.h>
63557 #else
63558 # include <assert.h>
63559 #endif
63561 #undef $ac_func
63563 /* Override any gcc2 internal prototype to avoid an error. */
63564 #ifdef __cplusplus
63565 extern "C"
63567 #endif
63568 /* We use char because int might match the return type of a gcc2
63569 builtin and then its argument prototype would still apply. */
63570 char $ac_func ();
63571 /* The GNU C library defines this for functions which it implements
63572 to always fail with ENOSYS. Some functions are actually named
63573 something starting with __ and the normal name is an alias. */
63574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63575 choke me
63576 #else
63577 char (*f) () = $ac_func;
63578 #endif
63579 #ifdef __cplusplus
63581 #endif
63584 main ()
63586 return f != $ac_func;
63588 return 0;
63590 _ACEOF
63591 rm -f conftest.$ac_objext conftest$ac_exeext
63592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63593 (eval $ac_link) 2>conftest.er1
63594 ac_status=$?
63595 grep -v '^ *+' conftest.er1 >conftest.err
63596 rm -f conftest.er1
63597 cat conftest.err >&5
63598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63599 (exit $ac_status); } &&
63600 { ac_try='test -z "$ac_c_werror_flag"
63601 || test ! -s conftest.err'
63602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63603 (eval $ac_try) 2>&5
63604 ac_status=$?
63605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63606 (exit $ac_status); }; } &&
63607 { ac_try='test -s conftest$ac_exeext'
63608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63609 (eval $ac_try) 2>&5
63610 ac_status=$?
63611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63612 (exit $ac_status); }; }; then
63613 eval "$as_ac_var=yes"
63614 else
63615 echo "$as_me: failed program was:" >&5
63616 sed 's/^/| /' conftest.$ac_ext >&5
63618 eval "$as_ac_var=no"
63620 rm -f conftest.err conftest.$ac_objext \
63621 conftest$ac_exeext conftest.$ac_ext
63623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63625 if test `eval echo '${'$as_ac_var'}'` = yes; then
63626 cat >>confdefs.h <<_ACEOF
63627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63628 _ACEOF
63631 done
63633 else
63635 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63636 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63637 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63638 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63639 echo $ECHO_N "(cached) $ECHO_C" >&6
63640 else
63644 ac_ext=cc
63645 ac_cpp='$CXXCPP $CPPFLAGS'
63646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63650 cat >conftest.$ac_ext <<_ACEOF
63651 /* confdefs.h. */
63652 _ACEOF
63653 cat confdefs.h >>conftest.$ac_ext
63654 cat >>conftest.$ac_ext <<_ACEOF
63655 /* end confdefs.h. */
63656 #include <math.h>
63657 #ifdef HAVE_IEEEFP_H
63658 #include <ieeefp.h>
63659 #endif
63662 main ()
63664 _sqrtf(0);
63666 return 0;
63668 _ACEOF
63669 rm -f conftest.$ac_objext
63670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63671 (eval $ac_compile) 2>conftest.er1
63672 ac_status=$?
63673 grep -v '^ *+' conftest.er1 >conftest.err
63674 rm -f conftest.er1
63675 cat conftest.err >&5
63676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63677 (exit $ac_status); } &&
63678 { ac_try='test -z "$ac_cxx_werror_flag"
63679 || test ! -s conftest.err'
63680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63681 (eval $ac_try) 2>&5
63682 ac_status=$?
63683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63684 (exit $ac_status); }; } &&
63685 { ac_try='test -s conftest.$ac_objext'
63686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63687 (eval $ac_try) 2>&5
63688 ac_status=$?
63689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63690 (exit $ac_status); }; }; then
63691 glibcxx_cv_func__sqrtf_use=yes
63692 else
63693 echo "$as_me: failed program was:" >&5
63694 sed 's/^/| /' conftest.$ac_ext >&5
63696 glibcxx_cv_func__sqrtf_use=no
63698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63699 ac_ext=c
63700 ac_cpp='$CPP $CPPFLAGS'
63701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63709 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63710 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63712 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63714 for ac_func in _sqrtf
63716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63717 echo "$as_me:$LINENO: checking for $ac_func" >&5
63718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63719 if eval "test \"\${$as_ac_var+set}\" = set"; then
63720 echo $ECHO_N "(cached) $ECHO_C" >&6
63721 else
63722 if test x$gcc_no_link = xyes; then
63723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63725 { (exit 1); exit 1; }; }
63727 cat >conftest.$ac_ext <<_ACEOF
63728 /* confdefs.h. */
63729 _ACEOF
63730 cat confdefs.h >>conftest.$ac_ext
63731 cat >>conftest.$ac_ext <<_ACEOF
63732 /* end confdefs.h. */
63733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63735 #define $ac_func innocuous_$ac_func
63737 /* System header to define __stub macros and hopefully few prototypes,
63738 which can conflict with char $ac_func (); below.
63739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63740 <limits.h> exists even on freestanding compilers. */
63742 #ifdef __STDC__
63743 # include <limits.h>
63744 #else
63745 # include <assert.h>
63746 #endif
63748 #undef $ac_func
63750 /* Override any gcc2 internal prototype to avoid an error. */
63751 #ifdef __cplusplus
63752 extern "C"
63754 #endif
63755 /* We use char because int might match the return type of a gcc2
63756 builtin and then its argument prototype would still apply. */
63757 char $ac_func ();
63758 /* The GNU C library defines this for functions which it implements
63759 to always fail with ENOSYS. Some functions are actually named
63760 something starting with __ and the normal name is an alias. */
63761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63762 choke me
63763 #else
63764 char (*f) () = $ac_func;
63765 #endif
63766 #ifdef __cplusplus
63768 #endif
63771 main ()
63773 return f != $ac_func;
63775 return 0;
63777 _ACEOF
63778 rm -f conftest.$ac_objext conftest$ac_exeext
63779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63780 (eval $ac_link) 2>conftest.er1
63781 ac_status=$?
63782 grep -v '^ *+' conftest.er1 >conftest.err
63783 rm -f conftest.er1
63784 cat conftest.err >&5
63785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63786 (exit $ac_status); } &&
63787 { ac_try='test -z "$ac_c_werror_flag"
63788 || test ! -s conftest.err'
63789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63790 (eval $ac_try) 2>&5
63791 ac_status=$?
63792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63793 (exit $ac_status); }; } &&
63794 { ac_try='test -s conftest$ac_exeext'
63795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63796 (eval $ac_try) 2>&5
63797 ac_status=$?
63798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63799 (exit $ac_status); }; }; then
63800 eval "$as_ac_var=yes"
63801 else
63802 echo "$as_me: failed program was:" >&5
63803 sed 's/^/| /' conftest.$ac_ext >&5
63805 eval "$as_ac_var=no"
63807 rm -f conftest.err conftest.$ac_objext \
63808 conftest$ac_exeext conftest.$ac_ext
63810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63812 if test `eval echo '${'$as_ac_var'}'` = yes; then
63813 cat >>confdefs.h <<_ACEOF
63814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63815 _ACEOF
63818 done
63828 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
63829 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
63830 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63831 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
63832 echo $ECHO_N "(cached) $ECHO_C" >&6
63833 else
63837 ac_ext=cc
63838 ac_cpp='$CXXCPP $CPPFLAGS'
63839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63843 cat >conftest.$ac_ext <<_ACEOF
63844 /* confdefs.h. */
63845 _ACEOF
63846 cat confdefs.h >>conftest.$ac_ext
63847 cat >>conftest.$ac_ext <<_ACEOF
63848 /* end confdefs.h. */
63849 #include <math.h>
63851 main ()
63853 sincosf(0, 0, 0);
63855 return 0;
63857 _ACEOF
63858 rm -f conftest.$ac_objext
63859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63860 (eval $ac_compile) 2>conftest.er1
63861 ac_status=$?
63862 grep -v '^ *+' conftest.er1 >conftest.err
63863 rm -f conftest.er1
63864 cat conftest.err >&5
63865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63866 (exit $ac_status); } &&
63867 { ac_try='test -z "$ac_cxx_werror_flag"
63868 || test ! -s conftest.err'
63869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63870 (eval $ac_try) 2>&5
63871 ac_status=$?
63872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63873 (exit $ac_status); }; } &&
63874 { ac_try='test -s conftest.$ac_objext'
63875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63876 (eval $ac_try) 2>&5
63877 ac_status=$?
63878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63879 (exit $ac_status); }; }; then
63880 glibcxx_cv_func_sincosf_use=yes
63881 else
63882 echo "$as_me: failed program was:" >&5
63883 sed 's/^/| /' conftest.$ac_ext >&5
63885 glibcxx_cv_func_sincosf_use=no
63887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63888 ac_ext=c
63889 ac_cpp='$CPP $CPPFLAGS'
63890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
63899 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
63901 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63903 for ac_func in sincosf
63905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63906 echo "$as_me:$LINENO: checking for $ac_func" >&5
63907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63908 if eval "test \"\${$as_ac_var+set}\" = set"; then
63909 echo $ECHO_N "(cached) $ECHO_C" >&6
63910 else
63911 if test x$gcc_no_link = xyes; then
63912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63914 { (exit 1); exit 1; }; }
63916 cat >conftest.$ac_ext <<_ACEOF
63917 /* confdefs.h. */
63918 _ACEOF
63919 cat confdefs.h >>conftest.$ac_ext
63920 cat >>conftest.$ac_ext <<_ACEOF
63921 /* end confdefs.h. */
63922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63924 #define $ac_func innocuous_$ac_func
63926 /* System header to define __stub macros and hopefully few prototypes,
63927 which can conflict with char $ac_func (); below.
63928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63929 <limits.h> exists even on freestanding compilers. */
63931 #ifdef __STDC__
63932 # include <limits.h>
63933 #else
63934 # include <assert.h>
63935 #endif
63937 #undef $ac_func
63939 /* Override any gcc2 internal prototype to avoid an error. */
63940 #ifdef __cplusplus
63941 extern "C"
63943 #endif
63944 /* We use char because int might match the return type of a gcc2
63945 builtin and then its argument prototype would still apply. */
63946 char $ac_func ();
63947 /* The GNU C library defines this for functions which it implements
63948 to always fail with ENOSYS. Some functions are actually named
63949 something starting with __ and the normal name is an alias. */
63950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63951 choke me
63952 #else
63953 char (*f) () = $ac_func;
63954 #endif
63955 #ifdef __cplusplus
63957 #endif
63960 main ()
63962 return f != $ac_func;
63964 return 0;
63966 _ACEOF
63967 rm -f conftest.$ac_objext conftest$ac_exeext
63968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63969 (eval $ac_link) 2>conftest.er1
63970 ac_status=$?
63971 grep -v '^ *+' conftest.er1 >conftest.err
63972 rm -f conftest.er1
63973 cat conftest.err >&5
63974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63975 (exit $ac_status); } &&
63976 { ac_try='test -z "$ac_c_werror_flag"
63977 || test ! -s conftest.err'
63978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63979 (eval $ac_try) 2>&5
63980 ac_status=$?
63981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63982 (exit $ac_status); }; } &&
63983 { ac_try='test -s conftest$ac_exeext'
63984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63985 (eval $ac_try) 2>&5
63986 ac_status=$?
63987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63988 (exit $ac_status); }; }; then
63989 eval "$as_ac_var=yes"
63990 else
63991 echo "$as_me: failed program was:" >&5
63992 sed 's/^/| /' conftest.$ac_ext >&5
63994 eval "$as_ac_var=no"
63996 rm -f conftest.err conftest.$ac_objext \
63997 conftest$ac_exeext conftest.$ac_ext
63999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64001 if test `eval echo '${'$as_ac_var'}'` = yes; then
64002 cat >>confdefs.h <<_ACEOF
64003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64004 _ACEOF
64007 done
64009 else
64011 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
64012 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
64013 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64014 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
64015 echo $ECHO_N "(cached) $ECHO_C" >&6
64016 else
64020 ac_ext=cc
64021 ac_cpp='$CXXCPP $CPPFLAGS'
64022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64026 cat >conftest.$ac_ext <<_ACEOF
64027 /* confdefs.h. */
64028 _ACEOF
64029 cat confdefs.h >>conftest.$ac_ext
64030 cat >>conftest.$ac_ext <<_ACEOF
64031 /* end confdefs.h. */
64032 #include <math.h>
64034 main ()
64036 _sincosf(0, 0, 0);
64038 return 0;
64040 _ACEOF
64041 rm -f conftest.$ac_objext
64042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64043 (eval $ac_compile) 2>conftest.er1
64044 ac_status=$?
64045 grep -v '^ *+' conftest.er1 >conftest.err
64046 rm -f conftest.er1
64047 cat conftest.err >&5
64048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64049 (exit $ac_status); } &&
64050 { ac_try='test -z "$ac_cxx_werror_flag"
64051 || test ! -s conftest.err'
64052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64053 (eval $ac_try) 2>&5
64054 ac_status=$?
64055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64056 (exit $ac_status); }; } &&
64057 { ac_try='test -s conftest.$ac_objext'
64058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64059 (eval $ac_try) 2>&5
64060 ac_status=$?
64061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64062 (exit $ac_status); }; }; then
64063 glibcxx_cv_func__sincosf_use=yes
64064 else
64065 echo "$as_me: failed program was:" >&5
64066 sed 's/^/| /' conftest.$ac_ext >&5
64068 glibcxx_cv_func__sincosf_use=no
64070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64071 ac_ext=c
64072 ac_cpp='$CPP $CPPFLAGS'
64073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64081 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
64082 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
64084 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64086 for ac_func in _sincosf
64088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64089 echo "$as_me:$LINENO: checking for $ac_func" >&5
64090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64091 if eval "test \"\${$as_ac_var+set}\" = set"; then
64092 echo $ECHO_N "(cached) $ECHO_C" >&6
64093 else
64094 if test x$gcc_no_link = xyes; then
64095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64097 { (exit 1); exit 1; }; }
64099 cat >conftest.$ac_ext <<_ACEOF
64100 /* confdefs.h. */
64101 _ACEOF
64102 cat confdefs.h >>conftest.$ac_ext
64103 cat >>conftest.$ac_ext <<_ACEOF
64104 /* end confdefs.h. */
64105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64107 #define $ac_func innocuous_$ac_func
64109 /* System header to define __stub macros and hopefully few prototypes,
64110 which can conflict with char $ac_func (); below.
64111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64112 <limits.h> exists even on freestanding compilers. */
64114 #ifdef __STDC__
64115 # include <limits.h>
64116 #else
64117 # include <assert.h>
64118 #endif
64120 #undef $ac_func
64122 /* Override any gcc2 internal prototype to avoid an error. */
64123 #ifdef __cplusplus
64124 extern "C"
64126 #endif
64127 /* We use char because int might match the return type of a gcc2
64128 builtin and then its argument prototype would still apply. */
64129 char $ac_func ();
64130 /* The GNU C library defines this for functions which it implements
64131 to always fail with ENOSYS. Some functions are actually named
64132 something starting with __ and the normal name is an alias. */
64133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64134 choke me
64135 #else
64136 char (*f) () = $ac_func;
64137 #endif
64138 #ifdef __cplusplus
64140 #endif
64143 main ()
64145 return f != $ac_func;
64147 return 0;
64149 _ACEOF
64150 rm -f conftest.$ac_objext conftest$ac_exeext
64151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64152 (eval $ac_link) 2>conftest.er1
64153 ac_status=$?
64154 grep -v '^ *+' conftest.er1 >conftest.err
64155 rm -f conftest.er1
64156 cat conftest.err >&5
64157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64158 (exit $ac_status); } &&
64159 { ac_try='test -z "$ac_c_werror_flag"
64160 || test ! -s conftest.err'
64161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64162 (eval $ac_try) 2>&5
64163 ac_status=$?
64164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64165 (exit $ac_status); }; } &&
64166 { ac_try='test -s conftest$ac_exeext'
64167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64168 (eval $ac_try) 2>&5
64169 ac_status=$?
64170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64171 (exit $ac_status); }; }; then
64172 eval "$as_ac_var=yes"
64173 else
64174 echo "$as_me: failed program was:" >&5
64175 sed 's/^/| /' conftest.$ac_ext >&5
64177 eval "$as_ac_var=no"
64179 rm -f conftest.err conftest.$ac_objext \
64180 conftest$ac_exeext conftest.$ac_ext
64182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64184 if test `eval echo '${'$as_ac_var'}'` = yes; then
64185 cat >>confdefs.h <<_ACEOF
64186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64187 _ACEOF
64190 done
64200 echo "$as_me:$LINENO: checking for finitef declaration" >&5
64201 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
64202 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64203 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
64204 echo $ECHO_N "(cached) $ECHO_C" >&6
64205 else
64209 ac_ext=cc
64210 ac_cpp='$CXXCPP $CPPFLAGS'
64211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64215 cat >conftest.$ac_ext <<_ACEOF
64216 /* confdefs.h. */
64217 _ACEOF
64218 cat confdefs.h >>conftest.$ac_ext
64219 cat >>conftest.$ac_ext <<_ACEOF
64220 /* end confdefs.h. */
64221 #include <math.h>
64222 #ifdef HAVE_IEEEFP_H
64223 #include <ieeefp.h>
64224 #endif
64227 main ()
64229 finitef(0);
64231 return 0;
64233 _ACEOF
64234 rm -f conftest.$ac_objext
64235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64236 (eval $ac_compile) 2>conftest.er1
64237 ac_status=$?
64238 grep -v '^ *+' conftest.er1 >conftest.err
64239 rm -f conftest.er1
64240 cat conftest.err >&5
64241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64242 (exit $ac_status); } &&
64243 { ac_try='test -z "$ac_cxx_werror_flag"
64244 || test ! -s conftest.err'
64245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64246 (eval $ac_try) 2>&5
64247 ac_status=$?
64248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64249 (exit $ac_status); }; } &&
64250 { ac_try='test -s conftest.$ac_objext'
64251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64252 (eval $ac_try) 2>&5
64253 ac_status=$?
64254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64255 (exit $ac_status); }; }; then
64256 glibcxx_cv_func_finitef_use=yes
64257 else
64258 echo "$as_me: failed program was:" >&5
64259 sed 's/^/| /' conftest.$ac_ext >&5
64261 glibcxx_cv_func_finitef_use=no
64263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64264 ac_ext=c
64265 ac_cpp='$CPP $CPPFLAGS'
64266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64275 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64277 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64279 for ac_func in finitef
64281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64282 echo "$as_me:$LINENO: checking for $ac_func" >&5
64283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64284 if eval "test \"\${$as_ac_var+set}\" = set"; then
64285 echo $ECHO_N "(cached) $ECHO_C" >&6
64286 else
64287 if test x$gcc_no_link = xyes; then
64288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64290 { (exit 1); exit 1; }; }
64292 cat >conftest.$ac_ext <<_ACEOF
64293 /* confdefs.h. */
64294 _ACEOF
64295 cat confdefs.h >>conftest.$ac_ext
64296 cat >>conftest.$ac_ext <<_ACEOF
64297 /* end confdefs.h. */
64298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64300 #define $ac_func innocuous_$ac_func
64302 /* System header to define __stub macros and hopefully few prototypes,
64303 which can conflict with char $ac_func (); below.
64304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64305 <limits.h> exists even on freestanding compilers. */
64307 #ifdef __STDC__
64308 # include <limits.h>
64309 #else
64310 # include <assert.h>
64311 #endif
64313 #undef $ac_func
64315 /* Override any gcc2 internal prototype to avoid an error. */
64316 #ifdef __cplusplus
64317 extern "C"
64319 #endif
64320 /* We use char because int might match the return type of a gcc2
64321 builtin and then its argument prototype would still apply. */
64322 char $ac_func ();
64323 /* The GNU C library defines this for functions which it implements
64324 to always fail with ENOSYS. Some functions are actually named
64325 something starting with __ and the normal name is an alias. */
64326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64327 choke me
64328 #else
64329 char (*f) () = $ac_func;
64330 #endif
64331 #ifdef __cplusplus
64333 #endif
64336 main ()
64338 return f != $ac_func;
64340 return 0;
64342 _ACEOF
64343 rm -f conftest.$ac_objext conftest$ac_exeext
64344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64345 (eval $ac_link) 2>conftest.er1
64346 ac_status=$?
64347 grep -v '^ *+' conftest.er1 >conftest.err
64348 rm -f conftest.er1
64349 cat conftest.err >&5
64350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64351 (exit $ac_status); } &&
64352 { ac_try='test -z "$ac_c_werror_flag"
64353 || test ! -s conftest.err'
64354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64355 (eval $ac_try) 2>&5
64356 ac_status=$?
64357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64358 (exit $ac_status); }; } &&
64359 { ac_try='test -s conftest$ac_exeext'
64360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64361 (eval $ac_try) 2>&5
64362 ac_status=$?
64363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64364 (exit $ac_status); }; }; then
64365 eval "$as_ac_var=yes"
64366 else
64367 echo "$as_me: failed program was:" >&5
64368 sed 's/^/| /' conftest.$ac_ext >&5
64370 eval "$as_ac_var=no"
64372 rm -f conftest.err conftest.$ac_objext \
64373 conftest$ac_exeext conftest.$ac_ext
64375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64377 if test `eval echo '${'$as_ac_var'}'` = yes; then
64378 cat >>confdefs.h <<_ACEOF
64379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64380 _ACEOF
64383 done
64385 else
64387 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64388 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64389 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64390 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64391 echo $ECHO_N "(cached) $ECHO_C" >&6
64392 else
64396 ac_ext=cc
64397 ac_cpp='$CXXCPP $CPPFLAGS'
64398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64402 cat >conftest.$ac_ext <<_ACEOF
64403 /* confdefs.h. */
64404 _ACEOF
64405 cat confdefs.h >>conftest.$ac_ext
64406 cat >>conftest.$ac_ext <<_ACEOF
64407 /* end confdefs.h. */
64408 #include <math.h>
64409 #ifdef HAVE_IEEEFP_H
64410 #include <ieeefp.h>
64411 #endif
64414 main ()
64416 _finitef(0);
64418 return 0;
64420 _ACEOF
64421 rm -f conftest.$ac_objext
64422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64423 (eval $ac_compile) 2>conftest.er1
64424 ac_status=$?
64425 grep -v '^ *+' conftest.er1 >conftest.err
64426 rm -f conftest.er1
64427 cat conftest.err >&5
64428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64429 (exit $ac_status); } &&
64430 { ac_try='test -z "$ac_cxx_werror_flag"
64431 || test ! -s conftest.err'
64432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64433 (eval $ac_try) 2>&5
64434 ac_status=$?
64435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64436 (exit $ac_status); }; } &&
64437 { ac_try='test -s conftest.$ac_objext'
64438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64439 (eval $ac_try) 2>&5
64440 ac_status=$?
64441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64442 (exit $ac_status); }; }; then
64443 glibcxx_cv_func__finitef_use=yes
64444 else
64445 echo "$as_me: failed program was:" >&5
64446 sed 's/^/| /' conftest.$ac_ext >&5
64448 glibcxx_cv_func__finitef_use=no
64450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64451 ac_ext=c
64452 ac_cpp='$CPP $CPPFLAGS'
64453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64461 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64462 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64464 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64466 for ac_func in _finitef
64468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64469 echo "$as_me:$LINENO: checking for $ac_func" >&5
64470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64471 if eval "test \"\${$as_ac_var+set}\" = set"; then
64472 echo $ECHO_N "(cached) $ECHO_C" >&6
64473 else
64474 if test x$gcc_no_link = xyes; then
64475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64477 { (exit 1); exit 1; }; }
64479 cat >conftest.$ac_ext <<_ACEOF
64480 /* confdefs.h. */
64481 _ACEOF
64482 cat confdefs.h >>conftest.$ac_ext
64483 cat >>conftest.$ac_ext <<_ACEOF
64484 /* end confdefs.h. */
64485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64487 #define $ac_func innocuous_$ac_func
64489 /* System header to define __stub macros and hopefully few prototypes,
64490 which can conflict with char $ac_func (); below.
64491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64492 <limits.h> exists even on freestanding compilers. */
64494 #ifdef __STDC__
64495 # include <limits.h>
64496 #else
64497 # include <assert.h>
64498 #endif
64500 #undef $ac_func
64502 /* Override any gcc2 internal prototype to avoid an error. */
64503 #ifdef __cplusplus
64504 extern "C"
64506 #endif
64507 /* We use char because int might match the return type of a gcc2
64508 builtin and then its argument prototype would still apply. */
64509 char $ac_func ();
64510 /* The GNU C library defines this for functions which it implements
64511 to always fail with ENOSYS. Some functions are actually named
64512 something starting with __ and the normal name is an alias. */
64513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64514 choke me
64515 #else
64516 char (*f) () = $ac_func;
64517 #endif
64518 #ifdef __cplusplus
64520 #endif
64523 main ()
64525 return f != $ac_func;
64527 return 0;
64529 _ACEOF
64530 rm -f conftest.$ac_objext conftest$ac_exeext
64531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64532 (eval $ac_link) 2>conftest.er1
64533 ac_status=$?
64534 grep -v '^ *+' conftest.er1 >conftest.err
64535 rm -f conftest.er1
64536 cat conftest.err >&5
64537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64538 (exit $ac_status); } &&
64539 { ac_try='test -z "$ac_c_werror_flag"
64540 || test ! -s conftest.err'
64541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64542 (eval $ac_try) 2>&5
64543 ac_status=$?
64544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64545 (exit $ac_status); }; } &&
64546 { ac_try='test -s conftest$ac_exeext'
64547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64548 (eval $ac_try) 2>&5
64549 ac_status=$?
64550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64551 (exit $ac_status); }; }; then
64552 eval "$as_ac_var=yes"
64553 else
64554 echo "$as_me: failed program was:" >&5
64555 sed 's/^/| /' conftest.$ac_ext >&5
64557 eval "$as_ac_var=no"
64559 rm -f conftest.err conftest.$ac_objext \
64560 conftest$ac_exeext conftest.$ac_ext
64562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64564 if test `eval echo '${'$as_ac_var'}'` = yes; then
64565 cat >>confdefs.h <<_ACEOF
64566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64567 _ACEOF
64570 done
64580 echo "$as_me:$LINENO: checking for long double trig functions" >&5
64581 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64582 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64583 echo $ECHO_N "(cached) $ECHO_C" >&6
64584 else
64588 ac_ext=cc
64589 ac_cpp='$CXXCPP $CPPFLAGS'
64590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64594 cat >conftest.$ac_ext <<_ACEOF
64595 /* confdefs.h. */
64596 _ACEOF
64597 cat confdefs.h >>conftest.$ac_ext
64598 cat >>conftest.$ac_ext <<_ACEOF
64599 /* end confdefs.h. */
64600 #include <math.h>
64602 main ()
64604 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64606 return 0;
64608 _ACEOF
64609 rm -f conftest.$ac_objext
64610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64611 (eval $ac_compile) 2>conftest.er1
64612 ac_status=$?
64613 grep -v '^ *+' conftest.er1 >conftest.err
64614 rm -f conftest.er1
64615 cat conftest.err >&5
64616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64617 (exit $ac_status); } &&
64618 { ac_try='test -z "$ac_cxx_werror_flag"
64619 || test ! -s conftest.err'
64620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64621 (eval $ac_try) 2>&5
64622 ac_status=$?
64623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64624 (exit $ac_status); }; } &&
64625 { ac_try='test -s conftest.$ac_objext'
64626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64627 (eval $ac_try) 2>&5
64628 ac_status=$?
64629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64630 (exit $ac_status); }; }; then
64631 glibcxx_cv_func_long_double_trig_use=yes
64632 else
64633 echo "$as_me: failed program was:" >&5
64634 sed 's/^/| /' conftest.$ac_ext >&5
64636 glibcxx_cv_func_long_double_trig_use=no
64638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64639 ac_ext=c
64640 ac_cpp='$CPP $CPPFLAGS'
64641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64647 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64648 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64649 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64659 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64662 echo "$as_me:$LINENO: checking for $ac_func" >&5
64663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64664 if eval "test \"\${$as_ac_var+set}\" = set"; then
64665 echo $ECHO_N "(cached) $ECHO_C" >&6
64666 else
64667 if test x$gcc_no_link = xyes; then
64668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64670 { (exit 1); exit 1; }; }
64672 cat >conftest.$ac_ext <<_ACEOF
64673 /* confdefs.h. */
64674 _ACEOF
64675 cat confdefs.h >>conftest.$ac_ext
64676 cat >>conftest.$ac_ext <<_ACEOF
64677 /* end confdefs.h. */
64678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64680 #define $ac_func innocuous_$ac_func
64682 /* System header to define __stub macros and hopefully few prototypes,
64683 which can conflict with char $ac_func (); below.
64684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64685 <limits.h> exists even on freestanding compilers. */
64687 #ifdef __STDC__
64688 # include <limits.h>
64689 #else
64690 # include <assert.h>
64691 #endif
64693 #undef $ac_func
64695 /* Override any gcc2 internal prototype to avoid an error. */
64696 #ifdef __cplusplus
64697 extern "C"
64699 #endif
64700 /* We use char because int might match the return type of a gcc2
64701 builtin and then its argument prototype would still apply. */
64702 char $ac_func ();
64703 /* The GNU C library defines this for functions which it implements
64704 to always fail with ENOSYS. Some functions are actually named
64705 something starting with __ and the normal name is an alias. */
64706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64707 choke me
64708 #else
64709 char (*f) () = $ac_func;
64710 #endif
64711 #ifdef __cplusplus
64713 #endif
64716 main ()
64718 return f != $ac_func;
64720 return 0;
64722 _ACEOF
64723 rm -f conftest.$ac_objext conftest$ac_exeext
64724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64725 (eval $ac_link) 2>conftest.er1
64726 ac_status=$?
64727 grep -v '^ *+' conftest.er1 >conftest.err
64728 rm -f conftest.er1
64729 cat conftest.err >&5
64730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64731 (exit $ac_status); } &&
64732 { ac_try='test -z "$ac_c_werror_flag"
64733 || test ! -s conftest.err'
64734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64735 (eval $ac_try) 2>&5
64736 ac_status=$?
64737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64738 (exit $ac_status); }; } &&
64739 { ac_try='test -s conftest$ac_exeext'
64740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64741 (eval $ac_try) 2>&5
64742 ac_status=$?
64743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64744 (exit $ac_status); }; }; then
64745 eval "$as_ac_var=yes"
64746 else
64747 echo "$as_me: failed program was:" >&5
64748 sed 's/^/| /' conftest.$ac_ext >&5
64750 eval "$as_ac_var=no"
64752 rm -f conftest.err conftest.$ac_objext \
64753 conftest$ac_exeext conftest.$ac_ext
64755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64757 if test `eval echo '${'$as_ac_var'}'` = yes; then
64758 cat >>confdefs.h <<_ACEOF
64759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64760 _ACEOF
64763 done
64765 else
64766 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
64767 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
64768 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
64769 echo $ECHO_N "(cached) $ECHO_C" >&6
64770 else
64774 ac_ext=cc
64775 ac_cpp='$CXXCPP $CPPFLAGS'
64776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64780 cat >conftest.$ac_ext <<_ACEOF
64781 /* confdefs.h. */
64782 _ACEOF
64783 cat confdefs.h >>conftest.$ac_ext
64784 cat >>conftest.$ac_ext <<_ACEOF
64785 /* end confdefs.h. */
64786 #include <math.h>
64788 main ()
64790 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64792 return 0;
64794 _ACEOF
64795 rm -f conftest.$ac_objext
64796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64797 (eval $ac_compile) 2>conftest.er1
64798 ac_status=$?
64799 grep -v '^ *+' conftest.er1 >conftest.err
64800 rm -f conftest.er1
64801 cat conftest.err >&5
64802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64803 (exit $ac_status); } &&
64804 { ac_try='test -z "$ac_cxx_werror_flag"
64805 || test ! -s conftest.err'
64806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64807 (eval $ac_try) 2>&5
64808 ac_status=$?
64809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64810 (exit $ac_status); }; } &&
64811 { ac_try='test -s conftest.$ac_objext'
64812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64813 (eval $ac_try) 2>&5
64814 ac_status=$?
64815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64816 (exit $ac_status); }; }; then
64817 glibcxx_cv_func__long_double_trig_use=yes
64818 else
64819 echo "$as_me: failed program was:" >&5
64820 sed 's/^/| /' conftest.$ac_ext >&5
64822 glibcxx_cv_func__long_double_trig_use=no
64824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64825 ac_ext=c
64826 ac_cpp='$CPP $CPPFLAGS'
64827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
64834 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
64835 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64845 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64848 echo "$as_me:$LINENO: checking for $ac_func" >&5
64849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64850 if eval "test \"\${$as_ac_var+set}\" = set"; then
64851 echo $ECHO_N "(cached) $ECHO_C" >&6
64852 else
64853 if test x$gcc_no_link = xyes; then
64854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64856 { (exit 1); exit 1; }; }
64858 cat >conftest.$ac_ext <<_ACEOF
64859 /* confdefs.h. */
64860 _ACEOF
64861 cat confdefs.h >>conftest.$ac_ext
64862 cat >>conftest.$ac_ext <<_ACEOF
64863 /* end confdefs.h. */
64864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64866 #define $ac_func innocuous_$ac_func
64868 /* System header to define __stub macros and hopefully few prototypes,
64869 which can conflict with char $ac_func (); below.
64870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64871 <limits.h> exists even on freestanding compilers. */
64873 #ifdef __STDC__
64874 # include <limits.h>
64875 #else
64876 # include <assert.h>
64877 #endif
64879 #undef $ac_func
64881 /* Override any gcc2 internal prototype to avoid an error. */
64882 #ifdef __cplusplus
64883 extern "C"
64885 #endif
64886 /* We use char because int might match the return type of a gcc2
64887 builtin and then its argument prototype would still apply. */
64888 char $ac_func ();
64889 /* The GNU C library defines this for functions which it implements
64890 to always fail with ENOSYS. Some functions are actually named
64891 something starting with __ and the normal name is an alias. */
64892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64893 choke me
64894 #else
64895 char (*f) () = $ac_func;
64896 #endif
64897 #ifdef __cplusplus
64899 #endif
64902 main ()
64904 return f != $ac_func;
64906 return 0;
64908 _ACEOF
64909 rm -f conftest.$ac_objext conftest$ac_exeext
64910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64911 (eval $ac_link) 2>conftest.er1
64912 ac_status=$?
64913 grep -v '^ *+' conftest.er1 >conftest.err
64914 rm -f conftest.er1
64915 cat conftest.err >&5
64916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64917 (exit $ac_status); } &&
64918 { ac_try='test -z "$ac_c_werror_flag"
64919 || test ! -s conftest.err'
64920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64921 (eval $ac_try) 2>&5
64922 ac_status=$?
64923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64924 (exit $ac_status); }; } &&
64925 { ac_try='test -s conftest$ac_exeext'
64926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64927 (eval $ac_try) 2>&5
64928 ac_status=$?
64929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64930 (exit $ac_status); }; }; then
64931 eval "$as_ac_var=yes"
64932 else
64933 echo "$as_me: failed program was:" >&5
64934 sed 's/^/| /' conftest.$ac_ext >&5
64936 eval "$as_ac_var=no"
64938 rm -f conftest.err conftest.$ac_objext \
64939 conftest$ac_exeext conftest.$ac_ext
64941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64943 if test `eval echo '${'$as_ac_var'}'` = yes; then
64944 cat >>confdefs.h <<_ACEOF
64945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64946 _ACEOF
64949 done
64967 echo "$as_me:$LINENO: checking for long double round functions" >&5
64968 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
64969 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
64970 echo $ECHO_N "(cached) $ECHO_C" >&6
64971 else
64975 ac_ext=cc
64976 ac_cpp='$CXXCPP $CPPFLAGS'
64977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64981 cat >conftest.$ac_ext <<_ACEOF
64982 /* confdefs.h. */
64983 _ACEOF
64984 cat confdefs.h >>conftest.$ac_ext
64985 cat >>conftest.$ac_ext <<_ACEOF
64986 /* end confdefs.h. */
64987 #include <math.h>
64989 main ()
64991 ceill (0); floorl (0);
64993 return 0;
64995 _ACEOF
64996 rm -f conftest.$ac_objext
64997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64998 (eval $ac_compile) 2>conftest.er1
64999 ac_status=$?
65000 grep -v '^ *+' conftest.er1 >conftest.err
65001 rm -f conftest.er1
65002 cat conftest.err >&5
65003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65004 (exit $ac_status); } &&
65005 { ac_try='test -z "$ac_cxx_werror_flag"
65006 || test ! -s conftest.err'
65007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65008 (eval $ac_try) 2>&5
65009 ac_status=$?
65010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65011 (exit $ac_status); }; } &&
65012 { ac_try='test -s conftest.$ac_objext'
65013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65014 (eval $ac_try) 2>&5
65015 ac_status=$?
65016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65017 (exit $ac_status); }; }; then
65018 glibcxx_cv_func_long_double_round_use=yes
65019 else
65020 echo "$as_me: failed program was:" >&5
65021 sed 's/^/| /' conftest.$ac_ext >&5
65023 glibcxx_cv_func_long_double_round_use=no
65025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65026 ac_ext=c
65027 ac_cpp='$CPP $CPPFLAGS'
65028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65034 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
65035 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
65036 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
65039 for ac_func in ceill floorl
65041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65042 echo "$as_me:$LINENO: checking for $ac_func" >&5
65043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65044 if eval "test \"\${$as_ac_var+set}\" = set"; then
65045 echo $ECHO_N "(cached) $ECHO_C" >&6
65046 else
65047 if test x$gcc_no_link = xyes; then
65048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65050 { (exit 1); exit 1; }; }
65052 cat >conftest.$ac_ext <<_ACEOF
65053 /* confdefs.h. */
65054 _ACEOF
65055 cat confdefs.h >>conftest.$ac_ext
65056 cat >>conftest.$ac_ext <<_ACEOF
65057 /* end confdefs.h. */
65058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65060 #define $ac_func innocuous_$ac_func
65062 /* System header to define __stub macros and hopefully few prototypes,
65063 which can conflict with char $ac_func (); below.
65064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65065 <limits.h> exists even on freestanding compilers. */
65067 #ifdef __STDC__
65068 # include <limits.h>
65069 #else
65070 # include <assert.h>
65071 #endif
65073 #undef $ac_func
65075 /* Override any gcc2 internal prototype to avoid an error. */
65076 #ifdef __cplusplus
65077 extern "C"
65079 #endif
65080 /* We use char because int might match the return type of a gcc2
65081 builtin and then its argument prototype would still apply. */
65082 char $ac_func ();
65083 /* The GNU C library defines this for functions which it implements
65084 to always fail with ENOSYS. Some functions are actually named
65085 something starting with __ and the normal name is an alias. */
65086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65087 choke me
65088 #else
65089 char (*f) () = $ac_func;
65090 #endif
65091 #ifdef __cplusplus
65093 #endif
65096 main ()
65098 return f != $ac_func;
65100 return 0;
65102 _ACEOF
65103 rm -f conftest.$ac_objext conftest$ac_exeext
65104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65105 (eval $ac_link) 2>conftest.er1
65106 ac_status=$?
65107 grep -v '^ *+' conftest.er1 >conftest.err
65108 rm -f conftest.er1
65109 cat conftest.err >&5
65110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65111 (exit $ac_status); } &&
65112 { ac_try='test -z "$ac_c_werror_flag"
65113 || test ! -s conftest.err'
65114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65115 (eval $ac_try) 2>&5
65116 ac_status=$?
65117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65118 (exit $ac_status); }; } &&
65119 { ac_try='test -s conftest$ac_exeext'
65120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65121 (eval $ac_try) 2>&5
65122 ac_status=$?
65123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65124 (exit $ac_status); }; }; then
65125 eval "$as_ac_var=yes"
65126 else
65127 echo "$as_me: failed program was:" >&5
65128 sed 's/^/| /' conftest.$ac_ext >&5
65130 eval "$as_ac_var=no"
65132 rm -f conftest.err conftest.$ac_objext \
65133 conftest$ac_exeext conftest.$ac_ext
65135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65137 if test `eval echo '${'$as_ac_var'}'` = yes; then
65138 cat >>confdefs.h <<_ACEOF
65139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65140 _ACEOF
65143 done
65145 else
65146 echo "$as_me:$LINENO: checking for _long double round functions" >&5
65147 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
65148 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
65149 echo $ECHO_N "(cached) $ECHO_C" >&6
65150 else
65154 ac_ext=cc
65155 ac_cpp='$CXXCPP $CPPFLAGS'
65156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65160 cat >conftest.$ac_ext <<_ACEOF
65161 /* confdefs.h. */
65162 _ACEOF
65163 cat confdefs.h >>conftest.$ac_ext
65164 cat >>conftest.$ac_ext <<_ACEOF
65165 /* end confdefs.h. */
65166 #include <math.h>
65168 main ()
65170 _ceill (0); _floorl (0);
65172 return 0;
65174 _ACEOF
65175 rm -f conftest.$ac_objext
65176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65177 (eval $ac_compile) 2>conftest.er1
65178 ac_status=$?
65179 grep -v '^ *+' conftest.er1 >conftest.err
65180 rm -f conftest.er1
65181 cat conftest.err >&5
65182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65183 (exit $ac_status); } &&
65184 { ac_try='test -z "$ac_cxx_werror_flag"
65185 || test ! -s conftest.err'
65186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65187 (eval $ac_try) 2>&5
65188 ac_status=$?
65189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65190 (exit $ac_status); }; } &&
65191 { ac_try='test -s conftest.$ac_objext'
65192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65193 (eval $ac_try) 2>&5
65194 ac_status=$?
65195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65196 (exit $ac_status); }; }; then
65197 glibcxx_cv_func__long_double_round_use=yes
65198 else
65199 echo "$as_me: failed program was:" >&5
65200 sed 's/^/| /' conftest.$ac_ext >&5
65202 glibcxx_cv_func__long_double_round_use=no
65204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65205 ac_ext=c
65206 ac_cpp='$CPP $CPPFLAGS'
65207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65213 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
65214 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
65215 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
65218 for ac_func in _ceill _floorl
65220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65221 echo "$as_me:$LINENO: checking for $ac_func" >&5
65222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65223 if eval "test \"\${$as_ac_var+set}\" = set"; then
65224 echo $ECHO_N "(cached) $ECHO_C" >&6
65225 else
65226 if test x$gcc_no_link = xyes; then
65227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65229 { (exit 1); exit 1; }; }
65231 cat >conftest.$ac_ext <<_ACEOF
65232 /* confdefs.h. */
65233 _ACEOF
65234 cat confdefs.h >>conftest.$ac_ext
65235 cat >>conftest.$ac_ext <<_ACEOF
65236 /* end confdefs.h. */
65237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65239 #define $ac_func innocuous_$ac_func
65241 /* System header to define __stub macros and hopefully few prototypes,
65242 which can conflict with char $ac_func (); below.
65243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65244 <limits.h> exists even on freestanding compilers. */
65246 #ifdef __STDC__
65247 # include <limits.h>
65248 #else
65249 # include <assert.h>
65250 #endif
65252 #undef $ac_func
65254 /* Override any gcc2 internal prototype to avoid an error. */
65255 #ifdef __cplusplus
65256 extern "C"
65258 #endif
65259 /* We use char because int might match the return type of a gcc2
65260 builtin and then its argument prototype would still apply. */
65261 char $ac_func ();
65262 /* The GNU C library defines this for functions which it implements
65263 to always fail with ENOSYS. Some functions are actually named
65264 something starting with __ and the normal name is an alias. */
65265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65266 choke me
65267 #else
65268 char (*f) () = $ac_func;
65269 #endif
65270 #ifdef __cplusplus
65272 #endif
65275 main ()
65277 return f != $ac_func;
65279 return 0;
65281 _ACEOF
65282 rm -f conftest.$ac_objext conftest$ac_exeext
65283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65284 (eval $ac_link) 2>conftest.er1
65285 ac_status=$?
65286 grep -v '^ *+' conftest.er1 >conftest.err
65287 rm -f conftest.er1
65288 cat conftest.err >&5
65289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65290 (exit $ac_status); } &&
65291 { ac_try='test -z "$ac_c_werror_flag"
65292 || test ! -s conftest.err'
65293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65294 (eval $ac_try) 2>&5
65295 ac_status=$?
65296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65297 (exit $ac_status); }; } &&
65298 { ac_try='test -s conftest$ac_exeext'
65299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65300 (eval $ac_try) 2>&5
65301 ac_status=$?
65302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65303 (exit $ac_status); }; }; then
65304 eval "$as_ac_var=yes"
65305 else
65306 echo "$as_me: failed program was:" >&5
65307 sed 's/^/| /' conftest.$ac_ext >&5
65309 eval "$as_ac_var=no"
65311 rm -f conftest.err conftest.$ac_objext \
65312 conftest$ac_exeext conftest.$ac_ext
65314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65316 if test `eval echo '${'$as_ac_var'}'` = yes; then
65317 cat >>confdefs.h <<_ACEOF
65318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65319 _ACEOF
65322 done
65334 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65335 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65336 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65337 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65338 echo $ECHO_N "(cached) $ECHO_C" >&6
65339 else
65343 ac_ext=cc
65344 ac_cpp='$CXXCPP $CPPFLAGS'
65345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65349 cat >conftest.$ac_ext <<_ACEOF
65350 /* confdefs.h. */
65351 _ACEOF
65352 cat confdefs.h >>conftest.$ac_ext
65353 cat >>conftest.$ac_ext <<_ACEOF
65354 /* end confdefs.h. */
65355 #include <math.h>
65356 #ifdef HAVE_IEEEFP_H
65357 #include <ieeefp.h>
65358 #endif
65361 main ()
65363 isnanl(0);
65365 return 0;
65367 _ACEOF
65368 rm -f conftest.$ac_objext
65369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65370 (eval $ac_compile) 2>conftest.er1
65371 ac_status=$?
65372 grep -v '^ *+' conftest.er1 >conftest.err
65373 rm -f conftest.er1
65374 cat conftest.err >&5
65375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65376 (exit $ac_status); } &&
65377 { ac_try='test -z "$ac_cxx_werror_flag"
65378 || test ! -s conftest.err'
65379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65380 (eval $ac_try) 2>&5
65381 ac_status=$?
65382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65383 (exit $ac_status); }; } &&
65384 { ac_try='test -s conftest.$ac_objext'
65385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65386 (eval $ac_try) 2>&5
65387 ac_status=$?
65388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65389 (exit $ac_status); }; }; then
65390 glibcxx_cv_func_isnanl_use=yes
65391 else
65392 echo "$as_me: failed program was:" >&5
65393 sed 's/^/| /' conftest.$ac_ext >&5
65395 glibcxx_cv_func_isnanl_use=no
65397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65398 ac_ext=c
65399 ac_cpp='$CPP $CPPFLAGS'
65400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65409 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65411 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65413 for ac_func in isnanl
65415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65416 echo "$as_me:$LINENO: checking for $ac_func" >&5
65417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65418 if eval "test \"\${$as_ac_var+set}\" = set"; then
65419 echo $ECHO_N "(cached) $ECHO_C" >&6
65420 else
65421 if test x$gcc_no_link = xyes; then
65422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65424 { (exit 1); exit 1; }; }
65426 cat >conftest.$ac_ext <<_ACEOF
65427 /* confdefs.h. */
65428 _ACEOF
65429 cat confdefs.h >>conftest.$ac_ext
65430 cat >>conftest.$ac_ext <<_ACEOF
65431 /* end confdefs.h. */
65432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65434 #define $ac_func innocuous_$ac_func
65436 /* System header to define __stub macros and hopefully few prototypes,
65437 which can conflict with char $ac_func (); below.
65438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65439 <limits.h> exists even on freestanding compilers. */
65441 #ifdef __STDC__
65442 # include <limits.h>
65443 #else
65444 # include <assert.h>
65445 #endif
65447 #undef $ac_func
65449 /* Override any gcc2 internal prototype to avoid an error. */
65450 #ifdef __cplusplus
65451 extern "C"
65453 #endif
65454 /* We use char because int might match the return type of a gcc2
65455 builtin and then its argument prototype would still apply. */
65456 char $ac_func ();
65457 /* The GNU C library defines this for functions which it implements
65458 to always fail with ENOSYS. Some functions are actually named
65459 something starting with __ and the normal name is an alias. */
65460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65461 choke me
65462 #else
65463 char (*f) () = $ac_func;
65464 #endif
65465 #ifdef __cplusplus
65467 #endif
65470 main ()
65472 return f != $ac_func;
65474 return 0;
65476 _ACEOF
65477 rm -f conftest.$ac_objext conftest$ac_exeext
65478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65479 (eval $ac_link) 2>conftest.er1
65480 ac_status=$?
65481 grep -v '^ *+' conftest.er1 >conftest.err
65482 rm -f conftest.er1
65483 cat conftest.err >&5
65484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65485 (exit $ac_status); } &&
65486 { ac_try='test -z "$ac_c_werror_flag"
65487 || test ! -s conftest.err'
65488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65489 (eval $ac_try) 2>&5
65490 ac_status=$?
65491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65492 (exit $ac_status); }; } &&
65493 { ac_try='test -s conftest$ac_exeext'
65494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65495 (eval $ac_try) 2>&5
65496 ac_status=$?
65497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65498 (exit $ac_status); }; }; then
65499 eval "$as_ac_var=yes"
65500 else
65501 echo "$as_me: failed program was:" >&5
65502 sed 's/^/| /' conftest.$ac_ext >&5
65504 eval "$as_ac_var=no"
65506 rm -f conftest.err conftest.$ac_objext \
65507 conftest$ac_exeext conftest.$ac_ext
65509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65511 if test `eval echo '${'$as_ac_var'}'` = yes; then
65512 cat >>confdefs.h <<_ACEOF
65513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65514 _ACEOF
65517 done
65519 else
65521 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65522 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65523 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65524 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65525 echo $ECHO_N "(cached) $ECHO_C" >&6
65526 else
65530 ac_ext=cc
65531 ac_cpp='$CXXCPP $CPPFLAGS'
65532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65536 cat >conftest.$ac_ext <<_ACEOF
65537 /* confdefs.h. */
65538 _ACEOF
65539 cat confdefs.h >>conftest.$ac_ext
65540 cat >>conftest.$ac_ext <<_ACEOF
65541 /* end confdefs.h. */
65542 #include <math.h>
65543 #ifdef HAVE_IEEEFP_H
65544 #include <ieeefp.h>
65545 #endif
65548 main ()
65550 _isnanl(0);
65552 return 0;
65554 _ACEOF
65555 rm -f conftest.$ac_objext
65556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65557 (eval $ac_compile) 2>conftest.er1
65558 ac_status=$?
65559 grep -v '^ *+' conftest.er1 >conftest.err
65560 rm -f conftest.er1
65561 cat conftest.err >&5
65562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65563 (exit $ac_status); } &&
65564 { ac_try='test -z "$ac_cxx_werror_flag"
65565 || test ! -s conftest.err'
65566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65567 (eval $ac_try) 2>&5
65568 ac_status=$?
65569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65570 (exit $ac_status); }; } &&
65571 { ac_try='test -s conftest.$ac_objext'
65572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65573 (eval $ac_try) 2>&5
65574 ac_status=$?
65575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65576 (exit $ac_status); }; }; then
65577 glibcxx_cv_func__isnanl_use=yes
65578 else
65579 echo "$as_me: failed program was:" >&5
65580 sed 's/^/| /' conftest.$ac_ext >&5
65582 glibcxx_cv_func__isnanl_use=no
65584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65585 ac_ext=c
65586 ac_cpp='$CPP $CPPFLAGS'
65587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65595 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65596 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65598 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65600 for ac_func in _isnanl
65602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65603 echo "$as_me:$LINENO: checking for $ac_func" >&5
65604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65605 if eval "test \"\${$as_ac_var+set}\" = set"; then
65606 echo $ECHO_N "(cached) $ECHO_C" >&6
65607 else
65608 if test x$gcc_no_link = xyes; then
65609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65611 { (exit 1); exit 1; }; }
65613 cat >conftest.$ac_ext <<_ACEOF
65614 /* confdefs.h. */
65615 _ACEOF
65616 cat confdefs.h >>conftest.$ac_ext
65617 cat >>conftest.$ac_ext <<_ACEOF
65618 /* end confdefs.h. */
65619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65621 #define $ac_func innocuous_$ac_func
65623 /* System header to define __stub macros and hopefully few prototypes,
65624 which can conflict with char $ac_func (); below.
65625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65626 <limits.h> exists even on freestanding compilers. */
65628 #ifdef __STDC__
65629 # include <limits.h>
65630 #else
65631 # include <assert.h>
65632 #endif
65634 #undef $ac_func
65636 /* Override any gcc2 internal prototype to avoid an error. */
65637 #ifdef __cplusplus
65638 extern "C"
65640 #endif
65641 /* We use char because int might match the return type of a gcc2
65642 builtin and then its argument prototype would still apply. */
65643 char $ac_func ();
65644 /* The GNU C library defines this for functions which it implements
65645 to always fail with ENOSYS. Some functions are actually named
65646 something starting with __ and the normal name is an alias. */
65647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65648 choke me
65649 #else
65650 char (*f) () = $ac_func;
65651 #endif
65652 #ifdef __cplusplus
65654 #endif
65657 main ()
65659 return f != $ac_func;
65661 return 0;
65663 _ACEOF
65664 rm -f conftest.$ac_objext conftest$ac_exeext
65665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65666 (eval $ac_link) 2>conftest.er1
65667 ac_status=$?
65668 grep -v '^ *+' conftest.er1 >conftest.err
65669 rm -f conftest.er1
65670 cat conftest.err >&5
65671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65672 (exit $ac_status); } &&
65673 { ac_try='test -z "$ac_c_werror_flag"
65674 || test ! -s conftest.err'
65675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65676 (eval $ac_try) 2>&5
65677 ac_status=$?
65678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65679 (exit $ac_status); }; } &&
65680 { ac_try='test -s conftest$ac_exeext'
65681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65682 (eval $ac_try) 2>&5
65683 ac_status=$?
65684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65685 (exit $ac_status); }; }; then
65686 eval "$as_ac_var=yes"
65687 else
65688 echo "$as_me: failed program was:" >&5
65689 sed 's/^/| /' conftest.$ac_ext >&5
65691 eval "$as_ac_var=no"
65693 rm -f conftest.err conftest.$ac_objext \
65694 conftest$ac_exeext conftest.$ac_ext
65696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65698 if test `eval echo '${'$as_ac_var'}'` = yes; then
65699 cat >>confdefs.h <<_ACEOF
65700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65701 _ACEOF
65704 done
65714 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65715 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65716 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65717 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65718 echo $ECHO_N "(cached) $ECHO_C" >&6
65719 else
65723 ac_ext=cc
65724 ac_cpp='$CXXCPP $CPPFLAGS'
65725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65729 cat >conftest.$ac_ext <<_ACEOF
65730 /* confdefs.h. */
65731 _ACEOF
65732 cat confdefs.h >>conftest.$ac_ext
65733 cat >>conftest.$ac_ext <<_ACEOF
65734 /* end confdefs.h. */
65735 #include <math.h>
65736 #ifdef HAVE_IEEEFP_H
65737 #include <ieeefp.h>
65738 #endif
65741 main ()
65743 isinfl(0);
65745 return 0;
65747 _ACEOF
65748 rm -f conftest.$ac_objext
65749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65750 (eval $ac_compile) 2>conftest.er1
65751 ac_status=$?
65752 grep -v '^ *+' conftest.er1 >conftest.err
65753 rm -f conftest.er1
65754 cat conftest.err >&5
65755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65756 (exit $ac_status); } &&
65757 { ac_try='test -z "$ac_cxx_werror_flag"
65758 || test ! -s conftest.err'
65759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65760 (eval $ac_try) 2>&5
65761 ac_status=$?
65762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65763 (exit $ac_status); }; } &&
65764 { ac_try='test -s conftest.$ac_objext'
65765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65766 (eval $ac_try) 2>&5
65767 ac_status=$?
65768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65769 (exit $ac_status); }; }; then
65770 glibcxx_cv_func_isinfl_use=yes
65771 else
65772 echo "$as_me: failed program was:" >&5
65773 sed 's/^/| /' conftest.$ac_ext >&5
65775 glibcxx_cv_func_isinfl_use=no
65777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65778 ac_ext=c
65779 ac_cpp='$CPP $CPPFLAGS'
65780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65788 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
65789 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
65791 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65793 for ac_func in isinfl
65795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65796 echo "$as_me:$LINENO: checking for $ac_func" >&5
65797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65798 if eval "test \"\${$as_ac_var+set}\" = set"; then
65799 echo $ECHO_N "(cached) $ECHO_C" >&6
65800 else
65801 if test x$gcc_no_link = xyes; then
65802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65804 { (exit 1); exit 1; }; }
65806 cat >conftest.$ac_ext <<_ACEOF
65807 /* confdefs.h. */
65808 _ACEOF
65809 cat confdefs.h >>conftest.$ac_ext
65810 cat >>conftest.$ac_ext <<_ACEOF
65811 /* end confdefs.h. */
65812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65814 #define $ac_func innocuous_$ac_func
65816 /* System header to define __stub macros and hopefully few prototypes,
65817 which can conflict with char $ac_func (); below.
65818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65819 <limits.h> exists even on freestanding compilers. */
65821 #ifdef __STDC__
65822 # include <limits.h>
65823 #else
65824 # include <assert.h>
65825 #endif
65827 #undef $ac_func
65829 /* Override any gcc2 internal prototype to avoid an error. */
65830 #ifdef __cplusplus
65831 extern "C"
65833 #endif
65834 /* We use char because int might match the return type of a gcc2
65835 builtin and then its argument prototype would still apply. */
65836 char $ac_func ();
65837 /* The GNU C library defines this for functions which it implements
65838 to always fail with ENOSYS. Some functions are actually named
65839 something starting with __ and the normal name is an alias. */
65840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65841 choke me
65842 #else
65843 char (*f) () = $ac_func;
65844 #endif
65845 #ifdef __cplusplus
65847 #endif
65850 main ()
65852 return f != $ac_func;
65854 return 0;
65856 _ACEOF
65857 rm -f conftest.$ac_objext conftest$ac_exeext
65858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65859 (eval $ac_link) 2>conftest.er1
65860 ac_status=$?
65861 grep -v '^ *+' conftest.er1 >conftest.err
65862 rm -f conftest.er1
65863 cat conftest.err >&5
65864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65865 (exit $ac_status); } &&
65866 { ac_try='test -z "$ac_c_werror_flag"
65867 || test ! -s conftest.err'
65868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65869 (eval $ac_try) 2>&5
65870 ac_status=$?
65871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65872 (exit $ac_status); }; } &&
65873 { ac_try='test -s conftest$ac_exeext'
65874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65875 (eval $ac_try) 2>&5
65876 ac_status=$?
65877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65878 (exit $ac_status); }; }; then
65879 eval "$as_ac_var=yes"
65880 else
65881 echo "$as_me: failed program was:" >&5
65882 sed 's/^/| /' conftest.$ac_ext >&5
65884 eval "$as_ac_var=no"
65886 rm -f conftest.err conftest.$ac_objext \
65887 conftest$ac_exeext conftest.$ac_ext
65889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65891 if test `eval echo '${'$as_ac_var'}'` = yes; then
65892 cat >>confdefs.h <<_ACEOF
65893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65894 _ACEOF
65897 done
65899 else
65901 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
65902 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
65903 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65904 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
65905 echo $ECHO_N "(cached) $ECHO_C" >&6
65906 else
65910 ac_ext=cc
65911 ac_cpp='$CXXCPP $CPPFLAGS'
65912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65916 cat >conftest.$ac_ext <<_ACEOF
65917 /* confdefs.h. */
65918 _ACEOF
65919 cat confdefs.h >>conftest.$ac_ext
65920 cat >>conftest.$ac_ext <<_ACEOF
65921 /* end confdefs.h. */
65922 #include <math.h>
65923 #ifdef HAVE_IEEEFP_H
65924 #include <ieeefp.h>
65925 #endif
65928 main ()
65930 _isinfl(0);
65932 return 0;
65934 _ACEOF
65935 rm -f conftest.$ac_objext
65936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65937 (eval $ac_compile) 2>conftest.er1
65938 ac_status=$?
65939 grep -v '^ *+' conftest.er1 >conftest.err
65940 rm -f conftest.er1
65941 cat conftest.err >&5
65942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65943 (exit $ac_status); } &&
65944 { ac_try='test -z "$ac_cxx_werror_flag"
65945 || test ! -s conftest.err'
65946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65947 (eval $ac_try) 2>&5
65948 ac_status=$?
65949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65950 (exit $ac_status); }; } &&
65951 { ac_try='test -s conftest.$ac_objext'
65952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65953 (eval $ac_try) 2>&5
65954 ac_status=$?
65955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65956 (exit $ac_status); }; }; then
65957 glibcxx_cv_func__isinfl_use=yes
65958 else
65959 echo "$as_me: failed program was:" >&5
65960 sed 's/^/| /' conftest.$ac_ext >&5
65962 glibcxx_cv_func__isinfl_use=no
65964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65965 ac_ext=c
65966 ac_cpp='$CPP $CPPFLAGS'
65967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65975 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
65976 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
65978 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65980 for ac_func in _isinfl
65982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65983 echo "$as_me:$LINENO: checking for $ac_func" >&5
65984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65985 if eval "test \"\${$as_ac_var+set}\" = set"; then
65986 echo $ECHO_N "(cached) $ECHO_C" >&6
65987 else
65988 if test x$gcc_no_link = xyes; then
65989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65991 { (exit 1); exit 1; }; }
65993 cat >conftest.$ac_ext <<_ACEOF
65994 /* confdefs.h. */
65995 _ACEOF
65996 cat confdefs.h >>conftest.$ac_ext
65997 cat >>conftest.$ac_ext <<_ACEOF
65998 /* end confdefs.h. */
65999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66001 #define $ac_func innocuous_$ac_func
66003 /* System header to define __stub macros and hopefully few prototypes,
66004 which can conflict with char $ac_func (); below.
66005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66006 <limits.h> exists even on freestanding compilers. */
66008 #ifdef __STDC__
66009 # include <limits.h>
66010 #else
66011 # include <assert.h>
66012 #endif
66014 #undef $ac_func
66016 /* Override any gcc2 internal prototype to avoid an error. */
66017 #ifdef __cplusplus
66018 extern "C"
66020 #endif
66021 /* We use char because int might match the return type of a gcc2
66022 builtin and then its argument prototype would still apply. */
66023 char $ac_func ();
66024 /* The GNU C library defines this for functions which it implements
66025 to always fail with ENOSYS. Some functions are actually named
66026 something starting with __ and the normal name is an alias. */
66027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66028 choke me
66029 #else
66030 char (*f) () = $ac_func;
66031 #endif
66032 #ifdef __cplusplus
66034 #endif
66037 main ()
66039 return f != $ac_func;
66041 return 0;
66043 _ACEOF
66044 rm -f conftest.$ac_objext conftest$ac_exeext
66045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66046 (eval $ac_link) 2>conftest.er1
66047 ac_status=$?
66048 grep -v '^ *+' conftest.er1 >conftest.err
66049 rm -f conftest.er1
66050 cat conftest.err >&5
66051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66052 (exit $ac_status); } &&
66053 { ac_try='test -z "$ac_c_werror_flag"
66054 || test ! -s conftest.err'
66055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66056 (eval $ac_try) 2>&5
66057 ac_status=$?
66058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66059 (exit $ac_status); }; } &&
66060 { ac_try='test -s conftest$ac_exeext'
66061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66062 (eval $ac_try) 2>&5
66063 ac_status=$?
66064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66065 (exit $ac_status); }; }; then
66066 eval "$as_ac_var=yes"
66067 else
66068 echo "$as_me: failed program was:" >&5
66069 sed 's/^/| /' conftest.$ac_ext >&5
66071 eval "$as_ac_var=no"
66073 rm -f conftest.err conftest.$ac_objext \
66074 conftest$ac_exeext conftest.$ac_ext
66076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66078 if test `eval echo '${'$as_ac_var'}'` = yes; then
66079 cat >>confdefs.h <<_ACEOF
66080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66081 _ACEOF
66084 done
66094 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
66095 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
66096 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
66097 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
66098 echo $ECHO_N "(cached) $ECHO_C" >&6
66099 else
66103 ac_ext=cc
66104 ac_cpp='$CXXCPP $CPPFLAGS'
66105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66109 cat >conftest.$ac_ext <<_ACEOF
66110 /* confdefs.h. */
66111 _ACEOF
66112 cat confdefs.h >>conftest.$ac_ext
66113 cat >>conftest.$ac_ext <<_ACEOF
66114 /* end confdefs.h. */
66115 #include <math.h>
66117 main ()
66119 copysignl(0, 0);
66121 return 0;
66123 _ACEOF
66124 rm -f conftest.$ac_objext
66125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66126 (eval $ac_compile) 2>conftest.er1
66127 ac_status=$?
66128 grep -v '^ *+' conftest.er1 >conftest.err
66129 rm -f conftest.er1
66130 cat conftest.err >&5
66131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66132 (exit $ac_status); } &&
66133 { ac_try='test -z "$ac_cxx_werror_flag"
66134 || test ! -s conftest.err'
66135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66136 (eval $ac_try) 2>&5
66137 ac_status=$?
66138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66139 (exit $ac_status); }; } &&
66140 { ac_try='test -s conftest.$ac_objext'
66141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66142 (eval $ac_try) 2>&5
66143 ac_status=$?
66144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66145 (exit $ac_status); }; }; then
66146 glibcxx_cv_func_copysignl_use=yes
66147 else
66148 echo "$as_me: failed program was:" >&5
66149 sed 's/^/| /' conftest.$ac_ext >&5
66151 glibcxx_cv_func_copysignl_use=no
66153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66154 ac_ext=c
66155 ac_cpp='$CPP $CPPFLAGS'
66156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
66165 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
66167 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
66169 for ac_func in copysignl
66171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66172 echo "$as_me:$LINENO: checking for $ac_func" >&5
66173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66174 if eval "test \"\${$as_ac_var+set}\" = set"; then
66175 echo $ECHO_N "(cached) $ECHO_C" >&6
66176 else
66177 if test x$gcc_no_link = xyes; then
66178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66180 { (exit 1); exit 1; }; }
66182 cat >conftest.$ac_ext <<_ACEOF
66183 /* confdefs.h. */
66184 _ACEOF
66185 cat confdefs.h >>conftest.$ac_ext
66186 cat >>conftest.$ac_ext <<_ACEOF
66187 /* end confdefs.h. */
66188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66190 #define $ac_func innocuous_$ac_func
66192 /* System header to define __stub macros and hopefully few prototypes,
66193 which can conflict with char $ac_func (); below.
66194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66195 <limits.h> exists even on freestanding compilers. */
66197 #ifdef __STDC__
66198 # include <limits.h>
66199 #else
66200 # include <assert.h>
66201 #endif
66203 #undef $ac_func
66205 /* Override any gcc2 internal prototype to avoid an error. */
66206 #ifdef __cplusplus
66207 extern "C"
66209 #endif
66210 /* We use char because int might match the return type of a gcc2
66211 builtin and then its argument prototype would still apply. */
66212 char $ac_func ();
66213 /* The GNU C library defines this for functions which it implements
66214 to always fail with ENOSYS. Some functions are actually named
66215 something starting with __ and the normal name is an alias. */
66216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66217 choke me
66218 #else
66219 char (*f) () = $ac_func;
66220 #endif
66221 #ifdef __cplusplus
66223 #endif
66226 main ()
66228 return f != $ac_func;
66230 return 0;
66232 _ACEOF
66233 rm -f conftest.$ac_objext conftest$ac_exeext
66234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66235 (eval $ac_link) 2>conftest.er1
66236 ac_status=$?
66237 grep -v '^ *+' conftest.er1 >conftest.err
66238 rm -f conftest.er1
66239 cat conftest.err >&5
66240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66241 (exit $ac_status); } &&
66242 { ac_try='test -z "$ac_c_werror_flag"
66243 || test ! -s conftest.err'
66244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66245 (eval $ac_try) 2>&5
66246 ac_status=$?
66247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66248 (exit $ac_status); }; } &&
66249 { ac_try='test -s conftest$ac_exeext'
66250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66251 (eval $ac_try) 2>&5
66252 ac_status=$?
66253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66254 (exit $ac_status); }; }; then
66255 eval "$as_ac_var=yes"
66256 else
66257 echo "$as_me: failed program was:" >&5
66258 sed 's/^/| /' conftest.$ac_ext >&5
66260 eval "$as_ac_var=no"
66262 rm -f conftest.err conftest.$ac_objext \
66263 conftest$ac_exeext conftest.$ac_ext
66265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66267 if test `eval echo '${'$as_ac_var'}'` = yes; then
66268 cat >>confdefs.h <<_ACEOF
66269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66270 _ACEOF
66273 done
66275 else
66277 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66278 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66279 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66280 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66281 echo $ECHO_N "(cached) $ECHO_C" >&6
66282 else
66286 ac_ext=cc
66287 ac_cpp='$CXXCPP $CPPFLAGS'
66288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66292 cat >conftest.$ac_ext <<_ACEOF
66293 /* confdefs.h. */
66294 _ACEOF
66295 cat confdefs.h >>conftest.$ac_ext
66296 cat >>conftest.$ac_ext <<_ACEOF
66297 /* end confdefs.h. */
66298 #include <math.h>
66300 main ()
66302 _copysignl(0, 0);
66304 return 0;
66306 _ACEOF
66307 rm -f conftest.$ac_objext
66308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66309 (eval $ac_compile) 2>conftest.er1
66310 ac_status=$?
66311 grep -v '^ *+' conftest.er1 >conftest.err
66312 rm -f conftest.er1
66313 cat conftest.err >&5
66314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66315 (exit $ac_status); } &&
66316 { ac_try='test -z "$ac_cxx_werror_flag"
66317 || test ! -s conftest.err'
66318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66319 (eval $ac_try) 2>&5
66320 ac_status=$?
66321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66322 (exit $ac_status); }; } &&
66323 { ac_try='test -s conftest.$ac_objext'
66324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66325 (eval $ac_try) 2>&5
66326 ac_status=$?
66327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66328 (exit $ac_status); }; }; then
66329 glibcxx_cv_func__copysignl_use=yes
66330 else
66331 echo "$as_me: failed program was:" >&5
66332 sed 's/^/| /' conftest.$ac_ext >&5
66334 glibcxx_cv_func__copysignl_use=no
66336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66337 ac_ext=c
66338 ac_cpp='$CPP $CPPFLAGS'
66339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66347 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66348 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66350 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66352 for ac_func in _copysignl
66354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66355 echo "$as_me:$LINENO: checking for $ac_func" >&5
66356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66357 if eval "test \"\${$as_ac_var+set}\" = set"; then
66358 echo $ECHO_N "(cached) $ECHO_C" >&6
66359 else
66360 if test x$gcc_no_link = xyes; then
66361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66363 { (exit 1); exit 1; }; }
66365 cat >conftest.$ac_ext <<_ACEOF
66366 /* confdefs.h. */
66367 _ACEOF
66368 cat confdefs.h >>conftest.$ac_ext
66369 cat >>conftest.$ac_ext <<_ACEOF
66370 /* end confdefs.h. */
66371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66373 #define $ac_func innocuous_$ac_func
66375 /* System header to define __stub macros and hopefully few prototypes,
66376 which can conflict with char $ac_func (); below.
66377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66378 <limits.h> exists even on freestanding compilers. */
66380 #ifdef __STDC__
66381 # include <limits.h>
66382 #else
66383 # include <assert.h>
66384 #endif
66386 #undef $ac_func
66388 /* Override any gcc2 internal prototype to avoid an error. */
66389 #ifdef __cplusplus
66390 extern "C"
66392 #endif
66393 /* We use char because int might match the return type of a gcc2
66394 builtin and then its argument prototype would still apply. */
66395 char $ac_func ();
66396 /* The GNU C library defines this for functions which it implements
66397 to always fail with ENOSYS. Some functions are actually named
66398 something starting with __ and the normal name is an alias. */
66399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66400 choke me
66401 #else
66402 char (*f) () = $ac_func;
66403 #endif
66404 #ifdef __cplusplus
66406 #endif
66409 main ()
66411 return f != $ac_func;
66413 return 0;
66415 _ACEOF
66416 rm -f conftest.$ac_objext conftest$ac_exeext
66417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66418 (eval $ac_link) 2>conftest.er1
66419 ac_status=$?
66420 grep -v '^ *+' conftest.er1 >conftest.err
66421 rm -f conftest.er1
66422 cat conftest.err >&5
66423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66424 (exit $ac_status); } &&
66425 { ac_try='test -z "$ac_c_werror_flag"
66426 || test ! -s conftest.err'
66427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66428 (eval $ac_try) 2>&5
66429 ac_status=$?
66430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66431 (exit $ac_status); }; } &&
66432 { ac_try='test -s conftest$ac_exeext'
66433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66434 (eval $ac_try) 2>&5
66435 ac_status=$?
66436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66437 (exit $ac_status); }; }; then
66438 eval "$as_ac_var=yes"
66439 else
66440 echo "$as_me: failed program was:" >&5
66441 sed 's/^/| /' conftest.$ac_ext >&5
66443 eval "$as_ac_var=no"
66445 rm -f conftest.err conftest.$ac_objext \
66446 conftest$ac_exeext conftest.$ac_ext
66448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66450 if test `eval echo '${'$as_ac_var'}'` = yes; then
66451 cat >>confdefs.h <<_ACEOF
66452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66453 _ACEOF
66456 done
66466 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66467 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66468 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66469 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66470 echo $ECHO_N "(cached) $ECHO_C" >&6
66471 else
66475 ac_ext=cc
66476 ac_cpp='$CXXCPP $CPPFLAGS'
66477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66481 cat >conftest.$ac_ext <<_ACEOF
66482 /* confdefs.h. */
66483 _ACEOF
66484 cat confdefs.h >>conftest.$ac_ext
66485 cat >>conftest.$ac_ext <<_ACEOF
66486 /* end confdefs.h. */
66487 #include <math.h>
66489 main ()
66491 atan2l(0, 0);
66493 return 0;
66495 _ACEOF
66496 rm -f conftest.$ac_objext
66497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66498 (eval $ac_compile) 2>conftest.er1
66499 ac_status=$?
66500 grep -v '^ *+' conftest.er1 >conftest.err
66501 rm -f conftest.er1
66502 cat conftest.err >&5
66503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66504 (exit $ac_status); } &&
66505 { ac_try='test -z "$ac_cxx_werror_flag"
66506 || test ! -s conftest.err'
66507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66508 (eval $ac_try) 2>&5
66509 ac_status=$?
66510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66511 (exit $ac_status); }; } &&
66512 { ac_try='test -s conftest.$ac_objext'
66513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66514 (eval $ac_try) 2>&5
66515 ac_status=$?
66516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66517 (exit $ac_status); }; }; then
66518 glibcxx_cv_func_atan2l_use=yes
66519 else
66520 echo "$as_me: failed program was:" >&5
66521 sed 's/^/| /' conftest.$ac_ext >&5
66523 glibcxx_cv_func_atan2l_use=no
66525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66526 ac_ext=c
66527 ac_cpp='$CPP $CPPFLAGS'
66528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66536 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66537 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66539 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66541 for ac_func in atan2l
66543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66544 echo "$as_me:$LINENO: checking for $ac_func" >&5
66545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66546 if eval "test \"\${$as_ac_var+set}\" = set"; then
66547 echo $ECHO_N "(cached) $ECHO_C" >&6
66548 else
66549 if test x$gcc_no_link = xyes; then
66550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66552 { (exit 1); exit 1; }; }
66554 cat >conftest.$ac_ext <<_ACEOF
66555 /* confdefs.h. */
66556 _ACEOF
66557 cat confdefs.h >>conftest.$ac_ext
66558 cat >>conftest.$ac_ext <<_ACEOF
66559 /* end confdefs.h. */
66560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66562 #define $ac_func innocuous_$ac_func
66564 /* System header to define __stub macros and hopefully few prototypes,
66565 which can conflict with char $ac_func (); below.
66566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66567 <limits.h> exists even on freestanding compilers. */
66569 #ifdef __STDC__
66570 # include <limits.h>
66571 #else
66572 # include <assert.h>
66573 #endif
66575 #undef $ac_func
66577 /* Override any gcc2 internal prototype to avoid an error. */
66578 #ifdef __cplusplus
66579 extern "C"
66581 #endif
66582 /* We use char because int might match the return type of a gcc2
66583 builtin and then its argument prototype would still apply. */
66584 char $ac_func ();
66585 /* The GNU C library defines this for functions which it implements
66586 to always fail with ENOSYS. Some functions are actually named
66587 something starting with __ and the normal name is an alias. */
66588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66589 choke me
66590 #else
66591 char (*f) () = $ac_func;
66592 #endif
66593 #ifdef __cplusplus
66595 #endif
66598 main ()
66600 return f != $ac_func;
66602 return 0;
66604 _ACEOF
66605 rm -f conftest.$ac_objext conftest$ac_exeext
66606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66607 (eval $ac_link) 2>conftest.er1
66608 ac_status=$?
66609 grep -v '^ *+' conftest.er1 >conftest.err
66610 rm -f conftest.er1
66611 cat conftest.err >&5
66612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66613 (exit $ac_status); } &&
66614 { ac_try='test -z "$ac_c_werror_flag"
66615 || test ! -s conftest.err'
66616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66617 (eval $ac_try) 2>&5
66618 ac_status=$?
66619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66620 (exit $ac_status); }; } &&
66621 { ac_try='test -s conftest$ac_exeext'
66622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66623 (eval $ac_try) 2>&5
66624 ac_status=$?
66625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66626 (exit $ac_status); }; }; then
66627 eval "$as_ac_var=yes"
66628 else
66629 echo "$as_me: failed program was:" >&5
66630 sed 's/^/| /' conftest.$ac_ext >&5
66632 eval "$as_ac_var=no"
66634 rm -f conftest.err conftest.$ac_objext \
66635 conftest$ac_exeext conftest.$ac_ext
66637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66639 if test `eval echo '${'$as_ac_var'}'` = yes; then
66640 cat >>confdefs.h <<_ACEOF
66641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66642 _ACEOF
66645 done
66647 else
66649 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66650 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66651 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66652 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66653 echo $ECHO_N "(cached) $ECHO_C" >&6
66654 else
66658 ac_ext=cc
66659 ac_cpp='$CXXCPP $CPPFLAGS'
66660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66664 cat >conftest.$ac_ext <<_ACEOF
66665 /* confdefs.h. */
66666 _ACEOF
66667 cat confdefs.h >>conftest.$ac_ext
66668 cat >>conftest.$ac_ext <<_ACEOF
66669 /* end confdefs.h. */
66670 #include <math.h>
66672 main ()
66674 _atan2l(0, 0);
66676 return 0;
66678 _ACEOF
66679 rm -f conftest.$ac_objext
66680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66681 (eval $ac_compile) 2>conftest.er1
66682 ac_status=$?
66683 grep -v '^ *+' conftest.er1 >conftest.err
66684 rm -f conftest.er1
66685 cat conftest.err >&5
66686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66687 (exit $ac_status); } &&
66688 { ac_try='test -z "$ac_cxx_werror_flag"
66689 || test ! -s conftest.err'
66690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66691 (eval $ac_try) 2>&5
66692 ac_status=$?
66693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66694 (exit $ac_status); }; } &&
66695 { ac_try='test -s conftest.$ac_objext'
66696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66697 (eval $ac_try) 2>&5
66698 ac_status=$?
66699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66700 (exit $ac_status); }; }; then
66701 glibcxx_cv_func__atan2l_use=yes
66702 else
66703 echo "$as_me: failed program was:" >&5
66704 sed 's/^/| /' conftest.$ac_ext >&5
66706 glibcxx_cv_func__atan2l_use=no
66708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66709 ac_ext=c
66710 ac_cpp='$CPP $CPPFLAGS'
66711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66719 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66720 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66722 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66724 for ac_func in _atan2l
66726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66727 echo "$as_me:$LINENO: checking for $ac_func" >&5
66728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66729 if eval "test \"\${$as_ac_var+set}\" = set"; then
66730 echo $ECHO_N "(cached) $ECHO_C" >&6
66731 else
66732 if test x$gcc_no_link = xyes; then
66733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66735 { (exit 1); exit 1; }; }
66737 cat >conftest.$ac_ext <<_ACEOF
66738 /* confdefs.h. */
66739 _ACEOF
66740 cat confdefs.h >>conftest.$ac_ext
66741 cat >>conftest.$ac_ext <<_ACEOF
66742 /* end confdefs.h. */
66743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66745 #define $ac_func innocuous_$ac_func
66747 /* System header to define __stub macros and hopefully few prototypes,
66748 which can conflict with char $ac_func (); below.
66749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66750 <limits.h> exists even on freestanding compilers. */
66752 #ifdef __STDC__
66753 # include <limits.h>
66754 #else
66755 # include <assert.h>
66756 #endif
66758 #undef $ac_func
66760 /* Override any gcc2 internal prototype to avoid an error. */
66761 #ifdef __cplusplus
66762 extern "C"
66764 #endif
66765 /* We use char because int might match the return type of a gcc2
66766 builtin and then its argument prototype would still apply. */
66767 char $ac_func ();
66768 /* The GNU C library defines this for functions which it implements
66769 to always fail with ENOSYS. Some functions are actually named
66770 something starting with __ and the normal name is an alias. */
66771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66772 choke me
66773 #else
66774 char (*f) () = $ac_func;
66775 #endif
66776 #ifdef __cplusplus
66778 #endif
66781 main ()
66783 return f != $ac_func;
66785 return 0;
66787 _ACEOF
66788 rm -f conftest.$ac_objext conftest$ac_exeext
66789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66790 (eval $ac_link) 2>conftest.er1
66791 ac_status=$?
66792 grep -v '^ *+' conftest.er1 >conftest.err
66793 rm -f conftest.er1
66794 cat conftest.err >&5
66795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66796 (exit $ac_status); } &&
66797 { ac_try='test -z "$ac_c_werror_flag"
66798 || test ! -s conftest.err'
66799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66800 (eval $ac_try) 2>&5
66801 ac_status=$?
66802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66803 (exit $ac_status); }; } &&
66804 { ac_try='test -s conftest$ac_exeext'
66805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66806 (eval $ac_try) 2>&5
66807 ac_status=$?
66808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66809 (exit $ac_status); }; }; then
66810 eval "$as_ac_var=yes"
66811 else
66812 echo "$as_me: failed program was:" >&5
66813 sed 's/^/| /' conftest.$ac_ext >&5
66815 eval "$as_ac_var=no"
66817 rm -f conftest.err conftest.$ac_objext \
66818 conftest$ac_exeext conftest.$ac_ext
66820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66822 if test `eval echo '${'$as_ac_var'}'` = yes; then
66823 cat >>confdefs.h <<_ACEOF
66824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66825 _ACEOF
66828 done
66838 echo "$as_me:$LINENO: checking for expl declaration" >&5
66839 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
66840 if test x${glibcxx_cv_func_expl_use+set} != xset; then
66841 if test "${glibcxx_cv_func_expl_use+set}" = set; then
66842 echo $ECHO_N "(cached) $ECHO_C" >&6
66843 else
66847 ac_ext=cc
66848 ac_cpp='$CXXCPP $CPPFLAGS'
66849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66853 cat >conftest.$ac_ext <<_ACEOF
66854 /* confdefs.h. */
66855 _ACEOF
66856 cat confdefs.h >>conftest.$ac_ext
66857 cat >>conftest.$ac_ext <<_ACEOF
66858 /* end confdefs.h. */
66859 #include <math.h>
66860 #ifdef HAVE_IEEEFP_H
66861 #include <ieeefp.h>
66862 #endif
66865 main ()
66867 expl(0);
66869 return 0;
66871 _ACEOF
66872 rm -f conftest.$ac_objext
66873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66874 (eval $ac_compile) 2>conftest.er1
66875 ac_status=$?
66876 grep -v '^ *+' conftest.er1 >conftest.err
66877 rm -f conftest.er1
66878 cat conftest.err >&5
66879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66880 (exit $ac_status); } &&
66881 { ac_try='test -z "$ac_cxx_werror_flag"
66882 || test ! -s conftest.err'
66883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66884 (eval $ac_try) 2>&5
66885 ac_status=$?
66886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66887 (exit $ac_status); }; } &&
66888 { ac_try='test -s conftest.$ac_objext'
66889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66890 (eval $ac_try) 2>&5
66891 ac_status=$?
66892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66893 (exit $ac_status); }; }; then
66894 glibcxx_cv_func_expl_use=yes
66895 else
66896 echo "$as_me: failed program was:" >&5
66897 sed 's/^/| /' conftest.$ac_ext >&5
66899 glibcxx_cv_func_expl_use=no
66901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66902 ac_ext=c
66903 ac_cpp='$CPP $CPPFLAGS'
66904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66912 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
66913 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
66915 if test x$glibcxx_cv_func_expl_use = x"yes"; then
66917 for ac_func in expl
66919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66920 echo "$as_me:$LINENO: checking for $ac_func" >&5
66921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66922 if eval "test \"\${$as_ac_var+set}\" = set"; then
66923 echo $ECHO_N "(cached) $ECHO_C" >&6
66924 else
66925 if test x$gcc_no_link = xyes; then
66926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66928 { (exit 1); exit 1; }; }
66930 cat >conftest.$ac_ext <<_ACEOF
66931 /* confdefs.h. */
66932 _ACEOF
66933 cat confdefs.h >>conftest.$ac_ext
66934 cat >>conftest.$ac_ext <<_ACEOF
66935 /* end confdefs.h. */
66936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66938 #define $ac_func innocuous_$ac_func
66940 /* System header to define __stub macros and hopefully few prototypes,
66941 which can conflict with char $ac_func (); below.
66942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66943 <limits.h> exists even on freestanding compilers. */
66945 #ifdef __STDC__
66946 # include <limits.h>
66947 #else
66948 # include <assert.h>
66949 #endif
66951 #undef $ac_func
66953 /* Override any gcc2 internal prototype to avoid an error. */
66954 #ifdef __cplusplus
66955 extern "C"
66957 #endif
66958 /* We use char because int might match the return type of a gcc2
66959 builtin and then its argument prototype would still apply. */
66960 char $ac_func ();
66961 /* The GNU C library defines this for functions which it implements
66962 to always fail with ENOSYS. Some functions are actually named
66963 something starting with __ and the normal name is an alias. */
66964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66965 choke me
66966 #else
66967 char (*f) () = $ac_func;
66968 #endif
66969 #ifdef __cplusplus
66971 #endif
66974 main ()
66976 return f != $ac_func;
66978 return 0;
66980 _ACEOF
66981 rm -f conftest.$ac_objext conftest$ac_exeext
66982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66983 (eval $ac_link) 2>conftest.er1
66984 ac_status=$?
66985 grep -v '^ *+' conftest.er1 >conftest.err
66986 rm -f conftest.er1
66987 cat conftest.err >&5
66988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66989 (exit $ac_status); } &&
66990 { ac_try='test -z "$ac_c_werror_flag"
66991 || test ! -s conftest.err'
66992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66993 (eval $ac_try) 2>&5
66994 ac_status=$?
66995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66996 (exit $ac_status); }; } &&
66997 { ac_try='test -s conftest$ac_exeext'
66998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66999 (eval $ac_try) 2>&5
67000 ac_status=$?
67001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67002 (exit $ac_status); }; }; then
67003 eval "$as_ac_var=yes"
67004 else
67005 echo "$as_me: failed program was:" >&5
67006 sed 's/^/| /' conftest.$ac_ext >&5
67008 eval "$as_ac_var=no"
67010 rm -f conftest.err conftest.$ac_objext \
67011 conftest$ac_exeext conftest.$ac_ext
67013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67015 if test `eval echo '${'$as_ac_var'}'` = yes; then
67016 cat >>confdefs.h <<_ACEOF
67017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67018 _ACEOF
67021 done
67023 else
67025 echo "$as_me:$LINENO: checking for _expl declaration" >&5
67026 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
67027 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67028 if test "${glibcxx_cv_func__expl_use+set}" = set; then
67029 echo $ECHO_N "(cached) $ECHO_C" >&6
67030 else
67034 ac_ext=cc
67035 ac_cpp='$CXXCPP $CPPFLAGS'
67036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67040 cat >conftest.$ac_ext <<_ACEOF
67041 /* confdefs.h. */
67042 _ACEOF
67043 cat confdefs.h >>conftest.$ac_ext
67044 cat >>conftest.$ac_ext <<_ACEOF
67045 /* end confdefs.h. */
67046 #include <math.h>
67047 #ifdef HAVE_IEEEFP_H
67048 #include <ieeefp.h>
67049 #endif
67052 main ()
67054 _expl(0);
67056 return 0;
67058 _ACEOF
67059 rm -f conftest.$ac_objext
67060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67061 (eval $ac_compile) 2>conftest.er1
67062 ac_status=$?
67063 grep -v '^ *+' conftest.er1 >conftest.err
67064 rm -f conftest.er1
67065 cat conftest.err >&5
67066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67067 (exit $ac_status); } &&
67068 { ac_try='test -z "$ac_cxx_werror_flag"
67069 || test ! -s conftest.err'
67070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67071 (eval $ac_try) 2>&5
67072 ac_status=$?
67073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67074 (exit $ac_status); }; } &&
67075 { ac_try='test -s conftest.$ac_objext'
67076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67077 (eval $ac_try) 2>&5
67078 ac_status=$?
67079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67080 (exit $ac_status); }; }; then
67081 glibcxx_cv_func__expl_use=yes
67082 else
67083 echo "$as_me: failed program was:" >&5
67084 sed 's/^/| /' conftest.$ac_ext >&5
67086 glibcxx_cv_func__expl_use=no
67088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67089 ac_ext=c
67090 ac_cpp='$CPP $CPPFLAGS'
67091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67099 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
67100 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
67102 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67104 for ac_func in _expl
67106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67107 echo "$as_me:$LINENO: checking for $ac_func" >&5
67108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67109 if eval "test \"\${$as_ac_var+set}\" = set"; then
67110 echo $ECHO_N "(cached) $ECHO_C" >&6
67111 else
67112 if test x$gcc_no_link = xyes; then
67113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67115 { (exit 1); exit 1; }; }
67117 cat >conftest.$ac_ext <<_ACEOF
67118 /* confdefs.h. */
67119 _ACEOF
67120 cat confdefs.h >>conftest.$ac_ext
67121 cat >>conftest.$ac_ext <<_ACEOF
67122 /* end confdefs.h. */
67123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67125 #define $ac_func innocuous_$ac_func
67127 /* System header to define __stub macros and hopefully few prototypes,
67128 which can conflict with char $ac_func (); below.
67129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67130 <limits.h> exists even on freestanding compilers. */
67132 #ifdef __STDC__
67133 # include <limits.h>
67134 #else
67135 # include <assert.h>
67136 #endif
67138 #undef $ac_func
67140 /* Override any gcc2 internal prototype to avoid an error. */
67141 #ifdef __cplusplus
67142 extern "C"
67144 #endif
67145 /* We use char because int might match the return type of a gcc2
67146 builtin and then its argument prototype would still apply. */
67147 char $ac_func ();
67148 /* The GNU C library defines this for functions which it implements
67149 to always fail with ENOSYS. Some functions are actually named
67150 something starting with __ and the normal name is an alias. */
67151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67152 choke me
67153 #else
67154 char (*f) () = $ac_func;
67155 #endif
67156 #ifdef __cplusplus
67158 #endif
67161 main ()
67163 return f != $ac_func;
67165 return 0;
67167 _ACEOF
67168 rm -f conftest.$ac_objext conftest$ac_exeext
67169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67170 (eval $ac_link) 2>conftest.er1
67171 ac_status=$?
67172 grep -v '^ *+' conftest.er1 >conftest.err
67173 rm -f conftest.er1
67174 cat conftest.err >&5
67175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67176 (exit $ac_status); } &&
67177 { ac_try='test -z "$ac_c_werror_flag"
67178 || test ! -s conftest.err'
67179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67180 (eval $ac_try) 2>&5
67181 ac_status=$?
67182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67183 (exit $ac_status); }; } &&
67184 { ac_try='test -s conftest$ac_exeext'
67185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67186 (eval $ac_try) 2>&5
67187 ac_status=$?
67188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67189 (exit $ac_status); }; }; then
67190 eval "$as_ac_var=yes"
67191 else
67192 echo "$as_me: failed program was:" >&5
67193 sed 's/^/| /' conftest.$ac_ext >&5
67195 eval "$as_ac_var=no"
67197 rm -f conftest.err conftest.$ac_objext \
67198 conftest$ac_exeext conftest.$ac_ext
67200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67202 if test `eval echo '${'$as_ac_var'}'` = yes; then
67203 cat >>confdefs.h <<_ACEOF
67204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67205 _ACEOF
67208 done
67218 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
67219 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
67220 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67221 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
67222 echo $ECHO_N "(cached) $ECHO_C" >&6
67223 else
67227 ac_ext=cc
67228 ac_cpp='$CXXCPP $CPPFLAGS'
67229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67233 cat >conftest.$ac_ext <<_ACEOF
67234 /* confdefs.h. */
67235 _ACEOF
67236 cat confdefs.h >>conftest.$ac_ext
67237 cat >>conftest.$ac_ext <<_ACEOF
67238 /* end confdefs.h. */
67239 #include <math.h>
67240 #ifdef HAVE_IEEEFP_H
67241 #include <ieeefp.h>
67242 #endif
67245 main ()
67247 fabsl(0);
67249 return 0;
67251 _ACEOF
67252 rm -f conftest.$ac_objext
67253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67254 (eval $ac_compile) 2>conftest.er1
67255 ac_status=$?
67256 grep -v '^ *+' conftest.er1 >conftest.err
67257 rm -f conftest.er1
67258 cat conftest.err >&5
67259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67260 (exit $ac_status); } &&
67261 { ac_try='test -z "$ac_cxx_werror_flag"
67262 || test ! -s conftest.err'
67263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67264 (eval $ac_try) 2>&5
67265 ac_status=$?
67266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67267 (exit $ac_status); }; } &&
67268 { ac_try='test -s conftest.$ac_objext'
67269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67270 (eval $ac_try) 2>&5
67271 ac_status=$?
67272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67273 (exit $ac_status); }; }; then
67274 glibcxx_cv_func_fabsl_use=yes
67275 else
67276 echo "$as_me: failed program was:" >&5
67277 sed 's/^/| /' conftest.$ac_ext >&5
67279 glibcxx_cv_func_fabsl_use=no
67281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67282 ac_ext=c
67283 ac_cpp='$CPP $CPPFLAGS'
67284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67293 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67295 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67297 for ac_func in fabsl
67299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67300 echo "$as_me:$LINENO: checking for $ac_func" >&5
67301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67302 if eval "test \"\${$as_ac_var+set}\" = set"; then
67303 echo $ECHO_N "(cached) $ECHO_C" >&6
67304 else
67305 if test x$gcc_no_link = xyes; then
67306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67308 { (exit 1); exit 1; }; }
67310 cat >conftest.$ac_ext <<_ACEOF
67311 /* confdefs.h. */
67312 _ACEOF
67313 cat confdefs.h >>conftest.$ac_ext
67314 cat >>conftest.$ac_ext <<_ACEOF
67315 /* end confdefs.h. */
67316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67318 #define $ac_func innocuous_$ac_func
67320 /* System header to define __stub macros and hopefully few prototypes,
67321 which can conflict with char $ac_func (); below.
67322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67323 <limits.h> exists even on freestanding compilers. */
67325 #ifdef __STDC__
67326 # include <limits.h>
67327 #else
67328 # include <assert.h>
67329 #endif
67331 #undef $ac_func
67333 /* Override any gcc2 internal prototype to avoid an error. */
67334 #ifdef __cplusplus
67335 extern "C"
67337 #endif
67338 /* We use char because int might match the return type of a gcc2
67339 builtin and then its argument prototype would still apply. */
67340 char $ac_func ();
67341 /* The GNU C library defines this for functions which it implements
67342 to always fail with ENOSYS. Some functions are actually named
67343 something starting with __ and the normal name is an alias. */
67344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67345 choke me
67346 #else
67347 char (*f) () = $ac_func;
67348 #endif
67349 #ifdef __cplusplus
67351 #endif
67354 main ()
67356 return f != $ac_func;
67358 return 0;
67360 _ACEOF
67361 rm -f conftest.$ac_objext conftest$ac_exeext
67362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67363 (eval $ac_link) 2>conftest.er1
67364 ac_status=$?
67365 grep -v '^ *+' conftest.er1 >conftest.err
67366 rm -f conftest.er1
67367 cat conftest.err >&5
67368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67369 (exit $ac_status); } &&
67370 { ac_try='test -z "$ac_c_werror_flag"
67371 || test ! -s conftest.err'
67372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67373 (eval $ac_try) 2>&5
67374 ac_status=$?
67375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67376 (exit $ac_status); }; } &&
67377 { ac_try='test -s conftest$ac_exeext'
67378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67379 (eval $ac_try) 2>&5
67380 ac_status=$?
67381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67382 (exit $ac_status); }; }; then
67383 eval "$as_ac_var=yes"
67384 else
67385 echo "$as_me: failed program was:" >&5
67386 sed 's/^/| /' conftest.$ac_ext >&5
67388 eval "$as_ac_var=no"
67390 rm -f conftest.err conftest.$ac_objext \
67391 conftest$ac_exeext conftest.$ac_ext
67393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67395 if test `eval echo '${'$as_ac_var'}'` = yes; then
67396 cat >>confdefs.h <<_ACEOF
67397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67398 _ACEOF
67401 done
67403 else
67405 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67406 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67407 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67408 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67409 echo $ECHO_N "(cached) $ECHO_C" >&6
67410 else
67414 ac_ext=cc
67415 ac_cpp='$CXXCPP $CPPFLAGS'
67416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67420 cat >conftest.$ac_ext <<_ACEOF
67421 /* confdefs.h. */
67422 _ACEOF
67423 cat confdefs.h >>conftest.$ac_ext
67424 cat >>conftest.$ac_ext <<_ACEOF
67425 /* end confdefs.h. */
67426 #include <math.h>
67427 #ifdef HAVE_IEEEFP_H
67428 #include <ieeefp.h>
67429 #endif
67432 main ()
67434 _fabsl(0);
67436 return 0;
67438 _ACEOF
67439 rm -f conftest.$ac_objext
67440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67441 (eval $ac_compile) 2>conftest.er1
67442 ac_status=$?
67443 grep -v '^ *+' conftest.er1 >conftest.err
67444 rm -f conftest.er1
67445 cat conftest.err >&5
67446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67447 (exit $ac_status); } &&
67448 { ac_try='test -z "$ac_cxx_werror_flag"
67449 || test ! -s conftest.err'
67450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67451 (eval $ac_try) 2>&5
67452 ac_status=$?
67453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67454 (exit $ac_status); }; } &&
67455 { ac_try='test -s conftest.$ac_objext'
67456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67457 (eval $ac_try) 2>&5
67458 ac_status=$?
67459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67460 (exit $ac_status); }; }; then
67461 glibcxx_cv_func__fabsl_use=yes
67462 else
67463 echo "$as_me: failed program was:" >&5
67464 sed 's/^/| /' conftest.$ac_ext >&5
67466 glibcxx_cv_func__fabsl_use=no
67468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67469 ac_ext=c
67470 ac_cpp='$CPP $CPPFLAGS'
67471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67479 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67480 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67482 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67484 for ac_func in _fabsl
67486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67487 echo "$as_me:$LINENO: checking for $ac_func" >&5
67488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67489 if eval "test \"\${$as_ac_var+set}\" = set"; then
67490 echo $ECHO_N "(cached) $ECHO_C" >&6
67491 else
67492 if test x$gcc_no_link = xyes; then
67493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67495 { (exit 1); exit 1; }; }
67497 cat >conftest.$ac_ext <<_ACEOF
67498 /* confdefs.h. */
67499 _ACEOF
67500 cat confdefs.h >>conftest.$ac_ext
67501 cat >>conftest.$ac_ext <<_ACEOF
67502 /* end confdefs.h. */
67503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67505 #define $ac_func innocuous_$ac_func
67507 /* System header to define __stub macros and hopefully few prototypes,
67508 which can conflict with char $ac_func (); below.
67509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67510 <limits.h> exists even on freestanding compilers. */
67512 #ifdef __STDC__
67513 # include <limits.h>
67514 #else
67515 # include <assert.h>
67516 #endif
67518 #undef $ac_func
67520 /* Override any gcc2 internal prototype to avoid an error. */
67521 #ifdef __cplusplus
67522 extern "C"
67524 #endif
67525 /* We use char because int might match the return type of a gcc2
67526 builtin and then its argument prototype would still apply. */
67527 char $ac_func ();
67528 /* The GNU C library defines this for functions which it implements
67529 to always fail with ENOSYS. Some functions are actually named
67530 something starting with __ and the normal name is an alias. */
67531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67532 choke me
67533 #else
67534 char (*f) () = $ac_func;
67535 #endif
67536 #ifdef __cplusplus
67538 #endif
67541 main ()
67543 return f != $ac_func;
67545 return 0;
67547 _ACEOF
67548 rm -f conftest.$ac_objext conftest$ac_exeext
67549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67550 (eval $ac_link) 2>conftest.er1
67551 ac_status=$?
67552 grep -v '^ *+' conftest.er1 >conftest.err
67553 rm -f conftest.er1
67554 cat conftest.err >&5
67555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67556 (exit $ac_status); } &&
67557 { ac_try='test -z "$ac_c_werror_flag"
67558 || test ! -s conftest.err'
67559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67560 (eval $ac_try) 2>&5
67561 ac_status=$?
67562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67563 (exit $ac_status); }; } &&
67564 { ac_try='test -s conftest$ac_exeext'
67565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67566 (eval $ac_try) 2>&5
67567 ac_status=$?
67568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67569 (exit $ac_status); }; }; then
67570 eval "$as_ac_var=yes"
67571 else
67572 echo "$as_me: failed program was:" >&5
67573 sed 's/^/| /' conftest.$ac_ext >&5
67575 eval "$as_ac_var=no"
67577 rm -f conftest.err conftest.$ac_objext \
67578 conftest$ac_exeext conftest.$ac_ext
67580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67582 if test `eval echo '${'$as_ac_var'}'` = yes; then
67583 cat >>confdefs.h <<_ACEOF
67584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67585 _ACEOF
67588 done
67598 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67599 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67600 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67601 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67602 echo $ECHO_N "(cached) $ECHO_C" >&6
67603 else
67607 ac_ext=cc
67608 ac_cpp='$CXXCPP $CPPFLAGS'
67609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67613 cat >conftest.$ac_ext <<_ACEOF
67614 /* confdefs.h. */
67615 _ACEOF
67616 cat confdefs.h >>conftest.$ac_ext
67617 cat >>conftest.$ac_ext <<_ACEOF
67618 /* end confdefs.h. */
67619 #include <math.h>
67621 main ()
67623 fmodl(0, 0);
67625 return 0;
67627 _ACEOF
67628 rm -f conftest.$ac_objext
67629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67630 (eval $ac_compile) 2>conftest.er1
67631 ac_status=$?
67632 grep -v '^ *+' conftest.er1 >conftest.err
67633 rm -f conftest.er1
67634 cat conftest.err >&5
67635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67636 (exit $ac_status); } &&
67637 { ac_try='test -z "$ac_cxx_werror_flag"
67638 || test ! -s conftest.err'
67639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67640 (eval $ac_try) 2>&5
67641 ac_status=$?
67642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67643 (exit $ac_status); }; } &&
67644 { ac_try='test -s conftest.$ac_objext'
67645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67646 (eval $ac_try) 2>&5
67647 ac_status=$?
67648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67649 (exit $ac_status); }; }; then
67650 glibcxx_cv_func_fmodl_use=yes
67651 else
67652 echo "$as_me: failed program was:" >&5
67653 sed 's/^/| /' conftest.$ac_ext >&5
67655 glibcxx_cv_func_fmodl_use=no
67657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67658 ac_ext=c
67659 ac_cpp='$CPP $CPPFLAGS'
67660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67669 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67671 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67673 for ac_func in fmodl
67675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67676 echo "$as_me:$LINENO: checking for $ac_func" >&5
67677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67678 if eval "test \"\${$as_ac_var+set}\" = set"; then
67679 echo $ECHO_N "(cached) $ECHO_C" >&6
67680 else
67681 if test x$gcc_no_link = xyes; then
67682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67684 { (exit 1); exit 1; }; }
67686 cat >conftest.$ac_ext <<_ACEOF
67687 /* confdefs.h. */
67688 _ACEOF
67689 cat confdefs.h >>conftest.$ac_ext
67690 cat >>conftest.$ac_ext <<_ACEOF
67691 /* end confdefs.h. */
67692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67694 #define $ac_func innocuous_$ac_func
67696 /* System header to define __stub macros and hopefully few prototypes,
67697 which can conflict with char $ac_func (); below.
67698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67699 <limits.h> exists even on freestanding compilers. */
67701 #ifdef __STDC__
67702 # include <limits.h>
67703 #else
67704 # include <assert.h>
67705 #endif
67707 #undef $ac_func
67709 /* Override any gcc2 internal prototype to avoid an error. */
67710 #ifdef __cplusplus
67711 extern "C"
67713 #endif
67714 /* We use char because int might match the return type of a gcc2
67715 builtin and then its argument prototype would still apply. */
67716 char $ac_func ();
67717 /* The GNU C library defines this for functions which it implements
67718 to always fail with ENOSYS. Some functions are actually named
67719 something starting with __ and the normal name is an alias. */
67720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67721 choke me
67722 #else
67723 char (*f) () = $ac_func;
67724 #endif
67725 #ifdef __cplusplus
67727 #endif
67730 main ()
67732 return f != $ac_func;
67734 return 0;
67736 _ACEOF
67737 rm -f conftest.$ac_objext conftest$ac_exeext
67738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67739 (eval $ac_link) 2>conftest.er1
67740 ac_status=$?
67741 grep -v '^ *+' conftest.er1 >conftest.err
67742 rm -f conftest.er1
67743 cat conftest.err >&5
67744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67745 (exit $ac_status); } &&
67746 { ac_try='test -z "$ac_c_werror_flag"
67747 || test ! -s conftest.err'
67748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67749 (eval $ac_try) 2>&5
67750 ac_status=$?
67751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67752 (exit $ac_status); }; } &&
67753 { ac_try='test -s conftest$ac_exeext'
67754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67755 (eval $ac_try) 2>&5
67756 ac_status=$?
67757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67758 (exit $ac_status); }; }; then
67759 eval "$as_ac_var=yes"
67760 else
67761 echo "$as_me: failed program was:" >&5
67762 sed 's/^/| /' conftest.$ac_ext >&5
67764 eval "$as_ac_var=no"
67766 rm -f conftest.err conftest.$ac_objext \
67767 conftest$ac_exeext conftest.$ac_ext
67769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67771 if test `eval echo '${'$as_ac_var'}'` = yes; then
67772 cat >>confdefs.h <<_ACEOF
67773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67774 _ACEOF
67777 done
67779 else
67781 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
67782 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
67783 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67784 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
67785 echo $ECHO_N "(cached) $ECHO_C" >&6
67786 else
67790 ac_ext=cc
67791 ac_cpp='$CXXCPP $CPPFLAGS'
67792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67796 cat >conftest.$ac_ext <<_ACEOF
67797 /* confdefs.h. */
67798 _ACEOF
67799 cat confdefs.h >>conftest.$ac_ext
67800 cat >>conftest.$ac_ext <<_ACEOF
67801 /* end confdefs.h. */
67802 #include <math.h>
67804 main ()
67806 _fmodl(0, 0);
67808 return 0;
67810 _ACEOF
67811 rm -f conftest.$ac_objext
67812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67813 (eval $ac_compile) 2>conftest.er1
67814 ac_status=$?
67815 grep -v '^ *+' conftest.er1 >conftest.err
67816 rm -f conftest.er1
67817 cat conftest.err >&5
67818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67819 (exit $ac_status); } &&
67820 { ac_try='test -z "$ac_cxx_werror_flag"
67821 || test ! -s conftest.err'
67822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67823 (eval $ac_try) 2>&5
67824 ac_status=$?
67825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67826 (exit $ac_status); }; } &&
67827 { ac_try='test -s conftest.$ac_objext'
67828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67829 (eval $ac_try) 2>&5
67830 ac_status=$?
67831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67832 (exit $ac_status); }; }; then
67833 glibcxx_cv_func__fmodl_use=yes
67834 else
67835 echo "$as_me: failed program was:" >&5
67836 sed 's/^/| /' conftest.$ac_ext >&5
67838 glibcxx_cv_func__fmodl_use=no
67840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67841 ac_ext=c
67842 ac_cpp='$CPP $CPPFLAGS'
67843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
67852 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
67854 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67856 for ac_func in _fmodl
67858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67859 echo "$as_me:$LINENO: checking for $ac_func" >&5
67860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67861 if eval "test \"\${$as_ac_var+set}\" = set"; then
67862 echo $ECHO_N "(cached) $ECHO_C" >&6
67863 else
67864 if test x$gcc_no_link = xyes; then
67865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67867 { (exit 1); exit 1; }; }
67869 cat >conftest.$ac_ext <<_ACEOF
67870 /* confdefs.h. */
67871 _ACEOF
67872 cat confdefs.h >>conftest.$ac_ext
67873 cat >>conftest.$ac_ext <<_ACEOF
67874 /* end confdefs.h. */
67875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67877 #define $ac_func innocuous_$ac_func
67879 /* System header to define __stub macros and hopefully few prototypes,
67880 which can conflict with char $ac_func (); below.
67881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67882 <limits.h> exists even on freestanding compilers. */
67884 #ifdef __STDC__
67885 # include <limits.h>
67886 #else
67887 # include <assert.h>
67888 #endif
67890 #undef $ac_func
67892 /* Override any gcc2 internal prototype to avoid an error. */
67893 #ifdef __cplusplus
67894 extern "C"
67896 #endif
67897 /* We use char because int might match the return type of a gcc2
67898 builtin and then its argument prototype would still apply. */
67899 char $ac_func ();
67900 /* The GNU C library defines this for functions which it implements
67901 to always fail with ENOSYS. Some functions are actually named
67902 something starting with __ and the normal name is an alias. */
67903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67904 choke me
67905 #else
67906 char (*f) () = $ac_func;
67907 #endif
67908 #ifdef __cplusplus
67910 #endif
67913 main ()
67915 return f != $ac_func;
67917 return 0;
67919 _ACEOF
67920 rm -f conftest.$ac_objext conftest$ac_exeext
67921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67922 (eval $ac_link) 2>conftest.er1
67923 ac_status=$?
67924 grep -v '^ *+' conftest.er1 >conftest.err
67925 rm -f conftest.er1
67926 cat conftest.err >&5
67927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67928 (exit $ac_status); } &&
67929 { ac_try='test -z "$ac_c_werror_flag"
67930 || test ! -s conftest.err'
67931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67932 (eval $ac_try) 2>&5
67933 ac_status=$?
67934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67935 (exit $ac_status); }; } &&
67936 { ac_try='test -s conftest$ac_exeext'
67937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67938 (eval $ac_try) 2>&5
67939 ac_status=$?
67940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67941 (exit $ac_status); }; }; then
67942 eval "$as_ac_var=yes"
67943 else
67944 echo "$as_me: failed program was:" >&5
67945 sed 's/^/| /' conftest.$ac_ext >&5
67947 eval "$as_ac_var=no"
67949 rm -f conftest.err conftest.$ac_objext \
67950 conftest$ac_exeext conftest.$ac_ext
67952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67954 if test `eval echo '${'$as_ac_var'}'` = yes; then
67955 cat >>confdefs.h <<_ACEOF
67956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67957 _ACEOF
67960 done
67970 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
67971 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
67972 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
67973 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
67974 echo $ECHO_N "(cached) $ECHO_C" >&6
67975 else
67979 ac_ext=cc
67980 ac_cpp='$CXXCPP $CPPFLAGS'
67981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67985 cat >conftest.$ac_ext <<_ACEOF
67986 /* confdefs.h. */
67987 _ACEOF
67988 cat confdefs.h >>conftest.$ac_ext
67989 cat >>conftest.$ac_ext <<_ACEOF
67990 /* end confdefs.h. */
67991 #include <math.h>
67993 main ()
67995 frexpl(0, 0);
67997 return 0;
67999 _ACEOF
68000 rm -f conftest.$ac_objext
68001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68002 (eval $ac_compile) 2>conftest.er1
68003 ac_status=$?
68004 grep -v '^ *+' conftest.er1 >conftest.err
68005 rm -f conftest.er1
68006 cat conftest.err >&5
68007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68008 (exit $ac_status); } &&
68009 { ac_try='test -z "$ac_cxx_werror_flag"
68010 || test ! -s conftest.err'
68011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68012 (eval $ac_try) 2>&5
68013 ac_status=$?
68014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68015 (exit $ac_status); }; } &&
68016 { ac_try='test -s conftest.$ac_objext'
68017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68018 (eval $ac_try) 2>&5
68019 ac_status=$?
68020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68021 (exit $ac_status); }; }; then
68022 glibcxx_cv_func_frexpl_use=yes
68023 else
68024 echo "$as_me: failed program was:" >&5
68025 sed 's/^/| /' conftest.$ac_ext >&5
68027 glibcxx_cv_func_frexpl_use=no
68029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68030 ac_ext=c
68031 ac_cpp='$CPP $CPPFLAGS'
68032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68040 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
68041 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
68043 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68045 for ac_func in frexpl
68047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68048 echo "$as_me:$LINENO: checking for $ac_func" >&5
68049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68050 if eval "test \"\${$as_ac_var+set}\" = set"; then
68051 echo $ECHO_N "(cached) $ECHO_C" >&6
68052 else
68053 if test x$gcc_no_link = xyes; then
68054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68056 { (exit 1); exit 1; }; }
68058 cat >conftest.$ac_ext <<_ACEOF
68059 /* confdefs.h. */
68060 _ACEOF
68061 cat confdefs.h >>conftest.$ac_ext
68062 cat >>conftest.$ac_ext <<_ACEOF
68063 /* end confdefs.h. */
68064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68066 #define $ac_func innocuous_$ac_func
68068 /* System header to define __stub macros and hopefully few prototypes,
68069 which can conflict with char $ac_func (); below.
68070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68071 <limits.h> exists even on freestanding compilers. */
68073 #ifdef __STDC__
68074 # include <limits.h>
68075 #else
68076 # include <assert.h>
68077 #endif
68079 #undef $ac_func
68081 /* Override any gcc2 internal prototype to avoid an error. */
68082 #ifdef __cplusplus
68083 extern "C"
68085 #endif
68086 /* We use char because int might match the return type of a gcc2
68087 builtin and then its argument prototype would still apply. */
68088 char $ac_func ();
68089 /* The GNU C library defines this for functions which it implements
68090 to always fail with ENOSYS. Some functions are actually named
68091 something starting with __ and the normal name is an alias. */
68092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68093 choke me
68094 #else
68095 char (*f) () = $ac_func;
68096 #endif
68097 #ifdef __cplusplus
68099 #endif
68102 main ()
68104 return f != $ac_func;
68106 return 0;
68108 _ACEOF
68109 rm -f conftest.$ac_objext conftest$ac_exeext
68110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68111 (eval $ac_link) 2>conftest.er1
68112 ac_status=$?
68113 grep -v '^ *+' conftest.er1 >conftest.err
68114 rm -f conftest.er1
68115 cat conftest.err >&5
68116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68117 (exit $ac_status); } &&
68118 { ac_try='test -z "$ac_c_werror_flag"
68119 || test ! -s conftest.err'
68120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68121 (eval $ac_try) 2>&5
68122 ac_status=$?
68123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68124 (exit $ac_status); }; } &&
68125 { ac_try='test -s conftest$ac_exeext'
68126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68127 (eval $ac_try) 2>&5
68128 ac_status=$?
68129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68130 (exit $ac_status); }; }; then
68131 eval "$as_ac_var=yes"
68132 else
68133 echo "$as_me: failed program was:" >&5
68134 sed 's/^/| /' conftest.$ac_ext >&5
68136 eval "$as_ac_var=no"
68138 rm -f conftest.err conftest.$ac_objext \
68139 conftest$ac_exeext conftest.$ac_ext
68141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68143 if test `eval echo '${'$as_ac_var'}'` = yes; then
68144 cat >>confdefs.h <<_ACEOF
68145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68146 _ACEOF
68149 done
68151 else
68153 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
68154 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
68155 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68156 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
68157 echo $ECHO_N "(cached) $ECHO_C" >&6
68158 else
68162 ac_ext=cc
68163 ac_cpp='$CXXCPP $CPPFLAGS'
68164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68168 cat >conftest.$ac_ext <<_ACEOF
68169 /* confdefs.h. */
68170 _ACEOF
68171 cat confdefs.h >>conftest.$ac_ext
68172 cat >>conftest.$ac_ext <<_ACEOF
68173 /* end confdefs.h. */
68174 #include <math.h>
68176 main ()
68178 _frexpl(0, 0);
68180 return 0;
68182 _ACEOF
68183 rm -f conftest.$ac_objext
68184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68185 (eval $ac_compile) 2>conftest.er1
68186 ac_status=$?
68187 grep -v '^ *+' conftest.er1 >conftest.err
68188 rm -f conftest.er1
68189 cat conftest.err >&5
68190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68191 (exit $ac_status); } &&
68192 { ac_try='test -z "$ac_cxx_werror_flag"
68193 || test ! -s conftest.err'
68194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68195 (eval $ac_try) 2>&5
68196 ac_status=$?
68197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68198 (exit $ac_status); }; } &&
68199 { ac_try='test -s conftest.$ac_objext'
68200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68201 (eval $ac_try) 2>&5
68202 ac_status=$?
68203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68204 (exit $ac_status); }; }; then
68205 glibcxx_cv_func__frexpl_use=yes
68206 else
68207 echo "$as_me: failed program was:" >&5
68208 sed 's/^/| /' conftest.$ac_ext >&5
68210 glibcxx_cv_func__frexpl_use=no
68212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68213 ac_ext=c
68214 ac_cpp='$CPP $CPPFLAGS'
68215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68223 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
68224 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
68226 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68228 for ac_func in _frexpl
68230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68231 echo "$as_me:$LINENO: checking for $ac_func" >&5
68232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68233 if eval "test \"\${$as_ac_var+set}\" = set"; then
68234 echo $ECHO_N "(cached) $ECHO_C" >&6
68235 else
68236 if test x$gcc_no_link = xyes; then
68237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68239 { (exit 1); exit 1; }; }
68241 cat >conftest.$ac_ext <<_ACEOF
68242 /* confdefs.h. */
68243 _ACEOF
68244 cat confdefs.h >>conftest.$ac_ext
68245 cat >>conftest.$ac_ext <<_ACEOF
68246 /* end confdefs.h. */
68247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68249 #define $ac_func innocuous_$ac_func
68251 /* System header to define __stub macros and hopefully few prototypes,
68252 which can conflict with char $ac_func (); below.
68253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68254 <limits.h> exists even on freestanding compilers. */
68256 #ifdef __STDC__
68257 # include <limits.h>
68258 #else
68259 # include <assert.h>
68260 #endif
68262 #undef $ac_func
68264 /* Override any gcc2 internal prototype to avoid an error. */
68265 #ifdef __cplusplus
68266 extern "C"
68268 #endif
68269 /* We use char because int might match the return type of a gcc2
68270 builtin and then its argument prototype would still apply. */
68271 char $ac_func ();
68272 /* The GNU C library defines this for functions which it implements
68273 to always fail with ENOSYS. Some functions are actually named
68274 something starting with __ and the normal name is an alias. */
68275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68276 choke me
68277 #else
68278 char (*f) () = $ac_func;
68279 #endif
68280 #ifdef __cplusplus
68282 #endif
68285 main ()
68287 return f != $ac_func;
68289 return 0;
68291 _ACEOF
68292 rm -f conftest.$ac_objext conftest$ac_exeext
68293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68294 (eval $ac_link) 2>conftest.er1
68295 ac_status=$?
68296 grep -v '^ *+' conftest.er1 >conftest.err
68297 rm -f conftest.er1
68298 cat conftest.err >&5
68299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68300 (exit $ac_status); } &&
68301 { ac_try='test -z "$ac_c_werror_flag"
68302 || test ! -s conftest.err'
68303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68304 (eval $ac_try) 2>&5
68305 ac_status=$?
68306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68307 (exit $ac_status); }; } &&
68308 { ac_try='test -s conftest$ac_exeext'
68309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68310 (eval $ac_try) 2>&5
68311 ac_status=$?
68312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68313 (exit $ac_status); }; }; then
68314 eval "$as_ac_var=yes"
68315 else
68316 echo "$as_me: failed program was:" >&5
68317 sed 's/^/| /' conftest.$ac_ext >&5
68319 eval "$as_ac_var=no"
68321 rm -f conftest.err conftest.$ac_objext \
68322 conftest$ac_exeext conftest.$ac_ext
68324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68326 if test `eval echo '${'$as_ac_var'}'` = yes; then
68327 cat >>confdefs.h <<_ACEOF
68328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68329 _ACEOF
68332 done
68342 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68343 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68344 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68345 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68346 echo $ECHO_N "(cached) $ECHO_C" >&6
68347 else
68351 ac_ext=cc
68352 ac_cpp='$CXXCPP $CPPFLAGS'
68353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68357 cat >conftest.$ac_ext <<_ACEOF
68358 /* confdefs.h. */
68359 _ACEOF
68360 cat confdefs.h >>conftest.$ac_ext
68361 cat >>conftest.$ac_ext <<_ACEOF
68362 /* end confdefs.h. */
68363 #include <math.h>
68365 main ()
68367 hypotl(0, 0);
68369 return 0;
68371 _ACEOF
68372 rm -f conftest.$ac_objext
68373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68374 (eval $ac_compile) 2>conftest.er1
68375 ac_status=$?
68376 grep -v '^ *+' conftest.er1 >conftest.err
68377 rm -f conftest.er1
68378 cat conftest.err >&5
68379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68380 (exit $ac_status); } &&
68381 { ac_try='test -z "$ac_cxx_werror_flag"
68382 || test ! -s conftest.err'
68383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68384 (eval $ac_try) 2>&5
68385 ac_status=$?
68386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68387 (exit $ac_status); }; } &&
68388 { ac_try='test -s conftest.$ac_objext'
68389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68390 (eval $ac_try) 2>&5
68391 ac_status=$?
68392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68393 (exit $ac_status); }; }; then
68394 glibcxx_cv_func_hypotl_use=yes
68395 else
68396 echo "$as_me: failed program was:" >&5
68397 sed 's/^/| /' conftest.$ac_ext >&5
68399 glibcxx_cv_func_hypotl_use=no
68401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68402 ac_ext=c
68403 ac_cpp='$CPP $CPPFLAGS'
68404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68412 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68413 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68415 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68417 for ac_func in hypotl
68419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68420 echo "$as_me:$LINENO: checking for $ac_func" >&5
68421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68422 if eval "test \"\${$as_ac_var+set}\" = set"; then
68423 echo $ECHO_N "(cached) $ECHO_C" >&6
68424 else
68425 if test x$gcc_no_link = xyes; then
68426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68428 { (exit 1); exit 1; }; }
68430 cat >conftest.$ac_ext <<_ACEOF
68431 /* confdefs.h. */
68432 _ACEOF
68433 cat confdefs.h >>conftest.$ac_ext
68434 cat >>conftest.$ac_ext <<_ACEOF
68435 /* end confdefs.h. */
68436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68438 #define $ac_func innocuous_$ac_func
68440 /* System header to define __stub macros and hopefully few prototypes,
68441 which can conflict with char $ac_func (); below.
68442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68443 <limits.h> exists even on freestanding compilers. */
68445 #ifdef __STDC__
68446 # include <limits.h>
68447 #else
68448 # include <assert.h>
68449 #endif
68451 #undef $ac_func
68453 /* Override any gcc2 internal prototype to avoid an error. */
68454 #ifdef __cplusplus
68455 extern "C"
68457 #endif
68458 /* We use char because int might match the return type of a gcc2
68459 builtin and then its argument prototype would still apply. */
68460 char $ac_func ();
68461 /* The GNU C library defines this for functions which it implements
68462 to always fail with ENOSYS. Some functions are actually named
68463 something starting with __ and the normal name is an alias. */
68464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68465 choke me
68466 #else
68467 char (*f) () = $ac_func;
68468 #endif
68469 #ifdef __cplusplus
68471 #endif
68474 main ()
68476 return f != $ac_func;
68478 return 0;
68480 _ACEOF
68481 rm -f conftest.$ac_objext conftest$ac_exeext
68482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68483 (eval $ac_link) 2>conftest.er1
68484 ac_status=$?
68485 grep -v '^ *+' conftest.er1 >conftest.err
68486 rm -f conftest.er1
68487 cat conftest.err >&5
68488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68489 (exit $ac_status); } &&
68490 { ac_try='test -z "$ac_c_werror_flag"
68491 || test ! -s conftest.err'
68492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68493 (eval $ac_try) 2>&5
68494 ac_status=$?
68495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68496 (exit $ac_status); }; } &&
68497 { ac_try='test -s conftest$ac_exeext'
68498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68499 (eval $ac_try) 2>&5
68500 ac_status=$?
68501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68502 (exit $ac_status); }; }; then
68503 eval "$as_ac_var=yes"
68504 else
68505 echo "$as_me: failed program was:" >&5
68506 sed 's/^/| /' conftest.$ac_ext >&5
68508 eval "$as_ac_var=no"
68510 rm -f conftest.err conftest.$ac_objext \
68511 conftest$ac_exeext conftest.$ac_ext
68513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68515 if test `eval echo '${'$as_ac_var'}'` = yes; then
68516 cat >>confdefs.h <<_ACEOF
68517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68518 _ACEOF
68521 done
68523 else
68525 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68526 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68527 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68528 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68529 echo $ECHO_N "(cached) $ECHO_C" >&6
68530 else
68534 ac_ext=cc
68535 ac_cpp='$CXXCPP $CPPFLAGS'
68536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68540 cat >conftest.$ac_ext <<_ACEOF
68541 /* confdefs.h. */
68542 _ACEOF
68543 cat confdefs.h >>conftest.$ac_ext
68544 cat >>conftest.$ac_ext <<_ACEOF
68545 /* end confdefs.h. */
68546 #include <math.h>
68548 main ()
68550 _hypotl(0, 0);
68552 return 0;
68554 _ACEOF
68555 rm -f conftest.$ac_objext
68556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68557 (eval $ac_compile) 2>conftest.er1
68558 ac_status=$?
68559 grep -v '^ *+' conftest.er1 >conftest.err
68560 rm -f conftest.er1
68561 cat conftest.err >&5
68562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68563 (exit $ac_status); } &&
68564 { ac_try='test -z "$ac_cxx_werror_flag"
68565 || test ! -s conftest.err'
68566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68567 (eval $ac_try) 2>&5
68568 ac_status=$?
68569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68570 (exit $ac_status); }; } &&
68571 { ac_try='test -s conftest.$ac_objext'
68572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68573 (eval $ac_try) 2>&5
68574 ac_status=$?
68575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68576 (exit $ac_status); }; }; then
68577 glibcxx_cv_func__hypotl_use=yes
68578 else
68579 echo "$as_me: failed program was:" >&5
68580 sed 's/^/| /' conftest.$ac_ext >&5
68582 glibcxx_cv_func__hypotl_use=no
68584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68585 ac_ext=c
68586 ac_cpp='$CPP $CPPFLAGS'
68587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68595 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68596 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68598 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68600 for ac_func in _hypotl
68602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68603 echo "$as_me:$LINENO: checking for $ac_func" >&5
68604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68605 if eval "test \"\${$as_ac_var+set}\" = set"; then
68606 echo $ECHO_N "(cached) $ECHO_C" >&6
68607 else
68608 if test x$gcc_no_link = xyes; then
68609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68611 { (exit 1); exit 1; }; }
68613 cat >conftest.$ac_ext <<_ACEOF
68614 /* confdefs.h. */
68615 _ACEOF
68616 cat confdefs.h >>conftest.$ac_ext
68617 cat >>conftest.$ac_ext <<_ACEOF
68618 /* end confdefs.h. */
68619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68621 #define $ac_func innocuous_$ac_func
68623 /* System header to define __stub macros and hopefully few prototypes,
68624 which can conflict with char $ac_func (); below.
68625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68626 <limits.h> exists even on freestanding compilers. */
68628 #ifdef __STDC__
68629 # include <limits.h>
68630 #else
68631 # include <assert.h>
68632 #endif
68634 #undef $ac_func
68636 /* Override any gcc2 internal prototype to avoid an error. */
68637 #ifdef __cplusplus
68638 extern "C"
68640 #endif
68641 /* We use char because int might match the return type of a gcc2
68642 builtin and then its argument prototype would still apply. */
68643 char $ac_func ();
68644 /* The GNU C library defines this for functions which it implements
68645 to always fail with ENOSYS. Some functions are actually named
68646 something starting with __ and the normal name is an alias. */
68647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68648 choke me
68649 #else
68650 char (*f) () = $ac_func;
68651 #endif
68652 #ifdef __cplusplus
68654 #endif
68657 main ()
68659 return f != $ac_func;
68661 return 0;
68663 _ACEOF
68664 rm -f conftest.$ac_objext conftest$ac_exeext
68665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68666 (eval $ac_link) 2>conftest.er1
68667 ac_status=$?
68668 grep -v '^ *+' conftest.er1 >conftest.err
68669 rm -f conftest.er1
68670 cat conftest.err >&5
68671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68672 (exit $ac_status); } &&
68673 { ac_try='test -z "$ac_c_werror_flag"
68674 || test ! -s conftest.err'
68675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68676 (eval $ac_try) 2>&5
68677 ac_status=$?
68678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68679 (exit $ac_status); }; } &&
68680 { ac_try='test -s conftest$ac_exeext'
68681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68682 (eval $ac_try) 2>&5
68683 ac_status=$?
68684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68685 (exit $ac_status); }; }; then
68686 eval "$as_ac_var=yes"
68687 else
68688 echo "$as_me: failed program was:" >&5
68689 sed 's/^/| /' conftest.$ac_ext >&5
68691 eval "$as_ac_var=no"
68693 rm -f conftest.err conftest.$ac_objext \
68694 conftest$ac_exeext conftest.$ac_ext
68696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68698 if test `eval echo '${'$as_ac_var'}'` = yes; then
68699 cat >>confdefs.h <<_ACEOF
68700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68701 _ACEOF
68704 done
68714 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68715 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68716 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68717 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68718 echo $ECHO_N "(cached) $ECHO_C" >&6
68719 else
68723 ac_ext=cc
68724 ac_cpp='$CXXCPP $CPPFLAGS'
68725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68729 cat >conftest.$ac_ext <<_ACEOF
68730 /* confdefs.h. */
68731 _ACEOF
68732 cat confdefs.h >>conftest.$ac_ext
68733 cat >>conftest.$ac_ext <<_ACEOF
68734 /* end confdefs.h. */
68735 #include <math.h>
68737 main ()
68739 ldexpl(0, 0);
68741 return 0;
68743 _ACEOF
68744 rm -f conftest.$ac_objext
68745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68746 (eval $ac_compile) 2>conftest.er1
68747 ac_status=$?
68748 grep -v '^ *+' conftest.er1 >conftest.err
68749 rm -f conftest.er1
68750 cat conftest.err >&5
68751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68752 (exit $ac_status); } &&
68753 { ac_try='test -z "$ac_cxx_werror_flag"
68754 || test ! -s conftest.err'
68755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68756 (eval $ac_try) 2>&5
68757 ac_status=$?
68758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68759 (exit $ac_status); }; } &&
68760 { ac_try='test -s conftest.$ac_objext'
68761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68762 (eval $ac_try) 2>&5
68763 ac_status=$?
68764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68765 (exit $ac_status); }; }; then
68766 glibcxx_cv_func_ldexpl_use=yes
68767 else
68768 echo "$as_me: failed program was:" >&5
68769 sed 's/^/| /' conftest.$ac_ext >&5
68771 glibcxx_cv_func_ldexpl_use=no
68773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68774 ac_ext=c
68775 ac_cpp='$CPP $CPPFLAGS'
68776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
68785 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
68787 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68789 for ac_func in ldexpl
68791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68792 echo "$as_me:$LINENO: checking for $ac_func" >&5
68793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68794 if eval "test \"\${$as_ac_var+set}\" = set"; then
68795 echo $ECHO_N "(cached) $ECHO_C" >&6
68796 else
68797 if test x$gcc_no_link = xyes; then
68798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68800 { (exit 1); exit 1; }; }
68802 cat >conftest.$ac_ext <<_ACEOF
68803 /* confdefs.h. */
68804 _ACEOF
68805 cat confdefs.h >>conftest.$ac_ext
68806 cat >>conftest.$ac_ext <<_ACEOF
68807 /* end confdefs.h. */
68808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68810 #define $ac_func innocuous_$ac_func
68812 /* System header to define __stub macros and hopefully few prototypes,
68813 which can conflict with char $ac_func (); below.
68814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68815 <limits.h> exists even on freestanding compilers. */
68817 #ifdef __STDC__
68818 # include <limits.h>
68819 #else
68820 # include <assert.h>
68821 #endif
68823 #undef $ac_func
68825 /* Override any gcc2 internal prototype to avoid an error. */
68826 #ifdef __cplusplus
68827 extern "C"
68829 #endif
68830 /* We use char because int might match the return type of a gcc2
68831 builtin and then its argument prototype would still apply. */
68832 char $ac_func ();
68833 /* The GNU C library defines this for functions which it implements
68834 to always fail with ENOSYS. Some functions are actually named
68835 something starting with __ and the normal name is an alias. */
68836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68837 choke me
68838 #else
68839 char (*f) () = $ac_func;
68840 #endif
68841 #ifdef __cplusplus
68843 #endif
68846 main ()
68848 return f != $ac_func;
68850 return 0;
68852 _ACEOF
68853 rm -f conftest.$ac_objext conftest$ac_exeext
68854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68855 (eval $ac_link) 2>conftest.er1
68856 ac_status=$?
68857 grep -v '^ *+' conftest.er1 >conftest.err
68858 rm -f conftest.er1
68859 cat conftest.err >&5
68860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68861 (exit $ac_status); } &&
68862 { ac_try='test -z "$ac_c_werror_flag"
68863 || test ! -s conftest.err'
68864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68865 (eval $ac_try) 2>&5
68866 ac_status=$?
68867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68868 (exit $ac_status); }; } &&
68869 { ac_try='test -s conftest$ac_exeext'
68870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68871 (eval $ac_try) 2>&5
68872 ac_status=$?
68873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68874 (exit $ac_status); }; }; then
68875 eval "$as_ac_var=yes"
68876 else
68877 echo "$as_me: failed program was:" >&5
68878 sed 's/^/| /' conftest.$ac_ext >&5
68880 eval "$as_ac_var=no"
68882 rm -f conftest.err conftest.$ac_objext \
68883 conftest$ac_exeext conftest.$ac_ext
68885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68887 if test `eval echo '${'$as_ac_var'}'` = yes; then
68888 cat >>confdefs.h <<_ACEOF
68889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68890 _ACEOF
68893 done
68895 else
68897 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
68898 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
68899 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68900 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
68901 echo $ECHO_N "(cached) $ECHO_C" >&6
68902 else
68906 ac_ext=cc
68907 ac_cpp='$CXXCPP $CPPFLAGS'
68908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68912 cat >conftest.$ac_ext <<_ACEOF
68913 /* confdefs.h. */
68914 _ACEOF
68915 cat confdefs.h >>conftest.$ac_ext
68916 cat >>conftest.$ac_ext <<_ACEOF
68917 /* end confdefs.h. */
68918 #include <math.h>
68920 main ()
68922 _ldexpl(0, 0);
68924 return 0;
68926 _ACEOF
68927 rm -f conftest.$ac_objext
68928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68929 (eval $ac_compile) 2>conftest.er1
68930 ac_status=$?
68931 grep -v '^ *+' conftest.er1 >conftest.err
68932 rm -f conftest.er1
68933 cat conftest.err >&5
68934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68935 (exit $ac_status); } &&
68936 { ac_try='test -z "$ac_cxx_werror_flag"
68937 || test ! -s conftest.err'
68938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68939 (eval $ac_try) 2>&5
68940 ac_status=$?
68941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68942 (exit $ac_status); }; } &&
68943 { ac_try='test -s conftest.$ac_objext'
68944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68945 (eval $ac_try) 2>&5
68946 ac_status=$?
68947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68948 (exit $ac_status); }; }; then
68949 glibcxx_cv_func__ldexpl_use=yes
68950 else
68951 echo "$as_me: failed program was:" >&5
68952 sed 's/^/| /' conftest.$ac_ext >&5
68954 glibcxx_cv_func__ldexpl_use=no
68956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68957 ac_ext=c
68958 ac_cpp='$CPP $CPPFLAGS'
68959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68967 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
68968 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
68970 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68972 for ac_func in _ldexpl
68974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68975 echo "$as_me:$LINENO: checking for $ac_func" >&5
68976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68977 if eval "test \"\${$as_ac_var+set}\" = set"; then
68978 echo $ECHO_N "(cached) $ECHO_C" >&6
68979 else
68980 if test x$gcc_no_link = xyes; then
68981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68983 { (exit 1); exit 1; }; }
68985 cat >conftest.$ac_ext <<_ACEOF
68986 /* confdefs.h. */
68987 _ACEOF
68988 cat confdefs.h >>conftest.$ac_ext
68989 cat >>conftest.$ac_ext <<_ACEOF
68990 /* end confdefs.h. */
68991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68993 #define $ac_func innocuous_$ac_func
68995 /* System header to define __stub macros and hopefully few prototypes,
68996 which can conflict with char $ac_func (); below.
68997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68998 <limits.h> exists even on freestanding compilers. */
69000 #ifdef __STDC__
69001 # include <limits.h>
69002 #else
69003 # include <assert.h>
69004 #endif
69006 #undef $ac_func
69008 /* Override any gcc2 internal prototype to avoid an error. */
69009 #ifdef __cplusplus
69010 extern "C"
69012 #endif
69013 /* We use char because int might match the return type of a gcc2
69014 builtin and then its argument prototype would still apply. */
69015 char $ac_func ();
69016 /* The GNU C library defines this for functions which it implements
69017 to always fail with ENOSYS. Some functions are actually named
69018 something starting with __ and the normal name is an alias. */
69019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69020 choke me
69021 #else
69022 char (*f) () = $ac_func;
69023 #endif
69024 #ifdef __cplusplus
69026 #endif
69029 main ()
69031 return f != $ac_func;
69033 return 0;
69035 _ACEOF
69036 rm -f conftest.$ac_objext conftest$ac_exeext
69037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69038 (eval $ac_link) 2>conftest.er1
69039 ac_status=$?
69040 grep -v '^ *+' conftest.er1 >conftest.err
69041 rm -f conftest.er1
69042 cat conftest.err >&5
69043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69044 (exit $ac_status); } &&
69045 { ac_try='test -z "$ac_c_werror_flag"
69046 || test ! -s conftest.err'
69047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69048 (eval $ac_try) 2>&5
69049 ac_status=$?
69050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69051 (exit $ac_status); }; } &&
69052 { ac_try='test -s conftest$ac_exeext'
69053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69054 (eval $ac_try) 2>&5
69055 ac_status=$?
69056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69057 (exit $ac_status); }; }; then
69058 eval "$as_ac_var=yes"
69059 else
69060 echo "$as_me: failed program was:" >&5
69061 sed 's/^/| /' conftest.$ac_ext >&5
69063 eval "$as_ac_var=no"
69065 rm -f conftest.err conftest.$ac_objext \
69066 conftest$ac_exeext conftest.$ac_ext
69068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69070 if test `eval echo '${'$as_ac_var'}'` = yes; then
69071 cat >>confdefs.h <<_ACEOF
69072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69073 _ACEOF
69076 done
69086 echo "$as_me:$LINENO: checking for logl declaration" >&5
69087 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
69088 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69089 if test "${glibcxx_cv_func_logl_use+set}" = set; then
69090 echo $ECHO_N "(cached) $ECHO_C" >&6
69091 else
69095 ac_ext=cc
69096 ac_cpp='$CXXCPP $CPPFLAGS'
69097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69101 cat >conftest.$ac_ext <<_ACEOF
69102 /* confdefs.h. */
69103 _ACEOF
69104 cat confdefs.h >>conftest.$ac_ext
69105 cat >>conftest.$ac_ext <<_ACEOF
69106 /* end confdefs.h. */
69107 #include <math.h>
69108 #ifdef HAVE_IEEEFP_H
69109 #include <ieeefp.h>
69110 #endif
69113 main ()
69115 logl(0);
69117 return 0;
69119 _ACEOF
69120 rm -f conftest.$ac_objext
69121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69122 (eval $ac_compile) 2>conftest.er1
69123 ac_status=$?
69124 grep -v '^ *+' conftest.er1 >conftest.err
69125 rm -f conftest.er1
69126 cat conftest.err >&5
69127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69128 (exit $ac_status); } &&
69129 { ac_try='test -z "$ac_cxx_werror_flag"
69130 || test ! -s conftest.err'
69131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69132 (eval $ac_try) 2>&5
69133 ac_status=$?
69134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69135 (exit $ac_status); }; } &&
69136 { ac_try='test -s conftest.$ac_objext'
69137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69138 (eval $ac_try) 2>&5
69139 ac_status=$?
69140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69141 (exit $ac_status); }; }; then
69142 glibcxx_cv_func_logl_use=yes
69143 else
69144 echo "$as_me: failed program was:" >&5
69145 sed 's/^/| /' conftest.$ac_ext >&5
69147 glibcxx_cv_func_logl_use=no
69149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69150 ac_ext=c
69151 ac_cpp='$CPP $CPPFLAGS'
69152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69160 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
69161 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
69163 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69165 for ac_func in logl
69167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69168 echo "$as_me:$LINENO: checking for $ac_func" >&5
69169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69170 if eval "test \"\${$as_ac_var+set}\" = set"; then
69171 echo $ECHO_N "(cached) $ECHO_C" >&6
69172 else
69173 if test x$gcc_no_link = xyes; then
69174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69176 { (exit 1); exit 1; }; }
69178 cat >conftest.$ac_ext <<_ACEOF
69179 /* confdefs.h. */
69180 _ACEOF
69181 cat confdefs.h >>conftest.$ac_ext
69182 cat >>conftest.$ac_ext <<_ACEOF
69183 /* end confdefs.h. */
69184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69186 #define $ac_func innocuous_$ac_func
69188 /* System header to define __stub macros and hopefully few prototypes,
69189 which can conflict with char $ac_func (); below.
69190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69191 <limits.h> exists even on freestanding compilers. */
69193 #ifdef __STDC__
69194 # include <limits.h>
69195 #else
69196 # include <assert.h>
69197 #endif
69199 #undef $ac_func
69201 /* Override any gcc2 internal prototype to avoid an error. */
69202 #ifdef __cplusplus
69203 extern "C"
69205 #endif
69206 /* We use char because int might match the return type of a gcc2
69207 builtin and then its argument prototype would still apply. */
69208 char $ac_func ();
69209 /* The GNU C library defines this for functions which it implements
69210 to always fail with ENOSYS. Some functions are actually named
69211 something starting with __ and the normal name is an alias. */
69212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69213 choke me
69214 #else
69215 char (*f) () = $ac_func;
69216 #endif
69217 #ifdef __cplusplus
69219 #endif
69222 main ()
69224 return f != $ac_func;
69226 return 0;
69228 _ACEOF
69229 rm -f conftest.$ac_objext conftest$ac_exeext
69230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69231 (eval $ac_link) 2>conftest.er1
69232 ac_status=$?
69233 grep -v '^ *+' conftest.er1 >conftest.err
69234 rm -f conftest.er1
69235 cat conftest.err >&5
69236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69237 (exit $ac_status); } &&
69238 { ac_try='test -z "$ac_c_werror_flag"
69239 || test ! -s conftest.err'
69240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69241 (eval $ac_try) 2>&5
69242 ac_status=$?
69243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69244 (exit $ac_status); }; } &&
69245 { ac_try='test -s conftest$ac_exeext'
69246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69247 (eval $ac_try) 2>&5
69248 ac_status=$?
69249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69250 (exit $ac_status); }; }; then
69251 eval "$as_ac_var=yes"
69252 else
69253 echo "$as_me: failed program was:" >&5
69254 sed 's/^/| /' conftest.$ac_ext >&5
69256 eval "$as_ac_var=no"
69258 rm -f conftest.err conftest.$ac_objext \
69259 conftest$ac_exeext conftest.$ac_ext
69261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69263 if test `eval echo '${'$as_ac_var'}'` = yes; then
69264 cat >>confdefs.h <<_ACEOF
69265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69266 _ACEOF
69269 done
69271 else
69273 echo "$as_me:$LINENO: checking for _logl declaration" >&5
69274 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69275 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69276 if test "${glibcxx_cv_func__logl_use+set}" = set; then
69277 echo $ECHO_N "(cached) $ECHO_C" >&6
69278 else
69282 ac_ext=cc
69283 ac_cpp='$CXXCPP $CPPFLAGS'
69284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69288 cat >conftest.$ac_ext <<_ACEOF
69289 /* confdefs.h. */
69290 _ACEOF
69291 cat confdefs.h >>conftest.$ac_ext
69292 cat >>conftest.$ac_ext <<_ACEOF
69293 /* end confdefs.h. */
69294 #include <math.h>
69295 #ifdef HAVE_IEEEFP_H
69296 #include <ieeefp.h>
69297 #endif
69300 main ()
69302 _logl(0);
69304 return 0;
69306 _ACEOF
69307 rm -f conftest.$ac_objext
69308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69309 (eval $ac_compile) 2>conftest.er1
69310 ac_status=$?
69311 grep -v '^ *+' conftest.er1 >conftest.err
69312 rm -f conftest.er1
69313 cat conftest.err >&5
69314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69315 (exit $ac_status); } &&
69316 { ac_try='test -z "$ac_cxx_werror_flag"
69317 || test ! -s conftest.err'
69318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69319 (eval $ac_try) 2>&5
69320 ac_status=$?
69321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69322 (exit $ac_status); }; } &&
69323 { ac_try='test -s conftest.$ac_objext'
69324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69325 (eval $ac_try) 2>&5
69326 ac_status=$?
69327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69328 (exit $ac_status); }; }; then
69329 glibcxx_cv_func__logl_use=yes
69330 else
69331 echo "$as_me: failed program was:" >&5
69332 sed 's/^/| /' conftest.$ac_ext >&5
69334 glibcxx_cv_func__logl_use=no
69336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69337 ac_ext=c
69338 ac_cpp='$CPP $CPPFLAGS'
69339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69347 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69348 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69350 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69352 for ac_func in _logl
69354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69355 echo "$as_me:$LINENO: checking for $ac_func" >&5
69356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69357 if eval "test \"\${$as_ac_var+set}\" = set"; then
69358 echo $ECHO_N "(cached) $ECHO_C" >&6
69359 else
69360 if test x$gcc_no_link = xyes; then
69361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69363 { (exit 1); exit 1; }; }
69365 cat >conftest.$ac_ext <<_ACEOF
69366 /* confdefs.h. */
69367 _ACEOF
69368 cat confdefs.h >>conftest.$ac_ext
69369 cat >>conftest.$ac_ext <<_ACEOF
69370 /* end confdefs.h. */
69371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69373 #define $ac_func innocuous_$ac_func
69375 /* System header to define __stub macros and hopefully few prototypes,
69376 which can conflict with char $ac_func (); below.
69377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69378 <limits.h> exists even on freestanding compilers. */
69380 #ifdef __STDC__
69381 # include <limits.h>
69382 #else
69383 # include <assert.h>
69384 #endif
69386 #undef $ac_func
69388 /* Override any gcc2 internal prototype to avoid an error. */
69389 #ifdef __cplusplus
69390 extern "C"
69392 #endif
69393 /* We use char because int might match the return type of a gcc2
69394 builtin and then its argument prototype would still apply. */
69395 char $ac_func ();
69396 /* The GNU C library defines this for functions which it implements
69397 to always fail with ENOSYS. Some functions are actually named
69398 something starting with __ and the normal name is an alias. */
69399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69400 choke me
69401 #else
69402 char (*f) () = $ac_func;
69403 #endif
69404 #ifdef __cplusplus
69406 #endif
69409 main ()
69411 return f != $ac_func;
69413 return 0;
69415 _ACEOF
69416 rm -f conftest.$ac_objext conftest$ac_exeext
69417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69418 (eval $ac_link) 2>conftest.er1
69419 ac_status=$?
69420 grep -v '^ *+' conftest.er1 >conftest.err
69421 rm -f conftest.er1
69422 cat conftest.err >&5
69423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69424 (exit $ac_status); } &&
69425 { ac_try='test -z "$ac_c_werror_flag"
69426 || test ! -s conftest.err'
69427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69428 (eval $ac_try) 2>&5
69429 ac_status=$?
69430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69431 (exit $ac_status); }; } &&
69432 { ac_try='test -s conftest$ac_exeext'
69433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69434 (eval $ac_try) 2>&5
69435 ac_status=$?
69436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69437 (exit $ac_status); }; }; then
69438 eval "$as_ac_var=yes"
69439 else
69440 echo "$as_me: failed program was:" >&5
69441 sed 's/^/| /' conftest.$ac_ext >&5
69443 eval "$as_ac_var=no"
69445 rm -f conftest.err conftest.$ac_objext \
69446 conftest$ac_exeext conftest.$ac_ext
69448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69450 if test `eval echo '${'$as_ac_var'}'` = yes; then
69451 cat >>confdefs.h <<_ACEOF
69452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69453 _ACEOF
69456 done
69466 echo "$as_me:$LINENO: checking for log10l declaration" >&5
69467 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69468 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69469 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69470 echo $ECHO_N "(cached) $ECHO_C" >&6
69471 else
69475 ac_ext=cc
69476 ac_cpp='$CXXCPP $CPPFLAGS'
69477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69481 cat >conftest.$ac_ext <<_ACEOF
69482 /* confdefs.h. */
69483 _ACEOF
69484 cat confdefs.h >>conftest.$ac_ext
69485 cat >>conftest.$ac_ext <<_ACEOF
69486 /* end confdefs.h. */
69487 #include <math.h>
69488 #ifdef HAVE_IEEEFP_H
69489 #include <ieeefp.h>
69490 #endif
69493 main ()
69495 log10l(0);
69497 return 0;
69499 _ACEOF
69500 rm -f conftest.$ac_objext
69501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69502 (eval $ac_compile) 2>conftest.er1
69503 ac_status=$?
69504 grep -v '^ *+' conftest.er1 >conftest.err
69505 rm -f conftest.er1
69506 cat conftest.err >&5
69507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69508 (exit $ac_status); } &&
69509 { ac_try='test -z "$ac_cxx_werror_flag"
69510 || test ! -s conftest.err'
69511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69512 (eval $ac_try) 2>&5
69513 ac_status=$?
69514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69515 (exit $ac_status); }; } &&
69516 { ac_try='test -s conftest.$ac_objext'
69517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69518 (eval $ac_try) 2>&5
69519 ac_status=$?
69520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69521 (exit $ac_status); }; }; then
69522 glibcxx_cv_func_log10l_use=yes
69523 else
69524 echo "$as_me: failed program was:" >&5
69525 sed 's/^/| /' conftest.$ac_ext >&5
69527 glibcxx_cv_func_log10l_use=no
69529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69530 ac_ext=c
69531 ac_cpp='$CPP $CPPFLAGS'
69532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69540 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69541 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69543 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69545 for ac_func in log10l
69547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69548 echo "$as_me:$LINENO: checking for $ac_func" >&5
69549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69550 if eval "test \"\${$as_ac_var+set}\" = set"; then
69551 echo $ECHO_N "(cached) $ECHO_C" >&6
69552 else
69553 if test x$gcc_no_link = xyes; then
69554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69556 { (exit 1); exit 1; }; }
69558 cat >conftest.$ac_ext <<_ACEOF
69559 /* confdefs.h. */
69560 _ACEOF
69561 cat confdefs.h >>conftest.$ac_ext
69562 cat >>conftest.$ac_ext <<_ACEOF
69563 /* end confdefs.h. */
69564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69566 #define $ac_func innocuous_$ac_func
69568 /* System header to define __stub macros and hopefully few prototypes,
69569 which can conflict with char $ac_func (); below.
69570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69571 <limits.h> exists even on freestanding compilers. */
69573 #ifdef __STDC__
69574 # include <limits.h>
69575 #else
69576 # include <assert.h>
69577 #endif
69579 #undef $ac_func
69581 /* Override any gcc2 internal prototype to avoid an error. */
69582 #ifdef __cplusplus
69583 extern "C"
69585 #endif
69586 /* We use char because int might match the return type of a gcc2
69587 builtin and then its argument prototype would still apply. */
69588 char $ac_func ();
69589 /* The GNU C library defines this for functions which it implements
69590 to always fail with ENOSYS. Some functions are actually named
69591 something starting with __ and the normal name is an alias. */
69592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69593 choke me
69594 #else
69595 char (*f) () = $ac_func;
69596 #endif
69597 #ifdef __cplusplus
69599 #endif
69602 main ()
69604 return f != $ac_func;
69606 return 0;
69608 _ACEOF
69609 rm -f conftest.$ac_objext conftest$ac_exeext
69610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69611 (eval $ac_link) 2>conftest.er1
69612 ac_status=$?
69613 grep -v '^ *+' conftest.er1 >conftest.err
69614 rm -f conftest.er1
69615 cat conftest.err >&5
69616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69617 (exit $ac_status); } &&
69618 { ac_try='test -z "$ac_c_werror_flag"
69619 || test ! -s conftest.err'
69620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69621 (eval $ac_try) 2>&5
69622 ac_status=$?
69623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69624 (exit $ac_status); }; } &&
69625 { ac_try='test -s conftest$ac_exeext'
69626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69627 (eval $ac_try) 2>&5
69628 ac_status=$?
69629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69630 (exit $ac_status); }; }; then
69631 eval "$as_ac_var=yes"
69632 else
69633 echo "$as_me: failed program was:" >&5
69634 sed 's/^/| /' conftest.$ac_ext >&5
69636 eval "$as_ac_var=no"
69638 rm -f conftest.err conftest.$ac_objext \
69639 conftest$ac_exeext conftest.$ac_ext
69641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69643 if test `eval echo '${'$as_ac_var'}'` = yes; then
69644 cat >>confdefs.h <<_ACEOF
69645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69646 _ACEOF
69649 done
69651 else
69653 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69654 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69655 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69656 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69657 echo $ECHO_N "(cached) $ECHO_C" >&6
69658 else
69662 ac_ext=cc
69663 ac_cpp='$CXXCPP $CPPFLAGS'
69664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69668 cat >conftest.$ac_ext <<_ACEOF
69669 /* confdefs.h. */
69670 _ACEOF
69671 cat confdefs.h >>conftest.$ac_ext
69672 cat >>conftest.$ac_ext <<_ACEOF
69673 /* end confdefs.h. */
69674 #include <math.h>
69675 #ifdef HAVE_IEEEFP_H
69676 #include <ieeefp.h>
69677 #endif
69680 main ()
69682 _log10l(0);
69684 return 0;
69686 _ACEOF
69687 rm -f conftest.$ac_objext
69688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69689 (eval $ac_compile) 2>conftest.er1
69690 ac_status=$?
69691 grep -v '^ *+' conftest.er1 >conftest.err
69692 rm -f conftest.er1
69693 cat conftest.err >&5
69694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69695 (exit $ac_status); } &&
69696 { ac_try='test -z "$ac_cxx_werror_flag"
69697 || test ! -s conftest.err'
69698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69699 (eval $ac_try) 2>&5
69700 ac_status=$?
69701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69702 (exit $ac_status); }; } &&
69703 { ac_try='test -s conftest.$ac_objext'
69704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69705 (eval $ac_try) 2>&5
69706 ac_status=$?
69707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69708 (exit $ac_status); }; }; then
69709 glibcxx_cv_func__log10l_use=yes
69710 else
69711 echo "$as_me: failed program was:" >&5
69712 sed 's/^/| /' conftest.$ac_ext >&5
69714 glibcxx_cv_func__log10l_use=no
69716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69717 ac_ext=c
69718 ac_cpp='$CPP $CPPFLAGS'
69719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69727 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69728 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69730 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69732 for ac_func in _log10l
69734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69735 echo "$as_me:$LINENO: checking for $ac_func" >&5
69736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69737 if eval "test \"\${$as_ac_var+set}\" = set"; then
69738 echo $ECHO_N "(cached) $ECHO_C" >&6
69739 else
69740 if test x$gcc_no_link = xyes; then
69741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69743 { (exit 1); exit 1; }; }
69745 cat >conftest.$ac_ext <<_ACEOF
69746 /* confdefs.h. */
69747 _ACEOF
69748 cat confdefs.h >>conftest.$ac_ext
69749 cat >>conftest.$ac_ext <<_ACEOF
69750 /* end confdefs.h. */
69751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69753 #define $ac_func innocuous_$ac_func
69755 /* System header to define __stub macros and hopefully few prototypes,
69756 which can conflict with char $ac_func (); below.
69757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69758 <limits.h> exists even on freestanding compilers. */
69760 #ifdef __STDC__
69761 # include <limits.h>
69762 #else
69763 # include <assert.h>
69764 #endif
69766 #undef $ac_func
69768 /* Override any gcc2 internal prototype to avoid an error. */
69769 #ifdef __cplusplus
69770 extern "C"
69772 #endif
69773 /* We use char because int might match the return type of a gcc2
69774 builtin and then its argument prototype would still apply. */
69775 char $ac_func ();
69776 /* The GNU C library defines this for functions which it implements
69777 to always fail with ENOSYS. Some functions are actually named
69778 something starting with __ and the normal name is an alias. */
69779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69780 choke me
69781 #else
69782 char (*f) () = $ac_func;
69783 #endif
69784 #ifdef __cplusplus
69786 #endif
69789 main ()
69791 return f != $ac_func;
69793 return 0;
69795 _ACEOF
69796 rm -f conftest.$ac_objext conftest$ac_exeext
69797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69798 (eval $ac_link) 2>conftest.er1
69799 ac_status=$?
69800 grep -v '^ *+' conftest.er1 >conftest.err
69801 rm -f conftest.er1
69802 cat conftest.err >&5
69803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69804 (exit $ac_status); } &&
69805 { ac_try='test -z "$ac_c_werror_flag"
69806 || test ! -s conftest.err'
69807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69808 (eval $ac_try) 2>&5
69809 ac_status=$?
69810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69811 (exit $ac_status); }; } &&
69812 { ac_try='test -s conftest$ac_exeext'
69813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69814 (eval $ac_try) 2>&5
69815 ac_status=$?
69816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69817 (exit $ac_status); }; }; then
69818 eval "$as_ac_var=yes"
69819 else
69820 echo "$as_me: failed program was:" >&5
69821 sed 's/^/| /' conftest.$ac_ext >&5
69823 eval "$as_ac_var=no"
69825 rm -f conftest.err conftest.$ac_objext \
69826 conftest$ac_exeext conftest.$ac_ext
69828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69830 if test `eval echo '${'$as_ac_var'}'` = yes; then
69831 cat >>confdefs.h <<_ACEOF
69832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69833 _ACEOF
69836 done
69846 echo "$as_me:$LINENO: checking for modfl declaration" >&5
69847 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
69848 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69849 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
69850 echo $ECHO_N "(cached) $ECHO_C" >&6
69851 else
69855 ac_ext=cc
69856 ac_cpp='$CXXCPP $CPPFLAGS'
69857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69861 cat >conftest.$ac_ext <<_ACEOF
69862 /* confdefs.h. */
69863 _ACEOF
69864 cat confdefs.h >>conftest.$ac_ext
69865 cat >>conftest.$ac_ext <<_ACEOF
69866 /* end confdefs.h. */
69867 #include <math.h>
69869 main ()
69871 modfl(0, 0);
69873 return 0;
69875 _ACEOF
69876 rm -f conftest.$ac_objext
69877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69878 (eval $ac_compile) 2>conftest.er1
69879 ac_status=$?
69880 grep -v '^ *+' conftest.er1 >conftest.err
69881 rm -f conftest.er1
69882 cat conftest.err >&5
69883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69884 (exit $ac_status); } &&
69885 { ac_try='test -z "$ac_cxx_werror_flag"
69886 || test ! -s conftest.err'
69887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69888 (eval $ac_try) 2>&5
69889 ac_status=$?
69890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69891 (exit $ac_status); }; } &&
69892 { ac_try='test -s conftest.$ac_objext'
69893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69894 (eval $ac_try) 2>&5
69895 ac_status=$?
69896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69897 (exit $ac_status); }; }; then
69898 glibcxx_cv_func_modfl_use=yes
69899 else
69900 echo "$as_me: failed program was:" >&5
69901 sed 's/^/| /' conftest.$ac_ext >&5
69903 glibcxx_cv_func_modfl_use=no
69905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69906 ac_ext=c
69907 ac_cpp='$CPP $CPPFLAGS'
69908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69916 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
69917 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
69919 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69921 for ac_func in modfl
69923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69924 echo "$as_me:$LINENO: checking for $ac_func" >&5
69925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69926 if eval "test \"\${$as_ac_var+set}\" = set"; then
69927 echo $ECHO_N "(cached) $ECHO_C" >&6
69928 else
69929 if test x$gcc_no_link = xyes; then
69930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69932 { (exit 1); exit 1; }; }
69934 cat >conftest.$ac_ext <<_ACEOF
69935 /* confdefs.h. */
69936 _ACEOF
69937 cat confdefs.h >>conftest.$ac_ext
69938 cat >>conftest.$ac_ext <<_ACEOF
69939 /* end confdefs.h. */
69940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69942 #define $ac_func innocuous_$ac_func
69944 /* System header to define __stub macros and hopefully few prototypes,
69945 which can conflict with char $ac_func (); below.
69946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69947 <limits.h> exists even on freestanding compilers. */
69949 #ifdef __STDC__
69950 # include <limits.h>
69951 #else
69952 # include <assert.h>
69953 #endif
69955 #undef $ac_func
69957 /* Override any gcc2 internal prototype to avoid an error. */
69958 #ifdef __cplusplus
69959 extern "C"
69961 #endif
69962 /* We use char because int might match the return type of a gcc2
69963 builtin and then its argument prototype would still apply. */
69964 char $ac_func ();
69965 /* The GNU C library defines this for functions which it implements
69966 to always fail with ENOSYS. Some functions are actually named
69967 something starting with __ and the normal name is an alias. */
69968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69969 choke me
69970 #else
69971 char (*f) () = $ac_func;
69972 #endif
69973 #ifdef __cplusplus
69975 #endif
69978 main ()
69980 return f != $ac_func;
69982 return 0;
69984 _ACEOF
69985 rm -f conftest.$ac_objext conftest$ac_exeext
69986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69987 (eval $ac_link) 2>conftest.er1
69988 ac_status=$?
69989 grep -v '^ *+' conftest.er1 >conftest.err
69990 rm -f conftest.er1
69991 cat conftest.err >&5
69992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69993 (exit $ac_status); } &&
69994 { ac_try='test -z "$ac_c_werror_flag"
69995 || test ! -s conftest.err'
69996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69997 (eval $ac_try) 2>&5
69998 ac_status=$?
69999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70000 (exit $ac_status); }; } &&
70001 { ac_try='test -s conftest$ac_exeext'
70002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70003 (eval $ac_try) 2>&5
70004 ac_status=$?
70005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70006 (exit $ac_status); }; }; then
70007 eval "$as_ac_var=yes"
70008 else
70009 echo "$as_me: failed program was:" >&5
70010 sed 's/^/| /' conftest.$ac_ext >&5
70012 eval "$as_ac_var=no"
70014 rm -f conftest.err conftest.$ac_objext \
70015 conftest$ac_exeext conftest.$ac_ext
70017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70019 if test `eval echo '${'$as_ac_var'}'` = yes; then
70020 cat >>confdefs.h <<_ACEOF
70021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70022 _ACEOF
70025 done
70027 else
70029 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
70030 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
70031 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70032 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
70033 echo $ECHO_N "(cached) $ECHO_C" >&6
70034 else
70038 ac_ext=cc
70039 ac_cpp='$CXXCPP $CPPFLAGS'
70040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70044 cat >conftest.$ac_ext <<_ACEOF
70045 /* confdefs.h. */
70046 _ACEOF
70047 cat confdefs.h >>conftest.$ac_ext
70048 cat >>conftest.$ac_ext <<_ACEOF
70049 /* end confdefs.h. */
70050 #include <math.h>
70052 main ()
70054 _modfl(0, 0);
70056 return 0;
70058 _ACEOF
70059 rm -f conftest.$ac_objext
70060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70061 (eval $ac_compile) 2>conftest.er1
70062 ac_status=$?
70063 grep -v '^ *+' conftest.er1 >conftest.err
70064 rm -f conftest.er1
70065 cat conftest.err >&5
70066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70067 (exit $ac_status); } &&
70068 { ac_try='test -z "$ac_cxx_werror_flag"
70069 || test ! -s conftest.err'
70070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70071 (eval $ac_try) 2>&5
70072 ac_status=$?
70073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70074 (exit $ac_status); }; } &&
70075 { ac_try='test -s conftest.$ac_objext'
70076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70077 (eval $ac_try) 2>&5
70078 ac_status=$?
70079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70080 (exit $ac_status); }; }; then
70081 glibcxx_cv_func__modfl_use=yes
70082 else
70083 echo "$as_me: failed program was:" >&5
70084 sed 's/^/| /' conftest.$ac_ext >&5
70086 glibcxx_cv_func__modfl_use=no
70088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70089 ac_ext=c
70090 ac_cpp='$CPP $CPPFLAGS'
70091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70099 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
70100 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
70102 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70104 for ac_func in _modfl
70106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70107 echo "$as_me:$LINENO: checking for $ac_func" >&5
70108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70109 if eval "test \"\${$as_ac_var+set}\" = set"; then
70110 echo $ECHO_N "(cached) $ECHO_C" >&6
70111 else
70112 if test x$gcc_no_link = xyes; then
70113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70115 { (exit 1); exit 1; }; }
70117 cat >conftest.$ac_ext <<_ACEOF
70118 /* confdefs.h. */
70119 _ACEOF
70120 cat confdefs.h >>conftest.$ac_ext
70121 cat >>conftest.$ac_ext <<_ACEOF
70122 /* end confdefs.h. */
70123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70125 #define $ac_func innocuous_$ac_func
70127 /* System header to define __stub macros and hopefully few prototypes,
70128 which can conflict with char $ac_func (); below.
70129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70130 <limits.h> exists even on freestanding compilers. */
70132 #ifdef __STDC__
70133 # include <limits.h>
70134 #else
70135 # include <assert.h>
70136 #endif
70138 #undef $ac_func
70140 /* Override any gcc2 internal prototype to avoid an error. */
70141 #ifdef __cplusplus
70142 extern "C"
70144 #endif
70145 /* We use char because int might match the return type of a gcc2
70146 builtin and then its argument prototype would still apply. */
70147 char $ac_func ();
70148 /* The GNU C library defines this for functions which it implements
70149 to always fail with ENOSYS. Some functions are actually named
70150 something starting with __ and the normal name is an alias. */
70151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70152 choke me
70153 #else
70154 char (*f) () = $ac_func;
70155 #endif
70156 #ifdef __cplusplus
70158 #endif
70161 main ()
70163 return f != $ac_func;
70165 return 0;
70167 _ACEOF
70168 rm -f conftest.$ac_objext conftest$ac_exeext
70169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70170 (eval $ac_link) 2>conftest.er1
70171 ac_status=$?
70172 grep -v '^ *+' conftest.er1 >conftest.err
70173 rm -f conftest.er1
70174 cat conftest.err >&5
70175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70176 (exit $ac_status); } &&
70177 { ac_try='test -z "$ac_c_werror_flag"
70178 || test ! -s conftest.err'
70179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70180 (eval $ac_try) 2>&5
70181 ac_status=$?
70182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70183 (exit $ac_status); }; } &&
70184 { ac_try='test -s conftest$ac_exeext'
70185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70186 (eval $ac_try) 2>&5
70187 ac_status=$?
70188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70189 (exit $ac_status); }; }; then
70190 eval "$as_ac_var=yes"
70191 else
70192 echo "$as_me: failed program was:" >&5
70193 sed 's/^/| /' conftest.$ac_ext >&5
70195 eval "$as_ac_var=no"
70197 rm -f conftest.err conftest.$ac_objext \
70198 conftest$ac_exeext conftest.$ac_ext
70200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70202 if test `eval echo '${'$as_ac_var'}'` = yes; then
70203 cat >>confdefs.h <<_ACEOF
70204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70205 _ACEOF
70208 done
70218 echo "$as_me:$LINENO: checking for powl declaration" >&5
70219 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
70220 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70221 if test "${glibcxx_cv_func_powl_use+set}" = set; then
70222 echo $ECHO_N "(cached) $ECHO_C" >&6
70223 else
70227 ac_ext=cc
70228 ac_cpp='$CXXCPP $CPPFLAGS'
70229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70233 cat >conftest.$ac_ext <<_ACEOF
70234 /* confdefs.h. */
70235 _ACEOF
70236 cat confdefs.h >>conftest.$ac_ext
70237 cat >>conftest.$ac_ext <<_ACEOF
70238 /* end confdefs.h. */
70239 #include <math.h>
70241 main ()
70243 powl(0, 0);
70245 return 0;
70247 _ACEOF
70248 rm -f conftest.$ac_objext
70249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70250 (eval $ac_compile) 2>conftest.er1
70251 ac_status=$?
70252 grep -v '^ *+' conftest.er1 >conftest.err
70253 rm -f conftest.er1
70254 cat conftest.err >&5
70255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70256 (exit $ac_status); } &&
70257 { ac_try='test -z "$ac_cxx_werror_flag"
70258 || test ! -s conftest.err'
70259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70260 (eval $ac_try) 2>&5
70261 ac_status=$?
70262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70263 (exit $ac_status); }; } &&
70264 { ac_try='test -s conftest.$ac_objext'
70265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70266 (eval $ac_try) 2>&5
70267 ac_status=$?
70268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70269 (exit $ac_status); }; }; then
70270 glibcxx_cv_func_powl_use=yes
70271 else
70272 echo "$as_me: failed program was:" >&5
70273 sed 's/^/| /' conftest.$ac_ext >&5
70275 glibcxx_cv_func_powl_use=no
70277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70278 ac_ext=c
70279 ac_cpp='$CPP $CPPFLAGS'
70280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70288 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70289 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70291 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70293 for ac_func in powl
70295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70296 echo "$as_me:$LINENO: checking for $ac_func" >&5
70297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70298 if eval "test \"\${$as_ac_var+set}\" = set"; then
70299 echo $ECHO_N "(cached) $ECHO_C" >&6
70300 else
70301 if test x$gcc_no_link = xyes; then
70302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70304 { (exit 1); exit 1; }; }
70306 cat >conftest.$ac_ext <<_ACEOF
70307 /* confdefs.h. */
70308 _ACEOF
70309 cat confdefs.h >>conftest.$ac_ext
70310 cat >>conftest.$ac_ext <<_ACEOF
70311 /* end confdefs.h. */
70312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70314 #define $ac_func innocuous_$ac_func
70316 /* System header to define __stub macros and hopefully few prototypes,
70317 which can conflict with char $ac_func (); below.
70318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70319 <limits.h> exists even on freestanding compilers. */
70321 #ifdef __STDC__
70322 # include <limits.h>
70323 #else
70324 # include <assert.h>
70325 #endif
70327 #undef $ac_func
70329 /* Override any gcc2 internal prototype to avoid an error. */
70330 #ifdef __cplusplus
70331 extern "C"
70333 #endif
70334 /* We use char because int might match the return type of a gcc2
70335 builtin and then its argument prototype would still apply. */
70336 char $ac_func ();
70337 /* The GNU C library defines this for functions which it implements
70338 to always fail with ENOSYS. Some functions are actually named
70339 something starting with __ and the normal name is an alias. */
70340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70341 choke me
70342 #else
70343 char (*f) () = $ac_func;
70344 #endif
70345 #ifdef __cplusplus
70347 #endif
70350 main ()
70352 return f != $ac_func;
70354 return 0;
70356 _ACEOF
70357 rm -f conftest.$ac_objext conftest$ac_exeext
70358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70359 (eval $ac_link) 2>conftest.er1
70360 ac_status=$?
70361 grep -v '^ *+' conftest.er1 >conftest.err
70362 rm -f conftest.er1
70363 cat conftest.err >&5
70364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70365 (exit $ac_status); } &&
70366 { ac_try='test -z "$ac_c_werror_flag"
70367 || test ! -s conftest.err'
70368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70369 (eval $ac_try) 2>&5
70370 ac_status=$?
70371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70372 (exit $ac_status); }; } &&
70373 { ac_try='test -s conftest$ac_exeext'
70374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70375 (eval $ac_try) 2>&5
70376 ac_status=$?
70377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70378 (exit $ac_status); }; }; then
70379 eval "$as_ac_var=yes"
70380 else
70381 echo "$as_me: failed program was:" >&5
70382 sed 's/^/| /' conftest.$ac_ext >&5
70384 eval "$as_ac_var=no"
70386 rm -f conftest.err conftest.$ac_objext \
70387 conftest$ac_exeext conftest.$ac_ext
70389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70391 if test `eval echo '${'$as_ac_var'}'` = yes; then
70392 cat >>confdefs.h <<_ACEOF
70393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70394 _ACEOF
70397 done
70399 else
70401 echo "$as_me:$LINENO: checking for _powl declaration" >&5
70402 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70403 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70404 if test "${glibcxx_cv_func__powl_use+set}" = set; then
70405 echo $ECHO_N "(cached) $ECHO_C" >&6
70406 else
70410 ac_ext=cc
70411 ac_cpp='$CXXCPP $CPPFLAGS'
70412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70416 cat >conftest.$ac_ext <<_ACEOF
70417 /* confdefs.h. */
70418 _ACEOF
70419 cat confdefs.h >>conftest.$ac_ext
70420 cat >>conftest.$ac_ext <<_ACEOF
70421 /* end confdefs.h. */
70422 #include <math.h>
70424 main ()
70426 _powl(0, 0);
70428 return 0;
70430 _ACEOF
70431 rm -f conftest.$ac_objext
70432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70433 (eval $ac_compile) 2>conftest.er1
70434 ac_status=$?
70435 grep -v '^ *+' conftest.er1 >conftest.err
70436 rm -f conftest.er1
70437 cat conftest.err >&5
70438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70439 (exit $ac_status); } &&
70440 { ac_try='test -z "$ac_cxx_werror_flag"
70441 || test ! -s conftest.err'
70442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70443 (eval $ac_try) 2>&5
70444 ac_status=$?
70445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70446 (exit $ac_status); }; } &&
70447 { ac_try='test -s conftest.$ac_objext'
70448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70449 (eval $ac_try) 2>&5
70450 ac_status=$?
70451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70452 (exit $ac_status); }; }; then
70453 glibcxx_cv_func__powl_use=yes
70454 else
70455 echo "$as_me: failed program was:" >&5
70456 sed 's/^/| /' conftest.$ac_ext >&5
70458 glibcxx_cv_func__powl_use=no
70460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70461 ac_ext=c
70462 ac_cpp='$CPP $CPPFLAGS'
70463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70471 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70472 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70474 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70476 for ac_func in _powl
70478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70479 echo "$as_me:$LINENO: checking for $ac_func" >&5
70480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70481 if eval "test \"\${$as_ac_var+set}\" = set"; then
70482 echo $ECHO_N "(cached) $ECHO_C" >&6
70483 else
70484 if test x$gcc_no_link = xyes; then
70485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70487 { (exit 1); exit 1; }; }
70489 cat >conftest.$ac_ext <<_ACEOF
70490 /* confdefs.h. */
70491 _ACEOF
70492 cat confdefs.h >>conftest.$ac_ext
70493 cat >>conftest.$ac_ext <<_ACEOF
70494 /* end confdefs.h. */
70495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70497 #define $ac_func innocuous_$ac_func
70499 /* System header to define __stub macros and hopefully few prototypes,
70500 which can conflict with char $ac_func (); below.
70501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70502 <limits.h> exists even on freestanding compilers. */
70504 #ifdef __STDC__
70505 # include <limits.h>
70506 #else
70507 # include <assert.h>
70508 #endif
70510 #undef $ac_func
70512 /* Override any gcc2 internal prototype to avoid an error. */
70513 #ifdef __cplusplus
70514 extern "C"
70516 #endif
70517 /* We use char because int might match the return type of a gcc2
70518 builtin and then its argument prototype would still apply. */
70519 char $ac_func ();
70520 /* The GNU C library defines this for functions which it implements
70521 to always fail with ENOSYS. Some functions are actually named
70522 something starting with __ and the normal name is an alias. */
70523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70524 choke me
70525 #else
70526 char (*f) () = $ac_func;
70527 #endif
70528 #ifdef __cplusplus
70530 #endif
70533 main ()
70535 return f != $ac_func;
70537 return 0;
70539 _ACEOF
70540 rm -f conftest.$ac_objext conftest$ac_exeext
70541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70542 (eval $ac_link) 2>conftest.er1
70543 ac_status=$?
70544 grep -v '^ *+' conftest.er1 >conftest.err
70545 rm -f conftest.er1
70546 cat conftest.err >&5
70547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70548 (exit $ac_status); } &&
70549 { ac_try='test -z "$ac_c_werror_flag"
70550 || test ! -s conftest.err'
70551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70552 (eval $ac_try) 2>&5
70553 ac_status=$?
70554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70555 (exit $ac_status); }; } &&
70556 { ac_try='test -s conftest$ac_exeext'
70557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70558 (eval $ac_try) 2>&5
70559 ac_status=$?
70560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70561 (exit $ac_status); }; }; then
70562 eval "$as_ac_var=yes"
70563 else
70564 echo "$as_me: failed program was:" >&5
70565 sed 's/^/| /' conftest.$ac_ext >&5
70567 eval "$as_ac_var=no"
70569 rm -f conftest.err conftest.$ac_objext \
70570 conftest$ac_exeext conftest.$ac_ext
70572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70574 if test `eval echo '${'$as_ac_var'}'` = yes; then
70575 cat >>confdefs.h <<_ACEOF
70576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70577 _ACEOF
70580 done
70590 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70591 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70592 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70593 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70594 echo $ECHO_N "(cached) $ECHO_C" >&6
70595 else
70599 ac_ext=cc
70600 ac_cpp='$CXXCPP $CPPFLAGS'
70601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70605 cat >conftest.$ac_ext <<_ACEOF
70606 /* confdefs.h. */
70607 _ACEOF
70608 cat confdefs.h >>conftest.$ac_ext
70609 cat >>conftest.$ac_ext <<_ACEOF
70610 /* end confdefs.h. */
70611 #include <math.h>
70612 #ifdef HAVE_IEEEFP_H
70613 #include <ieeefp.h>
70614 #endif
70617 main ()
70619 sqrtl(0);
70621 return 0;
70623 _ACEOF
70624 rm -f conftest.$ac_objext
70625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70626 (eval $ac_compile) 2>conftest.er1
70627 ac_status=$?
70628 grep -v '^ *+' conftest.er1 >conftest.err
70629 rm -f conftest.er1
70630 cat conftest.err >&5
70631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70632 (exit $ac_status); } &&
70633 { ac_try='test -z "$ac_cxx_werror_flag"
70634 || test ! -s conftest.err'
70635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70636 (eval $ac_try) 2>&5
70637 ac_status=$?
70638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70639 (exit $ac_status); }; } &&
70640 { ac_try='test -s conftest.$ac_objext'
70641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70642 (eval $ac_try) 2>&5
70643 ac_status=$?
70644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70645 (exit $ac_status); }; }; then
70646 glibcxx_cv_func_sqrtl_use=yes
70647 else
70648 echo "$as_me: failed program was:" >&5
70649 sed 's/^/| /' conftest.$ac_ext >&5
70651 glibcxx_cv_func_sqrtl_use=no
70653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70654 ac_ext=c
70655 ac_cpp='$CPP $CPPFLAGS'
70656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70664 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70665 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70667 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70669 for ac_func in sqrtl
70671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70672 echo "$as_me:$LINENO: checking for $ac_func" >&5
70673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70674 if eval "test \"\${$as_ac_var+set}\" = set"; then
70675 echo $ECHO_N "(cached) $ECHO_C" >&6
70676 else
70677 if test x$gcc_no_link = xyes; then
70678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70680 { (exit 1); exit 1; }; }
70682 cat >conftest.$ac_ext <<_ACEOF
70683 /* confdefs.h. */
70684 _ACEOF
70685 cat confdefs.h >>conftest.$ac_ext
70686 cat >>conftest.$ac_ext <<_ACEOF
70687 /* end confdefs.h. */
70688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70690 #define $ac_func innocuous_$ac_func
70692 /* System header to define __stub macros and hopefully few prototypes,
70693 which can conflict with char $ac_func (); below.
70694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70695 <limits.h> exists even on freestanding compilers. */
70697 #ifdef __STDC__
70698 # include <limits.h>
70699 #else
70700 # include <assert.h>
70701 #endif
70703 #undef $ac_func
70705 /* Override any gcc2 internal prototype to avoid an error. */
70706 #ifdef __cplusplus
70707 extern "C"
70709 #endif
70710 /* We use char because int might match the return type of a gcc2
70711 builtin and then its argument prototype would still apply. */
70712 char $ac_func ();
70713 /* The GNU C library defines this for functions which it implements
70714 to always fail with ENOSYS. Some functions are actually named
70715 something starting with __ and the normal name is an alias. */
70716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70717 choke me
70718 #else
70719 char (*f) () = $ac_func;
70720 #endif
70721 #ifdef __cplusplus
70723 #endif
70726 main ()
70728 return f != $ac_func;
70730 return 0;
70732 _ACEOF
70733 rm -f conftest.$ac_objext conftest$ac_exeext
70734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70735 (eval $ac_link) 2>conftest.er1
70736 ac_status=$?
70737 grep -v '^ *+' conftest.er1 >conftest.err
70738 rm -f conftest.er1
70739 cat conftest.err >&5
70740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70741 (exit $ac_status); } &&
70742 { ac_try='test -z "$ac_c_werror_flag"
70743 || test ! -s conftest.err'
70744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70745 (eval $ac_try) 2>&5
70746 ac_status=$?
70747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70748 (exit $ac_status); }; } &&
70749 { ac_try='test -s conftest$ac_exeext'
70750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70751 (eval $ac_try) 2>&5
70752 ac_status=$?
70753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70754 (exit $ac_status); }; }; then
70755 eval "$as_ac_var=yes"
70756 else
70757 echo "$as_me: failed program was:" >&5
70758 sed 's/^/| /' conftest.$ac_ext >&5
70760 eval "$as_ac_var=no"
70762 rm -f conftest.err conftest.$ac_objext \
70763 conftest$ac_exeext conftest.$ac_ext
70765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70767 if test `eval echo '${'$as_ac_var'}'` = yes; then
70768 cat >>confdefs.h <<_ACEOF
70769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70770 _ACEOF
70773 done
70775 else
70777 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70778 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70779 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70780 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70781 echo $ECHO_N "(cached) $ECHO_C" >&6
70782 else
70786 ac_ext=cc
70787 ac_cpp='$CXXCPP $CPPFLAGS'
70788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70792 cat >conftest.$ac_ext <<_ACEOF
70793 /* confdefs.h. */
70794 _ACEOF
70795 cat confdefs.h >>conftest.$ac_ext
70796 cat >>conftest.$ac_ext <<_ACEOF
70797 /* end confdefs.h. */
70798 #include <math.h>
70799 #ifdef HAVE_IEEEFP_H
70800 #include <ieeefp.h>
70801 #endif
70804 main ()
70806 _sqrtl(0);
70808 return 0;
70810 _ACEOF
70811 rm -f conftest.$ac_objext
70812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70813 (eval $ac_compile) 2>conftest.er1
70814 ac_status=$?
70815 grep -v '^ *+' conftest.er1 >conftest.err
70816 rm -f conftest.er1
70817 cat conftest.err >&5
70818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70819 (exit $ac_status); } &&
70820 { ac_try='test -z "$ac_cxx_werror_flag"
70821 || test ! -s conftest.err'
70822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70823 (eval $ac_try) 2>&5
70824 ac_status=$?
70825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70826 (exit $ac_status); }; } &&
70827 { ac_try='test -s conftest.$ac_objext'
70828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70829 (eval $ac_try) 2>&5
70830 ac_status=$?
70831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70832 (exit $ac_status); }; }; then
70833 glibcxx_cv_func__sqrtl_use=yes
70834 else
70835 echo "$as_me: failed program was:" >&5
70836 sed 's/^/| /' conftest.$ac_ext >&5
70838 glibcxx_cv_func__sqrtl_use=no
70840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70841 ac_ext=c
70842 ac_cpp='$CPP $CPPFLAGS'
70843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
70852 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
70854 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70856 for ac_func in _sqrtl
70858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70859 echo "$as_me:$LINENO: checking for $ac_func" >&5
70860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70861 if eval "test \"\${$as_ac_var+set}\" = set"; then
70862 echo $ECHO_N "(cached) $ECHO_C" >&6
70863 else
70864 if test x$gcc_no_link = xyes; then
70865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70867 { (exit 1); exit 1; }; }
70869 cat >conftest.$ac_ext <<_ACEOF
70870 /* confdefs.h. */
70871 _ACEOF
70872 cat confdefs.h >>conftest.$ac_ext
70873 cat >>conftest.$ac_ext <<_ACEOF
70874 /* end confdefs.h. */
70875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70877 #define $ac_func innocuous_$ac_func
70879 /* System header to define __stub macros and hopefully few prototypes,
70880 which can conflict with char $ac_func (); below.
70881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70882 <limits.h> exists even on freestanding compilers. */
70884 #ifdef __STDC__
70885 # include <limits.h>
70886 #else
70887 # include <assert.h>
70888 #endif
70890 #undef $ac_func
70892 /* Override any gcc2 internal prototype to avoid an error. */
70893 #ifdef __cplusplus
70894 extern "C"
70896 #endif
70897 /* We use char because int might match the return type of a gcc2
70898 builtin and then its argument prototype would still apply. */
70899 char $ac_func ();
70900 /* The GNU C library defines this for functions which it implements
70901 to always fail with ENOSYS. Some functions are actually named
70902 something starting with __ and the normal name is an alias. */
70903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70904 choke me
70905 #else
70906 char (*f) () = $ac_func;
70907 #endif
70908 #ifdef __cplusplus
70910 #endif
70913 main ()
70915 return f != $ac_func;
70917 return 0;
70919 _ACEOF
70920 rm -f conftest.$ac_objext conftest$ac_exeext
70921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70922 (eval $ac_link) 2>conftest.er1
70923 ac_status=$?
70924 grep -v '^ *+' conftest.er1 >conftest.err
70925 rm -f conftest.er1
70926 cat conftest.err >&5
70927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70928 (exit $ac_status); } &&
70929 { ac_try='test -z "$ac_c_werror_flag"
70930 || test ! -s conftest.err'
70931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70932 (eval $ac_try) 2>&5
70933 ac_status=$?
70934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70935 (exit $ac_status); }; } &&
70936 { ac_try='test -s conftest$ac_exeext'
70937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70938 (eval $ac_try) 2>&5
70939 ac_status=$?
70940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70941 (exit $ac_status); }; }; then
70942 eval "$as_ac_var=yes"
70943 else
70944 echo "$as_me: failed program was:" >&5
70945 sed 's/^/| /' conftest.$ac_ext >&5
70947 eval "$as_ac_var=no"
70949 rm -f conftest.err conftest.$ac_objext \
70950 conftest$ac_exeext conftest.$ac_ext
70952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70954 if test `eval echo '${'$as_ac_var'}'` = yes; then
70955 cat >>confdefs.h <<_ACEOF
70956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70957 _ACEOF
70960 done
70970 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
70971 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
70972 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70973 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
70974 echo $ECHO_N "(cached) $ECHO_C" >&6
70975 else
70979 ac_ext=cc
70980 ac_cpp='$CXXCPP $CPPFLAGS'
70981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70985 cat >conftest.$ac_ext <<_ACEOF
70986 /* confdefs.h. */
70987 _ACEOF
70988 cat confdefs.h >>conftest.$ac_ext
70989 cat >>conftest.$ac_ext <<_ACEOF
70990 /* end confdefs.h. */
70991 #include <math.h>
70993 main ()
70995 sincosl(0, 0, 0);
70997 return 0;
70999 _ACEOF
71000 rm -f conftest.$ac_objext
71001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71002 (eval $ac_compile) 2>conftest.er1
71003 ac_status=$?
71004 grep -v '^ *+' conftest.er1 >conftest.err
71005 rm -f conftest.er1
71006 cat conftest.err >&5
71007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71008 (exit $ac_status); } &&
71009 { ac_try='test -z "$ac_cxx_werror_flag"
71010 || test ! -s conftest.err'
71011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71012 (eval $ac_try) 2>&5
71013 ac_status=$?
71014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71015 (exit $ac_status); }; } &&
71016 { ac_try='test -s conftest.$ac_objext'
71017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71018 (eval $ac_try) 2>&5
71019 ac_status=$?
71020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71021 (exit $ac_status); }; }; then
71022 glibcxx_cv_func_sincosl_use=yes
71023 else
71024 echo "$as_me: failed program was:" >&5
71025 sed 's/^/| /' conftest.$ac_ext >&5
71027 glibcxx_cv_func_sincosl_use=no
71029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71030 ac_ext=c
71031 ac_cpp='$CPP $CPPFLAGS'
71032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71040 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
71041 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
71043 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71045 for ac_func in sincosl
71047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71048 echo "$as_me:$LINENO: checking for $ac_func" >&5
71049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71050 if eval "test \"\${$as_ac_var+set}\" = set"; then
71051 echo $ECHO_N "(cached) $ECHO_C" >&6
71052 else
71053 if test x$gcc_no_link = xyes; then
71054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71056 { (exit 1); exit 1; }; }
71058 cat >conftest.$ac_ext <<_ACEOF
71059 /* confdefs.h. */
71060 _ACEOF
71061 cat confdefs.h >>conftest.$ac_ext
71062 cat >>conftest.$ac_ext <<_ACEOF
71063 /* end confdefs.h. */
71064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71066 #define $ac_func innocuous_$ac_func
71068 /* System header to define __stub macros and hopefully few prototypes,
71069 which can conflict with char $ac_func (); below.
71070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71071 <limits.h> exists even on freestanding compilers. */
71073 #ifdef __STDC__
71074 # include <limits.h>
71075 #else
71076 # include <assert.h>
71077 #endif
71079 #undef $ac_func
71081 /* Override any gcc2 internal prototype to avoid an error. */
71082 #ifdef __cplusplus
71083 extern "C"
71085 #endif
71086 /* We use char because int might match the return type of a gcc2
71087 builtin and then its argument prototype would still apply. */
71088 char $ac_func ();
71089 /* The GNU C library defines this for functions which it implements
71090 to always fail with ENOSYS. Some functions are actually named
71091 something starting with __ and the normal name is an alias. */
71092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71093 choke me
71094 #else
71095 char (*f) () = $ac_func;
71096 #endif
71097 #ifdef __cplusplus
71099 #endif
71102 main ()
71104 return f != $ac_func;
71106 return 0;
71108 _ACEOF
71109 rm -f conftest.$ac_objext conftest$ac_exeext
71110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71111 (eval $ac_link) 2>conftest.er1
71112 ac_status=$?
71113 grep -v '^ *+' conftest.er1 >conftest.err
71114 rm -f conftest.er1
71115 cat conftest.err >&5
71116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71117 (exit $ac_status); } &&
71118 { ac_try='test -z "$ac_c_werror_flag"
71119 || test ! -s conftest.err'
71120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71121 (eval $ac_try) 2>&5
71122 ac_status=$?
71123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71124 (exit $ac_status); }; } &&
71125 { ac_try='test -s conftest$ac_exeext'
71126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71127 (eval $ac_try) 2>&5
71128 ac_status=$?
71129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71130 (exit $ac_status); }; }; then
71131 eval "$as_ac_var=yes"
71132 else
71133 echo "$as_me: failed program was:" >&5
71134 sed 's/^/| /' conftest.$ac_ext >&5
71136 eval "$as_ac_var=no"
71138 rm -f conftest.err conftest.$ac_objext \
71139 conftest$ac_exeext conftest.$ac_ext
71141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71143 if test `eval echo '${'$as_ac_var'}'` = yes; then
71144 cat >>confdefs.h <<_ACEOF
71145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71146 _ACEOF
71149 done
71151 else
71153 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
71154 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
71155 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71156 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
71157 echo $ECHO_N "(cached) $ECHO_C" >&6
71158 else
71162 ac_ext=cc
71163 ac_cpp='$CXXCPP $CPPFLAGS'
71164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71168 cat >conftest.$ac_ext <<_ACEOF
71169 /* confdefs.h. */
71170 _ACEOF
71171 cat confdefs.h >>conftest.$ac_ext
71172 cat >>conftest.$ac_ext <<_ACEOF
71173 /* end confdefs.h. */
71174 #include <math.h>
71176 main ()
71178 _sincosl(0, 0, 0);
71180 return 0;
71182 _ACEOF
71183 rm -f conftest.$ac_objext
71184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71185 (eval $ac_compile) 2>conftest.er1
71186 ac_status=$?
71187 grep -v '^ *+' conftest.er1 >conftest.err
71188 rm -f conftest.er1
71189 cat conftest.err >&5
71190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71191 (exit $ac_status); } &&
71192 { ac_try='test -z "$ac_cxx_werror_flag"
71193 || test ! -s conftest.err'
71194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71195 (eval $ac_try) 2>&5
71196 ac_status=$?
71197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71198 (exit $ac_status); }; } &&
71199 { ac_try='test -s conftest.$ac_objext'
71200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71201 (eval $ac_try) 2>&5
71202 ac_status=$?
71203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71204 (exit $ac_status); }; }; then
71205 glibcxx_cv_func__sincosl_use=yes
71206 else
71207 echo "$as_me: failed program was:" >&5
71208 sed 's/^/| /' conftest.$ac_ext >&5
71210 glibcxx_cv_func__sincosl_use=no
71212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71213 ac_ext=c
71214 ac_cpp='$CPP $CPPFLAGS'
71215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71223 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
71224 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
71226 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71228 for ac_func in _sincosl
71230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71231 echo "$as_me:$LINENO: checking for $ac_func" >&5
71232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71233 if eval "test \"\${$as_ac_var+set}\" = set"; then
71234 echo $ECHO_N "(cached) $ECHO_C" >&6
71235 else
71236 if test x$gcc_no_link = xyes; then
71237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71239 { (exit 1); exit 1; }; }
71241 cat >conftest.$ac_ext <<_ACEOF
71242 /* confdefs.h. */
71243 _ACEOF
71244 cat confdefs.h >>conftest.$ac_ext
71245 cat >>conftest.$ac_ext <<_ACEOF
71246 /* end confdefs.h. */
71247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71249 #define $ac_func innocuous_$ac_func
71251 /* System header to define __stub macros and hopefully few prototypes,
71252 which can conflict with char $ac_func (); below.
71253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71254 <limits.h> exists even on freestanding compilers. */
71256 #ifdef __STDC__
71257 # include <limits.h>
71258 #else
71259 # include <assert.h>
71260 #endif
71262 #undef $ac_func
71264 /* Override any gcc2 internal prototype to avoid an error. */
71265 #ifdef __cplusplus
71266 extern "C"
71268 #endif
71269 /* We use char because int might match the return type of a gcc2
71270 builtin and then its argument prototype would still apply. */
71271 char $ac_func ();
71272 /* The GNU C library defines this for functions which it implements
71273 to always fail with ENOSYS. Some functions are actually named
71274 something starting with __ and the normal name is an alias. */
71275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71276 choke me
71277 #else
71278 char (*f) () = $ac_func;
71279 #endif
71280 #ifdef __cplusplus
71282 #endif
71285 main ()
71287 return f != $ac_func;
71289 return 0;
71291 _ACEOF
71292 rm -f conftest.$ac_objext conftest$ac_exeext
71293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71294 (eval $ac_link) 2>conftest.er1
71295 ac_status=$?
71296 grep -v '^ *+' conftest.er1 >conftest.err
71297 rm -f conftest.er1
71298 cat conftest.err >&5
71299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71300 (exit $ac_status); } &&
71301 { ac_try='test -z "$ac_c_werror_flag"
71302 || test ! -s conftest.err'
71303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71304 (eval $ac_try) 2>&5
71305 ac_status=$?
71306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71307 (exit $ac_status); }; } &&
71308 { ac_try='test -s conftest$ac_exeext'
71309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71310 (eval $ac_try) 2>&5
71311 ac_status=$?
71312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71313 (exit $ac_status); }; }; then
71314 eval "$as_ac_var=yes"
71315 else
71316 echo "$as_me: failed program was:" >&5
71317 sed 's/^/| /' conftest.$ac_ext >&5
71319 eval "$as_ac_var=no"
71321 rm -f conftest.err conftest.$ac_objext \
71322 conftest$ac_exeext conftest.$ac_ext
71324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71326 if test `eval echo '${'$as_ac_var'}'` = yes; then
71327 cat >>confdefs.h <<_ACEOF
71328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71329 _ACEOF
71332 done
71342 echo "$as_me:$LINENO: checking for finitel declaration" >&5
71343 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71344 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71345 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71346 echo $ECHO_N "(cached) $ECHO_C" >&6
71347 else
71351 ac_ext=cc
71352 ac_cpp='$CXXCPP $CPPFLAGS'
71353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71357 cat >conftest.$ac_ext <<_ACEOF
71358 /* confdefs.h. */
71359 _ACEOF
71360 cat confdefs.h >>conftest.$ac_ext
71361 cat >>conftest.$ac_ext <<_ACEOF
71362 /* end confdefs.h. */
71363 #include <math.h>
71364 #ifdef HAVE_IEEEFP_H
71365 #include <ieeefp.h>
71366 #endif
71369 main ()
71371 finitel(0);
71373 return 0;
71375 _ACEOF
71376 rm -f conftest.$ac_objext
71377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71378 (eval $ac_compile) 2>conftest.er1
71379 ac_status=$?
71380 grep -v '^ *+' conftest.er1 >conftest.err
71381 rm -f conftest.er1
71382 cat conftest.err >&5
71383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71384 (exit $ac_status); } &&
71385 { ac_try='test -z "$ac_cxx_werror_flag"
71386 || test ! -s conftest.err'
71387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71388 (eval $ac_try) 2>&5
71389 ac_status=$?
71390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71391 (exit $ac_status); }; } &&
71392 { ac_try='test -s conftest.$ac_objext'
71393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71394 (eval $ac_try) 2>&5
71395 ac_status=$?
71396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71397 (exit $ac_status); }; }; then
71398 glibcxx_cv_func_finitel_use=yes
71399 else
71400 echo "$as_me: failed program was:" >&5
71401 sed 's/^/| /' conftest.$ac_ext >&5
71403 glibcxx_cv_func_finitel_use=no
71405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71406 ac_ext=c
71407 ac_cpp='$CPP $CPPFLAGS'
71408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71417 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71419 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71421 for ac_func in finitel
71423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71424 echo "$as_me:$LINENO: checking for $ac_func" >&5
71425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71426 if eval "test \"\${$as_ac_var+set}\" = set"; then
71427 echo $ECHO_N "(cached) $ECHO_C" >&6
71428 else
71429 if test x$gcc_no_link = xyes; then
71430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71432 { (exit 1); exit 1; }; }
71434 cat >conftest.$ac_ext <<_ACEOF
71435 /* confdefs.h. */
71436 _ACEOF
71437 cat confdefs.h >>conftest.$ac_ext
71438 cat >>conftest.$ac_ext <<_ACEOF
71439 /* end confdefs.h. */
71440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71442 #define $ac_func innocuous_$ac_func
71444 /* System header to define __stub macros and hopefully few prototypes,
71445 which can conflict with char $ac_func (); below.
71446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71447 <limits.h> exists even on freestanding compilers. */
71449 #ifdef __STDC__
71450 # include <limits.h>
71451 #else
71452 # include <assert.h>
71453 #endif
71455 #undef $ac_func
71457 /* Override any gcc2 internal prototype to avoid an error. */
71458 #ifdef __cplusplus
71459 extern "C"
71461 #endif
71462 /* We use char because int might match the return type of a gcc2
71463 builtin and then its argument prototype would still apply. */
71464 char $ac_func ();
71465 /* The GNU C library defines this for functions which it implements
71466 to always fail with ENOSYS. Some functions are actually named
71467 something starting with __ and the normal name is an alias. */
71468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71469 choke me
71470 #else
71471 char (*f) () = $ac_func;
71472 #endif
71473 #ifdef __cplusplus
71475 #endif
71478 main ()
71480 return f != $ac_func;
71482 return 0;
71484 _ACEOF
71485 rm -f conftest.$ac_objext conftest$ac_exeext
71486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71487 (eval $ac_link) 2>conftest.er1
71488 ac_status=$?
71489 grep -v '^ *+' conftest.er1 >conftest.err
71490 rm -f conftest.er1
71491 cat conftest.err >&5
71492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71493 (exit $ac_status); } &&
71494 { ac_try='test -z "$ac_c_werror_flag"
71495 || test ! -s conftest.err'
71496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71497 (eval $ac_try) 2>&5
71498 ac_status=$?
71499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71500 (exit $ac_status); }; } &&
71501 { ac_try='test -s conftest$ac_exeext'
71502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71503 (eval $ac_try) 2>&5
71504 ac_status=$?
71505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71506 (exit $ac_status); }; }; then
71507 eval "$as_ac_var=yes"
71508 else
71509 echo "$as_me: failed program was:" >&5
71510 sed 's/^/| /' conftest.$ac_ext >&5
71512 eval "$as_ac_var=no"
71514 rm -f conftest.err conftest.$ac_objext \
71515 conftest$ac_exeext conftest.$ac_ext
71517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71519 if test `eval echo '${'$as_ac_var'}'` = yes; then
71520 cat >>confdefs.h <<_ACEOF
71521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71522 _ACEOF
71525 done
71527 else
71529 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71530 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71531 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71532 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71533 echo $ECHO_N "(cached) $ECHO_C" >&6
71534 else
71538 ac_ext=cc
71539 ac_cpp='$CXXCPP $CPPFLAGS'
71540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71544 cat >conftest.$ac_ext <<_ACEOF
71545 /* confdefs.h. */
71546 _ACEOF
71547 cat confdefs.h >>conftest.$ac_ext
71548 cat >>conftest.$ac_ext <<_ACEOF
71549 /* end confdefs.h. */
71550 #include <math.h>
71551 #ifdef HAVE_IEEEFP_H
71552 #include <ieeefp.h>
71553 #endif
71556 main ()
71558 _finitel(0);
71560 return 0;
71562 _ACEOF
71563 rm -f conftest.$ac_objext
71564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71565 (eval $ac_compile) 2>conftest.er1
71566 ac_status=$?
71567 grep -v '^ *+' conftest.er1 >conftest.err
71568 rm -f conftest.er1
71569 cat conftest.err >&5
71570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71571 (exit $ac_status); } &&
71572 { ac_try='test -z "$ac_cxx_werror_flag"
71573 || test ! -s conftest.err'
71574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71575 (eval $ac_try) 2>&5
71576 ac_status=$?
71577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71578 (exit $ac_status); }; } &&
71579 { ac_try='test -s conftest.$ac_objext'
71580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71581 (eval $ac_try) 2>&5
71582 ac_status=$?
71583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71584 (exit $ac_status); }; }; then
71585 glibcxx_cv_func__finitel_use=yes
71586 else
71587 echo "$as_me: failed program was:" >&5
71588 sed 's/^/| /' conftest.$ac_ext >&5
71590 glibcxx_cv_func__finitel_use=no
71592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71593 ac_ext=c
71594 ac_cpp='$CPP $CPPFLAGS'
71595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71603 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71604 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71606 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71608 for ac_func in _finitel
71610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71611 echo "$as_me:$LINENO: checking for $ac_func" >&5
71612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71613 if eval "test \"\${$as_ac_var+set}\" = set"; then
71614 echo $ECHO_N "(cached) $ECHO_C" >&6
71615 else
71616 if test x$gcc_no_link = xyes; then
71617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71619 { (exit 1); exit 1; }; }
71621 cat >conftest.$ac_ext <<_ACEOF
71622 /* confdefs.h. */
71623 _ACEOF
71624 cat confdefs.h >>conftest.$ac_ext
71625 cat >>conftest.$ac_ext <<_ACEOF
71626 /* end confdefs.h. */
71627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71629 #define $ac_func innocuous_$ac_func
71631 /* System header to define __stub macros and hopefully few prototypes,
71632 which can conflict with char $ac_func (); below.
71633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71634 <limits.h> exists even on freestanding compilers. */
71636 #ifdef __STDC__
71637 # include <limits.h>
71638 #else
71639 # include <assert.h>
71640 #endif
71642 #undef $ac_func
71644 /* Override any gcc2 internal prototype to avoid an error. */
71645 #ifdef __cplusplus
71646 extern "C"
71648 #endif
71649 /* We use char because int might match the return type of a gcc2
71650 builtin and then its argument prototype would still apply. */
71651 char $ac_func ();
71652 /* The GNU C library defines this for functions which it implements
71653 to always fail with ENOSYS. Some functions are actually named
71654 something starting with __ and the normal name is an alias. */
71655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71656 choke me
71657 #else
71658 char (*f) () = $ac_func;
71659 #endif
71660 #ifdef __cplusplus
71662 #endif
71665 main ()
71667 return f != $ac_func;
71669 return 0;
71671 _ACEOF
71672 rm -f conftest.$ac_objext conftest$ac_exeext
71673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71674 (eval $ac_link) 2>conftest.er1
71675 ac_status=$?
71676 grep -v '^ *+' conftest.er1 >conftest.err
71677 rm -f conftest.er1
71678 cat conftest.err >&5
71679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71680 (exit $ac_status); } &&
71681 { ac_try='test -z "$ac_c_werror_flag"
71682 || test ! -s conftest.err'
71683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71684 (eval $ac_try) 2>&5
71685 ac_status=$?
71686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71687 (exit $ac_status); }; } &&
71688 { ac_try='test -s conftest$ac_exeext'
71689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71690 (eval $ac_try) 2>&5
71691 ac_status=$?
71692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71693 (exit $ac_status); }; }; then
71694 eval "$as_ac_var=yes"
71695 else
71696 echo "$as_me: failed program was:" >&5
71697 sed 's/^/| /' conftest.$ac_ext >&5
71699 eval "$as_ac_var=no"
71701 rm -f conftest.err conftest.$ac_objext \
71702 conftest$ac_exeext conftest.$ac_ext
71704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71706 if test `eval echo '${'$as_ac_var'}'` = yes; then
71707 cat >>confdefs.h <<_ACEOF
71708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71709 _ACEOF
71712 done
71721 LIBS="$ac_save_LIBS"
71722 CXXFLAGS="$ac_save_CXXFLAGS"
71726 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71727 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71728 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71729 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71730 echo $ECHO_N "(cached) $ECHO_C" >&6
71731 else
71735 ac_ext=cc
71736 ac_cpp='$CXXCPP $CPPFLAGS'
71737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71741 cat >conftest.$ac_ext <<_ACEOF
71742 /* confdefs.h. */
71743 _ACEOF
71744 cat confdefs.h >>conftest.$ac_ext
71745 cat >>conftest.$ac_ext <<_ACEOF
71746 /* end confdefs.h. */
71747 #include <math.h>
71749 main ()
71751 __builtin_abs(0);
71753 return 0;
71755 _ACEOF
71756 rm -f conftest.$ac_objext
71757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71758 (eval $ac_compile) 2>conftest.er1
71759 ac_status=$?
71760 grep -v '^ *+' conftest.er1 >conftest.err
71761 rm -f conftest.er1
71762 cat conftest.err >&5
71763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71764 (exit $ac_status); } &&
71765 { ac_try='test -z "$ac_cxx_werror_flag"
71766 || test ! -s conftest.err'
71767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71768 (eval $ac_try) 2>&5
71769 ac_status=$?
71770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71771 (exit $ac_status); }; } &&
71772 { ac_try='test -s conftest.$ac_objext'
71773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71774 (eval $ac_try) 2>&5
71775 ac_status=$?
71776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71777 (exit $ac_status); }; }; then
71778 glibcxx_cv_func___builtin_abs_use=yes
71779 else
71780 echo "$as_me: failed program was:" >&5
71781 sed 's/^/| /' conftest.$ac_ext >&5
71783 glibcxx_cv_func___builtin_abs_use=no
71785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71786 ac_ext=c
71787 ac_cpp='$CPP $CPPFLAGS'
71788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71796 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
71797 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
71798 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
71799 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
71800 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
71801 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
71802 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
71803 echo $ECHO_N "(cached) $ECHO_C" >&6
71804 else
71806 if test x$gcc_no_link = xyes; then
71807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71809 { (exit 1); exit 1; }; }
71811 cat >conftest.$ac_ext <<_ACEOF
71812 /* confdefs.h. */
71813 _ACEOF
71814 cat confdefs.h >>conftest.$ac_ext
71815 cat >>conftest.$ac_ext <<_ACEOF
71816 /* end confdefs.h. */
71817 #include <math.h>
71819 main ()
71821 __builtin_abs(0);
71823 return 0;
71825 _ACEOF
71826 rm -f conftest.$ac_objext conftest$ac_exeext
71827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71828 (eval $ac_link) 2>conftest.er1
71829 ac_status=$?
71830 grep -v '^ *+' conftest.er1 >conftest.err
71831 rm -f conftest.er1
71832 cat conftest.err >&5
71833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71834 (exit $ac_status); } &&
71835 { ac_try='test -z "$ac_c_werror_flag"
71836 || test ! -s conftest.err'
71837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71838 (eval $ac_try) 2>&5
71839 ac_status=$?
71840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71841 (exit $ac_status); }; } &&
71842 { ac_try='test -s conftest$ac_exeext'
71843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71844 (eval $ac_try) 2>&5
71845 ac_status=$?
71846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71847 (exit $ac_status); }; }; then
71848 glibcxx_cv_func___builtin_abs_link=yes
71849 else
71850 echo "$as_me: failed program was:" >&5
71851 sed 's/^/| /' conftest.$ac_ext >&5
71853 glibcxx_cv_func___builtin_abs_link=no
71855 rm -f conftest.err conftest.$ac_objext \
71856 conftest$ac_exeext conftest.$ac_ext
71861 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
71862 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
71864 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
71866 cat >>confdefs.h <<\_ACEOF
71867 #define HAVE___BUILTIN_ABS 1
71868 _ACEOF
71875 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
71876 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
71877 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
71878 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
71879 echo $ECHO_N "(cached) $ECHO_C" >&6
71880 else
71884 ac_ext=cc
71885 ac_cpp='$CXXCPP $CPPFLAGS'
71886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71890 cat >conftest.$ac_ext <<_ACEOF
71891 /* confdefs.h. */
71892 _ACEOF
71893 cat confdefs.h >>conftest.$ac_ext
71894 cat >>conftest.$ac_ext <<_ACEOF
71895 /* end confdefs.h. */
71896 #include <math.h>
71898 main ()
71900 __builtin_fabsf(0);
71902 return 0;
71904 _ACEOF
71905 rm -f conftest.$ac_objext
71906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71907 (eval $ac_compile) 2>conftest.er1
71908 ac_status=$?
71909 grep -v '^ *+' conftest.er1 >conftest.err
71910 rm -f conftest.er1
71911 cat conftest.err >&5
71912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71913 (exit $ac_status); } &&
71914 { ac_try='test -z "$ac_cxx_werror_flag"
71915 || test ! -s conftest.err'
71916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71917 (eval $ac_try) 2>&5
71918 ac_status=$?
71919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71920 (exit $ac_status); }; } &&
71921 { ac_try='test -s conftest.$ac_objext'
71922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71923 (eval $ac_try) 2>&5
71924 ac_status=$?
71925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71926 (exit $ac_status); }; }; then
71927 glibcxx_cv_func___builtin_fabsf_use=yes
71928 else
71929 echo "$as_me: failed program was:" >&5
71930 sed 's/^/| /' conftest.$ac_ext >&5
71932 glibcxx_cv_func___builtin_fabsf_use=no
71934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71935 ac_ext=c
71936 ac_cpp='$CPP $CPPFLAGS'
71937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71945 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
71946 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
71947 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
71948 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
71949 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
71950 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
71951 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
71952 echo $ECHO_N "(cached) $ECHO_C" >&6
71953 else
71955 if test x$gcc_no_link = xyes; then
71956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71958 { (exit 1); exit 1; }; }
71960 cat >conftest.$ac_ext <<_ACEOF
71961 /* confdefs.h. */
71962 _ACEOF
71963 cat confdefs.h >>conftest.$ac_ext
71964 cat >>conftest.$ac_ext <<_ACEOF
71965 /* end confdefs.h. */
71966 #include <math.h>
71968 main ()
71970 __builtin_fabsf(0);
71972 return 0;
71974 _ACEOF
71975 rm -f conftest.$ac_objext conftest$ac_exeext
71976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71977 (eval $ac_link) 2>conftest.er1
71978 ac_status=$?
71979 grep -v '^ *+' conftest.er1 >conftest.err
71980 rm -f conftest.er1
71981 cat conftest.err >&5
71982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71983 (exit $ac_status); } &&
71984 { ac_try='test -z "$ac_c_werror_flag"
71985 || test ! -s conftest.err'
71986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71987 (eval $ac_try) 2>&5
71988 ac_status=$?
71989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71990 (exit $ac_status); }; } &&
71991 { ac_try='test -s conftest$ac_exeext'
71992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71993 (eval $ac_try) 2>&5
71994 ac_status=$?
71995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71996 (exit $ac_status); }; }; then
71997 glibcxx_cv_func___builtin_fabsf_link=yes
71998 else
71999 echo "$as_me: failed program was:" >&5
72000 sed 's/^/| /' conftest.$ac_ext >&5
72002 glibcxx_cv_func___builtin_fabsf_link=no
72004 rm -f conftest.err conftest.$ac_objext \
72005 conftest$ac_exeext conftest.$ac_ext
72010 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
72011 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
72013 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
72015 cat >>confdefs.h <<\_ACEOF
72016 #define HAVE___BUILTIN_FABSF 1
72017 _ACEOF
72024 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
72025 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
72026 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
72027 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
72028 echo $ECHO_N "(cached) $ECHO_C" >&6
72029 else
72033 ac_ext=cc
72034 ac_cpp='$CXXCPP $CPPFLAGS'
72035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72039 cat >conftest.$ac_ext <<_ACEOF
72040 /* confdefs.h. */
72041 _ACEOF
72042 cat confdefs.h >>conftest.$ac_ext
72043 cat >>conftest.$ac_ext <<_ACEOF
72044 /* end confdefs.h. */
72045 #include <math.h>
72047 main ()
72049 __builtin_fabs(0);
72051 return 0;
72053 _ACEOF
72054 rm -f conftest.$ac_objext
72055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72056 (eval $ac_compile) 2>conftest.er1
72057 ac_status=$?
72058 grep -v '^ *+' conftest.er1 >conftest.err
72059 rm -f conftest.er1
72060 cat conftest.err >&5
72061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72062 (exit $ac_status); } &&
72063 { ac_try='test -z "$ac_cxx_werror_flag"
72064 || test ! -s conftest.err'
72065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72066 (eval $ac_try) 2>&5
72067 ac_status=$?
72068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72069 (exit $ac_status); }; } &&
72070 { ac_try='test -s conftest.$ac_objext'
72071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72072 (eval $ac_try) 2>&5
72073 ac_status=$?
72074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72075 (exit $ac_status); }; }; then
72076 glibcxx_cv_func___builtin_fabs_use=yes
72077 else
72078 echo "$as_me: failed program was:" >&5
72079 sed 's/^/| /' conftest.$ac_ext >&5
72081 glibcxx_cv_func___builtin_fabs_use=no
72083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72084 ac_ext=c
72085 ac_cpp='$CPP $CPPFLAGS'
72086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72094 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
72095 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
72096 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
72097 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
72098 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
72099 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
72100 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
72101 echo $ECHO_N "(cached) $ECHO_C" >&6
72102 else
72104 if test x$gcc_no_link = xyes; then
72105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72107 { (exit 1); exit 1; }; }
72109 cat >conftest.$ac_ext <<_ACEOF
72110 /* confdefs.h. */
72111 _ACEOF
72112 cat confdefs.h >>conftest.$ac_ext
72113 cat >>conftest.$ac_ext <<_ACEOF
72114 /* end confdefs.h. */
72115 #include <math.h>
72117 main ()
72119 __builtin_fabs(0);
72121 return 0;
72123 _ACEOF
72124 rm -f conftest.$ac_objext conftest$ac_exeext
72125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72126 (eval $ac_link) 2>conftest.er1
72127 ac_status=$?
72128 grep -v '^ *+' conftest.er1 >conftest.err
72129 rm -f conftest.er1
72130 cat conftest.err >&5
72131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72132 (exit $ac_status); } &&
72133 { ac_try='test -z "$ac_c_werror_flag"
72134 || test ! -s conftest.err'
72135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72136 (eval $ac_try) 2>&5
72137 ac_status=$?
72138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72139 (exit $ac_status); }; } &&
72140 { ac_try='test -s conftest$ac_exeext'
72141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72142 (eval $ac_try) 2>&5
72143 ac_status=$?
72144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72145 (exit $ac_status); }; }; then
72146 glibcxx_cv_func___builtin_fabs_link=yes
72147 else
72148 echo "$as_me: failed program was:" >&5
72149 sed 's/^/| /' conftest.$ac_ext >&5
72151 glibcxx_cv_func___builtin_fabs_link=no
72153 rm -f conftest.err conftest.$ac_objext \
72154 conftest$ac_exeext conftest.$ac_ext
72159 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
72160 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
72162 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
72164 cat >>confdefs.h <<\_ACEOF
72165 #define HAVE___BUILTIN_FABS 1
72166 _ACEOF
72173 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
72174 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
72175 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
72176 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
72177 echo $ECHO_N "(cached) $ECHO_C" >&6
72178 else
72182 ac_ext=cc
72183 ac_cpp='$CXXCPP $CPPFLAGS'
72184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72188 cat >conftest.$ac_ext <<_ACEOF
72189 /* confdefs.h. */
72190 _ACEOF
72191 cat confdefs.h >>conftest.$ac_ext
72192 cat >>conftest.$ac_ext <<_ACEOF
72193 /* end confdefs.h. */
72194 #include <math.h>
72196 main ()
72198 __builtin_fabsl(0);
72200 return 0;
72202 _ACEOF
72203 rm -f conftest.$ac_objext
72204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72205 (eval $ac_compile) 2>conftest.er1
72206 ac_status=$?
72207 grep -v '^ *+' conftest.er1 >conftest.err
72208 rm -f conftest.er1
72209 cat conftest.err >&5
72210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72211 (exit $ac_status); } &&
72212 { ac_try='test -z "$ac_cxx_werror_flag"
72213 || test ! -s conftest.err'
72214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72215 (eval $ac_try) 2>&5
72216 ac_status=$?
72217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72218 (exit $ac_status); }; } &&
72219 { ac_try='test -s conftest.$ac_objext'
72220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72221 (eval $ac_try) 2>&5
72222 ac_status=$?
72223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72224 (exit $ac_status); }; }; then
72225 glibcxx_cv_func___builtin_fabsl_use=yes
72226 else
72227 echo "$as_me: failed program was:" >&5
72228 sed 's/^/| /' conftest.$ac_ext >&5
72230 glibcxx_cv_func___builtin_fabsl_use=no
72232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72233 ac_ext=c
72234 ac_cpp='$CPP $CPPFLAGS'
72235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72243 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
72244 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
72245 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
72246 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
72247 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
72248 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
72249 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
72250 echo $ECHO_N "(cached) $ECHO_C" >&6
72251 else
72253 if test x$gcc_no_link = xyes; then
72254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72256 { (exit 1); exit 1; }; }
72258 cat >conftest.$ac_ext <<_ACEOF
72259 /* confdefs.h. */
72260 _ACEOF
72261 cat confdefs.h >>conftest.$ac_ext
72262 cat >>conftest.$ac_ext <<_ACEOF
72263 /* end confdefs.h. */
72264 #include <math.h>
72266 main ()
72268 __builtin_fabsl(0);
72270 return 0;
72272 _ACEOF
72273 rm -f conftest.$ac_objext conftest$ac_exeext
72274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72275 (eval $ac_link) 2>conftest.er1
72276 ac_status=$?
72277 grep -v '^ *+' conftest.er1 >conftest.err
72278 rm -f conftest.er1
72279 cat conftest.err >&5
72280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72281 (exit $ac_status); } &&
72282 { ac_try='test -z "$ac_c_werror_flag"
72283 || test ! -s conftest.err'
72284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72285 (eval $ac_try) 2>&5
72286 ac_status=$?
72287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72288 (exit $ac_status); }; } &&
72289 { ac_try='test -s conftest$ac_exeext'
72290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72291 (eval $ac_try) 2>&5
72292 ac_status=$?
72293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72294 (exit $ac_status); }; }; then
72295 glibcxx_cv_func___builtin_fabsl_link=yes
72296 else
72297 echo "$as_me: failed program was:" >&5
72298 sed 's/^/| /' conftest.$ac_ext >&5
72300 glibcxx_cv_func___builtin_fabsl_link=no
72302 rm -f conftest.err conftest.$ac_objext \
72303 conftest$ac_exeext conftest.$ac_ext
72308 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72309 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72311 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72313 cat >>confdefs.h <<\_ACEOF
72314 #define HAVE___BUILTIN_FABSL 1
72315 _ACEOF
72322 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72323 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72324 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72325 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72326 echo $ECHO_N "(cached) $ECHO_C" >&6
72327 else
72331 ac_ext=cc
72332 ac_cpp='$CXXCPP $CPPFLAGS'
72333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72337 cat >conftest.$ac_ext <<_ACEOF
72338 /* confdefs.h. */
72339 _ACEOF
72340 cat confdefs.h >>conftest.$ac_ext
72341 cat >>conftest.$ac_ext <<_ACEOF
72342 /* end confdefs.h. */
72343 #include <math.h>
72345 main ()
72347 __builtin_labs(0);
72349 return 0;
72351 _ACEOF
72352 rm -f conftest.$ac_objext
72353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72354 (eval $ac_compile) 2>conftest.er1
72355 ac_status=$?
72356 grep -v '^ *+' conftest.er1 >conftest.err
72357 rm -f conftest.er1
72358 cat conftest.err >&5
72359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72360 (exit $ac_status); } &&
72361 { ac_try='test -z "$ac_cxx_werror_flag"
72362 || test ! -s conftest.err'
72363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72364 (eval $ac_try) 2>&5
72365 ac_status=$?
72366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72367 (exit $ac_status); }; } &&
72368 { ac_try='test -s conftest.$ac_objext'
72369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72370 (eval $ac_try) 2>&5
72371 ac_status=$?
72372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72373 (exit $ac_status); }; }; then
72374 glibcxx_cv_func___builtin_labs_use=yes
72375 else
72376 echo "$as_me: failed program was:" >&5
72377 sed 's/^/| /' conftest.$ac_ext >&5
72379 glibcxx_cv_func___builtin_labs_use=no
72381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72382 ac_ext=c
72383 ac_cpp='$CPP $CPPFLAGS'
72384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72392 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72393 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72394 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72395 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72396 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72397 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72398 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72399 echo $ECHO_N "(cached) $ECHO_C" >&6
72400 else
72402 if test x$gcc_no_link = xyes; then
72403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72405 { (exit 1); exit 1; }; }
72407 cat >conftest.$ac_ext <<_ACEOF
72408 /* confdefs.h. */
72409 _ACEOF
72410 cat confdefs.h >>conftest.$ac_ext
72411 cat >>conftest.$ac_ext <<_ACEOF
72412 /* end confdefs.h. */
72413 #include <math.h>
72415 main ()
72417 __builtin_labs(0);
72419 return 0;
72421 _ACEOF
72422 rm -f conftest.$ac_objext conftest$ac_exeext
72423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72424 (eval $ac_link) 2>conftest.er1
72425 ac_status=$?
72426 grep -v '^ *+' conftest.er1 >conftest.err
72427 rm -f conftest.er1
72428 cat conftest.err >&5
72429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72430 (exit $ac_status); } &&
72431 { ac_try='test -z "$ac_c_werror_flag"
72432 || test ! -s conftest.err'
72433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72434 (eval $ac_try) 2>&5
72435 ac_status=$?
72436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72437 (exit $ac_status); }; } &&
72438 { ac_try='test -s conftest$ac_exeext'
72439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72440 (eval $ac_try) 2>&5
72441 ac_status=$?
72442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72443 (exit $ac_status); }; }; then
72444 glibcxx_cv_func___builtin_labs_link=yes
72445 else
72446 echo "$as_me: failed program was:" >&5
72447 sed 's/^/| /' conftest.$ac_ext >&5
72449 glibcxx_cv_func___builtin_labs_link=no
72451 rm -f conftest.err conftest.$ac_objext \
72452 conftest$ac_exeext conftest.$ac_ext
72457 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72458 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72460 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72462 cat >>confdefs.h <<\_ACEOF
72463 #define HAVE___BUILTIN_LABS 1
72464 _ACEOF
72472 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72473 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72474 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72475 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72476 echo $ECHO_N "(cached) $ECHO_C" >&6
72477 else
72481 ac_ext=cc
72482 ac_cpp='$CXXCPP $CPPFLAGS'
72483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72487 cat >conftest.$ac_ext <<_ACEOF
72488 /* confdefs.h. */
72489 _ACEOF
72490 cat confdefs.h >>conftest.$ac_ext
72491 cat >>conftest.$ac_ext <<_ACEOF
72492 /* end confdefs.h. */
72493 #include <math.h>
72495 main ()
72497 __builtin_sqrtf(0);
72499 return 0;
72501 _ACEOF
72502 rm -f conftest.$ac_objext
72503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72504 (eval $ac_compile) 2>conftest.er1
72505 ac_status=$?
72506 grep -v '^ *+' conftest.er1 >conftest.err
72507 rm -f conftest.er1
72508 cat conftest.err >&5
72509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72510 (exit $ac_status); } &&
72511 { ac_try='test -z "$ac_cxx_werror_flag"
72512 || test ! -s conftest.err'
72513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72514 (eval $ac_try) 2>&5
72515 ac_status=$?
72516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72517 (exit $ac_status); }; } &&
72518 { ac_try='test -s conftest.$ac_objext'
72519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72520 (eval $ac_try) 2>&5
72521 ac_status=$?
72522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72523 (exit $ac_status); }; }; then
72524 glibcxx_cv_func___builtin_sqrtf_use=yes
72525 else
72526 echo "$as_me: failed program was:" >&5
72527 sed 's/^/| /' conftest.$ac_ext >&5
72529 glibcxx_cv_func___builtin_sqrtf_use=no
72531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72532 ac_ext=c
72533 ac_cpp='$CPP $CPPFLAGS'
72534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72542 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
72543 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
72544 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
72545 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
72546 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
72547 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
72548 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
72549 echo $ECHO_N "(cached) $ECHO_C" >&6
72550 else
72552 if test x$gcc_no_link = xyes; then
72553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72555 { (exit 1); exit 1; }; }
72557 cat >conftest.$ac_ext <<_ACEOF
72558 /* confdefs.h. */
72559 _ACEOF
72560 cat confdefs.h >>conftest.$ac_ext
72561 cat >>conftest.$ac_ext <<_ACEOF
72562 /* end confdefs.h. */
72563 #include <math.h>
72565 main ()
72567 __builtin_sqrtf(0);
72569 return 0;
72571 _ACEOF
72572 rm -f conftest.$ac_objext conftest$ac_exeext
72573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72574 (eval $ac_link) 2>conftest.er1
72575 ac_status=$?
72576 grep -v '^ *+' conftest.er1 >conftest.err
72577 rm -f conftest.er1
72578 cat conftest.err >&5
72579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72580 (exit $ac_status); } &&
72581 { ac_try='test -z "$ac_c_werror_flag"
72582 || test ! -s conftest.err'
72583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72584 (eval $ac_try) 2>&5
72585 ac_status=$?
72586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72587 (exit $ac_status); }; } &&
72588 { ac_try='test -s conftest$ac_exeext'
72589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72590 (eval $ac_try) 2>&5
72591 ac_status=$?
72592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72593 (exit $ac_status); }; }; then
72594 glibcxx_cv_func___builtin_sqrtf_link=yes
72595 else
72596 echo "$as_me: failed program was:" >&5
72597 sed 's/^/| /' conftest.$ac_ext >&5
72599 glibcxx_cv_func___builtin_sqrtf_link=no
72601 rm -f conftest.err conftest.$ac_objext \
72602 conftest$ac_exeext conftest.$ac_ext
72607 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
72608 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
72610 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
72612 cat >>confdefs.h <<\_ACEOF
72613 #define HAVE___BUILTIN_SQRTF 1
72614 _ACEOF
72621 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
72622 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
72623 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
72624 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
72625 echo $ECHO_N "(cached) $ECHO_C" >&6
72626 else
72630 ac_ext=cc
72631 ac_cpp='$CXXCPP $CPPFLAGS'
72632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72636 cat >conftest.$ac_ext <<_ACEOF
72637 /* confdefs.h. */
72638 _ACEOF
72639 cat confdefs.h >>conftest.$ac_ext
72640 cat >>conftest.$ac_ext <<_ACEOF
72641 /* end confdefs.h. */
72642 #include <math.h>
72644 main ()
72646 __builtin_sqrt(0);
72648 return 0;
72650 _ACEOF
72651 rm -f conftest.$ac_objext
72652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72653 (eval $ac_compile) 2>conftest.er1
72654 ac_status=$?
72655 grep -v '^ *+' conftest.er1 >conftest.err
72656 rm -f conftest.er1
72657 cat conftest.err >&5
72658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72659 (exit $ac_status); } &&
72660 { ac_try='test -z "$ac_cxx_werror_flag"
72661 || test ! -s conftest.err'
72662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72663 (eval $ac_try) 2>&5
72664 ac_status=$?
72665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72666 (exit $ac_status); }; } &&
72667 { ac_try='test -s conftest.$ac_objext'
72668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72669 (eval $ac_try) 2>&5
72670 ac_status=$?
72671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72672 (exit $ac_status); }; }; then
72673 glibcxx_cv_func___builtin_sqrt_use=yes
72674 else
72675 echo "$as_me: failed program was:" >&5
72676 sed 's/^/| /' conftest.$ac_ext >&5
72678 glibcxx_cv_func___builtin_sqrt_use=no
72680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72681 ac_ext=c
72682 ac_cpp='$CPP $CPPFLAGS'
72683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72691 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72692 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72693 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72694 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72695 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72696 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72697 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72698 echo $ECHO_N "(cached) $ECHO_C" >&6
72699 else
72701 if test x$gcc_no_link = xyes; then
72702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72704 { (exit 1); exit 1; }; }
72706 cat >conftest.$ac_ext <<_ACEOF
72707 /* confdefs.h. */
72708 _ACEOF
72709 cat confdefs.h >>conftest.$ac_ext
72710 cat >>conftest.$ac_ext <<_ACEOF
72711 /* end confdefs.h. */
72712 #include <math.h>
72714 main ()
72716 __builtin_sqrt(0);
72718 return 0;
72720 _ACEOF
72721 rm -f conftest.$ac_objext conftest$ac_exeext
72722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72723 (eval $ac_link) 2>conftest.er1
72724 ac_status=$?
72725 grep -v '^ *+' conftest.er1 >conftest.err
72726 rm -f conftest.er1
72727 cat conftest.err >&5
72728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72729 (exit $ac_status); } &&
72730 { ac_try='test -z "$ac_c_werror_flag"
72731 || test ! -s conftest.err'
72732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72733 (eval $ac_try) 2>&5
72734 ac_status=$?
72735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72736 (exit $ac_status); }; } &&
72737 { ac_try='test -s conftest$ac_exeext'
72738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72739 (eval $ac_try) 2>&5
72740 ac_status=$?
72741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72742 (exit $ac_status); }; }; then
72743 glibcxx_cv_func___builtin_sqrt_link=yes
72744 else
72745 echo "$as_me: failed program was:" >&5
72746 sed 's/^/| /' conftest.$ac_ext >&5
72748 glibcxx_cv_func___builtin_sqrt_link=no
72750 rm -f conftest.err conftest.$ac_objext \
72751 conftest$ac_exeext conftest.$ac_ext
72756 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72757 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
72759 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
72761 cat >>confdefs.h <<\_ACEOF
72762 #define HAVE___BUILTIN_SQRT 1
72763 _ACEOF
72770 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
72771 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
72772 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
72773 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
72774 echo $ECHO_N "(cached) $ECHO_C" >&6
72775 else
72779 ac_ext=cc
72780 ac_cpp='$CXXCPP $CPPFLAGS'
72781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72785 cat >conftest.$ac_ext <<_ACEOF
72786 /* confdefs.h. */
72787 _ACEOF
72788 cat confdefs.h >>conftest.$ac_ext
72789 cat >>conftest.$ac_ext <<_ACEOF
72790 /* end confdefs.h. */
72791 #include <math.h>
72793 main ()
72795 __builtin_sqrtl(0);
72797 return 0;
72799 _ACEOF
72800 rm -f conftest.$ac_objext
72801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72802 (eval $ac_compile) 2>conftest.er1
72803 ac_status=$?
72804 grep -v '^ *+' conftest.er1 >conftest.err
72805 rm -f conftest.er1
72806 cat conftest.err >&5
72807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72808 (exit $ac_status); } &&
72809 { ac_try='test -z "$ac_cxx_werror_flag"
72810 || test ! -s conftest.err'
72811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72812 (eval $ac_try) 2>&5
72813 ac_status=$?
72814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72815 (exit $ac_status); }; } &&
72816 { ac_try='test -s conftest.$ac_objext'
72817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72818 (eval $ac_try) 2>&5
72819 ac_status=$?
72820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72821 (exit $ac_status); }; }; then
72822 glibcxx_cv_func___builtin_sqrtl_use=yes
72823 else
72824 echo "$as_me: failed program was:" >&5
72825 sed 's/^/| /' conftest.$ac_ext >&5
72827 glibcxx_cv_func___builtin_sqrtl_use=no
72829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72830 ac_ext=c
72831 ac_cpp='$CPP $CPPFLAGS'
72832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72840 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
72841 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
72842 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
72843 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
72844 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
72845 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
72846 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
72847 echo $ECHO_N "(cached) $ECHO_C" >&6
72848 else
72850 if test x$gcc_no_link = xyes; then
72851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72853 { (exit 1); exit 1; }; }
72855 cat >conftest.$ac_ext <<_ACEOF
72856 /* confdefs.h. */
72857 _ACEOF
72858 cat confdefs.h >>conftest.$ac_ext
72859 cat >>conftest.$ac_ext <<_ACEOF
72860 /* end confdefs.h. */
72861 #include <math.h>
72863 main ()
72865 __builtin_sqrtl(0);
72867 return 0;
72869 _ACEOF
72870 rm -f conftest.$ac_objext conftest$ac_exeext
72871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72872 (eval $ac_link) 2>conftest.er1
72873 ac_status=$?
72874 grep -v '^ *+' conftest.er1 >conftest.err
72875 rm -f conftest.er1
72876 cat conftest.err >&5
72877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72878 (exit $ac_status); } &&
72879 { ac_try='test -z "$ac_c_werror_flag"
72880 || test ! -s conftest.err'
72881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72882 (eval $ac_try) 2>&5
72883 ac_status=$?
72884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72885 (exit $ac_status); }; } &&
72886 { ac_try='test -s conftest$ac_exeext'
72887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72888 (eval $ac_try) 2>&5
72889 ac_status=$?
72890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72891 (exit $ac_status); }; }; then
72892 glibcxx_cv_func___builtin_sqrtl_link=yes
72893 else
72894 echo "$as_me: failed program was:" >&5
72895 sed 's/^/| /' conftest.$ac_ext >&5
72897 glibcxx_cv_func___builtin_sqrtl_link=no
72899 rm -f conftest.err conftest.$ac_objext \
72900 conftest$ac_exeext conftest.$ac_ext
72905 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
72906 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
72908 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
72910 cat >>confdefs.h <<\_ACEOF
72911 #define HAVE___BUILTIN_SQRTL 1
72912 _ACEOF
72920 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
72921 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
72922 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
72923 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
72924 echo $ECHO_N "(cached) $ECHO_C" >&6
72925 else
72929 ac_ext=cc
72930 ac_cpp='$CXXCPP $CPPFLAGS'
72931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72935 cat >conftest.$ac_ext <<_ACEOF
72936 /* confdefs.h. */
72937 _ACEOF
72938 cat confdefs.h >>conftest.$ac_ext
72939 cat >>conftest.$ac_ext <<_ACEOF
72940 /* end confdefs.h. */
72941 #include <math.h>
72943 main ()
72945 __builtin_sinf(0);
72947 return 0;
72949 _ACEOF
72950 rm -f conftest.$ac_objext
72951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72952 (eval $ac_compile) 2>conftest.er1
72953 ac_status=$?
72954 grep -v '^ *+' conftest.er1 >conftest.err
72955 rm -f conftest.er1
72956 cat conftest.err >&5
72957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72958 (exit $ac_status); } &&
72959 { ac_try='test -z "$ac_cxx_werror_flag"
72960 || test ! -s conftest.err'
72961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72962 (eval $ac_try) 2>&5
72963 ac_status=$?
72964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72965 (exit $ac_status); }; } &&
72966 { ac_try='test -s conftest.$ac_objext'
72967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72968 (eval $ac_try) 2>&5
72969 ac_status=$?
72970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72971 (exit $ac_status); }; }; then
72972 glibcxx_cv_func___builtin_sinf_use=yes
72973 else
72974 echo "$as_me: failed program was:" >&5
72975 sed 's/^/| /' conftest.$ac_ext >&5
72977 glibcxx_cv_func___builtin_sinf_use=no
72979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72980 ac_ext=c
72981 ac_cpp='$CPP $CPPFLAGS'
72982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72990 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
72991 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
72992 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
72993 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
72994 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
72995 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
72996 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
72997 echo $ECHO_N "(cached) $ECHO_C" >&6
72998 else
73000 if test x$gcc_no_link = xyes; then
73001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73003 { (exit 1); exit 1; }; }
73005 cat >conftest.$ac_ext <<_ACEOF
73006 /* confdefs.h. */
73007 _ACEOF
73008 cat confdefs.h >>conftest.$ac_ext
73009 cat >>conftest.$ac_ext <<_ACEOF
73010 /* end confdefs.h. */
73011 #include <math.h>
73013 main ()
73015 __builtin_sinf(0);
73017 return 0;
73019 _ACEOF
73020 rm -f conftest.$ac_objext conftest$ac_exeext
73021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73022 (eval $ac_link) 2>conftest.er1
73023 ac_status=$?
73024 grep -v '^ *+' conftest.er1 >conftest.err
73025 rm -f conftest.er1
73026 cat conftest.err >&5
73027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73028 (exit $ac_status); } &&
73029 { ac_try='test -z "$ac_c_werror_flag"
73030 || test ! -s conftest.err'
73031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73032 (eval $ac_try) 2>&5
73033 ac_status=$?
73034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73035 (exit $ac_status); }; } &&
73036 { ac_try='test -s conftest$ac_exeext'
73037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73038 (eval $ac_try) 2>&5
73039 ac_status=$?
73040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73041 (exit $ac_status); }; }; then
73042 glibcxx_cv_func___builtin_sinf_link=yes
73043 else
73044 echo "$as_me: failed program was:" >&5
73045 sed 's/^/| /' conftest.$ac_ext >&5
73047 glibcxx_cv_func___builtin_sinf_link=no
73049 rm -f conftest.err conftest.$ac_objext \
73050 conftest$ac_exeext conftest.$ac_ext
73055 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
73056 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
73058 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
73060 cat >>confdefs.h <<\_ACEOF
73061 #define HAVE___BUILTIN_SINF 1
73062 _ACEOF
73069 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
73070 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
73071 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
73072 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
73073 echo $ECHO_N "(cached) $ECHO_C" >&6
73074 else
73078 ac_ext=cc
73079 ac_cpp='$CXXCPP $CPPFLAGS'
73080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73084 cat >conftest.$ac_ext <<_ACEOF
73085 /* confdefs.h. */
73086 _ACEOF
73087 cat confdefs.h >>conftest.$ac_ext
73088 cat >>conftest.$ac_ext <<_ACEOF
73089 /* end confdefs.h. */
73090 #include <math.h>
73092 main ()
73094 __builtin_sin(0);
73096 return 0;
73098 _ACEOF
73099 rm -f conftest.$ac_objext
73100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73101 (eval $ac_compile) 2>conftest.er1
73102 ac_status=$?
73103 grep -v '^ *+' conftest.er1 >conftest.err
73104 rm -f conftest.er1
73105 cat conftest.err >&5
73106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73107 (exit $ac_status); } &&
73108 { ac_try='test -z "$ac_cxx_werror_flag"
73109 || test ! -s conftest.err'
73110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73111 (eval $ac_try) 2>&5
73112 ac_status=$?
73113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73114 (exit $ac_status); }; } &&
73115 { ac_try='test -s conftest.$ac_objext'
73116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73117 (eval $ac_try) 2>&5
73118 ac_status=$?
73119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73120 (exit $ac_status); }; }; then
73121 glibcxx_cv_func___builtin_sin_use=yes
73122 else
73123 echo "$as_me: failed program was:" >&5
73124 sed 's/^/| /' conftest.$ac_ext >&5
73126 glibcxx_cv_func___builtin_sin_use=no
73128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73129 ac_ext=c
73130 ac_cpp='$CPP $CPPFLAGS'
73131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73139 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
73140 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
73141 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
73142 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
73143 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
73144 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
73145 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
73146 echo $ECHO_N "(cached) $ECHO_C" >&6
73147 else
73149 if test x$gcc_no_link = xyes; then
73150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73152 { (exit 1); exit 1; }; }
73154 cat >conftest.$ac_ext <<_ACEOF
73155 /* confdefs.h. */
73156 _ACEOF
73157 cat confdefs.h >>conftest.$ac_ext
73158 cat >>conftest.$ac_ext <<_ACEOF
73159 /* end confdefs.h. */
73160 #include <math.h>
73162 main ()
73164 __builtin_sin(0);
73166 return 0;
73168 _ACEOF
73169 rm -f conftest.$ac_objext conftest$ac_exeext
73170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73171 (eval $ac_link) 2>conftest.er1
73172 ac_status=$?
73173 grep -v '^ *+' conftest.er1 >conftest.err
73174 rm -f conftest.er1
73175 cat conftest.err >&5
73176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73177 (exit $ac_status); } &&
73178 { ac_try='test -z "$ac_c_werror_flag"
73179 || test ! -s conftest.err'
73180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73181 (eval $ac_try) 2>&5
73182 ac_status=$?
73183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73184 (exit $ac_status); }; } &&
73185 { ac_try='test -s conftest$ac_exeext'
73186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73187 (eval $ac_try) 2>&5
73188 ac_status=$?
73189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73190 (exit $ac_status); }; }; then
73191 glibcxx_cv_func___builtin_sin_link=yes
73192 else
73193 echo "$as_me: failed program was:" >&5
73194 sed 's/^/| /' conftest.$ac_ext >&5
73196 glibcxx_cv_func___builtin_sin_link=no
73198 rm -f conftest.err conftest.$ac_objext \
73199 conftest$ac_exeext conftest.$ac_ext
73204 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
73205 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
73207 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
73209 cat >>confdefs.h <<\_ACEOF
73210 #define HAVE___BUILTIN_SIN 1
73211 _ACEOF
73218 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
73219 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
73220 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
73221 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
73222 echo $ECHO_N "(cached) $ECHO_C" >&6
73223 else
73227 ac_ext=cc
73228 ac_cpp='$CXXCPP $CPPFLAGS'
73229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73233 cat >conftest.$ac_ext <<_ACEOF
73234 /* confdefs.h. */
73235 _ACEOF
73236 cat confdefs.h >>conftest.$ac_ext
73237 cat >>conftest.$ac_ext <<_ACEOF
73238 /* end confdefs.h. */
73239 #include <math.h>
73241 main ()
73243 __builtin_sinl(0);
73245 return 0;
73247 _ACEOF
73248 rm -f conftest.$ac_objext
73249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73250 (eval $ac_compile) 2>conftest.er1
73251 ac_status=$?
73252 grep -v '^ *+' conftest.er1 >conftest.err
73253 rm -f conftest.er1
73254 cat conftest.err >&5
73255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73256 (exit $ac_status); } &&
73257 { ac_try='test -z "$ac_cxx_werror_flag"
73258 || test ! -s conftest.err'
73259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73260 (eval $ac_try) 2>&5
73261 ac_status=$?
73262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73263 (exit $ac_status); }; } &&
73264 { ac_try='test -s conftest.$ac_objext'
73265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73266 (eval $ac_try) 2>&5
73267 ac_status=$?
73268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73269 (exit $ac_status); }; }; then
73270 glibcxx_cv_func___builtin_sinl_use=yes
73271 else
73272 echo "$as_me: failed program was:" >&5
73273 sed 's/^/| /' conftest.$ac_ext >&5
73275 glibcxx_cv_func___builtin_sinl_use=no
73277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73278 ac_ext=c
73279 ac_cpp='$CPP $CPPFLAGS'
73280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73288 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73289 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73290 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73291 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73292 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73293 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73294 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73295 echo $ECHO_N "(cached) $ECHO_C" >&6
73296 else
73298 if test x$gcc_no_link = xyes; then
73299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73301 { (exit 1); exit 1; }; }
73303 cat >conftest.$ac_ext <<_ACEOF
73304 /* confdefs.h. */
73305 _ACEOF
73306 cat confdefs.h >>conftest.$ac_ext
73307 cat >>conftest.$ac_ext <<_ACEOF
73308 /* end confdefs.h. */
73309 #include <math.h>
73311 main ()
73313 __builtin_sinl(0);
73315 return 0;
73317 _ACEOF
73318 rm -f conftest.$ac_objext conftest$ac_exeext
73319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73320 (eval $ac_link) 2>conftest.er1
73321 ac_status=$?
73322 grep -v '^ *+' conftest.er1 >conftest.err
73323 rm -f conftest.er1
73324 cat conftest.err >&5
73325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73326 (exit $ac_status); } &&
73327 { ac_try='test -z "$ac_c_werror_flag"
73328 || test ! -s conftest.err'
73329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73330 (eval $ac_try) 2>&5
73331 ac_status=$?
73332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73333 (exit $ac_status); }; } &&
73334 { ac_try='test -s conftest$ac_exeext'
73335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73336 (eval $ac_try) 2>&5
73337 ac_status=$?
73338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73339 (exit $ac_status); }; }; then
73340 glibcxx_cv_func___builtin_sinl_link=yes
73341 else
73342 echo "$as_me: failed program was:" >&5
73343 sed 's/^/| /' conftest.$ac_ext >&5
73345 glibcxx_cv_func___builtin_sinl_link=no
73347 rm -f conftest.err conftest.$ac_objext \
73348 conftest$ac_exeext conftest.$ac_ext
73353 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73354 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73356 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73358 cat >>confdefs.h <<\_ACEOF
73359 #define HAVE___BUILTIN_SINL 1
73360 _ACEOF
73368 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73369 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73370 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73371 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73372 echo $ECHO_N "(cached) $ECHO_C" >&6
73373 else
73377 ac_ext=cc
73378 ac_cpp='$CXXCPP $CPPFLAGS'
73379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73383 cat >conftest.$ac_ext <<_ACEOF
73384 /* confdefs.h. */
73385 _ACEOF
73386 cat confdefs.h >>conftest.$ac_ext
73387 cat >>conftest.$ac_ext <<_ACEOF
73388 /* end confdefs.h. */
73389 #include <math.h>
73391 main ()
73393 __builtin_cosf(0);
73395 return 0;
73397 _ACEOF
73398 rm -f conftest.$ac_objext
73399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73400 (eval $ac_compile) 2>conftest.er1
73401 ac_status=$?
73402 grep -v '^ *+' conftest.er1 >conftest.err
73403 rm -f conftest.er1
73404 cat conftest.err >&5
73405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73406 (exit $ac_status); } &&
73407 { ac_try='test -z "$ac_cxx_werror_flag"
73408 || test ! -s conftest.err'
73409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73410 (eval $ac_try) 2>&5
73411 ac_status=$?
73412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73413 (exit $ac_status); }; } &&
73414 { ac_try='test -s conftest.$ac_objext'
73415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73416 (eval $ac_try) 2>&5
73417 ac_status=$?
73418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73419 (exit $ac_status); }; }; then
73420 glibcxx_cv_func___builtin_cosf_use=yes
73421 else
73422 echo "$as_me: failed program was:" >&5
73423 sed 's/^/| /' conftest.$ac_ext >&5
73425 glibcxx_cv_func___builtin_cosf_use=no
73427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73428 ac_ext=c
73429 ac_cpp='$CPP $CPPFLAGS'
73430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73438 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73439 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73440 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73441 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73442 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73443 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73444 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73445 echo $ECHO_N "(cached) $ECHO_C" >&6
73446 else
73448 if test x$gcc_no_link = xyes; then
73449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73451 { (exit 1); exit 1; }; }
73453 cat >conftest.$ac_ext <<_ACEOF
73454 /* confdefs.h. */
73455 _ACEOF
73456 cat confdefs.h >>conftest.$ac_ext
73457 cat >>conftest.$ac_ext <<_ACEOF
73458 /* end confdefs.h. */
73459 #include <math.h>
73461 main ()
73463 __builtin_cosf(0);
73465 return 0;
73467 _ACEOF
73468 rm -f conftest.$ac_objext conftest$ac_exeext
73469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73470 (eval $ac_link) 2>conftest.er1
73471 ac_status=$?
73472 grep -v '^ *+' conftest.er1 >conftest.err
73473 rm -f conftest.er1
73474 cat conftest.err >&5
73475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73476 (exit $ac_status); } &&
73477 { ac_try='test -z "$ac_c_werror_flag"
73478 || test ! -s conftest.err'
73479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73480 (eval $ac_try) 2>&5
73481 ac_status=$?
73482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73483 (exit $ac_status); }; } &&
73484 { ac_try='test -s conftest$ac_exeext'
73485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73486 (eval $ac_try) 2>&5
73487 ac_status=$?
73488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73489 (exit $ac_status); }; }; then
73490 glibcxx_cv_func___builtin_cosf_link=yes
73491 else
73492 echo "$as_me: failed program was:" >&5
73493 sed 's/^/| /' conftest.$ac_ext >&5
73495 glibcxx_cv_func___builtin_cosf_link=no
73497 rm -f conftest.err conftest.$ac_objext \
73498 conftest$ac_exeext conftest.$ac_ext
73503 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73504 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73506 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73508 cat >>confdefs.h <<\_ACEOF
73509 #define HAVE___BUILTIN_COSF 1
73510 _ACEOF
73517 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73518 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73519 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73520 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73521 echo $ECHO_N "(cached) $ECHO_C" >&6
73522 else
73526 ac_ext=cc
73527 ac_cpp='$CXXCPP $CPPFLAGS'
73528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73532 cat >conftest.$ac_ext <<_ACEOF
73533 /* confdefs.h. */
73534 _ACEOF
73535 cat confdefs.h >>conftest.$ac_ext
73536 cat >>conftest.$ac_ext <<_ACEOF
73537 /* end confdefs.h. */
73538 #include <math.h>
73540 main ()
73542 __builtin_cos(0);
73544 return 0;
73546 _ACEOF
73547 rm -f conftest.$ac_objext
73548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73549 (eval $ac_compile) 2>conftest.er1
73550 ac_status=$?
73551 grep -v '^ *+' conftest.er1 >conftest.err
73552 rm -f conftest.er1
73553 cat conftest.err >&5
73554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73555 (exit $ac_status); } &&
73556 { ac_try='test -z "$ac_cxx_werror_flag"
73557 || test ! -s conftest.err'
73558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73559 (eval $ac_try) 2>&5
73560 ac_status=$?
73561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73562 (exit $ac_status); }; } &&
73563 { ac_try='test -s conftest.$ac_objext'
73564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73565 (eval $ac_try) 2>&5
73566 ac_status=$?
73567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73568 (exit $ac_status); }; }; then
73569 glibcxx_cv_func___builtin_cos_use=yes
73570 else
73571 echo "$as_me: failed program was:" >&5
73572 sed 's/^/| /' conftest.$ac_ext >&5
73574 glibcxx_cv_func___builtin_cos_use=no
73576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73577 ac_ext=c
73578 ac_cpp='$CPP $CPPFLAGS'
73579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73587 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
73588 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
73589 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
73590 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
73591 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
73592 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
73593 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
73594 echo $ECHO_N "(cached) $ECHO_C" >&6
73595 else
73597 if test x$gcc_no_link = xyes; then
73598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73600 { (exit 1); exit 1; }; }
73602 cat >conftest.$ac_ext <<_ACEOF
73603 /* confdefs.h. */
73604 _ACEOF
73605 cat confdefs.h >>conftest.$ac_ext
73606 cat >>conftest.$ac_ext <<_ACEOF
73607 /* end confdefs.h. */
73608 #include <math.h>
73610 main ()
73612 __builtin_cos(0);
73614 return 0;
73616 _ACEOF
73617 rm -f conftest.$ac_objext conftest$ac_exeext
73618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73619 (eval $ac_link) 2>conftest.er1
73620 ac_status=$?
73621 grep -v '^ *+' conftest.er1 >conftest.err
73622 rm -f conftest.er1
73623 cat conftest.err >&5
73624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73625 (exit $ac_status); } &&
73626 { ac_try='test -z "$ac_c_werror_flag"
73627 || test ! -s conftest.err'
73628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73629 (eval $ac_try) 2>&5
73630 ac_status=$?
73631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73632 (exit $ac_status); }; } &&
73633 { ac_try='test -s conftest$ac_exeext'
73634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73635 (eval $ac_try) 2>&5
73636 ac_status=$?
73637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73638 (exit $ac_status); }; }; then
73639 glibcxx_cv_func___builtin_cos_link=yes
73640 else
73641 echo "$as_me: failed program was:" >&5
73642 sed 's/^/| /' conftest.$ac_ext >&5
73644 glibcxx_cv_func___builtin_cos_link=no
73646 rm -f conftest.err conftest.$ac_objext \
73647 conftest$ac_exeext conftest.$ac_ext
73652 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
73653 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
73655 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
73657 cat >>confdefs.h <<\_ACEOF
73658 #define HAVE___BUILTIN_COS 1
73659 _ACEOF
73666 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
73667 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
73668 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
73669 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
73670 echo $ECHO_N "(cached) $ECHO_C" >&6
73671 else
73675 ac_ext=cc
73676 ac_cpp='$CXXCPP $CPPFLAGS'
73677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73681 cat >conftest.$ac_ext <<_ACEOF
73682 /* confdefs.h. */
73683 _ACEOF
73684 cat confdefs.h >>conftest.$ac_ext
73685 cat >>conftest.$ac_ext <<_ACEOF
73686 /* end confdefs.h. */
73687 #include <math.h>
73689 main ()
73691 __builtin_cosl(0);
73693 return 0;
73695 _ACEOF
73696 rm -f conftest.$ac_objext
73697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73698 (eval $ac_compile) 2>conftest.er1
73699 ac_status=$?
73700 grep -v '^ *+' conftest.er1 >conftest.err
73701 rm -f conftest.er1
73702 cat conftest.err >&5
73703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73704 (exit $ac_status); } &&
73705 { ac_try='test -z "$ac_cxx_werror_flag"
73706 || test ! -s conftest.err'
73707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73708 (eval $ac_try) 2>&5
73709 ac_status=$?
73710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73711 (exit $ac_status); }; } &&
73712 { ac_try='test -s conftest.$ac_objext'
73713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73714 (eval $ac_try) 2>&5
73715 ac_status=$?
73716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73717 (exit $ac_status); }; }; then
73718 glibcxx_cv_func___builtin_cosl_use=yes
73719 else
73720 echo "$as_me: failed program was:" >&5
73721 sed 's/^/| /' conftest.$ac_ext >&5
73723 glibcxx_cv_func___builtin_cosl_use=no
73725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73726 ac_ext=c
73727 ac_cpp='$CPP $CPPFLAGS'
73728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73736 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73737 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73738 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73739 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73740 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73741 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73742 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73743 echo $ECHO_N "(cached) $ECHO_C" >&6
73744 else
73746 if test x$gcc_no_link = xyes; then
73747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73749 { (exit 1); exit 1; }; }
73751 cat >conftest.$ac_ext <<_ACEOF
73752 /* confdefs.h. */
73753 _ACEOF
73754 cat confdefs.h >>conftest.$ac_ext
73755 cat >>conftest.$ac_ext <<_ACEOF
73756 /* end confdefs.h. */
73757 #include <math.h>
73759 main ()
73761 __builtin_cosl(0);
73763 return 0;
73765 _ACEOF
73766 rm -f conftest.$ac_objext conftest$ac_exeext
73767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73768 (eval $ac_link) 2>conftest.er1
73769 ac_status=$?
73770 grep -v '^ *+' conftest.er1 >conftest.err
73771 rm -f conftest.er1
73772 cat conftest.err >&5
73773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73774 (exit $ac_status); } &&
73775 { ac_try='test -z "$ac_c_werror_flag"
73776 || test ! -s conftest.err'
73777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73778 (eval $ac_try) 2>&5
73779 ac_status=$?
73780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73781 (exit $ac_status); }; } &&
73782 { ac_try='test -s conftest$ac_exeext'
73783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73784 (eval $ac_try) 2>&5
73785 ac_status=$?
73786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73787 (exit $ac_status); }; }; then
73788 glibcxx_cv_func___builtin_cosl_link=yes
73789 else
73790 echo "$as_me: failed program was:" >&5
73791 sed 's/^/| /' conftest.$ac_ext >&5
73793 glibcxx_cv_func___builtin_cosl_link=no
73795 rm -f conftest.err conftest.$ac_objext \
73796 conftest$ac_exeext conftest.$ac_ext
73801 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
73802 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
73804 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
73806 cat >>confdefs.h <<\_ACEOF
73807 #define HAVE___BUILTIN_COSL 1
73808 _ACEOF
73817 echo "$as_me:$LINENO: checking for main in -lm" >&5
73818 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
73819 if test "${ac_cv_lib_m_main+set}" = set; then
73820 echo $ECHO_N "(cached) $ECHO_C" >&6
73821 else
73822 ac_check_lib_save_LIBS=$LIBS
73823 LIBS="-lm $LIBS"
73824 if test x$gcc_no_link = xyes; then
73825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73827 { (exit 1); exit 1; }; }
73829 cat >conftest.$ac_ext <<_ACEOF
73830 /* confdefs.h. */
73831 _ACEOF
73832 cat confdefs.h >>conftest.$ac_ext
73833 cat >>conftest.$ac_ext <<_ACEOF
73834 /* end confdefs.h. */
73838 main ()
73840 main ();
73842 return 0;
73844 _ACEOF
73845 rm -f conftest.$ac_objext conftest$ac_exeext
73846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73847 (eval $ac_link) 2>conftest.er1
73848 ac_status=$?
73849 grep -v '^ *+' conftest.er1 >conftest.err
73850 rm -f conftest.er1
73851 cat conftest.err >&5
73852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73853 (exit $ac_status); } &&
73854 { ac_try='test -z "$ac_c_werror_flag"
73855 || test ! -s conftest.err'
73856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73857 (eval $ac_try) 2>&5
73858 ac_status=$?
73859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73860 (exit $ac_status); }; } &&
73861 { ac_try='test -s conftest$ac_exeext'
73862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73863 (eval $ac_try) 2>&5
73864 ac_status=$?
73865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73866 (exit $ac_status); }; }; then
73867 ac_cv_lib_m_main=yes
73868 else
73869 echo "$as_me: failed program was:" >&5
73870 sed 's/^/| /' conftest.$ac_ext >&5
73872 ac_cv_lib_m_main=no
73874 rm -f conftest.err conftest.$ac_objext \
73875 conftest$ac_exeext conftest.$ac_ext
73876 LIBS=$ac_check_lib_save_LIBS
73878 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
73879 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
73880 if test $ac_cv_lib_m_main = yes; then
73881 cat >>confdefs.h <<_ACEOF
73882 #define HAVE_LIBM 1
73883 _ACEOF
73885 LIBS="-lm $LIBS"
73890 for ac_func in copysignf
73892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73893 echo "$as_me:$LINENO: checking for $ac_func" >&5
73894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73895 if eval "test \"\${$as_ac_var+set}\" = set"; then
73896 echo $ECHO_N "(cached) $ECHO_C" >&6
73897 else
73898 if test x$gcc_no_link = xyes; then
73899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73901 { (exit 1); exit 1; }; }
73903 cat >conftest.$ac_ext <<_ACEOF
73904 /* confdefs.h. */
73905 _ACEOF
73906 cat confdefs.h >>conftest.$ac_ext
73907 cat >>conftest.$ac_ext <<_ACEOF
73908 /* end confdefs.h. */
73909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73911 #define $ac_func innocuous_$ac_func
73913 /* System header to define __stub macros and hopefully few prototypes,
73914 which can conflict with char $ac_func (); below.
73915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73916 <limits.h> exists even on freestanding compilers. */
73918 #ifdef __STDC__
73919 # include <limits.h>
73920 #else
73921 # include <assert.h>
73922 #endif
73924 #undef $ac_func
73926 /* Override any gcc2 internal prototype to avoid an error. */
73927 #ifdef __cplusplus
73928 extern "C"
73930 #endif
73931 /* We use char because int might match the return type of a gcc2
73932 builtin and then its argument prototype would still apply. */
73933 char $ac_func ();
73934 /* The GNU C library defines this for functions which it implements
73935 to always fail with ENOSYS. Some functions are actually named
73936 something starting with __ and the normal name is an alias. */
73937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73938 choke me
73939 #else
73940 char (*f) () = $ac_func;
73941 #endif
73942 #ifdef __cplusplus
73944 #endif
73947 main ()
73949 return f != $ac_func;
73951 return 0;
73953 _ACEOF
73954 rm -f conftest.$ac_objext conftest$ac_exeext
73955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73956 (eval $ac_link) 2>conftest.er1
73957 ac_status=$?
73958 grep -v '^ *+' conftest.er1 >conftest.err
73959 rm -f conftest.er1
73960 cat conftest.err >&5
73961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73962 (exit $ac_status); } &&
73963 { ac_try='test -z "$ac_c_werror_flag"
73964 || test ! -s conftest.err'
73965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73966 (eval $ac_try) 2>&5
73967 ac_status=$?
73968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73969 (exit $ac_status); }; } &&
73970 { ac_try='test -s conftest$ac_exeext'
73971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73972 (eval $ac_try) 2>&5
73973 ac_status=$?
73974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73975 (exit $ac_status); }; }; then
73976 eval "$as_ac_var=yes"
73977 else
73978 echo "$as_me: failed program was:" >&5
73979 sed 's/^/| /' conftest.$ac_ext >&5
73981 eval "$as_ac_var=no"
73983 rm -f conftest.err conftest.$ac_objext \
73984 conftest$ac_exeext conftest.$ac_ext
73986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73988 if test `eval echo '${'$as_ac_var'}'` = yes; then
73989 cat >>confdefs.h <<_ACEOF
73990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73991 _ACEOF
73993 else
73994 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
73996 done
74000 for ac_func in __signbit
74002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74003 echo "$as_me:$LINENO: checking for $ac_func" >&5
74004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74005 if eval "test \"\${$as_ac_var+set}\" = set"; then
74006 echo $ECHO_N "(cached) $ECHO_C" >&6
74007 else
74008 if test x$gcc_no_link = xyes; then
74009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74011 { (exit 1); exit 1; }; }
74013 cat >conftest.$ac_ext <<_ACEOF
74014 /* confdefs.h. */
74015 _ACEOF
74016 cat confdefs.h >>conftest.$ac_ext
74017 cat >>conftest.$ac_ext <<_ACEOF
74018 /* end confdefs.h. */
74019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74021 #define $ac_func innocuous_$ac_func
74023 /* System header to define __stub macros and hopefully few prototypes,
74024 which can conflict with char $ac_func (); below.
74025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74026 <limits.h> exists even on freestanding compilers. */
74028 #ifdef __STDC__
74029 # include <limits.h>
74030 #else
74031 # include <assert.h>
74032 #endif
74034 #undef $ac_func
74036 /* Override any gcc2 internal prototype to avoid an error. */
74037 #ifdef __cplusplus
74038 extern "C"
74040 #endif
74041 /* We use char because int might match the return type of a gcc2
74042 builtin and then its argument prototype would still apply. */
74043 char $ac_func ();
74044 /* The GNU C library defines this for functions which it implements
74045 to always fail with ENOSYS. Some functions are actually named
74046 something starting with __ and the normal name is an alias. */
74047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74048 choke me
74049 #else
74050 char (*f) () = $ac_func;
74051 #endif
74052 #ifdef __cplusplus
74054 #endif
74057 main ()
74059 return f != $ac_func;
74061 return 0;
74063 _ACEOF
74064 rm -f conftest.$ac_objext conftest$ac_exeext
74065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74066 (eval $ac_link) 2>conftest.er1
74067 ac_status=$?
74068 grep -v '^ *+' conftest.er1 >conftest.err
74069 rm -f conftest.er1
74070 cat conftest.err >&5
74071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74072 (exit $ac_status); } &&
74073 { ac_try='test -z "$ac_c_werror_flag"
74074 || test ! -s conftest.err'
74075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74076 (eval $ac_try) 2>&5
74077 ac_status=$?
74078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74079 (exit $ac_status); }; } &&
74080 { ac_try='test -s conftest$ac_exeext'
74081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74082 (eval $ac_try) 2>&5
74083 ac_status=$?
74084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74085 (exit $ac_status); }; }; then
74086 eval "$as_ac_var=yes"
74087 else
74088 echo "$as_me: failed program was:" >&5
74089 sed 's/^/| /' conftest.$ac_ext >&5
74091 eval "$as_ac_var=no"
74093 rm -f conftest.err conftest.$ac_objext \
74094 conftest$ac_exeext conftest.$ac_ext
74096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74098 if test `eval echo '${'$as_ac_var'}'` = yes; then
74099 cat >>confdefs.h <<_ACEOF
74100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74101 _ACEOF
74103 else
74104 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74106 done
74110 for ac_func in __signbitf
74112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74113 echo "$as_me:$LINENO: checking for $ac_func" >&5
74114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74115 if eval "test \"\${$as_ac_var+set}\" = set"; then
74116 echo $ECHO_N "(cached) $ECHO_C" >&6
74117 else
74118 if test x$gcc_no_link = xyes; then
74119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74121 { (exit 1); exit 1; }; }
74123 cat >conftest.$ac_ext <<_ACEOF
74124 /* confdefs.h. */
74125 _ACEOF
74126 cat confdefs.h >>conftest.$ac_ext
74127 cat >>conftest.$ac_ext <<_ACEOF
74128 /* end confdefs.h. */
74129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74131 #define $ac_func innocuous_$ac_func
74133 /* System header to define __stub macros and hopefully few prototypes,
74134 which can conflict with char $ac_func (); below.
74135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74136 <limits.h> exists even on freestanding compilers. */
74138 #ifdef __STDC__
74139 # include <limits.h>
74140 #else
74141 # include <assert.h>
74142 #endif
74144 #undef $ac_func
74146 /* Override any gcc2 internal prototype to avoid an error. */
74147 #ifdef __cplusplus
74148 extern "C"
74150 #endif
74151 /* We use char because int might match the return type of a gcc2
74152 builtin and then its argument prototype would still apply. */
74153 char $ac_func ();
74154 /* The GNU C library defines this for functions which it implements
74155 to always fail with ENOSYS. Some functions are actually named
74156 something starting with __ and the normal name is an alias. */
74157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74158 choke me
74159 #else
74160 char (*f) () = $ac_func;
74161 #endif
74162 #ifdef __cplusplus
74164 #endif
74167 main ()
74169 return f != $ac_func;
74171 return 0;
74173 _ACEOF
74174 rm -f conftest.$ac_objext conftest$ac_exeext
74175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74176 (eval $ac_link) 2>conftest.er1
74177 ac_status=$?
74178 grep -v '^ *+' conftest.er1 >conftest.err
74179 rm -f conftest.er1
74180 cat conftest.err >&5
74181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74182 (exit $ac_status); } &&
74183 { ac_try='test -z "$ac_c_werror_flag"
74184 || test ! -s conftest.err'
74185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74186 (eval $ac_try) 2>&5
74187 ac_status=$?
74188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74189 (exit $ac_status); }; } &&
74190 { ac_try='test -s conftest$ac_exeext'
74191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74192 (eval $ac_try) 2>&5
74193 ac_status=$?
74194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74195 (exit $ac_status); }; }; then
74196 eval "$as_ac_var=yes"
74197 else
74198 echo "$as_me: failed program was:" >&5
74199 sed 's/^/| /' conftest.$ac_ext >&5
74201 eval "$as_ac_var=no"
74203 rm -f conftest.err conftest.$ac_objext \
74204 conftest$ac_exeext conftest.$ac_ext
74206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74208 if test `eval echo '${'$as_ac_var'}'` = yes; then
74209 cat >>confdefs.h <<_ACEOF
74210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74211 _ACEOF
74213 else
74214 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74216 done
74219 if test x$ac_cv_func_copysignl = x"yes"; then
74221 for ac_func in __signbitl
74223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74224 echo "$as_me:$LINENO: checking for $ac_func" >&5
74225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74226 if eval "test \"\${$as_ac_var+set}\" = set"; then
74227 echo $ECHO_N "(cached) $ECHO_C" >&6
74228 else
74229 if test x$gcc_no_link = xyes; then
74230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74232 { (exit 1); exit 1; }; }
74234 cat >conftest.$ac_ext <<_ACEOF
74235 /* confdefs.h. */
74236 _ACEOF
74237 cat confdefs.h >>conftest.$ac_ext
74238 cat >>conftest.$ac_ext <<_ACEOF
74239 /* end confdefs.h. */
74240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74242 #define $ac_func innocuous_$ac_func
74244 /* System header to define __stub macros and hopefully few prototypes,
74245 which can conflict with char $ac_func (); below.
74246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74247 <limits.h> exists even on freestanding compilers. */
74249 #ifdef __STDC__
74250 # include <limits.h>
74251 #else
74252 # include <assert.h>
74253 #endif
74255 #undef $ac_func
74257 /* Override any gcc2 internal prototype to avoid an error. */
74258 #ifdef __cplusplus
74259 extern "C"
74261 #endif
74262 /* We use char because int might match the return type of a gcc2
74263 builtin and then its argument prototype would still apply. */
74264 char $ac_func ();
74265 /* The GNU C library defines this for functions which it implements
74266 to always fail with ENOSYS. Some functions are actually named
74267 something starting with __ and the normal name is an alias. */
74268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74269 choke me
74270 #else
74271 char (*f) () = $ac_func;
74272 #endif
74273 #ifdef __cplusplus
74275 #endif
74278 main ()
74280 return f != $ac_func;
74282 return 0;
74284 _ACEOF
74285 rm -f conftest.$ac_objext conftest$ac_exeext
74286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74287 (eval $ac_link) 2>conftest.er1
74288 ac_status=$?
74289 grep -v '^ *+' conftest.er1 >conftest.err
74290 rm -f conftest.er1
74291 cat conftest.err >&5
74292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74293 (exit $ac_status); } &&
74294 { ac_try='test -z "$ac_c_werror_flag"
74295 || test ! -s conftest.err'
74296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74297 (eval $ac_try) 2>&5
74298 ac_status=$?
74299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74300 (exit $ac_status); }; } &&
74301 { ac_try='test -s conftest$ac_exeext'
74302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74303 (eval $ac_try) 2>&5
74304 ac_status=$?
74305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74306 (exit $ac_status); }; }; then
74307 eval "$as_ac_var=yes"
74308 else
74309 echo "$as_me: failed program was:" >&5
74310 sed 's/^/| /' conftest.$ac_ext >&5
74312 eval "$as_ac_var=no"
74314 rm -f conftest.err conftest.$ac_objext \
74315 conftest$ac_exeext conftest.$ac_ext
74317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74319 if test `eval echo '${'$as_ac_var'}'` = yes; then
74320 cat >>confdefs.h <<_ACEOF
74321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74322 _ACEOF
74324 else
74325 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74327 done
74331 # Used in libmath/Makefile.am.
74332 if test -n "$LIBMATHOBJS"; then
74333 need_libmath=yes
74339 enable_iconv=no
74340 # Only continue checking if the ISO C99 headers exist and support is on.
74341 if test x"$enable_wchar_t" = xyes; then
74343 # Use iconv for wchar_t to char conversions. As such, check for
74344 # X/Open Portability Guide, version 2 features (XPG2).
74345 if test "${ac_cv_header_iconv_h+set}" = set; then
74346 echo "$as_me:$LINENO: checking for iconv.h" >&5
74347 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74348 if test "${ac_cv_header_iconv_h+set}" = set; then
74349 echo $ECHO_N "(cached) $ECHO_C" >&6
74351 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74352 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74353 else
74354 # Is the header compilable?
74355 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74356 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74357 cat >conftest.$ac_ext <<_ACEOF
74358 /* confdefs.h. */
74359 _ACEOF
74360 cat confdefs.h >>conftest.$ac_ext
74361 cat >>conftest.$ac_ext <<_ACEOF
74362 /* end confdefs.h. */
74363 $ac_includes_default
74364 #include <iconv.h>
74365 _ACEOF
74366 rm -f conftest.$ac_objext
74367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74368 (eval $ac_compile) 2>conftest.er1
74369 ac_status=$?
74370 grep -v '^ *+' conftest.er1 >conftest.err
74371 rm -f conftest.er1
74372 cat conftest.err >&5
74373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74374 (exit $ac_status); } &&
74375 { ac_try='test -z "$ac_c_werror_flag"
74376 || test ! -s conftest.err'
74377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74378 (eval $ac_try) 2>&5
74379 ac_status=$?
74380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74381 (exit $ac_status); }; } &&
74382 { ac_try='test -s conftest.$ac_objext'
74383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74384 (eval $ac_try) 2>&5
74385 ac_status=$?
74386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74387 (exit $ac_status); }; }; then
74388 ac_header_compiler=yes
74389 else
74390 echo "$as_me: failed program was:" >&5
74391 sed 's/^/| /' conftest.$ac_ext >&5
74393 ac_header_compiler=no
74395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74397 echo "${ECHO_T}$ac_header_compiler" >&6
74399 # Is the header present?
74400 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74401 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74402 cat >conftest.$ac_ext <<_ACEOF
74403 /* confdefs.h. */
74404 _ACEOF
74405 cat confdefs.h >>conftest.$ac_ext
74406 cat >>conftest.$ac_ext <<_ACEOF
74407 /* end confdefs.h. */
74408 #include <iconv.h>
74409 _ACEOF
74410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74412 ac_status=$?
74413 grep -v '^ *+' conftest.er1 >conftest.err
74414 rm -f conftest.er1
74415 cat conftest.err >&5
74416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74417 (exit $ac_status); } >/dev/null; then
74418 if test -s conftest.err; then
74419 ac_cpp_err=$ac_c_preproc_warn_flag
74420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74421 else
74422 ac_cpp_err=
74424 else
74425 ac_cpp_err=yes
74427 if test -z "$ac_cpp_err"; then
74428 ac_header_preproc=yes
74429 else
74430 echo "$as_me: failed program was:" >&5
74431 sed 's/^/| /' conftest.$ac_ext >&5
74433 ac_header_preproc=no
74435 rm -f conftest.err conftest.$ac_ext
74436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74437 echo "${ECHO_T}$ac_header_preproc" >&6
74439 # So? What about this header?
74440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74441 yes:no: )
74442 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74443 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74444 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74445 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74446 ac_header_preproc=yes
74448 no:yes:* )
74449 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74450 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74451 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74452 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74453 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74454 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74455 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74456 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74457 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74458 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74459 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74460 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74462 cat <<\_ASBOX
74463 ## ----------------------------------------- ##
74464 ## Report this to the package-unused lists. ##
74465 ## ----------------------------------------- ##
74466 _ASBOX
74468 sed "s/^/$as_me: WARNING: /" >&2
74470 esac
74471 echo "$as_me:$LINENO: checking for iconv.h" >&5
74472 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74473 if test "${ac_cv_header_iconv_h+set}" = set; then
74474 echo $ECHO_N "(cached) $ECHO_C" >&6
74475 else
74476 ac_cv_header_iconv_h=$ac_header_preproc
74478 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74479 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74482 if test $ac_cv_header_iconv_h = yes; then
74483 ac_has_iconv_h=yes
74484 else
74485 ac_has_iconv_h=no
74489 if test "${ac_cv_header_langinfo_h+set}" = set; then
74490 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74491 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74492 if test "${ac_cv_header_langinfo_h+set}" = set; then
74493 echo $ECHO_N "(cached) $ECHO_C" >&6
74495 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74496 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74497 else
74498 # Is the header compilable?
74499 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74500 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74501 cat >conftest.$ac_ext <<_ACEOF
74502 /* confdefs.h. */
74503 _ACEOF
74504 cat confdefs.h >>conftest.$ac_ext
74505 cat >>conftest.$ac_ext <<_ACEOF
74506 /* end confdefs.h. */
74507 $ac_includes_default
74508 #include <langinfo.h>
74509 _ACEOF
74510 rm -f conftest.$ac_objext
74511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74512 (eval $ac_compile) 2>conftest.er1
74513 ac_status=$?
74514 grep -v '^ *+' conftest.er1 >conftest.err
74515 rm -f conftest.er1
74516 cat conftest.err >&5
74517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74518 (exit $ac_status); } &&
74519 { ac_try='test -z "$ac_c_werror_flag"
74520 || test ! -s conftest.err'
74521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74522 (eval $ac_try) 2>&5
74523 ac_status=$?
74524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74525 (exit $ac_status); }; } &&
74526 { ac_try='test -s conftest.$ac_objext'
74527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74528 (eval $ac_try) 2>&5
74529 ac_status=$?
74530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74531 (exit $ac_status); }; }; then
74532 ac_header_compiler=yes
74533 else
74534 echo "$as_me: failed program was:" >&5
74535 sed 's/^/| /' conftest.$ac_ext >&5
74537 ac_header_compiler=no
74539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74541 echo "${ECHO_T}$ac_header_compiler" >&6
74543 # Is the header present?
74544 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74545 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74546 cat >conftest.$ac_ext <<_ACEOF
74547 /* confdefs.h. */
74548 _ACEOF
74549 cat confdefs.h >>conftest.$ac_ext
74550 cat >>conftest.$ac_ext <<_ACEOF
74551 /* end confdefs.h. */
74552 #include <langinfo.h>
74553 _ACEOF
74554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74556 ac_status=$?
74557 grep -v '^ *+' conftest.er1 >conftest.err
74558 rm -f conftest.er1
74559 cat conftest.err >&5
74560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74561 (exit $ac_status); } >/dev/null; then
74562 if test -s conftest.err; then
74563 ac_cpp_err=$ac_c_preproc_warn_flag
74564 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74565 else
74566 ac_cpp_err=
74568 else
74569 ac_cpp_err=yes
74571 if test -z "$ac_cpp_err"; then
74572 ac_header_preproc=yes
74573 else
74574 echo "$as_me: failed program was:" >&5
74575 sed 's/^/| /' conftest.$ac_ext >&5
74577 ac_header_preproc=no
74579 rm -f conftest.err conftest.$ac_ext
74580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74581 echo "${ECHO_T}$ac_header_preproc" >&6
74583 # So? What about this header?
74584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74585 yes:no: )
74586 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74587 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74588 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74589 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74590 ac_header_preproc=yes
74592 no:yes:* )
74593 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74594 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74595 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74596 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74597 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74598 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74599 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74600 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74601 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74602 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74603 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74604 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74606 cat <<\_ASBOX
74607 ## ----------------------------------------- ##
74608 ## Report this to the package-unused lists. ##
74609 ## ----------------------------------------- ##
74610 _ASBOX
74612 sed "s/^/$as_me: WARNING: /" >&2
74614 esac
74615 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74616 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74617 if test "${ac_cv_header_langinfo_h+set}" = set; then
74618 echo $ECHO_N "(cached) $ECHO_C" >&6
74619 else
74620 ac_cv_header_langinfo_h=$ac_header_preproc
74622 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74623 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74626 if test $ac_cv_header_langinfo_h = yes; then
74627 ac_has_langinfo_h=yes
74628 else
74629 ac_has_langinfo_h=no
74634 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74635 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74636 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74637 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74638 echo $ECHO_N "(cached) $ECHO_C" >&6
74639 else
74640 ac_check_lib_save_LIBS=$LIBS
74641 LIBS="-liconv $LIBS"
74642 if test x$gcc_no_link = xyes; then
74643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74645 { (exit 1); exit 1; }; }
74647 cat >conftest.$ac_ext <<_ACEOF
74648 /* confdefs.h. */
74649 _ACEOF
74650 cat confdefs.h >>conftest.$ac_ext
74651 cat >>conftest.$ac_ext <<_ACEOF
74652 /* end confdefs.h. */
74654 /* Override any gcc2 internal prototype to avoid an error. */
74655 #ifdef __cplusplus
74656 extern "C"
74657 #endif
74658 /* We use char because int might match the return type of a gcc2
74659 builtin and then its argument prototype would still apply. */
74660 char iconv ();
74662 main ()
74664 iconv ();
74666 return 0;
74668 _ACEOF
74669 rm -f conftest.$ac_objext conftest$ac_exeext
74670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74671 (eval $ac_link) 2>conftest.er1
74672 ac_status=$?
74673 grep -v '^ *+' conftest.er1 >conftest.err
74674 rm -f conftest.er1
74675 cat conftest.err >&5
74676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74677 (exit $ac_status); } &&
74678 { ac_try='test -z "$ac_c_werror_flag"
74679 || test ! -s conftest.err'
74680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74681 (eval $ac_try) 2>&5
74682 ac_status=$?
74683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74684 (exit $ac_status); }; } &&
74685 { ac_try='test -s conftest$ac_exeext'
74686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74687 (eval $ac_try) 2>&5
74688 ac_status=$?
74689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74690 (exit $ac_status); }; }; then
74691 ac_cv_lib_iconv_iconv=yes
74692 else
74693 echo "$as_me: failed program was:" >&5
74694 sed 's/^/| /' conftest.$ac_ext >&5
74696 ac_cv_lib_iconv_iconv=no
74698 rm -f conftest.err conftest.$ac_objext \
74699 conftest$ac_exeext conftest.$ac_ext
74700 LIBS=$ac_check_lib_save_LIBS
74702 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74703 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74704 if test $ac_cv_lib_iconv_iconv = yes; then
74705 LIBICONV="-liconv"
74708 ac_save_LIBS="$LIBS"
74709 LIBS="$LIBS $LIBICONV"
74716 for ac_func in iconv_open iconv_close iconv nl_langinfo
74718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74719 echo "$as_me:$LINENO: checking for $ac_func" >&5
74720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74721 if eval "test \"\${$as_ac_var+set}\" = set"; then
74722 echo $ECHO_N "(cached) $ECHO_C" >&6
74723 else
74724 if test x$gcc_no_link = xyes; then
74725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74727 { (exit 1); exit 1; }; }
74729 cat >conftest.$ac_ext <<_ACEOF
74730 /* confdefs.h. */
74731 _ACEOF
74732 cat confdefs.h >>conftest.$ac_ext
74733 cat >>conftest.$ac_ext <<_ACEOF
74734 /* end confdefs.h. */
74735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74737 #define $ac_func innocuous_$ac_func
74739 /* System header to define __stub macros and hopefully few prototypes,
74740 which can conflict with char $ac_func (); below.
74741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74742 <limits.h> exists even on freestanding compilers. */
74744 #ifdef __STDC__
74745 # include <limits.h>
74746 #else
74747 # include <assert.h>
74748 #endif
74750 #undef $ac_func
74752 /* Override any gcc2 internal prototype to avoid an error. */
74753 #ifdef __cplusplus
74754 extern "C"
74756 #endif
74757 /* We use char because int might match the return type of a gcc2
74758 builtin and then its argument prototype would still apply. */
74759 char $ac_func ();
74760 /* The GNU C library defines this for functions which it implements
74761 to always fail with ENOSYS. Some functions are actually named
74762 something starting with __ and the normal name is an alias. */
74763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74764 choke me
74765 #else
74766 char (*f) () = $ac_func;
74767 #endif
74768 #ifdef __cplusplus
74770 #endif
74773 main ()
74775 return f != $ac_func;
74777 return 0;
74779 _ACEOF
74780 rm -f conftest.$ac_objext conftest$ac_exeext
74781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74782 (eval $ac_link) 2>conftest.er1
74783 ac_status=$?
74784 grep -v '^ *+' conftest.er1 >conftest.err
74785 rm -f conftest.er1
74786 cat conftest.err >&5
74787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74788 (exit $ac_status); } &&
74789 { ac_try='test -z "$ac_c_werror_flag"
74790 || test ! -s conftest.err'
74791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74792 (eval $ac_try) 2>&5
74793 ac_status=$?
74794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74795 (exit $ac_status); }; } &&
74796 { ac_try='test -s conftest$ac_exeext'
74797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74798 (eval $ac_try) 2>&5
74799 ac_status=$?
74800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74801 (exit $ac_status); }; }; then
74802 eval "$as_ac_var=yes"
74803 else
74804 echo "$as_me: failed program was:" >&5
74805 sed 's/^/| /' conftest.$ac_ext >&5
74807 eval "$as_ac_var=no"
74809 rm -f conftest.err conftest.$ac_objext \
74810 conftest$ac_exeext conftest.$ac_ext
74812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74814 if test `eval echo '${'$as_ac_var'}'` = yes; then
74815 cat >>confdefs.h <<_ACEOF
74816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74817 _ACEOF
74818 ac_XPG2funcs=yes
74819 else
74820 ac_XPG2funcs=no
74822 done
74825 LIBS="$ac_save_LIBS"
74827 if test x"$ac_has_iconv_h" = xyes &&
74828 test x"$ac_has_langinfo_h" = xyes &&
74829 test x"$ac_XPG2funcs" = xyes;
74830 then
74832 cat >>confdefs.h <<\_ACEOF
74833 #define _GLIBCXX_USE_ICONV 1
74834 _ACEOF
74836 enable_iconv=yes
74839 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
74840 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
74841 echo "$as_me:$LINENO: result: $enable_iconv" >&5
74842 echo "${ECHO_T}$enable_iconv" >&6
74845 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74846 ac_save_CXXFLAGS="$CXXFLAGS"
74847 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74850 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74851 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74852 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74853 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74854 echo $ECHO_N "(cached) $ECHO_C" >&6
74855 else
74859 ac_ext=cc
74860 ac_cpp='$CXXCPP $CPPFLAGS'
74861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74865 cat >conftest.$ac_ext <<_ACEOF
74866 /* confdefs.h. */
74867 _ACEOF
74868 cat confdefs.h >>conftest.$ac_ext
74869 cat >>conftest.$ac_ext <<_ACEOF
74870 /* end confdefs.h. */
74871 #include <stdlib.h>
74873 main ()
74875 strtold(0, 0);
74877 return 0;
74879 _ACEOF
74880 rm -f conftest.$ac_objext
74881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74882 (eval $ac_compile) 2>conftest.er1
74883 ac_status=$?
74884 grep -v '^ *+' conftest.er1 >conftest.err
74885 rm -f conftest.er1
74886 cat conftest.err >&5
74887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74888 (exit $ac_status); } &&
74889 { ac_try='test -z "$ac_cxx_werror_flag"
74890 || test ! -s conftest.err'
74891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74892 (eval $ac_try) 2>&5
74893 ac_status=$?
74894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74895 (exit $ac_status); }; } &&
74896 { ac_try='test -s conftest.$ac_objext'
74897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74898 (eval $ac_try) 2>&5
74899 ac_status=$?
74900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74901 (exit $ac_status); }; }; then
74902 glibcxx_cv_func_strtold_use=yes
74903 else
74904 echo "$as_me: failed program was:" >&5
74905 sed 's/^/| /' conftest.$ac_ext >&5
74907 glibcxx_cv_func_strtold_use=no
74909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74910 ac_ext=c
74911 ac_cpp='$CPP $CPPFLAGS'
74912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74920 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74921 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74922 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74924 for ac_func in strtold
74926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74927 echo "$as_me:$LINENO: checking for $ac_func" >&5
74928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74929 if eval "test \"\${$as_ac_var+set}\" = set"; then
74930 echo $ECHO_N "(cached) $ECHO_C" >&6
74931 else
74932 if test x$gcc_no_link = xyes; then
74933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74935 { (exit 1); exit 1; }; }
74937 cat >conftest.$ac_ext <<_ACEOF
74938 /* confdefs.h. */
74939 _ACEOF
74940 cat confdefs.h >>conftest.$ac_ext
74941 cat >>conftest.$ac_ext <<_ACEOF
74942 /* end confdefs.h. */
74943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74945 #define $ac_func innocuous_$ac_func
74947 /* System header to define __stub macros and hopefully few prototypes,
74948 which can conflict with char $ac_func (); below.
74949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74950 <limits.h> exists even on freestanding compilers. */
74952 #ifdef __STDC__
74953 # include <limits.h>
74954 #else
74955 # include <assert.h>
74956 #endif
74958 #undef $ac_func
74960 /* Override any gcc2 internal prototype to avoid an error. */
74961 #ifdef __cplusplus
74962 extern "C"
74964 #endif
74965 /* We use char because int might match the return type of a gcc2
74966 builtin and then its argument prototype would still apply. */
74967 char $ac_func ();
74968 /* The GNU C library defines this for functions which it implements
74969 to always fail with ENOSYS. Some functions are actually named
74970 something starting with __ and the normal name is an alias. */
74971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74972 choke me
74973 #else
74974 char (*f) () = $ac_func;
74975 #endif
74976 #ifdef __cplusplus
74978 #endif
74981 main ()
74983 return f != $ac_func;
74985 return 0;
74987 _ACEOF
74988 rm -f conftest.$ac_objext conftest$ac_exeext
74989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74990 (eval $ac_link) 2>conftest.er1
74991 ac_status=$?
74992 grep -v '^ *+' conftest.er1 >conftest.err
74993 rm -f conftest.er1
74994 cat conftest.err >&5
74995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74996 (exit $ac_status); } &&
74997 { ac_try='test -z "$ac_c_werror_flag"
74998 || test ! -s conftest.err'
74999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75000 (eval $ac_try) 2>&5
75001 ac_status=$?
75002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75003 (exit $ac_status); }; } &&
75004 { ac_try='test -s conftest$ac_exeext'
75005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75006 (eval $ac_try) 2>&5
75007 ac_status=$?
75008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75009 (exit $ac_status); }; }; then
75010 eval "$as_ac_var=yes"
75011 else
75012 echo "$as_me: failed program was:" >&5
75013 sed 's/^/| /' conftest.$ac_ext >&5
75015 eval "$as_ac_var=no"
75017 rm -f conftest.err conftest.$ac_objext \
75018 conftest$ac_exeext conftest.$ac_ext
75020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75022 if test `eval echo '${'$as_ac_var'}'` = yes; then
75023 cat >>confdefs.h <<_ACEOF
75024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75025 _ACEOF
75028 done
75036 echo "$as_me:$LINENO: checking for strtof declaration" >&5
75037 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
75038 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
75039 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
75040 echo $ECHO_N "(cached) $ECHO_C" >&6
75041 else
75045 ac_ext=cc
75046 ac_cpp='$CXXCPP $CPPFLAGS'
75047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75051 cat >conftest.$ac_ext <<_ACEOF
75052 /* confdefs.h. */
75053 _ACEOF
75054 cat confdefs.h >>conftest.$ac_ext
75055 cat >>conftest.$ac_ext <<_ACEOF
75056 /* end confdefs.h. */
75057 #include <stdlib.h>
75059 main ()
75061 strtof(0, 0);
75063 return 0;
75065 _ACEOF
75066 rm -f conftest.$ac_objext
75067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75068 (eval $ac_compile) 2>conftest.er1
75069 ac_status=$?
75070 grep -v '^ *+' conftest.er1 >conftest.err
75071 rm -f conftest.er1
75072 cat conftest.err >&5
75073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75074 (exit $ac_status); } &&
75075 { ac_try='test -z "$ac_cxx_werror_flag"
75076 || test ! -s conftest.err'
75077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75078 (eval $ac_try) 2>&5
75079 ac_status=$?
75080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75081 (exit $ac_status); }; } &&
75082 { ac_try='test -s conftest.$ac_objext'
75083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75084 (eval $ac_try) 2>&5
75085 ac_status=$?
75086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75087 (exit $ac_status); }; }; then
75088 glibcxx_cv_func_strtof_use=yes
75089 else
75090 echo "$as_me: failed program was:" >&5
75091 sed 's/^/| /' conftest.$ac_ext >&5
75093 glibcxx_cv_func_strtof_use=no
75095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75096 ac_ext=c
75097 ac_cpp='$CPP $CPPFLAGS'
75098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75106 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
75107 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
75108 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
75110 for ac_func in strtof
75112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75113 echo "$as_me:$LINENO: checking for $ac_func" >&5
75114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75115 if eval "test \"\${$as_ac_var+set}\" = set"; then
75116 echo $ECHO_N "(cached) $ECHO_C" >&6
75117 else
75118 if test x$gcc_no_link = xyes; then
75119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75121 { (exit 1); exit 1; }; }
75123 cat >conftest.$ac_ext <<_ACEOF
75124 /* confdefs.h. */
75125 _ACEOF
75126 cat confdefs.h >>conftest.$ac_ext
75127 cat >>conftest.$ac_ext <<_ACEOF
75128 /* end confdefs.h. */
75129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75131 #define $ac_func innocuous_$ac_func
75133 /* System header to define __stub macros and hopefully few prototypes,
75134 which can conflict with char $ac_func (); below.
75135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75136 <limits.h> exists even on freestanding compilers. */
75138 #ifdef __STDC__
75139 # include <limits.h>
75140 #else
75141 # include <assert.h>
75142 #endif
75144 #undef $ac_func
75146 /* Override any gcc2 internal prototype to avoid an error. */
75147 #ifdef __cplusplus
75148 extern "C"
75150 #endif
75151 /* We use char because int might match the return type of a gcc2
75152 builtin and then its argument prototype would still apply. */
75153 char $ac_func ();
75154 /* The GNU C library defines this for functions which it implements
75155 to always fail with ENOSYS. Some functions are actually named
75156 something starting with __ and the normal name is an alias. */
75157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75158 choke me
75159 #else
75160 char (*f) () = $ac_func;
75161 #endif
75162 #ifdef __cplusplus
75164 #endif
75167 main ()
75169 return f != $ac_func;
75171 return 0;
75173 _ACEOF
75174 rm -f conftest.$ac_objext conftest$ac_exeext
75175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75176 (eval $ac_link) 2>conftest.er1
75177 ac_status=$?
75178 grep -v '^ *+' conftest.er1 >conftest.err
75179 rm -f conftest.er1
75180 cat conftest.err >&5
75181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75182 (exit $ac_status); } &&
75183 { ac_try='test -z "$ac_c_werror_flag"
75184 || test ! -s conftest.err'
75185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75186 (eval $ac_try) 2>&5
75187 ac_status=$?
75188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75189 (exit $ac_status); }; } &&
75190 { ac_try='test -s conftest$ac_exeext'
75191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75192 (eval $ac_try) 2>&5
75193 ac_status=$?
75194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75195 (exit $ac_status); }; }; then
75196 eval "$as_ac_var=yes"
75197 else
75198 echo "$as_me: failed program was:" >&5
75199 sed 's/^/| /' conftest.$ac_ext >&5
75201 eval "$as_ac_var=no"
75203 rm -f conftest.err conftest.$ac_objext \
75204 conftest$ac_exeext conftest.$ac_ext
75206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75208 if test `eval echo '${'$as_ac_var'}'` = yes; then
75209 cat >>confdefs.h <<_ACEOF
75210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75211 _ACEOF
75214 done
75222 CXXFLAGS="$ac_save_CXXFLAGS"
75225 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
75226 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
75227 if test "${glibcxx_cv_S_ISREG+set}" = set; then
75228 echo $ECHO_N "(cached) $ECHO_C" >&6
75229 else
75231 if test x$gcc_no_link = xyes; then
75232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75234 { (exit 1); exit 1; }; }
75236 cat >conftest.$ac_ext <<_ACEOF
75237 /* confdefs.h. */
75238 _ACEOF
75239 cat confdefs.h >>conftest.$ac_ext
75240 cat >>conftest.$ac_ext <<_ACEOF
75241 /* end confdefs.h. */
75242 #include <sys/stat.h>
75244 main ()
75246 struct stat buffer;
75247 fstat(0, &buffer);
75248 S_ISREG(buffer.st_mode);
75250 return 0;
75252 _ACEOF
75253 rm -f conftest.$ac_objext conftest$ac_exeext
75254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75255 (eval $ac_link) 2>conftest.er1
75256 ac_status=$?
75257 grep -v '^ *+' conftest.er1 >conftest.err
75258 rm -f conftest.er1
75259 cat conftest.err >&5
75260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75261 (exit $ac_status); } &&
75262 { ac_try='test -z "$ac_c_werror_flag"
75263 || test ! -s conftest.err'
75264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75265 (eval $ac_try) 2>&5
75266 ac_status=$?
75267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75268 (exit $ac_status); }; } &&
75269 { ac_try='test -s conftest$ac_exeext'
75270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75271 (eval $ac_try) 2>&5
75272 ac_status=$?
75273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75274 (exit $ac_status); }; }; then
75275 glibcxx_cv_S_ISREG=yes
75276 else
75277 echo "$as_me: failed program was:" >&5
75278 sed 's/^/| /' conftest.$ac_ext >&5
75280 glibcxx_cv_S_ISREG=no
75282 rm -f conftest.err conftest.$ac_objext \
75283 conftest$ac_exeext conftest.$ac_ext
75287 if test "${glibcxx_cv_S_IFREG+set}" = set; then
75288 echo $ECHO_N "(cached) $ECHO_C" >&6
75289 else
75291 if test x$gcc_no_link = xyes; then
75292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75294 { (exit 1); exit 1; }; }
75296 cat >conftest.$ac_ext <<_ACEOF
75297 /* confdefs.h. */
75298 _ACEOF
75299 cat confdefs.h >>conftest.$ac_ext
75300 cat >>conftest.$ac_ext <<_ACEOF
75301 /* end confdefs.h. */
75302 #include <sys/stat.h>
75304 main ()
75306 struct stat buffer;
75307 fstat(0, &buffer);
75308 S_IFREG & buffer.st_mode;
75310 return 0;
75312 _ACEOF
75313 rm -f conftest.$ac_objext conftest$ac_exeext
75314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75315 (eval $ac_link) 2>conftest.er1
75316 ac_status=$?
75317 grep -v '^ *+' conftest.er1 >conftest.err
75318 rm -f conftest.er1
75319 cat conftest.err >&5
75320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75321 (exit $ac_status); } &&
75322 { ac_try='test -z "$ac_c_werror_flag"
75323 || test ! -s conftest.err'
75324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75325 (eval $ac_try) 2>&5
75326 ac_status=$?
75327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75328 (exit $ac_status); }; } &&
75329 { ac_try='test -s conftest$ac_exeext'
75330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75331 (eval $ac_try) 2>&5
75332 ac_status=$?
75333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75334 (exit $ac_status); }; }; then
75335 glibcxx_cv_S_IFREG=yes
75336 else
75337 echo "$as_me: failed program was:" >&5
75338 sed 's/^/| /' conftest.$ac_ext >&5
75340 glibcxx_cv_S_IFREG=no
75342 rm -f conftest.err conftest.$ac_objext \
75343 conftest$ac_exeext conftest.$ac_ext
75347 res=no
75348 if test $glibcxx_cv_S_ISREG = yes; then
75350 cat >>confdefs.h <<\_ACEOF
75351 #define HAVE_S_ISREG 1
75352 _ACEOF
75354 res=S_ISREG
75355 elif test $glibcxx_cv_S_IFREG = yes; then
75357 cat >>confdefs.h <<\_ACEOF
75358 #define HAVE_S_IFREG 1
75359 _ACEOF
75361 res=S_IFREG
75363 echo "$as_me:$LINENO: result: $res" >&5
75364 echo "${ECHO_T}$res" >&6
75366 cat >>confdefs.h <<\_ACEOF
75367 #define HAVE_WRITEV 1
75368 _ACEOF
75372 *-freebsd*)
75389 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75390 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75391 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75392 sys/time.h unistd.h
75394 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75396 echo "$as_me:$LINENO: checking for $ac_header" >&5
75397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75399 echo $ECHO_N "(cached) $ECHO_C" >&6
75401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75403 else
75404 # Is the header compilable?
75405 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75407 cat >conftest.$ac_ext <<_ACEOF
75408 /* confdefs.h. */
75409 _ACEOF
75410 cat confdefs.h >>conftest.$ac_ext
75411 cat >>conftest.$ac_ext <<_ACEOF
75412 /* end confdefs.h. */
75413 $ac_includes_default
75414 #include <$ac_header>
75415 _ACEOF
75416 rm -f conftest.$ac_objext
75417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75418 (eval $ac_compile) 2>conftest.er1
75419 ac_status=$?
75420 grep -v '^ *+' conftest.er1 >conftest.err
75421 rm -f conftest.er1
75422 cat conftest.err >&5
75423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75424 (exit $ac_status); } &&
75425 { ac_try='test -z "$ac_c_werror_flag"
75426 || test ! -s conftest.err'
75427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75428 (eval $ac_try) 2>&5
75429 ac_status=$?
75430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75431 (exit $ac_status); }; } &&
75432 { ac_try='test -s conftest.$ac_objext'
75433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75434 (eval $ac_try) 2>&5
75435 ac_status=$?
75436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75437 (exit $ac_status); }; }; then
75438 ac_header_compiler=yes
75439 else
75440 echo "$as_me: failed program was:" >&5
75441 sed 's/^/| /' conftest.$ac_ext >&5
75443 ac_header_compiler=no
75445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75447 echo "${ECHO_T}$ac_header_compiler" >&6
75449 # Is the header present?
75450 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75452 cat >conftest.$ac_ext <<_ACEOF
75453 /* confdefs.h. */
75454 _ACEOF
75455 cat confdefs.h >>conftest.$ac_ext
75456 cat >>conftest.$ac_ext <<_ACEOF
75457 /* end confdefs.h. */
75458 #include <$ac_header>
75459 _ACEOF
75460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75462 ac_status=$?
75463 grep -v '^ *+' conftest.er1 >conftest.err
75464 rm -f conftest.er1
75465 cat conftest.err >&5
75466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75467 (exit $ac_status); } >/dev/null; then
75468 if test -s conftest.err; then
75469 ac_cpp_err=$ac_c_preproc_warn_flag
75470 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75471 else
75472 ac_cpp_err=
75474 else
75475 ac_cpp_err=yes
75477 if test -z "$ac_cpp_err"; then
75478 ac_header_preproc=yes
75479 else
75480 echo "$as_me: failed program was:" >&5
75481 sed 's/^/| /' conftest.$ac_ext >&5
75483 ac_header_preproc=no
75485 rm -f conftest.err conftest.$ac_ext
75486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75487 echo "${ECHO_T}$ac_header_preproc" >&6
75489 # So? What about this header?
75490 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75491 yes:no: )
75492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75495 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75496 ac_header_preproc=yes
75498 no:yes:* )
75499 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75500 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75501 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75502 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75503 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75504 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75505 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75506 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75509 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75510 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75512 cat <<\_ASBOX
75513 ## ----------------------------------------- ##
75514 ## Report this to the package-unused lists. ##
75515 ## ----------------------------------------- ##
75516 _ASBOX
75518 sed "s/^/$as_me: WARNING: /" >&2
75520 esac
75521 echo "$as_me:$LINENO: checking for $ac_header" >&5
75522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75524 echo $ECHO_N "(cached) $ECHO_C" >&6
75525 else
75526 eval "$as_ac_Header=\$ac_header_preproc"
75528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75533 cat >>confdefs.h <<_ACEOF
75534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75535 _ACEOF
75539 done
75541 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75544 # If we're not using GNU ld, then there's no point in even trying these
75545 # tests. Check for that first. We should have already tested for gld
75546 # by now (in libtool), but require it now just to be safe...
75547 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75548 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75552 # The name set by libtool depends on the version of libtool. Shame on us
75553 # for depending on an impl detail, but c'est la vie. Older versions used
75554 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75555 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75556 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75557 # set (hence we're using an older libtool), then set it.
75558 if test x${with_gnu_ld+set} != xset; then
75559 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75560 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75561 with_gnu_ld=no
75562 else
75563 with_gnu_ld=$ac_cv_prog_gnu_ld
75567 # Start by getting the version number. I think the libtool test already
75568 # does some of this, but throws away the result.
75569 echo "$as_me:$LINENO: checking for ld version" >&5
75570 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
75572 ldver=`$LD --version 2>/dev/null | head -1 | \
75573 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75575 glibcxx_gnu_ld_version=`echo $ldver | \
75576 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75577 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
75578 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
75580 # Set --gc-sections.
75581 glibcxx_gcsections_min_ld=21602
75582 if test x"$with_gnu_ld" = x"yes" &&
75583 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
75585 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
75586 # NB: This flag only works reliably after 2.16.1. Configure tests
75587 # for this are difficult, so hard wire a value that should work.
75589 # All these tests are for C++, but run with the "C" compiler driver.
75590 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
75591 ac_test_CFLAGS="${CFLAGS+set}"
75592 ac_save_CFLAGS="$CFLAGS"
75593 CFLAGS='-x c++ -Wl,--gc-sections'
75595 # Check for -Wl,--gc-sections
75596 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75597 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75598 if test x$gcc_no_link = xyes; then
75599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75601 { (exit 1); exit 1; }; }
75603 cat >conftest.$ac_ext <<_ACEOF
75604 /* confdefs.h. */
75605 _ACEOF
75606 cat confdefs.h >>conftest.$ac_ext
75607 cat >>conftest.$ac_ext <<_ACEOF
75608 /* end confdefs.h. */
75609 int one(void) { return 1; }
75610 int two(void) { return 2; }
75613 main ()
75615 two();
75617 return 0;
75619 _ACEOF
75620 rm -f conftest.$ac_objext conftest$ac_exeext
75621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75622 (eval $ac_link) 2>conftest.er1
75623 ac_status=$?
75624 grep -v '^ *+' conftest.er1 >conftest.err
75625 rm -f conftest.er1
75626 cat conftest.err >&5
75627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75628 (exit $ac_status); } &&
75629 { ac_try='test -z "$ac_c_werror_flag"
75630 || test ! -s conftest.err'
75631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75632 (eval $ac_try) 2>&5
75633 ac_status=$?
75634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75635 (exit $ac_status); }; } &&
75636 { ac_try='test -s conftest$ac_exeext'
75637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75638 (eval $ac_try) 2>&5
75639 ac_status=$?
75640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75641 (exit $ac_status); }; }; then
75642 ac_gcsections=yes
75643 else
75644 echo "$as_me: failed program was:" >&5
75645 sed 's/^/| /' conftest.$ac_ext >&5
75647 ac_gcsections=no
75649 rm -f conftest.err conftest.$ac_objext \
75650 conftest$ac_exeext conftest.$ac_ext
75651 if test "$ac_gcsections" = "yes"; then
75652 rm -f conftest.c
75653 touch conftest.c
75654 if $CC -c conftest.c; then
75655 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
75656 grep "Warning: gc-sections option ignored" > /dev/null; then
75657 ac_gcsections=no
75660 rm -f conftest.c conftest.o conftest
75662 if test "$ac_gcsections" = "yes"; then
75663 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75665 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75666 echo "${ECHO_T}$ac_gcsections" >&6
75668 if test "$ac_test_CFLAGS" = set; then
75669 CFLAGS="$ac_save_CFLAGS"
75670 else
75671 # this is the suspicious part
75672 CFLAGS=''
75676 # Set -z,relro.
75677 # Note this is only for shared objects.
75678 ac_ld_relro=no
75679 if test x"$with_gnu_ld" = x"yes"; then
75680 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75681 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75682 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75683 if test -n "$cxx_z_relo"; then
75684 OPT_LDFLAGS="-Wl,-z,relro"
75685 ac_ld_relro=yes
75687 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75688 echo "${ECHO_T}$ac_ld_relro" >&6
75691 # Set linker optimization flags.
75692 if test x"$with_gnu_ld" = x"yes"; then
75693 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75701 echo "$as_me:$LINENO: checking for main in -lm" >&5
75702 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75703 if test "${ac_cv_lib_m_main+set}" = set; then
75704 echo $ECHO_N "(cached) $ECHO_C" >&6
75705 else
75706 ac_check_lib_save_LIBS=$LIBS
75707 LIBS="-lm $LIBS"
75708 if test x$gcc_no_link = xyes; then
75709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75711 { (exit 1); exit 1; }; }
75713 cat >conftest.$ac_ext <<_ACEOF
75714 /* confdefs.h. */
75715 _ACEOF
75716 cat confdefs.h >>conftest.$ac_ext
75717 cat >>conftest.$ac_ext <<_ACEOF
75718 /* end confdefs.h. */
75722 main ()
75724 main ();
75726 return 0;
75728 _ACEOF
75729 rm -f conftest.$ac_objext conftest$ac_exeext
75730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75731 (eval $ac_link) 2>conftest.er1
75732 ac_status=$?
75733 grep -v '^ *+' conftest.er1 >conftest.err
75734 rm -f conftest.er1
75735 cat conftest.err >&5
75736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75737 (exit $ac_status); } &&
75738 { ac_try='test -z "$ac_c_werror_flag"
75739 || test ! -s conftest.err'
75740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75741 (eval $ac_try) 2>&5
75742 ac_status=$?
75743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75744 (exit $ac_status); }; } &&
75745 { ac_try='test -s conftest$ac_exeext'
75746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75747 (eval $ac_try) 2>&5
75748 ac_status=$?
75749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75750 (exit $ac_status); }; }; then
75751 ac_cv_lib_m_main=yes
75752 else
75753 echo "$as_me: failed program was:" >&5
75754 sed 's/^/| /' conftest.$ac_ext >&5
75756 ac_cv_lib_m_main=no
75758 rm -f conftest.err conftest.$ac_objext \
75759 conftest$ac_exeext conftest.$ac_ext
75760 LIBS=$ac_check_lib_save_LIBS
75762 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75763 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75764 if test $ac_cv_lib_m_main = yes; then
75765 cat >>confdefs.h <<_ACEOF
75766 #define HAVE_LIBM 1
75767 _ACEOF
75769 LIBS="-lm $LIBS"
75774 for ac_func in copysignf
75776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75777 echo "$as_me:$LINENO: checking for $ac_func" >&5
75778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75779 if eval "test \"\${$as_ac_var+set}\" = set"; then
75780 echo $ECHO_N "(cached) $ECHO_C" >&6
75781 else
75782 if test x$gcc_no_link = xyes; then
75783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75785 { (exit 1); exit 1; }; }
75787 cat >conftest.$ac_ext <<_ACEOF
75788 /* confdefs.h. */
75789 _ACEOF
75790 cat confdefs.h >>conftest.$ac_ext
75791 cat >>conftest.$ac_ext <<_ACEOF
75792 /* end confdefs.h. */
75793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75795 #define $ac_func innocuous_$ac_func
75797 /* System header to define __stub macros and hopefully few prototypes,
75798 which can conflict with char $ac_func (); below.
75799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75800 <limits.h> exists even on freestanding compilers. */
75802 #ifdef __STDC__
75803 # include <limits.h>
75804 #else
75805 # include <assert.h>
75806 #endif
75808 #undef $ac_func
75810 /* Override any gcc2 internal prototype to avoid an error. */
75811 #ifdef __cplusplus
75812 extern "C"
75814 #endif
75815 /* We use char because int might match the return type of a gcc2
75816 builtin and then its argument prototype would still apply. */
75817 char $ac_func ();
75818 /* The GNU C library defines this for functions which it implements
75819 to always fail with ENOSYS. Some functions are actually named
75820 something starting with __ and the normal name is an alias. */
75821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75822 choke me
75823 #else
75824 char (*f) () = $ac_func;
75825 #endif
75826 #ifdef __cplusplus
75828 #endif
75831 main ()
75833 return f != $ac_func;
75835 return 0;
75837 _ACEOF
75838 rm -f conftest.$ac_objext conftest$ac_exeext
75839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75840 (eval $ac_link) 2>conftest.er1
75841 ac_status=$?
75842 grep -v '^ *+' conftest.er1 >conftest.err
75843 rm -f conftest.er1
75844 cat conftest.err >&5
75845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75846 (exit $ac_status); } &&
75847 { ac_try='test -z "$ac_c_werror_flag"
75848 || test ! -s conftest.err'
75849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75850 (eval $ac_try) 2>&5
75851 ac_status=$?
75852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75853 (exit $ac_status); }; } &&
75854 { ac_try='test -s conftest$ac_exeext'
75855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75856 (eval $ac_try) 2>&5
75857 ac_status=$?
75858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75859 (exit $ac_status); }; }; then
75860 eval "$as_ac_var=yes"
75861 else
75862 echo "$as_me: failed program was:" >&5
75863 sed 's/^/| /' conftest.$ac_ext >&5
75865 eval "$as_ac_var=no"
75867 rm -f conftest.err conftest.$ac_objext \
75868 conftest$ac_exeext conftest.$ac_ext
75870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75872 if test `eval echo '${'$as_ac_var'}'` = yes; then
75873 cat >>confdefs.h <<_ACEOF
75874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75875 _ACEOF
75877 else
75878 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75880 done
75884 for ac_func in __signbit
75886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75887 echo "$as_me:$LINENO: checking for $ac_func" >&5
75888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75889 if eval "test \"\${$as_ac_var+set}\" = set"; then
75890 echo $ECHO_N "(cached) $ECHO_C" >&6
75891 else
75892 if test x$gcc_no_link = xyes; then
75893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75895 { (exit 1); exit 1; }; }
75897 cat >conftest.$ac_ext <<_ACEOF
75898 /* confdefs.h. */
75899 _ACEOF
75900 cat confdefs.h >>conftest.$ac_ext
75901 cat >>conftest.$ac_ext <<_ACEOF
75902 /* end confdefs.h. */
75903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75905 #define $ac_func innocuous_$ac_func
75907 /* System header to define __stub macros and hopefully few prototypes,
75908 which can conflict with char $ac_func (); below.
75909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75910 <limits.h> exists even on freestanding compilers. */
75912 #ifdef __STDC__
75913 # include <limits.h>
75914 #else
75915 # include <assert.h>
75916 #endif
75918 #undef $ac_func
75920 /* Override any gcc2 internal prototype to avoid an error. */
75921 #ifdef __cplusplus
75922 extern "C"
75924 #endif
75925 /* We use char because int might match the return type of a gcc2
75926 builtin and then its argument prototype would still apply. */
75927 char $ac_func ();
75928 /* The GNU C library defines this for functions which it implements
75929 to always fail with ENOSYS. Some functions are actually named
75930 something starting with __ and the normal name is an alias. */
75931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75932 choke me
75933 #else
75934 char (*f) () = $ac_func;
75935 #endif
75936 #ifdef __cplusplus
75938 #endif
75941 main ()
75943 return f != $ac_func;
75945 return 0;
75947 _ACEOF
75948 rm -f conftest.$ac_objext conftest$ac_exeext
75949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75950 (eval $ac_link) 2>conftest.er1
75951 ac_status=$?
75952 grep -v '^ *+' conftest.er1 >conftest.err
75953 rm -f conftest.er1
75954 cat conftest.err >&5
75955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75956 (exit $ac_status); } &&
75957 { ac_try='test -z "$ac_c_werror_flag"
75958 || test ! -s conftest.err'
75959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75960 (eval $ac_try) 2>&5
75961 ac_status=$?
75962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75963 (exit $ac_status); }; } &&
75964 { ac_try='test -s conftest$ac_exeext'
75965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75966 (eval $ac_try) 2>&5
75967 ac_status=$?
75968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75969 (exit $ac_status); }; }; then
75970 eval "$as_ac_var=yes"
75971 else
75972 echo "$as_me: failed program was:" >&5
75973 sed 's/^/| /' conftest.$ac_ext >&5
75975 eval "$as_ac_var=no"
75977 rm -f conftest.err conftest.$ac_objext \
75978 conftest$ac_exeext conftest.$ac_ext
75980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75982 if test `eval echo '${'$as_ac_var'}'` = yes; then
75983 cat >>confdefs.h <<_ACEOF
75984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75985 _ACEOF
75987 else
75988 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75990 done
75994 for ac_func in __signbitf
75996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75997 echo "$as_me:$LINENO: checking for $ac_func" >&5
75998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75999 if eval "test \"\${$as_ac_var+set}\" = set"; then
76000 echo $ECHO_N "(cached) $ECHO_C" >&6
76001 else
76002 if test x$gcc_no_link = xyes; then
76003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76005 { (exit 1); exit 1; }; }
76007 cat >conftest.$ac_ext <<_ACEOF
76008 /* confdefs.h. */
76009 _ACEOF
76010 cat confdefs.h >>conftest.$ac_ext
76011 cat >>conftest.$ac_ext <<_ACEOF
76012 /* end confdefs.h. */
76013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76015 #define $ac_func innocuous_$ac_func
76017 /* System header to define __stub macros and hopefully few prototypes,
76018 which can conflict with char $ac_func (); below.
76019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76020 <limits.h> exists even on freestanding compilers. */
76022 #ifdef __STDC__
76023 # include <limits.h>
76024 #else
76025 # include <assert.h>
76026 #endif
76028 #undef $ac_func
76030 /* Override any gcc2 internal prototype to avoid an error. */
76031 #ifdef __cplusplus
76032 extern "C"
76034 #endif
76035 /* We use char because int might match the return type of a gcc2
76036 builtin and then its argument prototype would still apply. */
76037 char $ac_func ();
76038 /* The GNU C library defines this for functions which it implements
76039 to always fail with ENOSYS. Some functions are actually named
76040 something starting with __ and the normal name is an alias. */
76041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76042 choke me
76043 #else
76044 char (*f) () = $ac_func;
76045 #endif
76046 #ifdef __cplusplus
76048 #endif
76051 main ()
76053 return f != $ac_func;
76055 return 0;
76057 _ACEOF
76058 rm -f conftest.$ac_objext conftest$ac_exeext
76059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76060 (eval $ac_link) 2>conftest.er1
76061 ac_status=$?
76062 grep -v '^ *+' conftest.er1 >conftest.err
76063 rm -f conftest.er1
76064 cat conftest.err >&5
76065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76066 (exit $ac_status); } &&
76067 { ac_try='test -z "$ac_c_werror_flag"
76068 || test ! -s conftest.err'
76069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76070 (eval $ac_try) 2>&5
76071 ac_status=$?
76072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76073 (exit $ac_status); }; } &&
76074 { ac_try='test -s conftest$ac_exeext'
76075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76076 (eval $ac_try) 2>&5
76077 ac_status=$?
76078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76079 (exit $ac_status); }; }; then
76080 eval "$as_ac_var=yes"
76081 else
76082 echo "$as_me: failed program was:" >&5
76083 sed 's/^/| /' conftest.$ac_ext >&5
76085 eval "$as_ac_var=no"
76087 rm -f conftest.err conftest.$ac_objext \
76088 conftest$ac_exeext conftest.$ac_ext
76090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76092 if test `eval echo '${'$as_ac_var'}'` = yes; then
76093 cat >>confdefs.h <<_ACEOF
76094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76095 _ACEOF
76097 else
76098 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76100 done
76103 if test x$ac_cv_func_copysignl = x"yes"; then
76105 for ac_func in __signbitl
76107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76108 echo "$as_me:$LINENO: checking for $ac_func" >&5
76109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76110 if eval "test \"\${$as_ac_var+set}\" = set"; then
76111 echo $ECHO_N "(cached) $ECHO_C" >&6
76112 else
76113 if test x$gcc_no_link = xyes; then
76114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76116 { (exit 1); exit 1; }; }
76118 cat >conftest.$ac_ext <<_ACEOF
76119 /* confdefs.h. */
76120 _ACEOF
76121 cat confdefs.h >>conftest.$ac_ext
76122 cat >>conftest.$ac_ext <<_ACEOF
76123 /* end confdefs.h. */
76124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76126 #define $ac_func innocuous_$ac_func
76128 /* System header to define __stub macros and hopefully few prototypes,
76129 which can conflict with char $ac_func (); below.
76130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76131 <limits.h> exists even on freestanding compilers. */
76133 #ifdef __STDC__
76134 # include <limits.h>
76135 #else
76136 # include <assert.h>
76137 #endif
76139 #undef $ac_func
76141 /* Override any gcc2 internal prototype to avoid an error. */
76142 #ifdef __cplusplus
76143 extern "C"
76145 #endif
76146 /* We use char because int might match the return type of a gcc2
76147 builtin and then its argument prototype would still apply. */
76148 char $ac_func ();
76149 /* The GNU C library defines this for functions which it implements
76150 to always fail with ENOSYS. Some functions are actually named
76151 something starting with __ and the normal name is an alias. */
76152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76153 choke me
76154 #else
76155 char (*f) () = $ac_func;
76156 #endif
76157 #ifdef __cplusplus
76159 #endif
76162 main ()
76164 return f != $ac_func;
76166 return 0;
76168 _ACEOF
76169 rm -f conftest.$ac_objext conftest$ac_exeext
76170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76171 (eval $ac_link) 2>conftest.er1
76172 ac_status=$?
76173 grep -v '^ *+' conftest.er1 >conftest.err
76174 rm -f conftest.er1
76175 cat conftest.err >&5
76176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76177 (exit $ac_status); } &&
76178 { ac_try='test -z "$ac_c_werror_flag"
76179 || test ! -s conftest.err'
76180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76181 (eval $ac_try) 2>&5
76182 ac_status=$?
76183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76184 (exit $ac_status); }; } &&
76185 { ac_try='test -s conftest$ac_exeext'
76186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76187 (eval $ac_try) 2>&5
76188 ac_status=$?
76189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76190 (exit $ac_status); }; }; then
76191 eval "$as_ac_var=yes"
76192 else
76193 echo "$as_me: failed program was:" >&5
76194 sed 's/^/| /' conftest.$ac_ext >&5
76196 eval "$as_ac_var=no"
76198 rm -f conftest.err conftest.$ac_objext \
76199 conftest$ac_exeext conftest.$ac_ext
76201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76203 if test `eval echo '${'$as_ac_var'}'` = yes; then
76204 cat >>confdefs.h <<_ACEOF
76205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76206 _ACEOF
76208 else
76209 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76211 done
76215 # Used in libmath/Makefile.am.
76216 if test -n "$LIBMATHOBJS"; then
76217 need_libmath=yes
76223 enable_iconv=no
76224 # Only continue checking if the ISO C99 headers exist and support is on.
76225 if test x"$enable_wchar_t" = xyes; then
76227 # Use iconv for wchar_t to char conversions. As such, check for
76228 # X/Open Portability Guide, version 2 features (XPG2).
76229 if test "${ac_cv_header_iconv_h+set}" = set; then
76230 echo "$as_me:$LINENO: checking for iconv.h" >&5
76231 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76232 if test "${ac_cv_header_iconv_h+set}" = set; then
76233 echo $ECHO_N "(cached) $ECHO_C" >&6
76235 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76236 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76237 else
76238 # Is the header compilable?
76239 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76240 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76241 cat >conftest.$ac_ext <<_ACEOF
76242 /* confdefs.h. */
76243 _ACEOF
76244 cat confdefs.h >>conftest.$ac_ext
76245 cat >>conftest.$ac_ext <<_ACEOF
76246 /* end confdefs.h. */
76247 $ac_includes_default
76248 #include <iconv.h>
76249 _ACEOF
76250 rm -f conftest.$ac_objext
76251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76252 (eval $ac_compile) 2>conftest.er1
76253 ac_status=$?
76254 grep -v '^ *+' conftest.er1 >conftest.err
76255 rm -f conftest.er1
76256 cat conftest.err >&5
76257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76258 (exit $ac_status); } &&
76259 { ac_try='test -z "$ac_c_werror_flag"
76260 || test ! -s conftest.err'
76261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76262 (eval $ac_try) 2>&5
76263 ac_status=$?
76264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76265 (exit $ac_status); }; } &&
76266 { ac_try='test -s conftest.$ac_objext'
76267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76268 (eval $ac_try) 2>&5
76269 ac_status=$?
76270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76271 (exit $ac_status); }; }; then
76272 ac_header_compiler=yes
76273 else
76274 echo "$as_me: failed program was:" >&5
76275 sed 's/^/| /' conftest.$ac_ext >&5
76277 ac_header_compiler=no
76279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76281 echo "${ECHO_T}$ac_header_compiler" >&6
76283 # Is the header present?
76284 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76285 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76286 cat >conftest.$ac_ext <<_ACEOF
76287 /* confdefs.h. */
76288 _ACEOF
76289 cat confdefs.h >>conftest.$ac_ext
76290 cat >>conftest.$ac_ext <<_ACEOF
76291 /* end confdefs.h. */
76292 #include <iconv.h>
76293 _ACEOF
76294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76296 ac_status=$?
76297 grep -v '^ *+' conftest.er1 >conftest.err
76298 rm -f conftest.er1
76299 cat conftest.err >&5
76300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76301 (exit $ac_status); } >/dev/null; then
76302 if test -s conftest.err; then
76303 ac_cpp_err=$ac_c_preproc_warn_flag
76304 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76305 else
76306 ac_cpp_err=
76308 else
76309 ac_cpp_err=yes
76311 if test -z "$ac_cpp_err"; then
76312 ac_header_preproc=yes
76313 else
76314 echo "$as_me: failed program was:" >&5
76315 sed 's/^/| /' conftest.$ac_ext >&5
76317 ac_header_preproc=no
76319 rm -f conftest.err conftest.$ac_ext
76320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76321 echo "${ECHO_T}$ac_header_preproc" >&6
76323 # So? What about this header?
76324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76325 yes:no: )
76326 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76327 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76328 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76329 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76330 ac_header_preproc=yes
76332 no:yes:* )
76333 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76334 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76335 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76336 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76337 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76338 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76339 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76340 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76341 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76342 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76343 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76344 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76346 cat <<\_ASBOX
76347 ## ----------------------------------------- ##
76348 ## Report this to the package-unused lists. ##
76349 ## ----------------------------------------- ##
76350 _ASBOX
76352 sed "s/^/$as_me: WARNING: /" >&2
76354 esac
76355 echo "$as_me:$LINENO: checking for iconv.h" >&5
76356 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76357 if test "${ac_cv_header_iconv_h+set}" = set; then
76358 echo $ECHO_N "(cached) $ECHO_C" >&6
76359 else
76360 ac_cv_header_iconv_h=$ac_header_preproc
76362 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76363 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76366 if test $ac_cv_header_iconv_h = yes; then
76367 ac_has_iconv_h=yes
76368 else
76369 ac_has_iconv_h=no
76373 if test "${ac_cv_header_langinfo_h+set}" = set; then
76374 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76375 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76376 if test "${ac_cv_header_langinfo_h+set}" = set; then
76377 echo $ECHO_N "(cached) $ECHO_C" >&6
76379 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76380 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76381 else
76382 # Is the header compilable?
76383 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76384 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76385 cat >conftest.$ac_ext <<_ACEOF
76386 /* confdefs.h. */
76387 _ACEOF
76388 cat confdefs.h >>conftest.$ac_ext
76389 cat >>conftest.$ac_ext <<_ACEOF
76390 /* end confdefs.h. */
76391 $ac_includes_default
76392 #include <langinfo.h>
76393 _ACEOF
76394 rm -f conftest.$ac_objext
76395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76396 (eval $ac_compile) 2>conftest.er1
76397 ac_status=$?
76398 grep -v '^ *+' conftest.er1 >conftest.err
76399 rm -f conftest.er1
76400 cat conftest.err >&5
76401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76402 (exit $ac_status); } &&
76403 { ac_try='test -z "$ac_c_werror_flag"
76404 || test ! -s conftest.err'
76405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76406 (eval $ac_try) 2>&5
76407 ac_status=$?
76408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76409 (exit $ac_status); }; } &&
76410 { ac_try='test -s conftest.$ac_objext'
76411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76412 (eval $ac_try) 2>&5
76413 ac_status=$?
76414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76415 (exit $ac_status); }; }; then
76416 ac_header_compiler=yes
76417 else
76418 echo "$as_me: failed program was:" >&5
76419 sed 's/^/| /' conftest.$ac_ext >&5
76421 ac_header_compiler=no
76423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76425 echo "${ECHO_T}$ac_header_compiler" >&6
76427 # Is the header present?
76428 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76429 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76430 cat >conftest.$ac_ext <<_ACEOF
76431 /* confdefs.h. */
76432 _ACEOF
76433 cat confdefs.h >>conftest.$ac_ext
76434 cat >>conftest.$ac_ext <<_ACEOF
76435 /* end confdefs.h. */
76436 #include <langinfo.h>
76437 _ACEOF
76438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76440 ac_status=$?
76441 grep -v '^ *+' conftest.er1 >conftest.err
76442 rm -f conftest.er1
76443 cat conftest.err >&5
76444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76445 (exit $ac_status); } >/dev/null; then
76446 if test -s conftest.err; then
76447 ac_cpp_err=$ac_c_preproc_warn_flag
76448 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76449 else
76450 ac_cpp_err=
76452 else
76453 ac_cpp_err=yes
76455 if test -z "$ac_cpp_err"; then
76456 ac_header_preproc=yes
76457 else
76458 echo "$as_me: failed program was:" >&5
76459 sed 's/^/| /' conftest.$ac_ext >&5
76461 ac_header_preproc=no
76463 rm -f conftest.err conftest.$ac_ext
76464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76465 echo "${ECHO_T}$ac_header_preproc" >&6
76467 # So? What about this header?
76468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76469 yes:no: )
76470 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76471 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76472 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76473 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76474 ac_header_preproc=yes
76476 no:yes:* )
76477 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76478 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76479 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76480 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76481 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76482 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76483 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76484 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76485 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76486 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76487 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76488 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76490 cat <<\_ASBOX
76491 ## ----------------------------------------- ##
76492 ## Report this to the package-unused lists. ##
76493 ## ----------------------------------------- ##
76494 _ASBOX
76496 sed "s/^/$as_me: WARNING: /" >&2
76498 esac
76499 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76500 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76501 if test "${ac_cv_header_langinfo_h+set}" = set; then
76502 echo $ECHO_N "(cached) $ECHO_C" >&6
76503 else
76504 ac_cv_header_langinfo_h=$ac_header_preproc
76506 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76507 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76510 if test $ac_cv_header_langinfo_h = yes; then
76511 ac_has_langinfo_h=yes
76512 else
76513 ac_has_langinfo_h=no
76518 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76519 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76520 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76521 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76522 echo $ECHO_N "(cached) $ECHO_C" >&6
76523 else
76524 ac_check_lib_save_LIBS=$LIBS
76525 LIBS="-liconv $LIBS"
76526 if test x$gcc_no_link = xyes; then
76527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76529 { (exit 1); exit 1; }; }
76531 cat >conftest.$ac_ext <<_ACEOF
76532 /* confdefs.h. */
76533 _ACEOF
76534 cat confdefs.h >>conftest.$ac_ext
76535 cat >>conftest.$ac_ext <<_ACEOF
76536 /* end confdefs.h. */
76538 /* Override any gcc2 internal prototype to avoid an error. */
76539 #ifdef __cplusplus
76540 extern "C"
76541 #endif
76542 /* We use char because int might match the return type of a gcc2
76543 builtin and then its argument prototype would still apply. */
76544 char iconv ();
76546 main ()
76548 iconv ();
76550 return 0;
76552 _ACEOF
76553 rm -f conftest.$ac_objext conftest$ac_exeext
76554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76555 (eval $ac_link) 2>conftest.er1
76556 ac_status=$?
76557 grep -v '^ *+' conftest.er1 >conftest.err
76558 rm -f conftest.er1
76559 cat conftest.err >&5
76560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76561 (exit $ac_status); } &&
76562 { ac_try='test -z "$ac_c_werror_flag"
76563 || test ! -s conftest.err'
76564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76565 (eval $ac_try) 2>&5
76566 ac_status=$?
76567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76568 (exit $ac_status); }; } &&
76569 { ac_try='test -s conftest$ac_exeext'
76570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76571 (eval $ac_try) 2>&5
76572 ac_status=$?
76573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76574 (exit $ac_status); }; }; then
76575 ac_cv_lib_iconv_iconv=yes
76576 else
76577 echo "$as_me: failed program was:" >&5
76578 sed 's/^/| /' conftest.$ac_ext >&5
76580 ac_cv_lib_iconv_iconv=no
76582 rm -f conftest.err conftest.$ac_objext \
76583 conftest$ac_exeext conftest.$ac_ext
76584 LIBS=$ac_check_lib_save_LIBS
76586 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76587 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76588 if test $ac_cv_lib_iconv_iconv = yes; then
76589 LIBICONV="-liconv"
76592 ac_save_LIBS="$LIBS"
76593 LIBS="$LIBS $LIBICONV"
76600 for ac_func in iconv_open iconv_close iconv nl_langinfo
76602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76603 echo "$as_me:$LINENO: checking for $ac_func" >&5
76604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76605 if eval "test \"\${$as_ac_var+set}\" = set"; then
76606 echo $ECHO_N "(cached) $ECHO_C" >&6
76607 else
76608 if test x$gcc_no_link = xyes; then
76609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76611 { (exit 1); exit 1; }; }
76613 cat >conftest.$ac_ext <<_ACEOF
76614 /* confdefs.h. */
76615 _ACEOF
76616 cat confdefs.h >>conftest.$ac_ext
76617 cat >>conftest.$ac_ext <<_ACEOF
76618 /* end confdefs.h. */
76619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76621 #define $ac_func innocuous_$ac_func
76623 /* System header to define __stub macros and hopefully few prototypes,
76624 which can conflict with char $ac_func (); below.
76625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76626 <limits.h> exists even on freestanding compilers. */
76628 #ifdef __STDC__
76629 # include <limits.h>
76630 #else
76631 # include <assert.h>
76632 #endif
76634 #undef $ac_func
76636 /* Override any gcc2 internal prototype to avoid an error. */
76637 #ifdef __cplusplus
76638 extern "C"
76640 #endif
76641 /* We use char because int might match the return type of a gcc2
76642 builtin and then its argument prototype would still apply. */
76643 char $ac_func ();
76644 /* The GNU C library defines this for functions which it implements
76645 to always fail with ENOSYS. Some functions are actually named
76646 something starting with __ and the normal name is an alias. */
76647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76648 choke me
76649 #else
76650 char (*f) () = $ac_func;
76651 #endif
76652 #ifdef __cplusplus
76654 #endif
76657 main ()
76659 return f != $ac_func;
76661 return 0;
76663 _ACEOF
76664 rm -f conftest.$ac_objext conftest$ac_exeext
76665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76666 (eval $ac_link) 2>conftest.er1
76667 ac_status=$?
76668 grep -v '^ *+' conftest.er1 >conftest.err
76669 rm -f conftest.er1
76670 cat conftest.err >&5
76671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76672 (exit $ac_status); } &&
76673 { ac_try='test -z "$ac_c_werror_flag"
76674 || test ! -s conftest.err'
76675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76676 (eval $ac_try) 2>&5
76677 ac_status=$?
76678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76679 (exit $ac_status); }; } &&
76680 { ac_try='test -s conftest$ac_exeext'
76681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76682 (eval $ac_try) 2>&5
76683 ac_status=$?
76684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76685 (exit $ac_status); }; }; then
76686 eval "$as_ac_var=yes"
76687 else
76688 echo "$as_me: failed program was:" >&5
76689 sed 's/^/| /' conftest.$ac_ext >&5
76691 eval "$as_ac_var=no"
76693 rm -f conftest.err conftest.$ac_objext \
76694 conftest$ac_exeext conftest.$ac_ext
76696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76698 if test `eval echo '${'$as_ac_var'}'` = yes; then
76699 cat >>confdefs.h <<_ACEOF
76700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76701 _ACEOF
76702 ac_XPG2funcs=yes
76703 else
76704 ac_XPG2funcs=no
76706 done
76709 LIBS="$ac_save_LIBS"
76711 if test x"$ac_has_iconv_h" = xyes &&
76712 test x"$ac_has_langinfo_h" = xyes &&
76713 test x"$ac_XPG2funcs" = xyes;
76714 then
76716 cat >>confdefs.h <<\_ACEOF
76717 #define _GLIBCXX_USE_ICONV 1
76718 _ACEOF
76720 enable_iconv=yes
76723 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76724 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76725 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76726 echo "${ECHO_T}$enable_iconv" >&6
76728 cat >>confdefs.h <<\_ACEOF
76729 #define HAVE_LC_MESSAGES 1
76730 _ACEOF
76732 cat >>confdefs.h <<\_ACEOF
76733 #define HAVE_GETPAGESIZE 1
76734 _ACEOF
76736 cat >>confdefs.h <<\_ACEOF
76737 #define HAVE_SETENV 1
76738 _ACEOF
76740 cat >>confdefs.h <<\_ACEOF
76741 #define HAVE_SIGSETJMP 1
76742 _ACEOF
76744 cat >>confdefs.h <<\_ACEOF
76745 #define HAVE_COPYSIGN 1
76746 _ACEOF
76748 cat >>confdefs.h <<\_ACEOF
76749 #define HAVE_COPYSIGNF 1
76750 _ACEOF
76752 cat >>confdefs.h <<\_ACEOF
76753 #define HAVE_FINITEF 1
76754 _ACEOF
76756 cat >>confdefs.h <<\_ACEOF
76757 #define HAVE_FINITE 1
76758 _ACEOF
76760 cat >>confdefs.h <<\_ACEOF
76761 #define HAVE_FREXPF 1
76762 _ACEOF
76764 cat >>confdefs.h <<\_ACEOF
76765 #define HAVE_HYPOT 1
76766 _ACEOF
76768 cat >>confdefs.h <<\_ACEOF
76769 #define HAVE_HYPOTF 1
76770 _ACEOF
76772 cat >>confdefs.h <<\_ACEOF
76773 #define HAVE_ISINF 1
76774 _ACEOF
76776 cat >>confdefs.h <<\_ACEOF
76777 #define HAVE_ISNAN 1
76778 _ACEOF
76780 cat >>confdefs.h <<\_ACEOF
76781 #define HAVE_ISNANF 1
76782 _ACEOF
76785 cat >>confdefs.h <<\_ACEOF
76786 #define HAVE_MMAP 1
76787 _ACEOF
76789 cat >>confdefs.h <<\_ACEOF
76790 #define HAVE_ACOSF 1
76791 _ACEOF
76793 cat >>confdefs.h <<\_ACEOF
76794 #define HAVE_ASINF 1
76795 _ACEOF
76797 cat >>confdefs.h <<\_ACEOF
76798 #define HAVE_ATAN2F 1
76799 _ACEOF
76801 cat >>confdefs.h <<\_ACEOF
76802 #define HAVE_ATANF 1
76803 _ACEOF
76805 cat >>confdefs.h <<\_ACEOF
76806 #define HAVE_CEILF 1
76807 _ACEOF
76809 cat >>confdefs.h <<\_ACEOF
76810 #define HAVE_COPYSIGN 1
76811 _ACEOF
76813 cat >>confdefs.h <<\_ACEOF
76814 #define HAVE_COPYSIGNF 1
76815 _ACEOF
76817 cat >>confdefs.h <<\_ACEOF
76818 #define HAVE_COSF 1
76819 _ACEOF
76821 cat >>confdefs.h <<\_ACEOF
76822 #define HAVE_COSHF 1
76823 _ACEOF
76825 cat >>confdefs.h <<\_ACEOF
76826 #define HAVE_EXPF 1
76827 _ACEOF
76829 cat >>confdefs.h <<\_ACEOF
76830 #define HAVE_FABSF 1
76831 _ACEOF
76833 cat >>confdefs.h <<\_ACEOF
76834 #define HAVE_FLOORF 1
76835 _ACEOF
76837 cat >>confdefs.h <<\_ACEOF
76838 #define HAVE_FMODF 1
76839 _ACEOF
76841 cat >>confdefs.h <<\_ACEOF
76842 #define HAVE_FREXPF 1
76843 _ACEOF
76845 cat >>confdefs.h <<\_ACEOF
76846 #define HAVE_LDEXPF 1
76847 _ACEOF
76849 cat >>confdefs.h <<\_ACEOF
76850 #define HAVE_LOG10F 1
76851 _ACEOF
76853 cat >>confdefs.h <<\_ACEOF
76854 #define HAVE_LOGF 1
76855 _ACEOF
76857 cat >>confdefs.h <<\_ACEOF
76858 #define HAVE_MODFF 1
76859 _ACEOF
76861 cat >>confdefs.h <<\_ACEOF
76862 #define HAVE_POWF 1
76863 _ACEOF
76865 cat >>confdefs.h <<\_ACEOF
76866 #define HAVE_SINF 1
76867 _ACEOF
76869 cat >>confdefs.h <<\_ACEOF
76870 #define HAVE_SINHF 1
76871 _ACEOF
76873 cat >>confdefs.h <<\_ACEOF
76874 #define HAVE_SQRTF 1
76875 _ACEOF
76877 cat >>confdefs.h <<\_ACEOF
76878 #define HAVE_TANF 1
76879 _ACEOF
76881 cat >>confdefs.h <<\_ACEOF
76882 #define HAVE_TANHF 1
76883 _ACEOF
76885 if test x"long_double_math_on_this_cpu" = x"yes"; then
76886 cat >>confdefs.h <<\_ACEOF
76887 #define HAVE_FINITEL 1
76888 _ACEOF
76890 cat >>confdefs.h <<\_ACEOF
76891 #define HAVE_ISINFL 1
76892 _ACEOF
76894 cat >>confdefs.h <<\_ACEOF
76895 #define HAVE_ISNANL 1
76896 _ACEOF
76900 *-hpux*)
76913 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76914 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76915 fp.h locale.h float.h inttypes.h
76917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76919 echo "$as_me:$LINENO: checking for $ac_header" >&5
76920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76922 echo $ECHO_N "(cached) $ECHO_C" >&6
76924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76926 else
76927 # Is the header compilable?
76928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76930 cat >conftest.$ac_ext <<_ACEOF
76931 /* confdefs.h. */
76932 _ACEOF
76933 cat confdefs.h >>conftest.$ac_ext
76934 cat >>conftest.$ac_ext <<_ACEOF
76935 /* end confdefs.h. */
76936 $ac_includes_default
76937 #include <$ac_header>
76938 _ACEOF
76939 rm -f conftest.$ac_objext
76940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76941 (eval $ac_compile) 2>conftest.er1
76942 ac_status=$?
76943 grep -v '^ *+' conftest.er1 >conftest.err
76944 rm -f conftest.er1
76945 cat conftest.err >&5
76946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76947 (exit $ac_status); } &&
76948 { ac_try='test -z "$ac_c_werror_flag"
76949 || test ! -s conftest.err'
76950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76951 (eval $ac_try) 2>&5
76952 ac_status=$?
76953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76954 (exit $ac_status); }; } &&
76955 { ac_try='test -s conftest.$ac_objext'
76956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76957 (eval $ac_try) 2>&5
76958 ac_status=$?
76959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76960 (exit $ac_status); }; }; then
76961 ac_header_compiler=yes
76962 else
76963 echo "$as_me: failed program was:" >&5
76964 sed 's/^/| /' conftest.$ac_ext >&5
76966 ac_header_compiler=no
76968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76970 echo "${ECHO_T}$ac_header_compiler" >&6
76972 # Is the header present?
76973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76975 cat >conftest.$ac_ext <<_ACEOF
76976 /* confdefs.h. */
76977 _ACEOF
76978 cat confdefs.h >>conftest.$ac_ext
76979 cat >>conftest.$ac_ext <<_ACEOF
76980 /* end confdefs.h. */
76981 #include <$ac_header>
76982 _ACEOF
76983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76984 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76985 ac_status=$?
76986 grep -v '^ *+' conftest.er1 >conftest.err
76987 rm -f conftest.er1
76988 cat conftest.err >&5
76989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76990 (exit $ac_status); } >/dev/null; then
76991 if test -s conftest.err; then
76992 ac_cpp_err=$ac_c_preproc_warn_flag
76993 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76994 else
76995 ac_cpp_err=
76997 else
76998 ac_cpp_err=yes
77000 if test -z "$ac_cpp_err"; then
77001 ac_header_preproc=yes
77002 else
77003 echo "$as_me: failed program was:" >&5
77004 sed 's/^/| /' conftest.$ac_ext >&5
77006 ac_header_preproc=no
77008 rm -f conftest.err conftest.$ac_ext
77009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77010 echo "${ECHO_T}$ac_header_preproc" >&6
77012 # So? What about this header?
77013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77014 yes:no: )
77015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77018 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77019 ac_header_preproc=yes
77021 no:yes:* )
77022 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77023 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77024 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77025 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77026 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77027 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77028 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77029 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77032 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77033 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77035 cat <<\_ASBOX
77036 ## ----------------------------------------- ##
77037 ## Report this to the package-unused lists. ##
77038 ## ----------------------------------------- ##
77039 _ASBOX
77041 sed "s/^/$as_me: WARNING: /" >&2
77043 esac
77044 echo "$as_me:$LINENO: checking for $ac_header" >&5
77045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77047 echo $ECHO_N "(cached) $ECHO_C" >&6
77048 else
77049 eval "$as_ac_Header=\$ac_header_preproc"
77051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77056 cat >>confdefs.h <<_ACEOF
77057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77058 _ACEOF
77062 done
77064 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77067 # If we're not using GNU ld, then there's no point in even trying these
77068 # tests. Check for that first. We should have already tested for gld
77069 # by now (in libtool), but require it now just to be safe...
77070 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77071 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77075 # The name set by libtool depends on the version of libtool. Shame on us
77076 # for depending on an impl detail, but c'est la vie. Older versions used
77077 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77078 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77079 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77080 # set (hence we're using an older libtool), then set it.
77081 if test x${with_gnu_ld+set} != xset; then
77082 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77083 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77084 with_gnu_ld=no
77085 else
77086 with_gnu_ld=$ac_cv_prog_gnu_ld
77090 # Start by getting the version number. I think the libtool test already
77091 # does some of this, but throws away the result.
77092 echo "$as_me:$LINENO: checking for ld version" >&5
77093 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77095 ldver=`$LD --version 2>/dev/null | head -1 | \
77096 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77098 glibcxx_gnu_ld_version=`echo $ldver | \
77099 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77100 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77101 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77103 # Set --gc-sections.
77104 glibcxx_gcsections_min_ld=21602
77105 if test x"$with_gnu_ld" = x"yes" &&
77106 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77108 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
77109 # NB: This flag only works reliably after 2.16.1. Configure tests
77110 # for this are difficult, so hard wire a value that should work.
77112 # All these tests are for C++, but run with the "C" compiler driver.
77113 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
77114 ac_test_CFLAGS="${CFLAGS+set}"
77115 ac_save_CFLAGS="$CFLAGS"
77116 CFLAGS='-x c++ -Wl,--gc-sections'
77118 # Check for -Wl,--gc-sections
77119 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77120 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77121 if test x$gcc_no_link = xyes; then
77122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77124 { (exit 1); exit 1; }; }
77126 cat >conftest.$ac_ext <<_ACEOF
77127 /* confdefs.h. */
77128 _ACEOF
77129 cat confdefs.h >>conftest.$ac_ext
77130 cat >>conftest.$ac_ext <<_ACEOF
77131 /* end confdefs.h. */
77132 int one(void) { return 1; }
77133 int two(void) { return 2; }
77136 main ()
77138 two();
77140 return 0;
77142 _ACEOF
77143 rm -f conftest.$ac_objext conftest$ac_exeext
77144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77145 (eval $ac_link) 2>conftest.er1
77146 ac_status=$?
77147 grep -v '^ *+' conftest.er1 >conftest.err
77148 rm -f conftest.er1
77149 cat conftest.err >&5
77150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77151 (exit $ac_status); } &&
77152 { ac_try='test -z "$ac_c_werror_flag"
77153 || test ! -s conftest.err'
77154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77155 (eval $ac_try) 2>&5
77156 ac_status=$?
77157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77158 (exit $ac_status); }; } &&
77159 { ac_try='test -s conftest$ac_exeext'
77160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77161 (eval $ac_try) 2>&5
77162 ac_status=$?
77163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77164 (exit $ac_status); }; }; then
77165 ac_gcsections=yes
77166 else
77167 echo "$as_me: failed program was:" >&5
77168 sed 's/^/| /' conftest.$ac_ext >&5
77170 ac_gcsections=no
77172 rm -f conftest.err conftest.$ac_objext \
77173 conftest$ac_exeext conftest.$ac_ext
77174 if test "$ac_gcsections" = "yes"; then
77175 rm -f conftest.c
77176 touch conftest.c
77177 if $CC -c conftest.c; then
77178 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77179 grep "Warning: gc-sections option ignored" > /dev/null; then
77180 ac_gcsections=no
77183 rm -f conftest.c conftest.o conftest
77185 if test "$ac_gcsections" = "yes"; then
77186 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77188 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77189 echo "${ECHO_T}$ac_gcsections" >&6
77191 if test "$ac_test_CFLAGS" = set; then
77192 CFLAGS="$ac_save_CFLAGS"
77193 else
77194 # this is the suspicious part
77195 CFLAGS=''
77199 # Set -z,relro.
77200 # Note this is only for shared objects.
77201 ac_ld_relro=no
77202 if test x"$with_gnu_ld" = x"yes"; then
77203 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77204 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77205 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77206 if test -n "$cxx_z_relo"; then
77207 OPT_LDFLAGS="-Wl,-z,relro"
77208 ac_ld_relro=yes
77210 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77211 echo "${ECHO_T}$ac_ld_relro" >&6
77214 # Set linker optimization flags.
77215 if test x"$with_gnu_ld" = x"yes"; then
77216 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77224 echo "$as_me:$LINENO: checking for main in -lm" >&5
77225 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77226 if test "${ac_cv_lib_m_main+set}" = set; then
77227 echo $ECHO_N "(cached) $ECHO_C" >&6
77228 else
77229 ac_check_lib_save_LIBS=$LIBS
77230 LIBS="-lm $LIBS"
77231 if test x$gcc_no_link = xyes; then
77232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77234 { (exit 1); exit 1; }; }
77236 cat >conftest.$ac_ext <<_ACEOF
77237 /* confdefs.h. */
77238 _ACEOF
77239 cat confdefs.h >>conftest.$ac_ext
77240 cat >>conftest.$ac_ext <<_ACEOF
77241 /* end confdefs.h. */
77245 main ()
77247 main ();
77249 return 0;
77251 _ACEOF
77252 rm -f conftest.$ac_objext conftest$ac_exeext
77253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77254 (eval $ac_link) 2>conftest.er1
77255 ac_status=$?
77256 grep -v '^ *+' conftest.er1 >conftest.err
77257 rm -f conftest.er1
77258 cat conftest.err >&5
77259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77260 (exit $ac_status); } &&
77261 { ac_try='test -z "$ac_c_werror_flag"
77262 || test ! -s conftest.err'
77263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77264 (eval $ac_try) 2>&5
77265 ac_status=$?
77266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77267 (exit $ac_status); }; } &&
77268 { ac_try='test -s conftest$ac_exeext'
77269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77270 (eval $ac_try) 2>&5
77271 ac_status=$?
77272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77273 (exit $ac_status); }; }; then
77274 ac_cv_lib_m_main=yes
77275 else
77276 echo "$as_me: failed program was:" >&5
77277 sed 's/^/| /' conftest.$ac_ext >&5
77279 ac_cv_lib_m_main=no
77281 rm -f conftest.err conftest.$ac_objext \
77282 conftest$ac_exeext conftest.$ac_ext
77283 LIBS=$ac_check_lib_save_LIBS
77285 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77286 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77287 if test $ac_cv_lib_m_main = yes; then
77288 cat >>confdefs.h <<_ACEOF
77289 #define HAVE_LIBM 1
77290 _ACEOF
77292 LIBS="-lm $LIBS"
77297 for ac_func in copysignf
77299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77300 echo "$as_me:$LINENO: checking for $ac_func" >&5
77301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77302 if eval "test \"\${$as_ac_var+set}\" = set"; then
77303 echo $ECHO_N "(cached) $ECHO_C" >&6
77304 else
77305 if test x$gcc_no_link = xyes; then
77306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77308 { (exit 1); exit 1; }; }
77310 cat >conftest.$ac_ext <<_ACEOF
77311 /* confdefs.h. */
77312 _ACEOF
77313 cat confdefs.h >>conftest.$ac_ext
77314 cat >>conftest.$ac_ext <<_ACEOF
77315 /* end confdefs.h. */
77316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77318 #define $ac_func innocuous_$ac_func
77320 /* System header to define __stub macros and hopefully few prototypes,
77321 which can conflict with char $ac_func (); below.
77322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77323 <limits.h> exists even on freestanding compilers. */
77325 #ifdef __STDC__
77326 # include <limits.h>
77327 #else
77328 # include <assert.h>
77329 #endif
77331 #undef $ac_func
77333 /* Override any gcc2 internal prototype to avoid an error. */
77334 #ifdef __cplusplus
77335 extern "C"
77337 #endif
77338 /* We use char because int might match the return type of a gcc2
77339 builtin and then its argument prototype would still apply. */
77340 char $ac_func ();
77341 /* The GNU C library defines this for functions which it implements
77342 to always fail with ENOSYS. Some functions are actually named
77343 something starting with __ and the normal name is an alias. */
77344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77345 choke me
77346 #else
77347 char (*f) () = $ac_func;
77348 #endif
77349 #ifdef __cplusplus
77351 #endif
77354 main ()
77356 return f != $ac_func;
77358 return 0;
77360 _ACEOF
77361 rm -f conftest.$ac_objext conftest$ac_exeext
77362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77363 (eval $ac_link) 2>conftest.er1
77364 ac_status=$?
77365 grep -v '^ *+' conftest.er1 >conftest.err
77366 rm -f conftest.er1
77367 cat conftest.err >&5
77368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77369 (exit $ac_status); } &&
77370 { ac_try='test -z "$ac_c_werror_flag"
77371 || test ! -s conftest.err'
77372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77373 (eval $ac_try) 2>&5
77374 ac_status=$?
77375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77376 (exit $ac_status); }; } &&
77377 { ac_try='test -s conftest$ac_exeext'
77378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77379 (eval $ac_try) 2>&5
77380 ac_status=$?
77381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77382 (exit $ac_status); }; }; then
77383 eval "$as_ac_var=yes"
77384 else
77385 echo "$as_me: failed program was:" >&5
77386 sed 's/^/| /' conftest.$ac_ext >&5
77388 eval "$as_ac_var=no"
77390 rm -f conftest.err conftest.$ac_objext \
77391 conftest$ac_exeext conftest.$ac_ext
77393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77395 if test `eval echo '${'$as_ac_var'}'` = yes; then
77396 cat >>confdefs.h <<_ACEOF
77397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77398 _ACEOF
77400 else
77401 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77403 done
77407 for ac_func in __signbit
77409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77410 echo "$as_me:$LINENO: checking for $ac_func" >&5
77411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77412 if eval "test \"\${$as_ac_var+set}\" = set"; then
77413 echo $ECHO_N "(cached) $ECHO_C" >&6
77414 else
77415 if test x$gcc_no_link = xyes; then
77416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77418 { (exit 1); exit 1; }; }
77420 cat >conftest.$ac_ext <<_ACEOF
77421 /* confdefs.h. */
77422 _ACEOF
77423 cat confdefs.h >>conftest.$ac_ext
77424 cat >>conftest.$ac_ext <<_ACEOF
77425 /* end confdefs.h. */
77426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77428 #define $ac_func innocuous_$ac_func
77430 /* System header to define __stub macros and hopefully few prototypes,
77431 which can conflict with char $ac_func (); below.
77432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77433 <limits.h> exists even on freestanding compilers. */
77435 #ifdef __STDC__
77436 # include <limits.h>
77437 #else
77438 # include <assert.h>
77439 #endif
77441 #undef $ac_func
77443 /* Override any gcc2 internal prototype to avoid an error. */
77444 #ifdef __cplusplus
77445 extern "C"
77447 #endif
77448 /* We use char because int might match the return type of a gcc2
77449 builtin and then its argument prototype would still apply. */
77450 char $ac_func ();
77451 /* The GNU C library defines this for functions which it implements
77452 to always fail with ENOSYS. Some functions are actually named
77453 something starting with __ and the normal name is an alias. */
77454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77455 choke me
77456 #else
77457 char (*f) () = $ac_func;
77458 #endif
77459 #ifdef __cplusplus
77461 #endif
77464 main ()
77466 return f != $ac_func;
77468 return 0;
77470 _ACEOF
77471 rm -f conftest.$ac_objext conftest$ac_exeext
77472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77473 (eval $ac_link) 2>conftest.er1
77474 ac_status=$?
77475 grep -v '^ *+' conftest.er1 >conftest.err
77476 rm -f conftest.er1
77477 cat conftest.err >&5
77478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77479 (exit $ac_status); } &&
77480 { ac_try='test -z "$ac_c_werror_flag"
77481 || test ! -s conftest.err'
77482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77483 (eval $ac_try) 2>&5
77484 ac_status=$?
77485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77486 (exit $ac_status); }; } &&
77487 { ac_try='test -s conftest$ac_exeext'
77488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77489 (eval $ac_try) 2>&5
77490 ac_status=$?
77491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77492 (exit $ac_status); }; }; then
77493 eval "$as_ac_var=yes"
77494 else
77495 echo "$as_me: failed program was:" >&5
77496 sed 's/^/| /' conftest.$ac_ext >&5
77498 eval "$as_ac_var=no"
77500 rm -f conftest.err conftest.$ac_objext \
77501 conftest$ac_exeext conftest.$ac_ext
77503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77505 if test `eval echo '${'$as_ac_var'}'` = yes; then
77506 cat >>confdefs.h <<_ACEOF
77507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77508 _ACEOF
77510 else
77511 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77513 done
77517 for ac_func in __signbitf
77519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77520 echo "$as_me:$LINENO: checking for $ac_func" >&5
77521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77522 if eval "test \"\${$as_ac_var+set}\" = set"; then
77523 echo $ECHO_N "(cached) $ECHO_C" >&6
77524 else
77525 if test x$gcc_no_link = xyes; then
77526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77528 { (exit 1); exit 1; }; }
77530 cat >conftest.$ac_ext <<_ACEOF
77531 /* confdefs.h. */
77532 _ACEOF
77533 cat confdefs.h >>conftest.$ac_ext
77534 cat >>conftest.$ac_ext <<_ACEOF
77535 /* end confdefs.h. */
77536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77538 #define $ac_func innocuous_$ac_func
77540 /* System header to define __stub macros and hopefully few prototypes,
77541 which can conflict with char $ac_func (); below.
77542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77543 <limits.h> exists even on freestanding compilers. */
77545 #ifdef __STDC__
77546 # include <limits.h>
77547 #else
77548 # include <assert.h>
77549 #endif
77551 #undef $ac_func
77553 /* Override any gcc2 internal prototype to avoid an error. */
77554 #ifdef __cplusplus
77555 extern "C"
77557 #endif
77558 /* We use char because int might match the return type of a gcc2
77559 builtin and then its argument prototype would still apply. */
77560 char $ac_func ();
77561 /* The GNU C library defines this for functions which it implements
77562 to always fail with ENOSYS. Some functions are actually named
77563 something starting with __ and the normal name is an alias. */
77564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77565 choke me
77566 #else
77567 char (*f) () = $ac_func;
77568 #endif
77569 #ifdef __cplusplus
77571 #endif
77574 main ()
77576 return f != $ac_func;
77578 return 0;
77580 _ACEOF
77581 rm -f conftest.$ac_objext conftest$ac_exeext
77582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77583 (eval $ac_link) 2>conftest.er1
77584 ac_status=$?
77585 grep -v '^ *+' conftest.er1 >conftest.err
77586 rm -f conftest.er1
77587 cat conftest.err >&5
77588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77589 (exit $ac_status); } &&
77590 { ac_try='test -z "$ac_c_werror_flag"
77591 || test ! -s conftest.err'
77592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77593 (eval $ac_try) 2>&5
77594 ac_status=$?
77595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77596 (exit $ac_status); }; } &&
77597 { ac_try='test -s conftest$ac_exeext'
77598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77599 (eval $ac_try) 2>&5
77600 ac_status=$?
77601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77602 (exit $ac_status); }; }; then
77603 eval "$as_ac_var=yes"
77604 else
77605 echo "$as_me: failed program was:" >&5
77606 sed 's/^/| /' conftest.$ac_ext >&5
77608 eval "$as_ac_var=no"
77610 rm -f conftest.err conftest.$ac_objext \
77611 conftest$ac_exeext conftest.$ac_ext
77613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77615 if test `eval echo '${'$as_ac_var'}'` = yes; then
77616 cat >>confdefs.h <<_ACEOF
77617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77618 _ACEOF
77620 else
77621 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77623 done
77626 if test x$ac_cv_func_copysignl = x"yes"; then
77628 for ac_func in __signbitl
77630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77631 echo "$as_me:$LINENO: checking for $ac_func" >&5
77632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77633 if eval "test \"\${$as_ac_var+set}\" = set"; then
77634 echo $ECHO_N "(cached) $ECHO_C" >&6
77635 else
77636 if test x$gcc_no_link = xyes; then
77637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77639 { (exit 1); exit 1; }; }
77641 cat >conftest.$ac_ext <<_ACEOF
77642 /* confdefs.h. */
77643 _ACEOF
77644 cat confdefs.h >>conftest.$ac_ext
77645 cat >>conftest.$ac_ext <<_ACEOF
77646 /* end confdefs.h. */
77647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77649 #define $ac_func innocuous_$ac_func
77651 /* System header to define __stub macros and hopefully few prototypes,
77652 which can conflict with char $ac_func (); below.
77653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77654 <limits.h> exists even on freestanding compilers. */
77656 #ifdef __STDC__
77657 # include <limits.h>
77658 #else
77659 # include <assert.h>
77660 #endif
77662 #undef $ac_func
77664 /* Override any gcc2 internal prototype to avoid an error. */
77665 #ifdef __cplusplus
77666 extern "C"
77668 #endif
77669 /* We use char because int might match the return type of a gcc2
77670 builtin and then its argument prototype would still apply. */
77671 char $ac_func ();
77672 /* The GNU C library defines this for functions which it implements
77673 to always fail with ENOSYS. Some functions are actually named
77674 something starting with __ and the normal name is an alias. */
77675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77676 choke me
77677 #else
77678 char (*f) () = $ac_func;
77679 #endif
77680 #ifdef __cplusplus
77682 #endif
77685 main ()
77687 return f != $ac_func;
77689 return 0;
77691 _ACEOF
77692 rm -f conftest.$ac_objext conftest$ac_exeext
77693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77694 (eval $ac_link) 2>conftest.er1
77695 ac_status=$?
77696 grep -v '^ *+' conftest.er1 >conftest.err
77697 rm -f conftest.er1
77698 cat conftest.err >&5
77699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77700 (exit $ac_status); } &&
77701 { ac_try='test -z "$ac_c_werror_flag"
77702 || test ! -s conftest.err'
77703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77704 (eval $ac_try) 2>&5
77705 ac_status=$?
77706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77707 (exit $ac_status); }; } &&
77708 { ac_try='test -s conftest$ac_exeext'
77709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77710 (eval $ac_try) 2>&5
77711 ac_status=$?
77712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77713 (exit $ac_status); }; }; then
77714 eval "$as_ac_var=yes"
77715 else
77716 echo "$as_me: failed program was:" >&5
77717 sed 's/^/| /' conftest.$ac_ext >&5
77719 eval "$as_ac_var=no"
77721 rm -f conftest.err conftest.$ac_objext \
77722 conftest$ac_exeext conftest.$ac_ext
77724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77726 if test `eval echo '${'$as_ac_var'}'` = yes; then
77727 cat >>confdefs.h <<_ACEOF
77728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77729 _ACEOF
77731 else
77732 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77734 done
77738 # Used in libmath/Makefile.am.
77739 if test -n "$LIBMATHOBJS"; then
77740 need_libmath=yes
77746 enable_iconv=no
77747 # Only continue checking if the ISO C99 headers exist and support is on.
77748 if test x"$enable_wchar_t" = xyes; then
77750 # Use iconv for wchar_t to char conversions. As such, check for
77751 # X/Open Portability Guide, version 2 features (XPG2).
77752 if test "${ac_cv_header_iconv_h+set}" = set; then
77753 echo "$as_me:$LINENO: checking for iconv.h" >&5
77754 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77755 if test "${ac_cv_header_iconv_h+set}" = set; then
77756 echo $ECHO_N "(cached) $ECHO_C" >&6
77758 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77759 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77760 else
77761 # Is the header compilable?
77762 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77763 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77764 cat >conftest.$ac_ext <<_ACEOF
77765 /* confdefs.h. */
77766 _ACEOF
77767 cat confdefs.h >>conftest.$ac_ext
77768 cat >>conftest.$ac_ext <<_ACEOF
77769 /* end confdefs.h. */
77770 $ac_includes_default
77771 #include <iconv.h>
77772 _ACEOF
77773 rm -f conftest.$ac_objext
77774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77775 (eval $ac_compile) 2>conftest.er1
77776 ac_status=$?
77777 grep -v '^ *+' conftest.er1 >conftest.err
77778 rm -f conftest.er1
77779 cat conftest.err >&5
77780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77781 (exit $ac_status); } &&
77782 { ac_try='test -z "$ac_c_werror_flag"
77783 || test ! -s conftest.err'
77784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77785 (eval $ac_try) 2>&5
77786 ac_status=$?
77787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77788 (exit $ac_status); }; } &&
77789 { ac_try='test -s conftest.$ac_objext'
77790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77791 (eval $ac_try) 2>&5
77792 ac_status=$?
77793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77794 (exit $ac_status); }; }; then
77795 ac_header_compiler=yes
77796 else
77797 echo "$as_me: failed program was:" >&5
77798 sed 's/^/| /' conftest.$ac_ext >&5
77800 ac_header_compiler=no
77802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77803 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77804 echo "${ECHO_T}$ac_header_compiler" >&6
77806 # Is the header present?
77807 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77808 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77809 cat >conftest.$ac_ext <<_ACEOF
77810 /* confdefs.h. */
77811 _ACEOF
77812 cat confdefs.h >>conftest.$ac_ext
77813 cat >>conftest.$ac_ext <<_ACEOF
77814 /* end confdefs.h. */
77815 #include <iconv.h>
77816 _ACEOF
77817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77819 ac_status=$?
77820 grep -v '^ *+' conftest.er1 >conftest.err
77821 rm -f conftest.er1
77822 cat conftest.err >&5
77823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77824 (exit $ac_status); } >/dev/null; then
77825 if test -s conftest.err; then
77826 ac_cpp_err=$ac_c_preproc_warn_flag
77827 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77828 else
77829 ac_cpp_err=
77831 else
77832 ac_cpp_err=yes
77834 if test -z "$ac_cpp_err"; then
77835 ac_header_preproc=yes
77836 else
77837 echo "$as_me: failed program was:" >&5
77838 sed 's/^/| /' conftest.$ac_ext >&5
77840 ac_header_preproc=no
77842 rm -f conftest.err conftest.$ac_ext
77843 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77844 echo "${ECHO_T}$ac_header_preproc" >&6
77846 # So? What about this header?
77847 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77848 yes:no: )
77849 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77850 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77851 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77852 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77853 ac_header_preproc=yes
77855 no:yes:* )
77856 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77857 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77858 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77859 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77860 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77861 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77862 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
77863 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
77864 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77865 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77866 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77867 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77869 cat <<\_ASBOX
77870 ## ----------------------------------------- ##
77871 ## Report this to the package-unused lists. ##
77872 ## ----------------------------------------- ##
77873 _ASBOX
77875 sed "s/^/$as_me: WARNING: /" >&2
77877 esac
77878 echo "$as_me:$LINENO: checking for iconv.h" >&5
77879 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77880 if test "${ac_cv_header_iconv_h+set}" = set; then
77881 echo $ECHO_N "(cached) $ECHO_C" >&6
77882 else
77883 ac_cv_header_iconv_h=$ac_header_preproc
77885 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77886 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77889 if test $ac_cv_header_iconv_h = yes; then
77890 ac_has_iconv_h=yes
77891 else
77892 ac_has_iconv_h=no
77896 if test "${ac_cv_header_langinfo_h+set}" = set; then
77897 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77898 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77899 if test "${ac_cv_header_langinfo_h+set}" = set; then
77900 echo $ECHO_N "(cached) $ECHO_C" >&6
77902 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77903 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77904 else
77905 # Is the header compilable?
77906 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77907 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77908 cat >conftest.$ac_ext <<_ACEOF
77909 /* confdefs.h. */
77910 _ACEOF
77911 cat confdefs.h >>conftest.$ac_ext
77912 cat >>conftest.$ac_ext <<_ACEOF
77913 /* end confdefs.h. */
77914 $ac_includes_default
77915 #include <langinfo.h>
77916 _ACEOF
77917 rm -f conftest.$ac_objext
77918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77919 (eval $ac_compile) 2>conftest.er1
77920 ac_status=$?
77921 grep -v '^ *+' conftest.er1 >conftest.err
77922 rm -f conftest.er1
77923 cat conftest.err >&5
77924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77925 (exit $ac_status); } &&
77926 { ac_try='test -z "$ac_c_werror_flag"
77927 || test ! -s conftest.err'
77928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77929 (eval $ac_try) 2>&5
77930 ac_status=$?
77931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77932 (exit $ac_status); }; } &&
77933 { ac_try='test -s conftest.$ac_objext'
77934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77935 (eval $ac_try) 2>&5
77936 ac_status=$?
77937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77938 (exit $ac_status); }; }; then
77939 ac_header_compiler=yes
77940 else
77941 echo "$as_me: failed program was:" >&5
77942 sed 's/^/| /' conftest.$ac_ext >&5
77944 ac_header_compiler=no
77946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77948 echo "${ECHO_T}$ac_header_compiler" >&6
77950 # Is the header present?
77951 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77952 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77953 cat >conftest.$ac_ext <<_ACEOF
77954 /* confdefs.h. */
77955 _ACEOF
77956 cat confdefs.h >>conftest.$ac_ext
77957 cat >>conftest.$ac_ext <<_ACEOF
77958 /* end confdefs.h. */
77959 #include <langinfo.h>
77960 _ACEOF
77961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77963 ac_status=$?
77964 grep -v '^ *+' conftest.er1 >conftest.err
77965 rm -f conftest.er1
77966 cat conftest.err >&5
77967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77968 (exit $ac_status); } >/dev/null; then
77969 if test -s conftest.err; then
77970 ac_cpp_err=$ac_c_preproc_warn_flag
77971 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77972 else
77973 ac_cpp_err=
77975 else
77976 ac_cpp_err=yes
77978 if test -z "$ac_cpp_err"; then
77979 ac_header_preproc=yes
77980 else
77981 echo "$as_me: failed program was:" >&5
77982 sed 's/^/| /' conftest.$ac_ext >&5
77984 ac_header_preproc=no
77986 rm -f conftest.err conftest.$ac_ext
77987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77988 echo "${ECHO_T}$ac_header_preproc" >&6
77990 # So? What about this header?
77991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77992 yes:no: )
77993 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77994 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77995 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
77996 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
77997 ac_header_preproc=yes
77999 no:yes:* )
78000 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78001 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78002 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78003 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78004 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78005 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78006 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78007 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78008 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78009 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78010 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78011 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78013 cat <<\_ASBOX
78014 ## ----------------------------------------- ##
78015 ## Report this to the package-unused lists. ##
78016 ## ----------------------------------------- ##
78017 _ASBOX
78019 sed "s/^/$as_me: WARNING: /" >&2
78021 esac
78022 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78023 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78024 if test "${ac_cv_header_langinfo_h+set}" = set; then
78025 echo $ECHO_N "(cached) $ECHO_C" >&6
78026 else
78027 ac_cv_header_langinfo_h=$ac_header_preproc
78029 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78030 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78033 if test $ac_cv_header_langinfo_h = yes; then
78034 ac_has_langinfo_h=yes
78035 else
78036 ac_has_langinfo_h=no
78041 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78042 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78043 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78044 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78045 echo $ECHO_N "(cached) $ECHO_C" >&6
78046 else
78047 ac_check_lib_save_LIBS=$LIBS
78048 LIBS="-liconv $LIBS"
78049 if test x$gcc_no_link = xyes; then
78050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78052 { (exit 1); exit 1; }; }
78054 cat >conftest.$ac_ext <<_ACEOF
78055 /* confdefs.h. */
78056 _ACEOF
78057 cat confdefs.h >>conftest.$ac_ext
78058 cat >>conftest.$ac_ext <<_ACEOF
78059 /* end confdefs.h. */
78061 /* Override any gcc2 internal prototype to avoid an error. */
78062 #ifdef __cplusplus
78063 extern "C"
78064 #endif
78065 /* We use char because int might match the return type of a gcc2
78066 builtin and then its argument prototype would still apply. */
78067 char iconv ();
78069 main ()
78071 iconv ();
78073 return 0;
78075 _ACEOF
78076 rm -f conftest.$ac_objext conftest$ac_exeext
78077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78078 (eval $ac_link) 2>conftest.er1
78079 ac_status=$?
78080 grep -v '^ *+' conftest.er1 >conftest.err
78081 rm -f conftest.er1
78082 cat conftest.err >&5
78083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78084 (exit $ac_status); } &&
78085 { ac_try='test -z "$ac_c_werror_flag"
78086 || test ! -s conftest.err'
78087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78088 (eval $ac_try) 2>&5
78089 ac_status=$?
78090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78091 (exit $ac_status); }; } &&
78092 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
78098 ac_cv_lib_iconv_iconv=yes
78099 else
78100 echo "$as_me: failed program was:" >&5
78101 sed 's/^/| /' conftest.$ac_ext >&5
78103 ac_cv_lib_iconv_iconv=no
78105 rm -f conftest.err conftest.$ac_objext \
78106 conftest$ac_exeext conftest.$ac_ext
78107 LIBS=$ac_check_lib_save_LIBS
78109 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78110 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78111 if test $ac_cv_lib_iconv_iconv = yes; then
78112 LIBICONV="-liconv"
78115 ac_save_LIBS="$LIBS"
78116 LIBS="$LIBS $LIBICONV"
78123 for ac_func in iconv_open iconv_close iconv nl_langinfo
78125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78126 echo "$as_me:$LINENO: checking for $ac_func" >&5
78127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78128 if eval "test \"\${$as_ac_var+set}\" = set"; then
78129 echo $ECHO_N "(cached) $ECHO_C" >&6
78130 else
78131 if test x$gcc_no_link = xyes; then
78132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78134 { (exit 1); exit 1; }; }
78136 cat >conftest.$ac_ext <<_ACEOF
78137 /* confdefs.h. */
78138 _ACEOF
78139 cat confdefs.h >>conftest.$ac_ext
78140 cat >>conftest.$ac_ext <<_ACEOF
78141 /* end confdefs.h. */
78142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78144 #define $ac_func innocuous_$ac_func
78146 /* System header to define __stub macros and hopefully few prototypes,
78147 which can conflict with char $ac_func (); below.
78148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78149 <limits.h> exists even on freestanding compilers. */
78151 #ifdef __STDC__
78152 # include <limits.h>
78153 #else
78154 # include <assert.h>
78155 #endif
78157 #undef $ac_func
78159 /* Override any gcc2 internal prototype to avoid an error. */
78160 #ifdef __cplusplus
78161 extern "C"
78163 #endif
78164 /* We use char because int might match the return type of a gcc2
78165 builtin and then its argument prototype would still apply. */
78166 char $ac_func ();
78167 /* The GNU C library defines this for functions which it implements
78168 to always fail with ENOSYS. Some functions are actually named
78169 something starting with __ and the normal name is an alias. */
78170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78171 choke me
78172 #else
78173 char (*f) () = $ac_func;
78174 #endif
78175 #ifdef __cplusplus
78177 #endif
78180 main ()
78182 return f != $ac_func;
78184 return 0;
78186 _ACEOF
78187 rm -f conftest.$ac_objext conftest$ac_exeext
78188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78189 (eval $ac_link) 2>conftest.er1
78190 ac_status=$?
78191 grep -v '^ *+' conftest.er1 >conftest.err
78192 rm -f conftest.er1
78193 cat conftest.err >&5
78194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78195 (exit $ac_status); } &&
78196 { ac_try='test -z "$ac_c_werror_flag"
78197 || test ! -s conftest.err'
78198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78199 (eval $ac_try) 2>&5
78200 ac_status=$?
78201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78202 (exit $ac_status); }; } &&
78203 { ac_try='test -s conftest$ac_exeext'
78204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78205 (eval $ac_try) 2>&5
78206 ac_status=$?
78207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78208 (exit $ac_status); }; }; then
78209 eval "$as_ac_var=yes"
78210 else
78211 echo "$as_me: failed program was:" >&5
78212 sed 's/^/| /' conftest.$ac_ext >&5
78214 eval "$as_ac_var=no"
78216 rm -f conftest.err conftest.$ac_objext \
78217 conftest$ac_exeext conftest.$ac_ext
78219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78221 if test `eval echo '${'$as_ac_var'}'` = yes; then
78222 cat >>confdefs.h <<_ACEOF
78223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78224 _ACEOF
78225 ac_XPG2funcs=yes
78226 else
78227 ac_XPG2funcs=no
78229 done
78232 LIBS="$ac_save_LIBS"
78234 if test x"$ac_has_iconv_h" = xyes &&
78235 test x"$ac_has_langinfo_h" = xyes &&
78236 test x"$ac_XPG2funcs" = xyes;
78237 then
78239 cat >>confdefs.h <<\_ACEOF
78240 #define _GLIBCXX_USE_ICONV 1
78241 _ACEOF
78243 enable_iconv=yes
78246 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78247 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78248 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78249 echo "${ECHO_T}$enable_iconv" >&6
78251 cat >>confdefs.h <<\_ACEOF
78252 #define HAVE_COPYSIGN 1
78253 _ACEOF
78255 cat >>confdefs.h <<\_ACEOF
78256 #define HAVE_COPYSIGNF 1
78257 _ACEOF
78259 cat >>confdefs.h <<\_ACEOF
78260 #define HAVE_FREXPF 1
78261 _ACEOF
78263 cat >>confdefs.h <<\_ACEOF
78264 #define HAVE_HYPOT 1
78265 _ACEOF
78267 case "$target" in
78268 *-hpux10*)
78269 cat >>confdefs.h <<\_ACEOF
78270 #define HAVE_FINITE 1
78271 _ACEOF
78273 cat >>confdefs.h <<\_ACEOF
78274 #define HAVE_FINITEF 1
78275 _ACEOF
78277 cat >>confdefs.h <<\_ACEOF
78278 #define HAVE_ISINF 1
78279 _ACEOF
78281 cat >>confdefs.h <<\_ACEOF
78282 #define HAVE_ISINFF 1
78283 _ACEOF
78285 cat >>confdefs.h <<\_ACEOF
78286 #define HAVE_ISNAN 1
78287 _ACEOF
78289 cat >>confdefs.h <<\_ACEOF
78290 #define HAVE_ISNANF 1
78291 _ACEOF
78294 esac
78296 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
78312 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78313 machine/endian.h machine/param.h sys/machine.h sys/types.h \
78314 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
78316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78318 echo "$as_me:$LINENO: checking for $ac_header" >&5
78319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78321 echo $ECHO_N "(cached) $ECHO_C" >&6
78323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78325 else
78326 # Is the header compilable?
78327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78329 cat >conftest.$ac_ext <<_ACEOF
78330 /* confdefs.h. */
78331 _ACEOF
78332 cat confdefs.h >>conftest.$ac_ext
78333 cat >>conftest.$ac_ext <<_ACEOF
78334 /* end confdefs.h. */
78335 $ac_includes_default
78336 #include <$ac_header>
78337 _ACEOF
78338 rm -f conftest.$ac_objext
78339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78340 (eval $ac_compile) 2>conftest.er1
78341 ac_status=$?
78342 grep -v '^ *+' conftest.er1 >conftest.err
78343 rm -f conftest.er1
78344 cat conftest.err >&5
78345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78346 (exit $ac_status); } &&
78347 { ac_try='test -z "$ac_c_werror_flag"
78348 || test ! -s conftest.err'
78349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78350 (eval $ac_try) 2>&5
78351 ac_status=$?
78352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78353 (exit $ac_status); }; } &&
78354 { ac_try='test -s conftest.$ac_objext'
78355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78356 (eval $ac_try) 2>&5
78357 ac_status=$?
78358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78359 (exit $ac_status); }; }; then
78360 ac_header_compiler=yes
78361 else
78362 echo "$as_me: failed program was:" >&5
78363 sed 's/^/| /' conftest.$ac_ext >&5
78365 ac_header_compiler=no
78367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78369 echo "${ECHO_T}$ac_header_compiler" >&6
78371 # Is the header present?
78372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78374 cat >conftest.$ac_ext <<_ACEOF
78375 /* confdefs.h. */
78376 _ACEOF
78377 cat confdefs.h >>conftest.$ac_ext
78378 cat >>conftest.$ac_ext <<_ACEOF
78379 /* end confdefs.h. */
78380 #include <$ac_header>
78381 _ACEOF
78382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78384 ac_status=$?
78385 grep -v '^ *+' conftest.er1 >conftest.err
78386 rm -f conftest.er1
78387 cat conftest.err >&5
78388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78389 (exit $ac_status); } >/dev/null; then
78390 if test -s conftest.err; then
78391 ac_cpp_err=$ac_c_preproc_warn_flag
78392 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78393 else
78394 ac_cpp_err=
78396 else
78397 ac_cpp_err=yes
78399 if test -z "$ac_cpp_err"; then
78400 ac_header_preproc=yes
78401 else
78402 echo "$as_me: failed program was:" >&5
78403 sed 's/^/| /' conftest.$ac_ext >&5
78405 ac_header_preproc=no
78407 rm -f conftest.err conftest.$ac_ext
78408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78409 echo "${ECHO_T}$ac_header_preproc" >&6
78411 # So? What about this header?
78412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78413 yes:no: )
78414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78418 ac_header_preproc=yes
78420 no:yes:* )
78421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78425 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78427 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78428 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78431 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78434 cat <<\_ASBOX
78435 ## ----------------------------------------- ##
78436 ## Report this to the package-unused lists. ##
78437 ## ----------------------------------------- ##
78438 _ASBOX
78440 sed "s/^/$as_me: WARNING: /" >&2
78442 esac
78443 echo "$as_me:$LINENO: checking for $ac_header" >&5
78444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78446 echo $ECHO_N "(cached) $ECHO_C" >&6
78447 else
78448 eval "$as_ac_Header=\$ac_header_preproc"
78450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78455 cat >>confdefs.h <<_ACEOF
78456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78457 _ACEOF
78461 done
78463 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78466 # All these tests are for C++; save the language and the compiler flags.
78467 # The CXXFLAGS thing is suspicious, but based on similar bits previously
78468 # found in GLIBCXX_CONFIGURE.
78471 ac_ext=cc
78472 ac_cpp='$CXXCPP $CPPFLAGS'
78473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78477 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78478 ac_save_CXXFLAGS="$CXXFLAGS"
78480 # Check for maintainer-mode bits.
78481 if test x"$USE_MAINTAINER_MODE" = xno; then
78482 WERROR=''
78483 else
78484 WERROR='-Werror'
78487 # Check for -ffunction-sections -fdata-sections
78488 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
78489 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
78490 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
78491 cat >conftest.$ac_ext <<_ACEOF
78492 /* confdefs.h. */
78493 _ACEOF
78494 cat confdefs.h >>conftest.$ac_ext
78495 cat >>conftest.$ac_ext <<_ACEOF
78496 /* end confdefs.h. */
78499 main ()
78501 int foo;
78503 return 0;
78505 _ACEOF
78506 rm -f conftest.$ac_objext
78507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78508 (eval $ac_compile) 2>conftest.er1
78509 ac_status=$?
78510 grep -v '^ *+' conftest.er1 >conftest.err
78511 rm -f conftest.er1
78512 cat conftest.err >&5
78513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78514 (exit $ac_status); } &&
78515 { ac_try='test -z "$ac_cxx_werror_flag"
78516 || test ! -s conftest.err'
78517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78518 (eval $ac_try) 2>&5
78519 ac_status=$?
78520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78521 (exit $ac_status); }; } &&
78522 { ac_try='test -s conftest.$ac_objext'
78523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78524 (eval $ac_try) 2>&5
78525 ac_status=$?
78526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78527 (exit $ac_status); }; }; then
78528 ac_fdsections=yes
78529 else
78530 echo "$as_me: failed program was:" >&5
78531 sed 's/^/| /' conftest.$ac_ext >&5
78533 ac_fdsections=no
78535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78536 if test "$ac_test_CXXFLAGS" = set; then
78537 CXXFLAGS="$ac_save_CXXFLAGS"
78538 else
78539 # this is the suspicious part
78540 CXXFLAGS=''
78542 if test x"$ac_fdsections" = x"yes"; then
78543 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78545 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
78546 echo "${ECHO_T}$ac_fdsections" >&6
78548 ac_ext=c
78549 ac_cpp='$CPP $CPPFLAGS'
78550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78558 # If we're not using GNU ld, then there's no point in even trying these
78559 # tests. Check for that first. We should have already tested for gld
78560 # by now (in libtool), but require it now just to be safe...
78561 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78562 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78566 # The name set by libtool depends on the version of libtool. Shame on us
78567 # for depending on an impl detail, but c'est la vie. Older versions used
78568 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78569 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78570 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78571 # set (hence we're using an older libtool), then set it.
78572 if test x${with_gnu_ld+set} != xset; then
78573 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78574 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78575 with_gnu_ld=no
78576 else
78577 with_gnu_ld=$ac_cv_prog_gnu_ld
78581 # Start by getting the version number. I think the libtool test already
78582 # does some of this, but throws away the result.
78583 echo "$as_me:$LINENO: checking for ld version" >&5
78584 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78586 ldver=`$LD --version 2>/dev/null | head -1 | \
78587 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
78589 glibcxx_gnu_ld_version=`echo $ldver | \
78590 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78591 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78592 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78594 # Set --gc-sections.
78595 glibcxx_gcsections_min_ld=21602
78596 if test x"$with_gnu_ld" = x"yes" &&
78597 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78599 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
78600 # NB: This flag only works reliably after 2.16.1. Configure tests
78601 # for this are difficult, so hard wire a value that should work.
78603 # All these tests are for C++, but run with the "C" compiler driver.
78604 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
78605 ac_test_CFLAGS="${CFLAGS+set}"
78606 ac_save_CFLAGS="$CFLAGS"
78607 CFLAGS='-x c++ -Wl,--gc-sections'
78609 # Check for -Wl,--gc-sections
78610 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78611 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78612 if test x$gcc_no_link = xyes; then
78613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78615 { (exit 1); exit 1; }; }
78617 cat >conftest.$ac_ext <<_ACEOF
78618 /* confdefs.h. */
78619 _ACEOF
78620 cat confdefs.h >>conftest.$ac_ext
78621 cat >>conftest.$ac_ext <<_ACEOF
78622 /* end confdefs.h. */
78623 int one(void) { return 1; }
78624 int two(void) { return 2; }
78627 main ()
78629 two();
78631 return 0;
78633 _ACEOF
78634 rm -f conftest.$ac_objext conftest$ac_exeext
78635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78636 (eval $ac_link) 2>conftest.er1
78637 ac_status=$?
78638 grep -v '^ *+' conftest.er1 >conftest.err
78639 rm -f conftest.er1
78640 cat conftest.err >&5
78641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78642 (exit $ac_status); } &&
78643 { ac_try='test -z "$ac_c_werror_flag"
78644 || test ! -s conftest.err'
78645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78646 (eval $ac_try) 2>&5
78647 ac_status=$?
78648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78649 (exit $ac_status); }; } &&
78650 { ac_try='test -s conftest$ac_exeext'
78651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78652 (eval $ac_try) 2>&5
78653 ac_status=$?
78654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78655 (exit $ac_status); }; }; then
78656 ac_gcsections=yes
78657 else
78658 echo "$as_me: failed program was:" >&5
78659 sed 's/^/| /' conftest.$ac_ext >&5
78661 ac_gcsections=no
78663 rm -f conftest.err conftest.$ac_objext \
78664 conftest$ac_exeext conftest.$ac_ext
78665 if test "$ac_gcsections" = "yes"; then
78666 rm -f conftest.c
78667 touch conftest.c
78668 if $CC -c conftest.c; then
78669 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78670 grep "Warning: gc-sections option ignored" > /dev/null; then
78671 ac_gcsections=no
78674 rm -f conftest.c conftest.o conftest
78676 if test "$ac_gcsections" = "yes"; then
78677 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78679 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78680 echo "${ECHO_T}$ac_gcsections" >&6
78682 if test "$ac_test_CFLAGS" = set; then
78683 CFLAGS="$ac_save_CFLAGS"
78684 else
78685 # this is the suspicious part
78686 CFLAGS=''
78690 # Set -z,relro.
78691 # Note this is only for shared objects.
78692 ac_ld_relro=no
78693 if test x"$with_gnu_ld" = x"yes"; then
78694 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78695 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78696 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78697 if test -n "$cxx_z_relo"; then
78698 OPT_LDFLAGS="-Wl,-z,relro"
78699 ac_ld_relro=yes
78701 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78702 echo "${ECHO_T}$ac_ld_relro" >&6
78705 # Set linker optimization flags.
78706 if test x"$with_gnu_ld" = x"yes"; then
78707 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78714 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78715 ac_save_CXXFLAGS="$CXXFLAGS"
78716 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78718 echo "$as_me:$LINENO: checking for sin in -lm" >&5
78719 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
78720 if test "${ac_cv_lib_m_sin+set}" = set; then
78721 echo $ECHO_N "(cached) $ECHO_C" >&6
78722 else
78723 ac_check_lib_save_LIBS=$LIBS
78724 LIBS="-lm $LIBS"
78725 if test x$gcc_no_link = xyes; then
78726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78728 { (exit 1); exit 1; }; }
78730 cat >conftest.$ac_ext <<_ACEOF
78731 /* confdefs.h. */
78732 _ACEOF
78733 cat confdefs.h >>conftest.$ac_ext
78734 cat >>conftest.$ac_ext <<_ACEOF
78735 /* end confdefs.h. */
78737 /* Override any gcc2 internal prototype to avoid an error. */
78738 #ifdef __cplusplus
78739 extern "C"
78740 #endif
78741 /* We use char because int might match the return type of a gcc2
78742 builtin and then its argument prototype would still apply. */
78743 char sin ();
78745 main ()
78747 sin ();
78749 return 0;
78751 _ACEOF
78752 rm -f conftest.$ac_objext conftest$ac_exeext
78753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78754 (eval $ac_link) 2>conftest.er1
78755 ac_status=$?
78756 grep -v '^ *+' conftest.er1 >conftest.err
78757 rm -f conftest.er1
78758 cat conftest.err >&5
78759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78760 (exit $ac_status); } &&
78761 { ac_try='test -z "$ac_c_werror_flag"
78762 || test ! -s conftest.err'
78763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78764 (eval $ac_try) 2>&5
78765 ac_status=$?
78766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78767 (exit $ac_status); }; } &&
78768 { ac_try='test -s conftest$ac_exeext'
78769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78770 (eval $ac_try) 2>&5
78771 ac_status=$?
78772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78773 (exit $ac_status); }; }; then
78774 ac_cv_lib_m_sin=yes
78775 else
78776 echo "$as_me: failed program was:" >&5
78777 sed 's/^/| /' conftest.$ac_ext >&5
78779 ac_cv_lib_m_sin=no
78781 rm -f conftest.err conftest.$ac_objext \
78782 conftest$ac_exeext conftest.$ac_ext
78783 LIBS=$ac_check_lib_save_LIBS
78785 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
78786 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
78787 if test $ac_cv_lib_m_sin = yes; then
78788 libm="-lm"
78791 ac_save_LIBS="$LIBS"
78792 LIBS="$LIBS $libm"
78796 echo "$as_me:$LINENO: checking for isinf declaration" >&5
78797 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
78798 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
78799 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
78800 echo $ECHO_N "(cached) $ECHO_C" >&6
78801 else
78805 ac_ext=cc
78806 ac_cpp='$CXXCPP $CPPFLAGS'
78807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78811 cat >conftest.$ac_ext <<_ACEOF
78812 /* confdefs.h. */
78813 _ACEOF
78814 cat confdefs.h >>conftest.$ac_ext
78815 cat >>conftest.$ac_ext <<_ACEOF
78816 /* end confdefs.h. */
78817 #include <math.h>
78818 #ifdef HAVE_IEEEFP_H
78819 #include <ieeefp.h>
78820 #endif
78823 main ()
78825 isinf(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_isinf_use=yes
78853 else
78854 echo "$as_me: failed program was:" >&5
78855 sed 's/^/| /' conftest.$ac_ext >&5
78857 glibcxx_cv_func_isinf_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_isinf_use" >&5
78871 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
78873 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
78875 for ac_func in isinf
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 _isinf declaration" >&5
78984 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
78985 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
78986 if test "${glibcxx_cv_func__isinf_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>
79005 #ifdef HAVE_IEEEFP_H
79006 #include <ieeefp.h>
79007 #endif
79010 main ()
79012 _isinf(0);
79014 return 0;
79016 _ACEOF
79017 rm -f conftest.$ac_objext
79018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79019 (eval $ac_compile) 2>conftest.er1
79020 ac_status=$?
79021 grep -v '^ *+' conftest.er1 >conftest.err
79022 rm -f conftest.er1
79023 cat conftest.err >&5
79024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79025 (exit $ac_status); } &&
79026 { ac_try='test -z "$ac_cxx_werror_flag"
79027 || test ! -s conftest.err'
79028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79029 (eval $ac_try) 2>&5
79030 ac_status=$?
79031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79032 (exit $ac_status); }; } &&
79033 { ac_try='test -s conftest.$ac_objext'
79034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79035 (eval $ac_try) 2>&5
79036 ac_status=$?
79037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79038 (exit $ac_status); }; }; then
79039 glibcxx_cv_func__isinf_use=yes
79040 else
79041 echo "$as_me: failed program was:" >&5
79042 sed 's/^/| /' conftest.$ac_ext >&5
79044 glibcxx_cv_func__isinf_use=no
79046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79047 ac_ext=c
79048 ac_cpp='$CPP $CPPFLAGS'
79049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79057 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
79058 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
79060 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
79062 for ac_func in _isinf
79064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79065 echo "$as_me:$LINENO: checking for $ac_func" >&5
79066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79067 if eval "test \"\${$as_ac_var+set}\" = set"; then
79068 echo $ECHO_N "(cached) $ECHO_C" >&6
79069 else
79070 if test x$gcc_no_link = xyes; then
79071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79073 { (exit 1); exit 1; }; }
79075 cat >conftest.$ac_ext <<_ACEOF
79076 /* confdefs.h. */
79077 _ACEOF
79078 cat confdefs.h >>conftest.$ac_ext
79079 cat >>conftest.$ac_ext <<_ACEOF
79080 /* end confdefs.h. */
79081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79083 #define $ac_func innocuous_$ac_func
79085 /* System header to define __stub macros and hopefully few prototypes,
79086 which can conflict with char $ac_func (); below.
79087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79088 <limits.h> exists even on freestanding compilers. */
79090 #ifdef __STDC__
79091 # include <limits.h>
79092 #else
79093 # include <assert.h>
79094 #endif
79096 #undef $ac_func
79098 /* Override any gcc2 internal prototype to avoid an error. */
79099 #ifdef __cplusplus
79100 extern "C"
79102 #endif
79103 /* We use char because int might match the return type of a gcc2
79104 builtin and then its argument prototype would still apply. */
79105 char $ac_func ();
79106 /* The GNU C library defines this for functions which it implements
79107 to always fail with ENOSYS. Some functions are actually named
79108 something starting with __ and the normal name is an alias. */
79109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79110 choke me
79111 #else
79112 char (*f) () = $ac_func;
79113 #endif
79114 #ifdef __cplusplus
79116 #endif
79119 main ()
79121 return f != $ac_func;
79123 return 0;
79125 _ACEOF
79126 rm -f conftest.$ac_objext conftest$ac_exeext
79127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79128 (eval $ac_link) 2>conftest.er1
79129 ac_status=$?
79130 grep -v '^ *+' conftest.er1 >conftest.err
79131 rm -f conftest.er1
79132 cat conftest.err >&5
79133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79134 (exit $ac_status); } &&
79135 { ac_try='test -z "$ac_c_werror_flag"
79136 || test ! -s conftest.err'
79137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79138 (eval $ac_try) 2>&5
79139 ac_status=$?
79140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79141 (exit $ac_status); }; } &&
79142 { ac_try='test -s conftest$ac_exeext'
79143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79144 (eval $ac_try) 2>&5
79145 ac_status=$?
79146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79147 (exit $ac_status); }; }; then
79148 eval "$as_ac_var=yes"
79149 else
79150 echo "$as_me: failed program was:" >&5
79151 sed 's/^/| /' conftest.$ac_ext >&5
79153 eval "$as_ac_var=no"
79155 rm -f conftest.err conftest.$ac_objext \
79156 conftest$ac_exeext conftest.$ac_ext
79158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79160 if test `eval echo '${'$as_ac_var'}'` = yes; then
79161 cat >>confdefs.h <<_ACEOF
79162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79163 _ACEOF
79166 done
79176 echo "$as_me:$LINENO: checking for isnan declaration" >&5
79177 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
79178 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
79179 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
79180 echo $ECHO_N "(cached) $ECHO_C" >&6
79181 else
79185 ac_ext=cc
79186 ac_cpp='$CXXCPP $CPPFLAGS'
79187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79191 cat >conftest.$ac_ext <<_ACEOF
79192 /* confdefs.h. */
79193 _ACEOF
79194 cat confdefs.h >>conftest.$ac_ext
79195 cat >>conftest.$ac_ext <<_ACEOF
79196 /* end confdefs.h. */
79197 #include <math.h>
79198 #ifdef HAVE_IEEEFP_H
79199 #include <ieeefp.h>
79200 #endif
79203 main ()
79205 isnan(0);
79207 return 0;
79209 _ACEOF
79210 rm -f conftest.$ac_objext
79211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79212 (eval $ac_compile) 2>conftest.er1
79213 ac_status=$?
79214 grep -v '^ *+' conftest.er1 >conftest.err
79215 rm -f conftest.er1
79216 cat conftest.err >&5
79217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79218 (exit $ac_status); } &&
79219 { ac_try='test -z "$ac_cxx_werror_flag"
79220 || test ! -s conftest.err'
79221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79222 (eval $ac_try) 2>&5
79223 ac_status=$?
79224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79225 (exit $ac_status); }; } &&
79226 { ac_try='test -s conftest.$ac_objext'
79227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79228 (eval $ac_try) 2>&5
79229 ac_status=$?
79230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79231 (exit $ac_status); }; }; then
79232 glibcxx_cv_func_isnan_use=yes
79233 else
79234 echo "$as_me: failed program was:" >&5
79235 sed 's/^/| /' conftest.$ac_ext >&5
79237 glibcxx_cv_func_isnan_use=no
79239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79240 ac_ext=c
79241 ac_cpp='$CPP $CPPFLAGS'
79242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79250 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
79251 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
79253 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
79255 for ac_func in isnan
79257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79258 echo "$as_me:$LINENO: checking for $ac_func" >&5
79259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79260 if eval "test \"\${$as_ac_var+set}\" = set"; then
79261 echo $ECHO_N "(cached) $ECHO_C" >&6
79262 else
79263 if test x$gcc_no_link = xyes; then
79264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79266 { (exit 1); exit 1; }; }
79268 cat >conftest.$ac_ext <<_ACEOF
79269 /* confdefs.h. */
79270 _ACEOF
79271 cat confdefs.h >>conftest.$ac_ext
79272 cat >>conftest.$ac_ext <<_ACEOF
79273 /* end confdefs.h. */
79274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79276 #define $ac_func innocuous_$ac_func
79278 /* System header to define __stub macros and hopefully few prototypes,
79279 which can conflict with char $ac_func (); below.
79280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79281 <limits.h> exists even on freestanding compilers. */
79283 #ifdef __STDC__
79284 # include <limits.h>
79285 #else
79286 # include <assert.h>
79287 #endif
79289 #undef $ac_func
79291 /* Override any gcc2 internal prototype to avoid an error. */
79292 #ifdef __cplusplus
79293 extern "C"
79295 #endif
79296 /* We use char because int might match the return type of a gcc2
79297 builtin and then its argument prototype would still apply. */
79298 char $ac_func ();
79299 /* The GNU C library defines this for functions which it implements
79300 to always fail with ENOSYS. Some functions are actually named
79301 something starting with __ and the normal name is an alias. */
79302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79303 choke me
79304 #else
79305 char (*f) () = $ac_func;
79306 #endif
79307 #ifdef __cplusplus
79309 #endif
79312 main ()
79314 return f != $ac_func;
79316 return 0;
79318 _ACEOF
79319 rm -f conftest.$ac_objext conftest$ac_exeext
79320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79321 (eval $ac_link) 2>conftest.er1
79322 ac_status=$?
79323 grep -v '^ *+' conftest.er1 >conftest.err
79324 rm -f conftest.er1
79325 cat conftest.err >&5
79326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79327 (exit $ac_status); } &&
79328 { ac_try='test -z "$ac_c_werror_flag"
79329 || test ! -s conftest.err'
79330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79331 (eval $ac_try) 2>&5
79332 ac_status=$?
79333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79334 (exit $ac_status); }; } &&
79335 { ac_try='test -s conftest$ac_exeext'
79336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79337 (eval $ac_try) 2>&5
79338 ac_status=$?
79339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79340 (exit $ac_status); }; }; then
79341 eval "$as_ac_var=yes"
79342 else
79343 echo "$as_me: failed program was:" >&5
79344 sed 's/^/| /' conftest.$ac_ext >&5
79346 eval "$as_ac_var=no"
79348 rm -f conftest.err conftest.$ac_objext \
79349 conftest$ac_exeext conftest.$ac_ext
79351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79353 if test `eval echo '${'$as_ac_var'}'` = yes; then
79354 cat >>confdefs.h <<_ACEOF
79355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79356 _ACEOF
79359 done
79361 else
79363 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
79364 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
79365 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
79366 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
79367 echo $ECHO_N "(cached) $ECHO_C" >&6
79368 else
79372 ac_ext=cc
79373 ac_cpp='$CXXCPP $CPPFLAGS'
79374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79378 cat >conftest.$ac_ext <<_ACEOF
79379 /* confdefs.h. */
79380 _ACEOF
79381 cat confdefs.h >>conftest.$ac_ext
79382 cat >>conftest.$ac_ext <<_ACEOF
79383 /* end confdefs.h. */
79384 #include <math.h>
79385 #ifdef HAVE_IEEEFP_H
79386 #include <ieeefp.h>
79387 #endif
79390 main ()
79392 _isnan(0);
79394 return 0;
79396 _ACEOF
79397 rm -f conftest.$ac_objext
79398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79399 (eval $ac_compile) 2>conftest.er1
79400 ac_status=$?
79401 grep -v '^ *+' conftest.er1 >conftest.err
79402 rm -f conftest.er1
79403 cat conftest.err >&5
79404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79405 (exit $ac_status); } &&
79406 { ac_try='test -z "$ac_cxx_werror_flag"
79407 || test ! -s conftest.err'
79408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79409 (eval $ac_try) 2>&5
79410 ac_status=$?
79411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79412 (exit $ac_status); }; } &&
79413 { ac_try='test -s conftest.$ac_objext'
79414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79415 (eval $ac_try) 2>&5
79416 ac_status=$?
79417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79418 (exit $ac_status); }; }; then
79419 glibcxx_cv_func__isnan_use=yes
79420 else
79421 echo "$as_me: failed program was:" >&5
79422 sed 's/^/| /' conftest.$ac_ext >&5
79424 glibcxx_cv_func__isnan_use=no
79426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79427 ac_ext=c
79428 ac_cpp='$CPP $CPPFLAGS'
79429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79437 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
79438 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
79440 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
79442 for ac_func in _isnan
79444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79445 echo "$as_me:$LINENO: checking for $ac_func" >&5
79446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79447 if eval "test \"\${$as_ac_var+set}\" = set"; then
79448 echo $ECHO_N "(cached) $ECHO_C" >&6
79449 else
79450 if test x$gcc_no_link = xyes; then
79451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79453 { (exit 1); exit 1; }; }
79455 cat >conftest.$ac_ext <<_ACEOF
79456 /* confdefs.h. */
79457 _ACEOF
79458 cat confdefs.h >>conftest.$ac_ext
79459 cat >>conftest.$ac_ext <<_ACEOF
79460 /* end confdefs.h. */
79461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79463 #define $ac_func innocuous_$ac_func
79465 /* System header to define __stub macros and hopefully few prototypes,
79466 which can conflict with char $ac_func (); below.
79467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79468 <limits.h> exists even on freestanding compilers. */
79470 #ifdef __STDC__
79471 # include <limits.h>
79472 #else
79473 # include <assert.h>
79474 #endif
79476 #undef $ac_func
79478 /* Override any gcc2 internal prototype to avoid an error. */
79479 #ifdef __cplusplus
79480 extern "C"
79482 #endif
79483 /* We use char because int might match the return type of a gcc2
79484 builtin and then its argument prototype would still apply. */
79485 char $ac_func ();
79486 /* The GNU C library defines this for functions which it implements
79487 to always fail with ENOSYS. Some functions are actually named
79488 something starting with __ and the normal name is an alias. */
79489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79490 choke me
79491 #else
79492 char (*f) () = $ac_func;
79493 #endif
79494 #ifdef __cplusplus
79496 #endif
79499 main ()
79501 return f != $ac_func;
79503 return 0;
79505 _ACEOF
79506 rm -f conftest.$ac_objext conftest$ac_exeext
79507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79508 (eval $ac_link) 2>conftest.er1
79509 ac_status=$?
79510 grep -v '^ *+' conftest.er1 >conftest.err
79511 rm -f conftest.er1
79512 cat conftest.err >&5
79513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79514 (exit $ac_status); } &&
79515 { ac_try='test -z "$ac_c_werror_flag"
79516 || test ! -s conftest.err'
79517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79518 (eval $ac_try) 2>&5
79519 ac_status=$?
79520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79521 (exit $ac_status); }; } &&
79522 { ac_try='test -s conftest$ac_exeext'
79523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79524 (eval $ac_try) 2>&5
79525 ac_status=$?
79526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79527 (exit $ac_status); }; }; then
79528 eval "$as_ac_var=yes"
79529 else
79530 echo "$as_me: failed program was:" >&5
79531 sed 's/^/| /' conftest.$ac_ext >&5
79533 eval "$as_ac_var=no"
79535 rm -f conftest.err conftest.$ac_objext \
79536 conftest$ac_exeext conftest.$ac_ext
79538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79540 if test `eval echo '${'$as_ac_var'}'` = yes; then
79541 cat >>confdefs.h <<_ACEOF
79542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79543 _ACEOF
79546 done
79556 echo "$as_me:$LINENO: checking for finite declaration" >&5
79557 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
79558 if test x${glibcxx_cv_func_finite_use+set} != xset; then
79559 if test "${glibcxx_cv_func_finite_use+set}" = set; then
79560 echo $ECHO_N "(cached) $ECHO_C" >&6
79561 else
79565 ac_ext=cc
79566 ac_cpp='$CXXCPP $CPPFLAGS'
79567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79571 cat >conftest.$ac_ext <<_ACEOF
79572 /* confdefs.h. */
79573 _ACEOF
79574 cat confdefs.h >>conftest.$ac_ext
79575 cat >>conftest.$ac_ext <<_ACEOF
79576 /* end confdefs.h. */
79577 #include <math.h>
79578 #ifdef HAVE_IEEEFP_H
79579 #include <ieeefp.h>
79580 #endif
79583 main ()
79585 finite(0);
79587 return 0;
79589 _ACEOF
79590 rm -f conftest.$ac_objext
79591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79592 (eval $ac_compile) 2>conftest.er1
79593 ac_status=$?
79594 grep -v '^ *+' conftest.er1 >conftest.err
79595 rm -f conftest.er1
79596 cat conftest.err >&5
79597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79598 (exit $ac_status); } &&
79599 { ac_try='test -z "$ac_cxx_werror_flag"
79600 || test ! -s conftest.err'
79601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79602 (eval $ac_try) 2>&5
79603 ac_status=$?
79604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79605 (exit $ac_status); }; } &&
79606 { ac_try='test -s conftest.$ac_objext'
79607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79608 (eval $ac_try) 2>&5
79609 ac_status=$?
79610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79611 (exit $ac_status); }; }; then
79612 glibcxx_cv_func_finite_use=yes
79613 else
79614 echo "$as_me: failed program was:" >&5
79615 sed 's/^/| /' conftest.$ac_ext >&5
79617 glibcxx_cv_func_finite_use=no
79619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79620 ac_ext=c
79621 ac_cpp='$CPP $CPPFLAGS'
79622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79630 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
79631 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
79633 if test x$glibcxx_cv_func_finite_use = x"yes"; then
79635 for ac_func in finite
79637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79638 echo "$as_me:$LINENO: checking for $ac_func" >&5
79639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79640 if eval "test \"\${$as_ac_var+set}\" = set"; then
79641 echo $ECHO_N "(cached) $ECHO_C" >&6
79642 else
79643 if test x$gcc_no_link = xyes; then
79644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79646 { (exit 1); exit 1; }; }
79648 cat >conftest.$ac_ext <<_ACEOF
79649 /* confdefs.h. */
79650 _ACEOF
79651 cat confdefs.h >>conftest.$ac_ext
79652 cat >>conftest.$ac_ext <<_ACEOF
79653 /* end confdefs.h. */
79654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79656 #define $ac_func innocuous_$ac_func
79658 /* System header to define __stub macros and hopefully few prototypes,
79659 which can conflict with char $ac_func (); below.
79660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79661 <limits.h> exists even on freestanding compilers. */
79663 #ifdef __STDC__
79664 # include <limits.h>
79665 #else
79666 # include <assert.h>
79667 #endif
79669 #undef $ac_func
79671 /* Override any gcc2 internal prototype to avoid an error. */
79672 #ifdef __cplusplus
79673 extern "C"
79675 #endif
79676 /* We use char because int might match the return type of a gcc2
79677 builtin and then its argument prototype would still apply. */
79678 char $ac_func ();
79679 /* The GNU C library defines this for functions which it implements
79680 to always fail with ENOSYS. Some functions are actually named
79681 something starting with __ and the normal name is an alias. */
79682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79683 choke me
79684 #else
79685 char (*f) () = $ac_func;
79686 #endif
79687 #ifdef __cplusplus
79689 #endif
79692 main ()
79694 return f != $ac_func;
79696 return 0;
79698 _ACEOF
79699 rm -f conftest.$ac_objext conftest$ac_exeext
79700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79701 (eval $ac_link) 2>conftest.er1
79702 ac_status=$?
79703 grep -v '^ *+' conftest.er1 >conftest.err
79704 rm -f conftest.er1
79705 cat conftest.err >&5
79706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79707 (exit $ac_status); } &&
79708 { ac_try='test -z "$ac_c_werror_flag"
79709 || test ! -s conftest.err'
79710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79711 (eval $ac_try) 2>&5
79712 ac_status=$?
79713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79714 (exit $ac_status); }; } &&
79715 { ac_try='test -s conftest$ac_exeext'
79716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79717 (eval $ac_try) 2>&5
79718 ac_status=$?
79719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79720 (exit $ac_status); }; }; then
79721 eval "$as_ac_var=yes"
79722 else
79723 echo "$as_me: failed program was:" >&5
79724 sed 's/^/| /' conftest.$ac_ext >&5
79726 eval "$as_ac_var=no"
79728 rm -f conftest.err conftest.$ac_objext \
79729 conftest$ac_exeext conftest.$ac_ext
79731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79733 if test `eval echo '${'$as_ac_var'}'` = yes; then
79734 cat >>confdefs.h <<_ACEOF
79735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79736 _ACEOF
79739 done
79741 else
79743 echo "$as_me:$LINENO: checking for _finite declaration" >&5
79744 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
79745 if test x${glibcxx_cv_func__finite_use+set} != xset; then
79746 if test "${glibcxx_cv_func__finite_use+set}" = set; then
79747 echo $ECHO_N "(cached) $ECHO_C" >&6
79748 else
79752 ac_ext=cc
79753 ac_cpp='$CXXCPP $CPPFLAGS'
79754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79758 cat >conftest.$ac_ext <<_ACEOF
79759 /* confdefs.h. */
79760 _ACEOF
79761 cat confdefs.h >>conftest.$ac_ext
79762 cat >>conftest.$ac_ext <<_ACEOF
79763 /* end confdefs.h. */
79764 #include <math.h>
79765 #ifdef HAVE_IEEEFP_H
79766 #include <ieeefp.h>
79767 #endif
79770 main ()
79772 _finite(0);
79774 return 0;
79776 _ACEOF
79777 rm -f conftest.$ac_objext
79778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79779 (eval $ac_compile) 2>conftest.er1
79780 ac_status=$?
79781 grep -v '^ *+' conftest.er1 >conftest.err
79782 rm -f conftest.er1
79783 cat conftest.err >&5
79784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79785 (exit $ac_status); } &&
79786 { ac_try='test -z "$ac_cxx_werror_flag"
79787 || test ! -s conftest.err'
79788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79789 (eval $ac_try) 2>&5
79790 ac_status=$?
79791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79792 (exit $ac_status); }; } &&
79793 { ac_try='test -s conftest.$ac_objext'
79794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79795 (eval $ac_try) 2>&5
79796 ac_status=$?
79797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79798 (exit $ac_status); }; }; then
79799 glibcxx_cv_func__finite_use=yes
79800 else
79801 echo "$as_me: failed program was:" >&5
79802 sed 's/^/| /' conftest.$ac_ext >&5
79804 glibcxx_cv_func__finite_use=no
79806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79807 ac_ext=c
79808 ac_cpp='$CPP $CPPFLAGS'
79809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79817 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
79818 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
79820 if test x$glibcxx_cv_func__finite_use = x"yes"; then
79822 for ac_func in _finite
79824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79825 echo "$as_me:$LINENO: checking for $ac_func" >&5
79826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79827 if eval "test \"\${$as_ac_var+set}\" = set"; then
79828 echo $ECHO_N "(cached) $ECHO_C" >&6
79829 else
79830 if test x$gcc_no_link = xyes; then
79831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79833 { (exit 1); exit 1; }; }
79835 cat >conftest.$ac_ext <<_ACEOF
79836 /* confdefs.h. */
79837 _ACEOF
79838 cat confdefs.h >>conftest.$ac_ext
79839 cat >>conftest.$ac_ext <<_ACEOF
79840 /* end confdefs.h. */
79841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79843 #define $ac_func innocuous_$ac_func
79845 /* System header to define __stub macros and hopefully few prototypes,
79846 which can conflict with char $ac_func (); below.
79847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79848 <limits.h> exists even on freestanding compilers. */
79850 #ifdef __STDC__
79851 # include <limits.h>
79852 #else
79853 # include <assert.h>
79854 #endif
79856 #undef $ac_func
79858 /* Override any gcc2 internal prototype to avoid an error. */
79859 #ifdef __cplusplus
79860 extern "C"
79862 #endif
79863 /* We use char because int might match the return type of a gcc2
79864 builtin and then its argument prototype would still apply. */
79865 char $ac_func ();
79866 /* The GNU C library defines this for functions which it implements
79867 to always fail with ENOSYS. Some functions are actually named
79868 something starting with __ and the normal name is an alias. */
79869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79870 choke me
79871 #else
79872 char (*f) () = $ac_func;
79873 #endif
79874 #ifdef __cplusplus
79876 #endif
79879 main ()
79881 return f != $ac_func;
79883 return 0;
79885 _ACEOF
79886 rm -f conftest.$ac_objext conftest$ac_exeext
79887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79888 (eval $ac_link) 2>conftest.er1
79889 ac_status=$?
79890 grep -v '^ *+' conftest.er1 >conftest.err
79891 rm -f conftest.er1
79892 cat conftest.err >&5
79893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79894 (exit $ac_status); } &&
79895 { ac_try='test -z "$ac_c_werror_flag"
79896 || test ! -s conftest.err'
79897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79898 (eval $ac_try) 2>&5
79899 ac_status=$?
79900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79901 (exit $ac_status); }; } &&
79902 { ac_try='test -s conftest$ac_exeext'
79903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79904 (eval $ac_try) 2>&5
79905 ac_status=$?
79906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79907 (exit $ac_status); }; }; then
79908 eval "$as_ac_var=yes"
79909 else
79910 echo "$as_me: failed program was:" >&5
79911 sed 's/^/| /' conftest.$ac_ext >&5
79913 eval "$as_ac_var=no"
79915 rm -f conftest.err conftest.$ac_objext \
79916 conftest$ac_exeext conftest.$ac_ext
79918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79920 if test `eval echo '${'$as_ac_var'}'` = yes; then
79921 cat >>confdefs.h <<_ACEOF
79922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79923 _ACEOF
79926 done
79936 echo "$as_me:$LINENO: checking for copysign declaration" >&5
79937 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
79938 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
79939 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
79940 echo $ECHO_N "(cached) $ECHO_C" >&6
79941 else
79945 ac_ext=cc
79946 ac_cpp='$CXXCPP $CPPFLAGS'
79947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79951 cat >conftest.$ac_ext <<_ACEOF
79952 /* confdefs.h. */
79953 _ACEOF
79954 cat confdefs.h >>conftest.$ac_ext
79955 cat >>conftest.$ac_ext <<_ACEOF
79956 /* end confdefs.h. */
79957 #include <math.h>
79959 main ()
79961 copysign(0, 0);
79963 return 0;
79965 _ACEOF
79966 rm -f conftest.$ac_objext
79967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79968 (eval $ac_compile) 2>conftest.er1
79969 ac_status=$?
79970 grep -v '^ *+' conftest.er1 >conftest.err
79971 rm -f conftest.er1
79972 cat conftest.err >&5
79973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79974 (exit $ac_status); } &&
79975 { ac_try='test -z "$ac_cxx_werror_flag"
79976 || test ! -s conftest.err'
79977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79978 (eval $ac_try) 2>&5
79979 ac_status=$?
79980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79981 (exit $ac_status); }; } &&
79982 { ac_try='test -s conftest.$ac_objext'
79983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79984 (eval $ac_try) 2>&5
79985 ac_status=$?
79986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79987 (exit $ac_status); }; }; then
79988 glibcxx_cv_func_copysign_use=yes
79989 else
79990 echo "$as_me: failed program was:" >&5
79991 sed 's/^/| /' conftest.$ac_ext >&5
79993 glibcxx_cv_func_copysign_use=no
79995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79996 ac_ext=c
79997 ac_cpp='$CPP $CPPFLAGS'
79998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80006 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
80007 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
80009 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
80011 for ac_func in copysign
80013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80014 echo "$as_me:$LINENO: checking for $ac_func" >&5
80015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80016 if eval "test \"\${$as_ac_var+set}\" = set"; then
80017 echo $ECHO_N "(cached) $ECHO_C" >&6
80018 else
80019 if test x$gcc_no_link = xyes; then
80020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80022 { (exit 1); exit 1; }; }
80024 cat >conftest.$ac_ext <<_ACEOF
80025 /* confdefs.h. */
80026 _ACEOF
80027 cat confdefs.h >>conftest.$ac_ext
80028 cat >>conftest.$ac_ext <<_ACEOF
80029 /* end confdefs.h. */
80030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80032 #define $ac_func innocuous_$ac_func
80034 /* System header to define __stub macros and hopefully few prototypes,
80035 which can conflict with char $ac_func (); below.
80036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80037 <limits.h> exists even on freestanding compilers. */
80039 #ifdef __STDC__
80040 # include <limits.h>
80041 #else
80042 # include <assert.h>
80043 #endif
80045 #undef $ac_func
80047 /* Override any gcc2 internal prototype to avoid an error. */
80048 #ifdef __cplusplus
80049 extern "C"
80051 #endif
80052 /* We use char because int might match the return type of a gcc2
80053 builtin and then its argument prototype would still apply. */
80054 char $ac_func ();
80055 /* The GNU C library defines this for functions which it implements
80056 to always fail with ENOSYS. Some functions are actually named
80057 something starting with __ and the normal name is an alias. */
80058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80059 choke me
80060 #else
80061 char (*f) () = $ac_func;
80062 #endif
80063 #ifdef __cplusplus
80065 #endif
80068 main ()
80070 return f != $ac_func;
80072 return 0;
80074 _ACEOF
80075 rm -f conftest.$ac_objext conftest$ac_exeext
80076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80077 (eval $ac_link) 2>conftest.er1
80078 ac_status=$?
80079 grep -v '^ *+' conftest.er1 >conftest.err
80080 rm -f conftest.er1
80081 cat conftest.err >&5
80082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80083 (exit $ac_status); } &&
80084 { ac_try='test -z "$ac_c_werror_flag"
80085 || test ! -s conftest.err'
80086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80087 (eval $ac_try) 2>&5
80088 ac_status=$?
80089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80090 (exit $ac_status); }; } &&
80091 { ac_try='test -s conftest$ac_exeext'
80092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80093 (eval $ac_try) 2>&5
80094 ac_status=$?
80095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80096 (exit $ac_status); }; }; then
80097 eval "$as_ac_var=yes"
80098 else
80099 echo "$as_me: failed program was:" >&5
80100 sed 's/^/| /' conftest.$ac_ext >&5
80102 eval "$as_ac_var=no"
80104 rm -f conftest.err conftest.$ac_objext \
80105 conftest$ac_exeext conftest.$ac_ext
80107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80109 if test `eval echo '${'$as_ac_var'}'` = yes; then
80110 cat >>confdefs.h <<_ACEOF
80111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80112 _ACEOF
80115 done
80117 else
80119 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
80120 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
80121 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
80122 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
80123 echo $ECHO_N "(cached) $ECHO_C" >&6
80124 else
80128 ac_ext=cc
80129 ac_cpp='$CXXCPP $CPPFLAGS'
80130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80134 cat >conftest.$ac_ext <<_ACEOF
80135 /* confdefs.h. */
80136 _ACEOF
80137 cat confdefs.h >>conftest.$ac_ext
80138 cat >>conftest.$ac_ext <<_ACEOF
80139 /* end confdefs.h. */
80140 #include <math.h>
80142 main ()
80144 _copysign(0, 0);
80146 return 0;
80148 _ACEOF
80149 rm -f conftest.$ac_objext
80150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80151 (eval $ac_compile) 2>conftest.er1
80152 ac_status=$?
80153 grep -v '^ *+' conftest.er1 >conftest.err
80154 rm -f conftest.er1
80155 cat conftest.err >&5
80156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80157 (exit $ac_status); } &&
80158 { ac_try='test -z "$ac_cxx_werror_flag"
80159 || test ! -s conftest.err'
80160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80161 (eval $ac_try) 2>&5
80162 ac_status=$?
80163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80164 (exit $ac_status); }; } &&
80165 { ac_try='test -s conftest.$ac_objext'
80166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80167 (eval $ac_try) 2>&5
80168 ac_status=$?
80169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80170 (exit $ac_status); }; }; then
80171 glibcxx_cv_func__copysign_use=yes
80172 else
80173 echo "$as_me: failed program was:" >&5
80174 sed 's/^/| /' conftest.$ac_ext >&5
80176 glibcxx_cv_func__copysign_use=no
80178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80179 ac_ext=c
80180 ac_cpp='$CPP $CPPFLAGS'
80181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80189 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
80190 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
80192 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
80194 for ac_func in _copysign
80196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80197 echo "$as_me:$LINENO: checking for $ac_func" >&5
80198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80199 if eval "test \"\${$as_ac_var+set}\" = set"; then
80200 echo $ECHO_N "(cached) $ECHO_C" >&6
80201 else
80202 if test x$gcc_no_link = xyes; then
80203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80205 { (exit 1); exit 1; }; }
80207 cat >conftest.$ac_ext <<_ACEOF
80208 /* confdefs.h. */
80209 _ACEOF
80210 cat confdefs.h >>conftest.$ac_ext
80211 cat >>conftest.$ac_ext <<_ACEOF
80212 /* end confdefs.h. */
80213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80215 #define $ac_func innocuous_$ac_func
80217 /* System header to define __stub macros and hopefully few prototypes,
80218 which can conflict with char $ac_func (); below.
80219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80220 <limits.h> exists even on freestanding compilers. */
80222 #ifdef __STDC__
80223 # include <limits.h>
80224 #else
80225 # include <assert.h>
80226 #endif
80228 #undef $ac_func
80230 /* Override any gcc2 internal prototype to avoid an error. */
80231 #ifdef __cplusplus
80232 extern "C"
80234 #endif
80235 /* We use char because int might match the return type of a gcc2
80236 builtin and then its argument prototype would still apply. */
80237 char $ac_func ();
80238 /* The GNU C library defines this for functions which it implements
80239 to always fail with ENOSYS. Some functions are actually named
80240 something starting with __ and the normal name is an alias. */
80241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80242 choke me
80243 #else
80244 char (*f) () = $ac_func;
80245 #endif
80246 #ifdef __cplusplus
80248 #endif
80251 main ()
80253 return f != $ac_func;
80255 return 0;
80257 _ACEOF
80258 rm -f conftest.$ac_objext conftest$ac_exeext
80259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80260 (eval $ac_link) 2>conftest.er1
80261 ac_status=$?
80262 grep -v '^ *+' conftest.er1 >conftest.err
80263 rm -f conftest.er1
80264 cat conftest.err >&5
80265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80266 (exit $ac_status); } &&
80267 { ac_try='test -z "$ac_c_werror_flag"
80268 || test ! -s conftest.err'
80269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80270 (eval $ac_try) 2>&5
80271 ac_status=$?
80272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80273 (exit $ac_status); }; } &&
80274 { ac_try='test -s conftest$ac_exeext'
80275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80276 (eval $ac_try) 2>&5
80277 ac_status=$?
80278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80279 (exit $ac_status); }; }; then
80280 eval "$as_ac_var=yes"
80281 else
80282 echo "$as_me: failed program was:" >&5
80283 sed 's/^/| /' conftest.$ac_ext >&5
80285 eval "$as_ac_var=no"
80287 rm -f conftest.err conftest.$ac_objext \
80288 conftest$ac_exeext conftest.$ac_ext
80290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80292 if test `eval echo '${'$as_ac_var'}'` = yes; then
80293 cat >>confdefs.h <<_ACEOF
80294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80295 _ACEOF
80298 done
80308 echo "$as_me:$LINENO: checking for sincos declaration" >&5
80309 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
80310 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
80311 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
80312 echo $ECHO_N "(cached) $ECHO_C" >&6
80313 else
80317 ac_ext=cc
80318 ac_cpp='$CXXCPP $CPPFLAGS'
80319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80323 cat >conftest.$ac_ext <<_ACEOF
80324 /* confdefs.h. */
80325 _ACEOF
80326 cat confdefs.h >>conftest.$ac_ext
80327 cat >>conftest.$ac_ext <<_ACEOF
80328 /* end confdefs.h. */
80329 #include <math.h>
80331 main ()
80333 sincos(0, 0, 0);
80335 return 0;
80337 _ACEOF
80338 rm -f conftest.$ac_objext
80339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80340 (eval $ac_compile) 2>conftest.er1
80341 ac_status=$?
80342 grep -v '^ *+' conftest.er1 >conftest.err
80343 rm -f conftest.er1
80344 cat conftest.err >&5
80345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80346 (exit $ac_status); } &&
80347 { ac_try='test -z "$ac_cxx_werror_flag"
80348 || test ! -s conftest.err'
80349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80350 (eval $ac_try) 2>&5
80351 ac_status=$?
80352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80353 (exit $ac_status); }; } &&
80354 { ac_try='test -s conftest.$ac_objext'
80355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80356 (eval $ac_try) 2>&5
80357 ac_status=$?
80358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80359 (exit $ac_status); }; }; then
80360 glibcxx_cv_func_sincos_use=yes
80361 else
80362 echo "$as_me: failed program was:" >&5
80363 sed 's/^/| /' conftest.$ac_ext >&5
80365 glibcxx_cv_func_sincos_use=no
80367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80368 ac_ext=c
80369 ac_cpp='$CPP $CPPFLAGS'
80370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80378 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
80379 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
80381 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
80383 for ac_func in sincos
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
80491 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
80492 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
80493 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
80494 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
80495 echo $ECHO_N "(cached) $ECHO_C" >&6
80496 else
80500 ac_ext=cc
80501 ac_cpp='$CXXCPP $CPPFLAGS'
80502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80506 cat >conftest.$ac_ext <<_ACEOF
80507 /* confdefs.h. */
80508 _ACEOF
80509 cat confdefs.h >>conftest.$ac_ext
80510 cat >>conftest.$ac_ext <<_ACEOF
80511 /* end confdefs.h. */
80512 #include <math.h>
80514 main ()
80516 _sincos(0, 0, 0);
80518 return 0;
80520 _ACEOF
80521 rm -f conftest.$ac_objext
80522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80523 (eval $ac_compile) 2>conftest.er1
80524 ac_status=$?
80525 grep -v '^ *+' conftest.er1 >conftest.err
80526 rm -f conftest.er1
80527 cat conftest.err >&5
80528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80529 (exit $ac_status); } &&
80530 { ac_try='test -z "$ac_cxx_werror_flag"
80531 || test ! -s conftest.err'
80532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80533 (eval $ac_try) 2>&5
80534 ac_status=$?
80535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80536 (exit $ac_status); }; } &&
80537 { ac_try='test -s conftest.$ac_objext'
80538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80539 (eval $ac_try) 2>&5
80540 ac_status=$?
80541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80542 (exit $ac_status); }; }; then
80543 glibcxx_cv_func__sincos_use=yes
80544 else
80545 echo "$as_me: failed program was:" >&5
80546 sed 's/^/| /' conftest.$ac_ext >&5
80548 glibcxx_cv_func__sincos_use=no
80550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80551 ac_ext=c
80552 ac_cpp='$CPP $CPPFLAGS'
80553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80561 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
80562 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
80564 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
80566 for ac_func in _sincos
80568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80569 echo "$as_me:$LINENO: checking for $ac_func" >&5
80570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80571 if eval "test \"\${$as_ac_var+set}\" = set"; then
80572 echo $ECHO_N "(cached) $ECHO_C" >&6
80573 else
80574 if test x$gcc_no_link = xyes; then
80575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80577 { (exit 1); exit 1; }; }
80579 cat >conftest.$ac_ext <<_ACEOF
80580 /* confdefs.h. */
80581 _ACEOF
80582 cat confdefs.h >>conftest.$ac_ext
80583 cat >>conftest.$ac_ext <<_ACEOF
80584 /* end confdefs.h. */
80585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80587 #define $ac_func innocuous_$ac_func
80589 /* System header to define __stub macros and hopefully few prototypes,
80590 which can conflict with char $ac_func (); below.
80591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80592 <limits.h> exists even on freestanding compilers. */
80594 #ifdef __STDC__
80595 # include <limits.h>
80596 #else
80597 # include <assert.h>
80598 #endif
80600 #undef $ac_func
80602 /* Override any gcc2 internal prototype to avoid an error. */
80603 #ifdef __cplusplus
80604 extern "C"
80606 #endif
80607 /* We use char because int might match the return type of a gcc2
80608 builtin and then its argument prototype would still apply. */
80609 char $ac_func ();
80610 /* The GNU C library defines this for functions which it implements
80611 to always fail with ENOSYS. Some functions are actually named
80612 something starting with __ and the normal name is an alias. */
80613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80614 choke me
80615 #else
80616 char (*f) () = $ac_func;
80617 #endif
80618 #ifdef __cplusplus
80620 #endif
80623 main ()
80625 return f != $ac_func;
80627 return 0;
80629 _ACEOF
80630 rm -f conftest.$ac_objext conftest$ac_exeext
80631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80632 (eval $ac_link) 2>conftest.er1
80633 ac_status=$?
80634 grep -v '^ *+' conftest.er1 >conftest.err
80635 rm -f conftest.er1
80636 cat conftest.err >&5
80637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80638 (exit $ac_status); } &&
80639 { ac_try='test -z "$ac_c_werror_flag"
80640 || test ! -s conftest.err'
80641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80642 (eval $ac_try) 2>&5
80643 ac_status=$?
80644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80645 (exit $ac_status); }; } &&
80646 { ac_try='test -s conftest$ac_exeext'
80647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80648 (eval $ac_try) 2>&5
80649 ac_status=$?
80650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80651 (exit $ac_status); }; }; then
80652 eval "$as_ac_var=yes"
80653 else
80654 echo "$as_me: failed program was:" >&5
80655 sed 's/^/| /' conftest.$ac_ext >&5
80657 eval "$as_ac_var=no"
80659 rm -f conftest.err conftest.$ac_objext \
80660 conftest$ac_exeext conftest.$ac_ext
80662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80664 if test `eval echo '${'$as_ac_var'}'` = yes; then
80665 cat >>confdefs.h <<_ACEOF
80666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80667 _ACEOF
80670 done
80680 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
80681 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
80682 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
80683 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
80684 echo $ECHO_N "(cached) $ECHO_C" >&6
80685 else
80689 ac_ext=cc
80690 ac_cpp='$CXXCPP $CPPFLAGS'
80691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80695 cat >conftest.$ac_ext <<_ACEOF
80696 /* confdefs.h. */
80697 _ACEOF
80698 cat confdefs.h >>conftest.$ac_ext
80699 cat >>conftest.$ac_ext <<_ACEOF
80700 /* end confdefs.h. */
80701 #include <math.h>
80702 #ifdef HAVE_IEEEFP_H
80703 #include <ieeefp.h>
80704 #endif
80707 main ()
80709 fpclass(0);
80711 return 0;
80713 _ACEOF
80714 rm -f conftest.$ac_objext
80715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80716 (eval $ac_compile) 2>conftest.er1
80717 ac_status=$?
80718 grep -v '^ *+' conftest.er1 >conftest.err
80719 rm -f conftest.er1
80720 cat conftest.err >&5
80721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80722 (exit $ac_status); } &&
80723 { ac_try='test -z "$ac_cxx_werror_flag"
80724 || test ! -s conftest.err'
80725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80726 (eval $ac_try) 2>&5
80727 ac_status=$?
80728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80729 (exit $ac_status); }; } &&
80730 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
80736 glibcxx_cv_func_fpclass_use=yes
80737 else
80738 echo "$as_me: failed program was:" >&5
80739 sed 's/^/| /' conftest.$ac_ext >&5
80741 glibcxx_cv_func_fpclass_use=no
80743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80744 ac_ext=c
80745 ac_cpp='$CPP $CPPFLAGS'
80746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
80755 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
80757 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
80759 for ac_func in fpclass
80761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80762 echo "$as_me:$LINENO: checking for $ac_func" >&5
80763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80764 if eval "test \"\${$as_ac_var+set}\" = set"; then
80765 echo $ECHO_N "(cached) $ECHO_C" >&6
80766 else
80767 if test x$gcc_no_link = xyes; then
80768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80770 { (exit 1); exit 1; }; }
80772 cat >conftest.$ac_ext <<_ACEOF
80773 /* confdefs.h. */
80774 _ACEOF
80775 cat confdefs.h >>conftest.$ac_ext
80776 cat >>conftest.$ac_ext <<_ACEOF
80777 /* end confdefs.h. */
80778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80780 #define $ac_func innocuous_$ac_func
80782 /* System header to define __stub macros and hopefully few prototypes,
80783 which can conflict with char $ac_func (); below.
80784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80785 <limits.h> exists even on freestanding compilers. */
80787 #ifdef __STDC__
80788 # include <limits.h>
80789 #else
80790 # include <assert.h>
80791 #endif
80793 #undef $ac_func
80795 /* Override any gcc2 internal prototype to avoid an error. */
80796 #ifdef __cplusplus
80797 extern "C"
80799 #endif
80800 /* We use char because int might match the return type of a gcc2
80801 builtin and then its argument prototype would still apply. */
80802 char $ac_func ();
80803 /* The GNU C library defines this for functions which it implements
80804 to always fail with ENOSYS. Some functions are actually named
80805 something starting with __ and the normal name is an alias. */
80806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80807 choke me
80808 #else
80809 char (*f) () = $ac_func;
80810 #endif
80811 #ifdef __cplusplus
80813 #endif
80816 main ()
80818 return f != $ac_func;
80820 return 0;
80822 _ACEOF
80823 rm -f conftest.$ac_objext conftest$ac_exeext
80824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80825 (eval $ac_link) 2>conftest.er1
80826 ac_status=$?
80827 grep -v '^ *+' conftest.er1 >conftest.err
80828 rm -f conftest.er1
80829 cat conftest.err >&5
80830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80831 (exit $ac_status); } &&
80832 { ac_try='test -z "$ac_c_werror_flag"
80833 || test ! -s conftest.err'
80834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80835 (eval $ac_try) 2>&5
80836 ac_status=$?
80837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80838 (exit $ac_status); }; } &&
80839 { ac_try='test -s conftest$ac_exeext'
80840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80841 (eval $ac_try) 2>&5
80842 ac_status=$?
80843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80844 (exit $ac_status); }; }; then
80845 eval "$as_ac_var=yes"
80846 else
80847 echo "$as_me: failed program was:" >&5
80848 sed 's/^/| /' conftest.$ac_ext >&5
80850 eval "$as_ac_var=no"
80852 rm -f conftest.err conftest.$ac_objext \
80853 conftest$ac_exeext conftest.$ac_ext
80855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80857 if test `eval echo '${'$as_ac_var'}'` = yes; then
80858 cat >>confdefs.h <<_ACEOF
80859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80860 _ACEOF
80863 done
80865 else
80867 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
80868 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
80869 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
80870 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
80871 echo $ECHO_N "(cached) $ECHO_C" >&6
80872 else
80876 ac_ext=cc
80877 ac_cpp='$CXXCPP $CPPFLAGS'
80878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80882 cat >conftest.$ac_ext <<_ACEOF
80883 /* confdefs.h. */
80884 _ACEOF
80885 cat confdefs.h >>conftest.$ac_ext
80886 cat >>conftest.$ac_ext <<_ACEOF
80887 /* end confdefs.h. */
80888 #include <math.h>
80889 #ifdef HAVE_IEEEFP_H
80890 #include <ieeefp.h>
80891 #endif
80894 main ()
80896 _fpclass(0);
80898 return 0;
80900 _ACEOF
80901 rm -f conftest.$ac_objext
80902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80903 (eval $ac_compile) 2>conftest.er1
80904 ac_status=$?
80905 grep -v '^ *+' conftest.er1 >conftest.err
80906 rm -f conftest.er1
80907 cat conftest.err >&5
80908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80909 (exit $ac_status); } &&
80910 { ac_try='test -z "$ac_cxx_werror_flag"
80911 || test ! -s conftest.err'
80912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80913 (eval $ac_try) 2>&5
80914 ac_status=$?
80915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80916 (exit $ac_status); }; } &&
80917 { ac_try='test -s conftest.$ac_objext'
80918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80919 (eval $ac_try) 2>&5
80920 ac_status=$?
80921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80922 (exit $ac_status); }; }; then
80923 glibcxx_cv_func__fpclass_use=yes
80924 else
80925 echo "$as_me: failed program was:" >&5
80926 sed 's/^/| /' conftest.$ac_ext >&5
80928 glibcxx_cv_func__fpclass_use=no
80930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80931 ac_ext=c
80932 ac_cpp='$CPP $CPPFLAGS'
80933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80941 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
80942 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
80944 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
80946 for ac_func in _fpclass
80948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80949 echo "$as_me:$LINENO: checking for $ac_func" >&5
80950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80951 if eval "test \"\${$as_ac_var+set}\" = set"; then
80952 echo $ECHO_N "(cached) $ECHO_C" >&6
80953 else
80954 if test x$gcc_no_link = xyes; then
80955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80957 { (exit 1); exit 1; }; }
80959 cat >conftest.$ac_ext <<_ACEOF
80960 /* confdefs.h. */
80961 _ACEOF
80962 cat confdefs.h >>conftest.$ac_ext
80963 cat >>conftest.$ac_ext <<_ACEOF
80964 /* end confdefs.h. */
80965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80967 #define $ac_func innocuous_$ac_func
80969 /* System header to define __stub macros and hopefully few prototypes,
80970 which can conflict with char $ac_func (); below.
80971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80972 <limits.h> exists even on freestanding compilers. */
80974 #ifdef __STDC__
80975 # include <limits.h>
80976 #else
80977 # include <assert.h>
80978 #endif
80980 #undef $ac_func
80982 /* Override any gcc2 internal prototype to avoid an error. */
80983 #ifdef __cplusplus
80984 extern "C"
80986 #endif
80987 /* We use char because int might match the return type of a gcc2
80988 builtin and then its argument prototype would still apply. */
80989 char $ac_func ();
80990 /* The GNU C library defines this for functions which it implements
80991 to always fail with ENOSYS. Some functions are actually named
80992 something starting with __ and the normal name is an alias. */
80993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80994 choke me
80995 #else
80996 char (*f) () = $ac_func;
80997 #endif
80998 #ifdef __cplusplus
81000 #endif
81003 main ()
81005 return f != $ac_func;
81007 return 0;
81009 _ACEOF
81010 rm -f conftest.$ac_objext conftest$ac_exeext
81011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81012 (eval $ac_link) 2>conftest.er1
81013 ac_status=$?
81014 grep -v '^ *+' conftest.er1 >conftest.err
81015 rm -f conftest.er1
81016 cat conftest.err >&5
81017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81018 (exit $ac_status); } &&
81019 { ac_try='test -z "$ac_c_werror_flag"
81020 || test ! -s conftest.err'
81021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81022 (eval $ac_try) 2>&5
81023 ac_status=$?
81024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81025 (exit $ac_status); }; } &&
81026 { ac_try='test -s conftest$ac_exeext'
81027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81028 (eval $ac_try) 2>&5
81029 ac_status=$?
81030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81031 (exit $ac_status); }; }; then
81032 eval "$as_ac_var=yes"
81033 else
81034 echo "$as_me: failed program was:" >&5
81035 sed 's/^/| /' conftest.$ac_ext >&5
81037 eval "$as_ac_var=no"
81039 rm -f conftest.err conftest.$ac_objext \
81040 conftest$ac_exeext conftest.$ac_ext
81042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81044 if test `eval echo '${'$as_ac_var'}'` = yes; then
81045 cat >>confdefs.h <<_ACEOF
81046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81047 _ACEOF
81050 done
81060 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
81061 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
81062 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
81063 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
81064 echo $ECHO_N "(cached) $ECHO_C" >&6
81065 else
81069 ac_ext=cc
81070 ac_cpp='$CXXCPP $CPPFLAGS'
81071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81075 cat >conftest.$ac_ext <<_ACEOF
81076 /* confdefs.h. */
81077 _ACEOF
81078 cat confdefs.h >>conftest.$ac_ext
81079 cat >>conftest.$ac_ext <<_ACEOF
81080 /* end confdefs.h. */
81081 #include <math.h>
81082 #ifdef HAVE_IEEEFP_H
81083 #include <ieeefp.h>
81084 #endif
81087 main ()
81089 qfpclass(0);
81091 return 0;
81093 _ACEOF
81094 rm -f conftest.$ac_objext
81095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81096 (eval $ac_compile) 2>conftest.er1
81097 ac_status=$?
81098 grep -v '^ *+' conftest.er1 >conftest.err
81099 rm -f conftest.er1
81100 cat conftest.err >&5
81101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81102 (exit $ac_status); } &&
81103 { ac_try='test -z "$ac_cxx_werror_flag"
81104 || test ! -s conftest.err'
81105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81106 (eval $ac_try) 2>&5
81107 ac_status=$?
81108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81109 (exit $ac_status); }; } &&
81110 { ac_try='test -s conftest.$ac_objext'
81111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81112 (eval $ac_try) 2>&5
81113 ac_status=$?
81114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81115 (exit $ac_status); }; }; then
81116 glibcxx_cv_func_qfpclass_use=yes
81117 else
81118 echo "$as_me: failed program was:" >&5
81119 sed 's/^/| /' conftest.$ac_ext >&5
81121 glibcxx_cv_func_qfpclass_use=no
81123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81124 ac_ext=c
81125 ac_cpp='$CPP $CPPFLAGS'
81126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81134 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
81135 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
81137 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
81139 for ac_func in qfpclass
81141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81142 echo "$as_me:$LINENO: checking for $ac_func" >&5
81143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81144 if eval "test \"\${$as_ac_var+set}\" = set"; then
81145 echo $ECHO_N "(cached) $ECHO_C" >&6
81146 else
81147 if test x$gcc_no_link = xyes; then
81148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81150 { (exit 1); exit 1; }; }
81152 cat >conftest.$ac_ext <<_ACEOF
81153 /* confdefs.h. */
81154 _ACEOF
81155 cat confdefs.h >>conftest.$ac_ext
81156 cat >>conftest.$ac_ext <<_ACEOF
81157 /* end confdefs.h. */
81158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81160 #define $ac_func innocuous_$ac_func
81162 /* System header to define __stub macros and hopefully few prototypes,
81163 which can conflict with char $ac_func (); below.
81164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81165 <limits.h> exists even on freestanding compilers. */
81167 #ifdef __STDC__
81168 # include <limits.h>
81169 #else
81170 # include <assert.h>
81171 #endif
81173 #undef $ac_func
81175 /* Override any gcc2 internal prototype to avoid an error. */
81176 #ifdef __cplusplus
81177 extern "C"
81179 #endif
81180 /* We use char because int might match the return type of a gcc2
81181 builtin and then its argument prototype would still apply. */
81182 char $ac_func ();
81183 /* The GNU C library defines this for functions which it implements
81184 to always fail with ENOSYS. Some functions are actually named
81185 something starting with __ and the normal name is an alias. */
81186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81187 choke me
81188 #else
81189 char (*f) () = $ac_func;
81190 #endif
81191 #ifdef __cplusplus
81193 #endif
81196 main ()
81198 return f != $ac_func;
81200 return 0;
81202 _ACEOF
81203 rm -f conftest.$ac_objext conftest$ac_exeext
81204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81205 (eval $ac_link) 2>conftest.er1
81206 ac_status=$?
81207 grep -v '^ *+' conftest.er1 >conftest.err
81208 rm -f conftest.er1
81209 cat conftest.err >&5
81210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81211 (exit $ac_status); } &&
81212 { ac_try='test -z "$ac_c_werror_flag"
81213 || test ! -s conftest.err'
81214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81215 (eval $ac_try) 2>&5
81216 ac_status=$?
81217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81218 (exit $ac_status); }; } &&
81219 { ac_try='test -s conftest$ac_exeext'
81220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81221 (eval $ac_try) 2>&5
81222 ac_status=$?
81223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81224 (exit $ac_status); }; }; then
81225 eval "$as_ac_var=yes"
81226 else
81227 echo "$as_me: failed program was:" >&5
81228 sed 's/^/| /' conftest.$ac_ext >&5
81230 eval "$as_ac_var=no"
81232 rm -f conftest.err conftest.$ac_objext \
81233 conftest$ac_exeext conftest.$ac_ext
81235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81237 if test `eval echo '${'$as_ac_var'}'` = yes; then
81238 cat >>confdefs.h <<_ACEOF
81239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81240 _ACEOF
81243 done
81245 else
81247 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
81248 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
81249 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
81250 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
81251 echo $ECHO_N "(cached) $ECHO_C" >&6
81252 else
81256 ac_ext=cc
81257 ac_cpp='$CXXCPP $CPPFLAGS'
81258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81262 cat >conftest.$ac_ext <<_ACEOF
81263 /* confdefs.h. */
81264 _ACEOF
81265 cat confdefs.h >>conftest.$ac_ext
81266 cat >>conftest.$ac_ext <<_ACEOF
81267 /* end confdefs.h. */
81268 #include <math.h>
81269 #ifdef HAVE_IEEEFP_H
81270 #include <ieeefp.h>
81271 #endif
81274 main ()
81276 _qfpclass(0);
81278 return 0;
81280 _ACEOF
81281 rm -f conftest.$ac_objext
81282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81283 (eval $ac_compile) 2>conftest.er1
81284 ac_status=$?
81285 grep -v '^ *+' conftest.er1 >conftest.err
81286 rm -f conftest.er1
81287 cat conftest.err >&5
81288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81289 (exit $ac_status); } &&
81290 { ac_try='test -z "$ac_cxx_werror_flag"
81291 || test ! -s conftest.err'
81292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81293 (eval $ac_try) 2>&5
81294 ac_status=$?
81295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81296 (exit $ac_status); }; } &&
81297 { ac_try='test -s conftest.$ac_objext'
81298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81299 (eval $ac_try) 2>&5
81300 ac_status=$?
81301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81302 (exit $ac_status); }; }; then
81303 glibcxx_cv_func__qfpclass_use=yes
81304 else
81305 echo "$as_me: failed program was:" >&5
81306 sed 's/^/| /' conftest.$ac_ext >&5
81308 glibcxx_cv_func__qfpclass_use=no
81310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81311 ac_ext=c
81312 ac_cpp='$CPP $CPPFLAGS'
81313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81321 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
81322 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
81324 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
81326 for ac_func in _qfpclass
81328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81329 echo "$as_me:$LINENO: checking for $ac_func" >&5
81330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81331 if eval "test \"\${$as_ac_var+set}\" = set"; then
81332 echo $ECHO_N "(cached) $ECHO_C" >&6
81333 else
81334 if test x$gcc_no_link = xyes; then
81335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81337 { (exit 1); exit 1; }; }
81339 cat >conftest.$ac_ext <<_ACEOF
81340 /* confdefs.h. */
81341 _ACEOF
81342 cat confdefs.h >>conftest.$ac_ext
81343 cat >>conftest.$ac_ext <<_ACEOF
81344 /* end confdefs.h. */
81345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81347 #define $ac_func innocuous_$ac_func
81349 /* System header to define __stub macros and hopefully few prototypes,
81350 which can conflict with char $ac_func (); below.
81351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81352 <limits.h> exists even on freestanding compilers. */
81354 #ifdef __STDC__
81355 # include <limits.h>
81356 #else
81357 # include <assert.h>
81358 #endif
81360 #undef $ac_func
81362 /* Override any gcc2 internal prototype to avoid an error. */
81363 #ifdef __cplusplus
81364 extern "C"
81366 #endif
81367 /* We use char because int might match the return type of a gcc2
81368 builtin and then its argument prototype would still apply. */
81369 char $ac_func ();
81370 /* The GNU C library defines this for functions which it implements
81371 to always fail with ENOSYS. Some functions are actually named
81372 something starting with __ and the normal name is an alias. */
81373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81374 choke me
81375 #else
81376 char (*f) () = $ac_func;
81377 #endif
81378 #ifdef __cplusplus
81380 #endif
81383 main ()
81385 return f != $ac_func;
81387 return 0;
81389 _ACEOF
81390 rm -f conftest.$ac_objext conftest$ac_exeext
81391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81392 (eval $ac_link) 2>conftest.er1
81393 ac_status=$?
81394 grep -v '^ *+' conftest.er1 >conftest.err
81395 rm -f conftest.er1
81396 cat conftest.err >&5
81397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81398 (exit $ac_status); } &&
81399 { ac_try='test -z "$ac_c_werror_flag"
81400 || test ! -s conftest.err'
81401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81402 (eval $ac_try) 2>&5
81403 ac_status=$?
81404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81405 (exit $ac_status); }; } &&
81406 { ac_try='test -s conftest$ac_exeext'
81407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81408 (eval $ac_try) 2>&5
81409 ac_status=$?
81410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81411 (exit $ac_status); }; }; then
81412 eval "$as_ac_var=yes"
81413 else
81414 echo "$as_me: failed program was:" >&5
81415 sed 's/^/| /' conftest.$ac_ext >&5
81417 eval "$as_ac_var=no"
81419 rm -f conftest.err conftest.$ac_objext \
81420 conftest$ac_exeext conftest.$ac_ext
81422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81424 if test `eval echo '${'$as_ac_var'}'` = yes; then
81425 cat >>confdefs.h <<_ACEOF
81426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81427 _ACEOF
81430 done
81440 echo "$as_me:$LINENO: checking for hypot declaration" >&5
81441 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
81442 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
81443 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
81444 echo $ECHO_N "(cached) $ECHO_C" >&6
81445 else
81449 ac_ext=cc
81450 ac_cpp='$CXXCPP $CPPFLAGS'
81451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81455 cat >conftest.$ac_ext <<_ACEOF
81456 /* confdefs.h. */
81457 _ACEOF
81458 cat confdefs.h >>conftest.$ac_ext
81459 cat >>conftest.$ac_ext <<_ACEOF
81460 /* end confdefs.h. */
81461 #include <math.h>
81463 main ()
81465 hypot(0, 0);
81467 return 0;
81469 _ACEOF
81470 rm -f conftest.$ac_objext
81471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81472 (eval $ac_compile) 2>conftest.er1
81473 ac_status=$?
81474 grep -v '^ *+' conftest.er1 >conftest.err
81475 rm -f conftest.er1
81476 cat conftest.err >&5
81477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81478 (exit $ac_status); } &&
81479 { ac_try='test -z "$ac_cxx_werror_flag"
81480 || test ! -s conftest.err'
81481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81482 (eval $ac_try) 2>&5
81483 ac_status=$?
81484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81485 (exit $ac_status); }; } &&
81486 { ac_try='test -s conftest.$ac_objext'
81487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81488 (eval $ac_try) 2>&5
81489 ac_status=$?
81490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81491 (exit $ac_status); }; }; then
81492 glibcxx_cv_func_hypot_use=yes
81493 else
81494 echo "$as_me: failed program was:" >&5
81495 sed 's/^/| /' conftest.$ac_ext >&5
81497 glibcxx_cv_func_hypot_use=no
81499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81500 ac_ext=c
81501 ac_cpp='$CPP $CPPFLAGS'
81502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
81511 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
81513 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
81515 for ac_func in hypot
81517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81518 echo "$as_me:$LINENO: checking for $ac_func" >&5
81519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81520 if eval "test \"\${$as_ac_var+set}\" = set"; then
81521 echo $ECHO_N "(cached) $ECHO_C" >&6
81522 else
81523 if test x$gcc_no_link = xyes; then
81524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81526 { (exit 1); exit 1; }; }
81528 cat >conftest.$ac_ext <<_ACEOF
81529 /* confdefs.h. */
81530 _ACEOF
81531 cat confdefs.h >>conftest.$ac_ext
81532 cat >>conftest.$ac_ext <<_ACEOF
81533 /* end confdefs.h. */
81534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81536 #define $ac_func innocuous_$ac_func
81538 /* System header to define __stub macros and hopefully few prototypes,
81539 which can conflict with char $ac_func (); below.
81540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81541 <limits.h> exists even on freestanding compilers. */
81543 #ifdef __STDC__
81544 # include <limits.h>
81545 #else
81546 # include <assert.h>
81547 #endif
81549 #undef $ac_func
81551 /* Override any gcc2 internal prototype to avoid an error. */
81552 #ifdef __cplusplus
81553 extern "C"
81555 #endif
81556 /* We use char because int might match the return type of a gcc2
81557 builtin and then its argument prototype would still apply. */
81558 char $ac_func ();
81559 /* The GNU C library defines this for functions which it implements
81560 to always fail with ENOSYS. Some functions are actually named
81561 something starting with __ and the normal name is an alias. */
81562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81563 choke me
81564 #else
81565 char (*f) () = $ac_func;
81566 #endif
81567 #ifdef __cplusplus
81569 #endif
81572 main ()
81574 return f != $ac_func;
81576 return 0;
81578 _ACEOF
81579 rm -f conftest.$ac_objext conftest$ac_exeext
81580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81581 (eval $ac_link) 2>conftest.er1
81582 ac_status=$?
81583 grep -v '^ *+' conftest.er1 >conftest.err
81584 rm -f conftest.er1
81585 cat conftest.err >&5
81586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81587 (exit $ac_status); } &&
81588 { ac_try='test -z "$ac_c_werror_flag"
81589 || test ! -s conftest.err'
81590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81591 (eval $ac_try) 2>&5
81592 ac_status=$?
81593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81594 (exit $ac_status); }; } &&
81595 { ac_try='test -s conftest$ac_exeext'
81596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81597 (eval $ac_try) 2>&5
81598 ac_status=$?
81599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81600 (exit $ac_status); }; }; then
81601 eval "$as_ac_var=yes"
81602 else
81603 echo "$as_me: failed program was:" >&5
81604 sed 's/^/| /' conftest.$ac_ext >&5
81606 eval "$as_ac_var=no"
81608 rm -f conftest.err conftest.$ac_objext \
81609 conftest$ac_exeext conftest.$ac_ext
81611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81613 if test `eval echo '${'$as_ac_var'}'` = yes; then
81614 cat >>confdefs.h <<_ACEOF
81615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81616 _ACEOF
81619 done
81621 else
81623 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
81624 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
81625 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
81626 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
81627 echo $ECHO_N "(cached) $ECHO_C" >&6
81628 else
81632 ac_ext=cc
81633 ac_cpp='$CXXCPP $CPPFLAGS'
81634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81638 cat >conftest.$ac_ext <<_ACEOF
81639 /* confdefs.h. */
81640 _ACEOF
81641 cat confdefs.h >>conftest.$ac_ext
81642 cat >>conftest.$ac_ext <<_ACEOF
81643 /* end confdefs.h. */
81644 #include <math.h>
81646 main ()
81648 _hypot(0, 0);
81650 return 0;
81652 _ACEOF
81653 rm -f conftest.$ac_objext
81654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81655 (eval $ac_compile) 2>conftest.er1
81656 ac_status=$?
81657 grep -v '^ *+' conftest.er1 >conftest.err
81658 rm -f conftest.er1
81659 cat conftest.err >&5
81660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81661 (exit $ac_status); } &&
81662 { ac_try='test -z "$ac_cxx_werror_flag"
81663 || test ! -s conftest.err'
81664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81665 (eval $ac_try) 2>&5
81666 ac_status=$?
81667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81668 (exit $ac_status); }; } &&
81669 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
81675 glibcxx_cv_func__hypot_use=yes
81676 else
81677 echo "$as_me: failed program was:" >&5
81678 sed 's/^/| /' conftest.$ac_ext >&5
81680 glibcxx_cv_func__hypot_use=no
81682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81683 ac_ext=c
81684 ac_cpp='$CPP $CPPFLAGS'
81685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
81694 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
81696 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
81698 for ac_func in _hypot
81700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81701 echo "$as_me:$LINENO: checking for $ac_func" >&5
81702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81703 if eval "test \"\${$as_ac_var+set}\" = set"; then
81704 echo $ECHO_N "(cached) $ECHO_C" >&6
81705 else
81706 if test x$gcc_no_link = xyes; then
81707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81709 { (exit 1); exit 1; }; }
81711 cat >conftest.$ac_ext <<_ACEOF
81712 /* confdefs.h. */
81713 _ACEOF
81714 cat confdefs.h >>conftest.$ac_ext
81715 cat >>conftest.$ac_ext <<_ACEOF
81716 /* end confdefs.h. */
81717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81719 #define $ac_func innocuous_$ac_func
81721 /* System header to define __stub macros and hopefully few prototypes,
81722 which can conflict with char $ac_func (); below.
81723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81724 <limits.h> exists even on freestanding compilers. */
81726 #ifdef __STDC__
81727 # include <limits.h>
81728 #else
81729 # include <assert.h>
81730 #endif
81732 #undef $ac_func
81734 /* Override any gcc2 internal prototype to avoid an error. */
81735 #ifdef __cplusplus
81736 extern "C"
81738 #endif
81739 /* We use char because int might match the return type of a gcc2
81740 builtin and then its argument prototype would still apply. */
81741 char $ac_func ();
81742 /* The GNU C library defines this for functions which it implements
81743 to always fail with ENOSYS. Some functions are actually named
81744 something starting with __ and the normal name is an alias. */
81745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81746 choke me
81747 #else
81748 char (*f) () = $ac_func;
81749 #endif
81750 #ifdef __cplusplus
81752 #endif
81755 main ()
81757 return f != $ac_func;
81759 return 0;
81761 _ACEOF
81762 rm -f conftest.$ac_objext conftest$ac_exeext
81763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81764 (eval $ac_link) 2>conftest.er1
81765 ac_status=$?
81766 grep -v '^ *+' conftest.er1 >conftest.err
81767 rm -f conftest.er1
81768 cat conftest.err >&5
81769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81770 (exit $ac_status); } &&
81771 { ac_try='test -z "$ac_c_werror_flag"
81772 || test ! -s conftest.err'
81773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81774 (eval $ac_try) 2>&5
81775 ac_status=$?
81776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81777 (exit $ac_status); }; } &&
81778 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
81784 eval "$as_ac_var=yes"
81785 else
81786 echo "$as_me: failed program was:" >&5
81787 sed 's/^/| /' conftest.$ac_ext >&5
81789 eval "$as_ac_var=no"
81791 rm -f conftest.err conftest.$ac_objext \
81792 conftest$ac_exeext conftest.$ac_ext
81794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81796 if test `eval echo '${'$as_ac_var'}'` = yes; then
81797 cat >>confdefs.h <<_ACEOF
81798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81799 _ACEOF
81802 done
81812 echo "$as_me:$LINENO: checking for float trig functions" >&5
81813 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
81814 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
81815 echo $ECHO_N "(cached) $ECHO_C" >&6
81816 else
81820 ac_ext=cc
81821 ac_cpp='$CXXCPP $CPPFLAGS'
81822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81826 cat >conftest.$ac_ext <<_ACEOF
81827 /* confdefs.h. */
81828 _ACEOF
81829 cat confdefs.h >>conftest.$ac_ext
81830 cat >>conftest.$ac_ext <<_ACEOF
81831 /* end confdefs.h. */
81832 #include <math.h>
81834 main ()
81836 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
81838 return 0;
81840 _ACEOF
81841 rm -f conftest.$ac_objext
81842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81843 (eval $ac_compile) 2>conftest.er1
81844 ac_status=$?
81845 grep -v '^ *+' conftest.er1 >conftest.err
81846 rm -f conftest.er1
81847 cat conftest.err >&5
81848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81849 (exit $ac_status); } &&
81850 { ac_try='test -z "$ac_cxx_werror_flag"
81851 || test ! -s conftest.err'
81852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81853 (eval $ac_try) 2>&5
81854 ac_status=$?
81855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81856 (exit $ac_status); }; } &&
81857 { ac_try='test -s conftest.$ac_objext'
81858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81859 (eval $ac_try) 2>&5
81860 ac_status=$?
81861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81862 (exit $ac_status); }; }; then
81863 glibcxx_cv_func_float_trig_use=yes
81864 else
81865 echo "$as_me: failed program was:" >&5
81866 sed 's/^/| /' conftest.$ac_ext >&5
81868 glibcxx_cv_func_float_trig_use=no
81870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81871 ac_ext=c
81872 ac_cpp='$CPP $CPPFLAGS'
81873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
81880 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
81881 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
81891 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
81893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81894 echo "$as_me:$LINENO: checking for $ac_func" >&5
81895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81896 if eval "test \"\${$as_ac_var+set}\" = set"; then
81897 echo $ECHO_N "(cached) $ECHO_C" >&6
81898 else
81899 if test x$gcc_no_link = xyes; then
81900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81902 { (exit 1); exit 1; }; }
81904 cat >conftest.$ac_ext <<_ACEOF
81905 /* confdefs.h. */
81906 _ACEOF
81907 cat confdefs.h >>conftest.$ac_ext
81908 cat >>conftest.$ac_ext <<_ACEOF
81909 /* end confdefs.h. */
81910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81912 #define $ac_func innocuous_$ac_func
81914 /* System header to define __stub macros and hopefully few prototypes,
81915 which can conflict with char $ac_func (); below.
81916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81917 <limits.h> exists even on freestanding compilers. */
81919 #ifdef __STDC__
81920 # include <limits.h>
81921 #else
81922 # include <assert.h>
81923 #endif
81925 #undef $ac_func
81927 /* Override any gcc2 internal prototype to avoid an error. */
81928 #ifdef __cplusplus
81929 extern "C"
81931 #endif
81932 /* We use char because int might match the return type of a gcc2
81933 builtin and then its argument prototype would still apply. */
81934 char $ac_func ();
81935 /* The GNU C library defines this for functions which it implements
81936 to always fail with ENOSYS. Some functions are actually named
81937 something starting with __ and the normal name is an alias. */
81938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81939 choke me
81940 #else
81941 char (*f) () = $ac_func;
81942 #endif
81943 #ifdef __cplusplus
81945 #endif
81948 main ()
81950 return f != $ac_func;
81952 return 0;
81954 _ACEOF
81955 rm -f conftest.$ac_objext conftest$ac_exeext
81956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81957 (eval $ac_link) 2>conftest.er1
81958 ac_status=$?
81959 grep -v '^ *+' conftest.er1 >conftest.err
81960 rm -f conftest.er1
81961 cat conftest.err >&5
81962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81963 (exit $ac_status); } &&
81964 { ac_try='test -z "$ac_c_werror_flag"
81965 || test ! -s conftest.err'
81966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81967 (eval $ac_try) 2>&5
81968 ac_status=$?
81969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81970 (exit $ac_status); }; } &&
81971 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
81977 eval "$as_ac_var=yes"
81978 else
81979 echo "$as_me: failed program was:" >&5
81980 sed 's/^/| /' conftest.$ac_ext >&5
81982 eval "$as_ac_var=no"
81984 rm -f conftest.err conftest.$ac_objext \
81985 conftest$ac_exeext conftest.$ac_ext
81987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81989 if test `eval echo '${'$as_ac_var'}'` = yes; then
81990 cat >>confdefs.h <<_ACEOF
81991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81992 _ACEOF
81995 done
81997 else
81998 echo "$as_me:$LINENO: checking for _float trig functions" >&5
81999 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
82000 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
82001 echo $ECHO_N "(cached) $ECHO_C" >&6
82002 else
82006 ac_ext=cc
82007 ac_cpp='$CXXCPP $CPPFLAGS'
82008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82012 cat >conftest.$ac_ext <<_ACEOF
82013 /* confdefs.h. */
82014 _ACEOF
82015 cat confdefs.h >>conftest.$ac_ext
82016 cat >>conftest.$ac_ext <<_ACEOF
82017 /* end confdefs.h. */
82018 #include <math.h>
82020 main ()
82022 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
82024 return 0;
82026 _ACEOF
82027 rm -f conftest.$ac_objext
82028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82029 (eval $ac_compile) 2>conftest.er1
82030 ac_status=$?
82031 grep -v '^ *+' conftest.er1 >conftest.err
82032 rm -f conftest.er1
82033 cat conftest.err >&5
82034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82035 (exit $ac_status); } &&
82036 { ac_try='test -z "$ac_cxx_werror_flag"
82037 || test ! -s conftest.err'
82038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82039 (eval $ac_try) 2>&5
82040 ac_status=$?
82041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82042 (exit $ac_status); }; } &&
82043 { ac_try='test -s conftest.$ac_objext'
82044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82045 (eval $ac_try) 2>&5
82046 ac_status=$?
82047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82048 (exit $ac_status); }; }; then
82049 glibcxx_cv_func__float_trig_use=yes
82050 else
82051 echo "$as_me: failed program was:" >&5
82052 sed 's/^/| /' conftest.$ac_ext >&5
82054 glibcxx_cv_func__float_trig_use=no
82056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82057 ac_ext=c
82058 ac_cpp='$CPP $CPPFLAGS'
82059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82065 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
82066 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
82067 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
82077 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
82079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82080 echo "$as_me:$LINENO: checking for $ac_func" >&5
82081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82082 if eval "test \"\${$as_ac_var+set}\" = set"; then
82083 echo $ECHO_N "(cached) $ECHO_C" >&6
82084 else
82085 if test x$gcc_no_link = xyes; then
82086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82088 { (exit 1); exit 1; }; }
82090 cat >conftest.$ac_ext <<_ACEOF
82091 /* confdefs.h. */
82092 _ACEOF
82093 cat confdefs.h >>conftest.$ac_ext
82094 cat >>conftest.$ac_ext <<_ACEOF
82095 /* end confdefs.h. */
82096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82098 #define $ac_func innocuous_$ac_func
82100 /* System header to define __stub macros and hopefully few prototypes,
82101 which can conflict with char $ac_func (); below.
82102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82103 <limits.h> exists even on freestanding compilers. */
82105 #ifdef __STDC__
82106 # include <limits.h>
82107 #else
82108 # include <assert.h>
82109 #endif
82111 #undef $ac_func
82113 /* Override any gcc2 internal prototype to avoid an error. */
82114 #ifdef __cplusplus
82115 extern "C"
82117 #endif
82118 /* We use char because int might match the return type of a gcc2
82119 builtin and then its argument prototype would still apply. */
82120 char $ac_func ();
82121 /* The GNU C library defines this for functions which it implements
82122 to always fail with ENOSYS. Some functions are actually named
82123 something starting with __ and the normal name is an alias. */
82124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82125 choke me
82126 #else
82127 char (*f) () = $ac_func;
82128 #endif
82129 #ifdef __cplusplus
82131 #endif
82134 main ()
82136 return f != $ac_func;
82138 return 0;
82140 _ACEOF
82141 rm -f conftest.$ac_objext conftest$ac_exeext
82142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82143 (eval $ac_link) 2>conftest.er1
82144 ac_status=$?
82145 grep -v '^ *+' conftest.er1 >conftest.err
82146 rm -f conftest.er1
82147 cat conftest.err >&5
82148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82149 (exit $ac_status); } &&
82150 { ac_try='test -z "$ac_c_werror_flag"
82151 || test ! -s conftest.err'
82152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82153 (eval $ac_try) 2>&5
82154 ac_status=$?
82155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82156 (exit $ac_status); }; } &&
82157 { ac_try='test -s conftest$ac_exeext'
82158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82159 (eval $ac_try) 2>&5
82160 ac_status=$?
82161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82162 (exit $ac_status); }; }; then
82163 eval "$as_ac_var=yes"
82164 else
82165 echo "$as_me: failed program was:" >&5
82166 sed 's/^/| /' conftest.$ac_ext >&5
82168 eval "$as_ac_var=no"
82170 rm -f conftest.err conftest.$ac_objext \
82171 conftest$ac_exeext conftest.$ac_ext
82173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82175 if test `eval echo '${'$as_ac_var'}'` = yes; then
82176 cat >>confdefs.h <<_ACEOF
82177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82178 _ACEOF
82181 done
82199 echo "$as_me:$LINENO: checking for float round functions" >&5
82200 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
82201 if test "${glibcxx_cv_func_float_round_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 ceilf (0); floorf (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_float_round_use=yes
82251 else
82252 echo "$as_me: failed program was:" >&5
82253 sed 's/^/| /' conftest.$ac_ext >&5
82255 glibcxx_cv_func_float_round_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
82266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
82267 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
82268 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
82271 for ac_func in ceilf floorf
82273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82274 echo "$as_me:$LINENO: checking for $ac_func" >&5
82275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82276 if eval "test \"\${$as_ac_var+set}\" = set"; then
82277 echo $ECHO_N "(cached) $ECHO_C" >&6
82278 else
82279 if test x$gcc_no_link = xyes; then
82280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82282 { (exit 1); exit 1; }; }
82284 cat >conftest.$ac_ext <<_ACEOF
82285 /* confdefs.h. */
82286 _ACEOF
82287 cat confdefs.h >>conftest.$ac_ext
82288 cat >>conftest.$ac_ext <<_ACEOF
82289 /* end confdefs.h. */
82290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82292 #define $ac_func innocuous_$ac_func
82294 /* System header to define __stub macros and hopefully few prototypes,
82295 which can conflict with char $ac_func (); below.
82296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82297 <limits.h> exists even on freestanding compilers. */
82299 #ifdef __STDC__
82300 # include <limits.h>
82301 #else
82302 # include <assert.h>
82303 #endif
82305 #undef $ac_func
82307 /* Override any gcc2 internal prototype to avoid an error. */
82308 #ifdef __cplusplus
82309 extern "C"
82311 #endif
82312 /* We use char because int might match the return type of a gcc2
82313 builtin and then its argument prototype would still apply. */
82314 char $ac_func ();
82315 /* The GNU C library defines this for functions which it implements
82316 to always fail with ENOSYS. Some functions are actually named
82317 something starting with __ and the normal name is an alias. */
82318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82319 choke me
82320 #else
82321 char (*f) () = $ac_func;
82322 #endif
82323 #ifdef __cplusplus
82325 #endif
82328 main ()
82330 return f != $ac_func;
82332 return 0;
82334 _ACEOF
82335 rm -f conftest.$ac_objext conftest$ac_exeext
82336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82337 (eval $ac_link) 2>conftest.er1
82338 ac_status=$?
82339 grep -v '^ *+' conftest.er1 >conftest.err
82340 rm -f conftest.er1
82341 cat conftest.err >&5
82342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82343 (exit $ac_status); } &&
82344 { ac_try='test -z "$ac_c_werror_flag"
82345 || test ! -s conftest.err'
82346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82347 (eval $ac_try) 2>&5
82348 ac_status=$?
82349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82350 (exit $ac_status); }; } &&
82351 { ac_try='test -s conftest$ac_exeext'
82352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82353 (eval $ac_try) 2>&5
82354 ac_status=$?
82355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82356 (exit $ac_status); }; }; then
82357 eval "$as_ac_var=yes"
82358 else
82359 echo "$as_me: failed program was:" >&5
82360 sed 's/^/| /' conftest.$ac_ext >&5
82362 eval "$as_ac_var=no"
82364 rm -f conftest.err conftest.$ac_objext \
82365 conftest$ac_exeext conftest.$ac_ext
82367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82369 if test `eval echo '${'$as_ac_var'}'` = yes; then
82370 cat >>confdefs.h <<_ACEOF
82371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82372 _ACEOF
82375 done
82377 else
82378 echo "$as_me:$LINENO: checking for _float round functions" >&5
82379 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
82380 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
82381 echo $ECHO_N "(cached) $ECHO_C" >&6
82382 else
82386 ac_ext=cc
82387 ac_cpp='$CXXCPP $CPPFLAGS'
82388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82392 cat >conftest.$ac_ext <<_ACEOF
82393 /* confdefs.h. */
82394 _ACEOF
82395 cat confdefs.h >>conftest.$ac_ext
82396 cat >>conftest.$ac_ext <<_ACEOF
82397 /* end confdefs.h. */
82398 #include <math.h>
82400 main ()
82402 _ceilf (0); _floorf (0);
82404 return 0;
82406 _ACEOF
82407 rm -f conftest.$ac_objext
82408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82409 (eval $ac_compile) 2>conftest.er1
82410 ac_status=$?
82411 grep -v '^ *+' conftest.er1 >conftest.err
82412 rm -f conftest.er1
82413 cat conftest.err >&5
82414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82415 (exit $ac_status); } &&
82416 { ac_try='test -z "$ac_cxx_werror_flag"
82417 || test ! -s conftest.err'
82418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82419 (eval $ac_try) 2>&5
82420 ac_status=$?
82421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82422 (exit $ac_status); }; } &&
82423 { ac_try='test -s conftest.$ac_objext'
82424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82425 (eval $ac_try) 2>&5
82426 ac_status=$?
82427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82428 (exit $ac_status); }; }; then
82429 glibcxx_cv_func__float_round_use=yes
82430 else
82431 echo "$as_me: failed program was:" >&5
82432 sed 's/^/| /' conftest.$ac_ext >&5
82434 glibcxx_cv_func__float_round_use=no
82436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82437 ac_ext=c
82438 ac_cpp='$CPP $CPPFLAGS'
82439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82445 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
82446 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
82447 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
82450 for ac_func in _ceilf _floorf
82452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82453 echo "$as_me:$LINENO: checking for $ac_func" >&5
82454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82455 if eval "test \"\${$as_ac_var+set}\" = set"; then
82456 echo $ECHO_N "(cached) $ECHO_C" >&6
82457 else
82458 if test x$gcc_no_link = xyes; then
82459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82461 { (exit 1); exit 1; }; }
82463 cat >conftest.$ac_ext <<_ACEOF
82464 /* confdefs.h. */
82465 _ACEOF
82466 cat confdefs.h >>conftest.$ac_ext
82467 cat >>conftest.$ac_ext <<_ACEOF
82468 /* end confdefs.h. */
82469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82471 #define $ac_func innocuous_$ac_func
82473 /* System header to define __stub macros and hopefully few prototypes,
82474 which can conflict with char $ac_func (); below.
82475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82476 <limits.h> exists even on freestanding compilers. */
82478 #ifdef __STDC__
82479 # include <limits.h>
82480 #else
82481 # include <assert.h>
82482 #endif
82484 #undef $ac_func
82486 /* Override any gcc2 internal prototype to avoid an error. */
82487 #ifdef __cplusplus
82488 extern "C"
82490 #endif
82491 /* We use char because int might match the return type of a gcc2
82492 builtin and then its argument prototype would still apply. */
82493 char $ac_func ();
82494 /* The GNU C library defines this for functions which it implements
82495 to always fail with ENOSYS. Some functions are actually named
82496 something starting with __ and the normal name is an alias. */
82497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82498 choke me
82499 #else
82500 char (*f) () = $ac_func;
82501 #endif
82502 #ifdef __cplusplus
82504 #endif
82507 main ()
82509 return f != $ac_func;
82511 return 0;
82513 _ACEOF
82514 rm -f conftest.$ac_objext conftest$ac_exeext
82515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82516 (eval $ac_link) 2>conftest.er1
82517 ac_status=$?
82518 grep -v '^ *+' conftest.er1 >conftest.err
82519 rm -f conftest.er1
82520 cat conftest.err >&5
82521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82522 (exit $ac_status); } &&
82523 { ac_try='test -z "$ac_c_werror_flag"
82524 || test ! -s conftest.err'
82525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82526 (eval $ac_try) 2>&5
82527 ac_status=$?
82528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82529 (exit $ac_status); }; } &&
82530 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
82536 eval "$as_ac_var=yes"
82537 else
82538 echo "$as_me: failed program was:" >&5
82539 sed 's/^/| /' conftest.$ac_ext >&5
82541 eval "$as_ac_var=no"
82543 rm -f conftest.err conftest.$ac_objext \
82544 conftest$ac_exeext conftest.$ac_ext
82546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82548 if test `eval echo '${'$as_ac_var'}'` = yes; then
82549 cat >>confdefs.h <<_ACEOF
82550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82551 _ACEOF
82554 done
82566 echo "$as_me:$LINENO: checking for expf declaration" >&5
82567 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
82568 if test x${glibcxx_cv_func_expf_use+set} != xset; then
82569 if test "${glibcxx_cv_func_expf_use+set}" = set; then
82570 echo $ECHO_N "(cached) $ECHO_C" >&6
82571 else
82575 ac_ext=cc
82576 ac_cpp='$CXXCPP $CPPFLAGS'
82577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82581 cat >conftest.$ac_ext <<_ACEOF
82582 /* confdefs.h. */
82583 _ACEOF
82584 cat confdefs.h >>conftest.$ac_ext
82585 cat >>conftest.$ac_ext <<_ACEOF
82586 /* end confdefs.h. */
82587 #include <math.h>
82588 #ifdef HAVE_IEEEFP_H
82589 #include <ieeefp.h>
82590 #endif
82593 main ()
82595 expf(0);
82597 return 0;
82599 _ACEOF
82600 rm -f conftest.$ac_objext
82601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82602 (eval $ac_compile) 2>conftest.er1
82603 ac_status=$?
82604 grep -v '^ *+' conftest.er1 >conftest.err
82605 rm -f conftest.er1
82606 cat conftest.err >&5
82607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82608 (exit $ac_status); } &&
82609 { ac_try='test -z "$ac_cxx_werror_flag"
82610 || test ! -s conftest.err'
82611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82612 (eval $ac_try) 2>&5
82613 ac_status=$?
82614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82615 (exit $ac_status); }; } &&
82616 { ac_try='test -s conftest.$ac_objext'
82617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82618 (eval $ac_try) 2>&5
82619 ac_status=$?
82620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82621 (exit $ac_status); }; }; then
82622 glibcxx_cv_func_expf_use=yes
82623 else
82624 echo "$as_me: failed program was:" >&5
82625 sed 's/^/| /' conftest.$ac_ext >&5
82627 glibcxx_cv_func_expf_use=no
82629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82630 ac_ext=c
82631 ac_cpp='$CPP $CPPFLAGS'
82632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82640 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
82641 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
82643 if test x$glibcxx_cv_func_expf_use = x"yes"; then
82645 for ac_func in expf
82647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82648 echo "$as_me:$LINENO: checking for $ac_func" >&5
82649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82650 if eval "test \"\${$as_ac_var+set}\" = set"; then
82651 echo $ECHO_N "(cached) $ECHO_C" >&6
82652 else
82653 if test x$gcc_no_link = xyes; then
82654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82656 { (exit 1); exit 1; }; }
82658 cat >conftest.$ac_ext <<_ACEOF
82659 /* confdefs.h. */
82660 _ACEOF
82661 cat confdefs.h >>conftest.$ac_ext
82662 cat >>conftest.$ac_ext <<_ACEOF
82663 /* end confdefs.h. */
82664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82666 #define $ac_func innocuous_$ac_func
82668 /* System header to define __stub macros and hopefully few prototypes,
82669 which can conflict with char $ac_func (); below.
82670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82671 <limits.h> exists even on freestanding compilers. */
82673 #ifdef __STDC__
82674 # include <limits.h>
82675 #else
82676 # include <assert.h>
82677 #endif
82679 #undef $ac_func
82681 /* Override any gcc2 internal prototype to avoid an error. */
82682 #ifdef __cplusplus
82683 extern "C"
82685 #endif
82686 /* We use char because int might match the return type of a gcc2
82687 builtin and then its argument prototype would still apply. */
82688 char $ac_func ();
82689 /* The GNU C library defines this for functions which it implements
82690 to always fail with ENOSYS. Some functions are actually named
82691 something starting with __ and the normal name is an alias. */
82692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82693 choke me
82694 #else
82695 char (*f) () = $ac_func;
82696 #endif
82697 #ifdef __cplusplus
82699 #endif
82702 main ()
82704 return f != $ac_func;
82706 return 0;
82708 _ACEOF
82709 rm -f conftest.$ac_objext conftest$ac_exeext
82710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82711 (eval $ac_link) 2>conftest.er1
82712 ac_status=$?
82713 grep -v '^ *+' conftest.er1 >conftest.err
82714 rm -f conftest.er1
82715 cat conftest.err >&5
82716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82717 (exit $ac_status); } &&
82718 { ac_try='test -z "$ac_c_werror_flag"
82719 || test ! -s conftest.err'
82720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82721 (eval $ac_try) 2>&5
82722 ac_status=$?
82723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82724 (exit $ac_status); }; } &&
82725 { ac_try='test -s conftest$ac_exeext'
82726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82727 (eval $ac_try) 2>&5
82728 ac_status=$?
82729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82730 (exit $ac_status); }; }; then
82731 eval "$as_ac_var=yes"
82732 else
82733 echo "$as_me: failed program was:" >&5
82734 sed 's/^/| /' conftest.$ac_ext >&5
82736 eval "$as_ac_var=no"
82738 rm -f conftest.err conftest.$ac_objext \
82739 conftest$ac_exeext conftest.$ac_ext
82741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82743 if test `eval echo '${'$as_ac_var'}'` = yes; then
82744 cat >>confdefs.h <<_ACEOF
82745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82746 _ACEOF
82749 done
82751 else
82753 echo "$as_me:$LINENO: checking for _expf declaration" >&5
82754 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
82755 if test x${glibcxx_cv_func__expf_use+set} != xset; then
82756 if test "${glibcxx_cv_func__expf_use+set}" = set; then
82757 echo $ECHO_N "(cached) $ECHO_C" >&6
82758 else
82762 ac_ext=cc
82763 ac_cpp='$CXXCPP $CPPFLAGS'
82764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82768 cat >conftest.$ac_ext <<_ACEOF
82769 /* confdefs.h. */
82770 _ACEOF
82771 cat confdefs.h >>conftest.$ac_ext
82772 cat >>conftest.$ac_ext <<_ACEOF
82773 /* end confdefs.h. */
82774 #include <math.h>
82775 #ifdef HAVE_IEEEFP_H
82776 #include <ieeefp.h>
82777 #endif
82780 main ()
82782 _expf(0);
82784 return 0;
82786 _ACEOF
82787 rm -f conftest.$ac_objext
82788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82789 (eval $ac_compile) 2>conftest.er1
82790 ac_status=$?
82791 grep -v '^ *+' conftest.er1 >conftest.err
82792 rm -f conftest.er1
82793 cat conftest.err >&5
82794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82795 (exit $ac_status); } &&
82796 { ac_try='test -z "$ac_cxx_werror_flag"
82797 || test ! -s conftest.err'
82798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82799 (eval $ac_try) 2>&5
82800 ac_status=$?
82801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82802 (exit $ac_status); }; } &&
82803 { ac_try='test -s conftest.$ac_objext'
82804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82805 (eval $ac_try) 2>&5
82806 ac_status=$?
82807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82808 (exit $ac_status); }; }; then
82809 glibcxx_cv_func__expf_use=yes
82810 else
82811 echo "$as_me: failed program was:" >&5
82812 sed 's/^/| /' conftest.$ac_ext >&5
82814 glibcxx_cv_func__expf_use=no
82816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82817 ac_ext=c
82818 ac_cpp='$CPP $CPPFLAGS'
82819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82827 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
82828 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
82830 if test x$glibcxx_cv_func__expf_use = x"yes"; then
82832 for ac_func in _expf
82834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82835 echo "$as_me:$LINENO: checking for $ac_func" >&5
82836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82837 if eval "test \"\${$as_ac_var+set}\" = set"; then
82838 echo $ECHO_N "(cached) $ECHO_C" >&6
82839 else
82840 if test x$gcc_no_link = xyes; then
82841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82843 { (exit 1); exit 1; }; }
82845 cat >conftest.$ac_ext <<_ACEOF
82846 /* confdefs.h. */
82847 _ACEOF
82848 cat confdefs.h >>conftest.$ac_ext
82849 cat >>conftest.$ac_ext <<_ACEOF
82850 /* end confdefs.h. */
82851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82853 #define $ac_func innocuous_$ac_func
82855 /* System header to define __stub macros and hopefully few prototypes,
82856 which can conflict with char $ac_func (); below.
82857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82858 <limits.h> exists even on freestanding compilers. */
82860 #ifdef __STDC__
82861 # include <limits.h>
82862 #else
82863 # include <assert.h>
82864 #endif
82866 #undef $ac_func
82868 /* Override any gcc2 internal prototype to avoid an error. */
82869 #ifdef __cplusplus
82870 extern "C"
82872 #endif
82873 /* We use char because int might match the return type of a gcc2
82874 builtin and then its argument prototype would still apply. */
82875 char $ac_func ();
82876 /* The GNU C library defines this for functions which it implements
82877 to always fail with ENOSYS. Some functions are actually named
82878 something starting with __ and the normal name is an alias. */
82879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82880 choke me
82881 #else
82882 char (*f) () = $ac_func;
82883 #endif
82884 #ifdef __cplusplus
82886 #endif
82889 main ()
82891 return f != $ac_func;
82893 return 0;
82895 _ACEOF
82896 rm -f conftest.$ac_objext conftest$ac_exeext
82897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82898 (eval $ac_link) 2>conftest.er1
82899 ac_status=$?
82900 grep -v '^ *+' conftest.er1 >conftest.err
82901 rm -f conftest.er1
82902 cat conftest.err >&5
82903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82904 (exit $ac_status); } &&
82905 { ac_try='test -z "$ac_c_werror_flag"
82906 || test ! -s conftest.err'
82907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82908 (eval $ac_try) 2>&5
82909 ac_status=$?
82910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82911 (exit $ac_status); }; } &&
82912 { ac_try='test -s conftest$ac_exeext'
82913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82914 (eval $ac_try) 2>&5
82915 ac_status=$?
82916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82917 (exit $ac_status); }; }; then
82918 eval "$as_ac_var=yes"
82919 else
82920 echo "$as_me: failed program was:" >&5
82921 sed 's/^/| /' conftest.$ac_ext >&5
82923 eval "$as_ac_var=no"
82925 rm -f conftest.err conftest.$ac_objext \
82926 conftest$ac_exeext conftest.$ac_ext
82928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82930 if test `eval echo '${'$as_ac_var'}'` = yes; then
82931 cat >>confdefs.h <<_ACEOF
82932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82933 _ACEOF
82936 done
82946 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
82947 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
82948 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
82949 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
82950 echo $ECHO_N "(cached) $ECHO_C" >&6
82951 else
82955 ac_ext=cc
82956 ac_cpp='$CXXCPP $CPPFLAGS'
82957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82961 cat >conftest.$ac_ext <<_ACEOF
82962 /* confdefs.h. */
82963 _ACEOF
82964 cat confdefs.h >>conftest.$ac_ext
82965 cat >>conftest.$ac_ext <<_ACEOF
82966 /* end confdefs.h. */
82967 #include <math.h>
82968 #ifdef HAVE_IEEEFP_H
82969 #include <ieeefp.h>
82970 #endif
82973 main ()
82975 isnanf(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_isnanf_use=yes
83003 else
83004 echo "$as_me: failed program was:" >&5
83005 sed 's/^/| /' conftest.$ac_ext >&5
83007 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
83021 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
83023 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
83025 for ac_func in isnanf
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 _isnanf declaration" >&5
83134 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
83135 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
83136 if test "${glibcxx_cv_func__isnanf_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>
83155 #ifdef HAVE_IEEEFP_H
83156 #include <ieeefp.h>
83157 #endif
83160 main ()
83162 _isnanf(0);
83164 return 0;
83166 _ACEOF
83167 rm -f conftest.$ac_objext
83168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83169 (eval $ac_compile) 2>conftest.er1
83170 ac_status=$?
83171 grep -v '^ *+' conftest.er1 >conftest.err
83172 rm -f conftest.er1
83173 cat conftest.err >&5
83174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83175 (exit $ac_status); } &&
83176 { ac_try='test -z "$ac_cxx_werror_flag"
83177 || test ! -s conftest.err'
83178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83179 (eval $ac_try) 2>&5
83180 ac_status=$?
83181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83182 (exit $ac_status); }; } &&
83183 { ac_try='test -s conftest.$ac_objext'
83184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83185 (eval $ac_try) 2>&5
83186 ac_status=$?
83187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83188 (exit $ac_status); }; }; then
83189 glibcxx_cv_func__isnanf_use=yes
83190 else
83191 echo "$as_me: failed program was:" >&5
83192 sed 's/^/| /' conftest.$ac_ext >&5
83194 glibcxx_cv_func__isnanf_use=no
83196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83197 ac_ext=c
83198 ac_cpp='$CPP $CPPFLAGS'
83199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83207 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
83208 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
83210 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
83212 for ac_func in _isnanf
83214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83215 echo "$as_me:$LINENO: checking for $ac_func" >&5
83216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83217 if eval "test \"\${$as_ac_var+set}\" = set"; then
83218 echo $ECHO_N "(cached) $ECHO_C" >&6
83219 else
83220 if test x$gcc_no_link = xyes; then
83221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83223 { (exit 1); exit 1; }; }
83225 cat >conftest.$ac_ext <<_ACEOF
83226 /* confdefs.h. */
83227 _ACEOF
83228 cat confdefs.h >>conftest.$ac_ext
83229 cat >>conftest.$ac_ext <<_ACEOF
83230 /* end confdefs.h. */
83231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83233 #define $ac_func innocuous_$ac_func
83235 /* System header to define __stub macros and hopefully few prototypes,
83236 which can conflict with char $ac_func (); below.
83237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83238 <limits.h> exists even on freestanding compilers. */
83240 #ifdef __STDC__
83241 # include <limits.h>
83242 #else
83243 # include <assert.h>
83244 #endif
83246 #undef $ac_func
83248 /* Override any gcc2 internal prototype to avoid an error. */
83249 #ifdef __cplusplus
83250 extern "C"
83252 #endif
83253 /* We use char because int might match the return type of a gcc2
83254 builtin and then its argument prototype would still apply. */
83255 char $ac_func ();
83256 /* The GNU C library defines this for functions which it implements
83257 to always fail with ENOSYS. Some functions are actually named
83258 something starting with __ and the normal name is an alias. */
83259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83260 choke me
83261 #else
83262 char (*f) () = $ac_func;
83263 #endif
83264 #ifdef __cplusplus
83266 #endif
83269 main ()
83271 return f != $ac_func;
83273 return 0;
83275 _ACEOF
83276 rm -f conftest.$ac_objext conftest$ac_exeext
83277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83278 (eval $ac_link) 2>conftest.er1
83279 ac_status=$?
83280 grep -v '^ *+' conftest.er1 >conftest.err
83281 rm -f conftest.er1
83282 cat conftest.err >&5
83283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83284 (exit $ac_status); } &&
83285 { ac_try='test -z "$ac_c_werror_flag"
83286 || test ! -s conftest.err'
83287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83288 (eval $ac_try) 2>&5
83289 ac_status=$?
83290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83291 (exit $ac_status); }; } &&
83292 { ac_try='test -s conftest$ac_exeext'
83293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83294 (eval $ac_try) 2>&5
83295 ac_status=$?
83296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83297 (exit $ac_status); }; }; then
83298 eval "$as_ac_var=yes"
83299 else
83300 echo "$as_me: failed program was:" >&5
83301 sed 's/^/| /' conftest.$ac_ext >&5
83303 eval "$as_ac_var=no"
83305 rm -f conftest.err conftest.$ac_objext \
83306 conftest$ac_exeext conftest.$ac_ext
83308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83310 if test `eval echo '${'$as_ac_var'}'` = yes; then
83311 cat >>confdefs.h <<_ACEOF
83312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83313 _ACEOF
83316 done
83326 echo "$as_me:$LINENO: checking for isinff declaration" >&5
83327 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
83328 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
83329 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
83330 echo $ECHO_N "(cached) $ECHO_C" >&6
83331 else
83335 ac_ext=cc
83336 ac_cpp='$CXXCPP $CPPFLAGS'
83337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83341 cat >conftest.$ac_ext <<_ACEOF
83342 /* confdefs.h. */
83343 _ACEOF
83344 cat confdefs.h >>conftest.$ac_ext
83345 cat >>conftest.$ac_ext <<_ACEOF
83346 /* end confdefs.h. */
83347 #include <math.h>
83348 #ifdef HAVE_IEEEFP_H
83349 #include <ieeefp.h>
83350 #endif
83353 main ()
83355 isinff(0);
83357 return 0;
83359 _ACEOF
83360 rm -f conftest.$ac_objext
83361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83362 (eval $ac_compile) 2>conftest.er1
83363 ac_status=$?
83364 grep -v '^ *+' conftest.er1 >conftest.err
83365 rm -f conftest.er1
83366 cat conftest.err >&5
83367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83368 (exit $ac_status); } &&
83369 { ac_try='test -z "$ac_cxx_werror_flag"
83370 || test ! -s conftest.err'
83371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83372 (eval $ac_try) 2>&5
83373 ac_status=$?
83374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83375 (exit $ac_status); }; } &&
83376 { ac_try='test -s conftest.$ac_objext'
83377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83378 (eval $ac_try) 2>&5
83379 ac_status=$?
83380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83381 (exit $ac_status); }; }; then
83382 glibcxx_cv_func_isinff_use=yes
83383 else
83384 echo "$as_me: failed program was:" >&5
83385 sed 's/^/| /' conftest.$ac_ext >&5
83387 glibcxx_cv_func_isinff_use=no
83389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83390 ac_ext=c
83391 ac_cpp='$CPP $CPPFLAGS'
83392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
83401 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
83403 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
83405 for ac_func in isinff
83407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83408 echo "$as_me:$LINENO: checking for $ac_func" >&5
83409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83410 if eval "test \"\${$as_ac_var+set}\" = set"; then
83411 echo $ECHO_N "(cached) $ECHO_C" >&6
83412 else
83413 if test x$gcc_no_link = xyes; then
83414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83416 { (exit 1); exit 1; }; }
83418 cat >conftest.$ac_ext <<_ACEOF
83419 /* confdefs.h. */
83420 _ACEOF
83421 cat confdefs.h >>conftest.$ac_ext
83422 cat >>conftest.$ac_ext <<_ACEOF
83423 /* end confdefs.h. */
83424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83426 #define $ac_func innocuous_$ac_func
83428 /* System header to define __stub macros and hopefully few prototypes,
83429 which can conflict with char $ac_func (); below.
83430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83431 <limits.h> exists even on freestanding compilers. */
83433 #ifdef __STDC__
83434 # include <limits.h>
83435 #else
83436 # include <assert.h>
83437 #endif
83439 #undef $ac_func
83441 /* Override any gcc2 internal prototype to avoid an error. */
83442 #ifdef __cplusplus
83443 extern "C"
83445 #endif
83446 /* We use char because int might match the return type of a gcc2
83447 builtin and then its argument prototype would still apply. */
83448 char $ac_func ();
83449 /* The GNU C library defines this for functions which it implements
83450 to always fail with ENOSYS. Some functions are actually named
83451 something starting with __ and the normal name is an alias. */
83452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83453 choke me
83454 #else
83455 char (*f) () = $ac_func;
83456 #endif
83457 #ifdef __cplusplus
83459 #endif
83462 main ()
83464 return f != $ac_func;
83466 return 0;
83468 _ACEOF
83469 rm -f conftest.$ac_objext conftest$ac_exeext
83470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83471 (eval $ac_link) 2>conftest.er1
83472 ac_status=$?
83473 grep -v '^ *+' conftest.er1 >conftest.err
83474 rm -f conftest.er1
83475 cat conftest.err >&5
83476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83477 (exit $ac_status); } &&
83478 { ac_try='test -z "$ac_c_werror_flag"
83479 || test ! -s conftest.err'
83480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83481 (eval $ac_try) 2>&5
83482 ac_status=$?
83483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83484 (exit $ac_status); }; } &&
83485 { ac_try='test -s conftest$ac_exeext'
83486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83487 (eval $ac_try) 2>&5
83488 ac_status=$?
83489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83490 (exit $ac_status); }; }; then
83491 eval "$as_ac_var=yes"
83492 else
83493 echo "$as_me: failed program was:" >&5
83494 sed 's/^/| /' conftest.$ac_ext >&5
83496 eval "$as_ac_var=no"
83498 rm -f conftest.err conftest.$ac_objext \
83499 conftest$ac_exeext conftest.$ac_ext
83501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83503 if test `eval echo '${'$as_ac_var'}'` = yes; then
83504 cat >>confdefs.h <<_ACEOF
83505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83506 _ACEOF
83509 done
83511 else
83513 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
83514 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
83515 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
83516 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
83517 echo $ECHO_N "(cached) $ECHO_C" >&6
83518 else
83522 ac_ext=cc
83523 ac_cpp='$CXXCPP $CPPFLAGS'
83524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83528 cat >conftest.$ac_ext <<_ACEOF
83529 /* confdefs.h. */
83530 _ACEOF
83531 cat confdefs.h >>conftest.$ac_ext
83532 cat >>conftest.$ac_ext <<_ACEOF
83533 /* end confdefs.h. */
83534 #include <math.h>
83535 #ifdef HAVE_IEEEFP_H
83536 #include <ieeefp.h>
83537 #endif
83540 main ()
83542 _isinff(0);
83544 return 0;
83546 _ACEOF
83547 rm -f conftest.$ac_objext
83548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83549 (eval $ac_compile) 2>conftest.er1
83550 ac_status=$?
83551 grep -v '^ *+' conftest.er1 >conftest.err
83552 rm -f conftest.er1
83553 cat conftest.err >&5
83554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83555 (exit $ac_status); } &&
83556 { ac_try='test -z "$ac_cxx_werror_flag"
83557 || test ! -s conftest.err'
83558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83559 (eval $ac_try) 2>&5
83560 ac_status=$?
83561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83562 (exit $ac_status); }; } &&
83563 { ac_try='test -s conftest.$ac_objext'
83564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83565 (eval $ac_try) 2>&5
83566 ac_status=$?
83567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83568 (exit $ac_status); }; }; then
83569 glibcxx_cv_func__isinff_use=yes
83570 else
83571 echo "$as_me: failed program was:" >&5
83572 sed 's/^/| /' conftest.$ac_ext >&5
83574 glibcxx_cv_func__isinff_use=no
83576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83577 ac_ext=c
83578 ac_cpp='$CPP $CPPFLAGS'
83579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83587 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
83588 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
83590 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
83592 for ac_func in _isinff
83594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83595 echo "$as_me:$LINENO: checking for $ac_func" >&5
83596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83597 if eval "test \"\${$as_ac_var+set}\" = set"; then
83598 echo $ECHO_N "(cached) $ECHO_C" >&6
83599 else
83600 if test x$gcc_no_link = xyes; then
83601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83603 { (exit 1); exit 1; }; }
83605 cat >conftest.$ac_ext <<_ACEOF
83606 /* confdefs.h. */
83607 _ACEOF
83608 cat confdefs.h >>conftest.$ac_ext
83609 cat >>conftest.$ac_ext <<_ACEOF
83610 /* end confdefs.h. */
83611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83613 #define $ac_func innocuous_$ac_func
83615 /* System header to define __stub macros and hopefully few prototypes,
83616 which can conflict with char $ac_func (); below.
83617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83618 <limits.h> exists even on freestanding compilers. */
83620 #ifdef __STDC__
83621 # include <limits.h>
83622 #else
83623 # include <assert.h>
83624 #endif
83626 #undef $ac_func
83628 /* Override any gcc2 internal prototype to avoid an error. */
83629 #ifdef __cplusplus
83630 extern "C"
83632 #endif
83633 /* We use char because int might match the return type of a gcc2
83634 builtin and then its argument prototype would still apply. */
83635 char $ac_func ();
83636 /* The GNU C library defines this for functions which it implements
83637 to always fail with ENOSYS. Some functions are actually named
83638 something starting with __ and the normal name is an alias. */
83639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83640 choke me
83641 #else
83642 char (*f) () = $ac_func;
83643 #endif
83644 #ifdef __cplusplus
83646 #endif
83649 main ()
83651 return f != $ac_func;
83653 return 0;
83655 _ACEOF
83656 rm -f conftest.$ac_objext conftest$ac_exeext
83657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83658 (eval $ac_link) 2>conftest.er1
83659 ac_status=$?
83660 grep -v '^ *+' conftest.er1 >conftest.err
83661 rm -f conftest.er1
83662 cat conftest.err >&5
83663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83664 (exit $ac_status); } &&
83665 { ac_try='test -z "$ac_c_werror_flag"
83666 || test ! -s conftest.err'
83667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83668 (eval $ac_try) 2>&5
83669 ac_status=$?
83670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83671 (exit $ac_status); }; } &&
83672 { ac_try='test -s conftest$ac_exeext'
83673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83674 (eval $ac_try) 2>&5
83675 ac_status=$?
83676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83677 (exit $ac_status); }; }; then
83678 eval "$as_ac_var=yes"
83679 else
83680 echo "$as_me: failed program was:" >&5
83681 sed 's/^/| /' conftest.$ac_ext >&5
83683 eval "$as_ac_var=no"
83685 rm -f conftest.err conftest.$ac_objext \
83686 conftest$ac_exeext conftest.$ac_ext
83688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83690 if test `eval echo '${'$as_ac_var'}'` = yes; then
83691 cat >>confdefs.h <<_ACEOF
83692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83693 _ACEOF
83696 done
83706 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
83707 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
83708 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
83709 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
83710 echo $ECHO_N "(cached) $ECHO_C" >&6
83711 else
83715 ac_ext=cc
83716 ac_cpp='$CXXCPP $CPPFLAGS'
83717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83721 cat >conftest.$ac_ext <<_ACEOF
83722 /* confdefs.h. */
83723 _ACEOF
83724 cat confdefs.h >>conftest.$ac_ext
83725 cat >>conftest.$ac_ext <<_ACEOF
83726 /* end confdefs.h. */
83727 #include <math.h>
83729 main ()
83731 atan2f(0, 0);
83733 return 0;
83735 _ACEOF
83736 rm -f conftest.$ac_objext
83737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83738 (eval $ac_compile) 2>conftest.er1
83739 ac_status=$?
83740 grep -v '^ *+' conftest.er1 >conftest.err
83741 rm -f conftest.er1
83742 cat conftest.err >&5
83743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83744 (exit $ac_status); } &&
83745 { ac_try='test -z "$ac_cxx_werror_flag"
83746 || test ! -s conftest.err'
83747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83748 (eval $ac_try) 2>&5
83749 ac_status=$?
83750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83751 (exit $ac_status); }; } &&
83752 { ac_try='test -s conftest.$ac_objext'
83753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83754 (eval $ac_try) 2>&5
83755 ac_status=$?
83756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83757 (exit $ac_status); }; }; then
83758 glibcxx_cv_func_atan2f_use=yes
83759 else
83760 echo "$as_me: failed program was:" >&5
83761 sed 's/^/| /' conftest.$ac_ext >&5
83763 glibcxx_cv_func_atan2f_use=no
83765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83766 ac_ext=c
83767 ac_cpp='$CPP $CPPFLAGS'
83768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83776 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
83777 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
83779 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
83781 for ac_func in atan2f
83783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83784 echo "$as_me:$LINENO: checking for $ac_func" >&5
83785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83786 if eval "test \"\${$as_ac_var+set}\" = set"; then
83787 echo $ECHO_N "(cached) $ECHO_C" >&6
83788 else
83789 if test x$gcc_no_link = xyes; then
83790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83792 { (exit 1); exit 1; }; }
83794 cat >conftest.$ac_ext <<_ACEOF
83795 /* confdefs.h. */
83796 _ACEOF
83797 cat confdefs.h >>conftest.$ac_ext
83798 cat >>conftest.$ac_ext <<_ACEOF
83799 /* end confdefs.h. */
83800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83802 #define $ac_func innocuous_$ac_func
83804 /* System header to define __stub macros and hopefully few prototypes,
83805 which can conflict with char $ac_func (); below.
83806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83807 <limits.h> exists even on freestanding compilers. */
83809 #ifdef __STDC__
83810 # include <limits.h>
83811 #else
83812 # include <assert.h>
83813 #endif
83815 #undef $ac_func
83817 /* Override any gcc2 internal prototype to avoid an error. */
83818 #ifdef __cplusplus
83819 extern "C"
83821 #endif
83822 /* We use char because int might match the return type of a gcc2
83823 builtin and then its argument prototype would still apply. */
83824 char $ac_func ();
83825 /* The GNU C library defines this for functions which it implements
83826 to always fail with ENOSYS. Some functions are actually named
83827 something starting with __ and the normal name is an alias. */
83828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83829 choke me
83830 #else
83831 char (*f) () = $ac_func;
83832 #endif
83833 #ifdef __cplusplus
83835 #endif
83838 main ()
83840 return f != $ac_func;
83842 return 0;
83844 _ACEOF
83845 rm -f conftest.$ac_objext conftest$ac_exeext
83846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83847 (eval $ac_link) 2>conftest.er1
83848 ac_status=$?
83849 grep -v '^ *+' conftest.er1 >conftest.err
83850 rm -f conftest.er1
83851 cat conftest.err >&5
83852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83853 (exit $ac_status); } &&
83854 { ac_try='test -z "$ac_c_werror_flag"
83855 || test ! -s conftest.err'
83856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83857 (eval $ac_try) 2>&5
83858 ac_status=$?
83859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83860 (exit $ac_status); }; } &&
83861 { ac_try='test -s conftest$ac_exeext'
83862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83863 (eval $ac_try) 2>&5
83864 ac_status=$?
83865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83866 (exit $ac_status); }; }; then
83867 eval "$as_ac_var=yes"
83868 else
83869 echo "$as_me: failed program was:" >&5
83870 sed 's/^/| /' conftest.$ac_ext >&5
83872 eval "$as_ac_var=no"
83874 rm -f conftest.err conftest.$ac_objext \
83875 conftest$ac_exeext conftest.$ac_ext
83877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83879 if test `eval echo '${'$as_ac_var'}'` = yes; then
83880 cat >>confdefs.h <<_ACEOF
83881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83882 _ACEOF
83885 done
83887 else
83889 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
83890 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
83891 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
83892 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
83893 echo $ECHO_N "(cached) $ECHO_C" >&6
83894 else
83898 ac_ext=cc
83899 ac_cpp='$CXXCPP $CPPFLAGS'
83900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83904 cat >conftest.$ac_ext <<_ACEOF
83905 /* confdefs.h. */
83906 _ACEOF
83907 cat confdefs.h >>conftest.$ac_ext
83908 cat >>conftest.$ac_ext <<_ACEOF
83909 /* end confdefs.h. */
83910 #include <math.h>
83912 main ()
83914 _atan2f(0, 0);
83916 return 0;
83918 _ACEOF
83919 rm -f conftest.$ac_objext
83920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83921 (eval $ac_compile) 2>conftest.er1
83922 ac_status=$?
83923 grep -v '^ *+' conftest.er1 >conftest.err
83924 rm -f conftest.er1
83925 cat conftest.err >&5
83926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83927 (exit $ac_status); } &&
83928 { ac_try='test -z "$ac_cxx_werror_flag"
83929 || test ! -s conftest.err'
83930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83931 (eval $ac_try) 2>&5
83932 ac_status=$?
83933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83934 (exit $ac_status); }; } &&
83935 { ac_try='test -s conftest.$ac_objext'
83936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83937 (eval $ac_try) 2>&5
83938 ac_status=$?
83939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83940 (exit $ac_status); }; }; then
83941 glibcxx_cv_func__atan2f_use=yes
83942 else
83943 echo "$as_me: failed program was:" >&5
83944 sed 's/^/| /' conftest.$ac_ext >&5
83946 glibcxx_cv_func__atan2f_use=no
83948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83949 ac_ext=c
83950 ac_cpp='$CPP $CPPFLAGS'
83951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83959 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
83960 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
83962 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
83964 for ac_func in _atan2f
83966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83967 echo "$as_me:$LINENO: checking for $ac_func" >&5
83968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83969 if eval "test \"\${$as_ac_var+set}\" = set"; then
83970 echo $ECHO_N "(cached) $ECHO_C" >&6
83971 else
83972 if test x$gcc_no_link = xyes; then
83973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83975 { (exit 1); exit 1; }; }
83977 cat >conftest.$ac_ext <<_ACEOF
83978 /* confdefs.h. */
83979 _ACEOF
83980 cat confdefs.h >>conftest.$ac_ext
83981 cat >>conftest.$ac_ext <<_ACEOF
83982 /* end confdefs.h. */
83983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83985 #define $ac_func innocuous_$ac_func
83987 /* System header to define __stub macros and hopefully few prototypes,
83988 which can conflict with char $ac_func (); below.
83989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83990 <limits.h> exists even on freestanding compilers. */
83992 #ifdef __STDC__
83993 # include <limits.h>
83994 #else
83995 # include <assert.h>
83996 #endif
83998 #undef $ac_func
84000 /* Override any gcc2 internal prototype to avoid an error. */
84001 #ifdef __cplusplus
84002 extern "C"
84004 #endif
84005 /* We use char because int might match the return type of a gcc2
84006 builtin and then its argument prototype would still apply. */
84007 char $ac_func ();
84008 /* The GNU C library defines this for functions which it implements
84009 to always fail with ENOSYS. Some functions are actually named
84010 something starting with __ and the normal name is an alias. */
84011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84012 choke me
84013 #else
84014 char (*f) () = $ac_func;
84015 #endif
84016 #ifdef __cplusplus
84018 #endif
84021 main ()
84023 return f != $ac_func;
84025 return 0;
84027 _ACEOF
84028 rm -f conftest.$ac_objext conftest$ac_exeext
84029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84030 (eval $ac_link) 2>conftest.er1
84031 ac_status=$?
84032 grep -v '^ *+' conftest.er1 >conftest.err
84033 rm -f conftest.er1
84034 cat conftest.err >&5
84035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84036 (exit $ac_status); } &&
84037 { ac_try='test -z "$ac_c_werror_flag"
84038 || test ! -s conftest.err'
84039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84040 (eval $ac_try) 2>&5
84041 ac_status=$?
84042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84043 (exit $ac_status); }; } &&
84044 { ac_try='test -s conftest$ac_exeext'
84045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84046 (eval $ac_try) 2>&5
84047 ac_status=$?
84048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84049 (exit $ac_status); }; }; then
84050 eval "$as_ac_var=yes"
84051 else
84052 echo "$as_me: failed program was:" >&5
84053 sed 's/^/| /' conftest.$ac_ext >&5
84055 eval "$as_ac_var=no"
84057 rm -f conftest.err conftest.$ac_objext \
84058 conftest$ac_exeext conftest.$ac_ext
84060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84062 if test `eval echo '${'$as_ac_var'}'` = yes; then
84063 cat >>confdefs.h <<_ACEOF
84064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84065 _ACEOF
84068 done
84078 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
84079 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
84080 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
84081 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
84082 echo $ECHO_N "(cached) $ECHO_C" >&6
84083 else
84087 ac_ext=cc
84088 ac_cpp='$CXXCPP $CPPFLAGS'
84089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84093 cat >conftest.$ac_ext <<_ACEOF
84094 /* confdefs.h. */
84095 _ACEOF
84096 cat confdefs.h >>conftest.$ac_ext
84097 cat >>conftest.$ac_ext <<_ACEOF
84098 /* end confdefs.h. */
84099 #include <math.h>
84100 #ifdef HAVE_IEEEFP_H
84101 #include <ieeefp.h>
84102 #endif
84105 main ()
84107 fabsf(0);
84109 return 0;
84111 _ACEOF
84112 rm -f conftest.$ac_objext
84113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84114 (eval $ac_compile) 2>conftest.er1
84115 ac_status=$?
84116 grep -v '^ *+' conftest.er1 >conftest.err
84117 rm -f conftest.er1
84118 cat conftest.err >&5
84119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84120 (exit $ac_status); } &&
84121 { ac_try='test -z "$ac_cxx_werror_flag"
84122 || test ! -s conftest.err'
84123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84124 (eval $ac_try) 2>&5
84125 ac_status=$?
84126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84127 (exit $ac_status); }; } &&
84128 { ac_try='test -s conftest.$ac_objext'
84129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84130 (eval $ac_try) 2>&5
84131 ac_status=$?
84132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84133 (exit $ac_status); }; }; then
84134 glibcxx_cv_func_fabsf_use=yes
84135 else
84136 echo "$as_me: failed program was:" >&5
84137 sed 's/^/| /' conftest.$ac_ext >&5
84139 glibcxx_cv_func_fabsf_use=no
84141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84142 ac_ext=c
84143 ac_cpp='$CPP $CPPFLAGS'
84144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84152 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
84153 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
84155 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
84157 for ac_func in fabsf
84159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84160 echo "$as_me:$LINENO: checking for $ac_func" >&5
84161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84162 if eval "test \"\${$as_ac_var+set}\" = set"; then
84163 echo $ECHO_N "(cached) $ECHO_C" >&6
84164 else
84165 if test x$gcc_no_link = xyes; then
84166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84168 { (exit 1); exit 1; }; }
84170 cat >conftest.$ac_ext <<_ACEOF
84171 /* confdefs.h. */
84172 _ACEOF
84173 cat confdefs.h >>conftest.$ac_ext
84174 cat >>conftest.$ac_ext <<_ACEOF
84175 /* end confdefs.h. */
84176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84178 #define $ac_func innocuous_$ac_func
84180 /* System header to define __stub macros and hopefully few prototypes,
84181 which can conflict with char $ac_func (); below.
84182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84183 <limits.h> exists even on freestanding compilers. */
84185 #ifdef __STDC__
84186 # include <limits.h>
84187 #else
84188 # include <assert.h>
84189 #endif
84191 #undef $ac_func
84193 /* Override any gcc2 internal prototype to avoid an error. */
84194 #ifdef __cplusplus
84195 extern "C"
84197 #endif
84198 /* We use char because int might match the return type of a gcc2
84199 builtin and then its argument prototype would still apply. */
84200 char $ac_func ();
84201 /* The GNU C library defines this for functions which it implements
84202 to always fail with ENOSYS. Some functions are actually named
84203 something starting with __ and the normal name is an alias. */
84204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84205 choke me
84206 #else
84207 char (*f) () = $ac_func;
84208 #endif
84209 #ifdef __cplusplus
84211 #endif
84214 main ()
84216 return f != $ac_func;
84218 return 0;
84220 _ACEOF
84221 rm -f conftest.$ac_objext conftest$ac_exeext
84222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84223 (eval $ac_link) 2>conftest.er1
84224 ac_status=$?
84225 grep -v '^ *+' conftest.er1 >conftest.err
84226 rm -f conftest.er1
84227 cat conftest.err >&5
84228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84229 (exit $ac_status); } &&
84230 { ac_try='test -z "$ac_c_werror_flag"
84231 || test ! -s conftest.err'
84232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84233 (eval $ac_try) 2>&5
84234 ac_status=$?
84235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84236 (exit $ac_status); }; } &&
84237 { ac_try='test -s conftest$ac_exeext'
84238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84239 (eval $ac_try) 2>&5
84240 ac_status=$?
84241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84242 (exit $ac_status); }; }; then
84243 eval "$as_ac_var=yes"
84244 else
84245 echo "$as_me: failed program was:" >&5
84246 sed 's/^/| /' conftest.$ac_ext >&5
84248 eval "$as_ac_var=no"
84250 rm -f conftest.err conftest.$ac_objext \
84251 conftest$ac_exeext conftest.$ac_ext
84253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84255 if test `eval echo '${'$as_ac_var'}'` = yes; then
84256 cat >>confdefs.h <<_ACEOF
84257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84258 _ACEOF
84261 done
84263 else
84265 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
84266 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
84267 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
84268 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
84269 echo $ECHO_N "(cached) $ECHO_C" >&6
84270 else
84274 ac_ext=cc
84275 ac_cpp='$CXXCPP $CPPFLAGS'
84276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84280 cat >conftest.$ac_ext <<_ACEOF
84281 /* confdefs.h. */
84282 _ACEOF
84283 cat confdefs.h >>conftest.$ac_ext
84284 cat >>conftest.$ac_ext <<_ACEOF
84285 /* end confdefs.h. */
84286 #include <math.h>
84287 #ifdef HAVE_IEEEFP_H
84288 #include <ieeefp.h>
84289 #endif
84292 main ()
84294 _fabsf(0);
84296 return 0;
84298 _ACEOF
84299 rm -f conftest.$ac_objext
84300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84301 (eval $ac_compile) 2>conftest.er1
84302 ac_status=$?
84303 grep -v '^ *+' conftest.er1 >conftest.err
84304 rm -f conftest.er1
84305 cat conftest.err >&5
84306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84307 (exit $ac_status); } &&
84308 { ac_try='test -z "$ac_cxx_werror_flag"
84309 || test ! -s conftest.err'
84310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84311 (eval $ac_try) 2>&5
84312 ac_status=$?
84313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84314 (exit $ac_status); }; } &&
84315 { ac_try='test -s conftest.$ac_objext'
84316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84317 (eval $ac_try) 2>&5
84318 ac_status=$?
84319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84320 (exit $ac_status); }; }; then
84321 glibcxx_cv_func__fabsf_use=yes
84322 else
84323 echo "$as_me: failed program was:" >&5
84324 sed 's/^/| /' conftest.$ac_ext >&5
84326 glibcxx_cv_func__fabsf_use=no
84328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84329 ac_ext=c
84330 ac_cpp='$CPP $CPPFLAGS'
84331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84339 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
84340 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
84342 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
84344 for ac_func in _fabsf
84346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84347 echo "$as_me:$LINENO: checking for $ac_func" >&5
84348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84349 if eval "test \"\${$as_ac_var+set}\" = set"; then
84350 echo $ECHO_N "(cached) $ECHO_C" >&6
84351 else
84352 if test x$gcc_no_link = xyes; then
84353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84355 { (exit 1); exit 1; }; }
84357 cat >conftest.$ac_ext <<_ACEOF
84358 /* confdefs.h. */
84359 _ACEOF
84360 cat confdefs.h >>conftest.$ac_ext
84361 cat >>conftest.$ac_ext <<_ACEOF
84362 /* end confdefs.h. */
84363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84365 #define $ac_func innocuous_$ac_func
84367 /* System header to define __stub macros and hopefully few prototypes,
84368 which can conflict with char $ac_func (); below.
84369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84370 <limits.h> exists even on freestanding compilers. */
84372 #ifdef __STDC__
84373 # include <limits.h>
84374 #else
84375 # include <assert.h>
84376 #endif
84378 #undef $ac_func
84380 /* Override any gcc2 internal prototype to avoid an error. */
84381 #ifdef __cplusplus
84382 extern "C"
84384 #endif
84385 /* We use char because int might match the return type of a gcc2
84386 builtin and then its argument prototype would still apply. */
84387 char $ac_func ();
84388 /* The GNU C library defines this for functions which it implements
84389 to always fail with ENOSYS. Some functions are actually named
84390 something starting with __ and the normal name is an alias. */
84391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84392 choke me
84393 #else
84394 char (*f) () = $ac_func;
84395 #endif
84396 #ifdef __cplusplus
84398 #endif
84401 main ()
84403 return f != $ac_func;
84405 return 0;
84407 _ACEOF
84408 rm -f conftest.$ac_objext conftest$ac_exeext
84409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84410 (eval $ac_link) 2>conftest.er1
84411 ac_status=$?
84412 grep -v '^ *+' conftest.er1 >conftest.err
84413 rm -f conftest.er1
84414 cat conftest.err >&5
84415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84416 (exit $ac_status); } &&
84417 { ac_try='test -z "$ac_c_werror_flag"
84418 || test ! -s conftest.err'
84419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84420 (eval $ac_try) 2>&5
84421 ac_status=$?
84422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84423 (exit $ac_status); }; } &&
84424 { ac_try='test -s conftest$ac_exeext'
84425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84426 (eval $ac_try) 2>&5
84427 ac_status=$?
84428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84429 (exit $ac_status); }; }; then
84430 eval "$as_ac_var=yes"
84431 else
84432 echo "$as_me: failed program was:" >&5
84433 sed 's/^/| /' conftest.$ac_ext >&5
84435 eval "$as_ac_var=no"
84437 rm -f conftest.err conftest.$ac_objext \
84438 conftest$ac_exeext conftest.$ac_ext
84440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84442 if test `eval echo '${'$as_ac_var'}'` = yes; then
84443 cat >>confdefs.h <<_ACEOF
84444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84445 _ACEOF
84448 done
84458 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
84459 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
84460 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
84461 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
84462 echo $ECHO_N "(cached) $ECHO_C" >&6
84463 else
84467 ac_ext=cc
84468 ac_cpp='$CXXCPP $CPPFLAGS'
84469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84473 cat >conftest.$ac_ext <<_ACEOF
84474 /* confdefs.h. */
84475 _ACEOF
84476 cat confdefs.h >>conftest.$ac_ext
84477 cat >>conftest.$ac_ext <<_ACEOF
84478 /* end confdefs.h. */
84479 #include <math.h>
84481 main ()
84483 fmodf(0, 0);
84485 return 0;
84487 _ACEOF
84488 rm -f conftest.$ac_objext
84489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84490 (eval $ac_compile) 2>conftest.er1
84491 ac_status=$?
84492 grep -v '^ *+' conftest.er1 >conftest.err
84493 rm -f conftest.er1
84494 cat conftest.err >&5
84495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84496 (exit $ac_status); } &&
84497 { ac_try='test -z "$ac_cxx_werror_flag"
84498 || test ! -s conftest.err'
84499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84500 (eval $ac_try) 2>&5
84501 ac_status=$?
84502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84503 (exit $ac_status); }; } &&
84504 { ac_try='test -s conftest.$ac_objext'
84505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84506 (eval $ac_try) 2>&5
84507 ac_status=$?
84508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84509 (exit $ac_status); }; }; then
84510 glibcxx_cv_func_fmodf_use=yes
84511 else
84512 echo "$as_me: failed program was:" >&5
84513 sed 's/^/| /' conftest.$ac_ext >&5
84515 glibcxx_cv_func_fmodf_use=no
84517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84518 ac_ext=c
84519 ac_cpp='$CPP $CPPFLAGS'
84520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84528 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
84529 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
84531 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
84533 for ac_func in fmodf
84535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84536 echo "$as_me:$LINENO: checking for $ac_func" >&5
84537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84538 if eval "test \"\${$as_ac_var+set}\" = set"; then
84539 echo $ECHO_N "(cached) $ECHO_C" >&6
84540 else
84541 if test x$gcc_no_link = xyes; then
84542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84544 { (exit 1); exit 1; }; }
84546 cat >conftest.$ac_ext <<_ACEOF
84547 /* confdefs.h. */
84548 _ACEOF
84549 cat confdefs.h >>conftest.$ac_ext
84550 cat >>conftest.$ac_ext <<_ACEOF
84551 /* end confdefs.h. */
84552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84554 #define $ac_func innocuous_$ac_func
84556 /* System header to define __stub macros and hopefully few prototypes,
84557 which can conflict with char $ac_func (); below.
84558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84559 <limits.h> exists even on freestanding compilers. */
84561 #ifdef __STDC__
84562 # include <limits.h>
84563 #else
84564 # include <assert.h>
84565 #endif
84567 #undef $ac_func
84569 /* Override any gcc2 internal prototype to avoid an error. */
84570 #ifdef __cplusplus
84571 extern "C"
84573 #endif
84574 /* We use char because int might match the return type of a gcc2
84575 builtin and then its argument prototype would still apply. */
84576 char $ac_func ();
84577 /* The GNU C library defines this for functions which it implements
84578 to always fail with ENOSYS. Some functions are actually named
84579 something starting with __ and the normal name is an alias. */
84580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84581 choke me
84582 #else
84583 char (*f) () = $ac_func;
84584 #endif
84585 #ifdef __cplusplus
84587 #endif
84590 main ()
84592 return f != $ac_func;
84594 return 0;
84596 _ACEOF
84597 rm -f conftest.$ac_objext conftest$ac_exeext
84598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84599 (eval $ac_link) 2>conftest.er1
84600 ac_status=$?
84601 grep -v '^ *+' conftest.er1 >conftest.err
84602 rm -f conftest.er1
84603 cat conftest.err >&5
84604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84605 (exit $ac_status); } &&
84606 { ac_try='test -z "$ac_c_werror_flag"
84607 || test ! -s conftest.err'
84608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84609 (eval $ac_try) 2>&5
84610 ac_status=$?
84611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84612 (exit $ac_status); }; } &&
84613 { ac_try='test -s conftest$ac_exeext'
84614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84615 (eval $ac_try) 2>&5
84616 ac_status=$?
84617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84618 (exit $ac_status); }; }; then
84619 eval "$as_ac_var=yes"
84620 else
84621 echo "$as_me: failed program was:" >&5
84622 sed 's/^/| /' conftest.$ac_ext >&5
84624 eval "$as_ac_var=no"
84626 rm -f conftest.err conftest.$ac_objext \
84627 conftest$ac_exeext conftest.$ac_ext
84629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84631 if test `eval echo '${'$as_ac_var'}'` = yes; then
84632 cat >>confdefs.h <<_ACEOF
84633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84634 _ACEOF
84637 done
84639 else
84641 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
84642 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
84643 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
84644 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
84645 echo $ECHO_N "(cached) $ECHO_C" >&6
84646 else
84650 ac_ext=cc
84651 ac_cpp='$CXXCPP $CPPFLAGS'
84652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84656 cat >conftest.$ac_ext <<_ACEOF
84657 /* confdefs.h. */
84658 _ACEOF
84659 cat confdefs.h >>conftest.$ac_ext
84660 cat >>conftest.$ac_ext <<_ACEOF
84661 /* end confdefs.h. */
84662 #include <math.h>
84664 main ()
84666 _fmodf(0, 0);
84668 return 0;
84670 _ACEOF
84671 rm -f conftest.$ac_objext
84672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84673 (eval $ac_compile) 2>conftest.er1
84674 ac_status=$?
84675 grep -v '^ *+' conftest.er1 >conftest.err
84676 rm -f conftest.er1
84677 cat conftest.err >&5
84678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84679 (exit $ac_status); } &&
84680 { ac_try='test -z "$ac_cxx_werror_flag"
84681 || test ! -s conftest.err'
84682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84683 (eval $ac_try) 2>&5
84684 ac_status=$?
84685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84686 (exit $ac_status); }; } &&
84687 { ac_try='test -s conftest.$ac_objext'
84688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84689 (eval $ac_try) 2>&5
84690 ac_status=$?
84691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84692 (exit $ac_status); }; }; then
84693 glibcxx_cv_func__fmodf_use=yes
84694 else
84695 echo "$as_me: failed program was:" >&5
84696 sed 's/^/| /' conftest.$ac_ext >&5
84698 glibcxx_cv_func__fmodf_use=no
84700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84701 ac_ext=c
84702 ac_cpp='$CPP $CPPFLAGS'
84703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84711 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
84712 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
84714 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
84716 for ac_func in _fmodf
84718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84719 echo "$as_me:$LINENO: checking for $ac_func" >&5
84720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84721 if eval "test \"\${$as_ac_var+set}\" = set"; then
84722 echo $ECHO_N "(cached) $ECHO_C" >&6
84723 else
84724 if test x$gcc_no_link = xyes; then
84725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84727 { (exit 1); exit 1; }; }
84729 cat >conftest.$ac_ext <<_ACEOF
84730 /* confdefs.h. */
84731 _ACEOF
84732 cat confdefs.h >>conftest.$ac_ext
84733 cat >>conftest.$ac_ext <<_ACEOF
84734 /* end confdefs.h. */
84735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84737 #define $ac_func innocuous_$ac_func
84739 /* System header to define __stub macros and hopefully few prototypes,
84740 which can conflict with char $ac_func (); below.
84741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84742 <limits.h> exists even on freestanding compilers. */
84744 #ifdef __STDC__
84745 # include <limits.h>
84746 #else
84747 # include <assert.h>
84748 #endif
84750 #undef $ac_func
84752 /* Override any gcc2 internal prototype to avoid an error. */
84753 #ifdef __cplusplus
84754 extern "C"
84756 #endif
84757 /* We use char because int might match the return type of a gcc2
84758 builtin and then its argument prototype would still apply. */
84759 char $ac_func ();
84760 /* The GNU C library defines this for functions which it implements
84761 to always fail with ENOSYS. Some functions are actually named
84762 something starting with __ and the normal name is an alias. */
84763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84764 choke me
84765 #else
84766 char (*f) () = $ac_func;
84767 #endif
84768 #ifdef __cplusplus
84770 #endif
84773 main ()
84775 return f != $ac_func;
84777 return 0;
84779 _ACEOF
84780 rm -f conftest.$ac_objext conftest$ac_exeext
84781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84782 (eval $ac_link) 2>conftest.er1
84783 ac_status=$?
84784 grep -v '^ *+' conftest.er1 >conftest.err
84785 rm -f conftest.er1
84786 cat conftest.err >&5
84787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84788 (exit $ac_status); } &&
84789 { ac_try='test -z "$ac_c_werror_flag"
84790 || test ! -s conftest.err'
84791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84792 (eval $ac_try) 2>&5
84793 ac_status=$?
84794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84795 (exit $ac_status); }; } &&
84796 { ac_try='test -s conftest$ac_exeext'
84797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84798 (eval $ac_try) 2>&5
84799 ac_status=$?
84800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84801 (exit $ac_status); }; }; then
84802 eval "$as_ac_var=yes"
84803 else
84804 echo "$as_me: failed program was:" >&5
84805 sed 's/^/| /' conftest.$ac_ext >&5
84807 eval "$as_ac_var=no"
84809 rm -f conftest.err conftest.$ac_objext \
84810 conftest$ac_exeext conftest.$ac_ext
84812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84814 if test `eval echo '${'$as_ac_var'}'` = yes; then
84815 cat >>confdefs.h <<_ACEOF
84816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84817 _ACEOF
84820 done
84830 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
84831 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
84832 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
84833 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
84834 echo $ECHO_N "(cached) $ECHO_C" >&6
84835 else
84839 ac_ext=cc
84840 ac_cpp='$CXXCPP $CPPFLAGS'
84841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84845 cat >conftest.$ac_ext <<_ACEOF
84846 /* confdefs.h. */
84847 _ACEOF
84848 cat confdefs.h >>conftest.$ac_ext
84849 cat >>conftest.$ac_ext <<_ACEOF
84850 /* end confdefs.h. */
84851 #include <math.h>
84853 main ()
84855 frexpf(0, 0);
84857 return 0;
84859 _ACEOF
84860 rm -f conftest.$ac_objext
84861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84862 (eval $ac_compile) 2>conftest.er1
84863 ac_status=$?
84864 grep -v '^ *+' conftest.er1 >conftest.err
84865 rm -f conftest.er1
84866 cat conftest.err >&5
84867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84868 (exit $ac_status); } &&
84869 { ac_try='test -z "$ac_cxx_werror_flag"
84870 || test ! -s conftest.err'
84871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84872 (eval $ac_try) 2>&5
84873 ac_status=$?
84874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84875 (exit $ac_status); }; } &&
84876 { ac_try='test -s conftest.$ac_objext'
84877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84878 (eval $ac_try) 2>&5
84879 ac_status=$?
84880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84881 (exit $ac_status); }; }; then
84882 glibcxx_cv_func_frexpf_use=yes
84883 else
84884 echo "$as_me: failed program was:" >&5
84885 sed 's/^/| /' conftest.$ac_ext >&5
84887 glibcxx_cv_func_frexpf_use=no
84889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84890 ac_ext=c
84891 ac_cpp='$CPP $CPPFLAGS'
84892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84900 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
84901 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
84903 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
84905 for ac_func in frexpf
84907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84908 echo "$as_me:$LINENO: checking for $ac_func" >&5
84909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84910 if eval "test \"\${$as_ac_var+set}\" = set"; then
84911 echo $ECHO_N "(cached) $ECHO_C" >&6
84912 else
84913 if test x$gcc_no_link = xyes; then
84914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84916 { (exit 1); exit 1; }; }
84918 cat >conftest.$ac_ext <<_ACEOF
84919 /* confdefs.h. */
84920 _ACEOF
84921 cat confdefs.h >>conftest.$ac_ext
84922 cat >>conftest.$ac_ext <<_ACEOF
84923 /* end confdefs.h. */
84924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84926 #define $ac_func innocuous_$ac_func
84928 /* System header to define __stub macros and hopefully few prototypes,
84929 which can conflict with char $ac_func (); below.
84930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84931 <limits.h> exists even on freestanding compilers. */
84933 #ifdef __STDC__
84934 # include <limits.h>
84935 #else
84936 # include <assert.h>
84937 #endif
84939 #undef $ac_func
84941 /* Override any gcc2 internal prototype to avoid an error. */
84942 #ifdef __cplusplus
84943 extern "C"
84945 #endif
84946 /* We use char because int might match the return type of a gcc2
84947 builtin and then its argument prototype would still apply. */
84948 char $ac_func ();
84949 /* The GNU C library defines this for functions which it implements
84950 to always fail with ENOSYS. Some functions are actually named
84951 something starting with __ and the normal name is an alias. */
84952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84953 choke me
84954 #else
84955 char (*f) () = $ac_func;
84956 #endif
84957 #ifdef __cplusplus
84959 #endif
84962 main ()
84964 return f != $ac_func;
84966 return 0;
84968 _ACEOF
84969 rm -f conftest.$ac_objext conftest$ac_exeext
84970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84971 (eval $ac_link) 2>conftest.er1
84972 ac_status=$?
84973 grep -v '^ *+' conftest.er1 >conftest.err
84974 rm -f conftest.er1
84975 cat conftest.err >&5
84976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84977 (exit $ac_status); } &&
84978 { ac_try='test -z "$ac_c_werror_flag"
84979 || test ! -s conftest.err'
84980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84981 (eval $ac_try) 2>&5
84982 ac_status=$?
84983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84984 (exit $ac_status); }; } &&
84985 { ac_try='test -s conftest$ac_exeext'
84986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84987 (eval $ac_try) 2>&5
84988 ac_status=$?
84989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84990 (exit $ac_status); }; }; then
84991 eval "$as_ac_var=yes"
84992 else
84993 echo "$as_me: failed program was:" >&5
84994 sed 's/^/| /' conftest.$ac_ext >&5
84996 eval "$as_ac_var=no"
84998 rm -f conftest.err conftest.$ac_objext \
84999 conftest$ac_exeext conftest.$ac_ext
85001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85003 if test `eval echo '${'$as_ac_var'}'` = yes; then
85004 cat >>confdefs.h <<_ACEOF
85005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85006 _ACEOF
85009 done
85011 else
85013 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
85014 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
85015 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
85016 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
85017 echo $ECHO_N "(cached) $ECHO_C" >&6
85018 else
85022 ac_ext=cc
85023 ac_cpp='$CXXCPP $CPPFLAGS'
85024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85028 cat >conftest.$ac_ext <<_ACEOF
85029 /* confdefs.h. */
85030 _ACEOF
85031 cat confdefs.h >>conftest.$ac_ext
85032 cat >>conftest.$ac_ext <<_ACEOF
85033 /* end confdefs.h. */
85034 #include <math.h>
85036 main ()
85038 _frexpf(0, 0);
85040 return 0;
85042 _ACEOF
85043 rm -f conftest.$ac_objext
85044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85045 (eval $ac_compile) 2>conftest.er1
85046 ac_status=$?
85047 grep -v '^ *+' conftest.er1 >conftest.err
85048 rm -f conftest.er1
85049 cat conftest.err >&5
85050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85051 (exit $ac_status); } &&
85052 { ac_try='test -z "$ac_cxx_werror_flag"
85053 || test ! -s conftest.err'
85054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85055 (eval $ac_try) 2>&5
85056 ac_status=$?
85057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85058 (exit $ac_status); }; } &&
85059 { ac_try='test -s conftest.$ac_objext'
85060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85061 (eval $ac_try) 2>&5
85062 ac_status=$?
85063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85064 (exit $ac_status); }; }; then
85065 glibcxx_cv_func__frexpf_use=yes
85066 else
85067 echo "$as_me: failed program was:" >&5
85068 sed 's/^/| /' conftest.$ac_ext >&5
85070 glibcxx_cv_func__frexpf_use=no
85072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85073 ac_ext=c
85074 ac_cpp='$CPP $CPPFLAGS'
85075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85083 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
85084 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
85086 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
85088 for ac_func in _frexpf
85090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85091 echo "$as_me:$LINENO: checking for $ac_func" >&5
85092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85093 if eval "test \"\${$as_ac_var+set}\" = set"; then
85094 echo $ECHO_N "(cached) $ECHO_C" >&6
85095 else
85096 if test x$gcc_no_link = xyes; then
85097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85099 { (exit 1); exit 1; }; }
85101 cat >conftest.$ac_ext <<_ACEOF
85102 /* confdefs.h. */
85103 _ACEOF
85104 cat confdefs.h >>conftest.$ac_ext
85105 cat >>conftest.$ac_ext <<_ACEOF
85106 /* end confdefs.h. */
85107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85109 #define $ac_func innocuous_$ac_func
85111 /* System header to define __stub macros and hopefully few prototypes,
85112 which can conflict with char $ac_func (); below.
85113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85114 <limits.h> exists even on freestanding compilers. */
85116 #ifdef __STDC__
85117 # include <limits.h>
85118 #else
85119 # include <assert.h>
85120 #endif
85122 #undef $ac_func
85124 /* Override any gcc2 internal prototype to avoid an error. */
85125 #ifdef __cplusplus
85126 extern "C"
85128 #endif
85129 /* We use char because int might match the return type of a gcc2
85130 builtin and then its argument prototype would still apply. */
85131 char $ac_func ();
85132 /* The GNU C library defines this for functions which it implements
85133 to always fail with ENOSYS. Some functions are actually named
85134 something starting with __ and the normal name is an alias. */
85135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85136 choke me
85137 #else
85138 char (*f) () = $ac_func;
85139 #endif
85140 #ifdef __cplusplus
85142 #endif
85145 main ()
85147 return f != $ac_func;
85149 return 0;
85151 _ACEOF
85152 rm -f conftest.$ac_objext conftest$ac_exeext
85153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85154 (eval $ac_link) 2>conftest.er1
85155 ac_status=$?
85156 grep -v '^ *+' conftest.er1 >conftest.err
85157 rm -f conftest.er1
85158 cat conftest.err >&5
85159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85160 (exit $ac_status); } &&
85161 { ac_try='test -z "$ac_c_werror_flag"
85162 || test ! -s conftest.err'
85163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85164 (eval $ac_try) 2>&5
85165 ac_status=$?
85166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85167 (exit $ac_status); }; } &&
85168 { ac_try='test -s conftest$ac_exeext'
85169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85170 (eval $ac_try) 2>&5
85171 ac_status=$?
85172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85173 (exit $ac_status); }; }; then
85174 eval "$as_ac_var=yes"
85175 else
85176 echo "$as_me: failed program was:" >&5
85177 sed 's/^/| /' conftest.$ac_ext >&5
85179 eval "$as_ac_var=no"
85181 rm -f conftest.err conftest.$ac_objext \
85182 conftest$ac_exeext conftest.$ac_ext
85184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85186 if test `eval echo '${'$as_ac_var'}'` = yes; then
85187 cat >>confdefs.h <<_ACEOF
85188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85189 _ACEOF
85192 done
85202 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
85203 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
85204 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
85205 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
85206 echo $ECHO_N "(cached) $ECHO_C" >&6
85207 else
85211 ac_ext=cc
85212 ac_cpp='$CXXCPP $CPPFLAGS'
85213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85217 cat >conftest.$ac_ext <<_ACEOF
85218 /* confdefs.h. */
85219 _ACEOF
85220 cat confdefs.h >>conftest.$ac_ext
85221 cat >>conftest.$ac_ext <<_ACEOF
85222 /* end confdefs.h. */
85223 #include <math.h>
85225 main ()
85227 hypotf(0, 0);
85229 return 0;
85231 _ACEOF
85232 rm -f conftest.$ac_objext
85233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85234 (eval $ac_compile) 2>conftest.er1
85235 ac_status=$?
85236 grep -v '^ *+' conftest.er1 >conftest.err
85237 rm -f conftest.er1
85238 cat conftest.err >&5
85239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85240 (exit $ac_status); } &&
85241 { ac_try='test -z "$ac_cxx_werror_flag"
85242 || test ! -s conftest.err'
85243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85244 (eval $ac_try) 2>&5
85245 ac_status=$?
85246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85247 (exit $ac_status); }; } &&
85248 { ac_try='test -s conftest.$ac_objext'
85249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85250 (eval $ac_try) 2>&5
85251 ac_status=$?
85252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85253 (exit $ac_status); }; }; then
85254 glibcxx_cv_func_hypotf_use=yes
85255 else
85256 echo "$as_me: failed program was:" >&5
85257 sed 's/^/| /' conftest.$ac_ext >&5
85259 glibcxx_cv_func_hypotf_use=no
85261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85262 ac_ext=c
85263 ac_cpp='$CPP $CPPFLAGS'
85264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85272 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
85273 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
85275 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
85277 for ac_func in hypotf
85279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85280 echo "$as_me:$LINENO: checking for $ac_func" >&5
85281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85282 if eval "test \"\${$as_ac_var+set}\" = set"; then
85283 echo $ECHO_N "(cached) $ECHO_C" >&6
85284 else
85285 if test x$gcc_no_link = xyes; then
85286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85288 { (exit 1); exit 1; }; }
85290 cat >conftest.$ac_ext <<_ACEOF
85291 /* confdefs.h. */
85292 _ACEOF
85293 cat confdefs.h >>conftest.$ac_ext
85294 cat >>conftest.$ac_ext <<_ACEOF
85295 /* end confdefs.h. */
85296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85298 #define $ac_func innocuous_$ac_func
85300 /* System header to define __stub macros and hopefully few prototypes,
85301 which can conflict with char $ac_func (); below.
85302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85303 <limits.h> exists even on freestanding compilers. */
85305 #ifdef __STDC__
85306 # include <limits.h>
85307 #else
85308 # include <assert.h>
85309 #endif
85311 #undef $ac_func
85313 /* Override any gcc2 internal prototype to avoid an error. */
85314 #ifdef __cplusplus
85315 extern "C"
85317 #endif
85318 /* We use char because int might match the return type of a gcc2
85319 builtin and then its argument prototype would still apply. */
85320 char $ac_func ();
85321 /* The GNU C library defines this for functions which it implements
85322 to always fail with ENOSYS. Some functions are actually named
85323 something starting with __ and the normal name is an alias. */
85324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85325 choke me
85326 #else
85327 char (*f) () = $ac_func;
85328 #endif
85329 #ifdef __cplusplus
85331 #endif
85334 main ()
85336 return f != $ac_func;
85338 return 0;
85340 _ACEOF
85341 rm -f conftest.$ac_objext conftest$ac_exeext
85342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85343 (eval $ac_link) 2>conftest.er1
85344 ac_status=$?
85345 grep -v '^ *+' conftest.er1 >conftest.err
85346 rm -f conftest.er1
85347 cat conftest.err >&5
85348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85349 (exit $ac_status); } &&
85350 { ac_try='test -z "$ac_c_werror_flag"
85351 || test ! -s conftest.err'
85352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85353 (eval $ac_try) 2>&5
85354 ac_status=$?
85355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85356 (exit $ac_status); }; } &&
85357 { ac_try='test -s conftest$ac_exeext'
85358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85359 (eval $ac_try) 2>&5
85360 ac_status=$?
85361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85362 (exit $ac_status); }; }; then
85363 eval "$as_ac_var=yes"
85364 else
85365 echo "$as_me: failed program was:" >&5
85366 sed 's/^/| /' conftest.$ac_ext >&5
85368 eval "$as_ac_var=no"
85370 rm -f conftest.err conftest.$ac_objext \
85371 conftest$ac_exeext conftest.$ac_ext
85373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85375 if test `eval echo '${'$as_ac_var'}'` = yes; then
85376 cat >>confdefs.h <<_ACEOF
85377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85378 _ACEOF
85381 done
85383 else
85385 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
85386 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
85387 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
85388 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
85389 echo $ECHO_N "(cached) $ECHO_C" >&6
85390 else
85394 ac_ext=cc
85395 ac_cpp='$CXXCPP $CPPFLAGS'
85396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85400 cat >conftest.$ac_ext <<_ACEOF
85401 /* confdefs.h. */
85402 _ACEOF
85403 cat confdefs.h >>conftest.$ac_ext
85404 cat >>conftest.$ac_ext <<_ACEOF
85405 /* end confdefs.h. */
85406 #include <math.h>
85408 main ()
85410 _hypotf(0, 0);
85412 return 0;
85414 _ACEOF
85415 rm -f conftest.$ac_objext
85416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85417 (eval $ac_compile) 2>conftest.er1
85418 ac_status=$?
85419 grep -v '^ *+' conftest.er1 >conftest.err
85420 rm -f conftest.er1
85421 cat conftest.err >&5
85422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85423 (exit $ac_status); } &&
85424 { ac_try='test -z "$ac_cxx_werror_flag"
85425 || test ! -s conftest.err'
85426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85427 (eval $ac_try) 2>&5
85428 ac_status=$?
85429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85430 (exit $ac_status); }; } &&
85431 { ac_try='test -s conftest.$ac_objext'
85432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85433 (eval $ac_try) 2>&5
85434 ac_status=$?
85435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85436 (exit $ac_status); }; }; then
85437 glibcxx_cv_func__hypotf_use=yes
85438 else
85439 echo "$as_me: failed program was:" >&5
85440 sed 's/^/| /' conftest.$ac_ext >&5
85442 glibcxx_cv_func__hypotf_use=no
85444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85445 ac_ext=c
85446 ac_cpp='$CPP $CPPFLAGS'
85447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85455 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
85456 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
85458 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
85460 for ac_func in _hypotf
85462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85463 echo "$as_me:$LINENO: checking for $ac_func" >&5
85464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85465 if eval "test \"\${$as_ac_var+set}\" = set"; then
85466 echo $ECHO_N "(cached) $ECHO_C" >&6
85467 else
85468 if test x$gcc_no_link = xyes; then
85469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85471 { (exit 1); exit 1; }; }
85473 cat >conftest.$ac_ext <<_ACEOF
85474 /* confdefs.h. */
85475 _ACEOF
85476 cat confdefs.h >>conftest.$ac_ext
85477 cat >>conftest.$ac_ext <<_ACEOF
85478 /* end confdefs.h. */
85479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85481 #define $ac_func innocuous_$ac_func
85483 /* System header to define __stub macros and hopefully few prototypes,
85484 which can conflict with char $ac_func (); below.
85485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85486 <limits.h> exists even on freestanding compilers. */
85488 #ifdef __STDC__
85489 # include <limits.h>
85490 #else
85491 # include <assert.h>
85492 #endif
85494 #undef $ac_func
85496 /* Override any gcc2 internal prototype to avoid an error. */
85497 #ifdef __cplusplus
85498 extern "C"
85500 #endif
85501 /* We use char because int might match the return type of a gcc2
85502 builtin and then its argument prototype would still apply. */
85503 char $ac_func ();
85504 /* The GNU C library defines this for functions which it implements
85505 to always fail with ENOSYS. Some functions are actually named
85506 something starting with __ and the normal name is an alias. */
85507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85508 choke me
85509 #else
85510 char (*f) () = $ac_func;
85511 #endif
85512 #ifdef __cplusplus
85514 #endif
85517 main ()
85519 return f != $ac_func;
85521 return 0;
85523 _ACEOF
85524 rm -f conftest.$ac_objext conftest$ac_exeext
85525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85526 (eval $ac_link) 2>conftest.er1
85527 ac_status=$?
85528 grep -v '^ *+' conftest.er1 >conftest.err
85529 rm -f conftest.er1
85530 cat conftest.err >&5
85531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85532 (exit $ac_status); } &&
85533 { ac_try='test -z "$ac_c_werror_flag"
85534 || test ! -s conftest.err'
85535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85536 (eval $ac_try) 2>&5
85537 ac_status=$?
85538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85539 (exit $ac_status); }; } &&
85540 { ac_try='test -s conftest$ac_exeext'
85541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85542 (eval $ac_try) 2>&5
85543 ac_status=$?
85544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85545 (exit $ac_status); }; }; then
85546 eval "$as_ac_var=yes"
85547 else
85548 echo "$as_me: failed program was:" >&5
85549 sed 's/^/| /' conftest.$ac_ext >&5
85551 eval "$as_ac_var=no"
85553 rm -f conftest.err conftest.$ac_objext \
85554 conftest$ac_exeext conftest.$ac_ext
85556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85558 if test `eval echo '${'$as_ac_var'}'` = yes; then
85559 cat >>confdefs.h <<_ACEOF
85560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85561 _ACEOF
85564 done
85574 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
85575 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
85576 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
85577 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
85578 echo $ECHO_N "(cached) $ECHO_C" >&6
85579 else
85583 ac_ext=cc
85584 ac_cpp='$CXXCPP $CPPFLAGS'
85585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85589 cat >conftest.$ac_ext <<_ACEOF
85590 /* confdefs.h. */
85591 _ACEOF
85592 cat confdefs.h >>conftest.$ac_ext
85593 cat >>conftest.$ac_ext <<_ACEOF
85594 /* end confdefs.h. */
85595 #include <math.h>
85597 main ()
85599 ldexpf(0, 0);
85601 return 0;
85603 _ACEOF
85604 rm -f conftest.$ac_objext
85605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85606 (eval $ac_compile) 2>conftest.er1
85607 ac_status=$?
85608 grep -v '^ *+' conftest.er1 >conftest.err
85609 rm -f conftest.er1
85610 cat conftest.err >&5
85611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85612 (exit $ac_status); } &&
85613 { ac_try='test -z "$ac_cxx_werror_flag"
85614 || test ! -s conftest.err'
85615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85616 (eval $ac_try) 2>&5
85617 ac_status=$?
85618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85619 (exit $ac_status); }; } &&
85620 { ac_try='test -s conftest.$ac_objext'
85621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85622 (eval $ac_try) 2>&5
85623 ac_status=$?
85624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85625 (exit $ac_status); }; }; then
85626 glibcxx_cv_func_ldexpf_use=yes
85627 else
85628 echo "$as_me: failed program was:" >&5
85629 sed 's/^/| /' conftest.$ac_ext >&5
85631 glibcxx_cv_func_ldexpf_use=no
85633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85634 ac_ext=c
85635 ac_cpp='$CPP $CPPFLAGS'
85636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85644 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
85645 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
85647 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
85649 for ac_func in ldexpf
85651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85652 echo "$as_me:$LINENO: checking for $ac_func" >&5
85653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85654 if eval "test \"\${$as_ac_var+set}\" = set"; then
85655 echo $ECHO_N "(cached) $ECHO_C" >&6
85656 else
85657 if test x$gcc_no_link = xyes; then
85658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85660 { (exit 1); exit 1; }; }
85662 cat >conftest.$ac_ext <<_ACEOF
85663 /* confdefs.h. */
85664 _ACEOF
85665 cat confdefs.h >>conftest.$ac_ext
85666 cat >>conftest.$ac_ext <<_ACEOF
85667 /* end confdefs.h. */
85668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85670 #define $ac_func innocuous_$ac_func
85672 /* System header to define __stub macros and hopefully few prototypes,
85673 which can conflict with char $ac_func (); below.
85674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85675 <limits.h> exists even on freestanding compilers. */
85677 #ifdef __STDC__
85678 # include <limits.h>
85679 #else
85680 # include <assert.h>
85681 #endif
85683 #undef $ac_func
85685 /* Override any gcc2 internal prototype to avoid an error. */
85686 #ifdef __cplusplus
85687 extern "C"
85689 #endif
85690 /* We use char because int might match the return type of a gcc2
85691 builtin and then its argument prototype would still apply. */
85692 char $ac_func ();
85693 /* The GNU C library defines this for functions which it implements
85694 to always fail with ENOSYS. Some functions are actually named
85695 something starting with __ and the normal name is an alias. */
85696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85697 choke me
85698 #else
85699 char (*f) () = $ac_func;
85700 #endif
85701 #ifdef __cplusplus
85703 #endif
85706 main ()
85708 return f != $ac_func;
85710 return 0;
85712 _ACEOF
85713 rm -f conftest.$ac_objext conftest$ac_exeext
85714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85715 (eval $ac_link) 2>conftest.er1
85716 ac_status=$?
85717 grep -v '^ *+' conftest.er1 >conftest.err
85718 rm -f conftest.er1
85719 cat conftest.err >&5
85720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85721 (exit $ac_status); } &&
85722 { ac_try='test -z "$ac_c_werror_flag"
85723 || test ! -s conftest.err'
85724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85725 (eval $ac_try) 2>&5
85726 ac_status=$?
85727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85728 (exit $ac_status); }; } &&
85729 { ac_try='test -s conftest$ac_exeext'
85730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85731 (eval $ac_try) 2>&5
85732 ac_status=$?
85733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85734 (exit $ac_status); }; }; then
85735 eval "$as_ac_var=yes"
85736 else
85737 echo "$as_me: failed program was:" >&5
85738 sed 's/^/| /' conftest.$ac_ext >&5
85740 eval "$as_ac_var=no"
85742 rm -f conftest.err conftest.$ac_objext \
85743 conftest$ac_exeext conftest.$ac_ext
85745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85747 if test `eval echo '${'$as_ac_var'}'` = yes; then
85748 cat >>confdefs.h <<_ACEOF
85749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85750 _ACEOF
85753 done
85755 else
85757 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
85758 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
85759 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
85760 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
85761 echo $ECHO_N "(cached) $ECHO_C" >&6
85762 else
85766 ac_ext=cc
85767 ac_cpp='$CXXCPP $CPPFLAGS'
85768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85772 cat >conftest.$ac_ext <<_ACEOF
85773 /* confdefs.h. */
85774 _ACEOF
85775 cat confdefs.h >>conftest.$ac_ext
85776 cat >>conftest.$ac_ext <<_ACEOF
85777 /* end confdefs.h. */
85778 #include <math.h>
85780 main ()
85782 _ldexpf(0, 0);
85784 return 0;
85786 _ACEOF
85787 rm -f conftest.$ac_objext
85788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85789 (eval $ac_compile) 2>conftest.er1
85790 ac_status=$?
85791 grep -v '^ *+' conftest.er1 >conftest.err
85792 rm -f conftest.er1
85793 cat conftest.err >&5
85794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85795 (exit $ac_status); } &&
85796 { ac_try='test -z "$ac_cxx_werror_flag"
85797 || test ! -s conftest.err'
85798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85799 (eval $ac_try) 2>&5
85800 ac_status=$?
85801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85802 (exit $ac_status); }; } &&
85803 { ac_try='test -s conftest.$ac_objext'
85804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85805 (eval $ac_try) 2>&5
85806 ac_status=$?
85807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85808 (exit $ac_status); }; }; then
85809 glibcxx_cv_func__ldexpf_use=yes
85810 else
85811 echo "$as_me: failed program was:" >&5
85812 sed 's/^/| /' conftest.$ac_ext >&5
85814 glibcxx_cv_func__ldexpf_use=no
85816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85817 ac_ext=c
85818 ac_cpp='$CPP $CPPFLAGS'
85819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85827 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
85828 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
85830 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
85832 for ac_func in _ldexpf
85834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85835 echo "$as_me:$LINENO: checking for $ac_func" >&5
85836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85837 if eval "test \"\${$as_ac_var+set}\" = set"; then
85838 echo $ECHO_N "(cached) $ECHO_C" >&6
85839 else
85840 if test x$gcc_no_link = xyes; then
85841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85843 { (exit 1); exit 1; }; }
85845 cat >conftest.$ac_ext <<_ACEOF
85846 /* confdefs.h. */
85847 _ACEOF
85848 cat confdefs.h >>conftest.$ac_ext
85849 cat >>conftest.$ac_ext <<_ACEOF
85850 /* end confdefs.h. */
85851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85853 #define $ac_func innocuous_$ac_func
85855 /* System header to define __stub macros and hopefully few prototypes,
85856 which can conflict with char $ac_func (); below.
85857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85858 <limits.h> exists even on freestanding compilers. */
85860 #ifdef __STDC__
85861 # include <limits.h>
85862 #else
85863 # include <assert.h>
85864 #endif
85866 #undef $ac_func
85868 /* Override any gcc2 internal prototype to avoid an error. */
85869 #ifdef __cplusplus
85870 extern "C"
85872 #endif
85873 /* We use char because int might match the return type of a gcc2
85874 builtin and then its argument prototype would still apply. */
85875 char $ac_func ();
85876 /* The GNU C library defines this for functions which it implements
85877 to always fail with ENOSYS. Some functions are actually named
85878 something starting with __ and the normal name is an alias. */
85879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85880 choke me
85881 #else
85882 char (*f) () = $ac_func;
85883 #endif
85884 #ifdef __cplusplus
85886 #endif
85889 main ()
85891 return f != $ac_func;
85893 return 0;
85895 _ACEOF
85896 rm -f conftest.$ac_objext conftest$ac_exeext
85897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85898 (eval $ac_link) 2>conftest.er1
85899 ac_status=$?
85900 grep -v '^ *+' conftest.er1 >conftest.err
85901 rm -f conftest.er1
85902 cat conftest.err >&5
85903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85904 (exit $ac_status); } &&
85905 { ac_try='test -z "$ac_c_werror_flag"
85906 || test ! -s conftest.err'
85907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85908 (eval $ac_try) 2>&5
85909 ac_status=$?
85910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85911 (exit $ac_status); }; } &&
85912 { ac_try='test -s conftest$ac_exeext'
85913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85914 (eval $ac_try) 2>&5
85915 ac_status=$?
85916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85917 (exit $ac_status); }; }; then
85918 eval "$as_ac_var=yes"
85919 else
85920 echo "$as_me: failed program was:" >&5
85921 sed 's/^/| /' conftest.$ac_ext >&5
85923 eval "$as_ac_var=no"
85925 rm -f conftest.err conftest.$ac_objext \
85926 conftest$ac_exeext conftest.$ac_ext
85928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85930 if test `eval echo '${'$as_ac_var'}'` = yes; then
85931 cat >>confdefs.h <<_ACEOF
85932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85933 _ACEOF
85936 done
85946 echo "$as_me:$LINENO: checking for logf declaration" >&5
85947 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
85948 if test x${glibcxx_cv_func_logf_use+set} != xset; then
85949 if test "${glibcxx_cv_func_logf_use+set}" = set; then
85950 echo $ECHO_N "(cached) $ECHO_C" >&6
85951 else
85955 ac_ext=cc
85956 ac_cpp='$CXXCPP $CPPFLAGS'
85957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85961 cat >conftest.$ac_ext <<_ACEOF
85962 /* confdefs.h. */
85963 _ACEOF
85964 cat confdefs.h >>conftest.$ac_ext
85965 cat >>conftest.$ac_ext <<_ACEOF
85966 /* end confdefs.h. */
85967 #include <math.h>
85968 #ifdef HAVE_IEEEFP_H
85969 #include <ieeefp.h>
85970 #endif
85973 main ()
85975 logf(0);
85977 return 0;
85979 _ACEOF
85980 rm -f conftest.$ac_objext
85981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85982 (eval $ac_compile) 2>conftest.er1
85983 ac_status=$?
85984 grep -v '^ *+' conftest.er1 >conftest.err
85985 rm -f conftest.er1
85986 cat conftest.err >&5
85987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85988 (exit $ac_status); } &&
85989 { ac_try='test -z "$ac_cxx_werror_flag"
85990 || test ! -s conftest.err'
85991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85992 (eval $ac_try) 2>&5
85993 ac_status=$?
85994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85995 (exit $ac_status); }; } &&
85996 { ac_try='test -s conftest.$ac_objext'
85997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85998 (eval $ac_try) 2>&5
85999 ac_status=$?
86000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86001 (exit $ac_status); }; }; then
86002 glibcxx_cv_func_logf_use=yes
86003 else
86004 echo "$as_me: failed program was:" >&5
86005 sed 's/^/| /' conftest.$ac_ext >&5
86007 glibcxx_cv_func_logf_use=no
86009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86010 ac_ext=c
86011 ac_cpp='$CPP $CPPFLAGS'
86012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86020 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
86021 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
86023 if test x$glibcxx_cv_func_logf_use = x"yes"; then
86025 for ac_func in logf
86027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86028 echo "$as_me:$LINENO: checking for $ac_func" >&5
86029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86030 if eval "test \"\${$as_ac_var+set}\" = set"; then
86031 echo $ECHO_N "(cached) $ECHO_C" >&6
86032 else
86033 if test x$gcc_no_link = xyes; then
86034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86036 { (exit 1); exit 1; }; }
86038 cat >conftest.$ac_ext <<_ACEOF
86039 /* confdefs.h. */
86040 _ACEOF
86041 cat confdefs.h >>conftest.$ac_ext
86042 cat >>conftest.$ac_ext <<_ACEOF
86043 /* end confdefs.h. */
86044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86046 #define $ac_func innocuous_$ac_func
86048 /* System header to define __stub macros and hopefully few prototypes,
86049 which can conflict with char $ac_func (); below.
86050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86051 <limits.h> exists even on freestanding compilers. */
86053 #ifdef __STDC__
86054 # include <limits.h>
86055 #else
86056 # include <assert.h>
86057 #endif
86059 #undef $ac_func
86061 /* Override any gcc2 internal prototype to avoid an error. */
86062 #ifdef __cplusplus
86063 extern "C"
86065 #endif
86066 /* We use char because int might match the return type of a gcc2
86067 builtin and then its argument prototype would still apply. */
86068 char $ac_func ();
86069 /* The GNU C library defines this for functions which it implements
86070 to always fail with ENOSYS. Some functions are actually named
86071 something starting with __ and the normal name is an alias. */
86072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86073 choke me
86074 #else
86075 char (*f) () = $ac_func;
86076 #endif
86077 #ifdef __cplusplus
86079 #endif
86082 main ()
86084 return f != $ac_func;
86086 return 0;
86088 _ACEOF
86089 rm -f conftest.$ac_objext conftest$ac_exeext
86090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86091 (eval $ac_link) 2>conftest.er1
86092 ac_status=$?
86093 grep -v '^ *+' conftest.er1 >conftest.err
86094 rm -f conftest.er1
86095 cat conftest.err >&5
86096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86097 (exit $ac_status); } &&
86098 { ac_try='test -z "$ac_c_werror_flag"
86099 || test ! -s conftest.err'
86100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86101 (eval $ac_try) 2>&5
86102 ac_status=$?
86103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86104 (exit $ac_status); }; } &&
86105 { ac_try='test -s conftest$ac_exeext'
86106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86107 (eval $ac_try) 2>&5
86108 ac_status=$?
86109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86110 (exit $ac_status); }; }; then
86111 eval "$as_ac_var=yes"
86112 else
86113 echo "$as_me: failed program was:" >&5
86114 sed 's/^/| /' conftest.$ac_ext >&5
86116 eval "$as_ac_var=no"
86118 rm -f conftest.err conftest.$ac_objext \
86119 conftest$ac_exeext conftest.$ac_ext
86121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86123 if test `eval echo '${'$as_ac_var'}'` = yes; then
86124 cat >>confdefs.h <<_ACEOF
86125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86126 _ACEOF
86129 done
86131 else
86133 echo "$as_me:$LINENO: checking for _logf declaration" >&5
86134 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
86135 if test x${glibcxx_cv_func__logf_use+set} != xset; then
86136 if test "${glibcxx_cv_func__logf_use+set}" = set; then
86137 echo $ECHO_N "(cached) $ECHO_C" >&6
86138 else
86142 ac_ext=cc
86143 ac_cpp='$CXXCPP $CPPFLAGS'
86144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86148 cat >conftest.$ac_ext <<_ACEOF
86149 /* confdefs.h. */
86150 _ACEOF
86151 cat confdefs.h >>conftest.$ac_ext
86152 cat >>conftest.$ac_ext <<_ACEOF
86153 /* end confdefs.h. */
86154 #include <math.h>
86155 #ifdef HAVE_IEEEFP_H
86156 #include <ieeefp.h>
86157 #endif
86160 main ()
86162 _logf(0);
86164 return 0;
86166 _ACEOF
86167 rm -f conftest.$ac_objext
86168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86169 (eval $ac_compile) 2>conftest.er1
86170 ac_status=$?
86171 grep -v '^ *+' conftest.er1 >conftest.err
86172 rm -f conftest.er1
86173 cat conftest.err >&5
86174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86175 (exit $ac_status); } &&
86176 { ac_try='test -z "$ac_cxx_werror_flag"
86177 || test ! -s conftest.err'
86178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86179 (eval $ac_try) 2>&5
86180 ac_status=$?
86181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86182 (exit $ac_status); }; } &&
86183 { ac_try='test -s conftest.$ac_objext'
86184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86185 (eval $ac_try) 2>&5
86186 ac_status=$?
86187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86188 (exit $ac_status); }; }; then
86189 glibcxx_cv_func__logf_use=yes
86190 else
86191 echo "$as_me: failed program was:" >&5
86192 sed 's/^/| /' conftest.$ac_ext >&5
86194 glibcxx_cv_func__logf_use=no
86196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86197 ac_ext=c
86198 ac_cpp='$CPP $CPPFLAGS'
86199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86207 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
86208 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
86210 if test x$glibcxx_cv_func__logf_use = x"yes"; then
86212 for ac_func in _logf
86214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86215 echo "$as_me:$LINENO: checking for $ac_func" >&5
86216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86217 if eval "test \"\${$as_ac_var+set}\" = set"; then
86218 echo $ECHO_N "(cached) $ECHO_C" >&6
86219 else
86220 if test x$gcc_no_link = xyes; then
86221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86223 { (exit 1); exit 1; }; }
86225 cat >conftest.$ac_ext <<_ACEOF
86226 /* confdefs.h. */
86227 _ACEOF
86228 cat confdefs.h >>conftest.$ac_ext
86229 cat >>conftest.$ac_ext <<_ACEOF
86230 /* end confdefs.h. */
86231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86233 #define $ac_func innocuous_$ac_func
86235 /* System header to define __stub macros and hopefully few prototypes,
86236 which can conflict with char $ac_func (); below.
86237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86238 <limits.h> exists even on freestanding compilers. */
86240 #ifdef __STDC__
86241 # include <limits.h>
86242 #else
86243 # include <assert.h>
86244 #endif
86246 #undef $ac_func
86248 /* Override any gcc2 internal prototype to avoid an error. */
86249 #ifdef __cplusplus
86250 extern "C"
86252 #endif
86253 /* We use char because int might match the return type of a gcc2
86254 builtin and then its argument prototype would still apply. */
86255 char $ac_func ();
86256 /* The GNU C library defines this for functions which it implements
86257 to always fail with ENOSYS. Some functions are actually named
86258 something starting with __ and the normal name is an alias. */
86259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86260 choke me
86261 #else
86262 char (*f) () = $ac_func;
86263 #endif
86264 #ifdef __cplusplus
86266 #endif
86269 main ()
86271 return f != $ac_func;
86273 return 0;
86275 _ACEOF
86276 rm -f conftest.$ac_objext conftest$ac_exeext
86277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86278 (eval $ac_link) 2>conftest.er1
86279 ac_status=$?
86280 grep -v '^ *+' conftest.er1 >conftest.err
86281 rm -f conftest.er1
86282 cat conftest.err >&5
86283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86284 (exit $ac_status); } &&
86285 { ac_try='test -z "$ac_c_werror_flag"
86286 || test ! -s conftest.err'
86287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86288 (eval $ac_try) 2>&5
86289 ac_status=$?
86290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86291 (exit $ac_status); }; } &&
86292 { ac_try='test -s conftest$ac_exeext'
86293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86294 (eval $ac_try) 2>&5
86295 ac_status=$?
86296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86297 (exit $ac_status); }; }; then
86298 eval "$as_ac_var=yes"
86299 else
86300 echo "$as_me: failed program was:" >&5
86301 sed 's/^/| /' conftest.$ac_ext >&5
86303 eval "$as_ac_var=no"
86305 rm -f conftest.err conftest.$ac_objext \
86306 conftest$ac_exeext conftest.$ac_ext
86308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86310 if test `eval echo '${'$as_ac_var'}'` = yes; then
86311 cat >>confdefs.h <<_ACEOF
86312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86313 _ACEOF
86316 done
86326 echo "$as_me:$LINENO: checking for log10f declaration" >&5
86327 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
86328 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
86329 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
86330 echo $ECHO_N "(cached) $ECHO_C" >&6
86331 else
86335 ac_ext=cc
86336 ac_cpp='$CXXCPP $CPPFLAGS'
86337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86341 cat >conftest.$ac_ext <<_ACEOF
86342 /* confdefs.h. */
86343 _ACEOF
86344 cat confdefs.h >>conftest.$ac_ext
86345 cat >>conftest.$ac_ext <<_ACEOF
86346 /* end confdefs.h. */
86347 #include <math.h>
86348 #ifdef HAVE_IEEEFP_H
86349 #include <ieeefp.h>
86350 #endif
86353 main ()
86355 log10f(0);
86357 return 0;
86359 _ACEOF
86360 rm -f conftest.$ac_objext
86361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86362 (eval $ac_compile) 2>conftest.er1
86363 ac_status=$?
86364 grep -v '^ *+' conftest.er1 >conftest.err
86365 rm -f conftest.er1
86366 cat conftest.err >&5
86367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86368 (exit $ac_status); } &&
86369 { ac_try='test -z "$ac_cxx_werror_flag"
86370 || test ! -s conftest.err'
86371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86372 (eval $ac_try) 2>&5
86373 ac_status=$?
86374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86375 (exit $ac_status); }; } &&
86376 { ac_try='test -s conftest.$ac_objext'
86377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86378 (eval $ac_try) 2>&5
86379 ac_status=$?
86380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86381 (exit $ac_status); }; }; then
86382 glibcxx_cv_func_log10f_use=yes
86383 else
86384 echo "$as_me: failed program was:" >&5
86385 sed 's/^/| /' conftest.$ac_ext >&5
86387 glibcxx_cv_func_log10f_use=no
86389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86390 ac_ext=c
86391 ac_cpp='$CPP $CPPFLAGS'
86392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
86401 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
86403 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
86405 for ac_func in log10f
86407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86408 echo "$as_me:$LINENO: checking for $ac_func" >&5
86409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86410 if eval "test \"\${$as_ac_var+set}\" = set"; then
86411 echo $ECHO_N "(cached) $ECHO_C" >&6
86412 else
86413 if test x$gcc_no_link = xyes; then
86414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86416 { (exit 1); exit 1; }; }
86418 cat >conftest.$ac_ext <<_ACEOF
86419 /* confdefs.h. */
86420 _ACEOF
86421 cat confdefs.h >>conftest.$ac_ext
86422 cat >>conftest.$ac_ext <<_ACEOF
86423 /* end confdefs.h. */
86424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86426 #define $ac_func innocuous_$ac_func
86428 /* System header to define __stub macros and hopefully few prototypes,
86429 which can conflict with char $ac_func (); below.
86430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86431 <limits.h> exists even on freestanding compilers. */
86433 #ifdef __STDC__
86434 # include <limits.h>
86435 #else
86436 # include <assert.h>
86437 #endif
86439 #undef $ac_func
86441 /* Override any gcc2 internal prototype to avoid an error. */
86442 #ifdef __cplusplus
86443 extern "C"
86445 #endif
86446 /* We use char because int might match the return type of a gcc2
86447 builtin and then its argument prototype would still apply. */
86448 char $ac_func ();
86449 /* The GNU C library defines this for functions which it implements
86450 to always fail with ENOSYS. Some functions are actually named
86451 something starting with __ and the normal name is an alias. */
86452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86453 choke me
86454 #else
86455 char (*f) () = $ac_func;
86456 #endif
86457 #ifdef __cplusplus
86459 #endif
86462 main ()
86464 return f != $ac_func;
86466 return 0;
86468 _ACEOF
86469 rm -f conftest.$ac_objext conftest$ac_exeext
86470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86471 (eval $ac_link) 2>conftest.er1
86472 ac_status=$?
86473 grep -v '^ *+' conftest.er1 >conftest.err
86474 rm -f conftest.er1
86475 cat conftest.err >&5
86476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86477 (exit $ac_status); } &&
86478 { ac_try='test -z "$ac_c_werror_flag"
86479 || test ! -s conftest.err'
86480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86481 (eval $ac_try) 2>&5
86482 ac_status=$?
86483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86484 (exit $ac_status); }; } &&
86485 { ac_try='test -s conftest$ac_exeext'
86486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86487 (eval $ac_try) 2>&5
86488 ac_status=$?
86489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86490 (exit $ac_status); }; }; then
86491 eval "$as_ac_var=yes"
86492 else
86493 echo "$as_me: failed program was:" >&5
86494 sed 's/^/| /' conftest.$ac_ext >&5
86496 eval "$as_ac_var=no"
86498 rm -f conftest.err conftest.$ac_objext \
86499 conftest$ac_exeext conftest.$ac_ext
86501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86503 if test `eval echo '${'$as_ac_var'}'` = yes; then
86504 cat >>confdefs.h <<_ACEOF
86505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86506 _ACEOF
86509 done
86511 else
86513 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
86514 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
86515 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
86516 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
86517 echo $ECHO_N "(cached) $ECHO_C" >&6
86518 else
86522 ac_ext=cc
86523 ac_cpp='$CXXCPP $CPPFLAGS'
86524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86528 cat >conftest.$ac_ext <<_ACEOF
86529 /* confdefs.h. */
86530 _ACEOF
86531 cat confdefs.h >>conftest.$ac_ext
86532 cat >>conftest.$ac_ext <<_ACEOF
86533 /* end confdefs.h. */
86534 #include <math.h>
86535 #ifdef HAVE_IEEEFP_H
86536 #include <ieeefp.h>
86537 #endif
86540 main ()
86542 _log10f(0);
86544 return 0;
86546 _ACEOF
86547 rm -f conftest.$ac_objext
86548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86549 (eval $ac_compile) 2>conftest.er1
86550 ac_status=$?
86551 grep -v '^ *+' conftest.er1 >conftest.err
86552 rm -f conftest.er1
86553 cat conftest.err >&5
86554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86555 (exit $ac_status); } &&
86556 { ac_try='test -z "$ac_cxx_werror_flag"
86557 || test ! -s conftest.err'
86558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86559 (eval $ac_try) 2>&5
86560 ac_status=$?
86561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86562 (exit $ac_status); }; } &&
86563 { ac_try='test -s conftest.$ac_objext'
86564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86565 (eval $ac_try) 2>&5
86566 ac_status=$?
86567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86568 (exit $ac_status); }; }; then
86569 glibcxx_cv_func__log10f_use=yes
86570 else
86571 echo "$as_me: failed program was:" >&5
86572 sed 's/^/| /' conftest.$ac_ext >&5
86574 glibcxx_cv_func__log10f_use=no
86576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86577 ac_ext=c
86578 ac_cpp='$CPP $CPPFLAGS'
86579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86587 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
86588 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
86590 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
86592 for ac_func in _log10f
86594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86595 echo "$as_me:$LINENO: checking for $ac_func" >&5
86596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86597 if eval "test \"\${$as_ac_var+set}\" = set"; then
86598 echo $ECHO_N "(cached) $ECHO_C" >&6
86599 else
86600 if test x$gcc_no_link = xyes; then
86601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86603 { (exit 1); exit 1; }; }
86605 cat >conftest.$ac_ext <<_ACEOF
86606 /* confdefs.h. */
86607 _ACEOF
86608 cat confdefs.h >>conftest.$ac_ext
86609 cat >>conftest.$ac_ext <<_ACEOF
86610 /* end confdefs.h. */
86611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86613 #define $ac_func innocuous_$ac_func
86615 /* System header to define __stub macros and hopefully few prototypes,
86616 which can conflict with char $ac_func (); below.
86617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86618 <limits.h> exists even on freestanding compilers. */
86620 #ifdef __STDC__
86621 # include <limits.h>
86622 #else
86623 # include <assert.h>
86624 #endif
86626 #undef $ac_func
86628 /* Override any gcc2 internal prototype to avoid an error. */
86629 #ifdef __cplusplus
86630 extern "C"
86632 #endif
86633 /* We use char because int might match the return type of a gcc2
86634 builtin and then its argument prototype would still apply. */
86635 char $ac_func ();
86636 /* The GNU C library defines this for functions which it implements
86637 to always fail with ENOSYS. Some functions are actually named
86638 something starting with __ and the normal name is an alias. */
86639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86640 choke me
86641 #else
86642 char (*f) () = $ac_func;
86643 #endif
86644 #ifdef __cplusplus
86646 #endif
86649 main ()
86651 return f != $ac_func;
86653 return 0;
86655 _ACEOF
86656 rm -f conftest.$ac_objext conftest$ac_exeext
86657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86658 (eval $ac_link) 2>conftest.er1
86659 ac_status=$?
86660 grep -v '^ *+' conftest.er1 >conftest.err
86661 rm -f conftest.er1
86662 cat conftest.err >&5
86663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86664 (exit $ac_status); } &&
86665 { ac_try='test -z "$ac_c_werror_flag"
86666 || test ! -s conftest.err'
86667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86668 (eval $ac_try) 2>&5
86669 ac_status=$?
86670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86671 (exit $ac_status); }; } &&
86672 { ac_try='test -s conftest$ac_exeext'
86673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86674 (eval $ac_try) 2>&5
86675 ac_status=$?
86676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86677 (exit $ac_status); }; }; then
86678 eval "$as_ac_var=yes"
86679 else
86680 echo "$as_me: failed program was:" >&5
86681 sed 's/^/| /' conftest.$ac_ext >&5
86683 eval "$as_ac_var=no"
86685 rm -f conftest.err conftest.$ac_objext \
86686 conftest$ac_exeext conftest.$ac_ext
86688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86690 if test `eval echo '${'$as_ac_var'}'` = yes; then
86691 cat >>confdefs.h <<_ACEOF
86692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86693 _ACEOF
86696 done
86706 echo "$as_me:$LINENO: checking for modff declaration" >&5
86707 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
86708 if test x${glibcxx_cv_func_modff_use+set} != xset; then
86709 if test "${glibcxx_cv_func_modff_use+set}" = set; then
86710 echo $ECHO_N "(cached) $ECHO_C" >&6
86711 else
86715 ac_ext=cc
86716 ac_cpp='$CXXCPP $CPPFLAGS'
86717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86721 cat >conftest.$ac_ext <<_ACEOF
86722 /* confdefs.h. */
86723 _ACEOF
86724 cat confdefs.h >>conftest.$ac_ext
86725 cat >>conftest.$ac_ext <<_ACEOF
86726 /* end confdefs.h. */
86727 #include <math.h>
86729 main ()
86731 modff(0, 0);
86733 return 0;
86735 _ACEOF
86736 rm -f conftest.$ac_objext
86737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86738 (eval $ac_compile) 2>conftest.er1
86739 ac_status=$?
86740 grep -v '^ *+' conftest.er1 >conftest.err
86741 rm -f conftest.er1
86742 cat conftest.err >&5
86743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86744 (exit $ac_status); } &&
86745 { ac_try='test -z "$ac_cxx_werror_flag"
86746 || test ! -s conftest.err'
86747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86748 (eval $ac_try) 2>&5
86749 ac_status=$?
86750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86751 (exit $ac_status); }; } &&
86752 { ac_try='test -s conftest.$ac_objext'
86753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86754 (eval $ac_try) 2>&5
86755 ac_status=$?
86756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86757 (exit $ac_status); }; }; then
86758 glibcxx_cv_func_modff_use=yes
86759 else
86760 echo "$as_me: failed program was:" >&5
86761 sed 's/^/| /' conftest.$ac_ext >&5
86763 glibcxx_cv_func_modff_use=no
86765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86766 ac_ext=c
86767 ac_cpp='$CPP $CPPFLAGS'
86768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86776 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
86777 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
86779 if test x$glibcxx_cv_func_modff_use = x"yes"; then
86781 for ac_func in modff
86783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86784 echo "$as_me:$LINENO: checking for $ac_func" >&5
86785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86786 if eval "test \"\${$as_ac_var+set}\" = set"; then
86787 echo $ECHO_N "(cached) $ECHO_C" >&6
86788 else
86789 if test x$gcc_no_link = xyes; then
86790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86792 { (exit 1); exit 1; }; }
86794 cat >conftest.$ac_ext <<_ACEOF
86795 /* confdefs.h. */
86796 _ACEOF
86797 cat confdefs.h >>conftest.$ac_ext
86798 cat >>conftest.$ac_ext <<_ACEOF
86799 /* end confdefs.h. */
86800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86802 #define $ac_func innocuous_$ac_func
86804 /* System header to define __stub macros and hopefully few prototypes,
86805 which can conflict with char $ac_func (); below.
86806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86807 <limits.h> exists even on freestanding compilers. */
86809 #ifdef __STDC__
86810 # include <limits.h>
86811 #else
86812 # include <assert.h>
86813 #endif
86815 #undef $ac_func
86817 /* Override any gcc2 internal prototype to avoid an error. */
86818 #ifdef __cplusplus
86819 extern "C"
86821 #endif
86822 /* We use char because int might match the return type of a gcc2
86823 builtin and then its argument prototype would still apply. */
86824 char $ac_func ();
86825 /* The GNU C library defines this for functions which it implements
86826 to always fail with ENOSYS. Some functions are actually named
86827 something starting with __ and the normal name is an alias. */
86828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86829 choke me
86830 #else
86831 char (*f) () = $ac_func;
86832 #endif
86833 #ifdef __cplusplus
86835 #endif
86838 main ()
86840 return f != $ac_func;
86842 return 0;
86844 _ACEOF
86845 rm -f conftest.$ac_objext conftest$ac_exeext
86846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86847 (eval $ac_link) 2>conftest.er1
86848 ac_status=$?
86849 grep -v '^ *+' conftest.er1 >conftest.err
86850 rm -f conftest.er1
86851 cat conftest.err >&5
86852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86853 (exit $ac_status); } &&
86854 { ac_try='test -z "$ac_c_werror_flag"
86855 || test ! -s conftest.err'
86856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86857 (eval $ac_try) 2>&5
86858 ac_status=$?
86859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86860 (exit $ac_status); }; } &&
86861 { ac_try='test -s conftest$ac_exeext'
86862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86863 (eval $ac_try) 2>&5
86864 ac_status=$?
86865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86866 (exit $ac_status); }; }; then
86867 eval "$as_ac_var=yes"
86868 else
86869 echo "$as_me: failed program was:" >&5
86870 sed 's/^/| /' conftest.$ac_ext >&5
86872 eval "$as_ac_var=no"
86874 rm -f conftest.err conftest.$ac_objext \
86875 conftest$ac_exeext conftest.$ac_ext
86877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86879 if test `eval echo '${'$as_ac_var'}'` = yes; then
86880 cat >>confdefs.h <<_ACEOF
86881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86882 _ACEOF
86885 done
86887 else
86889 echo "$as_me:$LINENO: checking for _modff declaration" >&5
86890 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
86891 if test x${glibcxx_cv_func__modff_use+set} != xset; then
86892 if test "${glibcxx_cv_func__modff_use+set}" = set; then
86893 echo $ECHO_N "(cached) $ECHO_C" >&6
86894 else
86898 ac_ext=cc
86899 ac_cpp='$CXXCPP $CPPFLAGS'
86900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86904 cat >conftest.$ac_ext <<_ACEOF
86905 /* confdefs.h. */
86906 _ACEOF
86907 cat confdefs.h >>conftest.$ac_ext
86908 cat >>conftest.$ac_ext <<_ACEOF
86909 /* end confdefs.h. */
86910 #include <math.h>
86912 main ()
86914 _modff(0, 0);
86916 return 0;
86918 _ACEOF
86919 rm -f conftest.$ac_objext
86920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86921 (eval $ac_compile) 2>conftest.er1
86922 ac_status=$?
86923 grep -v '^ *+' conftest.er1 >conftest.err
86924 rm -f conftest.er1
86925 cat conftest.err >&5
86926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86927 (exit $ac_status); } &&
86928 { ac_try='test -z "$ac_cxx_werror_flag"
86929 || test ! -s conftest.err'
86930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86931 (eval $ac_try) 2>&5
86932 ac_status=$?
86933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86934 (exit $ac_status); }; } &&
86935 { ac_try='test -s conftest.$ac_objext'
86936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86937 (eval $ac_try) 2>&5
86938 ac_status=$?
86939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86940 (exit $ac_status); }; }; then
86941 glibcxx_cv_func__modff_use=yes
86942 else
86943 echo "$as_me: failed program was:" >&5
86944 sed 's/^/| /' conftest.$ac_ext >&5
86946 glibcxx_cv_func__modff_use=no
86948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86949 ac_ext=c
86950 ac_cpp='$CPP $CPPFLAGS'
86951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86959 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
86960 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
86962 if test x$glibcxx_cv_func__modff_use = x"yes"; then
86964 for ac_func in _modff
86966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86967 echo "$as_me:$LINENO: checking for $ac_func" >&5
86968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86969 if eval "test \"\${$as_ac_var+set}\" = set"; then
86970 echo $ECHO_N "(cached) $ECHO_C" >&6
86971 else
86972 if test x$gcc_no_link = xyes; then
86973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86975 { (exit 1); exit 1; }; }
86977 cat >conftest.$ac_ext <<_ACEOF
86978 /* confdefs.h. */
86979 _ACEOF
86980 cat confdefs.h >>conftest.$ac_ext
86981 cat >>conftest.$ac_ext <<_ACEOF
86982 /* end confdefs.h. */
86983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86985 #define $ac_func innocuous_$ac_func
86987 /* System header to define __stub macros and hopefully few prototypes,
86988 which can conflict with char $ac_func (); below.
86989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86990 <limits.h> exists even on freestanding compilers. */
86992 #ifdef __STDC__
86993 # include <limits.h>
86994 #else
86995 # include <assert.h>
86996 #endif
86998 #undef $ac_func
87000 /* Override any gcc2 internal prototype to avoid an error. */
87001 #ifdef __cplusplus
87002 extern "C"
87004 #endif
87005 /* We use char because int might match the return type of a gcc2
87006 builtin and then its argument prototype would still apply. */
87007 char $ac_func ();
87008 /* The GNU C library defines this for functions which it implements
87009 to always fail with ENOSYS. Some functions are actually named
87010 something starting with __ and the normal name is an alias. */
87011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87012 choke me
87013 #else
87014 char (*f) () = $ac_func;
87015 #endif
87016 #ifdef __cplusplus
87018 #endif
87021 main ()
87023 return f != $ac_func;
87025 return 0;
87027 _ACEOF
87028 rm -f conftest.$ac_objext conftest$ac_exeext
87029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87030 (eval $ac_link) 2>conftest.er1
87031 ac_status=$?
87032 grep -v '^ *+' conftest.er1 >conftest.err
87033 rm -f conftest.er1
87034 cat conftest.err >&5
87035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87036 (exit $ac_status); } &&
87037 { ac_try='test -z "$ac_c_werror_flag"
87038 || test ! -s conftest.err'
87039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87040 (eval $ac_try) 2>&5
87041 ac_status=$?
87042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87043 (exit $ac_status); }; } &&
87044 { ac_try='test -s conftest$ac_exeext'
87045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87046 (eval $ac_try) 2>&5
87047 ac_status=$?
87048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87049 (exit $ac_status); }; }; then
87050 eval "$as_ac_var=yes"
87051 else
87052 echo "$as_me: failed program was:" >&5
87053 sed 's/^/| /' conftest.$ac_ext >&5
87055 eval "$as_ac_var=no"
87057 rm -f conftest.err conftest.$ac_objext \
87058 conftest$ac_exeext conftest.$ac_ext
87060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87062 if test `eval echo '${'$as_ac_var'}'` = yes; then
87063 cat >>confdefs.h <<_ACEOF
87064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87065 _ACEOF
87068 done
87078 echo "$as_me:$LINENO: checking for modf declaration" >&5
87079 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
87080 if test x${glibcxx_cv_func_modf_use+set} != xset; then
87081 if test "${glibcxx_cv_func_modf_use+set}" = set; then
87082 echo $ECHO_N "(cached) $ECHO_C" >&6
87083 else
87087 ac_ext=cc
87088 ac_cpp='$CXXCPP $CPPFLAGS'
87089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87093 cat >conftest.$ac_ext <<_ACEOF
87094 /* confdefs.h. */
87095 _ACEOF
87096 cat confdefs.h >>conftest.$ac_ext
87097 cat >>conftest.$ac_ext <<_ACEOF
87098 /* end confdefs.h. */
87099 #include <math.h>
87101 main ()
87103 modf(0, 0);
87105 return 0;
87107 _ACEOF
87108 rm -f conftest.$ac_objext
87109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87110 (eval $ac_compile) 2>conftest.er1
87111 ac_status=$?
87112 grep -v '^ *+' conftest.er1 >conftest.err
87113 rm -f conftest.er1
87114 cat conftest.err >&5
87115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87116 (exit $ac_status); } &&
87117 { ac_try='test -z "$ac_cxx_werror_flag"
87118 || test ! -s conftest.err'
87119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87120 (eval $ac_try) 2>&5
87121 ac_status=$?
87122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87123 (exit $ac_status); }; } &&
87124 { ac_try='test -s conftest.$ac_objext'
87125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87126 (eval $ac_try) 2>&5
87127 ac_status=$?
87128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87129 (exit $ac_status); }; }; then
87130 glibcxx_cv_func_modf_use=yes
87131 else
87132 echo "$as_me: failed program was:" >&5
87133 sed 's/^/| /' conftest.$ac_ext >&5
87135 glibcxx_cv_func_modf_use=no
87137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87138 ac_ext=c
87139 ac_cpp='$CPP $CPPFLAGS'
87140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87148 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
87149 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
87151 if test x$glibcxx_cv_func_modf_use = x"yes"; then
87153 for ac_func in modf
87155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87156 echo "$as_me:$LINENO: checking for $ac_func" >&5
87157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87158 if eval "test \"\${$as_ac_var+set}\" = set"; then
87159 echo $ECHO_N "(cached) $ECHO_C" >&6
87160 else
87161 if test x$gcc_no_link = xyes; then
87162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87164 { (exit 1); exit 1; }; }
87166 cat >conftest.$ac_ext <<_ACEOF
87167 /* confdefs.h. */
87168 _ACEOF
87169 cat confdefs.h >>conftest.$ac_ext
87170 cat >>conftest.$ac_ext <<_ACEOF
87171 /* end confdefs.h. */
87172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87174 #define $ac_func innocuous_$ac_func
87176 /* System header to define __stub macros and hopefully few prototypes,
87177 which can conflict with char $ac_func (); below.
87178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87179 <limits.h> exists even on freestanding compilers. */
87181 #ifdef __STDC__
87182 # include <limits.h>
87183 #else
87184 # include <assert.h>
87185 #endif
87187 #undef $ac_func
87189 /* Override any gcc2 internal prototype to avoid an error. */
87190 #ifdef __cplusplus
87191 extern "C"
87193 #endif
87194 /* We use char because int might match the return type of a gcc2
87195 builtin and then its argument prototype would still apply. */
87196 char $ac_func ();
87197 /* The GNU C library defines this for functions which it implements
87198 to always fail with ENOSYS. Some functions are actually named
87199 something starting with __ and the normal name is an alias. */
87200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87201 choke me
87202 #else
87203 char (*f) () = $ac_func;
87204 #endif
87205 #ifdef __cplusplus
87207 #endif
87210 main ()
87212 return f != $ac_func;
87214 return 0;
87216 _ACEOF
87217 rm -f conftest.$ac_objext conftest$ac_exeext
87218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87219 (eval $ac_link) 2>conftest.er1
87220 ac_status=$?
87221 grep -v '^ *+' conftest.er1 >conftest.err
87222 rm -f conftest.er1
87223 cat conftest.err >&5
87224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87225 (exit $ac_status); } &&
87226 { ac_try='test -z "$ac_c_werror_flag"
87227 || test ! -s conftest.err'
87228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87229 (eval $ac_try) 2>&5
87230 ac_status=$?
87231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87232 (exit $ac_status); }; } &&
87233 { ac_try='test -s conftest$ac_exeext'
87234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87235 (eval $ac_try) 2>&5
87236 ac_status=$?
87237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87238 (exit $ac_status); }; }; then
87239 eval "$as_ac_var=yes"
87240 else
87241 echo "$as_me: failed program was:" >&5
87242 sed 's/^/| /' conftest.$ac_ext >&5
87244 eval "$as_ac_var=no"
87246 rm -f conftest.err conftest.$ac_objext \
87247 conftest$ac_exeext conftest.$ac_ext
87249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87251 if test `eval echo '${'$as_ac_var'}'` = yes; then
87252 cat >>confdefs.h <<_ACEOF
87253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87254 _ACEOF
87257 done
87259 else
87261 echo "$as_me:$LINENO: checking for _modf declaration" >&5
87262 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
87263 if test x${glibcxx_cv_func__modf_use+set} != xset; then
87264 if test "${glibcxx_cv_func__modf_use+set}" = set; then
87265 echo $ECHO_N "(cached) $ECHO_C" >&6
87266 else
87270 ac_ext=cc
87271 ac_cpp='$CXXCPP $CPPFLAGS'
87272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87276 cat >conftest.$ac_ext <<_ACEOF
87277 /* confdefs.h. */
87278 _ACEOF
87279 cat confdefs.h >>conftest.$ac_ext
87280 cat >>conftest.$ac_ext <<_ACEOF
87281 /* end confdefs.h. */
87282 #include <math.h>
87284 main ()
87286 _modf(0, 0);
87288 return 0;
87290 _ACEOF
87291 rm -f conftest.$ac_objext
87292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87293 (eval $ac_compile) 2>conftest.er1
87294 ac_status=$?
87295 grep -v '^ *+' conftest.er1 >conftest.err
87296 rm -f conftest.er1
87297 cat conftest.err >&5
87298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87299 (exit $ac_status); } &&
87300 { ac_try='test -z "$ac_cxx_werror_flag"
87301 || test ! -s conftest.err'
87302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87303 (eval $ac_try) 2>&5
87304 ac_status=$?
87305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87306 (exit $ac_status); }; } &&
87307 { ac_try='test -s conftest.$ac_objext'
87308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87309 (eval $ac_try) 2>&5
87310 ac_status=$?
87311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87312 (exit $ac_status); }; }; then
87313 glibcxx_cv_func__modf_use=yes
87314 else
87315 echo "$as_me: failed program was:" >&5
87316 sed 's/^/| /' conftest.$ac_ext >&5
87318 glibcxx_cv_func__modf_use=no
87320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87321 ac_ext=c
87322 ac_cpp='$CPP $CPPFLAGS'
87323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87331 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
87332 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
87334 if test x$glibcxx_cv_func__modf_use = x"yes"; then
87336 for ac_func in _modf
87338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87339 echo "$as_me:$LINENO: checking for $ac_func" >&5
87340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87341 if eval "test \"\${$as_ac_var+set}\" = set"; then
87342 echo $ECHO_N "(cached) $ECHO_C" >&6
87343 else
87344 if test x$gcc_no_link = xyes; then
87345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87347 { (exit 1); exit 1; }; }
87349 cat >conftest.$ac_ext <<_ACEOF
87350 /* confdefs.h. */
87351 _ACEOF
87352 cat confdefs.h >>conftest.$ac_ext
87353 cat >>conftest.$ac_ext <<_ACEOF
87354 /* end confdefs.h. */
87355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87357 #define $ac_func innocuous_$ac_func
87359 /* System header to define __stub macros and hopefully few prototypes,
87360 which can conflict with char $ac_func (); below.
87361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87362 <limits.h> exists even on freestanding compilers. */
87364 #ifdef __STDC__
87365 # include <limits.h>
87366 #else
87367 # include <assert.h>
87368 #endif
87370 #undef $ac_func
87372 /* Override any gcc2 internal prototype to avoid an error. */
87373 #ifdef __cplusplus
87374 extern "C"
87376 #endif
87377 /* We use char because int might match the return type of a gcc2
87378 builtin and then its argument prototype would still apply. */
87379 char $ac_func ();
87380 /* The GNU C library defines this for functions which it implements
87381 to always fail with ENOSYS. Some functions are actually named
87382 something starting with __ and the normal name is an alias. */
87383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87384 choke me
87385 #else
87386 char (*f) () = $ac_func;
87387 #endif
87388 #ifdef __cplusplus
87390 #endif
87393 main ()
87395 return f != $ac_func;
87397 return 0;
87399 _ACEOF
87400 rm -f conftest.$ac_objext conftest$ac_exeext
87401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87402 (eval $ac_link) 2>conftest.er1
87403 ac_status=$?
87404 grep -v '^ *+' conftest.er1 >conftest.err
87405 rm -f conftest.er1
87406 cat conftest.err >&5
87407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87408 (exit $ac_status); } &&
87409 { ac_try='test -z "$ac_c_werror_flag"
87410 || test ! -s conftest.err'
87411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87412 (eval $ac_try) 2>&5
87413 ac_status=$?
87414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87415 (exit $ac_status); }; } &&
87416 { ac_try='test -s conftest$ac_exeext'
87417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87418 (eval $ac_try) 2>&5
87419 ac_status=$?
87420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87421 (exit $ac_status); }; }; then
87422 eval "$as_ac_var=yes"
87423 else
87424 echo "$as_me: failed program was:" >&5
87425 sed 's/^/| /' conftest.$ac_ext >&5
87427 eval "$as_ac_var=no"
87429 rm -f conftest.err conftest.$ac_objext \
87430 conftest$ac_exeext conftest.$ac_ext
87432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87434 if test `eval echo '${'$as_ac_var'}'` = yes; then
87435 cat >>confdefs.h <<_ACEOF
87436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87437 _ACEOF
87440 done
87450 echo "$as_me:$LINENO: checking for powf declaration" >&5
87451 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
87452 if test x${glibcxx_cv_func_powf_use+set} != xset; then
87453 if test "${glibcxx_cv_func_powf_use+set}" = set; then
87454 echo $ECHO_N "(cached) $ECHO_C" >&6
87455 else
87459 ac_ext=cc
87460 ac_cpp='$CXXCPP $CPPFLAGS'
87461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87465 cat >conftest.$ac_ext <<_ACEOF
87466 /* confdefs.h. */
87467 _ACEOF
87468 cat confdefs.h >>conftest.$ac_ext
87469 cat >>conftest.$ac_ext <<_ACEOF
87470 /* end confdefs.h. */
87471 #include <math.h>
87473 main ()
87475 powf(0, 0);
87477 return 0;
87479 _ACEOF
87480 rm -f conftest.$ac_objext
87481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87482 (eval $ac_compile) 2>conftest.er1
87483 ac_status=$?
87484 grep -v '^ *+' conftest.er1 >conftest.err
87485 rm -f conftest.er1
87486 cat conftest.err >&5
87487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87488 (exit $ac_status); } &&
87489 { ac_try='test -z "$ac_cxx_werror_flag"
87490 || test ! -s conftest.err'
87491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87492 (eval $ac_try) 2>&5
87493 ac_status=$?
87494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87495 (exit $ac_status); }; } &&
87496 { ac_try='test -s conftest.$ac_objext'
87497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87498 (eval $ac_try) 2>&5
87499 ac_status=$?
87500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87501 (exit $ac_status); }; }; then
87502 glibcxx_cv_func_powf_use=yes
87503 else
87504 echo "$as_me: failed program was:" >&5
87505 sed 's/^/| /' conftest.$ac_ext >&5
87507 glibcxx_cv_func_powf_use=no
87509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87510 ac_ext=c
87511 ac_cpp='$CPP $CPPFLAGS'
87512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87520 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
87521 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
87523 if test x$glibcxx_cv_func_powf_use = x"yes"; then
87525 for ac_func in powf
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
87633 echo "$as_me:$LINENO: checking for _powf declaration" >&5
87634 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
87635 if test x${glibcxx_cv_func__powf_use+set} != xset; then
87636 if test "${glibcxx_cv_func__powf_use+set}" = set; then
87637 echo $ECHO_N "(cached) $ECHO_C" >&6
87638 else
87642 ac_ext=cc
87643 ac_cpp='$CXXCPP $CPPFLAGS'
87644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87648 cat >conftest.$ac_ext <<_ACEOF
87649 /* confdefs.h. */
87650 _ACEOF
87651 cat confdefs.h >>conftest.$ac_ext
87652 cat >>conftest.$ac_ext <<_ACEOF
87653 /* end confdefs.h. */
87654 #include <math.h>
87656 main ()
87658 _powf(0, 0);
87660 return 0;
87662 _ACEOF
87663 rm -f conftest.$ac_objext
87664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87665 (eval $ac_compile) 2>conftest.er1
87666 ac_status=$?
87667 grep -v '^ *+' conftest.er1 >conftest.err
87668 rm -f conftest.er1
87669 cat conftest.err >&5
87670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87671 (exit $ac_status); } &&
87672 { ac_try='test -z "$ac_cxx_werror_flag"
87673 || test ! -s conftest.err'
87674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87675 (eval $ac_try) 2>&5
87676 ac_status=$?
87677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87678 (exit $ac_status); }; } &&
87679 { ac_try='test -s conftest.$ac_objext'
87680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87681 (eval $ac_try) 2>&5
87682 ac_status=$?
87683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87684 (exit $ac_status); }; }; then
87685 glibcxx_cv_func__powf_use=yes
87686 else
87687 echo "$as_me: failed program was:" >&5
87688 sed 's/^/| /' conftest.$ac_ext >&5
87690 glibcxx_cv_func__powf_use=no
87692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87693 ac_ext=c
87694 ac_cpp='$CPP $CPPFLAGS'
87695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87703 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
87704 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
87706 if test x$glibcxx_cv_func__powf_use = x"yes"; then
87708 for ac_func in _powf
87710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87711 echo "$as_me:$LINENO: checking for $ac_func" >&5
87712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87713 if eval "test \"\${$as_ac_var+set}\" = set"; then
87714 echo $ECHO_N "(cached) $ECHO_C" >&6
87715 else
87716 if test x$gcc_no_link = xyes; then
87717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87719 { (exit 1); exit 1; }; }
87721 cat >conftest.$ac_ext <<_ACEOF
87722 /* confdefs.h. */
87723 _ACEOF
87724 cat confdefs.h >>conftest.$ac_ext
87725 cat >>conftest.$ac_ext <<_ACEOF
87726 /* end confdefs.h. */
87727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87729 #define $ac_func innocuous_$ac_func
87731 /* System header to define __stub macros and hopefully few prototypes,
87732 which can conflict with char $ac_func (); below.
87733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87734 <limits.h> exists even on freestanding compilers. */
87736 #ifdef __STDC__
87737 # include <limits.h>
87738 #else
87739 # include <assert.h>
87740 #endif
87742 #undef $ac_func
87744 /* Override any gcc2 internal prototype to avoid an error. */
87745 #ifdef __cplusplus
87746 extern "C"
87748 #endif
87749 /* We use char because int might match the return type of a gcc2
87750 builtin and then its argument prototype would still apply. */
87751 char $ac_func ();
87752 /* The GNU C library defines this for functions which it implements
87753 to always fail with ENOSYS. Some functions are actually named
87754 something starting with __ and the normal name is an alias. */
87755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87756 choke me
87757 #else
87758 char (*f) () = $ac_func;
87759 #endif
87760 #ifdef __cplusplus
87762 #endif
87765 main ()
87767 return f != $ac_func;
87769 return 0;
87771 _ACEOF
87772 rm -f conftest.$ac_objext conftest$ac_exeext
87773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87774 (eval $ac_link) 2>conftest.er1
87775 ac_status=$?
87776 grep -v '^ *+' conftest.er1 >conftest.err
87777 rm -f conftest.er1
87778 cat conftest.err >&5
87779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87780 (exit $ac_status); } &&
87781 { ac_try='test -z "$ac_c_werror_flag"
87782 || test ! -s conftest.err'
87783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87784 (eval $ac_try) 2>&5
87785 ac_status=$?
87786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87787 (exit $ac_status); }; } &&
87788 { ac_try='test -s conftest$ac_exeext'
87789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87790 (eval $ac_try) 2>&5
87791 ac_status=$?
87792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87793 (exit $ac_status); }; }; then
87794 eval "$as_ac_var=yes"
87795 else
87796 echo "$as_me: failed program was:" >&5
87797 sed 's/^/| /' conftest.$ac_ext >&5
87799 eval "$as_ac_var=no"
87801 rm -f conftest.err conftest.$ac_objext \
87802 conftest$ac_exeext conftest.$ac_ext
87804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87806 if test `eval echo '${'$as_ac_var'}'` = yes; then
87807 cat >>confdefs.h <<_ACEOF
87808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87809 _ACEOF
87812 done
87822 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
87823 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
87824 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
87825 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
87826 echo $ECHO_N "(cached) $ECHO_C" >&6
87827 else
87831 ac_ext=cc
87832 ac_cpp='$CXXCPP $CPPFLAGS'
87833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87837 cat >conftest.$ac_ext <<_ACEOF
87838 /* confdefs.h. */
87839 _ACEOF
87840 cat confdefs.h >>conftest.$ac_ext
87841 cat >>conftest.$ac_ext <<_ACEOF
87842 /* end confdefs.h. */
87843 #include <math.h>
87844 #ifdef HAVE_IEEEFP_H
87845 #include <ieeefp.h>
87846 #endif
87849 main ()
87851 sqrtf(0);
87853 return 0;
87855 _ACEOF
87856 rm -f conftest.$ac_objext
87857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87858 (eval $ac_compile) 2>conftest.er1
87859 ac_status=$?
87860 grep -v '^ *+' conftest.er1 >conftest.err
87861 rm -f conftest.er1
87862 cat conftest.err >&5
87863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87864 (exit $ac_status); } &&
87865 { ac_try='test -z "$ac_cxx_werror_flag"
87866 || test ! -s conftest.err'
87867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87868 (eval $ac_try) 2>&5
87869 ac_status=$?
87870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87871 (exit $ac_status); }; } &&
87872 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
87878 glibcxx_cv_func_sqrtf_use=yes
87879 else
87880 echo "$as_me: failed program was:" >&5
87881 sed 's/^/| /' conftest.$ac_ext >&5
87883 glibcxx_cv_func_sqrtf_use=no
87885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87886 ac_ext=c
87887 ac_cpp='$CPP $CPPFLAGS'
87888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87896 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
87897 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
87899 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
87901 for ac_func in sqrtf
87903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87904 echo "$as_me:$LINENO: checking for $ac_func" >&5
87905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87906 if eval "test \"\${$as_ac_var+set}\" = set"; then
87907 echo $ECHO_N "(cached) $ECHO_C" >&6
87908 else
87909 if test x$gcc_no_link = xyes; then
87910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87912 { (exit 1); exit 1; }; }
87914 cat >conftest.$ac_ext <<_ACEOF
87915 /* confdefs.h. */
87916 _ACEOF
87917 cat confdefs.h >>conftest.$ac_ext
87918 cat >>conftest.$ac_ext <<_ACEOF
87919 /* end confdefs.h. */
87920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87922 #define $ac_func innocuous_$ac_func
87924 /* System header to define __stub macros and hopefully few prototypes,
87925 which can conflict with char $ac_func (); below.
87926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87927 <limits.h> exists even on freestanding compilers. */
87929 #ifdef __STDC__
87930 # include <limits.h>
87931 #else
87932 # include <assert.h>
87933 #endif
87935 #undef $ac_func
87937 /* Override any gcc2 internal prototype to avoid an error. */
87938 #ifdef __cplusplus
87939 extern "C"
87941 #endif
87942 /* We use char because int might match the return type of a gcc2
87943 builtin and then its argument prototype would still apply. */
87944 char $ac_func ();
87945 /* The GNU C library defines this for functions which it implements
87946 to always fail with ENOSYS. Some functions are actually named
87947 something starting with __ and the normal name is an alias. */
87948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87949 choke me
87950 #else
87951 char (*f) () = $ac_func;
87952 #endif
87953 #ifdef __cplusplus
87955 #endif
87958 main ()
87960 return f != $ac_func;
87962 return 0;
87964 _ACEOF
87965 rm -f conftest.$ac_objext conftest$ac_exeext
87966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87967 (eval $ac_link) 2>conftest.er1
87968 ac_status=$?
87969 grep -v '^ *+' conftest.er1 >conftest.err
87970 rm -f conftest.er1
87971 cat conftest.err >&5
87972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87973 (exit $ac_status); } &&
87974 { ac_try='test -z "$ac_c_werror_flag"
87975 || test ! -s conftest.err'
87976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87977 (eval $ac_try) 2>&5
87978 ac_status=$?
87979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87980 (exit $ac_status); }; } &&
87981 { ac_try='test -s conftest$ac_exeext'
87982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87983 (eval $ac_try) 2>&5
87984 ac_status=$?
87985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87986 (exit $ac_status); }; }; then
87987 eval "$as_ac_var=yes"
87988 else
87989 echo "$as_me: failed program was:" >&5
87990 sed 's/^/| /' conftest.$ac_ext >&5
87992 eval "$as_ac_var=no"
87994 rm -f conftest.err conftest.$ac_objext \
87995 conftest$ac_exeext conftest.$ac_ext
87997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87999 if test `eval echo '${'$as_ac_var'}'` = yes; then
88000 cat >>confdefs.h <<_ACEOF
88001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88002 _ACEOF
88005 done
88007 else
88009 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
88010 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
88011 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
88012 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
88013 echo $ECHO_N "(cached) $ECHO_C" >&6
88014 else
88018 ac_ext=cc
88019 ac_cpp='$CXXCPP $CPPFLAGS'
88020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88024 cat >conftest.$ac_ext <<_ACEOF
88025 /* confdefs.h. */
88026 _ACEOF
88027 cat confdefs.h >>conftest.$ac_ext
88028 cat >>conftest.$ac_ext <<_ACEOF
88029 /* end confdefs.h. */
88030 #include <math.h>
88031 #ifdef HAVE_IEEEFP_H
88032 #include <ieeefp.h>
88033 #endif
88036 main ()
88038 _sqrtf(0);
88040 return 0;
88042 _ACEOF
88043 rm -f conftest.$ac_objext
88044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88045 (eval $ac_compile) 2>conftest.er1
88046 ac_status=$?
88047 grep -v '^ *+' conftest.er1 >conftest.err
88048 rm -f conftest.er1
88049 cat conftest.err >&5
88050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88051 (exit $ac_status); } &&
88052 { ac_try='test -z "$ac_cxx_werror_flag"
88053 || test ! -s conftest.err'
88054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88055 (eval $ac_try) 2>&5
88056 ac_status=$?
88057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88058 (exit $ac_status); }; } &&
88059 { ac_try='test -s conftest.$ac_objext'
88060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88061 (eval $ac_try) 2>&5
88062 ac_status=$?
88063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88064 (exit $ac_status); }; }; then
88065 glibcxx_cv_func__sqrtf_use=yes
88066 else
88067 echo "$as_me: failed program was:" >&5
88068 sed 's/^/| /' conftest.$ac_ext >&5
88070 glibcxx_cv_func__sqrtf_use=no
88072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88073 ac_ext=c
88074 ac_cpp='$CPP $CPPFLAGS'
88075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88083 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
88084 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
88086 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
88088 for ac_func in _sqrtf
88090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88091 echo "$as_me:$LINENO: checking for $ac_func" >&5
88092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88093 if eval "test \"\${$as_ac_var+set}\" = set"; then
88094 echo $ECHO_N "(cached) $ECHO_C" >&6
88095 else
88096 if test x$gcc_no_link = xyes; then
88097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88099 { (exit 1); exit 1; }; }
88101 cat >conftest.$ac_ext <<_ACEOF
88102 /* confdefs.h. */
88103 _ACEOF
88104 cat confdefs.h >>conftest.$ac_ext
88105 cat >>conftest.$ac_ext <<_ACEOF
88106 /* end confdefs.h. */
88107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88109 #define $ac_func innocuous_$ac_func
88111 /* System header to define __stub macros and hopefully few prototypes,
88112 which can conflict with char $ac_func (); below.
88113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88114 <limits.h> exists even on freestanding compilers. */
88116 #ifdef __STDC__
88117 # include <limits.h>
88118 #else
88119 # include <assert.h>
88120 #endif
88122 #undef $ac_func
88124 /* Override any gcc2 internal prototype to avoid an error. */
88125 #ifdef __cplusplus
88126 extern "C"
88128 #endif
88129 /* We use char because int might match the return type of a gcc2
88130 builtin and then its argument prototype would still apply. */
88131 char $ac_func ();
88132 /* The GNU C library defines this for functions which it implements
88133 to always fail with ENOSYS. Some functions are actually named
88134 something starting with __ and the normal name is an alias. */
88135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88136 choke me
88137 #else
88138 char (*f) () = $ac_func;
88139 #endif
88140 #ifdef __cplusplus
88142 #endif
88145 main ()
88147 return f != $ac_func;
88149 return 0;
88151 _ACEOF
88152 rm -f conftest.$ac_objext conftest$ac_exeext
88153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88154 (eval $ac_link) 2>conftest.er1
88155 ac_status=$?
88156 grep -v '^ *+' conftest.er1 >conftest.err
88157 rm -f conftest.er1
88158 cat conftest.err >&5
88159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88160 (exit $ac_status); } &&
88161 { ac_try='test -z "$ac_c_werror_flag"
88162 || test ! -s conftest.err'
88163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88164 (eval $ac_try) 2>&5
88165 ac_status=$?
88166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88167 (exit $ac_status); }; } &&
88168 { ac_try='test -s conftest$ac_exeext'
88169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88170 (eval $ac_try) 2>&5
88171 ac_status=$?
88172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88173 (exit $ac_status); }; }; then
88174 eval "$as_ac_var=yes"
88175 else
88176 echo "$as_me: failed program was:" >&5
88177 sed 's/^/| /' conftest.$ac_ext >&5
88179 eval "$as_ac_var=no"
88181 rm -f conftest.err conftest.$ac_objext \
88182 conftest$ac_exeext conftest.$ac_ext
88184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88186 if test `eval echo '${'$as_ac_var'}'` = yes; then
88187 cat >>confdefs.h <<_ACEOF
88188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88189 _ACEOF
88192 done
88202 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
88203 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
88204 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
88205 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
88206 echo $ECHO_N "(cached) $ECHO_C" >&6
88207 else
88211 ac_ext=cc
88212 ac_cpp='$CXXCPP $CPPFLAGS'
88213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88217 cat >conftest.$ac_ext <<_ACEOF
88218 /* confdefs.h. */
88219 _ACEOF
88220 cat confdefs.h >>conftest.$ac_ext
88221 cat >>conftest.$ac_ext <<_ACEOF
88222 /* end confdefs.h. */
88223 #include <math.h>
88225 main ()
88227 sincosf(0, 0, 0);
88229 return 0;
88231 _ACEOF
88232 rm -f conftest.$ac_objext
88233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88234 (eval $ac_compile) 2>conftest.er1
88235 ac_status=$?
88236 grep -v '^ *+' conftest.er1 >conftest.err
88237 rm -f conftest.er1
88238 cat conftest.err >&5
88239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88240 (exit $ac_status); } &&
88241 { ac_try='test -z "$ac_cxx_werror_flag"
88242 || test ! -s conftest.err'
88243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88244 (eval $ac_try) 2>&5
88245 ac_status=$?
88246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88247 (exit $ac_status); }; } &&
88248 { ac_try='test -s conftest.$ac_objext'
88249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88250 (eval $ac_try) 2>&5
88251 ac_status=$?
88252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88253 (exit $ac_status); }; }; then
88254 glibcxx_cv_func_sincosf_use=yes
88255 else
88256 echo "$as_me: failed program was:" >&5
88257 sed 's/^/| /' conftest.$ac_ext >&5
88259 glibcxx_cv_func_sincosf_use=no
88261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88262 ac_ext=c
88263 ac_cpp='$CPP $CPPFLAGS'
88264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88272 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
88273 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
88275 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
88277 for ac_func in sincosf
88279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88280 echo "$as_me:$LINENO: checking for $ac_func" >&5
88281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88282 if eval "test \"\${$as_ac_var+set}\" = set"; then
88283 echo $ECHO_N "(cached) $ECHO_C" >&6
88284 else
88285 if test x$gcc_no_link = xyes; then
88286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88288 { (exit 1); exit 1; }; }
88290 cat >conftest.$ac_ext <<_ACEOF
88291 /* confdefs.h. */
88292 _ACEOF
88293 cat confdefs.h >>conftest.$ac_ext
88294 cat >>conftest.$ac_ext <<_ACEOF
88295 /* end confdefs.h. */
88296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88298 #define $ac_func innocuous_$ac_func
88300 /* System header to define __stub macros and hopefully few prototypes,
88301 which can conflict with char $ac_func (); below.
88302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88303 <limits.h> exists even on freestanding compilers. */
88305 #ifdef __STDC__
88306 # include <limits.h>
88307 #else
88308 # include <assert.h>
88309 #endif
88311 #undef $ac_func
88313 /* Override any gcc2 internal prototype to avoid an error. */
88314 #ifdef __cplusplus
88315 extern "C"
88317 #endif
88318 /* We use char because int might match the return type of a gcc2
88319 builtin and then its argument prototype would still apply. */
88320 char $ac_func ();
88321 /* The GNU C library defines this for functions which it implements
88322 to always fail with ENOSYS. Some functions are actually named
88323 something starting with __ and the normal name is an alias. */
88324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88325 choke me
88326 #else
88327 char (*f) () = $ac_func;
88328 #endif
88329 #ifdef __cplusplus
88331 #endif
88334 main ()
88336 return f != $ac_func;
88338 return 0;
88340 _ACEOF
88341 rm -f conftest.$ac_objext conftest$ac_exeext
88342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88343 (eval $ac_link) 2>conftest.er1
88344 ac_status=$?
88345 grep -v '^ *+' conftest.er1 >conftest.err
88346 rm -f conftest.er1
88347 cat conftest.err >&5
88348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88349 (exit $ac_status); } &&
88350 { ac_try='test -z "$ac_c_werror_flag"
88351 || test ! -s conftest.err'
88352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88353 (eval $ac_try) 2>&5
88354 ac_status=$?
88355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88356 (exit $ac_status); }; } &&
88357 { ac_try='test -s conftest$ac_exeext'
88358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88359 (eval $ac_try) 2>&5
88360 ac_status=$?
88361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88362 (exit $ac_status); }; }; then
88363 eval "$as_ac_var=yes"
88364 else
88365 echo "$as_me: failed program was:" >&5
88366 sed 's/^/| /' conftest.$ac_ext >&5
88368 eval "$as_ac_var=no"
88370 rm -f conftest.err conftest.$ac_objext \
88371 conftest$ac_exeext conftest.$ac_ext
88373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88375 if test `eval echo '${'$as_ac_var'}'` = yes; then
88376 cat >>confdefs.h <<_ACEOF
88377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88378 _ACEOF
88381 done
88383 else
88385 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
88386 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
88387 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
88388 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
88389 echo $ECHO_N "(cached) $ECHO_C" >&6
88390 else
88394 ac_ext=cc
88395 ac_cpp='$CXXCPP $CPPFLAGS'
88396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88400 cat >conftest.$ac_ext <<_ACEOF
88401 /* confdefs.h. */
88402 _ACEOF
88403 cat confdefs.h >>conftest.$ac_ext
88404 cat >>conftest.$ac_ext <<_ACEOF
88405 /* end confdefs.h. */
88406 #include <math.h>
88408 main ()
88410 _sincosf(0, 0, 0);
88412 return 0;
88414 _ACEOF
88415 rm -f conftest.$ac_objext
88416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88417 (eval $ac_compile) 2>conftest.er1
88418 ac_status=$?
88419 grep -v '^ *+' conftest.er1 >conftest.err
88420 rm -f conftest.er1
88421 cat conftest.err >&5
88422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88423 (exit $ac_status); } &&
88424 { ac_try='test -z "$ac_cxx_werror_flag"
88425 || test ! -s conftest.err'
88426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88427 (eval $ac_try) 2>&5
88428 ac_status=$?
88429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88430 (exit $ac_status); }; } &&
88431 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
88437 glibcxx_cv_func__sincosf_use=yes
88438 else
88439 echo "$as_me: failed program was:" >&5
88440 sed 's/^/| /' conftest.$ac_ext >&5
88442 glibcxx_cv_func__sincosf_use=no
88444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88445 ac_ext=c
88446 ac_cpp='$CPP $CPPFLAGS'
88447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88455 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
88456 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
88458 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
88460 for ac_func in _sincosf
88462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88463 echo "$as_me:$LINENO: checking for $ac_func" >&5
88464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88465 if eval "test \"\${$as_ac_var+set}\" = set"; then
88466 echo $ECHO_N "(cached) $ECHO_C" >&6
88467 else
88468 if test x$gcc_no_link = xyes; then
88469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88471 { (exit 1); exit 1; }; }
88473 cat >conftest.$ac_ext <<_ACEOF
88474 /* confdefs.h. */
88475 _ACEOF
88476 cat confdefs.h >>conftest.$ac_ext
88477 cat >>conftest.$ac_ext <<_ACEOF
88478 /* end confdefs.h. */
88479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88481 #define $ac_func innocuous_$ac_func
88483 /* System header to define __stub macros and hopefully few prototypes,
88484 which can conflict with char $ac_func (); below.
88485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88486 <limits.h> exists even on freestanding compilers. */
88488 #ifdef __STDC__
88489 # include <limits.h>
88490 #else
88491 # include <assert.h>
88492 #endif
88494 #undef $ac_func
88496 /* Override any gcc2 internal prototype to avoid an error. */
88497 #ifdef __cplusplus
88498 extern "C"
88500 #endif
88501 /* We use char because int might match the return type of a gcc2
88502 builtin and then its argument prototype would still apply. */
88503 char $ac_func ();
88504 /* The GNU C library defines this for functions which it implements
88505 to always fail with ENOSYS. Some functions are actually named
88506 something starting with __ and the normal name is an alias. */
88507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88508 choke me
88509 #else
88510 char (*f) () = $ac_func;
88511 #endif
88512 #ifdef __cplusplus
88514 #endif
88517 main ()
88519 return f != $ac_func;
88521 return 0;
88523 _ACEOF
88524 rm -f conftest.$ac_objext conftest$ac_exeext
88525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88526 (eval $ac_link) 2>conftest.er1
88527 ac_status=$?
88528 grep -v '^ *+' conftest.er1 >conftest.err
88529 rm -f conftest.er1
88530 cat conftest.err >&5
88531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88532 (exit $ac_status); } &&
88533 { ac_try='test -z "$ac_c_werror_flag"
88534 || test ! -s conftest.err'
88535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88536 (eval $ac_try) 2>&5
88537 ac_status=$?
88538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88539 (exit $ac_status); }; } &&
88540 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
88546 eval "$as_ac_var=yes"
88547 else
88548 echo "$as_me: failed program was:" >&5
88549 sed 's/^/| /' conftest.$ac_ext >&5
88551 eval "$as_ac_var=no"
88553 rm -f conftest.err conftest.$ac_objext \
88554 conftest$ac_exeext conftest.$ac_ext
88556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88558 if test `eval echo '${'$as_ac_var'}'` = yes; then
88559 cat >>confdefs.h <<_ACEOF
88560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88561 _ACEOF
88564 done
88574 echo "$as_me:$LINENO: checking for finitef declaration" >&5
88575 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
88576 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
88577 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
88578 echo $ECHO_N "(cached) $ECHO_C" >&6
88579 else
88583 ac_ext=cc
88584 ac_cpp='$CXXCPP $CPPFLAGS'
88585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88589 cat >conftest.$ac_ext <<_ACEOF
88590 /* confdefs.h. */
88591 _ACEOF
88592 cat confdefs.h >>conftest.$ac_ext
88593 cat >>conftest.$ac_ext <<_ACEOF
88594 /* end confdefs.h. */
88595 #include <math.h>
88596 #ifdef HAVE_IEEEFP_H
88597 #include <ieeefp.h>
88598 #endif
88601 main ()
88603 finitef(0);
88605 return 0;
88607 _ACEOF
88608 rm -f conftest.$ac_objext
88609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88610 (eval $ac_compile) 2>conftest.er1
88611 ac_status=$?
88612 grep -v '^ *+' conftest.er1 >conftest.err
88613 rm -f conftest.er1
88614 cat conftest.err >&5
88615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88616 (exit $ac_status); } &&
88617 { ac_try='test -z "$ac_cxx_werror_flag"
88618 || test ! -s conftest.err'
88619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88620 (eval $ac_try) 2>&5
88621 ac_status=$?
88622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88623 (exit $ac_status); }; } &&
88624 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
88630 glibcxx_cv_func_finitef_use=yes
88631 else
88632 echo "$as_me: failed program was:" >&5
88633 sed 's/^/| /' conftest.$ac_ext >&5
88635 glibcxx_cv_func_finitef_use=no
88637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88638 ac_ext=c
88639 ac_cpp='$CPP $CPPFLAGS'
88640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88648 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
88649 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
88651 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
88653 for ac_func in finitef
88655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88656 echo "$as_me:$LINENO: checking for $ac_func" >&5
88657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88658 if eval "test \"\${$as_ac_var+set}\" = set"; then
88659 echo $ECHO_N "(cached) $ECHO_C" >&6
88660 else
88661 if test x$gcc_no_link = xyes; then
88662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88664 { (exit 1); exit 1; }; }
88666 cat >conftest.$ac_ext <<_ACEOF
88667 /* confdefs.h. */
88668 _ACEOF
88669 cat confdefs.h >>conftest.$ac_ext
88670 cat >>conftest.$ac_ext <<_ACEOF
88671 /* end confdefs.h. */
88672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88674 #define $ac_func innocuous_$ac_func
88676 /* System header to define __stub macros and hopefully few prototypes,
88677 which can conflict with char $ac_func (); below.
88678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88679 <limits.h> exists even on freestanding compilers. */
88681 #ifdef __STDC__
88682 # include <limits.h>
88683 #else
88684 # include <assert.h>
88685 #endif
88687 #undef $ac_func
88689 /* Override any gcc2 internal prototype to avoid an error. */
88690 #ifdef __cplusplus
88691 extern "C"
88693 #endif
88694 /* We use char because int might match the return type of a gcc2
88695 builtin and then its argument prototype would still apply. */
88696 char $ac_func ();
88697 /* The GNU C library defines this for functions which it implements
88698 to always fail with ENOSYS. Some functions are actually named
88699 something starting with __ and the normal name is an alias. */
88700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88701 choke me
88702 #else
88703 char (*f) () = $ac_func;
88704 #endif
88705 #ifdef __cplusplus
88707 #endif
88710 main ()
88712 return f != $ac_func;
88714 return 0;
88716 _ACEOF
88717 rm -f conftest.$ac_objext conftest$ac_exeext
88718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88719 (eval $ac_link) 2>conftest.er1
88720 ac_status=$?
88721 grep -v '^ *+' conftest.er1 >conftest.err
88722 rm -f conftest.er1
88723 cat conftest.err >&5
88724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88725 (exit $ac_status); } &&
88726 { ac_try='test -z "$ac_c_werror_flag"
88727 || test ! -s conftest.err'
88728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88729 (eval $ac_try) 2>&5
88730 ac_status=$?
88731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88732 (exit $ac_status); }; } &&
88733 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
88739 eval "$as_ac_var=yes"
88740 else
88741 echo "$as_me: failed program was:" >&5
88742 sed 's/^/| /' conftest.$ac_ext >&5
88744 eval "$as_ac_var=no"
88746 rm -f conftest.err conftest.$ac_objext \
88747 conftest$ac_exeext conftest.$ac_ext
88749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88751 if test `eval echo '${'$as_ac_var'}'` = yes; then
88752 cat >>confdefs.h <<_ACEOF
88753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88754 _ACEOF
88757 done
88759 else
88761 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
88762 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
88763 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
88764 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
88765 echo $ECHO_N "(cached) $ECHO_C" >&6
88766 else
88770 ac_ext=cc
88771 ac_cpp='$CXXCPP $CPPFLAGS'
88772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88776 cat >conftest.$ac_ext <<_ACEOF
88777 /* confdefs.h. */
88778 _ACEOF
88779 cat confdefs.h >>conftest.$ac_ext
88780 cat >>conftest.$ac_ext <<_ACEOF
88781 /* end confdefs.h. */
88782 #include <math.h>
88783 #ifdef HAVE_IEEEFP_H
88784 #include <ieeefp.h>
88785 #endif
88788 main ()
88790 _finitef(0);
88792 return 0;
88794 _ACEOF
88795 rm -f conftest.$ac_objext
88796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88797 (eval $ac_compile) 2>conftest.er1
88798 ac_status=$?
88799 grep -v '^ *+' conftest.er1 >conftest.err
88800 rm -f conftest.er1
88801 cat conftest.err >&5
88802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88803 (exit $ac_status); } &&
88804 { ac_try='test -z "$ac_cxx_werror_flag"
88805 || test ! -s conftest.err'
88806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88807 (eval $ac_try) 2>&5
88808 ac_status=$?
88809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88810 (exit $ac_status); }; } &&
88811 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
88817 glibcxx_cv_func__finitef_use=yes
88818 else
88819 echo "$as_me: failed program was:" >&5
88820 sed 's/^/| /' conftest.$ac_ext >&5
88822 glibcxx_cv_func__finitef_use=no
88824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88825 ac_ext=c
88826 ac_cpp='$CPP $CPPFLAGS'
88827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88835 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
88836 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
88838 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
88840 for ac_func in _finitef
88842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88843 echo "$as_me:$LINENO: checking for $ac_func" >&5
88844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88845 if eval "test \"\${$as_ac_var+set}\" = set"; then
88846 echo $ECHO_N "(cached) $ECHO_C" >&6
88847 else
88848 if test x$gcc_no_link = xyes; then
88849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88851 { (exit 1); exit 1; }; }
88853 cat >conftest.$ac_ext <<_ACEOF
88854 /* confdefs.h. */
88855 _ACEOF
88856 cat confdefs.h >>conftest.$ac_ext
88857 cat >>conftest.$ac_ext <<_ACEOF
88858 /* end confdefs.h. */
88859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88861 #define $ac_func innocuous_$ac_func
88863 /* System header to define __stub macros and hopefully few prototypes,
88864 which can conflict with char $ac_func (); below.
88865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88866 <limits.h> exists even on freestanding compilers. */
88868 #ifdef __STDC__
88869 # include <limits.h>
88870 #else
88871 # include <assert.h>
88872 #endif
88874 #undef $ac_func
88876 /* Override any gcc2 internal prototype to avoid an error. */
88877 #ifdef __cplusplus
88878 extern "C"
88880 #endif
88881 /* We use char because int might match the return type of a gcc2
88882 builtin and then its argument prototype would still apply. */
88883 char $ac_func ();
88884 /* The GNU C library defines this for functions which it implements
88885 to always fail with ENOSYS. Some functions are actually named
88886 something starting with __ and the normal name is an alias. */
88887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88888 choke me
88889 #else
88890 char (*f) () = $ac_func;
88891 #endif
88892 #ifdef __cplusplus
88894 #endif
88897 main ()
88899 return f != $ac_func;
88901 return 0;
88903 _ACEOF
88904 rm -f conftest.$ac_objext conftest$ac_exeext
88905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88906 (eval $ac_link) 2>conftest.er1
88907 ac_status=$?
88908 grep -v '^ *+' conftest.er1 >conftest.err
88909 rm -f conftest.er1
88910 cat conftest.err >&5
88911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88912 (exit $ac_status); } &&
88913 { ac_try='test -z "$ac_c_werror_flag"
88914 || test ! -s conftest.err'
88915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88916 (eval $ac_try) 2>&5
88917 ac_status=$?
88918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88919 (exit $ac_status); }; } &&
88920 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
88926 eval "$as_ac_var=yes"
88927 else
88928 echo "$as_me: failed program was:" >&5
88929 sed 's/^/| /' conftest.$ac_ext >&5
88931 eval "$as_ac_var=no"
88933 rm -f conftest.err conftest.$ac_objext \
88934 conftest$ac_exeext conftest.$ac_ext
88936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88938 if test `eval echo '${'$as_ac_var'}'` = yes; then
88939 cat >>confdefs.h <<_ACEOF
88940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88941 _ACEOF
88944 done
88954 echo "$as_me:$LINENO: checking for long double trig functions" >&5
88955 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
88956 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
88957 echo $ECHO_N "(cached) $ECHO_C" >&6
88958 else
88962 ac_ext=cc
88963 ac_cpp='$CXXCPP $CPPFLAGS'
88964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88968 cat >conftest.$ac_ext <<_ACEOF
88969 /* confdefs.h. */
88970 _ACEOF
88971 cat confdefs.h >>conftest.$ac_ext
88972 cat >>conftest.$ac_ext <<_ACEOF
88973 /* end confdefs.h. */
88974 #include <math.h>
88976 main ()
88978 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
88980 return 0;
88982 _ACEOF
88983 rm -f conftest.$ac_objext
88984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88985 (eval $ac_compile) 2>conftest.er1
88986 ac_status=$?
88987 grep -v '^ *+' conftest.er1 >conftest.err
88988 rm -f conftest.er1
88989 cat conftest.err >&5
88990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88991 (exit $ac_status); } &&
88992 { ac_try='test -z "$ac_cxx_werror_flag"
88993 || test ! -s conftest.err'
88994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88995 (eval $ac_try) 2>&5
88996 ac_status=$?
88997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88998 (exit $ac_status); }; } &&
88999 { ac_try='test -s conftest.$ac_objext'
89000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89001 (eval $ac_try) 2>&5
89002 ac_status=$?
89003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89004 (exit $ac_status); }; }; then
89005 glibcxx_cv_func_long_double_trig_use=yes
89006 else
89007 echo "$as_me: failed program was:" >&5
89008 sed 's/^/| /' conftest.$ac_ext >&5
89010 glibcxx_cv_func_long_double_trig_use=no
89012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89013 ac_ext=c
89014 ac_cpp='$CPP $CPPFLAGS'
89015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89021 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
89022 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
89023 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
89033 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
89035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89036 echo "$as_me:$LINENO: checking for $ac_func" >&5
89037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89038 if eval "test \"\${$as_ac_var+set}\" = set"; then
89039 echo $ECHO_N "(cached) $ECHO_C" >&6
89040 else
89041 if test x$gcc_no_link = xyes; then
89042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89044 { (exit 1); exit 1; }; }
89046 cat >conftest.$ac_ext <<_ACEOF
89047 /* confdefs.h. */
89048 _ACEOF
89049 cat confdefs.h >>conftest.$ac_ext
89050 cat >>conftest.$ac_ext <<_ACEOF
89051 /* end confdefs.h. */
89052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89054 #define $ac_func innocuous_$ac_func
89056 /* System header to define __stub macros and hopefully few prototypes,
89057 which can conflict with char $ac_func (); below.
89058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89059 <limits.h> exists even on freestanding compilers. */
89061 #ifdef __STDC__
89062 # include <limits.h>
89063 #else
89064 # include <assert.h>
89065 #endif
89067 #undef $ac_func
89069 /* Override any gcc2 internal prototype to avoid an error. */
89070 #ifdef __cplusplus
89071 extern "C"
89073 #endif
89074 /* We use char because int might match the return type of a gcc2
89075 builtin and then its argument prototype would still apply. */
89076 char $ac_func ();
89077 /* The GNU C library defines this for functions which it implements
89078 to always fail with ENOSYS. Some functions are actually named
89079 something starting with __ and the normal name is an alias. */
89080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89081 choke me
89082 #else
89083 char (*f) () = $ac_func;
89084 #endif
89085 #ifdef __cplusplus
89087 #endif
89090 main ()
89092 return f != $ac_func;
89094 return 0;
89096 _ACEOF
89097 rm -f conftest.$ac_objext conftest$ac_exeext
89098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89099 (eval $ac_link) 2>conftest.er1
89100 ac_status=$?
89101 grep -v '^ *+' conftest.er1 >conftest.err
89102 rm -f conftest.er1
89103 cat conftest.err >&5
89104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89105 (exit $ac_status); } &&
89106 { ac_try='test -z "$ac_c_werror_flag"
89107 || test ! -s conftest.err'
89108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89109 (eval $ac_try) 2>&5
89110 ac_status=$?
89111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89112 (exit $ac_status); }; } &&
89113 { ac_try='test -s conftest$ac_exeext'
89114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89115 (eval $ac_try) 2>&5
89116 ac_status=$?
89117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89118 (exit $ac_status); }; }; then
89119 eval "$as_ac_var=yes"
89120 else
89121 echo "$as_me: failed program was:" >&5
89122 sed 's/^/| /' conftest.$ac_ext >&5
89124 eval "$as_ac_var=no"
89126 rm -f conftest.err conftest.$ac_objext \
89127 conftest$ac_exeext conftest.$ac_ext
89129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89131 if test `eval echo '${'$as_ac_var'}'` = yes; then
89132 cat >>confdefs.h <<_ACEOF
89133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89134 _ACEOF
89137 done
89139 else
89140 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
89141 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
89142 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
89143 echo $ECHO_N "(cached) $ECHO_C" >&6
89144 else
89148 ac_ext=cc
89149 ac_cpp='$CXXCPP $CPPFLAGS'
89150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89154 cat >conftest.$ac_ext <<_ACEOF
89155 /* confdefs.h. */
89156 _ACEOF
89157 cat confdefs.h >>conftest.$ac_ext
89158 cat >>conftest.$ac_ext <<_ACEOF
89159 /* end confdefs.h. */
89160 #include <math.h>
89162 main ()
89164 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
89166 return 0;
89168 _ACEOF
89169 rm -f conftest.$ac_objext
89170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89171 (eval $ac_compile) 2>conftest.er1
89172 ac_status=$?
89173 grep -v '^ *+' conftest.er1 >conftest.err
89174 rm -f conftest.er1
89175 cat conftest.err >&5
89176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89177 (exit $ac_status); } &&
89178 { ac_try='test -z "$ac_cxx_werror_flag"
89179 || test ! -s conftest.err'
89180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89181 (eval $ac_try) 2>&5
89182 ac_status=$?
89183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89184 (exit $ac_status); }; } &&
89185 { ac_try='test -s conftest.$ac_objext'
89186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89187 (eval $ac_try) 2>&5
89188 ac_status=$?
89189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89190 (exit $ac_status); }; }; then
89191 glibcxx_cv_func__long_double_trig_use=yes
89192 else
89193 echo "$as_me: failed program was:" >&5
89194 sed 's/^/| /' conftest.$ac_ext >&5
89196 glibcxx_cv_func__long_double_trig_use=no
89198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89199 ac_ext=c
89200 ac_cpp='$CPP $CPPFLAGS'
89201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89207 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
89208 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
89209 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
89219 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
89221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89222 echo "$as_me:$LINENO: checking for $ac_func" >&5
89223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89224 if eval "test \"\${$as_ac_var+set}\" = set"; then
89225 echo $ECHO_N "(cached) $ECHO_C" >&6
89226 else
89227 if test x$gcc_no_link = xyes; then
89228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89230 { (exit 1); exit 1; }; }
89232 cat >conftest.$ac_ext <<_ACEOF
89233 /* confdefs.h. */
89234 _ACEOF
89235 cat confdefs.h >>conftest.$ac_ext
89236 cat >>conftest.$ac_ext <<_ACEOF
89237 /* end confdefs.h. */
89238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89240 #define $ac_func innocuous_$ac_func
89242 /* System header to define __stub macros and hopefully few prototypes,
89243 which can conflict with char $ac_func (); below.
89244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89245 <limits.h> exists even on freestanding compilers. */
89247 #ifdef __STDC__
89248 # include <limits.h>
89249 #else
89250 # include <assert.h>
89251 #endif
89253 #undef $ac_func
89255 /* Override any gcc2 internal prototype to avoid an error. */
89256 #ifdef __cplusplus
89257 extern "C"
89259 #endif
89260 /* We use char because int might match the return type of a gcc2
89261 builtin and then its argument prototype would still apply. */
89262 char $ac_func ();
89263 /* The GNU C library defines this for functions which it implements
89264 to always fail with ENOSYS. Some functions are actually named
89265 something starting with __ and the normal name is an alias. */
89266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89267 choke me
89268 #else
89269 char (*f) () = $ac_func;
89270 #endif
89271 #ifdef __cplusplus
89273 #endif
89276 main ()
89278 return f != $ac_func;
89280 return 0;
89282 _ACEOF
89283 rm -f conftest.$ac_objext conftest$ac_exeext
89284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89285 (eval $ac_link) 2>conftest.er1
89286 ac_status=$?
89287 grep -v '^ *+' conftest.er1 >conftest.err
89288 rm -f conftest.er1
89289 cat conftest.err >&5
89290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89291 (exit $ac_status); } &&
89292 { ac_try='test -z "$ac_c_werror_flag"
89293 || test ! -s conftest.err'
89294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89295 (eval $ac_try) 2>&5
89296 ac_status=$?
89297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89298 (exit $ac_status); }; } &&
89299 { ac_try='test -s conftest$ac_exeext'
89300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89301 (eval $ac_try) 2>&5
89302 ac_status=$?
89303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89304 (exit $ac_status); }; }; then
89305 eval "$as_ac_var=yes"
89306 else
89307 echo "$as_me: failed program was:" >&5
89308 sed 's/^/| /' conftest.$ac_ext >&5
89310 eval "$as_ac_var=no"
89312 rm -f conftest.err conftest.$ac_objext \
89313 conftest$ac_exeext conftest.$ac_ext
89315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89317 if test `eval echo '${'$as_ac_var'}'` = yes; then
89318 cat >>confdefs.h <<_ACEOF
89319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89320 _ACEOF
89323 done
89341 echo "$as_me:$LINENO: checking for long double round functions" >&5
89342 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
89343 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
89344 echo $ECHO_N "(cached) $ECHO_C" >&6
89345 else
89349 ac_ext=cc
89350 ac_cpp='$CXXCPP $CPPFLAGS'
89351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89355 cat >conftest.$ac_ext <<_ACEOF
89356 /* confdefs.h. */
89357 _ACEOF
89358 cat confdefs.h >>conftest.$ac_ext
89359 cat >>conftest.$ac_ext <<_ACEOF
89360 /* end confdefs.h. */
89361 #include <math.h>
89363 main ()
89365 ceill (0); floorl (0);
89367 return 0;
89369 _ACEOF
89370 rm -f conftest.$ac_objext
89371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89372 (eval $ac_compile) 2>conftest.er1
89373 ac_status=$?
89374 grep -v '^ *+' conftest.er1 >conftest.err
89375 rm -f conftest.er1
89376 cat conftest.err >&5
89377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89378 (exit $ac_status); } &&
89379 { ac_try='test -z "$ac_cxx_werror_flag"
89380 || test ! -s conftest.err'
89381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89382 (eval $ac_try) 2>&5
89383 ac_status=$?
89384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89385 (exit $ac_status); }; } &&
89386 { ac_try='test -s conftest.$ac_objext'
89387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89388 (eval $ac_try) 2>&5
89389 ac_status=$?
89390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89391 (exit $ac_status); }; }; then
89392 glibcxx_cv_func_long_double_round_use=yes
89393 else
89394 echo "$as_me: failed program was:" >&5
89395 sed 's/^/| /' conftest.$ac_ext >&5
89397 glibcxx_cv_func_long_double_round_use=no
89399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89400 ac_ext=c
89401 ac_cpp='$CPP $CPPFLAGS'
89402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
89409 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
89410 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
89413 for ac_func in ceill floorl
89415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89416 echo "$as_me:$LINENO: checking for $ac_func" >&5
89417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89418 if eval "test \"\${$as_ac_var+set}\" = set"; then
89419 echo $ECHO_N "(cached) $ECHO_C" >&6
89420 else
89421 if test x$gcc_no_link = xyes; then
89422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89424 { (exit 1); exit 1; }; }
89426 cat >conftest.$ac_ext <<_ACEOF
89427 /* confdefs.h. */
89428 _ACEOF
89429 cat confdefs.h >>conftest.$ac_ext
89430 cat >>conftest.$ac_ext <<_ACEOF
89431 /* end confdefs.h. */
89432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89434 #define $ac_func innocuous_$ac_func
89436 /* System header to define __stub macros and hopefully few prototypes,
89437 which can conflict with char $ac_func (); below.
89438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89439 <limits.h> exists even on freestanding compilers. */
89441 #ifdef __STDC__
89442 # include <limits.h>
89443 #else
89444 # include <assert.h>
89445 #endif
89447 #undef $ac_func
89449 /* Override any gcc2 internal prototype to avoid an error. */
89450 #ifdef __cplusplus
89451 extern "C"
89453 #endif
89454 /* We use char because int might match the return type of a gcc2
89455 builtin and then its argument prototype would still apply. */
89456 char $ac_func ();
89457 /* The GNU C library defines this for functions which it implements
89458 to always fail with ENOSYS. Some functions are actually named
89459 something starting with __ and the normal name is an alias. */
89460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89461 choke me
89462 #else
89463 char (*f) () = $ac_func;
89464 #endif
89465 #ifdef __cplusplus
89467 #endif
89470 main ()
89472 return f != $ac_func;
89474 return 0;
89476 _ACEOF
89477 rm -f conftest.$ac_objext conftest$ac_exeext
89478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89479 (eval $ac_link) 2>conftest.er1
89480 ac_status=$?
89481 grep -v '^ *+' conftest.er1 >conftest.err
89482 rm -f conftest.er1
89483 cat conftest.err >&5
89484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89485 (exit $ac_status); } &&
89486 { ac_try='test -z "$ac_c_werror_flag"
89487 || test ! -s conftest.err'
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); }; } &&
89493 { ac_try='test -s conftest$ac_exeext'
89494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89495 (eval $ac_try) 2>&5
89496 ac_status=$?
89497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89498 (exit $ac_status); }; }; then
89499 eval "$as_ac_var=yes"
89500 else
89501 echo "$as_me: failed program was:" >&5
89502 sed 's/^/| /' conftest.$ac_ext >&5
89504 eval "$as_ac_var=no"
89506 rm -f conftest.err conftest.$ac_objext \
89507 conftest$ac_exeext conftest.$ac_ext
89509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89511 if test `eval echo '${'$as_ac_var'}'` = yes; then
89512 cat >>confdefs.h <<_ACEOF
89513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89514 _ACEOF
89517 done
89519 else
89520 echo "$as_me:$LINENO: checking for _long double round functions" >&5
89521 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
89522 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
89523 echo $ECHO_N "(cached) $ECHO_C" >&6
89524 else
89528 ac_ext=cc
89529 ac_cpp='$CXXCPP $CPPFLAGS'
89530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89534 cat >conftest.$ac_ext <<_ACEOF
89535 /* confdefs.h. */
89536 _ACEOF
89537 cat confdefs.h >>conftest.$ac_ext
89538 cat >>conftest.$ac_ext <<_ACEOF
89539 /* end confdefs.h. */
89540 #include <math.h>
89542 main ()
89544 _ceill (0); _floorl (0);
89546 return 0;
89548 _ACEOF
89549 rm -f conftest.$ac_objext
89550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89551 (eval $ac_compile) 2>conftest.er1
89552 ac_status=$?
89553 grep -v '^ *+' conftest.er1 >conftest.err
89554 rm -f conftest.er1
89555 cat conftest.err >&5
89556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89557 (exit $ac_status); } &&
89558 { ac_try='test -z "$ac_cxx_werror_flag"
89559 || test ! -s conftest.err'
89560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89561 (eval $ac_try) 2>&5
89562 ac_status=$?
89563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89564 (exit $ac_status); }; } &&
89565 { ac_try='test -s conftest.$ac_objext'
89566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89567 (eval $ac_try) 2>&5
89568 ac_status=$?
89569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89570 (exit $ac_status); }; }; then
89571 glibcxx_cv_func__long_double_round_use=yes
89572 else
89573 echo "$as_me: failed program was:" >&5
89574 sed 's/^/| /' conftest.$ac_ext >&5
89576 glibcxx_cv_func__long_double_round_use=no
89578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89579 ac_ext=c
89580 ac_cpp='$CPP $CPPFLAGS'
89581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89587 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
89588 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
89589 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
89592 for ac_func in _ceill _floorl
89594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89595 echo "$as_me:$LINENO: checking for $ac_func" >&5
89596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89597 if eval "test \"\${$as_ac_var+set}\" = set"; then
89598 echo $ECHO_N "(cached) $ECHO_C" >&6
89599 else
89600 if test x$gcc_no_link = xyes; then
89601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89603 { (exit 1); exit 1; }; }
89605 cat >conftest.$ac_ext <<_ACEOF
89606 /* confdefs.h. */
89607 _ACEOF
89608 cat confdefs.h >>conftest.$ac_ext
89609 cat >>conftest.$ac_ext <<_ACEOF
89610 /* end confdefs.h. */
89611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89613 #define $ac_func innocuous_$ac_func
89615 /* System header to define __stub macros and hopefully few prototypes,
89616 which can conflict with char $ac_func (); below.
89617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89618 <limits.h> exists even on freestanding compilers. */
89620 #ifdef __STDC__
89621 # include <limits.h>
89622 #else
89623 # include <assert.h>
89624 #endif
89626 #undef $ac_func
89628 /* Override any gcc2 internal prototype to avoid an error. */
89629 #ifdef __cplusplus
89630 extern "C"
89632 #endif
89633 /* We use char because int might match the return type of a gcc2
89634 builtin and then its argument prototype would still apply. */
89635 char $ac_func ();
89636 /* The GNU C library defines this for functions which it implements
89637 to always fail with ENOSYS. Some functions are actually named
89638 something starting with __ and the normal name is an alias. */
89639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89640 choke me
89641 #else
89642 char (*f) () = $ac_func;
89643 #endif
89644 #ifdef __cplusplus
89646 #endif
89649 main ()
89651 return f != $ac_func;
89653 return 0;
89655 _ACEOF
89656 rm -f conftest.$ac_objext conftest$ac_exeext
89657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89658 (eval $ac_link) 2>conftest.er1
89659 ac_status=$?
89660 grep -v '^ *+' conftest.er1 >conftest.err
89661 rm -f conftest.er1
89662 cat conftest.err >&5
89663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89664 (exit $ac_status); } &&
89665 { ac_try='test -z "$ac_c_werror_flag"
89666 || test ! -s conftest.err'
89667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89668 (eval $ac_try) 2>&5
89669 ac_status=$?
89670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89671 (exit $ac_status); }; } &&
89672 { ac_try='test -s conftest$ac_exeext'
89673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89674 (eval $ac_try) 2>&5
89675 ac_status=$?
89676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89677 (exit $ac_status); }; }; then
89678 eval "$as_ac_var=yes"
89679 else
89680 echo "$as_me: failed program was:" >&5
89681 sed 's/^/| /' conftest.$ac_ext >&5
89683 eval "$as_ac_var=no"
89685 rm -f conftest.err conftest.$ac_objext \
89686 conftest$ac_exeext conftest.$ac_ext
89688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89690 if test `eval echo '${'$as_ac_var'}'` = yes; then
89691 cat >>confdefs.h <<_ACEOF
89692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89693 _ACEOF
89696 done
89708 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
89709 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
89710 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
89711 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
89712 echo $ECHO_N "(cached) $ECHO_C" >&6
89713 else
89717 ac_ext=cc
89718 ac_cpp='$CXXCPP $CPPFLAGS'
89719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89723 cat >conftest.$ac_ext <<_ACEOF
89724 /* confdefs.h. */
89725 _ACEOF
89726 cat confdefs.h >>conftest.$ac_ext
89727 cat >>conftest.$ac_ext <<_ACEOF
89728 /* end confdefs.h. */
89729 #include <math.h>
89730 #ifdef HAVE_IEEEFP_H
89731 #include <ieeefp.h>
89732 #endif
89735 main ()
89737 isnanl(0);
89739 return 0;
89741 _ACEOF
89742 rm -f conftest.$ac_objext
89743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89744 (eval $ac_compile) 2>conftest.er1
89745 ac_status=$?
89746 grep -v '^ *+' conftest.er1 >conftest.err
89747 rm -f conftest.er1
89748 cat conftest.err >&5
89749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89750 (exit $ac_status); } &&
89751 { ac_try='test -z "$ac_cxx_werror_flag"
89752 || test ! -s conftest.err'
89753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89754 (eval $ac_try) 2>&5
89755 ac_status=$?
89756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89757 (exit $ac_status); }; } &&
89758 { ac_try='test -s conftest.$ac_objext'
89759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89760 (eval $ac_try) 2>&5
89761 ac_status=$?
89762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89763 (exit $ac_status); }; }; then
89764 glibcxx_cv_func_isnanl_use=yes
89765 else
89766 echo "$as_me: failed program was:" >&5
89767 sed 's/^/| /' conftest.$ac_ext >&5
89769 glibcxx_cv_func_isnanl_use=no
89771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89772 ac_ext=c
89773 ac_cpp='$CPP $CPPFLAGS'
89774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89782 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
89783 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
89785 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
89787 for ac_func in isnanl
89789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89790 echo "$as_me:$LINENO: checking for $ac_func" >&5
89791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89792 if eval "test \"\${$as_ac_var+set}\" = set"; then
89793 echo $ECHO_N "(cached) $ECHO_C" >&6
89794 else
89795 if test x$gcc_no_link = xyes; then
89796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89798 { (exit 1); exit 1; }; }
89800 cat >conftest.$ac_ext <<_ACEOF
89801 /* confdefs.h. */
89802 _ACEOF
89803 cat confdefs.h >>conftest.$ac_ext
89804 cat >>conftest.$ac_ext <<_ACEOF
89805 /* end confdefs.h. */
89806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89808 #define $ac_func innocuous_$ac_func
89810 /* System header to define __stub macros and hopefully few prototypes,
89811 which can conflict with char $ac_func (); below.
89812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89813 <limits.h> exists even on freestanding compilers. */
89815 #ifdef __STDC__
89816 # include <limits.h>
89817 #else
89818 # include <assert.h>
89819 #endif
89821 #undef $ac_func
89823 /* Override any gcc2 internal prototype to avoid an error. */
89824 #ifdef __cplusplus
89825 extern "C"
89827 #endif
89828 /* We use char because int might match the return type of a gcc2
89829 builtin and then its argument prototype would still apply. */
89830 char $ac_func ();
89831 /* The GNU C library defines this for functions which it implements
89832 to always fail with ENOSYS. Some functions are actually named
89833 something starting with __ and the normal name is an alias. */
89834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89835 choke me
89836 #else
89837 char (*f) () = $ac_func;
89838 #endif
89839 #ifdef __cplusplus
89841 #endif
89844 main ()
89846 return f != $ac_func;
89848 return 0;
89850 _ACEOF
89851 rm -f conftest.$ac_objext conftest$ac_exeext
89852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89853 (eval $ac_link) 2>conftest.er1
89854 ac_status=$?
89855 grep -v '^ *+' conftest.er1 >conftest.err
89856 rm -f conftest.er1
89857 cat conftest.err >&5
89858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89859 (exit $ac_status); } &&
89860 { ac_try='test -z "$ac_c_werror_flag"
89861 || test ! -s conftest.err'
89862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89863 (eval $ac_try) 2>&5
89864 ac_status=$?
89865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89866 (exit $ac_status); }; } &&
89867 { ac_try='test -s conftest$ac_exeext'
89868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89869 (eval $ac_try) 2>&5
89870 ac_status=$?
89871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89872 (exit $ac_status); }; }; then
89873 eval "$as_ac_var=yes"
89874 else
89875 echo "$as_me: failed program was:" >&5
89876 sed 's/^/| /' conftest.$ac_ext >&5
89878 eval "$as_ac_var=no"
89880 rm -f conftest.err conftest.$ac_objext \
89881 conftest$ac_exeext conftest.$ac_ext
89883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89885 if test `eval echo '${'$as_ac_var'}'` = yes; then
89886 cat >>confdefs.h <<_ACEOF
89887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89888 _ACEOF
89891 done
89893 else
89895 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
89896 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
89897 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
89898 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
89899 echo $ECHO_N "(cached) $ECHO_C" >&6
89900 else
89904 ac_ext=cc
89905 ac_cpp='$CXXCPP $CPPFLAGS'
89906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89910 cat >conftest.$ac_ext <<_ACEOF
89911 /* confdefs.h. */
89912 _ACEOF
89913 cat confdefs.h >>conftest.$ac_ext
89914 cat >>conftest.$ac_ext <<_ACEOF
89915 /* end confdefs.h. */
89916 #include <math.h>
89917 #ifdef HAVE_IEEEFP_H
89918 #include <ieeefp.h>
89919 #endif
89922 main ()
89924 _isnanl(0);
89926 return 0;
89928 _ACEOF
89929 rm -f conftest.$ac_objext
89930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89931 (eval $ac_compile) 2>conftest.er1
89932 ac_status=$?
89933 grep -v '^ *+' conftest.er1 >conftest.err
89934 rm -f conftest.er1
89935 cat conftest.err >&5
89936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89937 (exit $ac_status); } &&
89938 { ac_try='test -z "$ac_cxx_werror_flag"
89939 || test ! -s conftest.err'
89940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89941 (eval $ac_try) 2>&5
89942 ac_status=$?
89943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89944 (exit $ac_status); }; } &&
89945 { ac_try='test -s conftest.$ac_objext'
89946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89947 (eval $ac_try) 2>&5
89948 ac_status=$?
89949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89950 (exit $ac_status); }; }; then
89951 glibcxx_cv_func__isnanl_use=yes
89952 else
89953 echo "$as_me: failed program was:" >&5
89954 sed 's/^/| /' conftest.$ac_ext >&5
89956 glibcxx_cv_func__isnanl_use=no
89958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89959 ac_ext=c
89960 ac_cpp='$CPP $CPPFLAGS'
89961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89969 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
89970 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
89972 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
89974 for ac_func in _isnanl
89976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89977 echo "$as_me:$LINENO: checking for $ac_func" >&5
89978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89979 if eval "test \"\${$as_ac_var+set}\" = set"; then
89980 echo $ECHO_N "(cached) $ECHO_C" >&6
89981 else
89982 if test x$gcc_no_link = xyes; then
89983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89985 { (exit 1); exit 1; }; }
89987 cat >conftest.$ac_ext <<_ACEOF
89988 /* confdefs.h. */
89989 _ACEOF
89990 cat confdefs.h >>conftest.$ac_ext
89991 cat >>conftest.$ac_ext <<_ACEOF
89992 /* end confdefs.h. */
89993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89995 #define $ac_func innocuous_$ac_func
89997 /* System header to define __stub macros and hopefully few prototypes,
89998 which can conflict with char $ac_func (); below.
89999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90000 <limits.h> exists even on freestanding compilers. */
90002 #ifdef __STDC__
90003 # include <limits.h>
90004 #else
90005 # include <assert.h>
90006 #endif
90008 #undef $ac_func
90010 /* Override any gcc2 internal prototype to avoid an error. */
90011 #ifdef __cplusplus
90012 extern "C"
90014 #endif
90015 /* We use char because int might match the return type of a gcc2
90016 builtin and then its argument prototype would still apply. */
90017 char $ac_func ();
90018 /* The GNU C library defines this for functions which it implements
90019 to always fail with ENOSYS. Some functions are actually named
90020 something starting with __ and the normal name is an alias. */
90021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90022 choke me
90023 #else
90024 char (*f) () = $ac_func;
90025 #endif
90026 #ifdef __cplusplus
90028 #endif
90031 main ()
90033 return f != $ac_func;
90035 return 0;
90037 _ACEOF
90038 rm -f conftest.$ac_objext conftest$ac_exeext
90039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90040 (eval $ac_link) 2>conftest.er1
90041 ac_status=$?
90042 grep -v '^ *+' conftest.er1 >conftest.err
90043 rm -f conftest.er1
90044 cat conftest.err >&5
90045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90046 (exit $ac_status); } &&
90047 { ac_try='test -z "$ac_c_werror_flag"
90048 || test ! -s conftest.err'
90049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90050 (eval $ac_try) 2>&5
90051 ac_status=$?
90052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90053 (exit $ac_status); }; } &&
90054 { ac_try='test -s conftest$ac_exeext'
90055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90056 (eval $ac_try) 2>&5
90057 ac_status=$?
90058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90059 (exit $ac_status); }; }; then
90060 eval "$as_ac_var=yes"
90061 else
90062 echo "$as_me: failed program was:" >&5
90063 sed 's/^/| /' conftest.$ac_ext >&5
90065 eval "$as_ac_var=no"
90067 rm -f conftest.err conftest.$ac_objext \
90068 conftest$ac_exeext conftest.$ac_ext
90070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90072 if test `eval echo '${'$as_ac_var'}'` = yes; then
90073 cat >>confdefs.h <<_ACEOF
90074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90075 _ACEOF
90078 done
90088 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
90089 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
90090 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
90091 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
90092 echo $ECHO_N "(cached) $ECHO_C" >&6
90093 else
90097 ac_ext=cc
90098 ac_cpp='$CXXCPP $CPPFLAGS'
90099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90103 cat >conftest.$ac_ext <<_ACEOF
90104 /* confdefs.h. */
90105 _ACEOF
90106 cat confdefs.h >>conftest.$ac_ext
90107 cat >>conftest.$ac_ext <<_ACEOF
90108 /* end confdefs.h. */
90109 #include <math.h>
90110 #ifdef HAVE_IEEEFP_H
90111 #include <ieeefp.h>
90112 #endif
90115 main ()
90117 isinfl(0);
90119 return 0;
90121 _ACEOF
90122 rm -f conftest.$ac_objext
90123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90124 (eval $ac_compile) 2>conftest.er1
90125 ac_status=$?
90126 grep -v '^ *+' conftest.er1 >conftest.err
90127 rm -f conftest.er1
90128 cat conftest.err >&5
90129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90130 (exit $ac_status); } &&
90131 { ac_try='test -z "$ac_cxx_werror_flag"
90132 || test ! -s conftest.err'
90133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90134 (eval $ac_try) 2>&5
90135 ac_status=$?
90136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90137 (exit $ac_status); }; } &&
90138 { ac_try='test -s conftest.$ac_objext'
90139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90140 (eval $ac_try) 2>&5
90141 ac_status=$?
90142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90143 (exit $ac_status); }; }; then
90144 glibcxx_cv_func_isinfl_use=yes
90145 else
90146 echo "$as_me: failed program was:" >&5
90147 sed 's/^/| /' conftest.$ac_ext >&5
90149 glibcxx_cv_func_isinfl_use=no
90151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90152 ac_ext=c
90153 ac_cpp='$CPP $CPPFLAGS'
90154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90162 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
90163 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
90165 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
90167 for ac_func in isinfl
90169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90170 echo "$as_me:$LINENO: checking for $ac_func" >&5
90171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90172 if eval "test \"\${$as_ac_var+set}\" = set"; then
90173 echo $ECHO_N "(cached) $ECHO_C" >&6
90174 else
90175 if test x$gcc_no_link = xyes; then
90176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90178 { (exit 1); exit 1; }; }
90180 cat >conftest.$ac_ext <<_ACEOF
90181 /* confdefs.h. */
90182 _ACEOF
90183 cat confdefs.h >>conftest.$ac_ext
90184 cat >>conftest.$ac_ext <<_ACEOF
90185 /* end confdefs.h. */
90186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90188 #define $ac_func innocuous_$ac_func
90190 /* System header to define __stub macros and hopefully few prototypes,
90191 which can conflict with char $ac_func (); below.
90192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90193 <limits.h> exists even on freestanding compilers. */
90195 #ifdef __STDC__
90196 # include <limits.h>
90197 #else
90198 # include <assert.h>
90199 #endif
90201 #undef $ac_func
90203 /* Override any gcc2 internal prototype to avoid an error. */
90204 #ifdef __cplusplus
90205 extern "C"
90207 #endif
90208 /* We use char because int might match the return type of a gcc2
90209 builtin and then its argument prototype would still apply. */
90210 char $ac_func ();
90211 /* The GNU C library defines this for functions which it implements
90212 to always fail with ENOSYS. Some functions are actually named
90213 something starting with __ and the normal name is an alias. */
90214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90215 choke me
90216 #else
90217 char (*f) () = $ac_func;
90218 #endif
90219 #ifdef __cplusplus
90221 #endif
90224 main ()
90226 return f != $ac_func;
90228 return 0;
90230 _ACEOF
90231 rm -f conftest.$ac_objext conftest$ac_exeext
90232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90233 (eval $ac_link) 2>conftest.er1
90234 ac_status=$?
90235 grep -v '^ *+' conftest.er1 >conftest.err
90236 rm -f conftest.er1
90237 cat conftest.err >&5
90238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90239 (exit $ac_status); } &&
90240 { ac_try='test -z "$ac_c_werror_flag"
90241 || test ! -s conftest.err'
90242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90243 (eval $ac_try) 2>&5
90244 ac_status=$?
90245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90246 (exit $ac_status); }; } &&
90247 { ac_try='test -s conftest$ac_exeext'
90248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90249 (eval $ac_try) 2>&5
90250 ac_status=$?
90251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90252 (exit $ac_status); }; }; then
90253 eval "$as_ac_var=yes"
90254 else
90255 echo "$as_me: failed program was:" >&5
90256 sed 's/^/| /' conftest.$ac_ext >&5
90258 eval "$as_ac_var=no"
90260 rm -f conftest.err conftest.$ac_objext \
90261 conftest$ac_exeext conftest.$ac_ext
90263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90265 if test `eval echo '${'$as_ac_var'}'` = yes; then
90266 cat >>confdefs.h <<_ACEOF
90267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90268 _ACEOF
90271 done
90273 else
90275 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
90276 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
90277 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
90278 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
90279 echo $ECHO_N "(cached) $ECHO_C" >&6
90280 else
90284 ac_ext=cc
90285 ac_cpp='$CXXCPP $CPPFLAGS'
90286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90290 cat >conftest.$ac_ext <<_ACEOF
90291 /* confdefs.h. */
90292 _ACEOF
90293 cat confdefs.h >>conftest.$ac_ext
90294 cat >>conftest.$ac_ext <<_ACEOF
90295 /* end confdefs.h. */
90296 #include <math.h>
90297 #ifdef HAVE_IEEEFP_H
90298 #include <ieeefp.h>
90299 #endif
90302 main ()
90304 _isinfl(0);
90306 return 0;
90308 _ACEOF
90309 rm -f conftest.$ac_objext
90310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90311 (eval $ac_compile) 2>conftest.er1
90312 ac_status=$?
90313 grep -v '^ *+' conftest.er1 >conftest.err
90314 rm -f conftest.er1
90315 cat conftest.err >&5
90316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90317 (exit $ac_status); } &&
90318 { ac_try='test -z "$ac_cxx_werror_flag"
90319 || test ! -s conftest.err'
90320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90321 (eval $ac_try) 2>&5
90322 ac_status=$?
90323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90324 (exit $ac_status); }; } &&
90325 { ac_try='test -s conftest.$ac_objext'
90326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90327 (eval $ac_try) 2>&5
90328 ac_status=$?
90329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90330 (exit $ac_status); }; }; then
90331 glibcxx_cv_func__isinfl_use=yes
90332 else
90333 echo "$as_me: failed program was:" >&5
90334 sed 's/^/| /' conftest.$ac_ext >&5
90336 glibcxx_cv_func__isinfl_use=no
90338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90339 ac_ext=c
90340 ac_cpp='$CPP $CPPFLAGS'
90341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90349 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
90350 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
90352 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
90354 for ac_func in _isinfl
90356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90357 echo "$as_me:$LINENO: checking for $ac_func" >&5
90358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90359 if eval "test \"\${$as_ac_var+set}\" = set"; then
90360 echo $ECHO_N "(cached) $ECHO_C" >&6
90361 else
90362 if test x$gcc_no_link = xyes; then
90363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90365 { (exit 1); exit 1; }; }
90367 cat >conftest.$ac_ext <<_ACEOF
90368 /* confdefs.h. */
90369 _ACEOF
90370 cat confdefs.h >>conftest.$ac_ext
90371 cat >>conftest.$ac_ext <<_ACEOF
90372 /* end confdefs.h. */
90373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90375 #define $ac_func innocuous_$ac_func
90377 /* System header to define __stub macros and hopefully few prototypes,
90378 which can conflict with char $ac_func (); below.
90379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90380 <limits.h> exists even on freestanding compilers. */
90382 #ifdef __STDC__
90383 # include <limits.h>
90384 #else
90385 # include <assert.h>
90386 #endif
90388 #undef $ac_func
90390 /* Override any gcc2 internal prototype to avoid an error. */
90391 #ifdef __cplusplus
90392 extern "C"
90394 #endif
90395 /* We use char because int might match the return type of a gcc2
90396 builtin and then its argument prototype would still apply. */
90397 char $ac_func ();
90398 /* The GNU C library defines this for functions which it implements
90399 to always fail with ENOSYS. Some functions are actually named
90400 something starting with __ and the normal name is an alias. */
90401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90402 choke me
90403 #else
90404 char (*f) () = $ac_func;
90405 #endif
90406 #ifdef __cplusplus
90408 #endif
90411 main ()
90413 return f != $ac_func;
90415 return 0;
90417 _ACEOF
90418 rm -f conftest.$ac_objext conftest$ac_exeext
90419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90420 (eval $ac_link) 2>conftest.er1
90421 ac_status=$?
90422 grep -v '^ *+' conftest.er1 >conftest.err
90423 rm -f conftest.er1
90424 cat conftest.err >&5
90425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90426 (exit $ac_status); } &&
90427 { ac_try='test -z "$ac_c_werror_flag"
90428 || test ! -s conftest.err'
90429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90430 (eval $ac_try) 2>&5
90431 ac_status=$?
90432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90433 (exit $ac_status); }; } &&
90434 { ac_try='test -s conftest$ac_exeext'
90435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90436 (eval $ac_try) 2>&5
90437 ac_status=$?
90438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90439 (exit $ac_status); }; }; then
90440 eval "$as_ac_var=yes"
90441 else
90442 echo "$as_me: failed program was:" >&5
90443 sed 's/^/| /' conftest.$ac_ext >&5
90445 eval "$as_ac_var=no"
90447 rm -f conftest.err conftest.$ac_objext \
90448 conftest$ac_exeext conftest.$ac_ext
90450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90452 if test `eval echo '${'$as_ac_var'}'` = yes; then
90453 cat >>confdefs.h <<_ACEOF
90454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90455 _ACEOF
90458 done
90468 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
90469 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
90470 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
90471 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
90472 echo $ECHO_N "(cached) $ECHO_C" >&6
90473 else
90477 ac_ext=cc
90478 ac_cpp='$CXXCPP $CPPFLAGS'
90479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90483 cat >conftest.$ac_ext <<_ACEOF
90484 /* confdefs.h. */
90485 _ACEOF
90486 cat confdefs.h >>conftest.$ac_ext
90487 cat >>conftest.$ac_ext <<_ACEOF
90488 /* end confdefs.h. */
90489 #include <math.h>
90491 main ()
90493 copysignl(0, 0);
90495 return 0;
90497 _ACEOF
90498 rm -f conftest.$ac_objext
90499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90500 (eval $ac_compile) 2>conftest.er1
90501 ac_status=$?
90502 grep -v '^ *+' conftest.er1 >conftest.err
90503 rm -f conftest.er1
90504 cat conftest.err >&5
90505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90506 (exit $ac_status); } &&
90507 { ac_try='test -z "$ac_cxx_werror_flag"
90508 || test ! -s conftest.err'
90509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90510 (eval $ac_try) 2>&5
90511 ac_status=$?
90512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90513 (exit $ac_status); }; } &&
90514 { ac_try='test -s conftest.$ac_objext'
90515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90516 (eval $ac_try) 2>&5
90517 ac_status=$?
90518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90519 (exit $ac_status); }; }; then
90520 glibcxx_cv_func_copysignl_use=yes
90521 else
90522 echo "$as_me: failed program was:" >&5
90523 sed 's/^/| /' conftest.$ac_ext >&5
90525 glibcxx_cv_func_copysignl_use=no
90527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90528 ac_ext=c
90529 ac_cpp='$CPP $CPPFLAGS'
90530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90538 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
90539 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
90541 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
90543 for ac_func in copysignl
90545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90546 echo "$as_me:$LINENO: checking for $ac_func" >&5
90547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90548 if eval "test \"\${$as_ac_var+set}\" = set"; then
90549 echo $ECHO_N "(cached) $ECHO_C" >&6
90550 else
90551 if test x$gcc_no_link = xyes; then
90552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90554 { (exit 1); exit 1; }; }
90556 cat >conftest.$ac_ext <<_ACEOF
90557 /* confdefs.h. */
90558 _ACEOF
90559 cat confdefs.h >>conftest.$ac_ext
90560 cat >>conftest.$ac_ext <<_ACEOF
90561 /* end confdefs.h. */
90562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90564 #define $ac_func innocuous_$ac_func
90566 /* System header to define __stub macros and hopefully few prototypes,
90567 which can conflict with char $ac_func (); below.
90568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90569 <limits.h> exists even on freestanding compilers. */
90571 #ifdef __STDC__
90572 # include <limits.h>
90573 #else
90574 # include <assert.h>
90575 #endif
90577 #undef $ac_func
90579 /* Override any gcc2 internal prototype to avoid an error. */
90580 #ifdef __cplusplus
90581 extern "C"
90583 #endif
90584 /* We use char because int might match the return type of a gcc2
90585 builtin and then its argument prototype would still apply. */
90586 char $ac_func ();
90587 /* The GNU C library defines this for functions which it implements
90588 to always fail with ENOSYS. Some functions are actually named
90589 something starting with __ and the normal name is an alias. */
90590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90591 choke me
90592 #else
90593 char (*f) () = $ac_func;
90594 #endif
90595 #ifdef __cplusplus
90597 #endif
90600 main ()
90602 return f != $ac_func;
90604 return 0;
90606 _ACEOF
90607 rm -f conftest.$ac_objext conftest$ac_exeext
90608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90609 (eval $ac_link) 2>conftest.er1
90610 ac_status=$?
90611 grep -v '^ *+' conftest.er1 >conftest.err
90612 rm -f conftest.er1
90613 cat conftest.err >&5
90614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90615 (exit $ac_status); } &&
90616 { ac_try='test -z "$ac_c_werror_flag"
90617 || test ! -s conftest.err'
90618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90619 (eval $ac_try) 2>&5
90620 ac_status=$?
90621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90622 (exit $ac_status); }; } &&
90623 { ac_try='test -s conftest$ac_exeext'
90624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90625 (eval $ac_try) 2>&5
90626 ac_status=$?
90627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90628 (exit $ac_status); }; }; then
90629 eval "$as_ac_var=yes"
90630 else
90631 echo "$as_me: failed program was:" >&5
90632 sed 's/^/| /' conftest.$ac_ext >&5
90634 eval "$as_ac_var=no"
90636 rm -f conftest.err conftest.$ac_objext \
90637 conftest$ac_exeext conftest.$ac_ext
90639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90641 if test `eval echo '${'$as_ac_var'}'` = yes; then
90642 cat >>confdefs.h <<_ACEOF
90643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90644 _ACEOF
90647 done
90649 else
90651 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
90652 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
90653 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
90654 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
90655 echo $ECHO_N "(cached) $ECHO_C" >&6
90656 else
90660 ac_ext=cc
90661 ac_cpp='$CXXCPP $CPPFLAGS'
90662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90666 cat >conftest.$ac_ext <<_ACEOF
90667 /* confdefs.h. */
90668 _ACEOF
90669 cat confdefs.h >>conftest.$ac_ext
90670 cat >>conftest.$ac_ext <<_ACEOF
90671 /* end confdefs.h. */
90672 #include <math.h>
90674 main ()
90676 _copysignl(0, 0);
90678 return 0;
90680 _ACEOF
90681 rm -f conftest.$ac_objext
90682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90683 (eval $ac_compile) 2>conftest.er1
90684 ac_status=$?
90685 grep -v '^ *+' conftest.er1 >conftest.err
90686 rm -f conftest.er1
90687 cat conftest.err >&5
90688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90689 (exit $ac_status); } &&
90690 { ac_try='test -z "$ac_cxx_werror_flag"
90691 || test ! -s conftest.err'
90692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90693 (eval $ac_try) 2>&5
90694 ac_status=$?
90695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90696 (exit $ac_status); }; } &&
90697 { ac_try='test -s conftest.$ac_objext'
90698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90699 (eval $ac_try) 2>&5
90700 ac_status=$?
90701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90702 (exit $ac_status); }; }; then
90703 glibcxx_cv_func__copysignl_use=yes
90704 else
90705 echo "$as_me: failed program was:" >&5
90706 sed 's/^/| /' conftest.$ac_ext >&5
90708 glibcxx_cv_func__copysignl_use=no
90710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90711 ac_ext=c
90712 ac_cpp='$CPP $CPPFLAGS'
90713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90721 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
90722 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
90724 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
90726 for ac_func in _copysignl
90728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90729 echo "$as_me:$LINENO: checking for $ac_func" >&5
90730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90731 if eval "test \"\${$as_ac_var+set}\" = set"; then
90732 echo $ECHO_N "(cached) $ECHO_C" >&6
90733 else
90734 if test x$gcc_no_link = xyes; then
90735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90737 { (exit 1); exit 1; }; }
90739 cat >conftest.$ac_ext <<_ACEOF
90740 /* confdefs.h. */
90741 _ACEOF
90742 cat confdefs.h >>conftest.$ac_ext
90743 cat >>conftest.$ac_ext <<_ACEOF
90744 /* end confdefs.h. */
90745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90747 #define $ac_func innocuous_$ac_func
90749 /* System header to define __stub macros and hopefully few prototypes,
90750 which can conflict with char $ac_func (); below.
90751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90752 <limits.h> exists even on freestanding compilers. */
90754 #ifdef __STDC__
90755 # include <limits.h>
90756 #else
90757 # include <assert.h>
90758 #endif
90760 #undef $ac_func
90762 /* Override any gcc2 internal prototype to avoid an error. */
90763 #ifdef __cplusplus
90764 extern "C"
90766 #endif
90767 /* We use char because int might match the return type of a gcc2
90768 builtin and then its argument prototype would still apply. */
90769 char $ac_func ();
90770 /* The GNU C library defines this for functions which it implements
90771 to always fail with ENOSYS. Some functions are actually named
90772 something starting with __ and the normal name is an alias. */
90773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90774 choke me
90775 #else
90776 char (*f) () = $ac_func;
90777 #endif
90778 #ifdef __cplusplus
90780 #endif
90783 main ()
90785 return f != $ac_func;
90787 return 0;
90789 _ACEOF
90790 rm -f conftest.$ac_objext conftest$ac_exeext
90791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90792 (eval $ac_link) 2>conftest.er1
90793 ac_status=$?
90794 grep -v '^ *+' conftest.er1 >conftest.err
90795 rm -f conftest.er1
90796 cat conftest.err >&5
90797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90798 (exit $ac_status); } &&
90799 { ac_try='test -z "$ac_c_werror_flag"
90800 || test ! -s conftest.err'
90801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90802 (eval $ac_try) 2>&5
90803 ac_status=$?
90804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90805 (exit $ac_status); }; } &&
90806 { ac_try='test -s conftest$ac_exeext'
90807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90808 (eval $ac_try) 2>&5
90809 ac_status=$?
90810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90811 (exit $ac_status); }; }; then
90812 eval "$as_ac_var=yes"
90813 else
90814 echo "$as_me: failed program was:" >&5
90815 sed 's/^/| /' conftest.$ac_ext >&5
90817 eval "$as_ac_var=no"
90819 rm -f conftest.err conftest.$ac_objext \
90820 conftest$ac_exeext conftest.$ac_ext
90822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90824 if test `eval echo '${'$as_ac_var'}'` = yes; then
90825 cat >>confdefs.h <<_ACEOF
90826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90827 _ACEOF
90830 done
90840 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
90841 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
90842 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
90843 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
90844 echo $ECHO_N "(cached) $ECHO_C" >&6
90845 else
90849 ac_ext=cc
90850 ac_cpp='$CXXCPP $CPPFLAGS'
90851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90855 cat >conftest.$ac_ext <<_ACEOF
90856 /* confdefs.h. */
90857 _ACEOF
90858 cat confdefs.h >>conftest.$ac_ext
90859 cat >>conftest.$ac_ext <<_ACEOF
90860 /* end confdefs.h. */
90861 #include <math.h>
90863 main ()
90865 atan2l(0, 0);
90867 return 0;
90869 _ACEOF
90870 rm -f conftest.$ac_objext
90871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90872 (eval $ac_compile) 2>conftest.er1
90873 ac_status=$?
90874 grep -v '^ *+' conftest.er1 >conftest.err
90875 rm -f conftest.er1
90876 cat conftest.err >&5
90877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90878 (exit $ac_status); } &&
90879 { ac_try='test -z "$ac_cxx_werror_flag"
90880 || test ! -s conftest.err'
90881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90882 (eval $ac_try) 2>&5
90883 ac_status=$?
90884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90885 (exit $ac_status); }; } &&
90886 { ac_try='test -s conftest.$ac_objext'
90887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90888 (eval $ac_try) 2>&5
90889 ac_status=$?
90890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90891 (exit $ac_status); }; }; then
90892 glibcxx_cv_func_atan2l_use=yes
90893 else
90894 echo "$as_me: failed program was:" >&5
90895 sed 's/^/| /' conftest.$ac_ext >&5
90897 glibcxx_cv_func_atan2l_use=no
90899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90900 ac_ext=c
90901 ac_cpp='$CPP $CPPFLAGS'
90902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90910 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
90911 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
90913 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
90915 for ac_func in atan2l
90917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90918 echo "$as_me:$LINENO: checking for $ac_func" >&5
90919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90920 if eval "test \"\${$as_ac_var+set}\" = set"; then
90921 echo $ECHO_N "(cached) $ECHO_C" >&6
90922 else
90923 if test x$gcc_no_link = xyes; then
90924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90926 { (exit 1); exit 1; }; }
90928 cat >conftest.$ac_ext <<_ACEOF
90929 /* confdefs.h. */
90930 _ACEOF
90931 cat confdefs.h >>conftest.$ac_ext
90932 cat >>conftest.$ac_ext <<_ACEOF
90933 /* end confdefs.h. */
90934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90936 #define $ac_func innocuous_$ac_func
90938 /* System header to define __stub macros and hopefully few prototypes,
90939 which can conflict with char $ac_func (); below.
90940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90941 <limits.h> exists even on freestanding compilers. */
90943 #ifdef __STDC__
90944 # include <limits.h>
90945 #else
90946 # include <assert.h>
90947 #endif
90949 #undef $ac_func
90951 /* Override any gcc2 internal prototype to avoid an error. */
90952 #ifdef __cplusplus
90953 extern "C"
90955 #endif
90956 /* We use char because int might match the return type of a gcc2
90957 builtin and then its argument prototype would still apply. */
90958 char $ac_func ();
90959 /* The GNU C library defines this for functions which it implements
90960 to always fail with ENOSYS. Some functions are actually named
90961 something starting with __ and the normal name is an alias. */
90962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90963 choke me
90964 #else
90965 char (*f) () = $ac_func;
90966 #endif
90967 #ifdef __cplusplus
90969 #endif
90972 main ()
90974 return f != $ac_func;
90976 return 0;
90978 _ACEOF
90979 rm -f conftest.$ac_objext conftest$ac_exeext
90980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90981 (eval $ac_link) 2>conftest.er1
90982 ac_status=$?
90983 grep -v '^ *+' conftest.er1 >conftest.err
90984 rm -f conftest.er1
90985 cat conftest.err >&5
90986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90987 (exit $ac_status); } &&
90988 { ac_try='test -z "$ac_c_werror_flag"
90989 || test ! -s conftest.err'
90990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90991 (eval $ac_try) 2>&5
90992 ac_status=$?
90993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90994 (exit $ac_status); }; } &&
90995 { ac_try='test -s conftest$ac_exeext'
90996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90997 (eval $ac_try) 2>&5
90998 ac_status=$?
90999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91000 (exit $ac_status); }; }; then
91001 eval "$as_ac_var=yes"
91002 else
91003 echo "$as_me: failed program was:" >&5
91004 sed 's/^/| /' conftest.$ac_ext >&5
91006 eval "$as_ac_var=no"
91008 rm -f conftest.err conftest.$ac_objext \
91009 conftest$ac_exeext conftest.$ac_ext
91011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91013 if test `eval echo '${'$as_ac_var'}'` = yes; then
91014 cat >>confdefs.h <<_ACEOF
91015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91016 _ACEOF
91019 done
91021 else
91023 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
91024 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
91025 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
91026 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
91027 echo $ECHO_N "(cached) $ECHO_C" >&6
91028 else
91032 ac_ext=cc
91033 ac_cpp='$CXXCPP $CPPFLAGS'
91034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91038 cat >conftest.$ac_ext <<_ACEOF
91039 /* confdefs.h. */
91040 _ACEOF
91041 cat confdefs.h >>conftest.$ac_ext
91042 cat >>conftest.$ac_ext <<_ACEOF
91043 /* end confdefs.h. */
91044 #include <math.h>
91046 main ()
91048 _atan2l(0, 0);
91050 return 0;
91052 _ACEOF
91053 rm -f conftest.$ac_objext
91054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91055 (eval $ac_compile) 2>conftest.er1
91056 ac_status=$?
91057 grep -v '^ *+' conftest.er1 >conftest.err
91058 rm -f conftest.er1
91059 cat conftest.err >&5
91060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91061 (exit $ac_status); } &&
91062 { ac_try='test -z "$ac_cxx_werror_flag"
91063 || test ! -s conftest.err'
91064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91065 (eval $ac_try) 2>&5
91066 ac_status=$?
91067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91068 (exit $ac_status); }; } &&
91069 { ac_try='test -s conftest.$ac_objext'
91070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91071 (eval $ac_try) 2>&5
91072 ac_status=$?
91073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91074 (exit $ac_status); }; }; then
91075 glibcxx_cv_func__atan2l_use=yes
91076 else
91077 echo "$as_me: failed program was:" >&5
91078 sed 's/^/| /' conftest.$ac_ext >&5
91080 glibcxx_cv_func__atan2l_use=no
91082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91083 ac_ext=c
91084 ac_cpp='$CPP $CPPFLAGS'
91085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91093 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
91094 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
91096 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
91098 for ac_func in _atan2l
91100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91101 echo "$as_me:$LINENO: checking for $ac_func" >&5
91102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91103 if eval "test \"\${$as_ac_var+set}\" = set"; then
91104 echo $ECHO_N "(cached) $ECHO_C" >&6
91105 else
91106 if test x$gcc_no_link = xyes; then
91107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91109 { (exit 1); exit 1; }; }
91111 cat >conftest.$ac_ext <<_ACEOF
91112 /* confdefs.h. */
91113 _ACEOF
91114 cat confdefs.h >>conftest.$ac_ext
91115 cat >>conftest.$ac_ext <<_ACEOF
91116 /* end confdefs.h. */
91117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91119 #define $ac_func innocuous_$ac_func
91121 /* System header to define __stub macros and hopefully few prototypes,
91122 which can conflict with char $ac_func (); below.
91123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91124 <limits.h> exists even on freestanding compilers. */
91126 #ifdef __STDC__
91127 # include <limits.h>
91128 #else
91129 # include <assert.h>
91130 #endif
91132 #undef $ac_func
91134 /* Override any gcc2 internal prototype to avoid an error. */
91135 #ifdef __cplusplus
91136 extern "C"
91138 #endif
91139 /* We use char because int might match the return type of a gcc2
91140 builtin and then its argument prototype would still apply. */
91141 char $ac_func ();
91142 /* The GNU C library defines this for functions which it implements
91143 to always fail with ENOSYS. Some functions are actually named
91144 something starting with __ and the normal name is an alias. */
91145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91146 choke me
91147 #else
91148 char (*f) () = $ac_func;
91149 #endif
91150 #ifdef __cplusplus
91152 #endif
91155 main ()
91157 return f != $ac_func;
91159 return 0;
91161 _ACEOF
91162 rm -f conftest.$ac_objext conftest$ac_exeext
91163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91164 (eval $ac_link) 2>conftest.er1
91165 ac_status=$?
91166 grep -v '^ *+' conftest.er1 >conftest.err
91167 rm -f conftest.er1
91168 cat conftest.err >&5
91169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91170 (exit $ac_status); } &&
91171 { ac_try='test -z "$ac_c_werror_flag"
91172 || test ! -s conftest.err'
91173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91174 (eval $ac_try) 2>&5
91175 ac_status=$?
91176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91177 (exit $ac_status); }; } &&
91178 { ac_try='test -s conftest$ac_exeext'
91179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91180 (eval $ac_try) 2>&5
91181 ac_status=$?
91182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91183 (exit $ac_status); }; }; then
91184 eval "$as_ac_var=yes"
91185 else
91186 echo "$as_me: failed program was:" >&5
91187 sed 's/^/| /' conftest.$ac_ext >&5
91189 eval "$as_ac_var=no"
91191 rm -f conftest.err conftest.$ac_objext \
91192 conftest$ac_exeext conftest.$ac_ext
91194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91196 if test `eval echo '${'$as_ac_var'}'` = yes; then
91197 cat >>confdefs.h <<_ACEOF
91198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91199 _ACEOF
91202 done
91212 echo "$as_me:$LINENO: checking for expl declaration" >&5
91213 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
91214 if test x${glibcxx_cv_func_expl_use+set} != xset; then
91215 if test "${glibcxx_cv_func_expl_use+set}" = set; then
91216 echo $ECHO_N "(cached) $ECHO_C" >&6
91217 else
91221 ac_ext=cc
91222 ac_cpp='$CXXCPP $CPPFLAGS'
91223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91227 cat >conftest.$ac_ext <<_ACEOF
91228 /* confdefs.h. */
91229 _ACEOF
91230 cat confdefs.h >>conftest.$ac_ext
91231 cat >>conftest.$ac_ext <<_ACEOF
91232 /* end confdefs.h. */
91233 #include <math.h>
91234 #ifdef HAVE_IEEEFP_H
91235 #include <ieeefp.h>
91236 #endif
91239 main ()
91241 expl(0);
91243 return 0;
91245 _ACEOF
91246 rm -f conftest.$ac_objext
91247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91248 (eval $ac_compile) 2>conftest.er1
91249 ac_status=$?
91250 grep -v '^ *+' conftest.er1 >conftest.err
91251 rm -f conftest.er1
91252 cat conftest.err >&5
91253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91254 (exit $ac_status); } &&
91255 { ac_try='test -z "$ac_cxx_werror_flag"
91256 || test ! -s conftest.err'
91257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91258 (eval $ac_try) 2>&5
91259 ac_status=$?
91260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91261 (exit $ac_status); }; } &&
91262 { ac_try='test -s conftest.$ac_objext'
91263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91264 (eval $ac_try) 2>&5
91265 ac_status=$?
91266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91267 (exit $ac_status); }; }; then
91268 glibcxx_cv_func_expl_use=yes
91269 else
91270 echo "$as_me: failed program was:" >&5
91271 sed 's/^/| /' conftest.$ac_ext >&5
91273 glibcxx_cv_func_expl_use=no
91275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91276 ac_ext=c
91277 ac_cpp='$CPP $CPPFLAGS'
91278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91286 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
91287 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
91289 if test x$glibcxx_cv_func_expl_use = x"yes"; then
91291 for ac_func in expl
91293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91294 echo "$as_me:$LINENO: checking for $ac_func" >&5
91295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91296 if eval "test \"\${$as_ac_var+set}\" = set"; then
91297 echo $ECHO_N "(cached) $ECHO_C" >&6
91298 else
91299 if test x$gcc_no_link = xyes; then
91300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91302 { (exit 1); exit 1; }; }
91304 cat >conftest.$ac_ext <<_ACEOF
91305 /* confdefs.h. */
91306 _ACEOF
91307 cat confdefs.h >>conftest.$ac_ext
91308 cat >>conftest.$ac_ext <<_ACEOF
91309 /* end confdefs.h. */
91310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91312 #define $ac_func innocuous_$ac_func
91314 /* System header to define __stub macros and hopefully few prototypes,
91315 which can conflict with char $ac_func (); below.
91316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91317 <limits.h> exists even on freestanding compilers. */
91319 #ifdef __STDC__
91320 # include <limits.h>
91321 #else
91322 # include <assert.h>
91323 #endif
91325 #undef $ac_func
91327 /* Override any gcc2 internal prototype to avoid an error. */
91328 #ifdef __cplusplus
91329 extern "C"
91331 #endif
91332 /* We use char because int might match the return type of a gcc2
91333 builtin and then its argument prototype would still apply. */
91334 char $ac_func ();
91335 /* The GNU C library defines this for functions which it implements
91336 to always fail with ENOSYS. Some functions are actually named
91337 something starting with __ and the normal name is an alias. */
91338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91339 choke me
91340 #else
91341 char (*f) () = $ac_func;
91342 #endif
91343 #ifdef __cplusplus
91345 #endif
91348 main ()
91350 return f != $ac_func;
91352 return 0;
91354 _ACEOF
91355 rm -f conftest.$ac_objext conftest$ac_exeext
91356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91357 (eval $ac_link) 2>conftest.er1
91358 ac_status=$?
91359 grep -v '^ *+' conftest.er1 >conftest.err
91360 rm -f conftest.er1
91361 cat conftest.err >&5
91362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91363 (exit $ac_status); } &&
91364 { ac_try='test -z "$ac_c_werror_flag"
91365 || test ! -s conftest.err'
91366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91367 (eval $ac_try) 2>&5
91368 ac_status=$?
91369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91370 (exit $ac_status); }; } &&
91371 { ac_try='test -s conftest$ac_exeext'
91372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91373 (eval $ac_try) 2>&5
91374 ac_status=$?
91375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91376 (exit $ac_status); }; }; then
91377 eval "$as_ac_var=yes"
91378 else
91379 echo "$as_me: failed program was:" >&5
91380 sed 's/^/| /' conftest.$ac_ext >&5
91382 eval "$as_ac_var=no"
91384 rm -f conftest.err conftest.$ac_objext \
91385 conftest$ac_exeext conftest.$ac_ext
91387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91389 if test `eval echo '${'$as_ac_var'}'` = yes; then
91390 cat >>confdefs.h <<_ACEOF
91391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91392 _ACEOF
91395 done
91397 else
91399 echo "$as_me:$LINENO: checking for _expl declaration" >&5
91400 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
91401 if test x${glibcxx_cv_func__expl_use+set} != xset; then
91402 if test "${glibcxx_cv_func__expl_use+set}" = set; then
91403 echo $ECHO_N "(cached) $ECHO_C" >&6
91404 else
91408 ac_ext=cc
91409 ac_cpp='$CXXCPP $CPPFLAGS'
91410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91414 cat >conftest.$ac_ext <<_ACEOF
91415 /* confdefs.h. */
91416 _ACEOF
91417 cat confdefs.h >>conftest.$ac_ext
91418 cat >>conftest.$ac_ext <<_ACEOF
91419 /* end confdefs.h. */
91420 #include <math.h>
91421 #ifdef HAVE_IEEEFP_H
91422 #include <ieeefp.h>
91423 #endif
91426 main ()
91428 _expl(0);
91430 return 0;
91432 _ACEOF
91433 rm -f conftest.$ac_objext
91434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91435 (eval $ac_compile) 2>conftest.er1
91436 ac_status=$?
91437 grep -v '^ *+' conftest.er1 >conftest.err
91438 rm -f conftest.er1
91439 cat conftest.err >&5
91440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91441 (exit $ac_status); } &&
91442 { ac_try='test -z "$ac_cxx_werror_flag"
91443 || test ! -s conftest.err'
91444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91445 (eval $ac_try) 2>&5
91446 ac_status=$?
91447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91448 (exit $ac_status); }; } &&
91449 { ac_try='test -s conftest.$ac_objext'
91450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91451 (eval $ac_try) 2>&5
91452 ac_status=$?
91453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91454 (exit $ac_status); }; }; then
91455 glibcxx_cv_func__expl_use=yes
91456 else
91457 echo "$as_me: failed program was:" >&5
91458 sed 's/^/| /' conftest.$ac_ext >&5
91460 glibcxx_cv_func__expl_use=no
91462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91463 ac_ext=c
91464 ac_cpp='$CPP $CPPFLAGS'
91465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91473 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
91474 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
91476 if test x$glibcxx_cv_func__expl_use = x"yes"; then
91478 for ac_func in _expl
91480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91481 echo "$as_me:$LINENO: checking for $ac_func" >&5
91482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91483 if eval "test \"\${$as_ac_var+set}\" = set"; then
91484 echo $ECHO_N "(cached) $ECHO_C" >&6
91485 else
91486 if test x$gcc_no_link = xyes; then
91487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91489 { (exit 1); exit 1; }; }
91491 cat >conftest.$ac_ext <<_ACEOF
91492 /* confdefs.h. */
91493 _ACEOF
91494 cat confdefs.h >>conftest.$ac_ext
91495 cat >>conftest.$ac_ext <<_ACEOF
91496 /* end confdefs.h. */
91497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91499 #define $ac_func innocuous_$ac_func
91501 /* System header to define __stub macros and hopefully few prototypes,
91502 which can conflict with char $ac_func (); below.
91503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91504 <limits.h> exists even on freestanding compilers. */
91506 #ifdef __STDC__
91507 # include <limits.h>
91508 #else
91509 # include <assert.h>
91510 #endif
91512 #undef $ac_func
91514 /* Override any gcc2 internal prototype to avoid an error. */
91515 #ifdef __cplusplus
91516 extern "C"
91518 #endif
91519 /* We use char because int might match the return type of a gcc2
91520 builtin and then its argument prototype would still apply. */
91521 char $ac_func ();
91522 /* The GNU C library defines this for functions which it implements
91523 to always fail with ENOSYS. Some functions are actually named
91524 something starting with __ and the normal name is an alias. */
91525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91526 choke me
91527 #else
91528 char (*f) () = $ac_func;
91529 #endif
91530 #ifdef __cplusplus
91532 #endif
91535 main ()
91537 return f != $ac_func;
91539 return 0;
91541 _ACEOF
91542 rm -f conftest.$ac_objext conftest$ac_exeext
91543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91544 (eval $ac_link) 2>conftest.er1
91545 ac_status=$?
91546 grep -v '^ *+' conftest.er1 >conftest.err
91547 rm -f conftest.er1
91548 cat conftest.err >&5
91549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91550 (exit $ac_status); } &&
91551 { ac_try='test -z "$ac_c_werror_flag"
91552 || test ! -s conftest.err'
91553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91554 (eval $ac_try) 2>&5
91555 ac_status=$?
91556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91557 (exit $ac_status); }; } &&
91558 { ac_try='test -s conftest$ac_exeext'
91559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91560 (eval $ac_try) 2>&5
91561 ac_status=$?
91562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91563 (exit $ac_status); }; }; then
91564 eval "$as_ac_var=yes"
91565 else
91566 echo "$as_me: failed program was:" >&5
91567 sed 's/^/| /' conftest.$ac_ext >&5
91569 eval "$as_ac_var=no"
91571 rm -f conftest.err conftest.$ac_objext \
91572 conftest$ac_exeext conftest.$ac_ext
91574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91576 if test `eval echo '${'$as_ac_var'}'` = yes; then
91577 cat >>confdefs.h <<_ACEOF
91578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91579 _ACEOF
91582 done
91592 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
91593 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
91594 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
91595 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
91596 echo $ECHO_N "(cached) $ECHO_C" >&6
91597 else
91601 ac_ext=cc
91602 ac_cpp='$CXXCPP $CPPFLAGS'
91603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91607 cat >conftest.$ac_ext <<_ACEOF
91608 /* confdefs.h. */
91609 _ACEOF
91610 cat confdefs.h >>conftest.$ac_ext
91611 cat >>conftest.$ac_ext <<_ACEOF
91612 /* end confdefs.h. */
91613 #include <math.h>
91614 #ifdef HAVE_IEEEFP_H
91615 #include <ieeefp.h>
91616 #endif
91619 main ()
91621 fabsl(0);
91623 return 0;
91625 _ACEOF
91626 rm -f conftest.$ac_objext
91627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91628 (eval $ac_compile) 2>conftest.er1
91629 ac_status=$?
91630 grep -v '^ *+' conftest.er1 >conftest.err
91631 rm -f conftest.er1
91632 cat conftest.err >&5
91633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91634 (exit $ac_status); } &&
91635 { ac_try='test -z "$ac_cxx_werror_flag"
91636 || test ! -s conftest.err'
91637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91638 (eval $ac_try) 2>&5
91639 ac_status=$?
91640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91641 (exit $ac_status); }; } &&
91642 { ac_try='test -s conftest.$ac_objext'
91643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91644 (eval $ac_try) 2>&5
91645 ac_status=$?
91646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91647 (exit $ac_status); }; }; then
91648 glibcxx_cv_func_fabsl_use=yes
91649 else
91650 echo "$as_me: failed program was:" >&5
91651 sed 's/^/| /' conftest.$ac_ext >&5
91653 glibcxx_cv_func_fabsl_use=no
91655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91656 ac_ext=c
91657 ac_cpp='$CPP $CPPFLAGS'
91658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91666 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
91667 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
91669 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
91671 for ac_func in fabsl
91673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91674 echo "$as_me:$LINENO: checking for $ac_func" >&5
91675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91676 if eval "test \"\${$as_ac_var+set}\" = set"; then
91677 echo $ECHO_N "(cached) $ECHO_C" >&6
91678 else
91679 if test x$gcc_no_link = xyes; then
91680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91682 { (exit 1); exit 1; }; }
91684 cat >conftest.$ac_ext <<_ACEOF
91685 /* confdefs.h. */
91686 _ACEOF
91687 cat confdefs.h >>conftest.$ac_ext
91688 cat >>conftest.$ac_ext <<_ACEOF
91689 /* end confdefs.h. */
91690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91692 #define $ac_func innocuous_$ac_func
91694 /* System header to define __stub macros and hopefully few prototypes,
91695 which can conflict with char $ac_func (); below.
91696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91697 <limits.h> exists even on freestanding compilers. */
91699 #ifdef __STDC__
91700 # include <limits.h>
91701 #else
91702 # include <assert.h>
91703 #endif
91705 #undef $ac_func
91707 /* Override any gcc2 internal prototype to avoid an error. */
91708 #ifdef __cplusplus
91709 extern "C"
91711 #endif
91712 /* We use char because int might match the return type of a gcc2
91713 builtin and then its argument prototype would still apply. */
91714 char $ac_func ();
91715 /* The GNU C library defines this for functions which it implements
91716 to always fail with ENOSYS. Some functions are actually named
91717 something starting with __ and the normal name is an alias. */
91718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91719 choke me
91720 #else
91721 char (*f) () = $ac_func;
91722 #endif
91723 #ifdef __cplusplus
91725 #endif
91728 main ()
91730 return f != $ac_func;
91732 return 0;
91734 _ACEOF
91735 rm -f conftest.$ac_objext conftest$ac_exeext
91736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91737 (eval $ac_link) 2>conftest.er1
91738 ac_status=$?
91739 grep -v '^ *+' conftest.er1 >conftest.err
91740 rm -f conftest.er1
91741 cat conftest.err >&5
91742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91743 (exit $ac_status); } &&
91744 { ac_try='test -z "$ac_c_werror_flag"
91745 || test ! -s conftest.err'
91746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91747 (eval $ac_try) 2>&5
91748 ac_status=$?
91749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91750 (exit $ac_status); }; } &&
91751 { ac_try='test -s conftest$ac_exeext'
91752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91753 (eval $ac_try) 2>&5
91754 ac_status=$?
91755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91756 (exit $ac_status); }; }; then
91757 eval "$as_ac_var=yes"
91758 else
91759 echo "$as_me: failed program was:" >&5
91760 sed 's/^/| /' conftest.$ac_ext >&5
91762 eval "$as_ac_var=no"
91764 rm -f conftest.err conftest.$ac_objext \
91765 conftest$ac_exeext conftest.$ac_ext
91767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91769 if test `eval echo '${'$as_ac_var'}'` = yes; then
91770 cat >>confdefs.h <<_ACEOF
91771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91772 _ACEOF
91775 done
91777 else
91779 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
91780 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
91781 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
91782 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
91783 echo $ECHO_N "(cached) $ECHO_C" >&6
91784 else
91788 ac_ext=cc
91789 ac_cpp='$CXXCPP $CPPFLAGS'
91790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91794 cat >conftest.$ac_ext <<_ACEOF
91795 /* confdefs.h. */
91796 _ACEOF
91797 cat confdefs.h >>conftest.$ac_ext
91798 cat >>conftest.$ac_ext <<_ACEOF
91799 /* end confdefs.h. */
91800 #include <math.h>
91801 #ifdef HAVE_IEEEFP_H
91802 #include <ieeefp.h>
91803 #endif
91806 main ()
91808 _fabsl(0);
91810 return 0;
91812 _ACEOF
91813 rm -f conftest.$ac_objext
91814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91815 (eval $ac_compile) 2>conftest.er1
91816 ac_status=$?
91817 grep -v '^ *+' conftest.er1 >conftest.err
91818 rm -f conftest.er1
91819 cat conftest.err >&5
91820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91821 (exit $ac_status); } &&
91822 { ac_try='test -z "$ac_cxx_werror_flag"
91823 || test ! -s conftest.err'
91824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91825 (eval $ac_try) 2>&5
91826 ac_status=$?
91827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91828 (exit $ac_status); }; } &&
91829 { ac_try='test -s conftest.$ac_objext'
91830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91831 (eval $ac_try) 2>&5
91832 ac_status=$?
91833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91834 (exit $ac_status); }; }; then
91835 glibcxx_cv_func__fabsl_use=yes
91836 else
91837 echo "$as_me: failed program was:" >&5
91838 sed 's/^/| /' conftest.$ac_ext >&5
91840 glibcxx_cv_func__fabsl_use=no
91842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91843 ac_ext=c
91844 ac_cpp='$CPP $CPPFLAGS'
91845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91853 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
91854 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
91856 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
91858 for ac_func in _fabsl
91860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91861 echo "$as_me:$LINENO: checking for $ac_func" >&5
91862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91863 if eval "test \"\${$as_ac_var+set}\" = set"; then
91864 echo $ECHO_N "(cached) $ECHO_C" >&6
91865 else
91866 if test x$gcc_no_link = xyes; then
91867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91869 { (exit 1); exit 1; }; }
91871 cat >conftest.$ac_ext <<_ACEOF
91872 /* confdefs.h. */
91873 _ACEOF
91874 cat confdefs.h >>conftest.$ac_ext
91875 cat >>conftest.$ac_ext <<_ACEOF
91876 /* end confdefs.h. */
91877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91879 #define $ac_func innocuous_$ac_func
91881 /* System header to define __stub macros and hopefully few prototypes,
91882 which can conflict with char $ac_func (); below.
91883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91884 <limits.h> exists even on freestanding compilers. */
91886 #ifdef __STDC__
91887 # include <limits.h>
91888 #else
91889 # include <assert.h>
91890 #endif
91892 #undef $ac_func
91894 /* Override any gcc2 internal prototype to avoid an error. */
91895 #ifdef __cplusplus
91896 extern "C"
91898 #endif
91899 /* We use char because int might match the return type of a gcc2
91900 builtin and then its argument prototype would still apply. */
91901 char $ac_func ();
91902 /* The GNU C library defines this for functions which it implements
91903 to always fail with ENOSYS. Some functions are actually named
91904 something starting with __ and the normal name is an alias. */
91905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91906 choke me
91907 #else
91908 char (*f) () = $ac_func;
91909 #endif
91910 #ifdef __cplusplus
91912 #endif
91915 main ()
91917 return f != $ac_func;
91919 return 0;
91921 _ACEOF
91922 rm -f conftest.$ac_objext conftest$ac_exeext
91923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91924 (eval $ac_link) 2>conftest.er1
91925 ac_status=$?
91926 grep -v '^ *+' conftest.er1 >conftest.err
91927 rm -f conftest.er1
91928 cat conftest.err >&5
91929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91930 (exit $ac_status); } &&
91931 { ac_try='test -z "$ac_c_werror_flag"
91932 || test ! -s conftest.err'
91933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91934 (eval $ac_try) 2>&5
91935 ac_status=$?
91936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91937 (exit $ac_status); }; } &&
91938 { ac_try='test -s conftest$ac_exeext'
91939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91940 (eval $ac_try) 2>&5
91941 ac_status=$?
91942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91943 (exit $ac_status); }; }; then
91944 eval "$as_ac_var=yes"
91945 else
91946 echo "$as_me: failed program was:" >&5
91947 sed 's/^/| /' conftest.$ac_ext >&5
91949 eval "$as_ac_var=no"
91951 rm -f conftest.err conftest.$ac_objext \
91952 conftest$ac_exeext conftest.$ac_ext
91954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91956 if test `eval echo '${'$as_ac_var'}'` = yes; then
91957 cat >>confdefs.h <<_ACEOF
91958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91959 _ACEOF
91962 done
91972 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
91973 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
91974 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
91975 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
91976 echo $ECHO_N "(cached) $ECHO_C" >&6
91977 else
91981 ac_ext=cc
91982 ac_cpp='$CXXCPP $CPPFLAGS'
91983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91987 cat >conftest.$ac_ext <<_ACEOF
91988 /* confdefs.h. */
91989 _ACEOF
91990 cat confdefs.h >>conftest.$ac_ext
91991 cat >>conftest.$ac_ext <<_ACEOF
91992 /* end confdefs.h. */
91993 #include <math.h>
91995 main ()
91997 fmodl(0, 0);
91999 return 0;
92001 _ACEOF
92002 rm -f conftest.$ac_objext
92003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92004 (eval $ac_compile) 2>conftest.er1
92005 ac_status=$?
92006 grep -v '^ *+' conftest.er1 >conftest.err
92007 rm -f conftest.er1
92008 cat conftest.err >&5
92009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92010 (exit $ac_status); } &&
92011 { ac_try='test -z "$ac_cxx_werror_flag"
92012 || test ! -s conftest.err'
92013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92014 (eval $ac_try) 2>&5
92015 ac_status=$?
92016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92017 (exit $ac_status); }; } &&
92018 { ac_try='test -s conftest.$ac_objext'
92019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92020 (eval $ac_try) 2>&5
92021 ac_status=$?
92022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92023 (exit $ac_status); }; }; then
92024 glibcxx_cv_func_fmodl_use=yes
92025 else
92026 echo "$as_me: failed program was:" >&5
92027 sed 's/^/| /' conftest.$ac_ext >&5
92029 glibcxx_cv_func_fmodl_use=no
92031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92032 ac_ext=c
92033 ac_cpp='$CPP $CPPFLAGS'
92034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92042 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
92043 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
92045 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
92047 for ac_func in fmodl
92049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92050 echo "$as_me:$LINENO: checking for $ac_func" >&5
92051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92052 if eval "test \"\${$as_ac_var+set}\" = set"; then
92053 echo $ECHO_N "(cached) $ECHO_C" >&6
92054 else
92055 if test x$gcc_no_link = xyes; then
92056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92058 { (exit 1); exit 1; }; }
92060 cat >conftest.$ac_ext <<_ACEOF
92061 /* confdefs.h. */
92062 _ACEOF
92063 cat confdefs.h >>conftest.$ac_ext
92064 cat >>conftest.$ac_ext <<_ACEOF
92065 /* end confdefs.h. */
92066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92068 #define $ac_func innocuous_$ac_func
92070 /* System header to define __stub macros and hopefully few prototypes,
92071 which can conflict with char $ac_func (); below.
92072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92073 <limits.h> exists even on freestanding compilers. */
92075 #ifdef __STDC__
92076 # include <limits.h>
92077 #else
92078 # include <assert.h>
92079 #endif
92081 #undef $ac_func
92083 /* Override any gcc2 internal prototype to avoid an error. */
92084 #ifdef __cplusplus
92085 extern "C"
92087 #endif
92088 /* We use char because int might match the return type of a gcc2
92089 builtin and then its argument prototype would still apply. */
92090 char $ac_func ();
92091 /* The GNU C library defines this for functions which it implements
92092 to always fail with ENOSYS. Some functions are actually named
92093 something starting with __ and the normal name is an alias. */
92094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92095 choke me
92096 #else
92097 char (*f) () = $ac_func;
92098 #endif
92099 #ifdef __cplusplus
92101 #endif
92104 main ()
92106 return f != $ac_func;
92108 return 0;
92110 _ACEOF
92111 rm -f conftest.$ac_objext conftest$ac_exeext
92112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92113 (eval $ac_link) 2>conftest.er1
92114 ac_status=$?
92115 grep -v '^ *+' conftest.er1 >conftest.err
92116 rm -f conftest.er1
92117 cat conftest.err >&5
92118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92119 (exit $ac_status); } &&
92120 { ac_try='test -z "$ac_c_werror_flag"
92121 || test ! -s conftest.err'
92122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92123 (eval $ac_try) 2>&5
92124 ac_status=$?
92125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92126 (exit $ac_status); }; } &&
92127 { ac_try='test -s conftest$ac_exeext'
92128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92129 (eval $ac_try) 2>&5
92130 ac_status=$?
92131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92132 (exit $ac_status); }; }; then
92133 eval "$as_ac_var=yes"
92134 else
92135 echo "$as_me: failed program was:" >&5
92136 sed 's/^/| /' conftest.$ac_ext >&5
92138 eval "$as_ac_var=no"
92140 rm -f conftest.err conftest.$ac_objext \
92141 conftest$ac_exeext conftest.$ac_ext
92143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92145 if test `eval echo '${'$as_ac_var'}'` = yes; then
92146 cat >>confdefs.h <<_ACEOF
92147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92148 _ACEOF
92151 done
92153 else
92155 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
92156 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
92157 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
92158 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
92159 echo $ECHO_N "(cached) $ECHO_C" >&6
92160 else
92164 ac_ext=cc
92165 ac_cpp='$CXXCPP $CPPFLAGS'
92166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92170 cat >conftest.$ac_ext <<_ACEOF
92171 /* confdefs.h. */
92172 _ACEOF
92173 cat confdefs.h >>conftest.$ac_ext
92174 cat >>conftest.$ac_ext <<_ACEOF
92175 /* end confdefs.h. */
92176 #include <math.h>
92178 main ()
92180 _fmodl(0, 0);
92182 return 0;
92184 _ACEOF
92185 rm -f conftest.$ac_objext
92186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92187 (eval $ac_compile) 2>conftest.er1
92188 ac_status=$?
92189 grep -v '^ *+' conftest.er1 >conftest.err
92190 rm -f conftest.er1
92191 cat conftest.err >&5
92192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92193 (exit $ac_status); } &&
92194 { ac_try='test -z "$ac_cxx_werror_flag"
92195 || test ! -s conftest.err'
92196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92197 (eval $ac_try) 2>&5
92198 ac_status=$?
92199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92200 (exit $ac_status); }; } &&
92201 { ac_try='test -s conftest.$ac_objext'
92202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92203 (eval $ac_try) 2>&5
92204 ac_status=$?
92205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92206 (exit $ac_status); }; }; then
92207 glibcxx_cv_func__fmodl_use=yes
92208 else
92209 echo "$as_me: failed program was:" >&5
92210 sed 's/^/| /' conftest.$ac_ext >&5
92212 glibcxx_cv_func__fmodl_use=no
92214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92215 ac_ext=c
92216 ac_cpp='$CPP $CPPFLAGS'
92217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92225 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
92226 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
92228 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
92230 for ac_func in _fmodl
92232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92233 echo "$as_me:$LINENO: checking for $ac_func" >&5
92234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92235 if eval "test \"\${$as_ac_var+set}\" = set"; then
92236 echo $ECHO_N "(cached) $ECHO_C" >&6
92237 else
92238 if test x$gcc_no_link = xyes; then
92239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92241 { (exit 1); exit 1; }; }
92243 cat >conftest.$ac_ext <<_ACEOF
92244 /* confdefs.h. */
92245 _ACEOF
92246 cat confdefs.h >>conftest.$ac_ext
92247 cat >>conftest.$ac_ext <<_ACEOF
92248 /* end confdefs.h. */
92249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92251 #define $ac_func innocuous_$ac_func
92253 /* System header to define __stub macros and hopefully few prototypes,
92254 which can conflict with char $ac_func (); below.
92255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92256 <limits.h> exists even on freestanding compilers. */
92258 #ifdef __STDC__
92259 # include <limits.h>
92260 #else
92261 # include <assert.h>
92262 #endif
92264 #undef $ac_func
92266 /* Override any gcc2 internal prototype to avoid an error. */
92267 #ifdef __cplusplus
92268 extern "C"
92270 #endif
92271 /* We use char because int might match the return type of a gcc2
92272 builtin and then its argument prototype would still apply. */
92273 char $ac_func ();
92274 /* The GNU C library defines this for functions which it implements
92275 to always fail with ENOSYS. Some functions are actually named
92276 something starting with __ and the normal name is an alias. */
92277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92278 choke me
92279 #else
92280 char (*f) () = $ac_func;
92281 #endif
92282 #ifdef __cplusplus
92284 #endif
92287 main ()
92289 return f != $ac_func;
92291 return 0;
92293 _ACEOF
92294 rm -f conftest.$ac_objext conftest$ac_exeext
92295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92296 (eval $ac_link) 2>conftest.er1
92297 ac_status=$?
92298 grep -v '^ *+' conftest.er1 >conftest.err
92299 rm -f conftest.er1
92300 cat conftest.err >&5
92301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92302 (exit $ac_status); } &&
92303 { ac_try='test -z "$ac_c_werror_flag"
92304 || test ! -s conftest.err'
92305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92306 (eval $ac_try) 2>&5
92307 ac_status=$?
92308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92309 (exit $ac_status); }; } &&
92310 { ac_try='test -s conftest$ac_exeext'
92311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92312 (eval $ac_try) 2>&5
92313 ac_status=$?
92314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92315 (exit $ac_status); }; }; then
92316 eval "$as_ac_var=yes"
92317 else
92318 echo "$as_me: failed program was:" >&5
92319 sed 's/^/| /' conftest.$ac_ext >&5
92321 eval "$as_ac_var=no"
92323 rm -f conftest.err conftest.$ac_objext \
92324 conftest$ac_exeext conftest.$ac_ext
92326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92328 if test `eval echo '${'$as_ac_var'}'` = yes; then
92329 cat >>confdefs.h <<_ACEOF
92330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92331 _ACEOF
92334 done
92344 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
92345 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
92346 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
92347 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
92348 echo $ECHO_N "(cached) $ECHO_C" >&6
92349 else
92353 ac_ext=cc
92354 ac_cpp='$CXXCPP $CPPFLAGS'
92355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92359 cat >conftest.$ac_ext <<_ACEOF
92360 /* confdefs.h. */
92361 _ACEOF
92362 cat confdefs.h >>conftest.$ac_ext
92363 cat >>conftest.$ac_ext <<_ACEOF
92364 /* end confdefs.h. */
92365 #include <math.h>
92367 main ()
92369 frexpl(0, 0);
92371 return 0;
92373 _ACEOF
92374 rm -f conftest.$ac_objext
92375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92376 (eval $ac_compile) 2>conftest.er1
92377 ac_status=$?
92378 grep -v '^ *+' conftest.er1 >conftest.err
92379 rm -f conftest.er1
92380 cat conftest.err >&5
92381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92382 (exit $ac_status); } &&
92383 { ac_try='test -z "$ac_cxx_werror_flag"
92384 || test ! -s conftest.err'
92385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92386 (eval $ac_try) 2>&5
92387 ac_status=$?
92388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92389 (exit $ac_status); }; } &&
92390 { ac_try='test -s conftest.$ac_objext'
92391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92392 (eval $ac_try) 2>&5
92393 ac_status=$?
92394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92395 (exit $ac_status); }; }; then
92396 glibcxx_cv_func_frexpl_use=yes
92397 else
92398 echo "$as_me: failed program was:" >&5
92399 sed 's/^/| /' conftest.$ac_ext >&5
92401 glibcxx_cv_func_frexpl_use=no
92403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92404 ac_ext=c
92405 ac_cpp='$CPP $CPPFLAGS'
92406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92414 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
92415 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
92417 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
92419 for ac_func in frexpl
92421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92422 echo "$as_me:$LINENO: checking for $ac_func" >&5
92423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92424 if eval "test \"\${$as_ac_var+set}\" = set"; then
92425 echo $ECHO_N "(cached) $ECHO_C" >&6
92426 else
92427 if test x$gcc_no_link = xyes; then
92428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92430 { (exit 1); exit 1; }; }
92432 cat >conftest.$ac_ext <<_ACEOF
92433 /* confdefs.h. */
92434 _ACEOF
92435 cat confdefs.h >>conftest.$ac_ext
92436 cat >>conftest.$ac_ext <<_ACEOF
92437 /* end confdefs.h. */
92438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92440 #define $ac_func innocuous_$ac_func
92442 /* System header to define __stub macros and hopefully few prototypes,
92443 which can conflict with char $ac_func (); below.
92444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92445 <limits.h> exists even on freestanding compilers. */
92447 #ifdef __STDC__
92448 # include <limits.h>
92449 #else
92450 # include <assert.h>
92451 #endif
92453 #undef $ac_func
92455 /* Override any gcc2 internal prototype to avoid an error. */
92456 #ifdef __cplusplus
92457 extern "C"
92459 #endif
92460 /* We use char because int might match the return type of a gcc2
92461 builtin and then its argument prototype would still apply. */
92462 char $ac_func ();
92463 /* The GNU C library defines this for functions which it implements
92464 to always fail with ENOSYS. Some functions are actually named
92465 something starting with __ and the normal name is an alias. */
92466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92467 choke me
92468 #else
92469 char (*f) () = $ac_func;
92470 #endif
92471 #ifdef __cplusplus
92473 #endif
92476 main ()
92478 return f != $ac_func;
92480 return 0;
92482 _ACEOF
92483 rm -f conftest.$ac_objext conftest$ac_exeext
92484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92485 (eval $ac_link) 2>conftest.er1
92486 ac_status=$?
92487 grep -v '^ *+' conftest.er1 >conftest.err
92488 rm -f conftest.er1
92489 cat conftest.err >&5
92490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92491 (exit $ac_status); } &&
92492 { ac_try='test -z "$ac_c_werror_flag"
92493 || test ! -s conftest.err'
92494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92495 (eval $ac_try) 2>&5
92496 ac_status=$?
92497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92498 (exit $ac_status); }; } &&
92499 { ac_try='test -s conftest$ac_exeext'
92500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92501 (eval $ac_try) 2>&5
92502 ac_status=$?
92503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92504 (exit $ac_status); }; }; then
92505 eval "$as_ac_var=yes"
92506 else
92507 echo "$as_me: failed program was:" >&5
92508 sed 's/^/| /' conftest.$ac_ext >&5
92510 eval "$as_ac_var=no"
92512 rm -f conftest.err conftest.$ac_objext \
92513 conftest$ac_exeext conftest.$ac_ext
92515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92517 if test `eval echo '${'$as_ac_var'}'` = yes; then
92518 cat >>confdefs.h <<_ACEOF
92519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92520 _ACEOF
92523 done
92525 else
92527 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
92528 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
92529 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
92530 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
92531 echo $ECHO_N "(cached) $ECHO_C" >&6
92532 else
92536 ac_ext=cc
92537 ac_cpp='$CXXCPP $CPPFLAGS'
92538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92542 cat >conftest.$ac_ext <<_ACEOF
92543 /* confdefs.h. */
92544 _ACEOF
92545 cat confdefs.h >>conftest.$ac_ext
92546 cat >>conftest.$ac_ext <<_ACEOF
92547 /* end confdefs.h. */
92548 #include <math.h>
92550 main ()
92552 _frexpl(0, 0);
92554 return 0;
92556 _ACEOF
92557 rm -f conftest.$ac_objext
92558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92559 (eval $ac_compile) 2>conftest.er1
92560 ac_status=$?
92561 grep -v '^ *+' conftest.er1 >conftest.err
92562 rm -f conftest.er1
92563 cat conftest.err >&5
92564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92565 (exit $ac_status); } &&
92566 { ac_try='test -z "$ac_cxx_werror_flag"
92567 || test ! -s conftest.err'
92568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92569 (eval $ac_try) 2>&5
92570 ac_status=$?
92571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92572 (exit $ac_status); }; } &&
92573 { ac_try='test -s conftest.$ac_objext'
92574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92575 (eval $ac_try) 2>&5
92576 ac_status=$?
92577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92578 (exit $ac_status); }; }; then
92579 glibcxx_cv_func__frexpl_use=yes
92580 else
92581 echo "$as_me: failed program was:" >&5
92582 sed 's/^/| /' conftest.$ac_ext >&5
92584 glibcxx_cv_func__frexpl_use=no
92586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92587 ac_ext=c
92588 ac_cpp='$CPP $CPPFLAGS'
92589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92597 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
92598 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
92600 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
92602 for ac_func in _frexpl
92604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92605 echo "$as_me:$LINENO: checking for $ac_func" >&5
92606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92607 if eval "test \"\${$as_ac_var+set}\" = set"; then
92608 echo $ECHO_N "(cached) $ECHO_C" >&6
92609 else
92610 if test x$gcc_no_link = xyes; then
92611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92613 { (exit 1); exit 1; }; }
92615 cat >conftest.$ac_ext <<_ACEOF
92616 /* confdefs.h. */
92617 _ACEOF
92618 cat confdefs.h >>conftest.$ac_ext
92619 cat >>conftest.$ac_ext <<_ACEOF
92620 /* end confdefs.h. */
92621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92623 #define $ac_func innocuous_$ac_func
92625 /* System header to define __stub macros and hopefully few prototypes,
92626 which can conflict with char $ac_func (); below.
92627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92628 <limits.h> exists even on freestanding compilers. */
92630 #ifdef __STDC__
92631 # include <limits.h>
92632 #else
92633 # include <assert.h>
92634 #endif
92636 #undef $ac_func
92638 /* Override any gcc2 internal prototype to avoid an error. */
92639 #ifdef __cplusplus
92640 extern "C"
92642 #endif
92643 /* We use char because int might match the return type of a gcc2
92644 builtin and then its argument prototype would still apply. */
92645 char $ac_func ();
92646 /* The GNU C library defines this for functions which it implements
92647 to always fail with ENOSYS. Some functions are actually named
92648 something starting with __ and the normal name is an alias. */
92649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92650 choke me
92651 #else
92652 char (*f) () = $ac_func;
92653 #endif
92654 #ifdef __cplusplus
92656 #endif
92659 main ()
92661 return f != $ac_func;
92663 return 0;
92665 _ACEOF
92666 rm -f conftest.$ac_objext conftest$ac_exeext
92667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92668 (eval $ac_link) 2>conftest.er1
92669 ac_status=$?
92670 grep -v '^ *+' conftest.er1 >conftest.err
92671 rm -f conftest.er1
92672 cat conftest.err >&5
92673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92674 (exit $ac_status); } &&
92675 { ac_try='test -z "$ac_c_werror_flag"
92676 || test ! -s conftest.err'
92677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92678 (eval $ac_try) 2>&5
92679 ac_status=$?
92680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92681 (exit $ac_status); }; } &&
92682 { ac_try='test -s conftest$ac_exeext'
92683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92684 (eval $ac_try) 2>&5
92685 ac_status=$?
92686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92687 (exit $ac_status); }; }; then
92688 eval "$as_ac_var=yes"
92689 else
92690 echo "$as_me: failed program was:" >&5
92691 sed 's/^/| /' conftest.$ac_ext >&5
92693 eval "$as_ac_var=no"
92695 rm -f conftest.err conftest.$ac_objext \
92696 conftest$ac_exeext conftest.$ac_ext
92698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92700 if test `eval echo '${'$as_ac_var'}'` = yes; then
92701 cat >>confdefs.h <<_ACEOF
92702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92703 _ACEOF
92706 done
92716 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
92717 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
92718 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
92719 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
92720 echo $ECHO_N "(cached) $ECHO_C" >&6
92721 else
92725 ac_ext=cc
92726 ac_cpp='$CXXCPP $CPPFLAGS'
92727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92731 cat >conftest.$ac_ext <<_ACEOF
92732 /* confdefs.h. */
92733 _ACEOF
92734 cat confdefs.h >>conftest.$ac_ext
92735 cat >>conftest.$ac_ext <<_ACEOF
92736 /* end confdefs.h. */
92737 #include <math.h>
92739 main ()
92741 hypotl(0, 0);
92743 return 0;
92745 _ACEOF
92746 rm -f conftest.$ac_objext
92747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92748 (eval $ac_compile) 2>conftest.er1
92749 ac_status=$?
92750 grep -v '^ *+' conftest.er1 >conftest.err
92751 rm -f conftest.er1
92752 cat conftest.err >&5
92753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92754 (exit $ac_status); } &&
92755 { ac_try='test -z "$ac_cxx_werror_flag"
92756 || test ! -s conftest.err'
92757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92758 (eval $ac_try) 2>&5
92759 ac_status=$?
92760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92761 (exit $ac_status); }; } &&
92762 { ac_try='test -s conftest.$ac_objext'
92763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92764 (eval $ac_try) 2>&5
92765 ac_status=$?
92766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92767 (exit $ac_status); }; }; then
92768 glibcxx_cv_func_hypotl_use=yes
92769 else
92770 echo "$as_me: failed program was:" >&5
92771 sed 's/^/| /' conftest.$ac_ext >&5
92773 glibcxx_cv_func_hypotl_use=no
92775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92776 ac_ext=c
92777 ac_cpp='$CPP $CPPFLAGS'
92778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92786 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
92787 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
92789 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
92791 for ac_func in hypotl
92793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92794 echo "$as_me:$LINENO: checking for $ac_func" >&5
92795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92796 if eval "test \"\${$as_ac_var+set}\" = set"; then
92797 echo $ECHO_N "(cached) $ECHO_C" >&6
92798 else
92799 if test x$gcc_no_link = xyes; then
92800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92802 { (exit 1); exit 1; }; }
92804 cat >conftest.$ac_ext <<_ACEOF
92805 /* confdefs.h. */
92806 _ACEOF
92807 cat confdefs.h >>conftest.$ac_ext
92808 cat >>conftest.$ac_ext <<_ACEOF
92809 /* end confdefs.h. */
92810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92812 #define $ac_func innocuous_$ac_func
92814 /* System header to define __stub macros and hopefully few prototypes,
92815 which can conflict with char $ac_func (); below.
92816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92817 <limits.h> exists even on freestanding compilers. */
92819 #ifdef __STDC__
92820 # include <limits.h>
92821 #else
92822 # include <assert.h>
92823 #endif
92825 #undef $ac_func
92827 /* Override any gcc2 internal prototype to avoid an error. */
92828 #ifdef __cplusplus
92829 extern "C"
92831 #endif
92832 /* We use char because int might match the return type of a gcc2
92833 builtin and then its argument prototype would still apply. */
92834 char $ac_func ();
92835 /* The GNU C library defines this for functions which it implements
92836 to always fail with ENOSYS. Some functions are actually named
92837 something starting with __ and the normal name is an alias. */
92838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92839 choke me
92840 #else
92841 char (*f) () = $ac_func;
92842 #endif
92843 #ifdef __cplusplus
92845 #endif
92848 main ()
92850 return f != $ac_func;
92852 return 0;
92854 _ACEOF
92855 rm -f conftest.$ac_objext conftest$ac_exeext
92856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92857 (eval $ac_link) 2>conftest.er1
92858 ac_status=$?
92859 grep -v '^ *+' conftest.er1 >conftest.err
92860 rm -f conftest.er1
92861 cat conftest.err >&5
92862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92863 (exit $ac_status); } &&
92864 { ac_try='test -z "$ac_c_werror_flag"
92865 || test ! -s conftest.err'
92866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92867 (eval $ac_try) 2>&5
92868 ac_status=$?
92869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92870 (exit $ac_status); }; } &&
92871 { ac_try='test -s conftest$ac_exeext'
92872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92873 (eval $ac_try) 2>&5
92874 ac_status=$?
92875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92876 (exit $ac_status); }; }; then
92877 eval "$as_ac_var=yes"
92878 else
92879 echo "$as_me: failed program was:" >&5
92880 sed 's/^/| /' conftest.$ac_ext >&5
92882 eval "$as_ac_var=no"
92884 rm -f conftest.err conftest.$ac_objext \
92885 conftest$ac_exeext conftest.$ac_ext
92887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92889 if test `eval echo '${'$as_ac_var'}'` = yes; then
92890 cat >>confdefs.h <<_ACEOF
92891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92892 _ACEOF
92895 done
92897 else
92899 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
92900 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
92901 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
92902 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
92903 echo $ECHO_N "(cached) $ECHO_C" >&6
92904 else
92908 ac_ext=cc
92909 ac_cpp='$CXXCPP $CPPFLAGS'
92910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92914 cat >conftest.$ac_ext <<_ACEOF
92915 /* confdefs.h. */
92916 _ACEOF
92917 cat confdefs.h >>conftest.$ac_ext
92918 cat >>conftest.$ac_ext <<_ACEOF
92919 /* end confdefs.h. */
92920 #include <math.h>
92922 main ()
92924 _hypotl(0, 0);
92926 return 0;
92928 _ACEOF
92929 rm -f conftest.$ac_objext
92930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92931 (eval $ac_compile) 2>conftest.er1
92932 ac_status=$?
92933 grep -v '^ *+' conftest.er1 >conftest.err
92934 rm -f conftest.er1
92935 cat conftest.err >&5
92936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92937 (exit $ac_status); } &&
92938 { ac_try='test -z "$ac_cxx_werror_flag"
92939 || test ! -s conftest.err'
92940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92941 (eval $ac_try) 2>&5
92942 ac_status=$?
92943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92944 (exit $ac_status); }; } &&
92945 { ac_try='test -s conftest.$ac_objext'
92946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92947 (eval $ac_try) 2>&5
92948 ac_status=$?
92949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92950 (exit $ac_status); }; }; then
92951 glibcxx_cv_func__hypotl_use=yes
92952 else
92953 echo "$as_me: failed program was:" >&5
92954 sed 's/^/| /' conftest.$ac_ext >&5
92956 glibcxx_cv_func__hypotl_use=no
92958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92959 ac_ext=c
92960 ac_cpp='$CPP $CPPFLAGS'
92961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92969 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
92970 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
92972 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
92974 for ac_func in _hypotl
92976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92977 echo "$as_me:$LINENO: checking for $ac_func" >&5
92978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92979 if eval "test \"\${$as_ac_var+set}\" = set"; then
92980 echo $ECHO_N "(cached) $ECHO_C" >&6
92981 else
92982 if test x$gcc_no_link = xyes; then
92983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92985 { (exit 1); exit 1; }; }
92987 cat >conftest.$ac_ext <<_ACEOF
92988 /* confdefs.h. */
92989 _ACEOF
92990 cat confdefs.h >>conftest.$ac_ext
92991 cat >>conftest.$ac_ext <<_ACEOF
92992 /* end confdefs.h. */
92993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92995 #define $ac_func innocuous_$ac_func
92997 /* System header to define __stub macros and hopefully few prototypes,
92998 which can conflict with char $ac_func (); below.
92999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93000 <limits.h> exists even on freestanding compilers. */
93002 #ifdef __STDC__
93003 # include <limits.h>
93004 #else
93005 # include <assert.h>
93006 #endif
93008 #undef $ac_func
93010 /* Override any gcc2 internal prototype to avoid an error. */
93011 #ifdef __cplusplus
93012 extern "C"
93014 #endif
93015 /* We use char because int might match the return type of a gcc2
93016 builtin and then its argument prototype would still apply. */
93017 char $ac_func ();
93018 /* The GNU C library defines this for functions which it implements
93019 to always fail with ENOSYS. Some functions are actually named
93020 something starting with __ and the normal name is an alias. */
93021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93022 choke me
93023 #else
93024 char (*f) () = $ac_func;
93025 #endif
93026 #ifdef __cplusplus
93028 #endif
93031 main ()
93033 return f != $ac_func;
93035 return 0;
93037 _ACEOF
93038 rm -f conftest.$ac_objext conftest$ac_exeext
93039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93040 (eval $ac_link) 2>conftest.er1
93041 ac_status=$?
93042 grep -v '^ *+' conftest.er1 >conftest.err
93043 rm -f conftest.er1
93044 cat conftest.err >&5
93045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93046 (exit $ac_status); } &&
93047 { ac_try='test -z "$ac_c_werror_flag"
93048 || test ! -s conftest.err'
93049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93050 (eval $ac_try) 2>&5
93051 ac_status=$?
93052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93053 (exit $ac_status); }; } &&
93054 { ac_try='test -s conftest$ac_exeext'
93055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93056 (eval $ac_try) 2>&5
93057 ac_status=$?
93058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93059 (exit $ac_status); }; }; then
93060 eval "$as_ac_var=yes"
93061 else
93062 echo "$as_me: failed program was:" >&5
93063 sed 's/^/| /' conftest.$ac_ext >&5
93065 eval "$as_ac_var=no"
93067 rm -f conftest.err conftest.$ac_objext \
93068 conftest$ac_exeext conftest.$ac_ext
93070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93072 if test `eval echo '${'$as_ac_var'}'` = yes; then
93073 cat >>confdefs.h <<_ACEOF
93074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93075 _ACEOF
93078 done
93088 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
93089 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
93090 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
93091 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
93092 echo $ECHO_N "(cached) $ECHO_C" >&6
93093 else
93097 ac_ext=cc
93098 ac_cpp='$CXXCPP $CPPFLAGS'
93099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93103 cat >conftest.$ac_ext <<_ACEOF
93104 /* confdefs.h. */
93105 _ACEOF
93106 cat confdefs.h >>conftest.$ac_ext
93107 cat >>conftest.$ac_ext <<_ACEOF
93108 /* end confdefs.h. */
93109 #include <math.h>
93111 main ()
93113 ldexpl(0, 0);
93115 return 0;
93117 _ACEOF
93118 rm -f conftest.$ac_objext
93119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93120 (eval $ac_compile) 2>conftest.er1
93121 ac_status=$?
93122 grep -v '^ *+' conftest.er1 >conftest.err
93123 rm -f conftest.er1
93124 cat conftest.err >&5
93125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93126 (exit $ac_status); } &&
93127 { ac_try='test -z "$ac_cxx_werror_flag"
93128 || test ! -s conftest.err'
93129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93130 (eval $ac_try) 2>&5
93131 ac_status=$?
93132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93133 (exit $ac_status); }; } &&
93134 { ac_try='test -s conftest.$ac_objext'
93135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93136 (eval $ac_try) 2>&5
93137 ac_status=$?
93138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93139 (exit $ac_status); }; }; then
93140 glibcxx_cv_func_ldexpl_use=yes
93141 else
93142 echo "$as_me: failed program was:" >&5
93143 sed 's/^/| /' conftest.$ac_ext >&5
93145 glibcxx_cv_func_ldexpl_use=no
93147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93148 ac_ext=c
93149 ac_cpp='$CPP $CPPFLAGS'
93150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93158 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
93159 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
93161 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
93163 for ac_func in ldexpl
93165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93166 echo "$as_me:$LINENO: checking for $ac_func" >&5
93167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93168 if eval "test \"\${$as_ac_var+set}\" = set"; then
93169 echo $ECHO_N "(cached) $ECHO_C" >&6
93170 else
93171 if test x$gcc_no_link = xyes; then
93172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93174 { (exit 1); exit 1; }; }
93176 cat >conftest.$ac_ext <<_ACEOF
93177 /* confdefs.h. */
93178 _ACEOF
93179 cat confdefs.h >>conftest.$ac_ext
93180 cat >>conftest.$ac_ext <<_ACEOF
93181 /* end confdefs.h. */
93182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93184 #define $ac_func innocuous_$ac_func
93186 /* System header to define __stub macros and hopefully few prototypes,
93187 which can conflict with char $ac_func (); below.
93188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93189 <limits.h> exists even on freestanding compilers. */
93191 #ifdef __STDC__
93192 # include <limits.h>
93193 #else
93194 # include <assert.h>
93195 #endif
93197 #undef $ac_func
93199 /* Override any gcc2 internal prototype to avoid an error. */
93200 #ifdef __cplusplus
93201 extern "C"
93203 #endif
93204 /* We use char because int might match the return type of a gcc2
93205 builtin and then its argument prototype would still apply. */
93206 char $ac_func ();
93207 /* The GNU C library defines this for functions which it implements
93208 to always fail with ENOSYS. Some functions are actually named
93209 something starting with __ and the normal name is an alias. */
93210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93211 choke me
93212 #else
93213 char (*f) () = $ac_func;
93214 #endif
93215 #ifdef __cplusplus
93217 #endif
93220 main ()
93222 return f != $ac_func;
93224 return 0;
93226 _ACEOF
93227 rm -f conftest.$ac_objext conftest$ac_exeext
93228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93229 (eval $ac_link) 2>conftest.er1
93230 ac_status=$?
93231 grep -v '^ *+' conftest.er1 >conftest.err
93232 rm -f conftest.er1
93233 cat conftest.err >&5
93234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93235 (exit $ac_status); } &&
93236 { ac_try='test -z "$ac_c_werror_flag"
93237 || test ! -s conftest.err'
93238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93239 (eval $ac_try) 2>&5
93240 ac_status=$?
93241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93242 (exit $ac_status); }; } &&
93243 { ac_try='test -s conftest$ac_exeext'
93244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93245 (eval $ac_try) 2>&5
93246 ac_status=$?
93247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93248 (exit $ac_status); }; }; then
93249 eval "$as_ac_var=yes"
93250 else
93251 echo "$as_me: failed program was:" >&5
93252 sed 's/^/| /' conftest.$ac_ext >&5
93254 eval "$as_ac_var=no"
93256 rm -f conftest.err conftest.$ac_objext \
93257 conftest$ac_exeext conftest.$ac_ext
93259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93261 if test `eval echo '${'$as_ac_var'}'` = yes; then
93262 cat >>confdefs.h <<_ACEOF
93263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93264 _ACEOF
93267 done
93269 else
93271 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
93272 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
93273 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
93274 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
93275 echo $ECHO_N "(cached) $ECHO_C" >&6
93276 else
93280 ac_ext=cc
93281 ac_cpp='$CXXCPP $CPPFLAGS'
93282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93286 cat >conftest.$ac_ext <<_ACEOF
93287 /* confdefs.h. */
93288 _ACEOF
93289 cat confdefs.h >>conftest.$ac_ext
93290 cat >>conftest.$ac_ext <<_ACEOF
93291 /* end confdefs.h. */
93292 #include <math.h>
93294 main ()
93296 _ldexpl(0, 0);
93298 return 0;
93300 _ACEOF
93301 rm -f conftest.$ac_objext
93302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93303 (eval $ac_compile) 2>conftest.er1
93304 ac_status=$?
93305 grep -v '^ *+' conftest.er1 >conftest.err
93306 rm -f conftest.er1
93307 cat conftest.err >&5
93308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93309 (exit $ac_status); } &&
93310 { ac_try='test -z "$ac_cxx_werror_flag"
93311 || test ! -s conftest.err'
93312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93313 (eval $ac_try) 2>&5
93314 ac_status=$?
93315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93316 (exit $ac_status); }; } &&
93317 { ac_try='test -s conftest.$ac_objext'
93318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93319 (eval $ac_try) 2>&5
93320 ac_status=$?
93321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93322 (exit $ac_status); }; }; then
93323 glibcxx_cv_func__ldexpl_use=yes
93324 else
93325 echo "$as_me: failed program was:" >&5
93326 sed 's/^/| /' conftest.$ac_ext >&5
93328 glibcxx_cv_func__ldexpl_use=no
93330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93331 ac_ext=c
93332 ac_cpp='$CPP $CPPFLAGS'
93333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93341 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
93342 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
93344 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
93346 for ac_func in _ldexpl
93348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93349 echo "$as_me:$LINENO: checking for $ac_func" >&5
93350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93351 if eval "test \"\${$as_ac_var+set}\" = set"; then
93352 echo $ECHO_N "(cached) $ECHO_C" >&6
93353 else
93354 if test x$gcc_no_link = xyes; then
93355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93357 { (exit 1); exit 1; }; }
93359 cat >conftest.$ac_ext <<_ACEOF
93360 /* confdefs.h. */
93361 _ACEOF
93362 cat confdefs.h >>conftest.$ac_ext
93363 cat >>conftest.$ac_ext <<_ACEOF
93364 /* end confdefs.h. */
93365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93367 #define $ac_func innocuous_$ac_func
93369 /* System header to define __stub macros and hopefully few prototypes,
93370 which can conflict with char $ac_func (); below.
93371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93372 <limits.h> exists even on freestanding compilers. */
93374 #ifdef __STDC__
93375 # include <limits.h>
93376 #else
93377 # include <assert.h>
93378 #endif
93380 #undef $ac_func
93382 /* Override any gcc2 internal prototype to avoid an error. */
93383 #ifdef __cplusplus
93384 extern "C"
93386 #endif
93387 /* We use char because int might match the return type of a gcc2
93388 builtin and then its argument prototype would still apply. */
93389 char $ac_func ();
93390 /* The GNU C library defines this for functions which it implements
93391 to always fail with ENOSYS. Some functions are actually named
93392 something starting with __ and the normal name is an alias. */
93393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93394 choke me
93395 #else
93396 char (*f) () = $ac_func;
93397 #endif
93398 #ifdef __cplusplus
93400 #endif
93403 main ()
93405 return f != $ac_func;
93407 return 0;
93409 _ACEOF
93410 rm -f conftest.$ac_objext conftest$ac_exeext
93411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93412 (eval $ac_link) 2>conftest.er1
93413 ac_status=$?
93414 grep -v '^ *+' conftest.er1 >conftest.err
93415 rm -f conftest.er1
93416 cat conftest.err >&5
93417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93418 (exit $ac_status); } &&
93419 { ac_try='test -z "$ac_c_werror_flag"
93420 || test ! -s conftest.err'
93421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93422 (eval $ac_try) 2>&5
93423 ac_status=$?
93424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93425 (exit $ac_status); }; } &&
93426 { ac_try='test -s conftest$ac_exeext'
93427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93428 (eval $ac_try) 2>&5
93429 ac_status=$?
93430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93431 (exit $ac_status); }; }; then
93432 eval "$as_ac_var=yes"
93433 else
93434 echo "$as_me: failed program was:" >&5
93435 sed 's/^/| /' conftest.$ac_ext >&5
93437 eval "$as_ac_var=no"
93439 rm -f conftest.err conftest.$ac_objext \
93440 conftest$ac_exeext conftest.$ac_ext
93442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93444 if test `eval echo '${'$as_ac_var'}'` = yes; then
93445 cat >>confdefs.h <<_ACEOF
93446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93447 _ACEOF
93450 done
93460 echo "$as_me:$LINENO: checking for logl declaration" >&5
93461 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
93462 if test x${glibcxx_cv_func_logl_use+set} != xset; then
93463 if test "${glibcxx_cv_func_logl_use+set}" = set; then
93464 echo $ECHO_N "(cached) $ECHO_C" >&6
93465 else
93469 ac_ext=cc
93470 ac_cpp='$CXXCPP $CPPFLAGS'
93471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93475 cat >conftest.$ac_ext <<_ACEOF
93476 /* confdefs.h. */
93477 _ACEOF
93478 cat confdefs.h >>conftest.$ac_ext
93479 cat >>conftest.$ac_ext <<_ACEOF
93480 /* end confdefs.h. */
93481 #include <math.h>
93482 #ifdef HAVE_IEEEFP_H
93483 #include <ieeefp.h>
93484 #endif
93487 main ()
93489 logl(0);
93491 return 0;
93493 _ACEOF
93494 rm -f conftest.$ac_objext
93495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93496 (eval $ac_compile) 2>conftest.er1
93497 ac_status=$?
93498 grep -v '^ *+' conftest.er1 >conftest.err
93499 rm -f conftest.er1
93500 cat conftest.err >&5
93501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93502 (exit $ac_status); } &&
93503 { ac_try='test -z "$ac_cxx_werror_flag"
93504 || test ! -s conftest.err'
93505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93506 (eval $ac_try) 2>&5
93507 ac_status=$?
93508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93509 (exit $ac_status); }; } &&
93510 { ac_try='test -s conftest.$ac_objext'
93511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93512 (eval $ac_try) 2>&5
93513 ac_status=$?
93514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93515 (exit $ac_status); }; }; then
93516 glibcxx_cv_func_logl_use=yes
93517 else
93518 echo "$as_me: failed program was:" >&5
93519 sed 's/^/| /' conftest.$ac_ext >&5
93521 glibcxx_cv_func_logl_use=no
93523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93524 ac_ext=c
93525 ac_cpp='$CPP $CPPFLAGS'
93526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93534 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
93535 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
93537 if test x$glibcxx_cv_func_logl_use = x"yes"; then
93539 for ac_func in logl
93541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93542 echo "$as_me:$LINENO: checking for $ac_func" >&5
93543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93544 if eval "test \"\${$as_ac_var+set}\" = set"; then
93545 echo $ECHO_N "(cached) $ECHO_C" >&6
93546 else
93547 if test x$gcc_no_link = xyes; then
93548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93550 { (exit 1); exit 1; }; }
93552 cat >conftest.$ac_ext <<_ACEOF
93553 /* confdefs.h. */
93554 _ACEOF
93555 cat confdefs.h >>conftest.$ac_ext
93556 cat >>conftest.$ac_ext <<_ACEOF
93557 /* end confdefs.h. */
93558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93560 #define $ac_func innocuous_$ac_func
93562 /* System header to define __stub macros and hopefully few prototypes,
93563 which can conflict with char $ac_func (); below.
93564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93565 <limits.h> exists even on freestanding compilers. */
93567 #ifdef __STDC__
93568 # include <limits.h>
93569 #else
93570 # include <assert.h>
93571 #endif
93573 #undef $ac_func
93575 /* Override any gcc2 internal prototype to avoid an error. */
93576 #ifdef __cplusplus
93577 extern "C"
93579 #endif
93580 /* We use char because int might match the return type of a gcc2
93581 builtin and then its argument prototype would still apply. */
93582 char $ac_func ();
93583 /* The GNU C library defines this for functions which it implements
93584 to always fail with ENOSYS. Some functions are actually named
93585 something starting with __ and the normal name is an alias. */
93586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93587 choke me
93588 #else
93589 char (*f) () = $ac_func;
93590 #endif
93591 #ifdef __cplusplus
93593 #endif
93596 main ()
93598 return f != $ac_func;
93600 return 0;
93602 _ACEOF
93603 rm -f conftest.$ac_objext conftest$ac_exeext
93604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93605 (eval $ac_link) 2>conftest.er1
93606 ac_status=$?
93607 grep -v '^ *+' conftest.er1 >conftest.err
93608 rm -f conftest.er1
93609 cat conftest.err >&5
93610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93611 (exit $ac_status); } &&
93612 { ac_try='test -z "$ac_c_werror_flag"
93613 || test ! -s conftest.err'
93614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93615 (eval $ac_try) 2>&5
93616 ac_status=$?
93617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93618 (exit $ac_status); }; } &&
93619 { ac_try='test -s conftest$ac_exeext'
93620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93621 (eval $ac_try) 2>&5
93622 ac_status=$?
93623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93624 (exit $ac_status); }; }; then
93625 eval "$as_ac_var=yes"
93626 else
93627 echo "$as_me: failed program was:" >&5
93628 sed 's/^/| /' conftest.$ac_ext >&5
93630 eval "$as_ac_var=no"
93632 rm -f conftest.err conftest.$ac_objext \
93633 conftest$ac_exeext conftest.$ac_ext
93635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93637 if test `eval echo '${'$as_ac_var'}'` = yes; then
93638 cat >>confdefs.h <<_ACEOF
93639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93640 _ACEOF
93643 done
93645 else
93647 echo "$as_me:$LINENO: checking for _logl declaration" >&5
93648 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
93649 if test x${glibcxx_cv_func__logl_use+set} != xset; then
93650 if test "${glibcxx_cv_func__logl_use+set}" = set; then
93651 echo $ECHO_N "(cached) $ECHO_C" >&6
93652 else
93656 ac_ext=cc
93657 ac_cpp='$CXXCPP $CPPFLAGS'
93658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93662 cat >conftest.$ac_ext <<_ACEOF
93663 /* confdefs.h. */
93664 _ACEOF
93665 cat confdefs.h >>conftest.$ac_ext
93666 cat >>conftest.$ac_ext <<_ACEOF
93667 /* end confdefs.h. */
93668 #include <math.h>
93669 #ifdef HAVE_IEEEFP_H
93670 #include <ieeefp.h>
93671 #endif
93674 main ()
93676 _logl(0);
93678 return 0;
93680 _ACEOF
93681 rm -f conftest.$ac_objext
93682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93683 (eval $ac_compile) 2>conftest.er1
93684 ac_status=$?
93685 grep -v '^ *+' conftest.er1 >conftest.err
93686 rm -f conftest.er1
93687 cat conftest.err >&5
93688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93689 (exit $ac_status); } &&
93690 { ac_try='test -z "$ac_cxx_werror_flag"
93691 || test ! -s conftest.err'
93692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93693 (eval $ac_try) 2>&5
93694 ac_status=$?
93695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93696 (exit $ac_status); }; } &&
93697 { ac_try='test -s conftest.$ac_objext'
93698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93699 (eval $ac_try) 2>&5
93700 ac_status=$?
93701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93702 (exit $ac_status); }; }; then
93703 glibcxx_cv_func__logl_use=yes
93704 else
93705 echo "$as_me: failed program was:" >&5
93706 sed 's/^/| /' conftest.$ac_ext >&5
93708 glibcxx_cv_func__logl_use=no
93710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93711 ac_ext=c
93712 ac_cpp='$CPP $CPPFLAGS'
93713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93721 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
93722 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
93724 if test x$glibcxx_cv_func__logl_use = x"yes"; then
93726 for ac_func in _logl
93728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93729 echo "$as_me:$LINENO: checking for $ac_func" >&5
93730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93731 if eval "test \"\${$as_ac_var+set}\" = set"; then
93732 echo $ECHO_N "(cached) $ECHO_C" >&6
93733 else
93734 if test x$gcc_no_link = xyes; then
93735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93737 { (exit 1); exit 1; }; }
93739 cat >conftest.$ac_ext <<_ACEOF
93740 /* confdefs.h. */
93741 _ACEOF
93742 cat confdefs.h >>conftest.$ac_ext
93743 cat >>conftest.$ac_ext <<_ACEOF
93744 /* end confdefs.h. */
93745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93747 #define $ac_func innocuous_$ac_func
93749 /* System header to define __stub macros and hopefully few prototypes,
93750 which can conflict with char $ac_func (); below.
93751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93752 <limits.h> exists even on freestanding compilers. */
93754 #ifdef __STDC__
93755 # include <limits.h>
93756 #else
93757 # include <assert.h>
93758 #endif
93760 #undef $ac_func
93762 /* Override any gcc2 internal prototype to avoid an error. */
93763 #ifdef __cplusplus
93764 extern "C"
93766 #endif
93767 /* We use char because int might match the return type of a gcc2
93768 builtin and then its argument prototype would still apply. */
93769 char $ac_func ();
93770 /* The GNU C library defines this for functions which it implements
93771 to always fail with ENOSYS. Some functions are actually named
93772 something starting with __ and the normal name is an alias. */
93773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93774 choke me
93775 #else
93776 char (*f) () = $ac_func;
93777 #endif
93778 #ifdef __cplusplus
93780 #endif
93783 main ()
93785 return f != $ac_func;
93787 return 0;
93789 _ACEOF
93790 rm -f conftest.$ac_objext conftest$ac_exeext
93791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93792 (eval $ac_link) 2>conftest.er1
93793 ac_status=$?
93794 grep -v '^ *+' conftest.er1 >conftest.err
93795 rm -f conftest.er1
93796 cat conftest.err >&5
93797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93798 (exit $ac_status); } &&
93799 { ac_try='test -z "$ac_c_werror_flag"
93800 || test ! -s conftest.err'
93801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93802 (eval $ac_try) 2>&5
93803 ac_status=$?
93804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93805 (exit $ac_status); }; } &&
93806 { ac_try='test -s conftest$ac_exeext'
93807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93808 (eval $ac_try) 2>&5
93809 ac_status=$?
93810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93811 (exit $ac_status); }; }; then
93812 eval "$as_ac_var=yes"
93813 else
93814 echo "$as_me: failed program was:" >&5
93815 sed 's/^/| /' conftest.$ac_ext >&5
93817 eval "$as_ac_var=no"
93819 rm -f conftest.err conftest.$ac_objext \
93820 conftest$ac_exeext conftest.$ac_ext
93822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93824 if test `eval echo '${'$as_ac_var'}'` = yes; then
93825 cat >>confdefs.h <<_ACEOF
93826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93827 _ACEOF
93830 done
93840 echo "$as_me:$LINENO: checking for log10l declaration" >&5
93841 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
93842 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
93843 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
93844 echo $ECHO_N "(cached) $ECHO_C" >&6
93845 else
93849 ac_ext=cc
93850 ac_cpp='$CXXCPP $CPPFLAGS'
93851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93855 cat >conftest.$ac_ext <<_ACEOF
93856 /* confdefs.h. */
93857 _ACEOF
93858 cat confdefs.h >>conftest.$ac_ext
93859 cat >>conftest.$ac_ext <<_ACEOF
93860 /* end confdefs.h. */
93861 #include <math.h>
93862 #ifdef HAVE_IEEEFP_H
93863 #include <ieeefp.h>
93864 #endif
93867 main ()
93869 log10l(0);
93871 return 0;
93873 _ACEOF
93874 rm -f conftest.$ac_objext
93875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93876 (eval $ac_compile) 2>conftest.er1
93877 ac_status=$?
93878 grep -v '^ *+' conftest.er1 >conftest.err
93879 rm -f conftest.er1
93880 cat conftest.err >&5
93881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93882 (exit $ac_status); } &&
93883 { ac_try='test -z "$ac_cxx_werror_flag"
93884 || test ! -s conftest.err'
93885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93886 (eval $ac_try) 2>&5
93887 ac_status=$?
93888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93889 (exit $ac_status); }; } &&
93890 { ac_try='test -s conftest.$ac_objext'
93891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93892 (eval $ac_try) 2>&5
93893 ac_status=$?
93894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93895 (exit $ac_status); }; }; then
93896 glibcxx_cv_func_log10l_use=yes
93897 else
93898 echo "$as_me: failed program was:" >&5
93899 sed 's/^/| /' conftest.$ac_ext >&5
93901 glibcxx_cv_func_log10l_use=no
93903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93904 ac_ext=c
93905 ac_cpp='$CPP $CPPFLAGS'
93906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93914 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
93915 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
93917 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
93919 for ac_func in log10l
93921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93922 echo "$as_me:$LINENO: checking for $ac_func" >&5
93923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93924 if eval "test \"\${$as_ac_var+set}\" = set"; then
93925 echo $ECHO_N "(cached) $ECHO_C" >&6
93926 else
93927 if test x$gcc_no_link = xyes; then
93928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93930 { (exit 1); exit 1; }; }
93932 cat >conftest.$ac_ext <<_ACEOF
93933 /* confdefs.h. */
93934 _ACEOF
93935 cat confdefs.h >>conftest.$ac_ext
93936 cat >>conftest.$ac_ext <<_ACEOF
93937 /* end confdefs.h. */
93938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93940 #define $ac_func innocuous_$ac_func
93942 /* System header to define __stub macros and hopefully few prototypes,
93943 which can conflict with char $ac_func (); below.
93944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93945 <limits.h> exists even on freestanding compilers. */
93947 #ifdef __STDC__
93948 # include <limits.h>
93949 #else
93950 # include <assert.h>
93951 #endif
93953 #undef $ac_func
93955 /* Override any gcc2 internal prototype to avoid an error. */
93956 #ifdef __cplusplus
93957 extern "C"
93959 #endif
93960 /* We use char because int might match the return type of a gcc2
93961 builtin and then its argument prototype would still apply. */
93962 char $ac_func ();
93963 /* The GNU C library defines this for functions which it implements
93964 to always fail with ENOSYS. Some functions are actually named
93965 something starting with __ and the normal name is an alias. */
93966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93967 choke me
93968 #else
93969 char (*f) () = $ac_func;
93970 #endif
93971 #ifdef __cplusplus
93973 #endif
93976 main ()
93978 return f != $ac_func;
93980 return 0;
93982 _ACEOF
93983 rm -f conftest.$ac_objext conftest$ac_exeext
93984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93985 (eval $ac_link) 2>conftest.er1
93986 ac_status=$?
93987 grep -v '^ *+' conftest.er1 >conftest.err
93988 rm -f conftest.er1
93989 cat conftest.err >&5
93990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93991 (exit $ac_status); } &&
93992 { ac_try='test -z "$ac_c_werror_flag"
93993 || test ! -s conftest.err'
93994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93995 (eval $ac_try) 2>&5
93996 ac_status=$?
93997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93998 (exit $ac_status); }; } &&
93999 { ac_try='test -s conftest$ac_exeext'
94000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94001 (eval $ac_try) 2>&5
94002 ac_status=$?
94003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94004 (exit $ac_status); }; }; then
94005 eval "$as_ac_var=yes"
94006 else
94007 echo "$as_me: failed program was:" >&5
94008 sed 's/^/| /' conftest.$ac_ext >&5
94010 eval "$as_ac_var=no"
94012 rm -f conftest.err conftest.$ac_objext \
94013 conftest$ac_exeext conftest.$ac_ext
94015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94017 if test `eval echo '${'$as_ac_var'}'` = yes; then
94018 cat >>confdefs.h <<_ACEOF
94019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94020 _ACEOF
94023 done
94025 else
94027 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
94028 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
94029 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
94030 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
94031 echo $ECHO_N "(cached) $ECHO_C" >&6
94032 else
94036 ac_ext=cc
94037 ac_cpp='$CXXCPP $CPPFLAGS'
94038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94042 cat >conftest.$ac_ext <<_ACEOF
94043 /* confdefs.h. */
94044 _ACEOF
94045 cat confdefs.h >>conftest.$ac_ext
94046 cat >>conftest.$ac_ext <<_ACEOF
94047 /* end confdefs.h. */
94048 #include <math.h>
94049 #ifdef HAVE_IEEEFP_H
94050 #include <ieeefp.h>
94051 #endif
94054 main ()
94056 _log10l(0);
94058 return 0;
94060 _ACEOF
94061 rm -f conftest.$ac_objext
94062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94063 (eval $ac_compile) 2>conftest.er1
94064 ac_status=$?
94065 grep -v '^ *+' conftest.er1 >conftest.err
94066 rm -f conftest.er1
94067 cat conftest.err >&5
94068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94069 (exit $ac_status); } &&
94070 { ac_try='test -z "$ac_cxx_werror_flag"
94071 || test ! -s conftest.err'
94072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94073 (eval $ac_try) 2>&5
94074 ac_status=$?
94075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94076 (exit $ac_status); }; } &&
94077 { ac_try='test -s conftest.$ac_objext'
94078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94079 (eval $ac_try) 2>&5
94080 ac_status=$?
94081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94082 (exit $ac_status); }; }; then
94083 glibcxx_cv_func__log10l_use=yes
94084 else
94085 echo "$as_me: failed program was:" >&5
94086 sed 's/^/| /' conftest.$ac_ext >&5
94088 glibcxx_cv_func__log10l_use=no
94090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94091 ac_ext=c
94092 ac_cpp='$CPP $CPPFLAGS'
94093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94101 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
94102 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
94104 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
94106 for ac_func in _log10l
94108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94109 echo "$as_me:$LINENO: checking for $ac_func" >&5
94110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94111 if eval "test \"\${$as_ac_var+set}\" = set"; then
94112 echo $ECHO_N "(cached) $ECHO_C" >&6
94113 else
94114 if test x$gcc_no_link = xyes; then
94115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94117 { (exit 1); exit 1; }; }
94119 cat >conftest.$ac_ext <<_ACEOF
94120 /* confdefs.h. */
94121 _ACEOF
94122 cat confdefs.h >>conftest.$ac_ext
94123 cat >>conftest.$ac_ext <<_ACEOF
94124 /* end confdefs.h. */
94125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94127 #define $ac_func innocuous_$ac_func
94129 /* System header to define __stub macros and hopefully few prototypes,
94130 which can conflict with char $ac_func (); below.
94131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94132 <limits.h> exists even on freestanding compilers. */
94134 #ifdef __STDC__
94135 # include <limits.h>
94136 #else
94137 # include <assert.h>
94138 #endif
94140 #undef $ac_func
94142 /* Override any gcc2 internal prototype to avoid an error. */
94143 #ifdef __cplusplus
94144 extern "C"
94146 #endif
94147 /* We use char because int might match the return type of a gcc2
94148 builtin and then its argument prototype would still apply. */
94149 char $ac_func ();
94150 /* The GNU C library defines this for functions which it implements
94151 to always fail with ENOSYS. Some functions are actually named
94152 something starting with __ and the normal name is an alias. */
94153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94154 choke me
94155 #else
94156 char (*f) () = $ac_func;
94157 #endif
94158 #ifdef __cplusplus
94160 #endif
94163 main ()
94165 return f != $ac_func;
94167 return 0;
94169 _ACEOF
94170 rm -f conftest.$ac_objext conftest$ac_exeext
94171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94172 (eval $ac_link) 2>conftest.er1
94173 ac_status=$?
94174 grep -v '^ *+' conftest.er1 >conftest.err
94175 rm -f conftest.er1
94176 cat conftest.err >&5
94177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94178 (exit $ac_status); } &&
94179 { ac_try='test -z "$ac_c_werror_flag"
94180 || test ! -s conftest.err'
94181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94182 (eval $ac_try) 2>&5
94183 ac_status=$?
94184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94185 (exit $ac_status); }; } &&
94186 { ac_try='test -s conftest$ac_exeext'
94187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94188 (eval $ac_try) 2>&5
94189 ac_status=$?
94190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94191 (exit $ac_status); }; }; then
94192 eval "$as_ac_var=yes"
94193 else
94194 echo "$as_me: failed program was:" >&5
94195 sed 's/^/| /' conftest.$ac_ext >&5
94197 eval "$as_ac_var=no"
94199 rm -f conftest.err conftest.$ac_objext \
94200 conftest$ac_exeext conftest.$ac_ext
94202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94204 if test `eval echo '${'$as_ac_var'}'` = yes; then
94205 cat >>confdefs.h <<_ACEOF
94206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94207 _ACEOF
94210 done
94220 echo "$as_me:$LINENO: checking for modfl declaration" >&5
94221 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
94222 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
94223 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
94224 echo $ECHO_N "(cached) $ECHO_C" >&6
94225 else
94229 ac_ext=cc
94230 ac_cpp='$CXXCPP $CPPFLAGS'
94231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94235 cat >conftest.$ac_ext <<_ACEOF
94236 /* confdefs.h. */
94237 _ACEOF
94238 cat confdefs.h >>conftest.$ac_ext
94239 cat >>conftest.$ac_ext <<_ACEOF
94240 /* end confdefs.h. */
94241 #include <math.h>
94243 main ()
94245 modfl(0, 0);
94247 return 0;
94249 _ACEOF
94250 rm -f conftest.$ac_objext
94251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94252 (eval $ac_compile) 2>conftest.er1
94253 ac_status=$?
94254 grep -v '^ *+' conftest.er1 >conftest.err
94255 rm -f conftest.er1
94256 cat conftest.err >&5
94257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94258 (exit $ac_status); } &&
94259 { ac_try='test -z "$ac_cxx_werror_flag"
94260 || test ! -s conftest.err'
94261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94262 (eval $ac_try) 2>&5
94263 ac_status=$?
94264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94265 (exit $ac_status); }; } &&
94266 { ac_try='test -s conftest.$ac_objext'
94267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94268 (eval $ac_try) 2>&5
94269 ac_status=$?
94270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94271 (exit $ac_status); }; }; then
94272 glibcxx_cv_func_modfl_use=yes
94273 else
94274 echo "$as_me: failed program was:" >&5
94275 sed 's/^/| /' conftest.$ac_ext >&5
94277 glibcxx_cv_func_modfl_use=no
94279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94280 ac_ext=c
94281 ac_cpp='$CPP $CPPFLAGS'
94282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
94291 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
94293 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
94295 for ac_func in modfl
94297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94298 echo "$as_me:$LINENO: checking for $ac_func" >&5
94299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94300 if eval "test \"\${$as_ac_var+set}\" = set"; then
94301 echo $ECHO_N "(cached) $ECHO_C" >&6
94302 else
94303 if test x$gcc_no_link = xyes; then
94304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94306 { (exit 1); exit 1; }; }
94308 cat >conftest.$ac_ext <<_ACEOF
94309 /* confdefs.h. */
94310 _ACEOF
94311 cat confdefs.h >>conftest.$ac_ext
94312 cat >>conftest.$ac_ext <<_ACEOF
94313 /* end confdefs.h. */
94314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94316 #define $ac_func innocuous_$ac_func
94318 /* System header to define __stub macros and hopefully few prototypes,
94319 which can conflict with char $ac_func (); below.
94320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94321 <limits.h> exists even on freestanding compilers. */
94323 #ifdef __STDC__
94324 # include <limits.h>
94325 #else
94326 # include <assert.h>
94327 #endif
94329 #undef $ac_func
94331 /* Override any gcc2 internal prototype to avoid an error. */
94332 #ifdef __cplusplus
94333 extern "C"
94335 #endif
94336 /* We use char because int might match the return type of a gcc2
94337 builtin and then its argument prototype would still apply. */
94338 char $ac_func ();
94339 /* The GNU C library defines this for functions which it implements
94340 to always fail with ENOSYS. Some functions are actually named
94341 something starting with __ and the normal name is an alias. */
94342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94343 choke me
94344 #else
94345 char (*f) () = $ac_func;
94346 #endif
94347 #ifdef __cplusplus
94349 #endif
94352 main ()
94354 return f != $ac_func;
94356 return 0;
94358 _ACEOF
94359 rm -f conftest.$ac_objext conftest$ac_exeext
94360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94361 (eval $ac_link) 2>conftest.er1
94362 ac_status=$?
94363 grep -v '^ *+' conftest.er1 >conftest.err
94364 rm -f conftest.er1
94365 cat conftest.err >&5
94366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94367 (exit $ac_status); } &&
94368 { ac_try='test -z "$ac_c_werror_flag"
94369 || test ! -s conftest.err'
94370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94371 (eval $ac_try) 2>&5
94372 ac_status=$?
94373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94374 (exit $ac_status); }; } &&
94375 { ac_try='test -s conftest$ac_exeext'
94376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94377 (eval $ac_try) 2>&5
94378 ac_status=$?
94379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94380 (exit $ac_status); }; }; then
94381 eval "$as_ac_var=yes"
94382 else
94383 echo "$as_me: failed program was:" >&5
94384 sed 's/^/| /' conftest.$ac_ext >&5
94386 eval "$as_ac_var=no"
94388 rm -f conftest.err conftest.$ac_objext \
94389 conftest$ac_exeext conftest.$ac_ext
94391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94393 if test `eval echo '${'$as_ac_var'}'` = yes; then
94394 cat >>confdefs.h <<_ACEOF
94395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94396 _ACEOF
94399 done
94401 else
94403 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
94404 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
94405 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
94406 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
94407 echo $ECHO_N "(cached) $ECHO_C" >&6
94408 else
94412 ac_ext=cc
94413 ac_cpp='$CXXCPP $CPPFLAGS'
94414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94418 cat >conftest.$ac_ext <<_ACEOF
94419 /* confdefs.h. */
94420 _ACEOF
94421 cat confdefs.h >>conftest.$ac_ext
94422 cat >>conftest.$ac_ext <<_ACEOF
94423 /* end confdefs.h. */
94424 #include <math.h>
94426 main ()
94428 _modfl(0, 0);
94430 return 0;
94432 _ACEOF
94433 rm -f conftest.$ac_objext
94434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94435 (eval $ac_compile) 2>conftest.er1
94436 ac_status=$?
94437 grep -v '^ *+' conftest.er1 >conftest.err
94438 rm -f conftest.er1
94439 cat conftest.err >&5
94440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94441 (exit $ac_status); } &&
94442 { ac_try='test -z "$ac_cxx_werror_flag"
94443 || test ! -s conftest.err'
94444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94445 (eval $ac_try) 2>&5
94446 ac_status=$?
94447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94448 (exit $ac_status); }; } &&
94449 { ac_try='test -s conftest.$ac_objext'
94450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94451 (eval $ac_try) 2>&5
94452 ac_status=$?
94453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94454 (exit $ac_status); }; }; then
94455 glibcxx_cv_func__modfl_use=yes
94456 else
94457 echo "$as_me: failed program was:" >&5
94458 sed 's/^/| /' conftest.$ac_ext >&5
94460 glibcxx_cv_func__modfl_use=no
94462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94463 ac_ext=c
94464 ac_cpp='$CPP $CPPFLAGS'
94465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94473 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
94474 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
94476 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
94478 for ac_func in _modfl
94480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94481 echo "$as_me:$LINENO: checking for $ac_func" >&5
94482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94483 if eval "test \"\${$as_ac_var+set}\" = set"; then
94484 echo $ECHO_N "(cached) $ECHO_C" >&6
94485 else
94486 if test x$gcc_no_link = xyes; then
94487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94489 { (exit 1); exit 1; }; }
94491 cat >conftest.$ac_ext <<_ACEOF
94492 /* confdefs.h. */
94493 _ACEOF
94494 cat confdefs.h >>conftest.$ac_ext
94495 cat >>conftest.$ac_ext <<_ACEOF
94496 /* end confdefs.h. */
94497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94499 #define $ac_func innocuous_$ac_func
94501 /* System header to define __stub macros and hopefully few prototypes,
94502 which can conflict with char $ac_func (); below.
94503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94504 <limits.h> exists even on freestanding compilers. */
94506 #ifdef __STDC__
94507 # include <limits.h>
94508 #else
94509 # include <assert.h>
94510 #endif
94512 #undef $ac_func
94514 /* Override any gcc2 internal prototype to avoid an error. */
94515 #ifdef __cplusplus
94516 extern "C"
94518 #endif
94519 /* We use char because int might match the return type of a gcc2
94520 builtin and then its argument prototype would still apply. */
94521 char $ac_func ();
94522 /* The GNU C library defines this for functions which it implements
94523 to always fail with ENOSYS. Some functions are actually named
94524 something starting with __ and the normal name is an alias. */
94525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94526 choke me
94527 #else
94528 char (*f) () = $ac_func;
94529 #endif
94530 #ifdef __cplusplus
94532 #endif
94535 main ()
94537 return f != $ac_func;
94539 return 0;
94541 _ACEOF
94542 rm -f conftest.$ac_objext conftest$ac_exeext
94543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94544 (eval $ac_link) 2>conftest.er1
94545 ac_status=$?
94546 grep -v '^ *+' conftest.er1 >conftest.err
94547 rm -f conftest.er1
94548 cat conftest.err >&5
94549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94550 (exit $ac_status); } &&
94551 { ac_try='test -z "$ac_c_werror_flag"
94552 || test ! -s conftest.err'
94553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94554 (eval $ac_try) 2>&5
94555 ac_status=$?
94556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94557 (exit $ac_status); }; } &&
94558 { ac_try='test -s conftest$ac_exeext'
94559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94560 (eval $ac_try) 2>&5
94561 ac_status=$?
94562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94563 (exit $ac_status); }; }; then
94564 eval "$as_ac_var=yes"
94565 else
94566 echo "$as_me: failed program was:" >&5
94567 sed 's/^/| /' conftest.$ac_ext >&5
94569 eval "$as_ac_var=no"
94571 rm -f conftest.err conftest.$ac_objext \
94572 conftest$ac_exeext conftest.$ac_ext
94574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94576 if test `eval echo '${'$as_ac_var'}'` = yes; then
94577 cat >>confdefs.h <<_ACEOF
94578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94579 _ACEOF
94582 done
94592 echo "$as_me:$LINENO: checking for powl declaration" >&5
94593 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
94594 if test x${glibcxx_cv_func_powl_use+set} != xset; then
94595 if test "${glibcxx_cv_func_powl_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 powl(0, 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_powl_use=yes
94645 else
94646 echo "$as_me: failed program was:" >&5
94647 sed 's/^/| /' conftest.$ac_ext >&5
94649 glibcxx_cv_func_powl_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_powl_use" >&5
94663 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
94665 if test x$glibcxx_cv_func_powl_use = x"yes"; then
94667 for ac_func in powl
94669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94670 echo "$as_me:$LINENO: checking for $ac_func" >&5
94671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94672 if eval "test \"\${$as_ac_var+set}\" = set"; then
94673 echo $ECHO_N "(cached) $ECHO_C" >&6
94674 else
94675 if test x$gcc_no_link = xyes; then
94676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94678 { (exit 1); exit 1; }; }
94680 cat >conftest.$ac_ext <<_ACEOF
94681 /* confdefs.h. */
94682 _ACEOF
94683 cat confdefs.h >>conftest.$ac_ext
94684 cat >>conftest.$ac_ext <<_ACEOF
94685 /* end confdefs.h. */
94686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94688 #define $ac_func innocuous_$ac_func
94690 /* System header to define __stub macros and hopefully few prototypes,
94691 which can conflict with char $ac_func (); below.
94692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94693 <limits.h> exists even on freestanding compilers. */
94695 #ifdef __STDC__
94696 # include <limits.h>
94697 #else
94698 # include <assert.h>
94699 #endif
94701 #undef $ac_func
94703 /* Override any gcc2 internal prototype to avoid an error. */
94704 #ifdef __cplusplus
94705 extern "C"
94707 #endif
94708 /* We use char because int might match the return type of a gcc2
94709 builtin and then its argument prototype would still apply. */
94710 char $ac_func ();
94711 /* The GNU C library defines this for functions which it implements
94712 to always fail with ENOSYS. Some functions are actually named
94713 something starting with __ and the normal name is an alias. */
94714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94715 choke me
94716 #else
94717 char (*f) () = $ac_func;
94718 #endif
94719 #ifdef __cplusplus
94721 #endif
94724 main ()
94726 return f != $ac_func;
94728 return 0;
94730 _ACEOF
94731 rm -f conftest.$ac_objext conftest$ac_exeext
94732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94733 (eval $ac_link) 2>conftest.er1
94734 ac_status=$?
94735 grep -v '^ *+' conftest.er1 >conftest.err
94736 rm -f conftest.er1
94737 cat conftest.err >&5
94738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94739 (exit $ac_status); } &&
94740 { ac_try='test -z "$ac_c_werror_flag"
94741 || test ! -s conftest.err'
94742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94743 (eval $ac_try) 2>&5
94744 ac_status=$?
94745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94746 (exit $ac_status); }; } &&
94747 { ac_try='test -s conftest$ac_exeext'
94748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94749 (eval $ac_try) 2>&5
94750 ac_status=$?
94751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94752 (exit $ac_status); }; }; then
94753 eval "$as_ac_var=yes"
94754 else
94755 echo "$as_me: failed program was:" >&5
94756 sed 's/^/| /' conftest.$ac_ext >&5
94758 eval "$as_ac_var=no"
94760 rm -f conftest.err conftest.$ac_objext \
94761 conftest$ac_exeext conftest.$ac_ext
94763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94765 if test `eval echo '${'$as_ac_var'}'` = yes; then
94766 cat >>confdefs.h <<_ACEOF
94767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94768 _ACEOF
94771 done
94773 else
94775 echo "$as_me:$LINENO: checking for _powl declaration" >&5
94776 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
94777 if test x${glibcxx_cv_func__powl_use+set} != xset; then
94778 if test "${glibcxx_cv_func__powl_use+set}" = set; then
94779 echo $ECHO_N "(cached) $ECHO_C" >&6
94780 else
94784 ac_ext=cc
94785 ac_cpp='$CXXCPP $CPPFLAGS'
94786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94790 cat >conftest.$ac_ext <<_ACEOF
94791 /* confdefs.h. */
94792 _ACEOF
94793 cat confdefs.h >>conftest.$ac_ext
94794 cat >>conftest.$ac_ext <<_ACEOF
94795 /* end confdefs.h. */
94796 #include <math.h>
94798 main ()
94800 _powl(0, 0);
94802 return 0;
94804 _ACEOF
94805 rm -f conftest.$ac_objext
94806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94807 (eval $ac_compile) 2>conftest.er1
94808 ac_status=$?
94809 grep -v '^ *+' conftest.er1 >conftest.err
94810 rm -f conftest.er1
94811 cat conftest.err >&5
94812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94813 (exit $ac_status); } &&
94814 { ac_try='test -z "$ac_cxx_werror_flag"
94815 || test ! -s conftest.err'
94816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94817 (eval $ac_try) 2>&5
94818 ac_status=$?
94819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94820 (exit $ac_status); }; } &&
94821 { ac_try='test -s conftest.$ac_objext'
94822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94823 (eval $ac_try) 2>&5
94824 ac_status=$?
94825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94826 (exit $ac_status); }; }; then
94827 glibcxx_cv_func__powl_use=yes
94828 else
94829 echo "$as_me: failed program was:" >&5
94830 sed 's/^/| /' conftest.$ac_ext >&5
94832 glibcxx_cv_func__powl_use=no
94834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94835 ac_ext=c
94836 ac_cpp='$CPP $CPPFLAGS'
94837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94845 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
94846 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
94848 if test x$glibcxx_cv_func__powl_use = x"yes"; then
94850 for ac_func in _powl
94852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94853 echo "$as_me:$LINENO: checking for $ac_func" >&5
94854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94855 if eval "test \"\${$as_ac_var+set}\" = set"; then
94856 echo $ECHO_N "(cached) $ECHO_C" >&6
94857 else
94858 if test x$gcc_no_link = xyes; then
94859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94861 { (exit 1); exit 1; }; }
94863 cat >conftest.$ac_ext <<_ACEOF
94864 /* confdefs.h. */
94865 _ACEOF
94866 cat confdefs.h >>conftest.$ac_ext
94867 cat >>conftest.$ac_ext <<_ACEOF
94868 /* end confdefs.h. */
94869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94871 #define $ac_func innocuous_$ac_func
94873 /* System header to define __stub macros and hopefully few prototypes,
94874 which can conflict with char $ac_func (); below.
94875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94876 <limits.h> exists even on freestanding compilers. */
94878 #ifdef __STDC__
94879 # include <limits.h>
94880 #else
94881 # include <assert.h>
94882 #endif
94884 #undef $ac_func
94886 /* Override any gcc2 internal prototype to avoid an error. */
94887 #ifdef __cplusplus
94888 extern "C"
94890 #endif
94891 /* We use char because int might match the return type of a gcc2
94892 builtin and then its argument prototype would still apply. */
94893 char $ac_func ();
94894 /* The GNU C library defines this for functions which it implements
94895 to always fail with ENOSYS. Some functions are actually named
94896 something starting with __ and the normal name is an alias. */
94897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94898 choke me
94899 #else
94900 char (*f) () = $ac_func;
94901 #endif
94902 #ifdef __cplusplus
94904 #endif
94907 main ()
94909 return f != $ac_func;
94911 return 0;
94913 _ACEOF
94914 rm -f conftest.$ac_objext conftest$ac_exeext
94915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94916 (eval $ac_link) 2>conftest.er1
94917 ac_status=$?
94918 grep -v '^ *+' conftest.er1 >conftest.err
94919 rm -f conftest.er1
94920 cat conftest.err >&5
94921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94922 (exit $ac_status); } &&
94923 { ac_try='test -z "$ac_c_werror_flag"
94924 || test ! -s conftest.err'
94925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94926 (eval $ac_try) 2>&5
94927 ac_status=$?
94928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94929 (exit $ac_status); }; } &&
94930 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
94936 eval "$as_ac_var=yes"
94937 else
94938 echo "$as_me: failed program was:" >&5
94939 sed 's/^/| /' conftest.$ac_ext >&5
94941 eval "$as_ac_var=no"
94943 rm -f conftest.err conftest.$ac_objext \
94944 conftest$ac_exeext conftest.$ac_ext
94946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94948 if test `eval echo '${'$as_ac_var'}'` = yes; then
94949 cat >>confdefs.h <<_ACEOF
94950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94951 _ACEOF
94954 done
94964 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
94965 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
94966 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
94967 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
94968 echo $ECHO_N "(cached) $ECHO_C" >&6
94969 else
94973 ac_ext=cc
94974 ac_cpp='$CXXCPP $CPPFLAGS'
94975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94979 cat >conftest.$ac_ext <<_ACEOF
94980 /* confdefs.h. */
94981 _ACEOF
94982 cat confdefs.h >>conftest.$ac_ext
94983 cat >>conftest.$ac_ext <<_ACEOF
94984 /* end confdefs.h. */
94985 #include <math.h>
94986 #ifdef HAVE_IEEEFP_H
94987 #include <ieeefp.h>
94988 #endif
94991 main ()
94993 sqrtl(0);
94995 return 0;
94997 _ACEOF
94998 rm -f conftest.$ac_objext
94999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95000 (eval $ac_compile) 2>conftest.er1
95001 ac_status=$?
95002 grep -v '^ *+' conftest.er1 >conftest.err
95003 rm -f conftest.er1
95004 cat conftest.err >&5
95005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95006 (exit $ac_status); } &&
95007 { ac_try='test -z "$ac_cxx_werror_flag"
95008 || test ! -s conftest.err'
95009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95010 (eval $ac_try) 2>&5
95011 ac_status=$?
95012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95013 (exit $ac_status); }; } &&
95014 { ac_try='test -s conftest.$ac_objext'
95015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95016 (eval $ac_try) 2>&5
95017 ac_status=$?
95018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95019 (exit $ac_status); }; }; then
95020 glibcxx_cv_func_sqrtl_use=yes
95021 else
95022 echo "$as_me: failed program was:" >&5
95023 sed 's/^/| /' conftest.$ac_ext >&5
95025 glibcxx_cv_func_sqrtl_use=no
95027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95028 ac_ext=c
95029 ac_cpp='$CPP $CPPFLAGS'
95030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95038 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
95039 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
95041 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
95043 for ac_func in sqrtl
95045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95046 echo "$as_me:$LINENO: checking for $ac_func" >&5
95047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95048 if eval "test \"\${$as_ac_var+set}\" = set"; then
95049 echo $ECHO_N "(cached) $ECHO_C" >&6
95050 else
95051 if test x$gcc_no_link = xyes; then
95052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95054 { (exit 1); exit 1; }; }
95056 cat >conftest.$ac_ext <<_ACEOF
95057 /* confdefs.h. */
95058 _ACEOF
95059 cat confdefs.h >>conftest.$ac_ext
95060 cat >>conftest.$ac_ext <<_ACEOF
95061 /* end confdefs.h. */
95062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95064 #define $ac_func innocuous_$ac_func
95066 /* System header to define __stub macros and hopefully few prototypes,
95067 which can conflict with char $ac_func (); below.
95068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95069 <limits.h> exists even on freestanding compilers. */
95071 #ifdef __STDC__
95072 # include <limits.h>
95073 #else
95074 # include <assert.h>
95075 #endif
95077 #undef $ac_func
95079 /* Override any gcc2 internal prototype to avoid an error. */
95080 #ifdef __cplusplus
95081 extern "C"
95083 #endif
95084 /* We use char because int might match the return type of a gcc2
95085 builtin and then its argument prototype would still apply. */
95086 char $ac_func ();
95087 /* The GNU C library defines this for functions which it implements
95088 to always fail with ENOSYS. Some functions are actually named
95089 something starting with __ and the normal name is an alias. */
95090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95091 choke me
95092 #else
95093 char (*f) () = $ac_func;
95094 #endif
95095 #ifdef __cplusplus
95097 #endif
95100 main ()
95102 return f != $ac_func;
95104 return 0;
95106 _ACEOF
95107 rm -f conftest.$ac_objext conftest$ac_exeext
95108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95109 (eval $ac_link) 2>conftest.er1
95110 ac_status=$?
95111 grep -v '^ *+' conftest.er1 >conftest.err
95112 rm -f conftest.er1
95113 cat conftest.err >&5
95114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95115 (exit $ac_status); } &&
95116 { ac_try='test -z "$ac_c_werror_flag"
95117 || test ! -s conftest.err'
95118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95119 (eval $ac_try) 2>&5
95120 ac_status=$?
95121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95122 (exit $ac_status); }; } &&
95123 { ac_try='test -s conftest$ac_exeext'
95124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95125 (eval $ac_try) 2>&5
95126 ac_status=$?
95127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95128 (exit $ac_status); }; }; then
95129 eval "$as_ac_var=yes"
95130 else
95131 echo "$as_me: failed program was:" >&5
95132 sed 's/^/| /' conftest.$ac_ext >&5
95134 eval "$as_ac_var=no"
95136 rm -f conftest.err conftest.$ac_objext \
95137 conftest$ac_exeext conftest.$ac_ext
95139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95141 if test `eval echo '${'$as_ac_var'}'` = yes; then
95142 cat >>confdefs.h <<_ACEOF
95143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95144 _ACEOF
95147 done
95149 else
95151 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
95152 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
95153 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
95154 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
95155 echo $ECHO_N "(cached) $ECHO_C" >&6
95156 else
95160 ac_ext=cc
95161 ac_cpp='$CXXCPP $CPPFLAGS'
95162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95166 cat >conftest.$ac_ext <<_ACEOF
95167 /* confdefs.h. */
95168 _ACEOF
95169 cat confdefs.h >>conftest.$ac_ext
95170 cat >>conftest.$ac_ext <<_ACEOF
95171 /* end confdefs.h. */
95172 #include <math.h>
95173 #ifdef HAVE_IEEEFP_H
95174 #include <ieeefp.h>
95175 #endif
95178 main ()
95180 _sqrtl(0);
95182 return 0;
95184 _ACEOF
95185 rm -f conftest.$ac_objext
95186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95187 (eval $ac_compile) 2>conftest.er1
95188 ac_status=$?
95189 grep -v '^ *+' conftest.er1 >conftest.err
95190 rm -f conftest.er1
95191 cat conftest.err >&5
95192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95193 (exit $ac_status); } &&
95194 { ac_try='test -z "$ac_cxx_werror_flag"
95195 || test ! -s conftest.err'
95196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95197 (eval $ac_try) 2>&5
95198 ac_status=$?
95199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95200 (exit $ac_status); }; } &&
95201 { ac_try='test -s conftest.$ac_objext'
95202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95203 (eval $ac_try) 2>&5
95204 ac_status=$?
95205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95206 (exit $ac_status); }; }; then
95207 glibcxx_cv_func__sqrtl_use=yes
95208 else
95209 echo "$as_me: failed program was:" >&5
95210 sed 's/^/| /' conftest.$ac_ext >&5
95212 glibcxx_cv_func__sqrtl_use=no
95214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95215 ac_ext=c
95216 ac_cpp='$CPP $CPPFLAGS'
95217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95225 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
95226 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
95228 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
95230 for ac_func in _sqrtl
95232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95233 echo "$as_me:$LINENO: checking for $ac_func" >&5
95234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95235 if eval "test \"\${$as_ac_var+set}\" = set"; then
95236 echo $ECHO_N "(cached) $ECHO_C" >&6
95237 else
95238 if test x$gcc_no_link = xyes; then
95239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95241 { (exit 1); exit 1; }; }
95243 cat >conftest.$ac_ext <<_ACEOF
95244 /* confdefs.h. */
95245 _ACEOF
95246 cat confdefs.h >>conftest.$ac_ext
95247 cat >>conftest.$ac_ext <<_ACEOF
95248 /* end confdefs.h. */
95249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95251 #define $ac_func innocuous_$ac_func
95253 /* System header to define __stub macros and hopefully few prototypes,
95254 which can conflict with char $ac_func (); below.
95255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95256 <limits.h> exists even on freestanding compilers. */
95258 #ifdef __STDC__
95259 # include <limits.h>
95260 #else
95261 # include <assert.h>
95262 #endif
95264 #undef $ac_func
95266 /* Override any gcc2 internal prototype to avoid an error. */
95267 #ifdef __cplusplus
95268 extern "C"
95270 #endif
95271 /* We use char because int might match the return type of a gcc2
95272 builtin and then its argument prototype would still apply. */
95273 char $ac_func ();
95274 /* The GNU C library defines this for functions which it implements
95275 to always fail with ENOSYS. Some functions are actually named
95276 something starting with __ and the normal name is an alias. */
95277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95278 choke me
95279 #else
95280 char (*f) () = $ac_func;
95281 #endif
95282 #ifdef __cplusplus
95284 #endif
95287 main ()
95289 return f != $ac_func;
95291 return 0;
95293 _ACEOF
95294 rm -f conftest.$ac_objext conftest$ac_exeext
95295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95296 (eval $ac_link) 2>conftest.er1
95297 ac_status=$?
95298 grep -v '^ *+' conftest.er1 >conftest.err
95299 rm -f conftest.er1
95300 cat conftest.err >&5
95301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95302 (exit $ac_status); } &&
95303 { ac_try='test -z "$ac_c_werror_flag"
95304 || test ! -s conftest.err'
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); }; } &&
95310 { ac_try='test -s conftest$ac_exeext'
95311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95312 (eval $ac_try) 2>&5
95313 ac_status=$?
95314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95315 (exit $ac_status); }; }; then
95316 eval "$as_ac_var=yes"
95317 else
95318 echo "$as_me: failed program was:" >&5
95319 sed 's/^/| /' conftest.$ac_ext >&5
95321 eval "$as_ac_var=no"
95323 rm -f conftest.err conftest.$ac_objext \
95324 conftest$ac_exeext conftest.$ac_ext
95326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95328 if test `eval echo '${'$as_ac_var'}'` = yes; then
95329 cat >>confdefs.h <<_ACEOF
95330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95331 _ACEOF
95334 done
95344 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
95345 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
95346 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
95347 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
95348 echo $ECHO_N "(cached) $ECHO_C" >&6
95349 else
95353 ac_ext=cc
95354 ac_cpp='$CXXCPP $CPPFLAGS'
95355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95359 cat >conftest.$ac_ext <<_ACEOF
95360 /* confdefs.h. */
95361 _ACEOF
95362 cat confdefs.h >>conftest.$ac_ext
95363 cat >>conftest.$ac_ext <<_ACEOF
95364 /* end confdefs.h. */
95365 #include <math.h>
95367 main ()
95369 sincosl(0, 0, 0);
95371 return 0;
95373 _ACEOF
95374 rm -f conftest.$ac_objext
95375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95376 (eval $ac_compile) 2>conftest.er1
95377 ac_status=$?
95378 grep -v '^ *+' conftest.er1 >conftest.err
95379 rm -f conftest.er1
95380 cat conftest.err >&5
95381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95382 (exit $ac_status); } &&
95383 { ac_try='test -z "$ac_cxx_werror_flag"
95384 || test ! -s conftest.err'
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); }; } &&
95390 { ac_try='test -s conftest.$ac_objext'
95391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95392 (eval $ac_try) 2>&5
95393 ac_status=$?
95394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95395 (exit $ac_status); }; }; then
95396 glibcxx_cv_func_sincosl_use=yes
95397 else
95398 echo "$as_me: failed program was:" >&5
95399 sed 's/^/| /' conftest.$ac_ext >&5
95401 glibcxx_cv_func_sincosl_use=no
95403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95404 ac_ext=c
95405 ac_cpp='$CPP $CPPFLAGS'
95406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95414 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
95415 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
95417 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
95419 for ac_func in sincosl
95421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95422 echo "$as_me:$LINENO: checking for $ac_func" >&5
95423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95424 if eval "test \"\${$as_ac_var+set}\" = set"; then
95425 echo $ECHO_N "(cached) $ECHO_C" >&6
95426 else
95427 if test x$gcc_no_link = xyes; then
95428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95430 { (exit 1); exit 1; }; }
95432 cat >conftest.$ac_ext <<_ACEOF
95433 /* confdefs.h. */
95434 _ACEOF
95435 cat confdefs.h >>conftest.$ac_ext
95436 cat >>conftest.$ac_ext <<_ACEOF
95437 /* end confdefs.h. */
95438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95440 #define $ac_func innocuous_$ac_func
95442 /* System header to define __stub macros and hopefully few prototypes,
95443 which can conflict with char $ac_func (); below.
95444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95445 <limits.h> exists even on freestanding compilers. */
95447 #ifdef __STDC__
95448 # include <limits.h>
95449 #else
95450 # include <assert.h>
95451 #endif
95453 #undef $ac_func
95455 /* Override any gcc2 internal prototype to avoid an error. */
95456 #ifdef __cplusplus
95457 extern "C"
95459 #endif
95460 /* We use char because int might match the return type of a gcc2
95461 builtin and then its argument prototype would still apply. */
95462 char $ac_func ();
95463 /* The GNU C library defines this for functions which it implements
95464 to always fail with ENOSYS. Some functions are actually named
95465 something starting with __ and the normal name is an alias. */
95466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95467 choke me
95468 #else
95469 char (*f) () = $ac_func;
95470 #endif
95471 #ifdef __cplusplus
95473 #endif
95476 main ()
95478 return f != $ac_func;
95480 return 0;
95482 _ACEOF
95483 rm -f conftest.$ac_objext conftest$ac_exeext
95484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95485 (eval $ac_link) 2>conftest.er1
95486 ac_status=$?
95487 grep -v '^ *+' conftest.er1 >conftest.err
95488 rm -f conftest.er1
95489 cat conftest.err >&5
95490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95491 (exit $ac_status); } &&
95492 { ac_try='test -z "$ac_c_werror_flag"
95493 || test ! -s conftest.err'
95494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95495 (eval $ac_try) 2>&5
95496 ac_status=$?
95497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95498 (exit $ac_status); }; } &&
95499 { ac_try='test -s conftest$ac_exeext'
95500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95501 (eval $ac_try) 2>&5
95502 ac_status=$?
95503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95504 (exit $ac_status); }; }; then
95505 eval "$as_ac_var=yes"
95506 else
95507 echo "$as_me: failed program was:" >&5
95508 sed 's/^/| /' conftest.$ac_ext >&5
95510 eval "$as_ac_var=no"
95512 rm -f conftest.err conftest.$ac_objext \
95513 conftest$ac_exeext conftest.$ac_ext
95515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95517 if test `eval echo '${'$as_ac_var'}'` = yes; then
95518 cat >>confdefs.h <<_ACEOF
95519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95520 _ACEOF
95523 done
95525 else
95527 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
95528 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
95529 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
95530 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
95531 echo $ECHO_N "(cached) $ECHO_C" >&6
95532 else
95536 ac_ext=cc
95537 ac_cpp='$CXXCPP $CPPFLAGS'
95538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95542 cat >conftest.$ac_ext <<_ACEOF
95543 /* confdefs.h. */
95544 _ACEOF
95545 cat confdefs.h >>conftest.$ac_ext
95546 cat >>conftest.$ac_ext <<_ACEOF
95547 /* end confdefs.h. */
95548 #include <math.h>
95550 main ()
95552 _sincosl(0, 0, 0);
95554 return 0;
95556 _ACEOF
95557 rm -f conftest.$ac_objext
95558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95559 (eval $ac_compile) 2>conftest.er1
95560 ac_status=$?
95561 grep -v '^ *+' conftest.er1 >conftest.err
95562 rm -f conftest.er1
95563 cat conftest.err >&5
95564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95565 (exit $ac_status); } &&
95566 { ac_try='test -z "$ac_cxx_werror_flag"
95567 || test ! -s conftest.err'
95568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95569 (eval $ac_try) 2>&5
95570 ac_status=$?
95571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95572 (exit $ac_status); }; } &&
95573 { ac_try='test -s conftest.$ac_objext'
95574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95575 (eval $ac_try) 2>&5
95576 ac_status=$?
95577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95578 (exit $ac_status); }; }; then
95579 glibcxx_cv_func__sincosl_use=yes
95580 else
95581 echo "$as_me: failed program was:" >&5
95582 sed 's/^/| /' conftest.$ac_ext >&5
95584 glibcxx_cv_func__sincosl_use=no
95586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95587 ac_ext=c
95588 ac_cpp='$CPP $CPPFLAGS'
95589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95597 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
95598 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
95600 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
95602 for ac_func in _sincosl
95604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95605 echo "$as_me:$LINENO: checking for $ac_func" >&5
95606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95607 if eval "test \"\${$as_ac_var+set}\" = set"; then
95608 echo $ECHO_N "(cached) $ECHO_C" >&6
95609 else
95610 if test x$gcc_no_link = xyes; then
95611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95613 { (exit 1); exit 1; }; }
95615 cat >conftest.$ac_ext <<_ACEOF
95616 /* confdefs.h. */
95617 _ACEOF
95618 cat confdefs.h >>conftest.$ac_ext
95619 cat >>conftest.$ac_ext <<_ACEOF
95620 /* end confdefs.h. */
95621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95623 #define $ac_func innocuous_$ac_func
95625 /* System header to define __stub macros and hopefully few prototypes,
95626 which can conflict with char $ac_func (); below.
95627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95628 <limits.h> exists even on freestanding compilers. */
95630 #ifdef __STDC__
95631 # include <limits.h>
95632 #else
95633 # include <assert.h>
95634 #endif
95636 #undef $ac_func
95638 /* Override any gcc2 internal prototype to avoid an error. */
95639 #ifdef __cplusplus
95640 extern "C"
95642 #endif
95643 /* We use char because int might match the return type of a gcc2
95644 builtin and then its argument prototype would still apply. */
95645 char $ac_func ();
95646 /* The GNU C library defines this for functions which it implements
95647 to always fail with ENOSYS. Some functions are actually named
95648 something starting with __ and the normal name is an alias. */
95649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95650 choke me
95651 #else
95652 char (*f) () = $ac_func;
95653 #endif
95654 #ifdef __cplusplus
95656 #endif
95659 main ()
95661 return f != $ac_func;
95663 return 0;
95665 _ACEOF
95666 rm -f conftest.$ac_objext conftest$ac_exeext
95667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95668 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
95689 else
95690 echo "$as_me: failed program was:" >&5
95691 sed 's/^/| /' conftest.$ac_ext >&5
95693 eval "$as_ac_var=no"
95695 rm -f conftest.err conftest.$ac_objext \
95696 conftest$ac_exeext conftest.$ac_ext
95698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95700 if test `eval echo '${'$as_ac_var'}'` = yes; then
95701 cat >>confdefs.h <<_ACEOF
95702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95703 _ACEOF
95706 done
95716 echo "$as_me:$LINENO: checking for finitel declaration" >&5
95717 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
95718 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
95719 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
95720 echo $ECHO_N "(cached) $ECHO_C" >&6
95721 else
95725 ac_ext=cc
95726 ac_cpp='$CXXCPP $CPPFLAGS'
95727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95731 cat >conftest.$ac_ext <<_ACEOF
95732 /* confdefs.h. */
95733 _ACEOF
95734 cat confdefs.h >>conftest.$ac_ext
95735 cat >>conftest.$ac_ext <<_ACEOF
95736 /* end confdefs.h. */
95737 #include <math.h>
95738 #ifdef HAVE_IEEEFP_H
95739 #include <ieeefp.h>
95740 #endif
95743 main ()
95745 finitel(0);
95747 return 0;
95749 _ACEOF
95750 rm -f conftest.$ac_objext
95751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95752 (eval $ac_compile) 2>conftest.er1
95753 ac_status=$?
95754 grep -v '^ *+' conftest.er1 >conftest.err
95755 rm -f conftest.er1
95756 cat conftest.err >&5
95757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95758 (exit $ac_status); } &&
95759 { ac_try='test -z "$ac_cxx_werror_flag"
95760 || test ! -s conftest.err'
95761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95762 (eval $ac_try) 2>&5
95763 ac_status=$?
95764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95765 (exit $ac_status); }; } &&
95766 { ac_try='test -s conftest.$ac_objext'
95767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95768 (eval $ac_try) 2>&5
95769 ac_status=$?
95770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95771 (exit $ac_status); }; }; then
95772 glibcxx_cv_func_finitel_use=yes
95773 else
95774 echo "$as_me: failed program was:" >&5
95775 sed 's/^/| /' conftest.$ac_ext >&5
95777 glibcxx_cv_func_finitel_use=no
95779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95780 ac_ext=c
95781 ac_cpp='$CPP $CPPFLAGS'
95782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95790 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
95791 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
95793 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
95795 for ac_func in finitel
95797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95798 echo "$as_me:$LINENO: checking for $ac_func" >&5
95799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95800 if eval "test \"\${$as_ac_var+set}\" = set"; then
95801 echo $ECHO_N "(cached) $ECHO_C" >&6
95802 else
95803 if test x$gcc_no_link = xyes; then
95804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95806 { (exit 1); exit 1; }; }
95808 cat >conftest.$ac_ext <<_ACEOF
95809 /* confdefs.h. */
95810 _ACEOF
95811 cat confdefs.h >>conftest.$ac_ext
95812 cat >>conftest.$ac_ext <<_ACEOF
95813 /* end confdefs.h. */
95814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95816 #define $ac_func innocuous_$ac_func
95818 /* System header to define __stub macros and hopefully few prototypes,
95819 which can conflict with char $ac_func (); below.
95820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95821 <limits.h> exists even on freestanding compilers. */
95823 #ifdef __STDC__
95824 # include <limits.h>
95825 #else
95826 # include <assert.h>
95827 #endif
95829 #undef $ac_func
95831 /* Override any gcc2 internal prototype to avoid an error. */
95832 #ifdef __cplusplus
95833 extern "C"
95835 #endif
95836 /* We use char because int might match the return type of a gcc2
95837 builtin and then its argument prototype would still apply. */
95838 char $ac_func ();
95839 /* The GNU C library defines this for functions which it implements
95840 to always fail with ENOSYS. Some functions are actually named
95841 something starting with __ and the normal name is an alias. */
95842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95843 choke me
95844 #else
95845 char (*f) () = $ac_func;
95846 #endif
95847 #ifdef __cplusplus
95849 #endif
95852 main ()
95854 return f != $ac_func;
95856 return 0;
95858 _ACEOF
95859 rm -f conftest.$ac_objext conftest$ac_exeext
95860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95861 (eval $ac_link) 2>conftest.er1
95862 ac_status=$?
95863 grep -v '^ *+' conftest.er1 >conftest.err
95864 rm -f conftest.er1
95865 cat conftest.err >&5
95866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95867 (exit $ac_status); } &&
95868 { ac_try='test -z "$ac_c_werror_flag"
95869 || test ! -s conftest.err'
95870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95871 (eval $ac_try) 2>&5
95872 ac_status=$?
95873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95874 (exit $ac_status); }; } &&
95875 { ac_try='test -s conftest$ac_exeext'
95876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95877 (eval $ac_try) 2>&5
95878 ac_status=$?
95879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95880 (exit $ac_status); }; }; then
95881 eval "$as_ac_var=yes"
95882 else
95883 echo "$as_me: failed program was:" >&5
95884 sed 's/^/| /' conftest.$ac_ext >&5
95886 eval "$as_ac_var=no"
95888 rm -f conftest.err conftest.$ac_objext \
95889 conftest$ac_exeext conftest.$ac_ext
95891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95893 if test `eval echo '${'$as_ac_var'}'` = yes; then
95894 cat >>confdefs.h <<_ACEOF
95895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95896 _ACEOF
95899 done
95901 else
95903 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
95904 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
95905 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
95906 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
95907 echo $ECHO_N "(cached) $ECHO_C" >&6
95908 else
95912 ac_ext=cc
95913 ac_cpp='$CXXCPP $CPPFLAGS'
95914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95918 cat >conftest.$ac_ext <<_ACEOF
95919 /* confdefs.h. */
95920 _ACEOF
95921 cat confdefs.h >>conftest.$ac_ext
95922 cat >>conftest.$ac_ext <<_ACEOF
95923 /* end confdefs.h. */
95924 #include <math.h>
95925 #ifdef HAVE_IEEEFP_H
95926 #include <ieeefp.h>
95927 #endif
95930 main ()
95932 _finitel(0);
95934 return 0;
95936 _ACEOF
95937 rm -f conftest.$ac_objext
95938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95939 (eval $ac_compile) 2>conftest.er1
95940 ac_status=$?
95941 grep -v '^ *+' conftest.er1 >conftest.err
95942 rm -f conftest.er1
95943 cat conftest.err >&5
95944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95945 (exit $ac_status); } &&
95946 { ac_try='test -z "$ac_cxx_werror_flag"
95947 || test ! -s conftest.err'
95948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95949 (eval $ac_try) 2>&5
95950 ac_status=$?
95951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95952 (exit $ac_status); }; } &&
95953 { ac_try='test -s conftest.$ac_objext'
95954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95955 (eval $ac_try) 2>&5
95956 ac_status=$?
95957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95958 (exit $ac_status); }; }; then
95959 glibcxx_cv_func__finitel_use=yes
95960 else
95961 echo "$as_me: failed program was:" >&5
95962 sed 's/^/| /' conftest.$ac_ext >&5
95964 glibcxx_cv_func__finitel_use=no
95966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95967 ac_ext=c
95968 ac_cpp='$CPP $CPPFLAGS'
95969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95977 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
95978 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
95980 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
95982 for ac_func in _finitel
95984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95985 echo "$as_me:$LINENO: checking for $ac_func" >&5
95986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95987 if eval "test \"\${$as_ac_var+set}\" = set"; then
95988 echo $ECHO_N "(cached) $ECHO_C" >&6
95989 else
95990 if test x$gcc_no_link = xyes; then
95991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95993 { (exit 1); exit 1; }; }
95995 cat >conftest.$ac_ext <<_ACEOF
95996 /* confdefs.h. */
95997 _ACEOF
95998 cat confdefs.h >>conftest.$ac_ext
95999 cat >>conftest.$ac_ext <<_ACEOF
96000 /* end confdefs.h. */
96001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96003 #define $ac_func innocuous_$ac_func
96005 /* System header to define __stub macros and hopefully few prototypes,
96006 which can conflict with char $ac_func (); below.
96007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96008 <limits.h> exists even on freestanding compilers. */
96010 #ifdef __STDC__
96011 # include <limits.h>
96012 #else
96013 # include <assert.h>
96014 #endif
96016 #undef $ac_func
96018 /* Override any gcc2 internal prototype to avoid an error. */
96019 #ifdef __cplusplus
96020 extern "C"
96022 #endif
96023 /* We use char because int might match the return type of a gcc2
96024 builtin and then its argument prototype would still apply. */
96025 char $ac_func ();
96026 /* The GNU C library defines this for functions which it implements
96027 to always fail with ENOSYS. Some functions are actually named
96028 something starting with __ and the normal name is an alias. */
96029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96030 choke me
96031 #else
96032 char (*f) () = $ac_func;
96033 #endif
96034 #ifdef __cplusplus
96036 #endif
96039 main ()
96041 return f != $ac_func;
96043 return 0;
96045 _ACEOF
96046 rm -f conftest.$ac_objext conftest$ac_exeext
96047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96048 (eval $ac_link) 2>conftest.er1
96049 ac_status=$?
96050 grep -v '^ *+' conftest.er1 >conftest.err
96051 rm -f conftest.er1
96052 cat conftest.err >&5
96053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96054 (exit $ac_status); } &&
96055 { ac_try='test -z "$ac_c_werror_flag"
96056 || test ! -s conftest.err'
96057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96058 (eval $ac_try) 2>&5
96059 ac_status=$?
96060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96061 (exit $ac_status); }; } &&
96062 { ac_try='test -s conftest$ac_exeext'
96063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96064 (eval $ac_try) 2>&5
96065 ac_status=$?
96066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96067 (exit $ac_status); }; }; then
96068 eval "$as_ac_var=yes"
96069 else
96070 echo "$as_me: failed program was:" >&5
96071 sed 's/^/| /' conftest.$ac_ext >&5
96073 eval "$as_ac_var=no"
96075 rm -f conftest.err conftest.$ac_objext \
96076 conftest$ac_exeext conftest.$ac_ext
96078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96080 if test `eval echo '${'$as_ac_var'}'` = yes; then
96081 cat >>confdefs.h <<_ACEOF
96082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96083 _ACEOF
96086 done
96095 LIBS="$ac_save_LIBS"
96096 CXXFLAGS="$ac_save_CXXFLAGS"
96100 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
96101 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
96102 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
96103 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
96104 echo $ECHO_N "(cached) $ECHO_C" >&6
96105 else
96109 ac_ext=cc
96110 ac_cpp='$CXXCPP $CPPFLAGS'
96111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96115 cat >conftest.$ac_ext <<_ACEOF
96116 /* confdefs.h. */
96117 _ACEOF
96118 cat confdefs.h >>conftest.$ac_ext
96119 cat >>conftest.$ac_ext <<_ACEOF
96120 /* end confdefs.h. */
96121 #include <math.h>
96123 main ()
96125 __builtin_abs(0);
96127 return 0;
96129 _ACEOF
96130 rm -f conftest.$ac_objext
96131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96132 (eval $ac_compile) 2>conftest.er1
96133 ac_status=$?
96134 grep -v '^ *+' conftest.er1 >conftest.err
96135 rm -f conftest.er1
96136 cat conftest.err >&5
96137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96138 (exit $ac_status); } &&
96139 { ac_try='test -z "$ac_cxx_werror_flag"
96140 || test ! -s conftest.err'
96141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96142 (eval $ac_try) 2>&5
96143 ac_status=$?
96144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96145 (exit $ac_status); }; } &&
96146 { ac_try='test -s conftest.$ac_objext'
96147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96148 (eval $ac_try) 2>&5
96149 ac_status=$?
96150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96151 (exit $ac_status); }; }; then
96152 glibcxx_cv_func___builtin_abs_use=yes
96153 else
96154 echo "$as_me: failed program was:" >&5
96155 sed 's/^/| /' conftest.$ac_ext >&5
96157 glibcxx_cv_func___builtin_abs_use=no
96159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96160 ac_ext=c
96161 ac_cpp='$CPP $CPPFLAGS'
96162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96170 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
96171 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
96172 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
96173 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
96174 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
96175 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
96176 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
96177 echo $ECHO_N "(cached) $ECHO_C" >&6
96178 else
96180 if test x$gcc_no_link = xyes; then
96181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96183 { (exit 1); exit 1; }; }
96185 cat >conftest.$ac_ext <<_ACEOF
96186 /* confdefs.h. */
96187 _ACEOF
96188 cat confdefs.h >>conftest.$ac_ext
96189 cat >>conftest.$ac_ext <<_ACEOF
96190 /* end confdefs.h. */
96191 #include <math.h>
96193 main ()
96195 __builtin_abs(0);
96197 return 0;
96199 _ACEOF
96200 rm -f conftest.$ac_objext conftest$ac_exeext
96201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96202 (eval $ac_link) 2>conftest.er1
96203 ac_status=$?
96204 grep -v '^ *+' conftest.er1 >conftest.err
96205 rm -f conftest.er1
96206 cat conftest.err >&5
96207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96208 (exit $ac_status); } &&
96209 { ac_try='test -z "$ac_c_werror_flag"
96210 || test ! -s conftest.err'
96211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96212 (eval $ac_try) 2>&5
96213 ac_status=$?
96214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96215 (exit $ac_status); }; } &&
96216 { ac_try='test -s conftest$ac_exeext'
96217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96218 (eval $ac_try) 2>&5
96219 ac_status=$?
96220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96221 (exit $ac_status); }; }; then
96222 glibcxx_cv_func___builtin_abs_link=yes
96223 else
96224 echo "$as_me: failed program was:" >&5
96225 sed 's/^/| /' conftest.$ac_ext >&5
96227 glibcxx_cv_func___builtin_abs_link=no
96229 rm -f conftest.err conftest.$ac_objext \
96230 conftest$ac_exeext conftest.$ac_ext
96235 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
96236 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
96238 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
96240 cat >>confdefs.h <<\_ACEOF
96241 #define HAVE___BUILTIN_ABS 1
96242 _ACEOF
96249 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
96250 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
96251 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
96252 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
96253 echo $ECHO_N "(cached) $ECHO_C" >&6
96254 else
96258 ac_ext=cc
96259 ac_cpp='$CXXCPP $CPPFLAGS'
96260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96264 cat >conftest.$ac_ext <<_ACEOF
96265 /* confdefs.h. */
96266 _ACEOF
96267 cat confdefs.h >>conftest.$ac_ext
96268 cat >>conftest.$ac_ext <<_ACEOF
96269 /* end confdefs.h. */
96270 #include <math.h>
96272 main ()
96274 __builtin_fabsf(0);
96276 return 0;
96278 _ACEOF
96279 rm -f conftest.$ac_objext
96280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96281 (eval $ac_compile) 2>conftest.er1
96282 ac_status=$?
96283 grep -v '^ *+' conftest.er1 >conftest.err
96284 rm -f conftest.er1
96285 cat conftest.err >&5
96286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96287 (exit $ac_status); } &&
96288 { ac_try='test -z "$ac_cxx_werror_flag"
96289 || test ! -s conftest.err'
96290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96291 (eval $ac_try) 2>&5
96292 ac_status=$?
96293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96294 (exit $ac_status); }; } &&
96295 { ac_try='test -s conftest.$ac_objext'
96296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96297 (eval $ac_try) 2>&5
96298 ac_status=$?
96299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96300 (exit $ac_status); }; }; then
96301 glibcxx_cv_func___builtin_fabsf_use=yes
96302 else
96303 echo "$as_me: failed program was:" >&5
96304 sed 's/^/| /' conftest.$ac_ext >&5
96306 glibcxx_cv_func___builtin_fabsf_use=no
96308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96309 ac_ext=c
96310 ac_cpp='$CPP $CPPFLAGS'
96311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96319 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
96320 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
96321 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
96322 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
96323 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
96324 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
96325 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
96326 echo $ECHO_N "(cached) $ECHO_C" >&6
96327 else
96329 if test x$gcc_no_link = xyes; then
96330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96332 { (exit 1); exit 1; }; }
96334 cat >conftest.$ac_ext <<_ACEOF
96335 /* confdefs.h. */
96336 _ACEOF
96337 cat confdefs.h >>conftest.$ac_ext
96338 cat >>conftest.$ac_ext <<_ACEOF
96339 /* end confdefs.h. */
96340 #include <math.h>
96342 main ()
96344 __builtin_fabsf(0);
96346 return 0;
96348 _ACEOF
96349 rm -f conftest.$ac_objext conftest$ac_exeext
96350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96351 (eval $ac_link) 2>conftest.er1
96352 ac_status=$?
96353 grep -v '^ *+' conftest.er1 >conftest.err
96354 rm -f conftest.er1
96355 cat conftest.err >&5
96356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96357 (exit $ac_status); } &&
96358 { ac_try='test -z "$ac_c_werror_flag"
96359 || test ! -s conftest.err'
96360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96361 (eval $ac_try) 2>&5
96362 ac_status=$?
96363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96364 (exit $ac_status); }; } &&
96365 { ac_try='test -s conftest$ac_exeext'
96366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96367 (eval $ac_try) 2>&5
96368 ac_status=$?
96369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96370 (exit $ac_status); }; }; then
96371 glibcxx_cv_func___builtin_fabsf_link=yes
96372 else
96373 echo "$as_me: failed program was:" >&5
96374 sed 's/^/| /' conftest.$ac_ext >&5
96376 glibcxx_cv_func___builtin_fabsf_link=no
96378 rm -f conftest.err conftest.$ac_objext \
96379 conftest$ac_exeext conftest.$ac_ext
96384 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
96385 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
96387 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
96389 cat >>confdefs.h <<\_ACEOF
96390 #define HAVE___BUILTIN_FABSF 1
96391 _ACEOF
96398 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
96399 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
96400 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
96401 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
96402 echo $ECHO_N "(cached) $ECHO_C" >&6
96403 else
96407 ac_ext=cc
96408 ac_cpp='$CXXCPP $CPPFLAGS'
96409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96413 cat >conftest.$ac_ext <<_ACEOF
96414 /* confdefs.h. */
96415 _ACEOF
96416 cat confdefs.h >>conftest.$ac_ext
96417 cat >>conftest.$ac_ext <<_ACEOF
96418 /* end confdefs.h. */
96419 #include <math.h>
96421 main ()
96423 __builtin_fabs(0);
96425 return 0;
96427 _ACEOF
96428 rm -f conftest.$ac_objext
96429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96430 (eval $ac_compile) 2>conftest.er1
96431 ac_status=$?
96432 grep -v '^ *+' conftest.er1 >conftest.err
96433 rm -f conftest.er1
96434 cat conftest.err >&5
96435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96436 (exit $ac_status); } &&
96437 { ac_try='test -z "$ac_cxx_werror_flag"
96438 || test ! -s conftest.err'
96439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96440 (eval $ac_try) 2>&5
96441 ac_status=$?
96442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96443 (exit $ac_status); }; } &&
96444 { ac_try='test -s conftest.$ac_objext'
96445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96446 (eval $ac_try) 2>&5
96447 ac_status=$?
96448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96449 (exit $ac_status); }; }; then
96450 glibcxx_cv_func___builtin_fabs_use=yes
96451 else
96452 echo "$as_me: failed program was:" >&5
96453 sed 's/^/| /' conftest.$ac_ext >&5
96455 glibcxx_cv_func___builtin_fabs_use=no
96457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96458 ac_ext=c
96459 ac_cpp='$CPP $CPPFLAGS'
96460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96468 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
96469 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
96470 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
96471 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
96472 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
96473 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
96474 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
96475 echo $ECHO_N "(cached) $ECHO_C" >&6
96476 else
96478 if test x$gcc_no_link = xyes; then
96479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96481 { (exit 1); exit 1; }; }
96483 cat >conftest.$ac_ext <<_ACEOF
96484 /* confdefs.h. */
96485 _ACEOF
96486 cat confdefs.h >>conftest.$ac_ext
96487 cat >>conftest.$ac_ext <<_ACEOF
96488 /* end confdefs.h. */
96489 #include <math.h>
96491 main ()
96493 __builtin_fabs(0);
96495 return 0;
96497 _ACEOF
96498 rm -f conftest.$ac_objext conftest$ac_exeext
96499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96500 (eval $ac_link) 2>conftest.er1
96501 ac_status=$?
96502 grep -v '^ *+' conftest.er1 >conftest.err
96503 rm -f conftest.er1
96504 cat conftest.err >&5
96505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96506 (exit $ac_status); } &&
96507 { ac_try='test -z "$ac_c_werror_flag"
96508 || test ! -s conftest.err'
96509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96510 (eval $ac_try) 2>&5
96511 ac_status=$?
96512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96513 (exit $ac_status); }; } &&
96514 { ac_try='test -s conftest$ac_exeext'
96515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96516 (eval $ac_try) 2>&5
96517 ac_status=$?
96518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96519 (exit $ac_status); }; }; then
96520 glibcxx_cv_func___builtin_fabs_link=yes
96521 else
96522 echo "$as_me: failed program was:" >&5
96523 sed 's/^/| /' conftest.$ac_ext >&5
96525 glibcxx_cv_func___builtin_fabs_link=no
96527 rm -f conftest.err conftest.$ac_objext \
96528 conftest$ac_exeext conftest.$ac_ext
96533 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
96534 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
96536 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
96538 cat >>confdefs.h <<\_ACEOF
96539 #define HAVE___BUILTIN_FABS 1
96540 _ACEOF
96547 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
96548 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
96549 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
96550 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
96551 echo $ECHO_N "(cached) $ECHO_C" >&6
96552 else
96556 ac_ext=cc
96557 ac_cpp='$CXXCPP $CPPFLAGS'
96558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96562 cat >conftest.$ac_ext <<_ACEOF
96563 /* confdefs.h. */
96564 _ACEOF
96565 cat confdefs.h >>conftest.$ac_ext
96566 cat >>conftest.$ac_ext <<_ACEOF
96567 /* end confdefs.h. */
96568 #include <math.h>
96570 main ()
96572 __builtin_fabsl(0);
96574 return 0;
96576 _ACEOF
96577 rm -f conftest.$ac_objext
96578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96579 (eval $ac_compile) 2>conftest.er1
96580 ac_status=$?
96581 grep -v '^ *+' conftest.er1 >conftest.err
96582 rm -f conftest.er1
96583 cat conftest.err >&5
96584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96585 (exit $ac_status); } &&
96586 { ac_try='test -z "$ac_cxx_werror_flag"
96587 || test ! -s conftest.err'
96588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96589 (eval $ac_try) 2>&5
96590 ac_status=$?
96591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96592 (exit $ac_status); }; } &&
96593 { ac_try='test -s conftest.$ac_objext'
96594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96595 (eval $ac_try) 2>&5
96596 ac_status=$?
96597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96598 (exit $ac_status); }; }; then
96599 glibcxx_cv_func___builtin_fabsl_use=yes
96600 else
96601 echo "$as_me: failed program was:" >&5
96602 sed 's/^/| /' conftest.$ac_ext >&5
96604 glibcxx_cv_func___builtin_fabsl_use=no
96606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96607 ac_ext=c
96608 ac_cpp='$CPP $CPPFLAGS'
96609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96617 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
96618 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
96619 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
96620 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
96621 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
96622 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
96623 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
96624 echo $ECHO_N "(cached) $ECHO_C" >&6
96625 else
96627 if test x$gcc_no_link = xyes; then
96628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96630 { (exit 1); exit 1; }; }
96632 cat >conftest.$ac_ext <<_ACEOF
96633 /* confdefs.h. */
96634 _ACEOF
96635 cat confdefs.h >>conftest.$ac_ext
96636 cat >>conftest.$ac_ext <<_ACEOF
96637 /* end confdefs.h. */
96638 #include <math.h>
96640 main ()
96642 __builtin_fabsl(0);
96644 return 0;
96646 _ACEOF
96647 rm -f conftest.$ac_objext conftest$ac_exeext
96648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96649 (eval $ac_link) 2>conftest.er1
96650 ac_status=$?
96651 grep -v '^ *+' conftest.er1 >conftest.err
96652 rm -f conftest.er1
96653 cat conftest.err >&5
96654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96655 (exit $ac_status); } &&
96656 { ac_try='test -z "$ac_c_werror_flag"
96657 || test ! -s conftest.err'
96658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96659 (eval $ac_try) 2>&5
96660 ac_status=$?
96661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96662 (exit $ac_status); }; } &&
96663 { ac_try='test -s conftest$ac_exeext'
96664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96665 (eval $ac_try) 2>&5
96666 ac_status=$?
96667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96668 (exit $ac_status); }; }; then
96669 glibcxx_cv_func___builtin_fabsl_link=yes
96670 else
96671 echo "$as_me: failed program was:" >&5
96672 sed 's/^/| /' conftest.$ac_ext >&5
96674 glibcxx_cv_func___builtin_fabsl_link=no
96676 rm -f conftest.err conftest.$ac_objext \
96677 conftest$ac_exeext conftest.$ac_ext
96682 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
96683 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
96685 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
96687 cat >>confdefs.h <<\_ACEOF
96688 #define HAVE___BUILTIN_FABSL 1
96689 _ACEOF
96696 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
96697 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
96698 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
96699 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
96700 echo $ECHO_N "(cached) $ECHO_C" >&6
96701 else
96705 ac_ext=cc
96706 ac_cpp='$CXXCPP $CPPFLAGS'
96707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96711 cat >conftest.$ac_ext <<_ACEOF
96712 /* confdefs.h. */
96713 _ACEOF
96714 cat confdefs.h >>conftest.$ac_ext
96715 cat >>conftest.$ac_ext <<_ACEOF
96716 /* end confdefs.h. */
96717 #include <math.h>
96719 main ()
96721 __builtin_labs(0);
96723 return 0;
96725 _ACEOF
96726 rm -f conftest.$ac_objext
96727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96728 (eval $ac_compile) 2>conftest.er1
96729 ac_status=$?
96730 grep -v '^ *+' conftest.er1 >conftest.err
96731 rm -f conftest.er1
96732 cat conftest.err >&5
96733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96734 (exit $ac_status); } &&
96735 { ac_try='test -z "$ac_cxx_werror_flag"
96736 || test ! -s conftest.err'
96737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96738 (eval $ac_try) 2>&5
96739 ac_status=$?
96740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96741 (exit $ac_status); }; } &&
96742 { ac_try='test -s conftest.$ac_objext'
96743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96744 (eval $ac_try) 2>&5
96745 ac_status=$?
96746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96747 (exit $ac_status); }; }; then
96748 glibcxx_cv_func___builtin_labs_use=yes
96749 else
96750 echo "$as_me: failed program was:" >&5
96751 sed 's/^/| /' conftest.$ac_ext >&5
96753 glibcxx_cv_func___builtin_labs_use=no
96755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96756 ac_ext=c
96757 ac_cpp='$CPP $CPPFLAGS'
96758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96766 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
96767 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
96768 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
96769 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
96770 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
96771 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
96772 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
96773 echo $ECHO_N "(cached) $ECHO_C" >&6
96774 else
96776 if test x$gcc_no_link = xyes; then
96777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96779 { (exit 1); exit 1; }; }
96781 cat >conftest.$ac_ext <<_ACEOF
96782 /* confdefs.h. */
96783 _ACEOF
96784 cat confdefs.h >>conftest.$ac_ext
96785 cat >>conftest.$ac_ext <<_ACEOF
96786 /* end confdefs.h. */
96787 #include <math.h>
96789 main ()
96791 __builtin_labs(0);
96793 return 0;
96795 _ACEOF
96796 rm -f conftest.$ac_objext conftest$ac_exeext
96797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96798 (eval $ac_link) 2>conftest.er1
96799 ac_status=$?
96800 grep -v '^ *+' conftest.er1 >conftest.err
96801 rm -f conftest.er1
96802 cat conftest.err >&5
96803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96804 (exit $ac_status); } &&
96805 { ac_try='test -z "$ac_c_werror_flag"
96806 || test ! -s conftest.err'
96807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96808 (eval $ac_try) 2>&5
96809 ac_status=$?
96810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96811 (exit $ac_status); }; } &&
96812 { ac_try='test -s conftest$ac_exeext'
96813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96814 (eval $ac_try) 2>&5
96815 ac_status=$?
96816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96817 (exit $ac_status); }; }; then
96818 glibcxx_cv_func___builtin_labs_link=yes
96819 else
96820 echo "$as_me: failed program was:" >&5
96821 sed 's/^/| /' conftest.$ac_ext >&5
96823 glibcxx_cv_func___builtin_labs_link=no
96825 rm -f conftest.err conftest.$ac_objext \
96826 conftest$ac_exeext conftest.$ac_ext
96831 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
96832 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
96834 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
96836 cat >>confdefs.h <<\_ACEOF
96837 #define HAVE___BUILTIN_LABS 1
96838 _ACEOF
96846 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
96847 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
96848 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
96849 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
96850 echo $ECHO_N "(cached) $ECHO_C" >&6
96851 else
96855 ac_ext=cc
96856 ac_cpp='$CXXCPP $CPPFLAGS'
96857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96861 cat >conftest.$ac_ext <<_ACEOF
96862 /* confdefs.h. */
96863 _ACEOF
96864 cat confdefs.h >>conftest.$ac_ext
96865 cat >>conftest.$ac_ext <<_ACEOF
96866 /* end confdefs.h. */
96867 #include <math.h>
96869 main ()
96871 __builtin_sqrtf(0);
96873 return 0;
96875 _ACEOF
96876 rm -f conftest.$ac_objext
96877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96878 (eval $ac_compile) 2>conftest.er1
96879 ac_status=$?
96880 grep -v '^ *+' conftest.er1 >conftest.err
96881 rm -f conftest.er1
96882 cat conftest.err >&5
96883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96884 (exit $ac_status); } &&
96885 { ac_try='test -z "$ac_cxx_werror_flag"
96886 || test ! -s conftest.err'
96887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96888 (eval $ac_try) 2>&5
96889 ac_status=$?
96890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96891 (exit $ac_status); }; } &&
96892 { ac_try='test -s conftest.$ac_objext'
96893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96894 (eval $ac_try) 2>&5
96895 ac_status=$?
96896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96897 (exit $ac_status); }; }; then
96898 glibcxx_cv_func___builtin_sqrtf_use=yes
96899 else
96900 echo "$as_me: failed program was:" >&5
96901 sed 's/^/| /' conftest.$ac_ext >&5
96903 glibcxx_cv_func___builtin_sqrtf_use=no
96905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96906 ac_ext=c
96907 ac_cpp='$CPP $CPPFLAGS'
96908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96916 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
96917 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
96918 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
96919 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
96920 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
96921 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
96922 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
96923 echo $ECHO_N "(cached) $ECHO_C" >&6
96924 else
96926 if test x$gcc_no_link = xyes; then
96927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96929 { (exit 1); exit 1; }; }
96931 cat >conftest.$ac_ext <<_ACEOF
96932 /* confdefs.h. */
96933 _ACEOF
96934 cat confdefs.h >>conftest.$ac_ext
96935 cat >>conftest.$ac_ext <<_ACEOF
96936 /* end confdefs.h. */
96937 #include <math.h>
96939 main ()
96941 __builtin_sqrtf(0);
96943 return 0;
96945 _ACEOF
96946 rm -f conftest.$ac_objext conftest$ac_exeext
96947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96948 (eval $ac_link) 2>conftest.er1
96949 ac_status=$?
96950 grep -v '^ *+' conftest.er1 >conftest.err
96951 rm -f conftest.er1
96952 cat conftest.err >&5
96953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96954 (exit $ac_status); } &&
96955 { ac_try='test -z "$ac_c_werror_flag"
96956 || test ! -s conftest.err'
96957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96958 (eval $ac_try) 2>&5
96959 ac_status=$?
96960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96961 (exit $ac_status); }; } &&
96962 { ac_try='test -s conftest$ac_exeext'
96963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96964 (eval $ac_try) 2>&5
96965 ac_status=$?
96966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96967 (exit $ac_status); }; }; then
96968 glibcxx_cv_func___builtin_sqrtf_link=yes
96969 else
96970 echo "$as_me: failed program was:" >&5
96971 sed 's/^/| /' conftest.$ac_ext >&5
96973 glibcxx_cv_func___builtin_sqrtf_link=no
96975 rm -f conftest.err conftest.$ac_objext \
96976 conftest$ac_exeext conftest.$ac_ext
96981 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
96982 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
96984 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
96986 cat >>confdefs.h <<\_ACEOF
96987 #define HAVE___BUILTIN_SQRTF 1
96988 _ACEOF
96995 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
96996 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
96997 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
96998 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
96999 echo $ECHO_N "(cached) $ECHO_C" >&6
97000 else
97004 ac_ext=cc
97005 ac_cpp='$CXXCPP $CPPFLAGS'
97006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97010 cat >conftest.$ac_ext <<_ACEOF
97011 /* confdefs.h. */
97012 _ACEOF
97013 cat confdefs.h >>conftest.$ac_ext
97014 cat >>conftest.$ac_ext <<_ACEOF
97015 /* end confdefs.h. */
97016 #include <math.h>
97018 main ()
97020 __builtin_sqrt(0);
97022 return 0;
97024 _ACEOF
97025 rm -f conftest.$ac_objext
97026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97027 (eval $ac_compile) 2>conftest.er1
97028 ac_status=$?
97029 grep -v '^ *+' conftest.er1 >conftest.err
97030 rm -f conftest.er1
97031 cat conftest.err >&5
97032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97033 (exit $ac_status); } &&
97034 { ac_try='test -z "$ac_cxx_werror_flag"
97035 || test ! -s conftest.err'
97036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97037 (eval $ac_try) 2>&5
97038 ac_status=$?
97039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97040 (exit $ac_status); }; } &&
97041 { ac_try='test -s conftest.$ac_objext'
97042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97043 (eval $ac_try) 2>&5
97044 ac_status=$?
97045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97046 (exit $ac_status); }; }; then
97047 glibcxx_cv_func___builtin_sqrt_use=yes
97048 else
97049 echo "$as_me: failed program was:" >&5
97050 sed 's/^/| /' conftest.$ac_ext >&5
97052 glibcxx_cv_func___builtin_sqrt_use=no
97054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97055 ac_ext=c
97056 ac_cpp='$CPP $CPPFLAGS'
97057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97065 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
97066 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
97067 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
97068 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
97069 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
97070 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
97071 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
97072 echo $ECHO_N "(cached) $ECHO_C" >&6
97073 else
97075 if test x$gcc_no_link = xyes; then
97076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97078 { (exit 1); exit 1; }; }
97080 cat >conftest.$ac_ext <<_ACEOF
97081 /* confdefs.h. */
97082 _ACEOF
97083 cat confdefs.h >>conftest.$ac_ext
97084 cat >>conftest.$ac_ext <<_ACEOF
97085 /* end confdefs.h. */
97086 #include <math.h>
97088 main ()
97090 __builtin_sqrt(0);
97092 return 0;
97094 _ACEOF
97095 rm -f conftest.$ac_objext conftest$ac_exeext
97096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97097 (eval $ac_link) 2>conftest.er1
97098 ac_status=$?
97099 grep -v '^ *+' conftest.er1 >conftest.err
97100 rm -f conftest.er1
97101 cat conftest.err >&5
97102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97103 (exit $ac_status); } &&
97104 { ac_try='test -z "$ac_c_werror_flag"
97105 || test ! -s conftest.err'
97106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97107 (eval $ac_try) 2>&5
97108 ac_status=$?
97109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97110 (exit $ac_status); }; } &&
97111 { ac_try='test -s conftest$ac_exeext'
97112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97113 (eval $ac_try) 2>&5
97114 ac_status=$?
97115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97116 (exit $ac_status); }; }; then
97117 glibcxx_cv_func___builtin_sqrt_link=yes
97118 else
97119 echo "$as_me: failed program was:" >&5
97120 sed 's/^/| /' conftest.$ac_ext >&5
97122 glibcxx_cv_func___builtin_sqrt_link=no
97124 rm -f conftest.err conftest.$ac_objext \
97125 conftest$ac_exeext conftest.$ac_ext
97130 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
97131 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
97133 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
97135 cat >>confdefs.h <<\_ACEOF
97136 #define HAVE___BUILTIN_SQRT 1
97137 _ACEOF
97144 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
97145 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
97146 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
97147 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
97148 echo $ECHO_N "(cached) $ECHO_C" >&6
97149 else
97153 ac_ext=cc
97154 ac_cpp='$CXXCPP $CPPFLAGS'
97155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97159 cat >conftest.$ac_ext <<_ACEOF
97160 /* confdefs.h. */
97161 _ACEOF
97162 cat confdefs.h >>conftest.$ac_ext
97163 cat >>conftest.$ac_ext <<_ACEOF
97164 /* end confdefs.h. */
97165 #include <math.h>
97167 main ()
97169 __builtin_sqrtl(0);
97171 return 0;
97173 _ACEOF
97174 rm -f conftest.$ac_objext
97175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97176 (eval $ac_compile) 2>conftest.er1
97177 ac_status=$?
97178 grep -v '^ *+' conftest.er1 >conftest.err
97179 rm -f conftest.er1
97180 cat conftest.err >&5
97181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97182 (exit $ac_status); } &&
97183 { ac_try='test -z "$ac_cxx_werror_flag"
97184 || test ! -s conftest.err'
97185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97186 (eval $ac_try) 2>&5
97187 ac_status=$?
97188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97189 (exit $ac_status); }; } &&
97190 { ac_try='test -s conftest.$ac_objext'
97191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97192 (eval $ac_try) 2>&5
97193 ac_status=$?
97194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97195 (exit $ac_status); }; }; then
97196 glibcxx_cv_func___builtin_sqrtl_use=yes
97197 else
97198 echo "$as_me: failed program was:" >&5
97199 sed 's/^/| /' conftest.$ac_ext >&5
97201 glibcxx_cv_func___builtin_sqrtl_use=no
97203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97204 ac_ext=c
97205 ac_cpp='$CPP $CPPFLAGS'
97206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97214 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
97215 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
97216 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
97217 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
97218 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
97219 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
97220 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
97221 echo $ECHO_N "(cached) $ECHO_C" >&6
97222 else
97224 if test x$gcc_no_link = xyes; then
97225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97227 { (exit 1); exit 1; }; }
97229 cat >conftest.$ac_ext <<_ACEOF
97230 /* confdefs.h. */
97231 _ACEOF
97232 cat confdefs.h >>conftest.$ac_ext
97233 cat >>conftest.$ac_ext <<_ACEOF
97234 /* end confdefs.h. */
97235 #include <math.h>
97237 main ()
97239 __builtin_sqrtl(0);
97241 return 0;
97243 _ACEOF
97244 rm -f conftest.$ac_objext conftest$ac_exeext
97245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97246 (eval $ac_link) 2>conftest.er1
97247 ac_status=$?
97248 grep -v '^ *+' conftest.er1 >conftest.err
97249 rm -f conftest.er1
97250 cat conftest.err >&5
97251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97252 (exit $ac_status); } &&
97253 { ac_try='test -z "$ac_c_werror_flag"
97254 || test ! -s conftest.err'
97255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97256 (eval $ac_try) 2>&5
97257 ac_status=$?
97258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97259 (exit $ac_status); }; } &&
97260 { ac_try='test -s conftest$ac_exeext'
97261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97262 (eval $ac_try) 2>&5
97263 ac_status=$?
97264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97265 (exit $ac_status); }; }; then
97266 glibcxx_cv_func___builtin_sqrtl_link=yes
97267 else
97268 echo "$as_me: failed program was:" >&5
97269 sed 's/^/| /' conftest.$ac_ext >&5
97271 glibcxx_cv_func___builtin_sqrtl_link=no
97273 rm -f conftest.err conftest.$ac_objext \
97274 conftest$ac_exeext conftest.$ac_ext
97279 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
97280 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
97282 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
97284 cat >>confdefs.h <<\_ACEOF
97285 #define HAVE___BUILTIN_SQRTL 1
97286 _ACEOF
97294 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
97295 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
97296 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
97297 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
97298 echo $ECHO_N "(cached) $ECHO_C" >&6
97299 else
97303 ac_ext=cc
97304 ac_cpp='$CXXCPP $CPPFLAGS'
97305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97309 cat >conftest.$ac_ext <<_ACEOF
97310 /* confdefs.h. */
97311 _ACEOF
97312 cat confdefs.h >>conftest.$ac_ext
97313 cat >>conftest.$ac_ext <<_ACEOF
97314 /* end confdefs.h. */
97315 #include <math.h>
97317 main ()
97319 __builtin_sinf(0);
97321 return 0;
97323 _ACEOF
97324 rm -f conftest.$ac_objext
97325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97326 (eval $ac_compile) 2>conftest.er1
97327 ac_status=$?
97328 grep -v '^ *+' conftest.er1 >conftest.err
97329 rm -f conftest.er1
97330 cat conftest.err >&5
97331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97332 (exit $ac_status); } &&
97333 { ac_try='test -z "$ac_cxx_werror_flag"
97334 || test ! -s conftest.err'
97335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97336 (eval $ac_try) 2>&5
97337 ac_status=$?
97338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97339 (exit $ac_status); }; } &&
97340 { ac_try='test -s conftest.$ac_objext'
97341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97342 (eval $ac_try) 2>&5
97343 ac_status=$?
97344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97345 (exit $ac_status); }; }; then
97346 glibcxx_cv_func___builtin_sinf_use=yes
97347 else
97348 echo "$as_me: failed program was:" >&5
97349 sed 's/^/| /' conftest.$ac_ext >&5
97351 glibcxx_cv_func___builtin_sinf_use=no
97353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97354 ac_ext=c
97355 ac_cpp='$CPP $CPPFLAGS'
97356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97364 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
97365 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
97366 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
97367 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
97368 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
97369 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
97370 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
97371 echo $ECHO_N "(cached) $ECHO_C" >&6
97372 else
97374 if test x$gcc_no_link = xyes; then
97375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97377 { (exit 1); exit 1; }; }
97379 cat >conftest.$ac_ext <<_ACEOF
97380 /* confdefs.h. */
97381 _ACEOF
97382 cat confdefs.h >>conftest.$ac_ext
97383 cat >>conftest.$ac_ext <<_ACEOF
97384 /* end confdefs.h. */
97385 #include <math.h>
97387 main ()
97389 __builtin_sinf(0);
97391 return 0;
97393 _ACEOF
97394 rm -f conftest.$ac_objext conftest$ac_exeext
97395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97396 (eval $ac_link) 2>conftest.er1
97397 ac_status=$?
97398 grep -v '^ *+' conftest.er1 >conftest.err
97399 rm -f conftest.er1
97400 cat conftest.err >&5
97401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97402 (exit $ac_status); } &&
97403 { ac_try='test -z "$ac_c_werror_flag"
97404 || test ! -s conftest.err'
97405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97406 (eval $ac_try) 2>&5
97407 ac_status=$?
97408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97409 (exit $ac_status); }; } &&
97410 { ac_try='test -s conftest$ac_exeext'
97411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97412 (eval $ac_try) 2>&5
97413 ac_status=$?
97414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97415 (exit $ac_status); }; }; then
97416 glibcxx_cv_func___builtin_sinf_link=yes
97417 else
97418 echo "$as_me: failed program was:" >&5
97419 sed 's/^/| /' conftest.$ac_ext >&5
97421 glibcxx_cv_func___builtin_sinf_link=no
97423 rm -f conftest.err conftest.$ac_objext \
97424 conftest$ac_exeext conftest.$ac_ext
97429 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
97430 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
97432 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
97434 cat >>confdefs.h <<\_ACEOF
97435 #define HAVE___BUILTIN_SINF 1
97436 _ACEOF
97443 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
97444 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
97445 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
97446 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
97447 echo $ECHO_N "(cached) $ECHO_C" >&6
97448 else
97452 ac_ext=cc
97453 ac_cpp='$CXXCPP $CPPFLAGS'
97454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97458 cat >conftest.$ac_ext <<_ACEOF
97459 /* confdefs.h. */
97460 _ACEOF
97461 cat confdefs.h >>conftest.$ac_ext
97462 cat >>conftest.$ac_ext <<_ACEOF
97463 /* end confdefs.h. */
97464 #include <math.h>
97466 main ()
97468 __builtin_sin(0);
97470 return 0;
97472 _ACEOF
97473 rm -f conftest.$ac_objext
97474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97475 (eval $ac_compile) 2>conftest.er1
97476 ac_status=$?
97477 grep -v '^ *+' conftest.er1 >conftest.err
97478 rm -f conftest.er1
97479 cat conftest.err >&5
97480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97481 (exit $ac_status); } &&
97482 { ac_try='test -z "$ac_cxx_werror_flag"
97483 || test ! -s conftest.err'
97484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97485 (eval $ac_try) 2>&5
97486 ac_status=$?
97487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97488 (exit $ac_status); }; } &&
97489 { ac_try='test -s conftest.$ac_objext'
97490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97491 (eval $ac_try) 2>&5
97492 ac_status=$?
97493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97494 (exit $ac_status); }; }; then
97495 glibcxx_cv_func___builtin_sin_use=yes
97496 else
97497 echo "$as_me: failed program was:" >&5
97498 sed 's/^/| /' conftest.$ac_ext >&5
97500 glibcxx_cv_func___builtin_sin_use=no
97502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97503 ac_ext=c
97504 ac_cpp='$CPP $CPPFLAGS'
97505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97513 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
97514 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
97515 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
97516 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
97517 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
97518 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
97519 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
97520 echo $ECHO_N "(cached) $ECHO_C" >&6
97521 else
97523 if test x$gcc_no_link = xyes; then
97524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97526 { (exit 1); exit 1; }; }
97528 cat >conftest.$ac_ext <<_ACEOF
97529 /* confdefs.h. */
97530 _ACEOF
97531 cat confdefs.h >>conftest.$ac_ext
97532 cat >>conftest.$ac_ext <<_ACEOF
97533 /* end confdefs.h. */
97534 #include <math.h>
97536 main ()
97538 __builtin_sin(0);
97540 return 0;
97542 _ACEOF
97543 rm -f conftest.$ac_objext conftest$ac_exeext
97544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97545 (eval $ac_link) 2>conftest.er1
97546 ac_status=$?
97547 grep -v '^ *+' conftest.er1 >conftest.err
97548 rm -f conftest.er1
97549 cat conftest.err >&5
97550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97551 (exit $ac_status); } &&
97552 { ac_try='test -z "$ac_c_werror_flag"
97553 || test ! -s conftest.err'
97554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97555 (eval $ac_try) 2>&5
97556 ac_status=$?
97557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97558 (exit $ac_status); }; } &&
97559 { ac_try='test -s conftest$ac_exeext'
97560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97561 (eval $ac_try) 2>&5
97562 ac_status=$?
97563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97564 (exit $ac_status); }; }; then
97565 glibcxx_cv_func___builtin_sin_link=yes
97566 else
97567 echo "$as_me: failed program was:" >&5
97568 sed 's/^/| /' conftest.$ac_ext >&5
97570 glibcxx_cv_func___builtin_sin_link=no
97572 rm -f conftest.err conftest.$ac_objext \
97573 conftest$ac_exeext conftest.$ac_ext
97578 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
97579 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
97581 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
97583 cat >>confdefs.h <<\_ACEOF
97584 #define HAVE___BUILTIN_SIN 1
97585 _ACEOF
97592 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
97593 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
97594 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
97595 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
97596 echo $ECHO_N "(cached) $ECHO_C" >&6
97597 else
97601 ac_ext=cc
97602 ac_cpp='$CXXCPP $CPPFLAGS'
97603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97607 cat >conftest.$ac_ext <<_ACEOF
97608 /* confdefs.h. */
97609 _ACEOF
97610 cat confdefs.h >>conftest.$ac_ext
97611 cat >>conftest.$ac_ext <<_ACEOF
97612 /* end confdefs.h. */
97613 #include <math.h>
97615 main ()
97617 __builtin_sinl(0);
97619 return 0;
97621 _ACEOF
97622 rm -f conftest.$ac_objext
97623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97624 (eval $ac_compile) 2>conftest.er1
97625 ac_status=$?
97626 grep -v '^ *+' conftest.er1 >conftest.err
97627 rm -f conftest.er1
97628 cat conftest.err >&5
97629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97630 (exit $ac_status); } &&
97631 { ac_try='test -z "$ac_cxx_werror_flag"
97632 || test ! -s conftest.err'
97633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97634 (eval $ac_try) 2>&5
97635 ac_status=$?
97636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97637 (exit $ac_status); }; } &&
97638 { ac_try='test -s conftest.$ac_objext'
97639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97640 (eval $ac_try) 2>&5
97641 ac_status=$?
97642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97643 (exit $ac_status); }; }; then
97644 glibcxx_cv_func___builtin_sinl_use=yes
97645 else
97646 echo "$as_me: failed program was:" >&5
97647 sed 's/^/| /' conftest.$ac_ext >&5
97649 glibcxx_cv_func___builtin_sinl_use=no
97651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97652 ac_ext=c
97653 ac_cpp='$CPP $CPPFLAGS'
97654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97662 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
97663 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
97664 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
97665 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
97666 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
97667 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
97668 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
97669 echo $ECHO_N "(cached) $ECHO_C" >&6
97670 else
97672 if test x$gcc_no_link = xyes; then
97673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97675 { (exit 1); exit 1; }; }
97677 cat >conftest.$ac_ext <<_ACEOF
97678 /* confdefs.h. */
97679 _ACEOF
97680 cat confdefs.h >>conftest.$ac_ext
97681 cat >>conftest.$ac_ext <<_ACEOF
97682 /* end confdefs.h. */
97683 #include <math.h>
97685 main ()
97687 __builtin_sinl(0);
97689 return 0;
97691 _ACEOF
97692 rm -f conftest.$ac_objext conftest$ac_exeext
97693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97694 (eval $ac_link) 2>conftest.er1
97695 ac_status=$?
97696 grep -v '^ *+' conftest.er1 >conftest.err
97697 rm -f conftest.er1
97698 cat conftest.err >&5
97699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97700 (exit $ac_status); } &&
97701 { ac_try='test -z "$ac_c_werror_flag"
97702 || test ! -s conftest.err'
97703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97704 (eval $ac_try) 2>&5
97705 ac_status=$?
97706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97707 (exit $ac_status); }; } &&
97708 { ac_try='test -s conftest$ac_exeext'
97709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97710 (eval $ac_try) 2>&5
97711 ac_status=$?
97712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97713 (exit $ac_status); }; }; then
97714 glibcxx_cv_func___builtin_sinl_link=yes
97715 else
97716 echo "$as_me: failed program was:" >&5
97717 sed 's/^/| /' conftest.$ac_ext >&5
97719 glibcxx_cv_func___builtin_sinl_link=no
97721 rm -f conftest.err conftest.$ac_objext \
97722 conftest$ac_exeext conftest.$ac_ext
97727 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
97728 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
97730 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
97732 cat >>confdefs.h <<\_ACEOF
97733 #define HAVE___BUILTIN_SINL 1
97734 _ACEOF
97742 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
97743 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
97744 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
97745 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
97746 echo $ECHO_N "(cached) $ECHO_C" >&6
97747 else
97751 ac_ext=cc
97752 ac_cpp='$CXXCPP $CPPFLAGS'
97753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97757 cat >conftest.$ac_ext <<_ACEOF
97758 /* confdefs.h. */
97759 _ACEOF
97760 cat confdefs.h >>conftest.$ac_ext
97761 cat >>conftest.$ac_ext <<_ACEOF
97762 /* end confdefs.h. */
97763 #include <math.h>
97765 main ()
97767 __builtin_cosf(0);
97769 return 0;
97771 _ACEOF
97772 rm -f conftest.$ac_objext
97773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97774 (eval $ac_compile) 2>conftest.er1
97775 ac_status=$?
97776 grep -v '^ *+' conftest.er1 >conftest.err
97777 rm -f conftest.er1
97778 cat conftest.err >&5
97779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97780 (exit $ac_status); } &&
97781 { ac_try='test -z "$ac_cxx_werror_flag"
97782 || test ! -s conftest.err'
97783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97784 (eval $ac_try) 2>&5
97785 ac_status=$?
97786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97787 (exit $ac_status); }; } &&
97788 { ac_try='test -s conftest.$ac_objext'
97789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97790 (eval $ac_try) 2>&5
97791 ac_status=$?
97792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97793 (exit $ac_status); }; }; then
97794 glibcxx_cv_func___builtin_cosf_use=yes
97795 else
97796 echo "$as_me: failed program was:" >&5
97797 sed 's/^/| /' conftest.$ac_ext >&5
97799 glibcxx_cv_func___builtin_cosf_use=no
97801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97802 ac_ext=c
97803 ac_cpp='$CPP $CPPFLAGS'
97804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97812 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
97813 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
97814 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
97815 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
97816 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
97817 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
97818 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
97819 echo $ECHO_N "(cached) $ECHO_C" >&6
97820 else
97822 if test x$gcc_no_link = xyes; then
97823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97825 { (exit 1); exit 1; }; }
97827 cat >conftest.$ac_ext <<_ACEOF
97828 /* confdefs.h. */
97829 _ACEOF
97830 cat confdefs.h >>conftest.$ac_ext
97831 cat >>conftest.$ac_ext <<_ACEOF
97832 /* end confdefs.h. */
97833 #include <math.h>
97835 main ()
97837 __builtin_cosf(0);
97839 return 0;
97841 _ACEOF
97842 rm -f conftest.$ac_objext conftest$ac_exeext
97843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97844 (eval $ac_link) 2>conftest.er1
97845 ac_status=$?
97846 grep -v '^ *+' conftest.er1 >conftest.err
97847 rm -f conftest.er1
97848 cat conftest.err >&5
97849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97850 (exit $ac_status); } &&
97851 { ac_try='test -z "$ac_c_werror_flag"
97852 || test ! -s conftest.err'
97853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97854 (eval $ac_try) 2>&5
97855 ac_status=$?
97856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97857 (exit $ac_status); }; } &&
97858 { ac_try='test -s conftest$ac_exeext'
97859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97860 (eval $ac_try) 2>&5
97861 ac_status=$?
97862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97863 (exit $ac_status); }; }; then
97864 glibcxx_cv_func___builtin_cosf_link=yes
97865 else
97866 echo "$as_me: failed program was:" >&5
97867 sed 's/^/| /' conftest.$ac_ext >&5
97869 glibcxx_cv_func___builtin_cosf_link=no
97871 rm -f conftest.err conftest.$ac_objext \
97872 conftest$ac_exeext conftest.$ac_ext
97877 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
97878 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
97880 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
97882 cat >>confdefs.h <<\_ACEOF
97883 #define HAVE___BUILTIN_COSF 1
97884 _ACEOF
97891 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
97892 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
97893 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
97894 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
97895 echo $ECHO_N "(cached) $ECHO_C" >&6
97896 else
97900 ac_ext=cc
97901 ac_cpp='$CXXCPP $CPPFLAGS'
97902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97906 cat >conftest.$ac_ext <<_ACEOF
97907 /* confdefs.h. */
97908 _ACEOF
97909 cat confdefs.h >>conftest.$ac_ext
97910 cat >>conftest.$ac_ext <<_ACEOF
97911 /* end confdefs.h. */
97912 #include <math.h>
97914 main ()
97916 __builtin_cos(0);
97918 return 0;
97920 _ACEOF
97921 rm -f conftest.$ac_objext
97922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97923 (eval $ac_compile) 2>conftest.er1
97924 ac_status=$?
97925 grep -v '^ *+' conftest.er1 >conftest.err
97926 rm -f conftest.er1
97927 cat conftest.err >&5
97928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97929 (exit $ac_status); } &&
97930 { ac_try='test -z "$ac_cxx_werror_flag"
97931 || test ! -s conftest.err'
97932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97933 (eval $ac_try) 2>&5
97934 ac_status=$?
97935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97936 (exit $ac_status); }; } &&
97937 { ac_try='test -s conftest.$ac_objext'
97938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97939 (eval $ac_try) 2>&5
97940 ac_status=$?
97941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97942 (exit $ac_status); }; }; then
97943 glibcxx_cv_func___builtin_cos_use=yes
97944 else
97945 echo "$as_me: failed program was:" >&5
97946 sed 's/^/| /' conftest.$ac_ext >&5
97948 glibcxx_cv_func___builtin_cos_use=no
97950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97951 ac_ext=c
97952 ac_cpp='$CPP $CPPFLAGS'
97953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97961 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
97962 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
97963 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
97964 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
97965 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
97966 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
97967 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
97968 echo $ECHO_N "(cached) $ECHO_C" >&6
97969 else
97971 if test x$gcc_no_link = xyes; then
97972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97974 { (exit 1); exit 1; }; }
97976 cat >conftest.$ac_ext <<_ACEOF
97977 /* confdefs.h. */
97978 _ACEOF
97979 cat confdefs.h >>conftest.$ac_ext
97980 cat >>conftest.$ac_ext <<_ACEOF
97981 /* end confdefs.h. */
97982 #include <math.h>
97984 main ()
97986 __builtin_cos(0);
97988 return 0;
97990 _ACEOF
97991 rm -f conftest.$ac_objext conftest$ac_exeext
97992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97993 (eval $ac_link) 2>conftest.er1
97994 ac_status=$?
97995 grep -v '^ *+' conftest.er1 >conftest.err
97996 rm -f conftest.er1
97997 cat conftest.err >&5
97998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97999 (exit $ac_status); } &&
98000 { ac_try='test -z "$ac_c_werror_flag"
98001 || test ! -s conftest.err'
98002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98003 (eval $ac_try) 2>&5
98004 ac_status=$?
98005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98006 (exit $ac_status); }; } &&
98007 { ac_try='test -s conftest$ac_exeext'
98008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98009 (eval $ac_try) 2>&5
98010 ac_status=$?
98011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98012 (exit $ac_status); }; }; then
98013 glibcxx_cv_func___builtin_cos_link=yes
98014 else
98015 echo "$as_me: failed program was:" >&5
98016 sed 's/^/| /' conftest.$ac_ext >&5
98018 glibcxx_cv_func___builtin_cos_link=no
98020 rm -f conftest.err conftest.$ac_objext \
98021 conftest$ac_exeext conftest.$ac_ext
98026 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
98027 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
98029 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
98031 cat >>confdefs.h <<\_ACEOF
98032 #define HAVE___BUILTIN_COS 1
98033 _ACEOF
98040 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
98041 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
98042 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
98043 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
98044 echo $ECHO_N "(cached) $ECHO_C" >&6
98045 else
98049 ac_ext=cc
98050 ac_cpp='$CXXCPP $CPPFLAGS'
98051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98055 cat >conftest.$ac_ext <<_ACEOF
98056 /* confdefs.h. */
98057 _ACEOF
98058 cat confdefs.h >>conftest.$ac_ext
98059 cat >>conftest.$ac_ext <<_ACEOF
98060 /* end confdefs.h. */
98061 #include <math.h>
98063 main ()
98065 __builtin_cosl(0);
98067 return 0;
98069 _ACEOF
98070 rm -f conftest.$ac_objext
98071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98072 (eval $ac_compile) 2>conftest.er1
98073 ac_status=$?
98074 grep -v '^ *+' conftest.er1 >conftest.err
98075 rm -f conftest.er1
98076 cat conftest.err >&5
98077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98078 (exit $ac_status); } &&
98079 { ac_try='test -z "$ac_cxx_werror_flag"
98080 || test ! -s conftest.err'
98081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98082 (eval $ac_try) 2>&5
98083 ac_status=$?
98084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98085 (exit $ac_status); }; } &&
98086 { ac_try='test -s conftest.$ac_objext'
98087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98088 (eval $ac_try) 2>&5
98089 ac_status=$?
98090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98091 (exit $ac_status); }; }; then
98092 glibcxx_cv_func___builtin_cosl_use=yes
98093 else
98094 echo "$as_me: failed program was:" >&5
98095 sed 's/^/| /' conftest.$ac_ext >&5
98097 glibcxx_cv_func___builtin_cosl_use=no
98099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98100 ac_ext=c
98101 ac_cpp='$CPP $CPPFLAGS'
98102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98110 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
98111 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
98112 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
98113 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
98114 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
98115 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
98116 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
98117 echo $ECHO_N "(cached) $ECHO_C" >&6
98118 else
98120 if test x$gcc_no_link = xyes; then
98121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98123 { (exit 1); exit 1; }; }
98125 cat >conftest.$ac_ext <<_ACEOF
98126 /* confdefs.h. */
98127 _ACEOF
98128 cat confdefs.h >>conftest.$ac_ext
98129 cat >>conftest.$ac_ext <<_ACEOF
98130 /* end confdefs.h. */
98131 #include <math.h>
98133 main ()
98135 __builtin_cosl(0);
98137 return 0;
98139 _ACEOF
98140 rm -f conftest.$ac_objext conftest$ac_exeext
98141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98142 (eval $ac_link) 2>conftest.er1
98143 ac_status=$?
98144 grep -v '^ *+' conftest.er1 >conftest.err
98145 rm -f conftest.er1
98146 cat conftest.err >&5
98147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98148 (exit $ac_status); } &&
98149 { ac_try='test -z "$ac_c_werror_flag"
98150 || test ! -s conftest.err'
98151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98152 (eval $ac_try) 2>&5
98153 ac_status=$?
98154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98155 (exit $ac_status); }; } &&
98156 { ac_try='test -s conftest$ac_exeext'
98157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98158 (eval $ac_try) 2>&5
98159 ac_status=$?
98160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98161 (exit $ac_status); }; }; then
98162 glibcxx_cv_func___builtin_cosl_link=yes
98163 else
98164 echo "$as_me: failed program was:" >&5
98165 sed 's/^/| /' conftest.$ac_ext >&5
98167 glibcxx_cv_func___builtin_cosl_link=no
98169 rm -f conftest.err conftest.$ac_objext \
98170 conftest$ac_exeext conftest.$ac_ext
98175 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
98176 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
98178 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
98180 cat >>confdefs.h <<\_ACEOF
98181 #define HAVE___BUILTIN_COSL 1
98182 _ACEOF
98191 echo "$as_me:$LINENO: checking for main in -lm" >&5
98192 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
98193 if test "${ac_cv_lib_m_main+set}" = set; then
98194 echo $ECHO_N "(cached) $ECHO_C" >&6
98195 else
98196 ac_check_lib_save_LIBS=$LIBS
98197 LIBS="-lm $LIBS"
98198 if test x$gcc_no_link = xyes; then
98199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98201 { (exit 1); exit 1; }; }
98203 cat >conftest.$ac_ext <<_ACEOF
98204 /* confdefs.h. */
98205 _ACEOF
98206 cat confdefs.h >>conftest.$ac_ext
98207 cat >>conftest.$ac_ext <<_ACEOF
98208 /* end confdefs.h. */
98212 main ()
98214 main ();
98216 return 0;
98218 _ACEOF
98219 rm -f conftest.$ac_objext conftest$ac_exeext
98220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98221 (eval $ac_link) 2>conftest.er1
98222 ac_status=$?
98223 grep -v '^ *+' conftest.er1 >conftest.err
98224 rm -f conftest.er1
98225 cat conftest.err >&5
98226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98227 (exit $ac_status); } &&
98228 { ac_try='test -z "$ac_c_werror_flag"
98229 || test ! -s conftest.err'
98230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98231 (eval $ac_try) 2>&5
98232 ac_status=$?
98233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98234 (exit $ac_status); }; } &&
98235 { ac_try='test -s conftest$ac_exeext'
98236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98237 (eval $ac_try) 2>&5
98238 ac_status=$?
98239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98240 (exit $ac_status); }; }; then
98241 ac_cv_lib_m_main=yes
98242 else
98243 echo "$as_me: failed program was:" >&5
98244 sed 's/^/| /' conftest.$ac_ext >&5
98246 ac_cv_lib_m_main=no
98248 rm -f conftest.err conftest.$ac_objext \
98249 conftest$ac_exeext conftest.$ac_ext
98250 LIBS=$ac_check_lib_save_LIBS
98252 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
98253 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
98254 if test $ac_cv_lib_m_main = yes; then
98255 cat >>confdefs.h <<_ACEOF
98256 #define HAVE_LIBM 1
98257 _ACEOF
98259 LIBS="-lm $LIBS"
98264 for ac_func in copysignf
98266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98267 echo "$as_me:$LINENO: checking for $ac_func" >&5
98268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98269 if eval "test \"\${$as_ac_var+set}\" = set"; then
98270 echo $ECHO_N "(cached) $ECHO_C" >&6
98271 else
98272 if test x$gcc_no_link = xyes; then
98273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98275 { (exit 1); exit 1; }; }
98277 cat >conftest.$ac_ext <<_ACEOF
98278 /* confdefs.h. */
98279 _ACEOF
98280 cat confdefs.h >>conftest.$ac_ext
98281 cat >>conftest.$ac_ext <<_ACEOF
98282 /* end confdefs.h. */
98283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98285 #define $ac_func innocuous_$ac_func
98287 /* System header to define __stub macros and hopefully few prototypes,
98288 which can conflict with char $ac_func (); below.
98289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98290 <limits.h> exists even on freestanding compilers. */
98292 #ifdef __STDC__
98293 # include <limits.h>
98294 #else
98295 # include <assert.h>
98296 #endif
98298 #undef $ac_func
98300 /* Override any gcc2 internal prototype to avoid an error. */
98301 #ifdef __cplusplus
98302 extern "C"
98304 #endif
98305 /* We use char because int might match the return type of a gcc2
98306 builtin and then its argument prototype would still apply. */
98307 char $ac_func ();
98308 /* The GNU C library defines this for functions which it implements
98309 to always fail with ENOSYS. Some functions are actually named
98310 something starting with __ and the normal name is an alias. */
98311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98312 choke me
98313 #else
98314 char (*f) () = $ac_func;
98315 #endif
98316 #ifdef __cplusplus
98318 #endif
98321 main ()
98323 return f != $ac_func;
98325 return 0;
98327 _ACEOF
98328 rm -f conftest.$ac_objext conftest$ac_exeext
98329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98330 (eval $ac_link) 2>conftest.er1
98331 ac_status=$?
98332 grep -v '^ *+' conftest.er1 >conftest.err
98333 rm -f conftest.er1
98334 cat conftest.err >&5
98335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98336 (exit $ac_status); } &&
98337 { ac_try='test -z "$ac_c_werror_flag"
98338 || test ! -s conftest.err'
98339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98340 (eval $ac_try) 2>&5
98341 ac_status=$?
98342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98343 (exit $ac_status); }; } &&
98344 { ac_try='test -s conftest$ac_exeext'
98345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98346 (eval $ac_try) 2>&5
98347 ac_status=$?
98348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98349 (exit $ac_status); }; }; then
98350 eval "$as_ac_var=yes"
98351 else
98352 echo "$as_me: failed program was:" >&5
98353 sed 's/^/| /' conftest.$ac_ext >&5
98355 eval "$as_ac_var=no"
98357 rm -f conftest.err conftest.$ac_objext \
98358 conftest$ac_exeext conftest.$ac_ext
98360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98362 if test `eval echo '${'$as_ac_var'}'` = yes; then
98363 cat >>confdefs.h <<_ACEOF
98364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98365 _ACEOF
98367 else
98368 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
98370 done
98374 for ac_func in __signbit
98376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98377 echo "$as_me:$LINENO: checking for $ac_func" >&5
98378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98379 if eval "test \"\${$as_ac_var+set}\" = set"; then
98380 echo $ECHO_N "(cached) $ECHO_C" >&6
98381 else
98382 if test x$gcc_no_link = xyes; then
98383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98385 { (exit 1); exit 1; }; }
98387 cat >conftest.$ac_ext <<_ACEOF
98388 /* confdefs.h. */
98389 _ACEOF
98390 cat confdefs.h >>conftest.$ac_ext
98391 cat >>conftest.$ac_ext <<_ACEOF
98392 /* end confdefs.h. */
98393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98395 #define $ac_func innocuous_$ac_func
98397 /* System header to define __stub macros and hopefully few prototypes,
98398 which can conflict with char $ac_func (); below.
98399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98400 <limits.h> exists even on freestanding compilers. */
98402 #ifdef __STDC__
98403 # include <limits.h>
98404 #else
98405 # include <assert.h>
98406 #endif
98408 #undef $ac_func
98410 /* Override any gcc2 internal prototype to avoid an error. */
98411 #ifdef __cplusplus
98412 extern "C"
98414 #endif
98415 /* We use char because int might match the return type of a gcc2
98416 builtin and then its argument prototype would still apply. */
98417 char $ac_func ();
98418 /* The GNU C library defines this for functions which it implements
98419 to always fail with ENOSYS. Some functions are actually named
98420 something starting with __ and the normal name is an alias. */
98421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98422 choke me
98423 #else
98424 char (*f) () = $ac_func;
98425 #endif
98426 #ifdef __cplusplus
98428 #endif
98431 main ()
98433 return f != $ac_func;
98435 return 0;
98437 _ACEOF
98438 rm -f conftest.$ac_objext conftest$ac_exeext
98439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98440 (eval $ac_link) 2>conftest.er1
98441 ac_status=$?
98442 grep -v '^ *+' conftest.er1 >conftest.err
98443 rm -f conftest.er1
98444 cat conftest.err >&5
98445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98446 (exit $ac_status); } &&
98447 { ac_try='test -z "$ac_c_werror_flag"
98448 || test ! -s conftest.err'
98449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98450 (eval $ac_try) 2>&5
98451 ac_status=$?
98452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98453 (exit $ac_status); }; } &&
98454 { ac_try='test -s conftest$ac_exeext'
98455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98456 (eval $ac_try) 2>&5
98457 ac_status=$?
98458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98459 (exit $ac_status); }; }; then
98460 eval "$as_ac_var=yes"
98461 else
98462 echo "$as_me: failed program was:" >&5
98463 sed 's/^/| /' conftest.$ac_ext >&5
98465 eval "$as_ac_var=no"
98467 rm -f conftest.err conftest.$ac_objext \
98468 conftest$ac_exeext conftest.$ac_ext
98470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98472 if test `eval echo '${'$as_ac_var'}'` = yes; then
98473 cat >>confdefs.h <<_ACEOF
98474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98475 _ACEOF
98477 else
98478 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
98480 done
98484 for ac_func in __signbitf
98486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98487 echo "$as_me:$LINENO: checking for $ac_func" >&5
98488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98489 if eval "test \"\${$as_ac_var+set}\" = set"; then
98490 echo $ECHO_N "(cached) $ECHO_C" >&6
98491 else
98492 if test x$gcc_no_link = xyes; then
98493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98495 { (exit 1); exit 1; }; }
98497 cat >conftest.$ac_ext <<_ACEOF
98498 /* confdefs.h. */
98499 _ACEOF
98500 cat confdefs.h >>conftest.$ac_ext
98501 cat >>conftest.$ac_ext <<_ACEOF
98502 /* end confdefs.h. */
98503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98505 #define $ac_func innocuous_$ac_func
98507 /* System header to define __stub macros and hopefully few prototypes,
98508 which can conflict with char $ac_func (); below.
98509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98510 <limits.h> exists even on freestanding compilers. */
98512 #ifdef __STDC__
98513 # include <limits.h>
98514 #else
98515 # include <assert.h>
98516 #endif
98518 #undef $ac_func
98520 /* Override any gcc2 internal prototype to avoid an error. */
98521 #ifdef __cplusplus
98522 extern "C"
98524 #endif
98525 /* We use char because int might match the return type of a gcc2
98526 builtin and then its argument prototype would still apply. */
98527 char $ac_func ();
98528 /* The GNU C library defines this for functions which it implements
98529 to always fail with ENOSYS. Some functions are actually named
98530 something starting with __ and the normal name is an alias. */
98531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98532 choke me
98533 #else
98534 char (*f) () = $ac_func;
98535 #endif
98536 #ifdef __cplusplus
98538 #endif
98541 main ()
98543 return f != $ac_func;
98545 return 0;
98547 _ACEOF
98548 rm -f conftest.$ac_objext conftest$ac_exeext
98549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98550 (eval $ac_link) 2>conftest.er1
98551 ac_status=$?
98552 grep -v '^ *+' conftest.er1 >conftest.err
98553 rm -f conftest.er1
98554 cat conftest.err >&5
98555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98556 (exit $ac_status); } &&
98557 { ac_try='test -z "$ac_c_werror_flag"
98558 || test ! -s conftest.err'
98559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98560 (eval $ac_try) 2>&5
98561 ac_status=$?
98562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98563 (exit $ac_status); }; } &&
98564 { ac_try='test -s conftest$ac_exeext'
98565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98566 (eval $ac_try) 2>&5
98567 ac_status=$?
98568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98569 (exit $ac_status); }; }; then
98570 eval "$as_ac_var=yes"
98571 else
98572 echo "$as_me: failed program was:" >&5
98573 sed 's/^/| /' conftest.$ac_ext >&5
98575 eval "$as_ac_var=no"
98577 rm -f conftest.err conftest.$ac_objext \
98578 conftest$ac_exeext conftest.$ac_ext
98580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98582 if test `eval echo '${'$as_ac_var'}'` = yes; then
98583 cat >>confdefs.h <<_ACEOF
98584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98585 _ACEOF
98587 else
98588 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
98590 done
98593 if test x$ac_cv_func_copysignl = x"yes"; then
98595 for ac_func in __signbitl
98597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98598 echo "$as_me:$LINENO: checking for $ac_func" >&5
98599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98600 if eval "test \"\${$as_ac_var+set}\" = set"; then
98601 echo $ECHO_N "(cached) $ECHO_C" >&6
98602 else
98603 if test x$gcc_no_link = xyes; then
98604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98606 { (exit 1); exit 1; }; }
98608 cat >conftest.$ac_ext <<_ACEOF
98609 /* confdefs.h. */
98610 _ACEOF
98611 cat confdefs.h >>conftest.$ac_ext
98612 cat >>conftest.$ac_ext <<_ACEOF
98613 /* end confdefs.h. */
98614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98616 #define $ac_func innocuous_$ac_func
98618 /* System header to define __stub macros and hopefully few prototypes,
98619 which can conflict with char $ac_func (); below.
98620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98621 <limits.h> exists even on freestanding compilers. */
98623 #ifdef __STDC__
98624 # include <limits.h>
98625 #else
98626 # include <assert.h>
98627 #endif
98629 #undef $ac_func
98631 /* Override any gcc2 internal prototype to avoid an error. */
98632 #ifdef __cplusplus
98633 extern "C"
98635 #endif
98636 /* We use char because int might match the return type of a gcc2
98637 builtin and then its argument prototype would still apply. */
98638 char $ac_func ();
98639 /* The GNU C library defines this for functions which it implements
98640 to always fail with ENOSYS. Some functions are actually named
98641 something starting with __ and the normal name is an alias. */
98642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98643 choke me
98644 #else
98645 char (*f) () = $ac_func;
98646 #endif
98647 #ifdef __cplusplus
98649 #endif
98652 main ()
98654 return f != $ac_func;
98656 return 0;
98658 _ACEOF
98659 rm -f conftest.$ac_objext conftest$ac_exeext
98660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98661 (eval $ac_link) 2>conftest.er1
98662 ac_status=$?
98663 grep -v '^ *+' conftest.er1 >conftest.err
98664 rm -f conftest.er1
98665 cat conftest.err >&5
98666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98667 (exit $ac_status); } &&
98668 { ac_try='test -z "$ac_c_werror_flag"
98669 || test ! -s conftest.err'
98670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98671 (eval $ac_try) 2>&5
98672 ac_status=$?
98673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98674 (exit $ac_status); }; } &&
98675 { ac_try='test -s conftest$ac_exeext'
98676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98677 (eval $ac_try) 2>&5
98678 ac_status=$?
98679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98680 (exit $ac_status); }; }; then
98681 eval "$as_ac_var=yes"
98682 else
98683 echo "$as_me: failed program was:" >&5
98684 sed 's/^/| /' conftest.$ac_ext >&5
98686 eval "$as_ac_var=no"
98688 rm -f conftest.err conftest.$ac_objext \
98689 conftest$ac_exeext conftest.$ac_ext
98691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98693 if test `eval echo '${'$as_ac_var'}'` = yes; then
98694 cat >>confdefs.h <<_ACEOF
98695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98696 _ACEOF
98698 else
98699 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
98701 done
98705 # Used in libmath/Makefile.am.
98706 if test -n "$LIBMATHOBJS"; then
98707 need_libmath=yes
98713 enable_iconv=no
98714 # Only continue checking if the ISO C99 headers exist and support is on.
98715 if test x"$enable_wchar_t" = xyes; then
98717 # Use iconv for wchar_t to char conversions. As such, check for
98718 # X/Open Portability Guide, version 2 features (XPG2).
98719 if test "${ac_cv_header_iconv_h+set}" = set; then
98720 echo "$as_me:$LINENO: checking for iconv.h" >&5
98721 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98722 if test "${ac_cv_header_iconv_h+set}" = set; then
98723 echo $ECHO_N "(cached) $ECHO_C" >&6
98725 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98726 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98727 else
98728 # Is the header compilable?
98729 echo "$as_me:$LINENO: checking iconv.h usability" >&5
98730 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
98731 cat >conftest.$ac_ext <<_ACEOF
98732 /* confdefs.h. */
98733 _ACEOF
98734 cat confdefs.h >>conftest.$ac_ext
98735 cat >>conftest.$ac_ext <<_ACEOF
98736 /* end confdefs.h. */
98737 $ac_includes_default
98738 #include <iconv.h>
98739 _ACEOF
98740 rm -f conftest.$ac_objext
98741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98742 (eval $ac_compile) 2>conftest.er1
98743 ac_status=$?
98744 grep -v '^ *+' conftest.er1 >conftest.err
98745 rm -f conftest.er1
98746 cat conftest.err >&5
98747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98748 (exit $ac_status); } &&
98749 { ac_try='test -z "$ac_c_werror_flag"
98750 || test ! -s conftest.err'
98751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98752 (eval $ac_try) 2>&5
98753 ac_status=$?
98754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98755 (exit $ac_status); }; } &&
98756 { ac_try='test -s conftest.$ac_objext'
98757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98758 (eval $ac_try) 2>&5
98759 ac_status=$?
98760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98761 (exit $ac_status); }; }; then
98762 ac_header_compiler=yes
98763 else
98764 echo "$as_me: failed program was:" >&5
98765 sed 's/^/| /' conftest.$ac_ext >&5
98767 ac_header_compiler=no
98769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98771 echo "${ECHO_T}$ac_header_compiler" >&6
98773 # Is the header present?
98774 echo "$as_me:$LINENO: checking iconv.h presence" >&5
98775 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
98776 cat >conftest.$ac_ext <<_ACEOF
98777 /* confdefs.h. */
98778 _ACEOF
98779 cat confdefs.h >>conftest.$ac_ext
98780 cat >>conftest.$ac_ext <<_ACEOF
98781 /* end confdefs.h. */
98782 #include <iconv.h>
98783 _ACEOF
98784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98786 ac_status=$?
98787 grep -v '^ *+' conftest.er1 >conftest.err
98788 rm -f conftest.er1
98789 cat conftest.err >&5
98790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98791 (exit $ac_status); } >/dev/null; then
98792 if test -s conftest.err; then
98793 ac_cpp_err=$ac_c_preproc_warn_flag
98794 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98795 else
98796 ac_cpp_err=
98798 else
98799 ac_cpp_err=yes
98801 if test -z "$ac_cpp_err"; then
98802 ac_header_preproc=yes
98803 else
98804 echo "$as_me: failed program was:" >&5
98805 sed 's/^/| /' conftest.$ac_ext >&5
98807 ac_header_preproc=no
98809 rm -f conftest.err conftest.$ac_ext
98810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98811 echo "${ECHO_T}$ac_header_preproc" >&6
98813 # So? What about this header?
98814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98815 yes:no: )
98816 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
98817 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
98818 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
98819 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
98820 ac_header_preproc=yes
98822 no:yes:* )
98823 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
98824 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
98825 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
98826 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
98827 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
98828 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
98829 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
98830 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
98831 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
98832 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
98833 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
98834 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
98836 cat <<\_ASBOX
98837 ## ----------------------------------------- ##
98838 ## Report this to the package-unused lists. ##
98839 ## ----------------------------------------- ##
98840 _ASBOX
98842 sed "s/^/$as_me: WARNING: /" >&2
98844 esac
98845 echo "$as_me:$LINENO: checking for iconv.h" >&5
98846 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98847 if test "${ac_cv_header_iconv_h+set}" = set; then
98848 echo $ECHO_N "(cached) $ECHO_C" >&6
98849 else
98850 ac_cv_header_iconv_h=$ac_header_preproc
98852 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98853 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98856 if test $ac_cv_header_iconv_h = yes; then
98857 ac_has_iconv_h=yes
98858 else
98859 ac_has_iconv_h=no
98863 if test "${ac_cv_header_langinfo_h+set}" = set; then
98864 echo "$as_me:$LINENO: checking for langinfo.h" >&5
98865 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
98866 if test "${ac_cv_header_langinfo_h+set}" = set; then
98867 echo $ECHO_N "(cached) $ECHO_C" >&6
98869 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
98870 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
98871 else
98872 # Is the header compilable?
98873 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
98874 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
98875 cat >conftest.$ac_ext <<_ACEOF
98876 /* confdefs.h. */
98877 _ACEOF
98878 cat confdefs.h >>conftest.$ac_ext
98879 cat >>conftest.$ac_ext <<_ACEOF
98880 /* end confdefs.h. */
98881 $ac_includes_default
98882 #include <langinfo.h>
98883 _ACEOF
98884 rm -f conftest.$ac_objext
98885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98886 (eval $ac_compile) 2>conftest.er1
98887 ac_status=$?
98888 grep -v '^ *+' conftest.er1 >conftest.err
98889 rm -f conftest.er1
98890 cat conftest.err >&5
98891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98892 (exit $ac_status); } &&
98893 { ac_try='test -z "$ac_c_werror_flag"
98894 || test ! -s conftest.err'
98895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98896 (eval $ac_try) 2>&5
98897 ac_status=$?
98898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98899 (exit $ac_status); }; } &&
98900 { ac_try='test -s conftest.$ac_objext'
98901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98902 (eval $ac_try) 2>&5
98903 ac_status=$?
98904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98905 (exit $ac_status); }; }; then
98906 ac_header_compiler=yes
98907 else
98908 echo "$as_me: failed program was:" >&5
98909 sed 's/^/| /' conftest.$ac_ext >&5
98911 ac_header_compiler=no
98913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98914 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98915 echo "${ECHO_T}$ac_header_compiler" >&6
98917 # Is the header present?
98918 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
98919 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
98920 cat >conftest.$ac_ext <<_ACEOF
98921 /* confdefs.h. */
98922 _ACEOF
98923 cat confdefs.h >>conftest.$ac_ext
98924 cat >>conftest.$ac_ext <<_ACEOF
98925 /* end confdefs.h. */
98926 #include <langinfo.h>
98927 _ACEOF
98928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98930 ac_status=$?
98931 grep -v '^ *+' conftest.er1 >conftest.err
98932 rm -f conftest.er1
98933 cat conftest.err >&5
98934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98935 (exit $ac_status); } >/dev/null; then
98936 if test -s conftest.err; then
98937 ac_cpp_err=$ac_c_preproc_warn_flag
98938 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98939 else
98940 ac_cpp_err=
98942 else
98943 ac_cpp_err=yes
98945 if test -z "$ac_cpp_err"; then
98946 ac_header_preproc=yes
98947 else
98948 echo "$as_me: failed program was:" >&5
98949 sed 's/^/| /' conftest.$ac_ext >&5
98951 ac_header_preproc=no
98953 rm -f conftest.err conftest.$ac_ext
98954 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98955 echo "${ECHO_T}$ac_header_preproc" >&6
98957 # So? What about this header?
98958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98959 yes:no: )
98960 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
98961 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
98962 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
98963 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
98964 ac_header_preproc=yes
98966 no:yes:* )
98967 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
98968 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
98969 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
98970 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
98971 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
98972 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
98973 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
98974 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
98975 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
98976 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
98977 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
98978 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
98980 cat <<\_ASBOX
98981 ## ----------------------------------------- ##
98982 ## Report this to the package-unused lists. ##
98983 ## ----------------------------------------- ##
98984 _ASBOX
98986 sed "s/^/$as_me: WARNING: /" >&2
98988 esac
98989 echo "$as_me:$LINENO: checking for langinfo.h" >&5
98990 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
98991 if test "${ac_cv_header_langinfo_h+set}" = set; then
98992 echo $ECHO_N "(cached) $ECHO_C" >&6
98993 else
98994 ac_cv_header_langinfo_h=$ac_header_preproc
98996 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
98997 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
99000 if test $ac_cv_header_langinfo_h = yes; then
99001 ac_has_langinfo_h=yes
99002 else
99003 ac_has_langinfo_h=no
99008 # Check for existence of libiconv.a providing XPG2 wchar_t support.
99009 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
99010 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
99011 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
99012 echo $ECHO_N "(cached) $ECHO_C" >&6
99013 else
99014 ac_check_lib_save_LIBS=$LIBS
99015 LIBS="-liconv $LIBS"
99016 if test x$gcc_no_link = xyes; then
99017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99019 { (exit 1); exit 1; }; }
99021 cat >conftest.$ac_ext <<_ACEOF
99022 /* confdefs.h. */
99023 _ACEOF
99024 cat confdefs.h >>conftest.$ac_ext
99025 cat >>conftest.$ac_ext <<_ACEOF
99026 /* end confdefs.h. */
99028 /* Override any gcc2 internal prototype to avoid an error. */
99029 #ifdef __cplusplus
99030 extern "C"
99031 #endif
99032 /* We use char because int might match the return type of a gcc2
99033 builtin and then its argument prototype would still apply. */
99034 char iconv ();
99036 main ()
99038 iconv ();
99040 return 0;
99042 _ACEOF
99043 rm -f conftest.$ac_objext conftest$ac_exeext
99044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99045 (eval $ac_link) 2>conftest.er1
99046 ac_status=$?
99047 grep -v '^ *+' conftest.er1 >conftest.err
99048 rm -f conftest.er1
99049 cat conftest.err >&5
99050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99051 (exit $ac_status); } &&
99052 { ac_try='test -z "$ac_c_werror_flag"
99053 || test ! -s conftest.err'
99054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99055 (eval $ac_try) 2>&5
99056 ac_status=$?
99057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99058 (exit $ac_status); }; } &&
99059 { ac_try='test -s conftest$ac_exeext'
99060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99061 (eval $ac_try) 2>&5
99062 ac_status=$?
99063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99064 (exit $ac_status); }; }; then
99065 ac_cv_lib_iconv_iconv=yes
99066 else
99067 echo "$as_me: failed program was:" >&5
99068 sed 's/^/| /' conftest.$ac_ext >&5
99070 ac_cv_lib_iconv_iconv=no
99072 rm -f conftest.err conftest.$ac_objext \
99073 conftest$ac_exeext conftest.$ac_ext
99074 LIBS=$ac_check_lib_save_LIBS
99076 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
99077 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
99078 if test $ac_cv_lib_iconv_iconv = yes; then
99079 LIBICONV="-liconv"
99082 ac_save_LIBS="$LIBS"
99083 LIBS="$LIBS $LIBICONV"
99090 for ac_func in iconv_open iconv_close iconv nl_langinfo
99092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99093 echo "$as_me:$LINENO: checking for $ac_func" >&5
99094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99095 if eval "test \"\${$as_ac_var+set}\" = set"; then
99096 echo $ECHO_N "(cached) $ECHO_C" >&6
99097 else
99098 if test x$gcc_no_link = xyes; then
99099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99101 { (exit 1); exit 1; }; }
99103 cat >conftest.$ac_ext <<_ACEOF
99104 /* confdefs.h. */
99105 _ACEOF
99106 cat confdefs.h >>conftest.$ac_ext
99107 cat >>conftest.$ac_ext <<_ACEOF
99108 /* end confdefs.h. */
99109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99111 #define $ac_func innocuous_$ac_func
99113 /* System header to define __stub macros and hopefully few prototypes,
99114 which can conflict with char $ac_func (); below.
99115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99116 <limits.h> exists even on freestanding compilers. */
99118 #ifdef __STDC__
99119 # include <limits.h>
99120 #else
99121 # include <assert.h>
99122 #endif
99124 #undef $ac_func
99126 /* Override any gcc2 internal prototype to avoid an error. */
99127 #ifdef __cplusplus
99128 extern "C"
99130 #endif
99131 /* We use char because int might match the return type of a gcc2
99132 builtin and then its argument prototype would still apply. */
99133 char $ac_func ();
99134 /* The GNU C library defines this for functions which it implements
99135 to always fail with ENOSYS. Some functions are actually named
99136 something starting with __ and the normal name is an alias. */
99137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99138 choke me
99139 #else
99140 char (*f) () = $ac_func;
99141 #endif
99142 #ifdef __cplusplus
99144 #endif
99147 main ()
99149 return f != $ac_func;
99151 return 0;
99153 _ACEOF
99154 rm -f conftest.$ac_objext conftest$ac_exeext
99155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99156 (eval $ac_link) 2>conftest.er1
99157 ac_status=$?
99158 grep -v '^ *+' conftest.er1 >conftest.err
99159 rm -f conftest.er1
99160 cat conftest.err >&5
99161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99162 (exit $ac_status); } &&
99163 { ac_try='test -z "$ac_c_werror_flag"
99164 || test ! -s conftest.err'
99165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99166 (eval $ac_try) 2>&5
99167 ac_status=$?
99168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99169 (exit $ac_status); }; } &&
99170 { ac_try='test -s conftest$ac_exeext'
99171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99172 (eval $ac_try) 2>&5
99173 ac_status=$?
99174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99175 (exit $ac_status); }; }; then
99176 eval "$as_ac_var=yes"
99177 else
99178 echo "$as_me: failed program was:" >&5
99179 sed 's/^/| /' conftest.$ac_ext >&5
99181 eval "$as_ac_var=no"
99183 rm -f conftest.err conftest.$ac_objext \
99184 conftest$ac_exeext conftest.$ac_ext
99186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99188 if test `eval echo '${'$as_ac_var'}'` = yes; then
99189 cat >>confdefs.h <<_ACEOF
99190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99191 _ACEOF
99192 ac_XPG2funcs=yes
99193 else
99194 ac_XPG2funcs=no
99196 done
99199 LIBS="$ac_save_LIBS"
99201 if test x"$ac_has_iconv_h" = xyes &&
99202 test x"$ac_has_langinfo_h" = xyes &&
99203 test x"$ac_XPG2funcs" = xyes;
99204 then
99206 cat >>confdefs.h <<\_ACEOF
99207 #define _GLIBCXX_USE_ICONV 1
99208 _ACEOF
99210 enable_iconv=yes
99213 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
99214 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
99215 echo "$as_me:$LINENO: result: $enable_iconv" >&5
99216 echo "${ECHO_T}$enable_iconv" >&6
99219 ac_test_CXXFLAGS="${CXXFLAGS+set}"
99220 ac_save_CXXFLAGS="$CXXFLAGS"
99221 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
99224 echo "$as_me:$LINENO: checking for strtold declaration" >&5
99225 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
99226 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
99227 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
99228 echo $ECHO_N "(cached) $ECHO_C" >&6
99229 else
99233 ac_ext=cc
99234 ac_cpp='$CXXCPP $CPPFLAGS'
99235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99239 cat >conftest.$ac_ext <<_ACEOF
99240 /* confdefs.h. */
99241 _ACEOF
99242 cat confdefs.h >>conftest.$ac_ext
99243 cat >>conftest.$ac_ext <<_ACEOF
99244 /* end confdefs.h. */
99245 #include <stdlib.h>
99247 main ()
99249 strtold(0, 0);
99251 return 0;
99253 _ACEOF
99254 rm -f conftest.$ac_objext
99255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99256 (eval $ac_compile) 2>conftest.er1
99257 ac_status=$?
99258 grep -v '^ *+' conftest.er1 >conftest.err
99259 rm -f conftest.er1
99260 cat conftest.err >&5
99261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99262 (exit $ac_status); } &&
99263 { ac_try='test -z "$ac_cxx_werror_flag"
99264 || test ! -s conftest.err'
99265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99266 (eval $ac_try) 2>&5
99267 ac_status=$?
99268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99269 (exit $ac_status); }; } &&
99270 { ac_try='test -s conftest.$ac_objext'
99271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99272 (eval $ac_try) 2>&5
99273 ac_status=$?
99274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99275 (exit $ac_status); }; }; then
99276 glibcxx_cv_func_strtold_use=yes
99277 else
99278 echo "$as_me: failed program was:" >&5
99279 sed 's/^/| /' conftest.$ac_ext >&5
99281 glibcxx_cv_func_strtold_use=no
99283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99284 ac_ext=c
99285 ac_cpp='$CPP $CPPFLAGS'
99286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99294 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
99295 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
99296 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
99298 for ac_func in strtold
99300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99301 echo "$as_me:$LINENO: checking for $ac_func" >&5
99302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99303 if eval "test \"\${$as_ac_var+set}\" = set"; then
99304 echo $ECHO_N "(cached) $ECHO_C" >&6
99305 else
99306 if test x$gcc_no_link = xyes; then
99307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99309 { (exit 1); exit 1; }; }
99311 cat >conftest.$ac_ext <<_ACEOF
99312 /* confdefs.h. */
99313 _ACEOF
99314 cat confdefs.h >>conftest.$ac_ext
99315 cat >>conftest.$ac_ext <<_ACEOF
99316 /* end confdefs.h. */
99317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99319 #define $ac_func innocuous_$ac_func
99321 /* System header to define __stub macros and hopefully few prototypes,
99322 which can conflict with char $ac_func (); below.
99323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99324 <limits.h> exists even on freestanding compilers. */
99326 #ifdef __STDC__
99327 # include <limits.h>
99328 #else
99329 # include <assert.h>
99330 #endif
99332 #undef $ac_func
99334 /* Override any gcc2 internal prototype to avoid an error. */
99335 #ifdef __cplusplus
99336 extern "C"
99338 #endif
99339 /* We use char because int might match the return type of a gcc2
99340 builtin and then its argument prototype would still apply. */
99341 char $ac_func ();
99342 /* The GNU C library defines this for functions which it implements
99343 to always fail with ENOSYS. Some functions are actually named
99344 something starting with __ and the normal name is an alias. */
99345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99346 choke me
99347 #else
99348 char (*f) () = $ac_func;
99349 #endif
99350 #ifdef __cplusplus
99352 #endif
99355 main ()
99357 return f != $ac_func;
99359 return 0;
99361 _ACEOF
99362 rm -f conftest.$ac_objext conftest$ac_exeext
99363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99364 (eval $ac_link) 2>conftest.er1
99365 ac_status=$?
99366 grep -v '^ *+' conftest.er1 >conftest.err
99367 rm -f conftest.er1
99368 cat conftest.err >&5
99369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99370 (exit $ac_status); } &&
99371 { ac_try='test -z "$ac_c_werror_flag"
99372 || test ! -s conftest.err'
99373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99374 (eval $ac_try) 2>&5
99375 ac_status=$?
99376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99377 (exit $ac_status); }; } &&
99378 { ac_try='test -s conftest$ac_exeext'
99379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99380 (eval $ac_try) 2>&5
99381 ac_status=$?
99382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99383 (exit $ac_status); }; }; then
99384 eval "$as_ac_var=yes"
99385 else
99386 echo "$as_me: failed program was:" >&5
99387 sed 's/^/| /' conftest.$ac_ext >&5
99389 eval "$as_ac_var=no"
99391 rm -f conftest.err conftest.$ac_objext \
99392 conftest$ac_exeext conftest.$ac_ext
99394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99396 if test `eval echo '${'$as_ac_var'}'` = yes; then
99397 cat >>confdefs.h <<_ACEOF
99398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99399 _ACEOF
99402 done
99410 echo "$as_me:$LINENO: checking for strtof declaration" >&5
99411 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
99412 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
99413 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
99414 echo $ECHO_N "(cached) $ECHO_C" >&6
99415 else
99419 ac_ext=cc
99420 ac_cpp='$CXXCPP $CPPFLAGS'
99421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99425 cat >conftest.$ac_ext <<_ACEOF
99426 /* confdefs.h. */
99427 _ACEOF
99428 cat confdefs.h >>conftest.$ac_ext
99429 cat >>conftest.$ac_ext <<_ACEOF
99430 /* end confdefs.h. */
99431 #include <stdlib.h>
99433 main ()
99435 strtof(0, 0);
99437 return 0;
99439 _ACEOF
99440 rm -f conftest.$ac_objext
99441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99442 (eval $ac_compile) 2>conftest.er1
99443 ac_status=$?
99444 grep -v '^ *+' conftest.er1 >conftest.err
99445 rm -f conftest.er1
99446 cat conftest.err >&5
99447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99448 (exit $ac_status); } &&
99449 { ac_try='test -z "$ac_cxx_werror_flag"
99450 || test ! -s conftest.err'
99451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99452 (eval $ac_try) 2>&5
99453 ac_status=$?
99454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99455 (exit $ac_status); }; } &&
99456 { ac_try='test -s conftest.$ac_objext'
99457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99458 (eval $ac_try) 2>&5
99459 ac_status=$?
99460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99461 (exit $ac_status); }; }; then
99462 glibcxx_cv_func_strtof_use=yes
99463 else
99464 echo "$as_me: failed program was:" >&5
99465 sed 's/^/| /' conftest.$ac_ext >&5
99467 glibcxx_cv_func_strtof_use=no
99469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99470 ac_ext=c
99471 ac_cpp='$CPP $CPPFLAGS'
99472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99480 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
99481 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
99482 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
99484 for ac_func in strtof
99486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99487 echo "$as_me:$LINENO: checking for $ac_func" >&5
99488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99489 if eval "test \"\${$as_ac_var+set}\" = set"; then
99490 echo $ECHO_N "(cached) $ECHO_C" >&6
99491 else
99492 if test x$gcc_no_link = xyes; then
99493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99495 { (exit 1); exit 1; }; }
99497 cat >conftest.$ac_ext <<_ACEOF
99498 /* confdefs.h. */
99499 _ACEOF
99500 cat confdefs.h >>conftest.$ac_ext
99501 cat >>conftest.$ac_ext <<_ACEOF
99502 /* end confdefs.h. */
99503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99505 #define $ac_func innocuous_$ac_func
99507 /* System header to define __stub macros and hopefully few prototypes,
99508 which can conflict with char $ac_func (); below.
99509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99510 <limits.h> exists even on freestanding compilers. */
99512 #ifdef __STDC__
99513 # include <limits.h>
99514 #else
99515 # include <assert.h>
99516 #endif
99518 #undef $ac_func
99520 /* Override any gcc2 internal prototype to avoid an error. */
99521 #ifdef __cplusplus
99522 extern "C"
99524 #endif
99525 /* We use char because int might match the return type of a gcc2
99526 builtin and then its argument prototype would still apply. */
99527 char $ac_func ();
99528 /* The GNU C library defines this for functions which it implements
99529 to always fail with ENOSYS. Some functions are actually named
99530 something starting with __ and the normal name is an alias. */
99531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99532 choke me
99533 #else
99534 char (*f) () = $ac_func;
99535 #endif
99536 #ifdef __cplusplus
99538 #endif
99541 main ()
99543 return f != $ac_func;
99545 return 0;
99547 _ACEOF
99548 rm -f conftest.$ac_objext conftest$ac_exeext
99549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99550 (eval $ac_link) 2>conftest.er1
99551 ac_status=$?
99552 grep -v '^ *+' conftest.er1 >conftest.err
99553 rm -f conftest.er1
99554 cat conftest.err >&5
99555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99556 (exit $ac_status); } &&
99557 { ac_try='test -z "$ac_c_werror_flag"
99558 || test ! -s conftest.err'
99559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99560 (eval $ac_try) 2>&5
99561 ac_status=$?
99562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99563 (exit $ac_status); }; } &&
99564 { ac_try='test -s conftest$ac_exeext'
99565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99566 (eval $ac_try) 2>&5
99567 ac_status=$?
99568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99569 (exit $ac_status); }; }; then
99570 eval "$as_ac_var=yes"
99571 else
99572 echo "$as_me: failed program was:" >&5
99573 sed 's/^/| /' conftest.$ac_ext >&5
99575 eval "$as_ac_var=no"
99577 rm -f conftest.err conftest.$ac_objext \
99578 conftest$ac_exeext conftest.$ac_ext
99580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99582 if test `eval echo '${'$as_ac_var'}'` = yes; then
99583 cat >>confdefs.h <<_ACEOF
99584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99585 _ACEOF
99588 done
99596 CXXFLAGS="$ac_save_CXXFLAGS"
99599 # For LFS.
99600 cat >>confdefs.h <<\_ACEOF
99601 #define HAVE_INT64_T 1
99602 _ACEOF
99604 case "$target" in
99605 *-uclinux*)
99606 # Don't enable LFS with uClibc
99609 cat >>confdefs.h <<\_ACEOF
99610 #define _GLIBCXX_USE_LFS 1
99611 _ACEOF
99613 esac
99615 # For showmanyc_helper().
99618 for ac_header in sys/ioctl.h sys/filio.h
99620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99622 echo "$as_me:$LINENO: checking for $ac_header" >&5
99623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99625 echo $ECHO_N "(cached) $ECHO_C" >&6
99627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99629 else
99630 # Is the header compilable?
99631 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99632 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99633 cat >conftest.$ac_ext <<_ACEOF
99634 /* confdefs.h. */
99635 _ACEOF
99636 cat confdefs.h >>conftest.$ac_ext
99637 cat >>conftest.$ac_ext <<_ACEOF
99638 /* end confdefs.h. */
99639 $ac_includes_default
99640 #include <$ac_header>
99641 _ACEOF
99642 rm -f conftest.$ac_objext
99643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99644 (eval $ac_compile) 2>conftest.er1
99645 ac_status=$?
99646 grep -v '^ *+' conftest.er1 >conftest.err
99647 rm -f conftest.er1
99648 cat conftest.err >&5
99649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99650 (exit $ac_status); } &&
99651 { ac_try='test -z "$ac_c_werror_flag"
99652 || test ! -s conftest.err'
99653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99654 (eval $ac_try) 2>&5
99655 ac_status=$?
99656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99657 (exit $ac_status); }; } &&
99658 { ac_try='test -s conftest.$ac_objext'
99659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99660 (eval $ac_try) 2>&5
99661 ac_status=$?
99662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99663 (exit $ac_status); }; }; then
99664 ac_header_compiler=yes
99665 else
99666 echo "$as_me: failed program was:" >&5
99667 sed 's/^/| /' conftest.$ac_ext >&5
99669 ac_header_compiler=no
99671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99673 echo "${ECHO_T}$ac_header_compiler" >&6
99675 # Is the header present?
99676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
99677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
99678 cat >conftest.$ac_ext <<_ACEOF
99679 /* confdefs.h. */
99680 _ACEOF
99681 cat confdefs.h >>conftest.$ac_ext
99682 cat >>conftest.$ac_ext <<_ACEOF
99683 /* end confdefs.h. */
99684 #include <$ac_header>
99685 _ACEOF
99686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99688 ac_status=$?
99689 grep -v '^ *+' conftest.er1 >conftest.err
99690 rm -f conftest.er1
99691 cat conftest.err >&5
99692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99693 (exit $ac_status); } >/dev/null; then
99694 if test -s conftest.err; then
99695 ac_cpp_err=$ac_c_preproc_warn_flag
99696 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99697 else
99698 ac_cpp_err=
99700 else
99701 ac_cpp_err=yes
99703 if test -z "$ac_cpp_err"; then
99704 ac_header_preproc=yes
99705 else
99706 echo "$as_me: failed program was:" >&5
99707 sed 's/^/| /' conftest.$ac_ext >&5
99709 ac_header_preproc=no
99711 rm -f conftest.err conftest.$ac_ext
99712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99713 echo "${ECHO_T}$ac_header_preproc" >&6
99715 # So? What about this header?
99716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99717 yes:no: )
99718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
99719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
99720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
99721 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
99722 ac_header_preproc=yes
99724 no:yes:* )
99725 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
99726 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
99727 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
99728 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
99729 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
99730 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
99731 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
99732 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
99733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
99734 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
99735 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
99736 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
99738 cat <<\_ASBOX
99739 ## ----------------------------------------- ##
99740 ## Report this to the package-unused lists. ##
99741 ## ----------------------------------------- ##
99742 _ASBOX
99744 sed "s/^/$as_me: WARNING: /" >&2
99746 esac
99747 echo "$as_me:$LINENO: checking for $ac_header" >&5
99748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99750 echo $ECHO_N "(cached) $ECHO_C" >&6
99751 else
99752 eval "$as_ac_Header=\$ac_header_preproc"
99754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
99759 cat >>confdefs.h <<_ACEOF
99760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
99761 _ACEOF
99765 done
99768 echo "$as_me:$LINENO: checking for poll" >&5
99769 echo $ECHO_N "checking for poll... $ECHO_C" >&6
99770 if test "${glibcxx_cv_POLL+set}" = set; then
99771 echo $ECHO_N "(cached) $ECHO_C" >&6
99772 else
99774 if test x$gcc_no_link = xyes; then
99775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99777 { (exit 1); exit 1; }; }
99779 cat >conftest.$ac_ext <<_ACEOF
99780 /* confdefs.h. */
99781 _ACEOF
99782 cat confdefs.h >>conftest.$ac_ext
99783 cat >>conftest.$ac_ext <<_ACEOF
99784 /* end confdefs.h. */
99785 #include <poll.h>
99787 main ()
99789 struct pollfd pfd[1];
99790 pfd[0].events = POLLIN;
99791 poll(pfd, 1, 0);
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 glibcxx_cv_POLL=yes
99819 else
99820 echo "$as_me: failed program was:" >&5
99821 sed 's/^/| /' conftest.$ac_ext >&5
99823 glibcxx_cv_POLL=no
99825 rm -f conftest.err conftest.$ac_objext \
99826 conftest$ac_exeext conftest.$ac_ext
99830 if test $glibcxx_cv_POLL = yes; then
99832 cat >>confdefs.h <<\_ACEOF
99833 #define HAVE_POLL 1
99834 _ACEOF
99837 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
99838 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
99841 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
99842 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
99843 if test "${glibcxx_cv_S_ISREG+set}" = set; then
99844 echo $ECHO_N "(cached) $ECHO_C" >&6
99845 else
99847 if test x$gcc_no_link = xyes; then
99848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99850 { (exit 1); exit 1; }; }
99852 cat >conftest.$ac_ext <<_ACEOF
99853 /* confdefs.h. */
99854 _ACEOF
99855 cat confdefs.h >>conftest.$ac_ext
99856 cat >>conftest.$ac_ext <<_ACEOF
99857 /* end confdefs.h. */
99858 #include <sys/stat.h>
99860 main ()
99862 struct stat buffer;
99863 fstat(0, &buffer);
99864 S_ISREG(buffer.st_mode);
99866 return 0;
99868 _ACEOF
99869 rm -f conftest.$ac_objext conftest$ac_exeext
99870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99871 (eval $ac_link) 2>conftest.er1
99872 ac_status=$?
99873 grep -v '^ *+' conftest.er1 >conftest.err
99874 rm -f conftest.er1
99875 cat conftest.err >&5
99876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99877 (exit $ac_status); } &&
99878 { ac_try='test -z "$ac_c_werror_flag"
99879 || test ! -s conftest.err'
99880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99881 (eval $ac_try) 2>&5
99882 ac_status=$?
99883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99884 (exit $ac_status); }; } &&
99885 { ac_try='test -s conftest$ac_exeext'
99886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99887 (eval $ac_try) 2>&5
99888 ac_status=$?
99889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99890 (exit $ac_status); }; }; then
99891 glibcxx_cv_S_ISREG=yes
99892 else
99893 echo "$as_me: failed program was:" >&5
99894 sed 's/^/| /' conftest.$ac_ext >&5
99896 glibcxx_cv_S_ISREG=no
99898 rm -f conftest.err conftest.$ac_objext \
99899 conftest$ac_exeext conftest.$ac_ext
99903 if test "${glibcxx_cv_S_IFREG+set}" = set; then
99904 echo $ECHO_N "(cached) $ECHO_C" >&6
99905 else
99907 if test x$gcc_no_link = xyes; then
99908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99910 { (exit 1); exit 1; }; }
99912 cat >conftest.$ac_ext <<_ACEOF
99913 /* confdefs.h. */
99914 _ACEOF
99915 cat confdefs.h >>conftest.$ac_ext
99916 cat >>conftest.$ac_ext <<_ACEOF
99917 /* end confdefs.h. */
99918 #include <sys/stat.h>
99920 main ()
99922 struct stat buffer;
99923 fstat(0, &buffer);
99924 S_IFREG & buffer.st_mode;
99926 return 0;
99928 _ACEOF
99929 rm -f conftest.$ac_objext conftest$ac_exeext
99930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99931 (eval $ac_link) 2>conftest.er1
99932 ac_status=$?
99933 grep -v '^ *+' conftest.er1 >conftest.err
99934 rm -f conftest.er1
99935 cat conftest.err >&5
99936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99937 (exit $ac_status); } &&
99938 { ac_try='test -z "$ac_c_werror_flag"
99939 || test ! -s conftest.err'
99940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99941 (eval $ac_try) 2>&5
99942 ac_status=$?
99943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99944 (exit $ac_status); }; } &&
99945 { ac_try='test -s conftest$ac_exeext'
99946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99947 (eval $ac_try) 2>&5
99948 ac_status=$?
99949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99950 (exit $ac_status); }; }; then
99951 glibcxx_cv_S_IFREG=yes
99952 else
99953 echo "$as_me: failed program was:" >&5
99954 sed 's/^/| /' conftest.$ac_ext >&5
99956 glibcxx_cv_S_IFREG=no
99958 rm -f conftest.err conftest.$ac_objext \
99959 conftest$ac_exeext conftest.$ac_ext
99963 res=no
99964 if test $glibcxx_cv_S_ISREG = yes; then
99966 cat >>confdefs.h <<\_ACEOF
99967 #define HAVE_S_ISREG 1
99968 _ACEOF
99970 res=S_ISREG
99971 elif test $glibcxx_cv_S_IFREG = yes; then
99973 cat >>confdefs.h <<\_ACEOF
99974 #define HAVE_S_IFREG 1
99975 _ACEOF
99977 res=S_IFREG
99979 echo "$as_me:$LINENO: result: $res" >&5
99980 echo "${ECHO_T}$res" >&6
99983 # For xsputn_2().
99985 for ac_header in sys/uio.h
99987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99989 echo "$as_me:$LINENO: checking for $ac_header" >&5
99990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99992 echo $ECHO_N "(cached) $ECHO_C" >&6
99994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99996 else
99997 # Is the header compilable?
99998 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99999 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100000 cat >conftest.$ac_ext <<_ACEOF
100001 /* confdefs.h. */
100002 _ACEOF
100003 cat confdefs.h >>conftest.$ac_ext
100004 cat >>conftest.$ac_ext <<_ACEOF
100005 /* end confdefs.h. */
100006 $ac_includes_default
100007 #include <$ac_header>
100008 _ACEOF
100009 rm -f conftest.$ac_objext
100010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100011 (eval $ac_compile) 2>conftest.er1
100012 ac_status=$?
100013 grep -v '^ *+' conftest.er1 >conftest.err
100014 rm -f conftest.er1
100015 cat conftest.err >&5
100016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100017 (exit $ac_status); } &&
100018 { ac_try='test -z "$ac_c_werror_flag"
100019 || test ! -s conftest.err'
100020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100021 (eval $ac_try) 2>&5
100022 ac_status=$?
100023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100024 (exit $ac_status); }; } &&
100025 { ac_try='test -s conftest.$ac_objext'
100026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100027 (eval $ac_try) 2>&5
100028 ac_status=$?
100029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100030 (exit $ac_status); }; }; then
100031 ac_header_compiler=yes
100033 echo "$as_me: failed program was:" >&5
100034 sed 's/^/| /' conftest.$ac_ext >&5
100036 ac_header_compiler=no
100038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100040 echo "${ECHO_T}$ac_header_compiler" >&6
100042 # Is the header present?
100043 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100045 cat >conftest.$ac_ext <<_ACEOF
100046 /* confdefs.h. */
100047 _ACEOF
100048 cat confdefs.h >>conftest.$ac_ext
100049 cat >>conftest.$ac_ext <<_ACEOF
100050 /* end confdefs.h. */
100051 #include <$ac_header>
100052 _ACEOF
100053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100055 ac_status=$?
100056 grep -v '^ *+' conftest.er1 >conftest.err
100057 rm -f conftest.er1
100058 cat conftest.err >&5
100059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100060 (exit $ac_status); } >/dev/null; then
100061 if test -s conftest.err; then
100062 ac_cpp_err=$ac_c_preproc_warn_flag
100063 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100065 ac_cpp_err=
100068 ac_cpp_err=yes
100070 if test -z "$ac_cpp_err"; then
100071 ac_header_preproc=yes
100073 echo "$as_me: failed program was:" >&5
100074 sed 's/^/| /' conftest.$ac_ext >&5
100076 ac_header_preproc=no
100078 rm -f conftest.err conftest.$ac_ext
100079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100080 echo "${ECHO_T}$ac_header_preproc" >&6
100082 # So? What about this header?
100083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100084 yes:no: )
100085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100089 ac_header_preproc=yes
100091 no:yes:* )
100092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100105 cat <<\_ASBOX
100106 ## ----------------------------------------- ##
100107 ## Report this to the package-unused lists. ##
100108 ## ----------------------------------------- ##
100109 _ASBOX
100111 sed "s/^/$as_me: WARNING: /" >&2
100114 echo "$as_me:$LINENO: checking for $ac_header" >&5
100115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100117 echo $ECHO_N "(cached) $ECHO_C" >&6
100119 eval "$as_ac_Header=\$ac_header_preproc"
100121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100126 cat >>confdefs.h <<_ACEOF
100127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100128 _ACEOF
100135 echo "$as_me:$LINENO: checking for writev" >&5
100136 echo $ECHO_N "checking for writev... $ECHO_C" >&6
100137 if test "${glibcxx_cv_WRITEV+set}" = set; then
100138 echo $ECHO_N "(cached) $ECHO_C" >&6
100141 if test x$gcc_no_link = xyes; then
100142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100144 { (exit 1); exit 1; }; }
100146 cat >conftest.$ac_ext <<_ACEOF
100147 /* confdefs.h. */
100148 _ACEOF
100149 cat confdefs.h >>conftest.$ac_ext
100150 cat >>conftest.$ac_ext <<_ACEOF
100151 /* end confdefs.h. */
100152 #include <sys/uio.h>
100154 main ()
100156 struct iovec iov[2];
100157 writev(0, iov, 0);
100159 return 0;
100161 _ACEOF
100162 rm -f conftest.$ac_objext conftest$ac_exeext
100163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100164 (eval $ac_link) 2>conftest.er1
100165 ac_status=$?
100166 grep -v '^ *+' conftest.er1 >conftest.err
100167 rm -f conftest.er1
100168 cat conftest.err >&5
100169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100170 (exit $ac_status); } &&
100171 { ac_try='test -z "$ac_c_werror_flag"
100172 || test ! -s conftest.err'
100173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100174 (eval $ac_try) 2>&5
100175 ac_status=$?
100176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100177 (exit $ac_status); }; } &&
100178 { ac_try='test -s conftest$ac_exeext'
100179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100180 (eval $ac_try) 2>&5
100181 ac_status=$?
100182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100183 (exit $ac_status); }; }; then
100184 glibcxx_cv_WRITEV=yes
100186 echo "$as_me: failed program was:" >&5
100187 sed 's/^/| /' conftest.$ac_ext >&5
100189 glibcxx_cv_WRITEV=no
100191 rm -f conftest.err conftest.$ac_objext \
100192 conftest$ac_exeext conftest.$ac_ext
100196 if test $glibcxx_cv_WRITEV = yes; then
100198 cat >>confdefs.h <<\_ACEOF
100199 #define HAVE_WRITEV 1
100200 _ACEOF
100203 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
100204 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
100207 *-mingw32*)
100211 for ac_header in sys/types.h locale.h float.h
100213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100215 echo "$as_me:$LINENO: checking for $ac_header" >&5
100216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100218 echo $ECHO_N "(cached) $ECHO_C" >&6
100220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100223 # Is the header compilable?
100224 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100225 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100226 cat >conftest.$ac_ext <<_ACEOF
100227 /* confdefs.h. */
100228 _ACEOF
100229 cat confdefs.h >>conftest.$ac_ext
100230 cat >>conftest.$ac_ext <<_ACEOF
100231 /* end confdefs.h. */
100232 $ac_includes_default
100233 #include <$ac_header>
100234 _ACEOF
100235 rm -f conftest.$ac_objext
100236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100237 (eval $ac_compile) 2>conftest.er1
100238 ac_status=$?
100239 grep -v '^ *+' conftest.er1 >conftest.err
100240 rm -f conftest.er1
100241 cat conftest.err >&5
100242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100243 (exit $ac_status); } &&
100244 { ac_try='test -z "$ac_c_werror_flag"
100245 || test ! -s conftest.err'
100246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100247 (eval $ac_try) 2>&5
100248 ac_status=$?
100249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100250 (exit $ac_status); }; } &&
100251 { ac_try='test -s conftest.$ac_objext'
100252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100253 (eval $ac_try) 2>&5
100254 ac_status=$?
100255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100256 (exit $ac_status); }; }; then
100257 ac_header_compiler=yes
100259 echo "$as_me: failed program was:" >&5
100260 sed 's/^/| /' conftest.$ac_ext >&5
100262 ac_header_compiler=no
100264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100266 echo "${ECHO_T}$ac_header_compiler" >&6
100268 # Is the header present?
100269 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100270 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100271 cat >conftest.$ac_ext <<_ACEOF
100272 /* confdefs.h. */
100273 _ACEOF
100274 cat confdefs.h >>conftest.$ac_ext
100275 cat >>conftest.$ac_ext <<_ACEOF
100276 /* end confdefs.h. */
100277 #include <$ac_header>
100278 _ACEOF
100279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100281 ac_status=$?
100282 grep -v '^ *+' conftest.er1 >conftest.err
100283 rm -f conftest.er1
100284 cat conftest.err >&5
100285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100286 (exit $ac_status); } >/dev/null; then
100287 if test -s conftest.err; then
100288 ac_cpp_err=$ac_c_preproc_warn_flag
100289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100291 ac_cpp_err=
100294 ac_cpp_err=yes
100296 if test -z "$ac_cpp_err"; then
100297 ac_header_preproc=yes
100299 echo "$as_me: failed program was:" >&5
100300 sed 's/^/| /' conftest.$ac_ext >&5
100302 ac_header_preproc=no
100304 rm -f conftest.err conftest.$ac_ext
100305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100306 echo "${ECHO_T}$ac_header_preproc" >&6
100308 # So? What about this header?
100309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100310 yes:no: )
100311 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100312 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100314 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100315 ac_header_preproc=yes
100317 no:yes:* )
100318 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100319 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100320 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100321 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100322 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100323 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100324 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100325 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100328 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100329 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100331 cat <<\_ASBOX
100332 ## ----------------------------------------- ##
100333 ## Report this to the package-unused lists. ##
100334 ## ----------------------------------------- ##
100335 _ASBOX
100337 sed "s/^/$as_me: WARNING: /" >&2
100340 echo "$as_me:$LINENO: checking for $ac_header" >&5
100341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100343 echo $ECHO_N "(cached) $ECHO_C" >&6
100345 eval "$as_ac_Header=\$ac_header_preproc"
100347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100352 cat >>confdefs.h <<_ACEOF
100353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100354 _ACEOF
100361 # If we're not using GNU ld, then there's no point in even trying these
100362 # tests. Check for that first. We should have already tested for gld
100363 # by now (in libtool), but require it now just to be safe...
100364 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100365 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100369 # The name set by libtool depends on the version of libtool. Shame on us
100370 # for depending on an impl detail, but c'est la vie. Older versions used
100371 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100372 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100373 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
100374 # set (hence we're using an older libtool), then set it.
100375 if test x${with_gnu_ld+set} != xset; then
100376 if test x${ac_cv_prog_gnu_ld+set} != xset; then
100377 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
100378 with_gnu_ld=no
100380 with_gnu_ld=$ac_cv_prog_gnu_ld
100384 # Start by getting the version number. I think the libtool test already
100385 # does some of this, but throws away the result.
100386 echo "$as_me:$LINENO: checking for ld version" >&5
100387 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100389 ldver=`$LD --version 2>/dev/null | head -1 | \
100390 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
100392 glibcxx_gnu_ld_version=`echo $ldver | \
100393 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100394 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100395 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100397 # Set --gc-sections.
100398 glibcxx_gcsections_min_ld=21602
100399 if test x"$with_gnu_ld" = x"yes" &&
100400 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100402 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
100403 # NB: This flag only works reliably after 2.16.1. Configure tests
100404 # for this are difficult, so hard wire a value that should work.
100406 # All these tests are for C++, but run with the "C" compiler driver.
100407 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
100408 ac_test_CFLAGS="${CFLAGS+set}"
100409 ac_save_CFLAGS="$CFLAGS"
100410 CFLAGS='-x c++ -Wl,--gc-sections'
100412 # Check for -Wl,--gc-sections
100413 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100414 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100415 if test x$gcc_no_link = xyes; then
100416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100418 { (exit 1); exit 1; }; }
100420 cat >conftest.$ac_ext <<_ACEOF
100421 /* confdefs.h. */
100422 _ACEOF
100423 cat confdefs.h >>conftest.$ac_ext
100424 cat >>conftest.$ac_ext <<_ACEOF
100425 /* end confdefs.h. */
100426 int one(void) { return 1; }
100427 int two(void) { return 2; }
100430 main ()
100432 two();
100434 return 0;
100436 _ACEOF
100437 rm -f conftest.$ac_objext conftest$ac_exeext
100438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100439 (eval $ac_link) 2>conftest.er1
100440 ac_status=$?
100441 grep -v '^ *+' conftest.er1 >conftest.err
100442 rm -f conftest.er1
100443 cat conftest.err >&5
100444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100445 (exit $ac_status); } &&
100446 { ac_try='test -z "$ac_c_werror_flag"
100447 || test ! -s conftest.err'
100448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100449 (eval $ac_try) 2>&5
100450 ac_status=$?
100451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100452 (exit $ac_status); }; } &&
100453 { ac_try='test -s conftest$ac_exeext'
100454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100455 (eval $ac_try) 2>&5
100456 ac_status=$?
100457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100458 (exit $ac_status); }; }; then
100459 ac_gcsections=yes
100461 echo "$as_me: failed program was:" >&5
100462 sed 's/^/| /' conftest.$ac_ext >&5
100464 ac_gcsections=no
100466 rm -f conftest.err conftest.$ac_objext \
100467 conftest$ac_exeext conftest.$ac_ext
100468 if test "$ac_gcsections" = "yes"; then
100469 rm -f conftest.c
100470 touch conftest.c
100471 if $CC -c conftest.c; then
100472 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100473 grep "Warning: gc-sections option ignored" > /dev/null; then
100474 ac_gcsections=no
100477 rm -f conftest.c conftest.o conftest
100479 if test "$ac_gcsections" = "yes"; then
100480 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100482 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100483 echo "${ECHO_T}$ac_gcsections" >&6
100485 if test "$ac_test_CFLAGS" = set; then
100486 CFLAGS="$ac_save_CFLAGS"
100488 # this is the suspicious part
100489 CFLAGS=''
100493 # Set -z,relro.
100494 # Note this is only for shared objects.
100495 ac_ld_relro=no
100496 if test x"$with_gnu_ld" = x"yes"; then
100497 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100498 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100499 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100500 if test -n "$cxx_z_relo"; then
100501 OPT_LDFLAGS="-Wl,-z,relro"
100502 ac_ld_relro=yes
100504 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100505 echo "${ECHO_T}$ac_ld_relro" >&6
100508 # Set linker optimization flags.
100509 if test x"$with_gnu_ld" = x"yes"; then
100510 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100518 echo "$as_me:$LINENO: checking for main in -lm" >&5
100519 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100520 if test "${ac_cv_lib_m_main+set}" = set; then
100521 echo $ECHO_N "(cached) $ECHO_C" >&6
100523 ac_check_lib_save_LIBS=$LIBS
100524 LIBS="-lm $LIBS"
100525 if test x$gcc_no_link = xyes; then
100526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100528 { (exit 1); exit 1; }; }
100530 cat >conftest.$ac_ext <<_ACEOF
100531 /* confdefs.h. */
100532 _ACEOF
100533 cat confdefs.h >>conftest.$ac_ext
100534 cat >>conftest.$ac_ext <<_ACEOF
100535 /* end confdefs.h. */
100539 main ()
100541 main ();
100543 return 0;
100545 _ACEOF
100546 rm -f conftest.$ac_objext conftest$ac_exeext
100547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100548 (eval $ac_link) 2>conftest.er1
100549 ac_status=$?
100550 grep -v '^ *+' conftest.er1 >conftest.err
100551 rm -f conftest.er1
100552 cat conftest.err >&5
100553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100554 (exit $ac_status); } &&
100555 { ac_try='test -z "$ac_c_werror_flag"
100556 || test ! -s conftest.err'
100557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100558 (eval $ac_try) 2>&5
100559 ac_status=$?
100560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100561 (exit $ac_status); }; } &&
100562 { ac_try='test -s conftest$ac_exeext'
100563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100564 (eval $ac_try) 2>&5
100565 ac_status=$?
100566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100567 (exit $ac_status); }; }; then
100568 ac_cv_lib_m_main=yes
100570 echo "$as_me: failed program was:" >&5
100571 sed 's/^/| /' conftest.$ac_ext >&5
100573 ac_cv_lib_m_main=no
100575 rm -f conftest.err conftest.$ac_objext \
100576 conftest$ac_exeext conftest.$ac_ext
100577 LIBS=$ac_check_lib_save_LIBS
100579 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100580 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100581 if test $ac_cv_lib_m_main = yes; then
100582 cat >>confdefs.h <<_ACEOF
100583 #define HAVE_LIBM 1
100584 _ACEOF
100586 LIBS="-lm $LIBS"
100591 for ac_func in copysignf
100593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100594 echo "$as_me:$LINENO: checking for $ac_func" >&5
100595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100596 if eval "test \"\${$as_ac_var+set}\" = set"; then
100597 echo $ECHO_N "(cached) $ECHO_C" >&6
100599 if test x$gcc_no_link = xyes; then
100600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100602 { (exit 1); exit 1; }; }
100604 cat >conftest.$ac_ext <<_ACEOF
100605 /* confdefs.h. */
100606 _ACEOF
100607 cat confdefs.h >>conftest.$ac_ext
100608 cat >>conftest.$ac_ext <<_ACEOF
100609 /* end confdefs.h. */
100610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100612 #define $ac_func innocuous_$ac_func
100614 /* System header to define __stub macros and hopefully few prototypes,
100615 which can conflict with char $ac_func (); below.
100616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100617 <limits.h> exists even on freestanding compilers. */
100619 #ifdef __STDC__
100620 # include <limits.h>
100621 #else
100622 # include <assert.h>
100623 #endif
100625 #undef $ac_func
100627 /* Override any gcc2 internal prototype to avoid an error. */
100628 #ifdef __cplusplus
100629 extern "C"
100631 #endif
100632 /* We use char because int might match the return type of a gcc2
100633 builtin and then its argument prototype would still apply. */
100634 char $ac_func ();
100635 /* The GNU C library defines this for functions which it implements
100636 to always fail with ENOSYS. Some functions are actually named
100637 something starting with __ and the normal name is an alias. */
100638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100639 choke me
100640 #else
100641 char (*f) () = $ac_func;
100642 #endif
100643 #ifdef __cplusplus
100645 #endif
100648 main ()
100650 return f != $ac_func;
100652 return 0;
100654 _ACEOF
100655 rm -f conftest.$ac_objext conftest$ac_exeext
100656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100657 (eval $ac_link) 2>conftest.er1
100658 ac_status=$?
100659 grep -v '^ *+' conftest.er1 >conftest.err
100660 rm -f conftest.er1
100661 cat conftest.err >&5
100662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100663 (exit $ac_status); } &&
100664 { ac_try='test -z "$ac_c_werror_flag"
100665 || test ! -s conftest.err'
100666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100667 (eval $ac_try) 2>&5
100668 ac_status=$?
100669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100670 (exit $ac_status); }; } &&
100671 { ac_try='test -s conftest$ac_exeext'
100672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100673 (eval $ac_try) 2>&5
100674 ac_status=$?
100675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100676 (exit $ac_status); }; }; then
100677 eval "$as_ac_var=yes"
100679 echo "$as_me: failed program was:" >&5
100680 sed 's/^/| /' conftest.$ac_ext >&5
100682 eval "$as_ac_var=no"
100684 rm -f conftest.err conftest.$ac_objext \
100685 conftest$ac_exeext conftest.$ac_ext
100687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100689 if test `eval echo '${'$as_ac_var'}'` = yes; then
100690 cat >>confdefs.h <<_ACEOF
100691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100692 _ACEOF
100695 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
100701 for ac_func in __signbit
100703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100704 echo "$as_me:$LINENO: checking for $ac_func" >&5
100705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100706 if eval "test \"\${$as_ac_var+set}\" = set"; then
100707 echo $ECHO_N "(cached) $ECHO_C" >&6
100709 if test x$gcc_no_link = xyes; then
100710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100712 { (exit 1); exit 1; }; }
100714 cat >conftest.$ac_ext <<_ACEOF
100715 /* confdefs.h. */
100716 _ACEOF
100717 cat confdefs.h >>conftest.$ac_ext
100718 cat >>conftest.$ac_ext <<_ACEOF
100719 /* end confdefs.h. */
100720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100722 #define $ac_func innocuous_$ac_func
100724 /* System header to define __stub macros and hopefully few prototypes,
100725 which can conflict with char $ac_func (); below.
100726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100727 <limits.h> exists even on freestanding compilers. */
100729 #ifdef __STDC__
100730 # include <limits.h>
100731 #else
100732 # include <assert.h>
100733 #endif
100735 #undef $ac_func
100737 /* Override any gcc2 internal prototype to avoid an error. */
100738 #ifdef __cplusplus
100739 extern "C"
100741 #endif
100742 /* We use char because int might match the return type of a gcc2
100743 builtin and then its argument prototype would still apply. */
100744 char $ac_func ();
100745 /* The GNU C library defines this for functions which it implements
100746 to always fail with ENOSYS. Some functions are actually named
100747 something starting with __ and the normal name is an alias. */
100748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100749 choke me
100750 #else
100751 char (*f) () = $ac_func;
100752 #endif
100753 #ifdef __cplusplus
100755 #endif
100758 main ()
100760 return f != $ac_func;
100762 return 0;
100764 _ACEOF
100765 rm -f conftest.$ac_objext conftest$ac_exeext
100766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100767 (eval $ac_link) 2>conftest.er1
100768 ac_status=$?
100769 grep -v '^ *+' conftest.er1 >conftest.err
100770 rm -f conftest.er1
100771 cat conftest.err >&5
100772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100773 (exit $ac_status); } &&
100774 { ac_try='test -z "$ac_c_werror_flag"
100775 || test ! -s conftest.err'
100776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100777 (eval $ac_try) 2>&5
100778 ac_status=$?
100779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100780 (exit $ac_status); }; } &&
100781 { ac_try='test -s conftest$ac_exeext'
100782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100783 (eval $ac_try) 2>&5
100784 ac_status=$?
100785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100786 (exit $ac_status); }; }; then
100787 eval "$as_ac_var=yes"
100789 echo "$as_me: failed program was:" >&5
100790 sed 's/^/| /' conftest.$ac_ext >&5
100792 eval "$as_ac_var=no"
100794 rm -f conftest.err conftest.$ac_objext \
100795 conftest$ac_exeext conftest.$ac_ext
100797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100799 if test `eval echo '${'$as_ac_var'}'` = yes; then
100800 cat >>confdefs.h <<_ACEOF
100801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100802 _ACEOF
100805 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
100811 for ac_func in __signbitf
100813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100814 echo "$as_me:$LINENO: checking for $ac_func" >&5
100815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100816 if eval "test \"\${$as_ac_var+set}\" = set"; then
100817 echo $ECHO_N "(cached) $ECHO_C" >&6
100819 if test x$gcc_no_link = xyes; then
100820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100822 { (exit 1); exit 1; }; }
100824 cat >conftest.$ac_ext <<_ACEOF
100825 /* confdefs.h. */
100826 _ACEOF
100827 cat confdefs.h >>conftest.$ac_ext
100828 cat >>conftest.$ac_ext <<_ACEOF
100829 /* end confdefs.h. */
100830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100832 #define $ac_func innocuous_$ac_func
100834 /* System header to define __stub macros and hopefully few prototypes,
100835 which can conflict with char $ac_func (); below.
100836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100837 <limits.h> exists even on freestanding compilers. */
100839 #ifdef __STDC__
100840 # include <limits.h>
100841 #else
100842 # include <assert.h>
100843 #endif
100845 #undef $ac_func
100847 /* Override any gcc2 internal prototype to avoid an error. */
100848 #ifdef __cplusplus
100849 extern "C"
100851 #endif
100852 /* We use char because int might match the return type of a gcc2
100853 builtin and then its argument prototype would still apply. */
100854 char $ac_func ();
100855 /* The GNU C library defines this for functions which it implements
100856 to always fail with ENOSYS. Some functions are actually named
100857 something starting with __ and the normal name is an alias. */
100858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100859 choke me
100860 #else
100861 char (*f) () = $ac_func;
100862 #endif
100863 #ifdef __cplusplus
100865 #endif
100868 main ()
100870 return f != $ac_func;
100872 return 0;
100874 _ACEOF
100875 rm -f conftest.$ac_objext conftest$ac_exeext
100876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100877 (eval $ac_link) 2>conftest.er1
100878 ac_status=$?
100879 grep -v '^ *+' conftest.er1 >conftest.err
100880 rm -f conftest.er1
100881 cat conftest.err >&5
100882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100883 (exit $ac_status); } &&
100884 { ac_try='test -z "$ac_c_werror_flag"
100885 || test ! -s conftest.err'
100886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100887 (eval $ac_try) 2>&5
100888 ac_status=$?
100889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100890 (exit $ac_status); }; } &&
100891 { ac_try='test -s conftest$ac_exeext'
100892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100893 (eval $ac_try) 2>&5
100894 ac_status=$?
100895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100896 (exit $ac_status); }; }; then
100897 eval "$as_ac_var=yes"
100899 echo "$as_me: failed program was:" >&5
100900 sed 's/^/| /' conftest.$ac_ext >&5
100902 eval "$as_ac_var=no"
100904 rm -f conftest.err conftest.$ac_objext \
100905 conftest$ac_exeext conftest.$ac_ext
100907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100909 if test `eval echo '${'$as_ac_var'}'` = yes; then
100910 cat >>confdefs.h <<_ACEOF
100911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100912 _ACEOF
100915 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
100920 if test x$ac_cv_func_copysignl = x"yes"; then
100922 for ac_func in __signbitl
100924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100925 echo "$as_me:$LINENO: checking for $ac_func" >&5
100926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100927 if eval "test \"\${$as_ac_var+set}\" = set"; then
100928 echo $ECHO_N "(cached) $ECHO_C" >&6
100930 if test x$gcc_no_link = xyes; then
100931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100933 { (exit 1); exit 1; }; }
100935 cat >conftest.$ac_ext <<_ACEOF
100936 /* confdefs.h. */
100937 _ACEOF
100938 cat confdefs.h >>conftest.$ac_ext
100939 cat >>conftest.$ac_ext <<_ACEOF
100940 /* end confdefs.h. */
100941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100943 #define $ac_func innocuous_$ac_func
100945 /* System header to define __stub macros and hopefully few prototypes,
100946 which can conflict with char $ac_func (); below.
100947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100948 <limits.h> exists even on freestanding compilers. */
100950 #ifdef __STDC__
100951 # include <limits.h>
100952 #else
100953 # include <assert.h>
100954 #endif
100956 #undef $ac_func
100958 /* Override any gcc2 internal prototype to avoid an error. */
100959 #ifdef __cplusplus
100960 extern "C"
100962 #endif
100963 /* We use char because int might match the return type of a gcc2
100964 builtin and then its argument prototype would still apply. */
100965 char $ac_func ();
100966 /* The GNU C library defines this for functions which it implements
100967 to always fail with ENOSYS. Some functions are actually named
100968 something starting with __ and the normal name is an alias. */
100969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100970 choke me
100971 #else
100972 char (*f) () = $ac_func;
100973 #endif
100974 #ifdef __cplusplus
100976 #endif
100979 main ()
100981 return f != $ac_func;
100983 return 0;
100985 _ACEOF
100986 rm -f conftest.$ac_objext conftest$ac_exeext
100987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100988 (eval $ac_link) 2>conftest.er1
100989 ac_status=$?
100990 grep -v '^ *+' conftest.er1 >conftest.err
100991 rm -f conftest.er1
100992 cat conftest.err >&5
100993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100994 (exit $ac_status); } &&
100995 { ac_try='test -z "$ac_c_werror_flag"
100996 || test ! -s conftest.err'
100997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100998 (eval $ac_try) 2>&5
100999 ac_status=$?
101000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101001 (exit $ac_status); }; } &&
101002 { ac_try='test -s conftest$ac_exeext'
101003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101004 (eval $ac_try) 2>&5
101005 ac_status=$?
101006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101007 (exit $ac_status); }; }; then
101008 eval "$as_ac_var=yes"
101010 echo "$as_me: failed program was:" >&5
101011 sed 's/^/| /' conftest.$ac_ext >&5
101013 eval "$as_ac_var=no"
101015 rm -f conftest.err conftest.$ac_objext \
101016 conftest$ac_exeext conftest.$ac_ext
101018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101020 if test `eval echo '${'$as_ac_var'}'` = yes; then
101021 cat >>confdefs.h <<_ACEOF
101022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101023 _ACEOF
101026 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101032 # Used in libmath/Makefile.am.
101033 if test -n "$LIBMATHOBJS"; then
101034 need_libmath=yes
101040 enable_iconv=no
101041 # Only continue checking if the ISO C99 headers exist and support is on.
101042 if test x"$enable_wchar_t" = xyes; then
101044 # Use iconv for wchar_t to char conversions. As such, check for
101045 # X/Open Portability Guide, version 2 features (XPG2).
101046 if test "${ac_cv_header_iconv_h+set}" = set; then
101047 echo "$as_me:$LINENO: checking for iconv.h" >&5
101048 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101049 if test "${ac_cv_header_iconv_h+set}" = set; then
101050 echo $ECHO_N "(cached) $ECHO_C" >&6
101052 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101053 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101055 # Is the header compilable?
101056 echo "$as_me:$LINENO: checking iconv.h usability" >&5
101057 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
101058 cat >conftest.$ac_ext <<_ACEOF
101059 /* confdefs.h. */
101060 _ACEOF
101061 cat confdefs.h >>conftest.$ac_ext
101062 cat >>conftest.$ac_ext <<_ACEOF
101063 /* end confdefs.h. */
101064 $ac_includes_default
101065 #include <iconv.h>
101066 _ACEOF
101067 rm -f conftest.$ac_objext
101068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101069 (eval $ac_compile) 2>conftest.er1
101070 ac_status=$?
101071 grep -v '^ *+' conftest.er1 >conftest.err
101072 rm -f conftest.er1
101073 cat conftest.err >&5
101074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101075 (exit $ac_status); } &&
101076 { ac_try='test -z "$ac_c_werror_flag"
101077 || test ! -s conftest.err'
101078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101079 (eval $ac_try) 2>&5
101080 ac_status=$?
101081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101082 (exit $ac_status); }; } &&
101083 { ac_try='test -s conftest.$ac_objext'
101084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101085 (eval $ac_try) 2>&5
101086 ac_status=$?
101087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101088 (exit $ac_status); }; }; then
101089 ac_header_compiler=yes
101091 echo "$as_me: failed program was:" >&5
101092 sed 's/^/| /' conftest.$ac_ext >&5
101094 ac_header_compiler=no
101096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101098 echo "${ECHO_T}$ac_header_compiler" >&6
101100 # Is the header present?
101101 echo "$as_me:$LINENO: checking iconv.h presence" >&5
101102 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
101103 cat >conftest.$ac_ext <<_ACEOF
101104 /* confdefs.h. */
101105 _ACEOF
101106 cat confdefs.h >>conftest.$ac_ext
101107 cat >>conftest.$ac_ext <<_ACEOF
101108 /* end confdefs.h. */
101109 #include <iconv.h>
101110 _ACEOF
101111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101113 ac_status=$?
101114 grep -v '^ *+' conftest.er1 >conftest.err
101115 rm -f conftest.er1
101116 cat conftest.err >&5
101117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101118 (exit $ac_status); } >/dev/null; then
101119 if test -s conftest.err; then
101120 ac_cpp_err=$ac_c_preproc_warn_flag
101121 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101123 ac_cpp_err=
101126 ac_cpp_err=yes
101128 if test -z "$ac_cpp_err"; then
101129 ac_header_preproc=yes
101131 echo "$as_me: failed program was:" >&5
101132 sed 's/^/| /' conftest.$ac_ext >&5
101134 ac_header_preproc=no
101136 rm -f conftest.err conftest.$ac_ext
101137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101138 echo "${ECHO_T}$ac_header_preproc" >&6
101140 # So? What about this header?
101141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101142 yes:no: )
101143 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
101144 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
101145 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
101146 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
101147 ac_header_preproc=yes
101149 no:yes:* )
101150 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
101151 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
101152 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
101153 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
101154 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
101155 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
101156 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
101157 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
101158 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
101159 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
101160 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
101161 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
101163 cat <<\_ASBOX
101164 ## ----------------------------------------- ##
101165 ## Report this to the package-unused lists. ##
101166 ## ----------------------------------------- ##
101167 _ASBOX
101169 sed "s/^/$as_me: WARNING: /" >&2
101172 echo "$as_me:$LINENO: checking for iconv.h" >&5
101173 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101174 if test "${ac_cv_header_iconv_h+set}" = set; then
101175 echo $ECHO_N "(cached) $ECHO_C" >&6
101177 ac_cv_header_iconv_h=$ac_header_preproc
101179 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101180 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101183 if test $ac_cv_header_iconv_h = yes; then
101184 ac_has_iconv_h=yes
101186 ac_has_iconv_h=no
101190 if test "${ac_cv_header_langinfo_h+set}" = set; then
101191 echo "$as_me:$LINENO: checking for langinfo.h" >&5
101192 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
101193 if test "${ac_cv_header_langinfo_h+set}" = set; then
101194 echo $ECHO_N "(cached) $ECHO_C" >&6
101196 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
101197 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
101199 # Is the header compilable?
101200 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
101201 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
101202 cat >conftest.$ac_ext <<_ACEOF
101203 /* confdefs.h. */
101204 _ACEOF
101205 cat confdefs.h >>conftest.$ac_ext
101206 cat >>conftest.$ac_ext <<_ACEOF
101207 /* end confdefs.h. */
101208 $ac_includes_default
101209 #include <langinfo.h>
101210 _ACEOF
101211 rm -f conftest.$ac_objext
101212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101213 (eval $ac_compile) 2>conftest.er1
101214 ac_status=$?
101215 grep -v '^ *+' conftest.er1 >conftest.err
101216 rm -f conftest.er1
101217 cat conftest.err >&5
101218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101219 (exit $ac_status); } &&
101220 { ac_try='test -z "$ac_c_werror_flag"
101221 || test ! -s conftest.err'
101222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101223 (eval $ac_try) 2>&5
101224 ac_status=$?
101225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101226 (exit $ac_status); }; } &&
101227 { ac_try='test -s conftest.$ac_objext'
101228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101229 (eval $ac_try) 2>&5
101230 ac_status=$?
101231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101232 (exit $ac_status); }; }; then
101233 ac_header_compiler=yes
101235 echo "$as_me: failed program was:" >&5
101236 sed 's/^/| /' conftest.$ac_ext >&5
101238 ac_header_compiler=no
101240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101241 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101242 echo "${ECHO_T}$ac_header_compiler" >&6
101244 # Is the header present?
101245 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
101246 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
101247 cat >conftest.$ac_ext <<_ACEOF
101248 /* confdefs.h. */
101249 _ACEOF
101250 cat confdefs.h >>conftest.$ac_ext
101251 cat >>conftest.$ac_ext <<_ACEOF
101252 /* end confdefs.h. */
101253 #include <langinfo.h>
101254 _ACEOF
101255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101257 ac_status=$?
101258 grep -v '^ *+' conftest.er1 >conftest.err
101259 rm -f conftest.er1
101260 cat conftest.err >&5
101261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101262 (exit $ac_status); } >/dev/null; then
101263 if test -s conftest.err; then
101264 ac_cpp_err=$ac_c_preproc_warn_flag
101265 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101267 ac_cpp_err=
101270 ac_cpp_err=yes
101272 if test -z "$ac_cpp_err"; then
101273 ac_header_preproc=yes
101275 echo "$as_me: failed program was:" >&5
101276 sed 's/^/| /' conftest.$ac_ext >&5
101278 ac_header_preproc=no
101280 rm -f conftest.err conftest.$ac_ext
101281 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101282 echo "${ECHO_T}$ac_header_preproc" >&6
101284 # So? What about this header?
101285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101286 yes:no: )
101287 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
101288 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
101289 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
101290 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
101291 ac_header_preproc=yes
101293 no:yes:* )
101294 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
101295 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
101296 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
101297 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
101298 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
101299 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
101300 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
101301 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
101302 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
101303 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
101304 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
101305 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
101307 cat <<\_ASBOX
101308 ## ----------------------------------------- ##
101309 ## Report this to the package-unused lists. ##
101310 ## ----------------------------------------- ##
101311 _ASBOX
101313 sed "s/^/$as_me: WARNING: /" >&2
101316 echo "$as_me:$LINENO: checking for langinfo.h" >&5
101317 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
101318 if test "${ac_cv_header_langinfo_h+set}" = set; then
101319 echo $ECHO_N "(cached) $ECHO_C" >&6
101321 ac_cv_header_langinfo_h=$ac_header_preproc
101323 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
101324 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
101327 if test $ac_cv_header_langinfo_h = yes; then
101328 ac_has_langinfo_h=yes
101330 ac_has_langinfo_h=no
101335 # Check for existence of libiconv.a providing XPG2 wchar_t support.
101336 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
101337 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
101338 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
101339 echo $ECHO_N "(cached) $ECHO_C" >&6
101341 ac_check_lib_save_LIBS=$LIBS
101342 LIBS="-liconv $LIBS"
101343 if test x$gcc_no_link = xyes; then
101344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101346 { (exit 1); exit 1; }; }
101348 cat >conftest.$ac_ext <<_ACEOF
101349 /* confdefs.h. */
101350 _ACEOF
101351 cat confdefs.h >>conftest.$ac_ext
101352 cat >>conftest.$ac_ext <<_ACEOF
101353 /* end confdefs.h. */
101355 /* Override any gcc2 internal prototype to avoid an error. */
101356 #ifdef __cplusplus
101357 extern "C"
101358 #endif
101359 /* We use char because int might match the return type of a gcc2
101360 builtin and then its argument prototype would still apply. */
101361 char iconv ();
101363 main ()
101365 iconv ();
101367 return 0;
101369 _ACEOF
101370 rm -f conftest.$ac_objext conftest$ac_exeext
101371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101372 (eval $ac_link) 2>conftest.er1
101373 ac_status=$?
101374 grep -v '^ *+' conftest.er1 >conftest.err
101375 rm -f conftest.er1
101376 cat conftest.err >&5
101377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101378 (exit $ac_status); } &&
101379 { ac_try='test -z "$ac_c_werror_flag"
101380 || test ! -s conftest.err'
101381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101382 (eval $ac_try) 2>&5
101383 ac_status=$?
101384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101385 (exit $ac_status); }; } &&
101386 { ac_try='test -s conftest$ac_exeext'
101387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101388 (eval $ac_try) 2>&5
101389 ac_status=$?
101390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101391 (exit $ac_status); }; }; then
101392 ac_cv_lib_iconv_iconv=yes
101394 echo "$as_me: failed program was:" >&5
101395 sed 's/^/| /' conftest.$ac_ext >&5
101397 ac_cv_lib_iconv_iconv=no
101399 rm -f conftest.err conftest.$ac_objext \
101400 conftest$ac_exeext conftest.$ac_ext
101401 LIBS=$ac_check_lib_save_LIBS
101403 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
101404 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
101405 if test $ac_cv_lib_iconv_iconv = yes; then
101406 LIBICONV="-liconv"
101409 ac_save_LIBS="$LIBS"
101410 LIBS="$LIBS $LIBICONV"
101417 for ac_func in iconv_open iconv_close iconv nl_langinfo
101419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101420 echo "$as_me:$LINENO: checking for $ac_func" >&5
101421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101422 if eval "test \"\${$as_ac_var+set}\" = set"; then
101423 echo $ECHO_N "(cached) $ECHO_C" >&6
101425 if test x$gcc_no_link = xyes; then
101426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101428 { (exit 1); exit 1; }; }
101430 cat >conftest.$ac_ext <<_ACEOF
101431 /* confdefs.h. */
101432 _ACEOF
101433 cat confdefs.h >>conftest.$ac_ext
101434 cat >>conftest.$ac_ext <<_ACEOF
101435 /* end confdefs.h. */
101436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101438 #define $ac_func innocuous_$ac_func
101440 /* System header to define __stub macros and hopefully few prototypes,
101441 which can conflict with char $ac_func (); below.
101442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101443 <limits.h> exists even on freestanding compilers. */
101445 #ifdef __STDC__
101446 # include <limits.h>
101447 #else
101448 # include <assert.h>
101449 #endif
101451 #undef $ac_func
101453 /* Override any gcc2 internal prototype to avoid an error. */
101454 #ifdef __cplusplus
101455 extern "C"
101457 #endif
101458 /* We use char because int might match the return type of a gcc2
101459 builtin and then its argument prototype would still apply. */
101460 char $ac_func ();
101461 /* The GNU C library defines this for functions which it implements
101462 to always fail with ENOSYS. Some functions are actually named
101463 something starting with __ and the normal name is an alias. */
101464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101465 choke me
101466 #else
101467 char (*f) () = $ac_func;
101468 #endif
101469 #ifdef __cplusplus
101471 #endif
101474 main ()
101476 return f != $ac_func;
101478 return 0;
101480 _ACEOF
101481 rm -f conftest.$ac_objext conftest$ac_exeext
101482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101483 (eval $ac_link) 2>conftest.er1
101484 ac_status=$?
101485 grep -v '^ *+' conftest.er1 >conftest.err
101486 rm -f conftest.er1
101487 cat conftest.err >&5
101488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101489 (exit $ac_status); } &&
101490 { ac_try='test -z "$ac_c_werror_flag"
101491 || test ! -s conftest.err'
101492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101493 (eval $ac_try) 2>&5
101494 ac_status=$?
101495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101496 (exit $ac_status); }; } &&
101497 { ac_try='test -s conftest$ac_exeext'
101498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101499 (eval $ac_try) 2>&5
101500 ac_status=$?
101501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101502 (exit $ac_status); }; }; then
101503 eval "$as_ac_var=yes"
101505 echo "$as_me: failed program was:" >&5
101506 sed 's/^/| /' conftest.$ac_ext >&5
101508 eval "$as_ac_var=no"
101510 rm -f conftest.err conftest.$ac_objext \
101511 conftest$ac_exeext conftest.$ac_ext
101513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101515 if test `eval echo '${'$as_ac_var'}'` = yes; then
101516 cat >>confdefs.h <<_ACEOF
101517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101518 _ACEOF
101519 ac_XPG2funcs=yes
101521 ac_XPG2funcs=no
101526 LIBS="$ac_save_LIBS"
101528 if test x"$ac_has_iconv_h" = xyes &&
101529 test x"$ac_has_langinfo_h" = xyes &&
101530 test x"$ac_XPG2funcs" = xyes;
101533 cat >>confdefs.h <<\_ACEOF
101534 #define _GLIBCXX_USE_ICONV 1
101535 _ACEOF
101537 enable_iconv=yes
101540 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
101541 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
101542 echo "$as_me:$LINENO: result: $enable_iconv" >&5
101543 echo "${ECHO_T}$enable_iconv" >&6
101546 *-netbsd*)
101559 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
101560 machine/endian.h machine/param.h sys/machine.h sys/types.h \
101561 fp.h locale.h float.h inttypes.h
101563 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
101564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101565 echo "$as_me:$LINENO: checking for $ac_header" >&5
101566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101568 echo $ECHO_N "(cached) $ECHO_C" >&6
101570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101573 # Is the header compilable?
101574 echo "$as_me:$LINENO: checking $ac_header usability" >&5
101575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
101576 cat >conftest.$ac_ext <<_ACEOF
101577 /* confdefs.h. */
101578 _ACEOF
101579 cat confdefs.h >>conftest.$ac_ext
101580 cat >>conftest.$ac_ext <<_ACEOF
101581 /* end confdefs.h. */
101582 $ac_includes_default
101583 #include <$ac_header>
101584 _ACEOF
101585 rm -f conftest.$ac_objext
101586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101587 (eval $ac_compile) 2>conftest.er1
101588 ac_status=$?
101589 grep -v '^ *+' conftest.er1 >conftest.err
101590 rm -f conftest.er1
101591 cat conftest.err >&5
101592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101593 (exit $ac_status); } &&
101594 { ac_try='test -z "$ac_c_werror_flag"
101595 || test ! -s conftest.err'
101596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101597 (eval $ac_try) 2>&5
101598 ac_status=$?
101599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101600 (exit $ac_status); }; } &&
101601 { ac_try='test -s conftest.$ac_objext'
101602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101603 (eval $ac_try) 2>&5
101604 ac_status=$?
101605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101606 (exit $ac_status); }; }; then
101607 ac_header_compiler=yes
101609 echo "$as_me: failed program was:" >&5
101610 sed 's/^/| /' conftest.$ac_ext >&5
101612 ac_header_compiler=no
101614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101616 echo "${ECHO_T}$ac_header_compiler" >&6
101618 # Is the header present?
101619 echo "$as_me:$LINENO: checking $ac_header presence" >&5
101620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
101621 cat >conftest.$ac_ext <<_ACEOF
101622 /* confdefs.h. */
101623 _ACEOF
101624 cat confdefs.h >>conftest.$ac_ext
101625 cat >>conftest.$ac_ext <<_ACEOF
101626 /* end confdefs.h. */
101627 #include <$ac_header>
101628 _ACEOF
101629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101631 ac_status=$?
101632 grep -v '^ *+' conftest.er1 >conftest.err
101633 rm -f conftest.er1
101634 cat conftest.err >&5
101635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101636 (exit $ac_status); } >/dev/null; then
101637 if test -s conftest.err; then
101638 ac_cpp_err=$ac_c_preproc_warn_flag
101639 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101641 ac_cpp_err=
101644 ac_cpp_err=yes
101646 if test -z "$ac_cpp_err"; then
101647 ac_header_preproc=yes
101649 echo "$as_me: failed program was:" >&5
101650 sed 's/^/| /' conftest.$ac_ext >&5
101652 ac_header_preproc=no
101654 rm -f conftest.err conftest.$ac_ext
101655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101656 echo "${ECHO_T}$ac_header_preproc" >&6
101658 # So? What about this header?
101659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101660 yes:no: )
101661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
101662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
101663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
101664 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
101665 ac_header_preproc=yes
101667 no:yes:* )
101668 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
101669 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
101670 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
101671 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
101672 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
101673 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
101674 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
101675 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
101676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
101677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
101678 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
101679 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
101681 cat <<\_ASBOX
101682 ## ----------------------------------------- ##
101683 ## Report this to the package-unused lists. ##
101684 ## ----------------------------------------- ##
101685 _ASBOX
101687 sed "s/^/$as_me: WARNING: /" >&2
101690 echo "$as_me:$LINENO: checking for $ac_header" >&5
101691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101693 echo $ECHO_N "(cached) $ECHO_C" >&6
101695 eval "$as_ac_Header=\$ac_header_preproc"
101697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
101702 cat >>confdefs.h <<_ACEOF
101703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
101704 _ACEOF
101710 SECTION_FLAGS='-ffunction-sections -fdata-sections'
101713 # If we're not using GNU ld, then there's no point in even trying these
101714 # tests. Check for that first. We should have already tested for gld
101715 # by now (in libtool), but require it now just to be safe...
101716 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101717 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101721 # The name set by libtool depends on the version of libtool. Shame on us
101722 # for depending on an impl detail, but c'est la vie. Older versions used
101723 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101724 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101725 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
101726 # set (hence we're using an older libtool), then set it.
101727 if test x${with_gnu_ld+set} != xset; then
101728 if test x${ac_cv_prog_gnu_ld+set} != xset; then
101729 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
101730 with_gnu_ld=no
101732 with_gnu_ld=$ac_cv_prog_gnu_ld
101736 # Start by getting the version number. I think the libtool test already
101737 # does some of this, but throws away the result.
101738 echo "$as_me:$LINENO: checking for ld version" >&5
101739 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101741 ldver=`$LD --version 2>/dev/null | head -1 | \
101742 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
101744 glibcxx_gnu_ld_version=`echo $ldver | \
101745 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101746 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101747 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101749 # Set --gc-sections.
101750 glibcxx_gcsections_min_ld=21602
101751 if test x"$with_gnu_ld" = x"yes" &&
101752 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101754 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
101755 # NB: This flag only works reliably after 2.16.1. Configure tests
101756 # for this are difficult, so hard wire a value that should work.
101758 # All these tests are for C++, but run with the "C" compiler driver.
101759 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
101760 ac_test_CFLAGS="${CFLAGS+set}"
101761 ac_save_CFLAGS="$CFLAGS"
101762 CFLAGS='-x c++ -Wl,--gc-sections'
101764 # Check for -Wl,--gc-sections
101765 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101766 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101767 if test x$gcc_no_link = xyes; then
101768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101770 { (exit 1); exit 1; }; }
101772 cat >conftest.$ac_ext <<_ACEOF
101773 /* confdefs.h. */
101774 _ACEOF
101775 cat confdefs.h >>conftest.$ac_ext
101776 cat >>conftest.$ac_ext <<_ACEOF
101777 /* end confdefs.h. */
101778 int one(void) { return 1; }
101779 int two(void) { return 2; }
101782 main ()
101784 two();
101786 return 0;
101788 _ACEOF
101789 rm -f conftest.$ac_objext conftest$ac_exeext
101790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101791 (eval $ac_link) 2>conftest.er1
101792 ac_status=$?
101793 grep -v '^ *+' conftest.er1 >conftest.err
101794 rm -f conftest.er1
101795 cat conftest.err >&5
101796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101797 (exit $ac_status); } &&
101798 { ac_try='test -z "$ac_c_werror_flag"
101799 || test ! -s conftest.err'
101800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101801 (eval $ac_try) 2>&5
101802 ac_status=$?
101803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101804 (exit $ac_status); }; } &&
101805 { ac_try='test -s conftest$ac_exeext'
101806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101807 (eval $ac_try) 2>&5
101808 ac_status=$?
101809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101810 (exit $ac_status); }; }; then
101811 ac_gcsections=yes
101813 echo "$as_me: failed program was:" >&5
101814 sed 's/^/| /' conftest.$ac_ext >&5
101816 ac_gcsections=no
101818 rm -f conftest.err conftest.$ac_objext \
101819 conftest$ac_exeext conftest.$ac_ext
101820 if test "$ac_gcsections" = "yes"; then
101821 rm -f conftest.c
101822 touch conftest.c
101823 if $CC -c conftest.c; then
101824 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101825 grep "Warning: gc-sections option ignored" > /dev/null; then
101826 ac_gcsections=no
101829 rm -f conftest.c conftest.o conftest
101831 if test "$ac_gcsections" = "yes"; then
101832 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101834 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101835 echo "${ECHO_T}$ac_gcsections" >&6
101837 if test "$ac_test_CFLAGS" = set; then
101838 CFLAGS="$ac_save_CFLAGS"
101840 # this is the suspicious part
101841 CFLAGS=''
101845 # Set -z,relro.
101846 # Note this is only for shared objects.
101847 ac_ld_relro=no
101848 if test x"$with_gnu_ld" = x"yes"; then
101849 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101850 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101851 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101852 if test -n "$cxx_z_relo"; then
101853 OPT_LDFLAGS="-Wl,-z,relro"
101854 ac_ld_relro=yes
101856 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101857 echo "${ECHO_T}$ac_ld_relro" >&6
101860 # Set linker optimization flags.
101861 if test x"$with_gnu_ld" = x"yes"; then
101862 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101870 echo "$as_me:$LINENO: checking for main in -lm" >&5
101871 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101872 if test "${ac_cv_lib_m_main+set}" = set; then
101873 echo $ECHO_N "(cached) $ECHO_C" >&6
101875 ac_check_lib_save_LIBS=$LIBS
101876 LIBS="-lm $LIBS"
101877 if test x$gcc_no_link = xyes; then
101878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101880 { (exit 1); exit 1; }; }
101882 cat >conftest.$ac_ext <<_ACEOF
101883 /* confdefs.h. */
101884 _ACEOF
101885 cat confdefs.h >>conftest.$ac_ext
101886 cat >>conftest.$ac_ext <<_ACEOF
101887 /* end confdefs.h. */
101891 main ()
101893 main ();
101895 return 0;
101897 _ACEOF
101898 rm -f conftest.$ac_objext conftest$ac_exeext
101899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101900 (eval $ac_link) 2>conftest.er1
101901 ac_status=$?
101902 grep -v '^ *+' conftest.er1 >conftest.err
101903 rm -f conftest.er1
101904 cat conftest.err >&5
101905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101906 (exit $ac_status); } &&
101907 { ac_try='test -z "$ac_c_werror_flag"
101908 || test ! -s conftest.err'
101909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101910 (eval $ac_try) 2>&5
101911 ac_status=$?
101912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101913 (exit $ac_status); }; } &&
101914 { ac_try='test -s conftest$ac_exeext'
101915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101916 (eval $ac_try) 2>&5
101917 ac_status=$?
101918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101919 (exit $ac_status); }; }; then
101920 ac_cv_lib_m_main=yes
101922 echo "$as_me: failed program was:" >&5
101923 sed 's/^/| /' conftest.$ac_ext >&5
101925 ac_cv_lib_m_main=no
101927 rm -f conftest.err conftest.$ac_objext \
101928 conftest$ac_exeext conftest.$ac_ext
101929 LIBS=$ac_check_lib_save_LIBS
101931 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101932 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101933 if test $ac_cv_lib_m_main = yes; then
101934 cat >>confdefs.h <<_ACEOF
101935 #define HAVE_LIBM 1
101936 _ACEOF
101938 LIBS="-lm $LIBS"
101943 for ac_func in copysignf
101945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101946 echo "$as_me:$LINENO: checking for $ac_func" >&5
101947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101948 if eval "test \"\${$as_ac_var+set}\" = set"; then
101949 echo $ECHO_N "(cached) $ECHO_C" >&6
101951 if test x$gcc_no_link = xyes; then
101952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101954 { (exit 1); exit 1; }; }
101956 cat >conftest.$ac_ext <<_ACEOF
101957 /* confdefs.h. */
101958 _ACEOF
101959 cat confdefs.h >>conftest.$ac_ext
101960 cat >>conftest.$ac_ext <<_ACEOF
101961 /* end confdefs.h. */
101962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101964 #define $ac_func innocuous_$ac_func
101966 /* System header to define __stub macros and hopefully few prototypes,
101967 which can conflict with char $ac_func (); below.
101968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101969 <limits.h> exists even on freestanding compilers. */
101971 #ifdef __STDC__
101972 # include <limits.h>
101973 #else
101974 # include <assert.h>
101975 #endif
101977 #undef $ac_func
101979 /* Override any gcc2 internal prototype to avoid an error. */
101980 #ifdef __cplusplus
101981 extern "C"
101983 #endif
101984 /* We use char because int might match the return type of a gcc2
101985 builtin and then its argument prototype would still apply. */
101986 char $ac_func ();
101987 /* The GNU C library defines this for functions which it implements
101988 to always fail with ENOSYS. Some functions are actually named
101989 something starting with __ and the normal name is an alias. */
101990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101991 choke me
101992 #else
101993 char (*f) () = $ac_func;
101994 #endif
101995 #ifdef __cplusplus
101997 #endif
102000 main ()
102002 return f != $ac_func;
102004 return 0;
102006 _ACEOF
102007 rm -f conftest.$ac_objext conftest$ac_exeext
102008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102009 (eval $ac_link) 2>conftest.er1
102010 ac_status=$?
102011 grep -v '^ *+' conftest.er1 >conftest.err
102012 rm -f conftest.er1
102013 cat conftest.err >&5
102014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102015 (exit $ac_status); } &&
102016 { ac_try='test -z "$ac_c_werror_flag"
102017 || test ! -s conftest.err'
102018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102019 (eval $ac_try) 2>&5
102020 ac_status=$?
102021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102022 (exit $ac_status); }; } &&
102023 { ac_try='test -s conftest$ac_exeext'
102024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102025 (eval $ac_try) 2>&5
102026 ac_status=$?
102027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102028 (exit $ac_status); }; }; then
102029 eval "$as_ac_var=yes"
102031 echo "$as_me: failed program was:" >&5
102032 sed 's/^/| /' conftest.$ac_ext >&5
102034 eval "$as_ac_var=no"
102036 rm -f conftest.err conftest.$ac_objext \
102037 conftest$ac_exeext conftest.$ac_ext
102039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102041 if test `eval echo '${'$as_ac_var'}'` = yes; then
102042 cat >>confdefs.h <<_ACEOF
102043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102044 _ACEOF
102047 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102053 for ac_func in __signbit
102055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102056 echo "$as_me:$LINENO: checking for $ac_func" >&5
102057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102058 if eval "test \"\${$as_ac_var+set}\" = set"; then
102059 echo $ECHO_N "(cached) $ECHO_C" >&6
102061 if test x$gcc_no_link = xyes; then
102062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102064 { (exit 1); exit 1; }; }
102066 cat >conftest.$ac_ext <<_ACEOF
102067 /* confdefs.h. */
102068 _ACEOF
102069 cat confdefs.h >>conftest.$ac_ext
102070 cat >>conftest.$ac_ext <<_ACEOF
102071 /* end confdefs.h. */
102072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102074 #define $ac_func innocuous_$ac_func
102076 /* System header to define __stub macros and hopefully few prototypes,
102077 which can conflict with char $ac_func (); below.
102078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102079 <limits.h> exists even on freestanding compilers. */
102081 #ifdef __STDC__
102082 # include <limits.h>
102083 #else
102084 # include <assert.h>
102085 #endif
102087 #undef $ac_func
102089 /* Override any gcc2 internal prototype to avoid an error. */
102090 #ifdef __cplusplus
102091 extern "C"
102093 #endif
102094 /* We use char because int might match the return type of a gcc2
102095 builtin and then its argument prototype would still apply. */
102096 char $ac_func ();
102097 /* The GNU C library defines this for functions which it implements
102098 to always fail with ENOSYS. Some functions are actually named
102099 something starting with __ and the normal name is an alias. */
102100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102101 choke me
102102 #else
102103 char (*f) () = $ac_func;
102104 #endif
102105 #ifdef __cplusplus
102107 #endif
102110 main ()
102112 return f != $ac_func;
102114 return 0;
102116 _ACEOF
102117 rm -f conftest.$ac_objext conftest$ac_exeext
102118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102119 (eval $ac_link) 2>conftest.er1
102120 ac_status=$?
102121 grep -v '^ *+' conftest.er1 >conftest.err
102122 rm -f conftest.er1
102123 cat conftest.err >&5
102124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102125 (exit $ac_status); } &&
102126 { ac_try='test -z "$ac_c_werror_flag"
102127 || test ! -s conftest.err'
102128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102129 (eval $ac_try) 2>&5
102130 ac_status=$?
102131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102132 (exit $ac_status); }; } &&
102133 { ac_try='test -s conftest$ac_exeext'
102134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102135 (eval $ac_try) 2>&5
102136 ac_status=$?
102137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102138 (exit $ac_status); }; }; then
102139 eval "$as_ac_var=yes"
102141 echo "$as_me: failed program was:" >&5
102142 sed 's/^/| /' conftest.$ac_ext >&5
102144 eval "$as_ac_var=no"
102146 rm -f conftest.err conftest.$ac_objext \
102147 conftest$ac_exeext conftest.$ac_ext
102149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102151 if test `eval echo '${'$as_ac_var'}'` = yes; then
102152 cat >>confdefs.h <<_ACEOF
102153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102154 _ACEOF
102157 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102163 for ac_func in __signbitf
102165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102166 echo "$as_me:$LINENO: checking for $ac_func" >&5
102167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102168 if eval "test \"\${$as_ac_var+set}\" = set"; then
102169 echo $ECHO_N "(cached) $ECHO_C" >&6
102171 if test x$gcc_no_link = xyes; then
102172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102174 { (exit 1); exit 1; }; }
102176 cat >conftest.$ac_ext <<_ACEOF
102177 /* confdefs.h. */
102178 _ACEOF
102179 cat confdefs.h >>conftest.$ac_ext
102180 cat >>conftest.$ac_ext <<_ACEOF
102181 /* end confdefs.h. */
102182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102184 #define $ac_func innocuous_$ac_func
102186 /* System header to define __stub macros and hopefully few prototypes,
102187 which can conflict with char $ac_func (); below.
102188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102189 <limits.h> exists even on freestanding compilers. */
102191 #ifdef __STDC__
102192 # include <limits.h>
102193 #else
102194 # include <assert.h>
102195 #endif
102197 #undef $ac_func
102199 /* Override any gcc2 internal prototype to avoid an error. */
102200 #ifdef __cplusplus
102201 extern "C"
102203 #endif
102204 /* We use char because int might match the return type of a gcc2
102205 builtin and then its argument prototype would still apply. */
102206 char $ac_func ();
102207 /* The GNU C library defines this for functions which it implements
102208 to always fail with ENOSYS. Some functions are actually named
102209 something starting with __ and the normal name is an alias. */
102210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102211 choke me
102212 #else
102213 char (*f) () = $ac_func;
102214 #endif
102215 #ifdef __cplusplus
102217 #endif
102220 main ()
102222 return f != $ac_func;
102224 return 0;
102226 _ACEOF
102227 rm -f conftest.$ac_objext conftest$ac_exeext
102228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102229 (eval $ac_link) 2>conftest.er1
102230 ac_status=$?
102231 grep -v '^ *+' conftest.er1 >conftest.err
102232 rm -f conftest.er1
102233 cat conftest.err >&5
102234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102235 (exit $ac_status); } &&
102236 { ac_try='test -z "$ac_c_werror_flag"
102237 || test ! -s conftest.err'
102238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102239 (eval $ac_try) 2>&5
102240 ac_status=$?
102241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102242 (exit $ac_status); }; } &&
102243 { ac_try='test -s conftest$ac_exeext'
102244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102245 (eval $ac_try) 2>&5
102246 ac_status=$?
102247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102248 (exit $ac_status); }; }; then
102249 eval "$as_ac_var=yes"
102251 echo "$as_me: failed program was:" >&5
102252 sed 's/^/| /' conftest.$ac_ext >&5
102254 eval "$as_ac_var=no"
102256 rm -f conftest.err conftest.$ac_objext \
102257 conftest$ac_exeext conftest.$ac_ext
102259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102261 if test `eval echo '${'$as_ac_var'}'` = yes; then
102262 cat >>confdefs.h <<_ACEOF
102263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102264 _ACEOF
102267 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102272 if test x$ac_cv_func_copysignl = x"yes"; then
102274 for ac_func in __signbitl
102276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102277 echo "$as_me:$LINENO: checking for $ac_func" >&5
102278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102279 if eval "test \"\${$as_ac_var+set}\" = set"; then
102280 echo $ECHO_N "(cached) $ECHO_C" >&6
102282 if test x$gcc_no_link = xyes; then
102283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102285 { (exit 1); exit 1; }; }
102287 cat >conftest.$ac_ext <<_ACEOF
102288 /* confdefs.h. */
102289 _ACEOF
102290 cat confdefs.h >>conftest.$ac_ext
102291 cat >>conftest.$ac_ext <<_ACEOF
102292 /* end confdefs.h. */
102293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102295 #define $ac_func innocuous_$ac_func
102297 /* System header to define __stub macros and hopefully few prototypes,
102298 which can conflict with char $ac_func (); below.
102299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102300 <limits.h> exists even on freestanding compilers. */
102302 #ifdef __STDC__
102303 # include <limits.h>
102304 #else
102305 # include <assert.h>
102306 #endif
102308 #undef $ac_func
102310 /* Override any gcc2 internal prototype to avoid an error. */
102311 #ifdef __cplusplus
102312 extern "C"
102314 #endif
102315 /* We use char because int might match the return type of a gcc2
102316 builtin and then its argument prototype would still apply. */
102317 char $ac_func ();
102318 /* The GNU C library defines this for functions which it implements
102319 to always fail with ENOSYS. Some functions are actually named
102320 something starting with __ and the normal name is an alias. */
102321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102322 choke me
102323 #else
102324 char (*f) () = $ac_func;
102325 #endif
102326 #ifdef __cplusplus
102328 #endif
102331 main ()
102333 return f != $ac_func;
102335 return 0;
102337 _ACEOF
102338 rm -f conftest.$ac_objext conftest$ac_exeext
102339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102340 (eval $ac_link) 2>conftest.er1
102341 ac_status=$?
102342 grep -v '^ *+' conftest.er1 >conftest.err
102343 rm -f conftest.er1
102344 cat conftest.err >&5
102345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102346 (exit $ac_status); } &&
102347 { ac_try='test -z "$ac_c_werror_flag"
102348 || test ! -s conftest.err'
102349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102350 (eval $ac_try) 2>&5
102351 ac_status=$?
102352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102353 (exit $ac_status); }; } &&
102354 { ac_try='test -s conftest$ac_exeext'
102355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102356 (eval $ac_try) 2>&5
102357 ac_status=$?
102358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102359 (exit $ac_status); }; }; then
102360 eval "$as_ac_var=yes"
102362 echo "$as_me: failed program was:" >&5
102363 sed 's/^/| /' conftest.$ac_ext >&5
102365 eval "$as_ac_var=no"
102367 rm -f conftest.err conftest.$ac_objext \
102368 conftest$ac_exeext conftest.$ac_ext
102370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102372 if test `eval echo '${'$as_ac_var'}'` = yes; then
102373 cat >>confdefs.h <<_ACEOF
102374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102375 _ACEOF
102378 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102384 # Used in libmath/Makefile.am.
102385 if test -n "$LIBMATHOBJS"; then
102386 need_libmath=yes
102392 enable_iconv=no
102393 # Only continue checking if the ISO C99 headers exist and support is on.
102394 if test x"$enable_wchar_t" = xyes; then
102396 # Use iconv for wchar_t to char conversions. As such, check for
102397 # X/Open Portability Guide, version 2 features (XPG2).
102398 if test "${ac_cv_header_iconv_h+set}" = set; then
102399 echo "$as_me:$LINENO: checking for iconv.h" >&5
102400 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102401 if test "${ac_cv_header_iconv_h+set}" = set; then
102402 echo $ECHO_N "(cached) $ECHO_C" >&6
102404 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102405 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102407 # Is the header compilable?
102408 echo "$as_me:$LINENO: checking iconv.h usability" >&5
102409 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
102410 cat >conftest.$ac_ext <<_ACEOF
102411 /* confdefs.h. */
102412 _ACEOF
102413 cat confdefs.h >>conftest.$ac_ext
102414 cat >>conftest.$ac_ext <<_ACEOF
102415 /* end confdefs.h. */
102416 $ac_includes_default
102417 #include <iconv.h>
102418 _ACEOF
102419 rm -f conftest.$ac_objext
102420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102421 (eval $ac_compile) 2>conftest.er1
102422 ac_status=$?
102423 grep -v '^ *+' conftest.er1 >conftest.err
102424 rm -f conftest.er1
102425 cat conftest.err >&5
102426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102427 (exit $ac_status); } &&
102428 { ac_try='test -z "$ac_c_werror_flag"
102429 || test ! -s conftest.err'
102430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102431 (eval $ac_try) 2>&5
102432 ac_status=$?
102433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102434 (exit $ac_status); }; } &&
102435 { ac_try='test -s conftest.$ac_objext'
102436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102437 (eval $ac_try) 2>&5
102438 ac_status=$?
102439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102440 (exit $ac_status); }; }; then
102441 ac_header_compiler=yes
102443 echo "$as_me: failed program was:" >&5
102444 sed 's/^/| /' conftest.$ac_ext >&5
102446 ac_header_compiler=no
102448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102449 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102450 echo "${ECHO_T}$ac_header_compiler" >&6
102452 # Is the header present?
102453 echo "$as_me:$LINENO: checking iconv.h presence" >&5
102454 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
102455 cat >conftest.$ac_ext <<_ACEOF
102456 /* confdefs.h. */
102457 _ACEOF
102458 cat confdefs.h >>conftest.$ac_ext
102459 cat >>conftest.$ac_ext <<_ACEOF
102460 /* end confdefs.h. */
102461 #include <iconv.h>
102462 _ACEOF
102463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102464 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102465 ac_status=$?
102466 grep -v '^ *+' conftest.er1 >conftest.err
102467 rm -f conftest.er1
102468 cat conftest.err >&5
102469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102470 (exit $ac_status); } >/dev/null; then
102471 if test -s conftest.err; then
102472 ac_cpp_err=$ac_c_preproc_warn_flag
102473 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102475 ac_cpp_err=
102478 ac_cpp_err=yes
102480 if test -z "$ac_cpp_err"; then
102481 ac_header_preproc=yes
102483 echo "$as_me: failed program was:" >&5
102484 sed 's/^/| /' conftest.$ac_ext >&5
102486 ac_header_preproc=no
102488 rm -f conftest.err conftest.$ac_ext
102489 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102490 echo "${ECHO_T}$ac_header_preproc" >&6
102492 # So? What about this header?
102493 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102494 yes:no: )
102495 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
102496 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102497 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
102498 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
102499 ac_header_preproc=yes
102501 no:yes:* )
102502 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
102503 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
102504 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
102505 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
102506 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
102507 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
102508 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
102509 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
102510 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
102511 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
102512 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
102513 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
102515 cat <<\_ASBOX
102516 ## ----------------------------------------- ##
102517 ## Report this to the package-unused lists. ##
102518 ## ----------------------------------------- ##
102519 _ASBOX
102521 sed "s/^/$as_me: WARNING: /" >&2
102524 echo "$as_me:$LINENO: checking for iconv.h" >&5
102525 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102526 if test "${ac_cv_header_iconv_h+set}" = set; then
102527 echo $ECHO_N "(cached) $ECHO_C" >&6
102529 ac_cv_header_iconv_h=$ac_header_preproc
102531 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102532 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102535 if test $ac_cv_header_iconv_h = yes; then
102536 ac_has_iconv_h=yes
102538 ac_has_iconv_h=no
102542 if test "${ac_cv_header_langinfo_h+set}" = set; then
102543 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102544 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102545 if test "${ac_cv_header_langinfo_h+set}" = set; then
102546 echo $ECHO_N "(cached) $ECHO_C" >&6
102548 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102549 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102551 # Is the header compilable?
102552 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
102553 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
102554 cat >conftest.$ac_ext <<_ACEOF
102555 /* confdefs.h. */
102556 _ACEOF
102557 cat confdefs.h >>conftest.$ac_ext
102558 cat >>conftest.$ac_ext <<_ACEOF
102559 /* end confdefs.h. */
102560 $ac_includes_default
102561 #include <langinfo.h>
102562 _ACEOF
102563 rm -f conftest.$ac_objext
102564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102565 (eval $ac_compile) 2>conftest.er1
102566 ac_status=$?
102567 grep -v '^ *+' conftest.er1 >conftest.err
102568 rm -f conftest.er1
102569 cat conftest.err >&5
102570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102571 (exit $ac_status); } &&
102572 { ac_try='test -z "$ac_c_werror_flag"
102573 || test ! -s conftest.err'
102574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102575 (eval $ac_try) 2>&5
102576 ac_status=$?
102577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102578 (exit $ac_status); }; } &&
102579 { ac_try='test -s conftest.$ac_objext'
102580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102581 (eval $ac_try) 2>&5
102582 ac_status=$?
102583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102584 (exit $ac_status); }; }; then
102585 ac_header_compiler=yes
102587 echo "$as_me: failed program was:" >&5
102588 sed 's/^/| /' conftest.$ac_ext >&5
102590 ac_header_compiler=no
102592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102594 echo "${ECHO_T}$ac_header_compiler" >&6
102596 # Is the header present?
102597 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
102598 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
102599 cat >conftest.$ac_ext <<_ACEOF
102600 /* confdefs.h. */
102601 _ACEOF
102602 cat confdefs.h >>conftest.$ac_ext
102603 cat >>conftest.$ac_ext <<_ACEOF
102604 /* end confdefs.h. */
102605 #include <langinfo.h>
102606 _ACEOF
102607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102609 ac_status=$?
102610 grep -v '^ *+' conftest.er1 >conftest.err
102611 rm -f conftest.er1
102612 cat conftest.err >&5
102613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102614 (exit $ac_status); } >/dev/null; then
102615 if test -s conftest.err; then
102616 ac_cpp_err=$ac_c_preproc_warn_flag
102617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102619 ac_cpp_err=
102622 ac_cpp_err=yes
102624 if test -z "$ac_cpp_err"; then
102625 ac_header_preproc=yes
102627 echo "$as_me: failed program was:" >&5
102628 sed 's/^/| /' conftest.$ac_ext >&5
102630 ac_header_preproc=no
102632 rm -f conftest.err conftest.$ac_ext
102633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102634 echo "${ECHO_T}$ac_header_preproc" >&6
102636 # So? What about this header?
102637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102638 yes:no: )
102639 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
102640 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102641 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
102642 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
102643 ac_header_preproc=yes
102645 no:yes:* )
102646 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
102647 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
102648 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
102649 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
102650 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
102651 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
102652 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
102653 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
102654 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
102655 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
102656 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
102657 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
102659 cat <<\_ASBOX
102660 ## ----------------------------------------- ##
102661 ## Report this to the package-unused lists. ##
102662 ## ----------------------------------------- ##
102663 _ASBOX
102665 sed "s/^/$as_me: WARNING: /" >&2
102668 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102669 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102670 if test "${ac_cv_header_langinfo_h+set}" = set; then
102671 echo $ECHO_N "(cached) $ECHO_C" >&6
102673 ac_cv_header_langinfo_h=$ac_header_preproc
102675 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102676 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102679 if test $ac_cv_header_langinfo_h = yes; then
102680 ac_has_langinfo_h=yes
102682 ac_has_langinfo_h=no
102687 # Check for existence of libiconv.a providing XPG2 wchar_t support.
102688 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
102689 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
102690 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
102691 echo $ECHO_N "(cached) $ECHO_C" >&6
102693 ac_check_lib_save_LIBS=$LIBS
102694 LIBS="-liconv $LIBS"
102695 if test x$gcc_no_link = xyes; then
102696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102698 { (exit 1); exit 1; }; }
102700 cat >conftest.$ac_ext <<_ACEOF
102701 /* confdefs.h. */
102702 _ACEOF
102703 cat confdefs.h >>conftest.$ac_ext
102704 cat >>conftest.$ac_ext <<_ACEOF
102705 /* end confdefs.h. */
102707 /* Override any gcc2 internal prototype to avoid an error. */
102708 #ifdef __cplusplus
102709 extern "C"
102710 #endif
102711 /* We use char because int might match the return type of a gcc2
102712 builtin and then its argument prototype would still apply. */
102713 char iconv ();
102715 main ()
102717 iconv ();
102719 return 0;
102721 _ACEOF
102722 rm -f conftest.$ac_objext conftest$ac_exeext
102723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102724 (eval $ac_link) 2>conftest.er1
102725 ac_status=$?
102726 grep -v '^ *+' conftest.er1 >conftest.err
102727 rm -f conftest.er1
102728 cat conftest.err >&5
102729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102730 (exit $ac_status); } &&
102731 { ac_try='test -z "$ac_c_werror_flag"
102732 || test ! -s conftest.err'
102733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102734 (eval $ac_try) 2>&5
102735 ac_status=$?
102736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102737 (exit $ac_status); }; } &&
102738 { ac_try='test -s conftest$ac_exeext'
102739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102740 (eval $ac_try) 2>&5
102741 ac_status=$?
102742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102743 (exit $ac_status); }; }; then
102744 ac_cv_lib_iconv_iconv=yes
102746 echo "$as_me: failed program was:" >&5
102747 sed 's/^/| /' conftest.$ac_ext >&5
102749 ac_cv_lib_iconv_iconv=no
102751 rm -f conftest.err conftest.$ac_objext \
102752 conftest$ac_exeext conftest.$ac_ext
102753 LIBS=$ac_check_lib_save_LIBS
102755 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
102756 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
102757 if test $ac_cv_lib_iconv_iconv = yes; then
102758 LIBICONV="-liconv"
102761 ac_save_LIBS="$LIBS"
102762 LIBS="$LIBS $LIBICONV"
102769 for ac_func in iconv_open iconv_close iconv nl_langinfo
102771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102772 echo "$as_me:$LINENO: checking for $ac_func" >&5
102773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102774 if eval "test \"\${$as_ac_var+set}\" = set"; then
102775 echo $ECHO_N "(cached) $ECHO_C" >&6
102777 if test x$gcc_no_link = xyes; then
102778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102780 { (exit 1); exit 1; }; }
102782 cat >conftest.$ac_ext <<_ACEOF
102783 /* confdefs.h. */
102784 _ACEOF
102785 cat confdefs.h >>conftest.$ac_ext
102786 cat >>conftest.$ac_ext <<_ACEOF
102787 /* end confdefs.h. */
102788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102790 #define $ac_func innocuous_$ac_func
102792 /* System header to define __stub macros and hopefully few prototypes,
102793 which can conflict with char $ac_func (); below.
102794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102795 <limits.h> exists even on freestanding compilers. */
102797 #ifdef __STDC__
102798 # include <limits.h>
102799 #else
102800 # include <assert.h>
102801 #endif
102803 #undef $ac_func
102805 /* Override any gcc2 internal prototype to avoid an error. */
102806 #ifdef __cplusplus
102807 extern "C"
102809 #endif
102810 /* We use char because int might match the return type of a gcc2
102811 builtin and then its argument prototype would still apply. */
102812 char $ac_func ();
102813 /* The GNU C library defines this for functions which it implements
102814 to always fail with ENOSYS. Some functions are actually named
102815 something starting with __ and the normal name is an alias. */
102816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102817 choke me
102818 #else
102819 char (*f) () = $ac_func;
102820 #endif
102821 #ifdef __cplusplus
102823 #endif
102826 main ()
102828 return f != $ac_func;
102830 return 0;
102832 _ACEOF
102833 rm -f conftest.$ac_objext conftest$ac_exeext
102834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102835 (eval $ac_link) 2>conftest.er1
102836 ac_status=$?
102837 grep -v '^ *+' conftest.er1 >conftest.err
102838 rm -f conftest.er1
102839 cat conftest.err >&5
102840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102841 (exit $ac_status); } &&
102842 { ac_try='test -z "$ac_c_werror_flag"
102843 || test ! -s conftest.err'
102844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102845 (eval $ac_try) 2>&5
102846 ac_status=$?
102847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102848 (exit $ac_status); }; } &&
102849 { ac_try='test -s conftest$ac_exeext'
102850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102851 (eval $ac_try) 2>&5
102852 ac_status=$?
102853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102854 (exit $ac_status); }; }; then
102855 eval "$as_ac_var=yes"
102857 echo "$as_me: failed program was:" >&5
102858 sed 's/^/| /' conftest.$ac_ext >&5
102860 eval "$as_ac_var=no"
102862 rm -f conftest.err conftest.$ac_objext \
102863 conftest$ac_exeext conftest.$ac_ext
102865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102867 if test `eval echo '${'$as_ac_var'}'` = yes; then
102868 cat >>confdefs.h <<_ACEOF
102869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102870 _ACEOF
102871 ac_XPG2funcs=yes
102873 ac_XPG2funcs=no
102878 LIBS="$ac_save_LIBS"
102880 if test x"$ac_has_iconv_h" = xyes &&
102881 test x"$ac_has_langinfo_h" = xyes &&
102882 test x"$ac_XPG2funcs" = xyes;
102885 cat >>confdefs.h <<\_ACEOF
102886 #define _GLIBCXX_USE_ICONV 1
102887 _ACEOF
102889 enable_iconv=yes
102892 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
102893 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
102894 echo "$as_me:$LINENO: result: $enable_iconv" >&5
102895 echo "${ECHO_T}$enable_iconv" >&6
102897 cat >>confdefs.h <<\_ACEOF
102898 #define HAVE_COPYSIGN 1
102899 _ACEOF
102901 cat >>confdefs.h <<\_ACEOF
102902 #define HAVE_COPYSIGNF 1
102903 _ACEOF
102905 cat >>confdefs.h <<\_ACEOF
102906 #define HAVE_FINITEF 1
102907 _ACEOF
102909 cat >>confdefs.h <<\_ACEOF
102910 #define HAVE_FINITE 1
102911 _ACEOF
102913 cat >>confdefs.h <<\_ACEOF
102914 #define HAVE_FREXPF 1
102915 _ACEOF
102917 cat >>confdefs.h <<\_ACEOF
102918 #define HAVE_HYPOTF 1
102919 _ACEOF
102921 cat >>confdefs.h <<\_ACEOF
102922 #define HAVE_ISINF 1
102923 _ACEOF
102925 cat >>confdefs.h <<\_ACEOF
102926 #define HAVE_ISINFF 1
102927 _ACEOF
102929 cat >>confdefs.h <<\_ACEOF
102930 #define HAVE_ISNAN 1
102931 _ACEOF
102933 cat >>confdefs.h <<\_ACEOF
102934 #define HAVE_ISNANF 1
102935 _ACEOF
102937 if test x"long_double_math_on_this_cpu" = x"yes"; then
102938 cat >>confdefs.h <<\_ACEOF
102939 #define HAVE_FINITEL 1
102940 _ACEOF
102942 cat >>confdefs.h <<\_ACEOF
102943 #define HAVE_ISINFL 1
102944 _ACEOF
102946 cat >>confdefs.h <<\_ACEOF
102947 #define HAVE_ISNANL 1
102948 _ACEOF
102952 *-netware)
102961 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
102962 sys/types.h locale.h float.h inttypes.h
102964 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
102965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102966 echo "$as_me:$LINENO: checking for $ac_header" >&5
102967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102969 echo $ECHO_N "(cached) $ECHO_C" >&6
102971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102974 # Is the header compilable?
102975 echo "$as_me:$LINENO: checking $ac_header usability" >&5
102976 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
102977 cat >conftest.$ac_ext <<_ACEOF
102978 /* confdefs.h. */
102979 _ACEOF
102980 cat confdefs.h >>conftest.$ac_ext
102981 cat >>conftest.$ac_ext <<_ACEOF
102982 /* end confdefs.h. */
102983 $ac_includes_default
102984 #include <$ac_header>
102985 _ACEOF
102986 rm -f conftest.$ac_objext
102987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102988 (eval $ac_compile) 2>conftest.er1
102989 ac_status=$?
102990 grep -v '^ *+' conftest.er1 >conftest.err
102991 rm -f conftest.er1
102992 cat conftest.err >&5
102993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102994 (exit $ac_status); } &&
102995 { ac_try='test -z "$ac_c_werror_flag"
102996 || test ! -s conftest.err'
102997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102998 (eval $ac_try) 2>&5
102999 ac_status=$?
103000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103001 (exit $ac_status); }; } &&
103002 { ac_try='test -s conftest.$ac_objext'
103003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103004 (eval $ac_try) 2>&5
103005 ac_status=$?
103006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103007 (exit $ac_status); }; }; then
103008 ac_header_compiler=yes
103010 echo "$as_me: failed program was:" >&5
103011 sed 's/^/| /' conftest.$ac_ext >&5
103013 ac_header_compiler=no
103015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103016 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103017 echo "${ECHO_T}$ac_header_compiler" >&6
103019 # Is the header present?
103020 echo "$as_me:$LINENO: checking $ac_header presence" >&5
103021 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
103022 cat >conftest.$ac_ext <<_ACEOF
103023 /* confdefs.h. */
103024 _ACEOF
103025 cat confdefs.h >>conftest.$ac_ext
103026 cat >>conftest.$ac_ext <<_ACEOF
103027 /* end confdefs.h. */
103028 #include <$ac_header>
103029 _ACEOF
103030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103031 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103032 ac_status=$?
103033 grep -v '^ *+' conftest.er1 >conftest.err
103034 rm -f conftest.er1
103035 cat conftest.err >&5
103036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103037 (exit $ac_status); } >/dev/null; then
103038 if test -s conftest.err; then
103039 ac_cpp_err=$ac_c_preproc_warn_flag
103040 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103042 ac_cpp_err=
103045 ac_cpp_err=yes
103047 if test -z "$ac_cpp_err"; then
103048 ac_header_preproc=yes
103050 echo "$as_me: failed program was:" >&5
103051 sed 's/^/| /' conftest.$ac_ext >&5
103053 ac_header_preproc=no
103055 rm -f conftest.err conftest.$ac_ext
103056 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103057 echo "${ECHO_T}$ac_header_preproc" >&6
103059 # So? What about this header?
103060 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103061 yes:no: )
103062 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
103063 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
103064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
103065 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
103066 ac_header_preproc=yes
103068 no:yes:* )
103069 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
103070 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
103071 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
103072 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
103073 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
103074 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
103075 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
103076 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
103077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
103078 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
103079 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
103080 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
103082 cat <<\_ASBOX
103083 ## ----------------------------------------- ##
103084 ## Report this to the package-unused lists. ##
103085 ## ----------------------------------------- ##
103086 _ASBOX
103088 sed "s/^/$as_me: WARNING: /" >&2
103091 echo "$as_me:$LINENO: checking for $ac_header" >&5
103092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103094 echo $ECHO_N "(cached) $ECHO_C" >&6
103096 eval "$as_ac_Header=\$ac_header_preproc"
103098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103102 if test `eval echo '${'$as_ac_Header'}'` = yes; then
103103 cat >>confdefs.h <<_ACEOF
103104 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
103105 _ACEOF
103111 SECTION_FLAGS='-ffunction-sections -fdata-sections'
103114 # If we're not using GNU ld, then there's no point in even trying these
103115 # tests. Check for that first. We should have already tested for gld
103116 # by now (in libtool), but require it now just to be safe...
103117 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103118 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103122 # The name set by libtool depends on the version of libtool. Shame on us
103123 # for depending on an impl detail, but c'est la vie. Older versions used
103124 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103125 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103126 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
103127 # set (hence we're using an older libtool), then set it.
103128 if test x${with_gnu_ld+set} != xset; then
103129 if test x${ac_cv_prog_gnu_ld+set} != xset; then
103130 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
103131 with_gnu_ld=no
103133 with_gnu_ld=$ac_cv_prog_gnu_ld
103137 # Start by getting the version number. I think the libtool test already
103138 # does some of this, but throws away the result.
103139 echo "$as_me:$LINENO: checking for ld version" >&5
103140 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103142 ldver=`$LD --version 2>/dev/null | head -1 | \
103143 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
103145 glibcxx_gnu_ld_version=`echo $ldver | \
103146 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103147 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103148 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103150 # Set --gc-sections.
103151 glibcxx_gcsections_min_ld=21602
103152 if test x"$with_gnu_ld" = x"yes" &&
103153 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103155 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
103156 # NB: This flag only works reliably after 2.16.1. Configure tests
103157 # for this are difficult, so hard wire a value that should work.
103159 # All these tests are for C++, but run with the "C" compiler driver.
103160 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
103161 ac_test_CFLAGS="${CFLAGS+set}"
103162 ac_save_CFLAGS="$CFLAGS"
103163 CFLAGS='-x c++ -Wl,--gc-sections'
103165 # Check for -Wl,--gc-sections
103166 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103167 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103168 if test x$gcc_no_link = xyes; then
103169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103171 { (exit 1); exit 1; }; }
103173 cat >conftest.$ac_ext <<_ACEOF
103174 /* confdefs.h. */
103175 _ACEOF
103176 cat confdefs.h >>conftest.$ac_ext
103177 cat >>conftest.$ac_ext <<_ACEOF
103178 /* end confdefs.h. */
103179 int one(void) { return 1; }
103180 int two(void) { return 2; }
103183 main ()
103185 two();
103187 return 0;
103189 _ACEOF
103190 rm -f conftest.$ac_objext conftest$ac_exeext
103191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103192 (eval $ac_link) 2>conftest.er1
103193 ac_status=$?
103194 grep -v '^ *+' conftest.er1 >conftest.err
103195 rm -f conftest.er1
103196 cat conftest.err >&5
103197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103198 (exit $ac_status); } &&
103199 { ac_try='test -z "$ac_c_werror_flag"
103200 || test ! -s conftest.err'
103201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103202 (eval $ac_try) 2>&5
103203 ac_status=$?
103204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103205 (exit $ac_status); }; } &&
103206 { ac_try='test -s conftest$ac_exeext'
103207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103208 (eval $ac_try) 2>&5
103209 ac_status=$?
103210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103211 (exit $ac_status); }; }; then
103212 ac_gcsections=yes
103214 echo "$as_me: failed program was:" >&5
103215 sed 's/^/| /' conftest.$ac_ext >&5
103217 ac_gcsections=no
103219 rm -f conftest.err conftest.$ac_objext \
103220 conftest$ac_exeext conftest.$ac_ext
103221 if test "$ac_gcsections" = "yes"; then
103222 rm -f conftest.c
103223 touch conftest.c
103224 if $CC -c conftest.c; then
103225 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103226 grep "Warning: gc-sections option ignored" > /dev/null; then
103227 ac_gcsections=no
103230 rm -f conftest.c conftest.o conftest
103232 if test "$ac_gcsections" = "yes"; then
103233 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103235 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103236 echo "${ECHO_T}$ac_gcsections" >&6
103238 if test "$ac_test_CFLAGS" = set; then
103239 CFLAGS="$ac_save_CFLAGS"
103241 # this is the suspicious part
103242 CFLAGS=''
103246 # Set -z,relro.
103247 # Note this is only for shared objects.
103248 ac_ld_relro=no
103249 if test x"$with_gnu_ld" = x"yes"; then
103250 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103251 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103252 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103253 if test -n "$cxx_z_relo"; then
103254 OPT_LDFLAGS="-Wl,-z,relro"
103255 ac_ld_relro=yes
103257 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103258 echo "${ECHO_T}$ac_ld_relro" >&6
103261 # Set linker optimization flags.
103262 if test x"$with_gnu_ld" = x"yes"; then
103263 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103271 echo "$as_me:$LINENO: checking for main in -lm" >&5
103272 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
103273 if test "${ac_cv_lib_m_main+set}" = set; then
103274 echo $ECHO_N "(cached) $ECHO_C" >&6
103276 ac_check_lib_save_LIBS=$LIBS
103277 LIBS="-lm $LIBS"
103278 if test x$gcc_no_link = xyes; then
103279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103281 { (exit 1); exit 1; }; }
103283 cat >conftest.$ac_ext <<_ACEOF
103284 /* confdefs.h. */
103285 _ACEOF
103286 cat confdefs.h >>conftest.$ac_ext
103287 cat >>conftest.$ac_ext <<_ACEOF
103288 /* end confdefs.h. */
103292 main ()
103294 main ();
103296 return 0;
103298 _ACEOF
103299 rm -f conftest.$ac_objext conftest$ac_exeext
103300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103301 (eval $ac_link) 2>conftest.er1
103302 ac_status=$?
103303 grep -v '^ *+' conftest.er1 >conftest.err
103304 rm -f conftest.er1
103305 cat conftest.err >&5
103306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103307 (exit $ac_status); } &&
103308 { ac_try='test -z "$ac_c_werror_flag"
103309 || test ! -s conftest.err'
103310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103311 (eval $ac_try) 2>&5
103312 ac_status=$?
103313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103314 (exit $ac_status); }; } &&
103315 { ac_try='test -s conftest$ac_exeext'
103316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103317 (eval $ac_try) 2>&5
103318 ac_status=$?
103319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103320 (exit $ac_status); }; }; then
103321 ac_cv_lib_m_main=yes
103323 echo "$as_me: failed program was:" >&5
103324 sed 's/^/| /' conftest.$ac_ext >&5
103326 ac_cv_lib_m_main=no
103328 rm -f conftest.err conftest.$ac_objext \
103329 conftest$ac_exeext conftest.$ac_ext
103330 LIBS=$ac_check_lib_save_LIBS
103332 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
103333 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
103334 if test $ac_cv_lib_m_main = yes; then
103335 cat >>confdefs.h <<_ACEOF
103336 #define HAVE_LIBM 1
103337 _ACEOF
103339 LIBS="-lm $LIBS"
103344 for ac_func in copysignf
103346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103347 echo "$as_me:$LINENO: checking for $ac_func" >&5
103348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103349 if eval "test \"\${$as_ac_var+set}\" = set"; then
103350 echo $ECHO_N "(cached) $ECHO_C" >&6
103352 if test x$gcc_no_link = xyes; then
103353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103355 { (exit 1); exit 1; }; }
103357 cat >conftest.$ac_ext <<_ACEOF
103358 /* confdefs.h. */
103359 _ACEOF
103360 cat confdefs.h >>conftest.$ac_ext
103361 cat >>conftest.$ac_ext <<_ACEOF
103362 /* end confdefs.h. */
103363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103365 #define $ac_func innocuous_$ac_func
103367 /* System header to define __stub macros and hopefully few prototypes,
103368 which can conflict with char $ac_func (); below.
103369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103370 <limits.h> exists even on freestanding compilers. */
103372 #ifdef __STDC__
103373 # include <limits.h>
103374 #else
103375 # include <assert.h>
103376 #endif
103378 #undef $ac_func
103380 /* Override any gcc2 internal prototype to avoid an error. */
103381 #ifdef __cplusplus
103382 extern "C"
103384 #endif
103385 /* We use char because int might match the return type of a gcc2
103386 builtin and then its argument prototype would still apply. */
103387 char $ac_func ();
103388 /* The GNU C library defines this for functions which it implements
103389 to always fail with ENOSYS. Some functions are actually named
103390 something starting with __ and the normal name is an alias. */
103391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103392 choke me
103393 #else
103394 char (*f) () = $ac_func;
103395 #endif
103396 #ifdef __cplusplus
103398 #endif
103401 main ()
103403 return f != $ac_func;
103405 return 0;
103407 _ACEOF
103408 rm -f conftest.$ac_objext conftest$ac_exeext
103409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103410 (eval $ac_link) 2>conftest.er1
103411 ac_status=$?
103412 grep -v '^ *+' conftest.er1 >conftest.err
103413 rm -f conftest.er1
103414 cat conftest.err >&5
103415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103416 (exit $ac_status); } &&
103417 { ac_try='test -z "$ac_c_werror_flag"
103418 || test ! -s conftest.err'
103419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103420 (eval $ac_try) 2>&5
103421 ac_status=$?
103422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103423 (exit $ac_status); }; } &&
103424 { ac_try='test -s conftest$ac_exeext'
103425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103426 (eval $ac_try) 2>&5
103427 ac_status=$?
103428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103429 (exit $ac_status); }; }; then
103430 eval "$as_ac_var=yes"
103432 echo "$as_me: failed program was:" >&5
103433 sed 's/^/| /' conftest.$ac_ext >&5
103435 eval "$as_ac_var=no"
103437 rm -f conftest.err conftest.$ac_objext \
103438 conftest$ac_exeext conftest.$ac_ext
103440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103442 if test `eval echo '${'$as_ac_var'}'` = yes; then
103443 cat >>confdefs.h <<_ACEOF
103444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103445 _ACEOF
103448 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
103454 for ac_func in __signbit
103456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103457 echo "$as_me:$LINENO: checking for $ac_func" >&5
103458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103459 if eval "test \"\${$as_ac_var+set}\" = set"; then
103460 echo $ECHO_N "(cached) $ECHO_C" >&6
103462 if test x$gcc_no_link = xyes; then
103463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103465 { (exit 1); exit 1; }; }
103467 cat >conftest.$ac_ext <<_ACEOF
103468 /* confdefs.h. */
103469 _ACEOF
103470 cat confdefs.h >>conftest.$ac_ext
103471 cat >>conftest.$ac_ext <<_ACEOF
103472 /* end confdefs.h. */
103473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103475 #define $ac_func innocuous_$ac_func
103477 /* System header to define __stub macros and hopefully few prototypes,
103478 which can conflict with char $ac_func (); below.
103479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103480 <limits.h> exists even on freestanding compilers. */
103482 #ifdef __STDC__
103483 # include <limits.h>
103484 #else
103485 # include <assert.h>
103486 #endif
103488 #undef $ac_func
103490 /* Override any gcc2 internal prototype to avoid an error. */
103491 #ifdef __cplusplus
103492 extern "C"
103494 #endif
103495 /* We use char because int might match the return type of a gcc2
103496 builtin and then its argument prototype would still apply. */
103497 char $ac_func ();
103498 /* The GNU C library defines this for functions which it implements
103499 to always fail with ENOSYS. Some functions are actually named
103500 something starting with __ and the normal name is an alias. */
103501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103502 choke me
103503 #else
103504 char (*f) () = $ac_func;
103505 #endif
103506 #ifdef __cplusplus
103508 #endif
103511 main ()
103513 return f != $ac_func;
103515 return 0;
103517 _ACEOF
103518 rm -f conftest.$ac_objext conftest$ac_exeext
103519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103520 (eval $ac_link) 2>conftest.er1
103521 ac_status=$?
103522 grep -v '^ *+' conftest.er1 >conftest.err
103523 rm -f conftest.er1
103524 cat conftest.err >&5
103525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103526 (exit $ac_status); } &&
103527 { ac_try='test -z "$ac_c_werror_flag"
103528 || test ! -s conftest.err'
103529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103530 (eval $ac_try) 2>&5
103531 ac_status=$?
103532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103533 (exit $ac_status); }; } &&
103534 { ac_try='test -s conftest$ac_exeext'
103535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103536 (eval $ac_try) 2>&5
103537 ac_status=$?
103538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103539 (exit $ac_status); }; }; then
103540 eval "$as_ac_var=yes"
103542 echo "$as_me: failed program was:" >&5
103543 sed 's/^/| /' conftest.$ac_ext >&5
103545 eval "$as_ac_var=no"
103547 rm -f conftest.err conftest.$ac_objext \
103548 conftest$ac_exeext conftest.$ac_ext
103550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103552 if test `eval echo '${'$as_ac_var'}'` = yes; then
103553 cat >>confdefs.h <<_ACEOF
103554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103555 _ACEOF
103558 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103564 for ac_func in __signbitf
103566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103567 echo "$as_me:$LINENO: checking for $ac_func" >&5
103568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103569 if eval "test \"\${$as_ac_var+set}\" = set"; then
103570 echo $ECHO_N "(cached) $ECHO_C" >&6
103572 if test x$gcc_no_link = xyes; then
103573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103575 { (exit 1); exit 1; }; }
103577 cat >conftest.$ac_ext <<_ACEOF
103578 /* confdefs.h. */
103579 _ACEOF
103580 cat confdefs.h >>conftest.$ac_ext
103581 cat >>conftest.$ac_ext <<_ACEOF
103582 /* end confdefs.h. */
103583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103585 #define $ac_func innocuous_$ac_func
103587 /* System header to define __stub macros and hopefully few prototypes,
103588 which can conflict with char $ac_func (); below.
103589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103590 <limits.h> exists even on freestanding compilers. */
103592 #ifdef __STDC__
103593 # include <limits.h>
103594 #else
103595 # include <assert.h>
103596 #endif
103598 #undef $ac_func
103600 /* Override any gcc2 internal prototype to avoid an error. */
103601 #ifdef __cplusplus
103602 extern "C"
103604 #endif
103605 /* We use char because int might match the return type of a gcc2
103606 builtin and then its argument prototype would still apply. */
103607 char $ac_func ();
103608 /* The GNU C library defines this for functions which it implements
103609 to always fail with ENOSYS. Some functions are actually named
103610 something starting with __ and the normal name is an alias. */
103611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103612 choke me
103613 #else
103614 char (*f) () = $ac_func;
103615 #endif
103616 #ifdef __cplusplus
103618 #endif
103621 main ()
103623 return f != $ac_func;
103625 return 0;
103627 _ACEOF
103628 rm -f conftest.$ac_objext conftest$ac_exeext
103629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103630 (eval $ac_link) 2>conftest.er1
103631 ac_status=$?
103632 grep -v '^ *+' conftest.er1 >conftest.err
103633 rm -f conftest.er1
103634 cat conftest.err >&5
103635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103636 (exit $ac_status); } &&
103637 { ac_try='test -z "$ac_c_werror_flag"
103638 || test ! -s conftest.err'
103639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103640 (eval $ac_try) 2>&5
103641 ac_status=$?
103642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103643 (exit $ac_status); }; } &&
103644 { ac_try='test -s conftest$ac_exeext'
103645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103646 (eval $ac_try) 2>&5
103647 ac_status=$?
103648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103649 (exit $ac_status); }; }; then
103650 eval "$as_ac_var=yes"
103652 echo "$as_me: failed program was:" >&5
103653 sed 's/^/| /' conftest.$ac_ext >&5
103655 eval "$as_ac_var=no"
103657 rm -f conftest.err conftest.$ac_objext \
103658 conftest$ac_exeext conftest.$ac_ext
103660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103662 if test `eval echo '${'$as_ac_var'}'` = yes; then
103663 cat >>confdefs.h <<_ACEOF
103664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103665 _ACEOF
103668 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103673 if test x$ac_cv_func_copysignl = x"yes"; then
103675 for ac_func in __signbitl
103677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103678 echo "$as_me:$LINENO: checking for $ac_func" >&5
103679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103680 if eval "test \"\${$as_ac_var+set}\" = set"; then
103681 echo $ECHO_N "(cached) $ECHO_C" >&6
103683 if test x$gcc_no_link = xyes; then
103684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103686 { (exit 1); exit 1; }; }
103688 cat >conftest.$ac_ext <<_ACEOF
103689 /* confdefs.h. */
103690 _ACEOF
103691 cat confdefs.h >>conftest.$ac_ext
103692 cat >>conftest.$ac_ext <<_ACEOF
103693 /* end confdefs.h. */
103694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103696 #define $ac_func innocuous_$ac_func
103698 /* System header to define __stub macros and hopefully few prototypes,
103699 which can conflict with char $ac_func (); below.
103700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103701 <limits.h> exists even on freestanding compilers. */
103703 #ifdef __STDC__
103704 # include <limits.h>
103705 #else
103706 # include <assert.h>
103707 #endif
103709 #undef $ac_func
103711 /* Override any gcc2 internal prototype to avoid an error. */
103712 #ifdef __cplusplus
103713 extern "C"
103715 #endif
103716 /* We use char because int might match the return type of a gcc2
103717 builtin and then its argument prototype would still apply. */
103718 char $ac_func ();
103719 /* The GNU C library defines this for functions which it implements
103720 to always fail with ENOSYS. Some functions are actually named
103721 something starting with __ and the normal name is an alias. */
103722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103723 choke me
103724 #else
103725 char (*f) () = $ac_func;
103726 #endif
103727 #ifdef __cplusplus
103729 #endif
103732 main ()
103734 return f != $ac_func;
103736 return 0;
103738 _ACEOF
103739 rm -f conftest.$ac_objext conftest$ac_exeext
103740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103741 (eval $ac_link) 2>conftest.er1
103742 ac_status=$?
103743 grep -v '^ *+' conftest.er1 >conftest.err
103744 rm -f conftest.er1
103745 cat conftest.err >&5
103746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103747 (exit $ac_status); } &&
103748 { ac_try='test -z "$ac_c_werror_flag"
103749 || test ! -s conftest.err'
103750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103751 (eval $ac_try) 2>&5
103752 ac_status=$?
103753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103754 (exit $ac_status); }; } &&
103755 { ac_try='test -s conftest$ac_exeext'
103756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103757 (eval $ac_try) 2>&5
103758 ac_status=$?
103759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103760 (exit $ac_status); }; }; then
103761 eval "$as_ac_var=yes"
103763 echo "$as_me: failed program was:" >&5
103764 sed 's/^/| /' conftest.$ac_ext >&5
103766 eval "$as_ac_var=no"
103768 rm -f conftest.err conftest.$ac_objext \
103769 conftest$ac_exeext conftest.$ac_ext
103771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103773 if test `eval echo '${'$as_ac_var'}'` = yes; then
103774 cat >>confdefs.h <<_ACEOF
103775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103776 _ACEOF
103779 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103785 # Used in libmath/Makefile.am.
103786 if test -n "$LIBMATHOBJS"; then
103787 need_libmath=yes
103793 enable_iconv=no
103794 # Only continue checking if the ISO C99 headers exist and support is on.
103795 if test x"$enable_wchar_t" = xyes; then
103797 # Use iconv for wchar_t to char conversions. As such, check for
103798 # X/Open Portability Guide, version 2 features (XPG2).
103799 if test "${ac_cv_header_iconv_h+set}" = set; then
103800 echo "$as_me:$LINENO: checking for iconv.h" >&5
103801 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103802 if test "${ac_cv_header_iconv_h+set}" = set; then
103803 echo $ECHO_N "(cached) $ECHO_C" >&6
103805 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103806 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103808 # Is the header compilable?
103809 echo "$as_me:$LINENO: checking iconv.h usability" >&5
103810 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
103811 cat >conftest.$ac_ext <<_ACEOF
103812 /* confdefs.h. */
103813 _ACEOF
103814 cat confdefs.h >>conftest.$ac_ext
103815 cat >>conftest.$ac_ext <<_ACEOF
103816 /* end confdefs.h. */
103817 $ac_includes_default
103818 #include <iconv.h>
103819 _ACEOF
103820 rm -f conftest.$ac_objext
103821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103822 (eval $ac_compile) 2>conftest.er1
103823 ac_status=$?
103824 grep -v '^ *+' conftest.er1 >conftest.err
103825 rm -f conftest.er1
103826 cat conftest.err >&5
103827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103828 (exit $ac_status); } &&
103829 { ac_try='test -z "$ac_c_werror_flag"
103830 || test ! -s conftest.err'
103831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103832 (eval $ac_try) 2>&5
103833 ac_status=$?
103834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103835 (exit $ac_status); }; } &&
103836 { ac_try='test -s conftest.$ac_objext'
103837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103838 (eval $ac_try) 2>&5
103839 ac_status=$?
103840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103841 (exit $ac_status); }; }; then
103842 ac_header_compiler=yes
103844 echo "$as_me: failed program was:" >&5
103845 sed 's/^/| /' conftest.$ac_ext >&5
103847 ac_header_compiler=no
103849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103851 echo "${ECHO_T}$ac_header_compiler" >&6
103853 # Is the header present?
103854 echo "$as_me:$LINENO: checking iconv.h presence" >&5
103855 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
103856 cat >conftest.$ac_ext <<_ACEOF
103857 /* confdefs.h. */
103858 _ACEOF
103859 cat confdefs.h >>conftest.$ac_ext
103860 cat >>conftest.$ac_ext <<_ACEOF
103861 /* end confdefs.h. */
103862 #include <iconv.h>
103863 _ACEOF
103864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103866 ac_status=$?
103867 grep -v '^ *+' conftest.er1 >conftest.err
103868 rm -f conftest.er1
103869 cat conftest.err >&5
103870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103871 (exit $ac_status); } >/dev/null; then
103872 if test -s conftest.err; then
103873 ac_cpp_err=$ac_c_preproc_warn_flag
103874 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103876 ac_cpp_err=
103879 ac_cpp_err=yes
103881 if test -z "$ac_cpp_err"; then
103882 ac_header_preproc=yes
103884 echo "$as_me: failed program was:" >&5
103885 sed 's/^/| /' conftest.$ac_ext >&5
103887 ac_header_preproc=no
103889 rm -f conftest.err conftest.$ac_ext
103890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103891 echo "${ECHO_T}$ac_header_preproc" >&6
103893 # So? What about this header?
103894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103895 yes:no: )
103896 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
103897 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
103898 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
103899 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
103900 ac_header_preproc=yes
103902 no:yes:* )
103903 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
103904 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
103905 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
103906 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
103907 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
103908 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
103909 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
103910 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
103911 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
103912 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
103913 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
103914 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
103916 cat <<\_ASBOX
103917 ## ----------------------------------------- ##
103918 ## Report this to the package-unused lists. ##
103919 ## ----------------------------------------- ##
103920 _ASBOX
103922 sed "s/^/$as_me: WARNING: /" >&2
103925 echo "$as_me:$LINENO: checking for iconv.h" >&5
103926 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103927 if test "${ac_cv_header_iconv_h+set}" = set; then
103928 echo $ECHO_N "(cached) $ECHO_C" >&6
103930 ac_cv_header_iconv_h=$ac_header_preproc
103932 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103933 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103936 if test $ac_cv_header_iconv_h = yes; then
103937 ac_has_iconv_h=yes
103939 ac_has_iconv_h=no
103943 if test "${ac_cv_header_langinfo_h+set}" = set; then
103944 echo "$as_me:$LINENO: checking for langinfo.h" >&5
103945 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
103946 if test "${ac_cv_header_langinfo_h+set}" = set; then
103947 echo $ECHO_N "(cached) $ECHO_C" >&6
103949 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
103950 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
103952 # Is the header compilable?
103953 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
103954 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
103955 cat >conftest.$ac_ext <<_ACEOF
103956 /* confdefs.h. */
103957 _ACEOF
103958 cat confdefs.h >>conftest.$ac_ext
103959 cat >>conftest.$ac_ext <<_ACEOF
103960 /* end confdefs.h. */
103961 $ac_includes_default
103962 #include <langinfo.h>
103963 _ACEOF
103964 rm -f conftest.$ac_objext
103965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103966 (eval $ac_compile) 2>conftest.er1
103967 ac_status=$?
103968 grep -v '^ *+' conftest.er1 >conftest.err
103969 rm -f conftest.er1
103970 cat conftest.err >&5
103971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103972 (exit $ac_status); } &&
103973 { ac_try='test -z "$ac_c_werror_flag"
103974 || test ! -s conftest.err'
103975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103976 (eval $ac_try) 2>&5
103977 ac_status=$?
103978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103979 (exit $ac_status); }; } &&
103980 { ac_try='test -s conftest.$ac_objext'
103981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103982 (eval $ac_try) 2>&5
103983 ac_status=$?
103984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103985 (exit $ac_status); }; }; then
103986 ac_header_compiler=yes
103988 echo "$as_me: failed program was:" >&5
103989 sed 's/^/| /' conftest.$ac_ext >&5
103991 ac_header_compiler=no
103993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103995 echo "${ECHO_T}$ac_header_compiler" >&6
103997 # Is the header present?
103998 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
103999 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
104000 cat >conftest.$ac_ext <<_ACEOF
104001 /* confdefs.h. */
104002 _ACEOF
104003 cat confdefs.h >>conftest.$ac_ext
104004 cat >>conftest.$ac_ext <<_ACEOF
104005 /* end confdefs.h. */
104006 #include <langinfo.h>
104007 _ACEOF
104008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104010 ac_status=$?
104011 grep -v '^ *+' conftest.er1 >conftest.err
104012 rm -f conftest.er1
104013 cat conftest.err >&5
104014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104015 (exit $ac_status); } >/dev/null; then
104016 if test -s conftest.err; then
104017 ac_cpp_err=$ac_c_preproc_warn_flag
104018 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104020 ac_cpp_err=
104023 ac_cpp_err=yes
104025 if test -z "$ac_cpp_err"; then
104026 ac_header_preproc=yes
104028 echo "$as_me: failed program was:" >&5
104029 sed 's/^/| /' conftest.$ac_ext >&5
104031 ac_header_preproc=no
104033 rm -f conftest.err conftest.$ac_ext
104034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104035 echo "${ECHO_T}$ac_header_preproc" >&6
104037 # So? What about this header?
104038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104039 yes:no: )
104040 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
104041 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
104042 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
104043 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
104044 ac_header_preproc=yes
104046 no:yes:* )
104047 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
104048 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
104049 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
104050 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
104051 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
104052 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
104053 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
104054 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
104055 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
104056 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
104057 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
104058 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
104060 cat <<\_ASBOX
104061 ## ----------------------------------------- ##
104062 ## Report this to the package-unused lists. ##
104063 ## ----------------------------------------- ##
104064 _ASBOX
104066 sed "s/^/$as_me: WARNING: /" >&2
104069 echo "$as_me:$LINENO: checking for langinfo.h" >&5
104070 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
104071 if test "${ac_cv_header_langinfo_h+set}" = set; then
104072 echo $ECHO_N "(cached) $ECHO_C" >&6
104074 ac_cv_header_langinfo_h=$ac_header_preproc
104076 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
104077 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
104080 if test $ac_cv_header_langinfo_h = yes; then
104081 ac_has_langinfo_h=yes
104083 ac_has_langinfo_h=no
104088 # Check for existence of libiconv.a providing XPG2 wchar_t support.
104089 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
104090 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
104091 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
104092 echo $ECHO_N "(cached) $ECHO_C" >&6
104094 ac_check_lib_save_LIBS=$LIBS
104095 LIBS="-liconv $LIBS"
104096 if test x$gcc_no_link = xyes; then
104097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104099 { (exit 1); exit 1; }; }
104101 cat >conftest.$ac_ext <<_ACEOF
104102 /* confdefs.h. */
104103 _ACEOF
104104 cat confdefs.h >>conftest.$ac_ext
104105 cat >>conftest.$ac_ext <<_ACEOF
104106 /* end confdefs.h. */
104108 /* Override any gcc2 internal prototype to avoid an error. */
104109 #ifdef __cplusplus
104110 extern "C"
104111 #endif
104112 /* We use char because int might match the return type of a gcc2
104113 builtin and then its argument prototype would still apply. */
104114 char iconv ();
104116 main ()
104118 iconv ();
104120 return 0;
104122 _ACEOF
104123 rm -f conftest.$ac_objext conftest$ac_exeext
104124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104125 (eval $ac_link) 2>conftest.er1
104126 ac_status=$?
104127 grep -v '^ *+' conftest.er1 >conftest.err
104128 rm -f conftest.er1
104129 cat conftest.err >&5
104130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104131 (exit $ac_status); } &&
104132 { ac_try='test -z "$ac_c_werror_flag"
104133 || test ! -s conftest.err'
104134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104135 (eval $ac_try) 2>&5
104136 ac_status=$?
104137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104138 (exit $ac_status); }; } &&
104139 { ac_try='test -s conftest$ac_exeext'
104140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104141 (eval $ac_try) 2>&5
104142 ac_status=$?
104143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104144 (exit $ac_status); }; }; then
104145 ac_cv_lib_iconv_iconv=yes
104147 echo "$as_me: failed program was:" >&5
104148 sed 's/^/| /' conftest.$ac_ext >&5
104150 ac_cv_lib_iconv_iconv=no
104152 rm -f conftest.err conftest.$ac_objext \
104153 conftest$ac_exeext conftest.$ac_ext
104154 LIBS=$ac_check_lib_save_LIBS
104156 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
104157 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
104158 if test $ac_cv_lib_iconv_iconv = yes; then
104159 LIBICONV="-liconv"
104162 ac_save_LIBS="$LIBS"
104163 LIBS="$LIBS $LIBICONV"
104170 for ac_func in iconv_open iconv_close iconv nl_langinfo
104172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104173 echo "$as_me:$LINENO: checking for $ac_func" >&5
104174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104175 if eval "test \"\${$as_ac_var+set}\" = set"; then
104176 echo $ECHO_N "(cached) $ECHO_C" >&6
104178 if test x$gcc_no_link = xyes; then
104179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104181 { (exit 1); exit 1; }; }
104183 cat >conftest.$ac_ext <<_ACEOF
104184 /* confdefs.h. */
104185 _ACEOF
104186 cat confdefs.h >>conftest.$ac_ext
104187 cat >>conftest.$ac_ext <<_ACEOF
104188 /* end confdefs.h. */
104189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104191 #define $ac_func innocuous_$ac_func
104193 /* System header to define __stub macros and hopefully few prototypes,
104194 which can conflict with char $ac_func (); below.
104195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104196 <limits.h> exists even on freestanding compilers. */
104198 #ifdef __STDC__
104199 # include <limits.h>
104200 #else
104201 # include <assert.h>
104202 #endif
104204 #undef $ac_func
104206 /* Override any gcc2 internal prototype to avoid an error. */
104207 #ifdef __cplusplus
104208 extern "C"
104210 #endif
104211 /* We use char because int might match the return type of a gcc2
104212 builtin and then its argument prototype would still apply. */
104213 char $ac_func ();
104214 /* The GNU C library defines this for functions which it implements
104215 to always fail with ENOSYS. Some functions are actually named
104216 something starting with __ and the normal name is an alias. */
104217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104218 choke me
104219 #else
104220 char (*f) () = $ac_func;
104221 #endif
104222 #ifdef __cplusplus
104224 #endif
104227 main ()
104229 return f != $ac_func;
104231 return 0;
104233 _ACEOF
104234 rm -f conftest.$ac_objext conftest$ac_exeext
104235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104236 (eval $ac_link) 2>conftest.er1
104237 ac_status=$?
104238 grep -v '^ *+' conftest.er1 >conftest.err
104239 rm -f conftest.er1
104240 cat conftest.err >&5
104241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104242 (exit $ac_status); } &&
104243 { ac_try='test -z "$ac_c_werror_flag"
104244 || test ! -s conftest.err'
104245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104246 (eval $ac_try) 2>&5
104247 ac_status=$?
104248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104249 (exit $ac_status); }; } &&
104250 { ac_try='test -s conftest$ac_exeext'
104251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104252 (eval $ac_try) 2>&5
104253 ac_status=$?
104254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104255 (exit $ac_status); }; }; then
104256 eval "$as_ac_var=yes"
104258 echo "$as_me: failed program was:" >&5
104259 sed 's/^/| /' conftest.$ac_ext >&5
104261 eval "$as_ac_var=no"
104263 rm -f conftest.err conftest.$ac_objext \
104264 conftest$ac_exeext conftest.$ac_ext
104266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104268 if test `eval echo '${'$as_ac_var'}'` = yes; then
104269 cat >>confdefs.h <<_ACEOF
104270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104271 _ACEOF
104272 ac_XPG2funcs=yes
104274 ac_XPG2funcs=no
104279 LIBS="$ac_save_LIBS"
104281 if test x"$ac_has_iconv_h" = xyes &&
104282 test x"$ac_has_langinfo_h" = xyes &&
104283 test x"$ac_XPG2funcs" = xyes;
104286 cat >>confdefs.h <<\_ACEOF
104287 #define _GLIBCXX_USE_ICONV 1
104288 _ACEOF
104290 enable_iconv=yes
104293 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
104294 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
104295 echo "$as_me:$LINENO: result: $enable_iconv" >&5
104296 echo "${ECHO_T}$enable_iconv" >&6
104298 cat >>confdefs.h <<\_ACEOF
104299 #define HAVE_HYPOT 1
104300 _ACEOF
104302 cat >>confdefs.h <<\_ACEOF
104303 #define HAVE_ISINF 1
104304 _ACEOF
104306 cat >>confdefs.h <<\_ACEOF
104307 #define HAVE_ISNAN 1
104308 _ACEOF
104311 # For showmanyc_helper().
104314 for ac_header in sys/ioctl.h sys/filio.h
104316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104318 echo "$as_me:$LINENO: checking for $ac_header" >&5
104319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104321 echo $ECHO_N "(cached) $ECHO_C" >&6
104323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104326 # Is the header compilable?
104327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104329 cat >conftest.$ac_ext <<_ACEOF
104330 /* confdefs.h. */
104331 _ACEOF
104332 cat confdefs.h >>conftest.$ac_ext
104333 cat >>conftest.$ac_ext <<_ACEOF
104334 /* end confdefs.h. */
104335 $ac_includes_default
104336 #include <$ac_header>
104337 _ACEOF
104338 rm -f conftest.$ac_objext
104339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104340 (eval $ac_compile) 2>conftest.er1
104341 ac_status=$?
104342 grep -v '^ *+' conftest.er1 >conftest.err
104343 rm -f conftest.er1
104344 cat conftest.err >&5
104345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104346 (exit $ac_status); } &&
104347 { ac_try='test -z "$ac_c_werror_flag"
104348 || test ! -s conftest.err'
104349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104350 (eval $ac_try) 2>&5
104351 ac_status=$?
104352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104353 (exit $ac_status); }; } &&
104354 { ac_try='test -s conftest.$ac_objext'
104355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104356 (eval $ac_try) 2>&5
104357 ac_status=$?
104358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104359 (exit $ac_status); }; }; then
104360 ac_header_compiler=yes
104362 echo "$as_me: failed program was:" >&5
104363 sed 's/^/| /' conftest.$ac_ext >&5
104365 ac_header_compiler=no
104367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104369 echo "${ECHO_T}$ac_header_compiler" >&6
104371 # Is the header present?
104372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104374 cat >conftest.$ac_ext <<_ACEOF
104375 /* confdefs.h. */
104376 _ACEOF
104377 cat confdefs.h >>conftest.$ac_ext
104378 cat >>conftest.$ac_ext <<_ACEOF
104379 /* end confdefs.h. */
104380 #include <$ac_header>
104381 _ACEOF
104382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104384 ac_status=$?
104385 grep -v '^ *+' conftest.er1 >conftest.err
104386 rm -f conftest.er1
104387 cat conftest.err >&5
104388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104389 (exit $ac_status); } >/dev/null; then
104390 if test -s conftest.err; then
104391 ac_cpp_err=$ac_c_preproc_warn_flag
104392 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104394 ac_cpp_err=
104397 ac_cpp_err=yes
104399 if test -z "$ac_cpp_err"; then
104400 ac_header_preproc=yes
104402 echo "$as_me: failed program was:" >&5
104403 sed 's/^/| /' conftest.$ac_ext >&5
104405 ac_header_preproc=no
104407 rm -f conftest.err conftest.$ac_ext
104408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104409 echo "${ECHO_T}$ac_header_preproc" >&6
104411 # So? What about this header?
104412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104413 yes:no: )
104414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104418 ac_header_preproc=yes
104420 no:yes:* )
104421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
104424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
104425 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104427 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
104428 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
104429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104431 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104434 cat <<\_ASBOX
104435 ## ----------------------------------------- ##
104436 ## Report this to the package-unused lists. ##
104437 ## ----------------------------------------- ##
104438 _ASBOX
104440 sed "s/^/$as_me: WARNING: /" >&2
104443 echo "$as_me:$LINENO: checking for $ac_header" >&5
104444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104446 echo $ECHO_N "(cached) $ECHO_C" >&6
104448 eval "$as_ac_Header=\$ac_header_preproc"
104450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104455 cat >>confdefs.h <<_ACEOF
104456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104457 _ACEOF
104464 echo "$as_me:$LINENO: checking for poll" >&5
104465 echo $ECHO_N "checking for poll... $ECHO_C" >&6
104466 if test "${glibcxx_cv_POLL+set}" = set; then
104467 echo $ECHO_N "(cached) $ECHO_C" >&6
104470 if test x$gcc_no_link = xyes; then
104471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104473 { (exit 1); exit 1; }; }
104475 cat >conftest.$ac_ext <<_ACEOF
104476 /* confdefs.h. */
104477 _ACEOF
104478 cat confdefs.h >>conftest.$ac_ext
104479 cat >>conftest.$ac_ext <<_ACEOF
104480 /* end confdefs.h. */
104481 #include <poll.h>
104483 main ()
104485 struct pollfd pfd[1];
104486 pfd[0].events = POLLIN;
104487 poll(pfd, 1, 0);
104489 return 0;
104491 _ACEOF
104492 rm -f conftest.$ac_objext conftest$ac_exeext
104493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104494 (eval $ac_link) 2>conftest.er1
104495 ac_status=$?
104496 grep -v '^ *+' conftest.er1 >conftest.err
104497 rm -f conftest.er1
104498 cat conftest.err >&5
104499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104500 (exit $ac_status); } &&
104501 { ac_try='test -z "$ac_c_werror_flag"
104502 || test ! -s conftest.err'
104503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104504 (eval $ac_try) 2>&5
104505 ac_status=$?
104506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104507 (exit $ac_status); }; } &&
104508 { ac_try='test -s conftest$ac_exeext'
104509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104510 (eval $ac_try) 2>&5
104511 ac_status=$?
104512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104513 (exit $ac_status); }; }; then
104514 glibcxx_cv_POLL=yes
104516 echo "$as_me: failed program was:" >&5
104517 sed 's/^/| /' conftest.$ac_ext >&5
104519 glibcxx_cv_POLL=no
104521 rm -f conftest.err conftest.$ac_objext \
104522 conftest$ac_exeext conftest.$ac_ext
104526 if test $glibcxx_cv_POLL = yes; then
104528 cat >>confdefs.h <<\_ACEOF
104529 #define HAVE_POLL 1
104530 _ACEOF
104533 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
104534 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
104537 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
104538 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
104539 if test "${glibcxx_cv_S_ISREG+set}" = set; then
104540 echo $ECHO_N "(cached) $ECHO_C" >&6
104543 if test x$gcc_no_link = xyes; then
104544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104546 { (exit 1); exit 1; }; }
104548 cat >conftest.$ac_ext <<_ACEOF
104549 /* confdefs.h. */
104550 _ACEOF
104551 cat confdefs.h >>conftest.$ac_ext
104552 cat >>conftest.$ac_ext <<_ACEOF
104553 /* end confdefs.h. */
104554 #include <sys/stat.h>
104556 main ()
104558 struct stat buffer;
104559 fstat(0, &buffer);
104560 S_ISREG(buffer.st_mode);
104562 return 0;
104564 _ACEOF
104565 rm -f conftest.$ac_objext conftest$ac_exeext
104566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104567 (eval $ac_link) 2>conftest.er1
104568 ac_status=$?
104569 grep -v '^ *+' conftest.er1 >conftest.err
104570 rm -f conftest.er1
104571 cat conftest.err >&5
104572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104573 (exit $ac_status); } &&
104574 { ac_try='test -z "$ac_c_werror_flag"
104575 || test ! -s conftest.err'
104576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104577 (eval $ac_try) 2>&5
104578 ac_status=$?
104579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104580 (exit $ac_status); }; } &&
104581 { ac_try='test -s conftest$ac_exeext'
104582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104583 (eval $ac_try) 2>&5
104584 ac_status=$?
104585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104586 (exit $ac_status); }; }; then
104587 glibcxx_cv_S_ISREG=yes
104589 echo "$as_me: failed program was:" >&5
104590 sed 's/^/| /' conftest.$ac_ext >&5
104592 glibcxx_cv_S_ISREG=no
104594 rm -f conftest.err conftest.$ac_objext \
104595 conftest$ac_exeext conftest.$ac_ext
104599 if test "${glibcxx_cv_S_IFREG+set}" = set; then
104600 echo $ECHO_N "(cached) $ECHO_C" >&6
104603 if test x$gcc_no_link = xyes; then
104604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104606 { (exit 1); exit 1; }; }
104608 cat >conftest.$ac_ext <<_ACEOF
104609 /* confdefs.h. */
104610 _ACEOF
104611 cat confdefs.h >>conftest.$ac_ext
104612 cat >>conftest.$ac_ext <<_ACEOF
104613 /* end confdefs.h. */
104614 #include <sys/stat.h>
104616 main ()
104618 struct stat buffer;
104619 fstat(0, &buffer);
104620 S_IFREG & buffer.st_mode;
104622 return 0;
104624 _ACEOF
104625 rm -f conftest.$ac_objext conftest$ac_exeext
104626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104627 (eval $ac_link) 2>conftest.er1
104628 ac_status=$?
104629 grep -v '^ *+' conftest.er1 >conftest.err
104630 rm -f conftest.er1
104631 cat conftest.err >&5
104632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104633 (exit $ac_status); } &&
104634 { ac_try='test -z "$ac_c_werror_flag"
104635 || test ! -s conftest.err'
104636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104637 (eval $ac_try) 2>&5
104638 ac_status=$?
104639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104640 (exit $ac_status); }; } &&
104641 { ac_try='test -s conftest$ac_exeext'
104642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104643 (eval $ac_try) 2>&5
104644 ac_status=$?
104645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104646 (exit $ac_status); }; }; then
104647 glibcxx_cv_S_IFREG=yes
104649 echo "$as_me: failed program was:" >&5
104650 sed 's/^/| /' conftest.$ac_ext >&5
104652 glibcxx_cv_S_IFREG=no
104654 rm -f conftest.err conftest.$ac_objext \
104655 conftest$ac_exeext conftest.$ac_ext
104659 res=no
104660 if test $glibcxx_cv_S_ISREG = yes; then
104662 cat >>confdefs.h <<\_ACEOF
104663 #define HAVE_S_ISREG 1
104664 _ACEOF
104666 res=S_ISREG
104667 elif test $glibcxx_cv_S_IFREG = yes; then
104669 cat >>confdefs.h <<\_ACEOF
104670 #define HAVE_S_IFREG 1
104671 _ACEOF
104673 res=S_IFREG
104675 echo "$as_me:$LINENO: result: $res" >&5
104676 echo "${ECHO_T}$res" >&6
104679 # For xsputn_2().
104681 for ac_header in sys/uio.h
104683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104685 echo "$as_me:$LINENO: checking for $ac_header" >&5
104686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104688 echo $ECHO_N "(cached) $ECHO_C" >&6
104690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104693 # Is the header compilable?
104694 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104695 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104696 cat >conftest.$ac_ext <<_ACEOF
104697 /* confdefs.h. */
104698 _ACEOF
104699 cat confdefs.h >>conftest.$ac_ext
104700 cat >>conftest.$ac_ext <<_ACEOF
104701 /* end confdefs.h. */
104702 $ac_includes_default
104703 #include <$ac_header>
104704 _ACEOF
104705 rm -f conftest.$ac_objext
104706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104707 (eval $ac_compile) 2>conftest.er1
104708 ac_status=$?
104709 grep -v '^ *+' conftest.er1 >conftest.err
104710 rm -f conftest.er1
104711 cat conftest.err >&5
104712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104713 (exit $ac_status); } &&
104714 { ac_try='test -z "$ac_c_werror_flag"
104715 || test ! -s conftest.err'
104716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104717 (eval $ac_try) 2>&5
104718 ac_status=$?
104719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104720 (exit $ac_status); }; } &&
104721 { ac_try='test -s conftest.$ac_objext'
104722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104723 (eval $ac_try) 2>&5
104724 ac_status=$?
104725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104726 (exit $ac_status); }; }; then
104727 ac_header_compiler=yes
104729 echo "$as_me: failed program was:" >&5
104730 sed 's/^/| /' conftest.$ac_ext >&5
104732 ac_header_compiler=no
104734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104735 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104736 echo "${ECHO_T}$ac_header_compiler" >&6
104738 # Is the header present?
104739 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104740 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104741 cat >conftest.$ac_ext <<_ACEOF
104742 /* confdefs.h. */
104743 _ACEOF
104744 cat confdefs.h >>conftest.$ac_ext
104745 cat >>conftest.$ac_ext <<_ACEOF
104746 /* end confdefs.h. */
104747 #include <$ac_header>
104748 _ACEOF
104749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104750 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104751 ac_status=$?
104752 grep -v '^ *+' conftest.er1 >conftest.err
104753 rm -f conftest.er1
104754 cat conftest.err >&5
104755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104756 (exit $ac_status); } >/dev/null; then
104757 if test -s conftest.err; then
104758 ac_cpp_err=$ac_c_preproc_warn_flag
104759 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104761 ac_cpp_err=
104764 ac_cpp_err=yes
104766 if test -z "$ac_cpp_err"; then
104767 ac_header_preproc=yes
104769 echo "$as_me: failed program was:" >&5
104770 sed 's/^/| /' conftest.$ac_ext >&5
104772 ac_header_preproc=no
104774 rm -f conftest.err conftest.$ac_ext
104775 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104776 echo "${ECHO_T}$ac_header_preproc" >&6
104778 # So? What about this header?
104779 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104780 yes:no: )
104781 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104782 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104784 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104785 ac_header_preproc=yes
104787 no:yes:* )
104788 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104789 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104790 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
104791 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
104792 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104793 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104794 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
104795 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
104796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104797 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104798 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104799 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104801 cat <<\_ASBOX
104802 ## ----------------------------------------- ##
104803 ## Report this to the package-unused lists. ##
104804 ## ----------------------------------------- ##
104805 _ASBOX
104807 sed "s/^/$as_me: WARNING: /" >&2
104810 echo "$as_me:$LINENO: checking for $ac_header" >&5
104811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104813 echo $ECHO_N "(cached) $ECHO_C" >&6
104815 eval "$as_ac_Header=\$ac_header_preproc"
104817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104822 cat >>confdefs.h <<_ACEOF
104823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104824 _ACEOF
104831 echo "$as_me:$LINENO: checking for writev" >&5
104832 echo $ECHO_N "checking for writev... $ECHO_C" >&6
104833 if test "${glibcxx_cv_WRITEV+set}" = set; then
104834 echo $ECHO_N "(cached) $ECHO_C" >&6
104837 if test x$gcc_no_link = xyes; then
104838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104840 { (exit 1); exit 1; }; }
104842 cat >conftest.$ac_ext <<_ACEOF
104843 /* confdefs.h. */
104844 _ACEOF
104845 cat confdefs.h >>conftest.$ac_ext
104846 cat >>conftest.$ac_ext <<_ACEOF
104847 /* end confdefs.h. */
104848 #include <sys/uio.h>
104850 main ()
104852 struct iovec iov[2];
104853 writev(0, iov, 0);
104855 return 0;
104857 _ACEOF
104858 rm -f conftest.$ac_objext conftest$ac_exeext
104859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104860 (eval $ac_link) 2>conftest.er1
104861 ac_status=$?
104862 grep -v '^ *+' conftest.er1 >conftest.err
104863 rm -f conftest.er1
104864 cat conftest.err >&5
104865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104866 (exit $ac_status); } &&
104867 { ac_try='test -z "$ac_c_werror_flag"
104868 || test ! -s conftest.err'
104869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104870 (eval $ac_try) 2>&5
104871 ac_status=$?
104872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104873 (exit $ac_status); }; } &&
104874 { ac_try='test -s conftest$ac_exeext'
104875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104876 (eval $ac_try) 2>&5
104877 ac_status=$?
104878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104879 (exit $ac_status); }; }; then
104880 glibcxx_cv_WRITEV=yes
104882 echo "$as_me: failed program was:" >&5
104883 sed 's/^/| /' conftest.$ac_ext >&5
104885 glibcxx_cv_WRITEV=no
104887 rm -f conftest.err conftest.$ac_objext \
104888 conftest$ac_exeext conftest.$ac_ext
104892 if test $glibcxx_cv_WRITEV = yes; then
104894 cat >>confdefs.h <<\_ACEOF
104895 #define HAVE_WRITEV 1
104896 _ACEOF
104899 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
104900 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
104903 *-qnx6.1* | *-qnx6.2*)
104904 SECTION_FLAGS='-ffunction-sections -fdata-sections'
104907 # If we're not using GNU ld, then there's no point in even trying these
104908 # tests. Check for that first. We should have already tested for gld
104909 # by now (in libtool), but require it now just to be safe...
104910 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
104911 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
104915 # The name set by libtool depends on the version of libtool. Shame on us
104916 # for depending on an impl detail, but c'est la vie. Older versions used
104917 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
104918 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
104919 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
104920 # set (hence we're using an older libtool), then set it.
104921 if test x${with_gnu_ld+set} != xset; then
104922 if test x${ac_cv_prog_gnu_ld+set} != xset; then
104923 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
104924 with_gnu_ld=no
104926 with_gnu_ld=$ac_cv_prog_gnu_ld
104930 # Start by getting the version number. I think the libtool test already
104931 # does some of this, but throws away the result.
104932 echo "$as_me:$LINENO: checking for ld version" >&5
104933 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
104935 ldver=`$LD --version 2>/dev/null | head -1 | \
104936 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
104938 glibcxx_gnu_ld_version=`echo $ldver | \
104939 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
104940 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
104941 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
104943 # Set --gc-sections.
104944 glibcxx_gcsections_min_ld=21602
104945 if test x"$with_gnu_ld" = x"yes" &&
104946 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
104948 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
104949 # NB: This flag only works reliably after 2.16.1. Configure tests
104950 # for this are difficult, so hard wire a value that should work.
104952 # All these tests are for C++, but run with the "C" compiler driver.
104953 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
104954 ac_test_CFLAGS="${CFLAGS+set}"
104955 ac_save_CFLAGS="$CFLAGS"
104956 CFLAGS='-x c++ -Wl,--gc-sections'
104958 # Check for -Wl,--gc-sections
104959 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
104960 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
104961 if test x$gcc_no_link = xyes; then
104962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104964 { (exit 1); exit 1; }; }
104966 cat >conftest.$ac_ext <<_ACEOF
104967 /* confdefs.h. */
104968 _ACEOF
104969 cat confdefs.h >>conftest.$ac_ext
104970 cat >>conftest.$ac_ext <<_ACEOF
104971 /* end confdefs.h. */
104972 int one(void) { return 1; }
104973 int two(void) { return 2; }
104976 main ()
104978 two();
104980 return 0;
104982 _ACEOF
104983 rm -f conftest.$ac_objext conftest$ac_exeext
104984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104985 (eval $ac_link) 2>conftest.er1
104986 ac_status=$?
104987 grep -v '^ *+' conftest.er1 >conftest.err
104988 rm -f conftest.er1
104989 cat conftest.err >&5
104990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104991 (exit $ac_status); } &&
104992 { ac_try='test -z "$ac_c_werror_flag"
104993 || test ! -s conftest.err'
104994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104995 (eval $ac_try) 2>&5
104996 ac_status=$?
104997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104998 (exit $ac_status); }; } &&
104999 { ac_try='test -s conftest$ac_exeext'
105000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105001 (eval $ac_try) 2>&5
105002 ac_status=$?
105003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105004 (exit $ac_status); }; }; then
105005 ac_gcsections=yes
105007 echo "$as_me: failed program was:" >&5
105008 sed 's/^/| /' conftest.$ac_ext >&5
105010 ac_gcsections=no
105012 rm -f conftest.err conftest.$ac_objext \
105013 conftest$ac_exeext conftest.$ac_ext
105014 if test "$ac_gcsections" = "yes"; then
105015 rm -f conftest.c
105016 touch conftest.c
105017 if $CC -c conftest.c; then
105018 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
105019 grep "Warning: gc-sections option ignored" > /dev/null; then
105020 ac_gcsections=no
105023 rm -f conftest.c conftest.o conftest
105025 if test "$ac_gcsections" = "yes"; then
105026 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
105028 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
105029 echo "${ECHO_T}$ac_gcsections" >&6
105031 if test "$ac_test_CFLAGS" = set; then
105032 CFLAGS="$ac_save_CFLAGS"
105034 # this is the suspicious part
105035 CFLAGS=''
105039 # Set -z,relro.
105040 # Note this is only for shared objects.
105041 ac_ld_relro=no
105042 if test x"$with_gnu_ld" = x"yes"; then
105043 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
105044 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
105045 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
105046 if test -n "$cxx_z_relo"; then
105047 OPT_LDFLAGS="-Wl,-z,relro"
105048 ac_ld_relro=yes
105050 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
105051 echo "${ECHO_T}$ac_ld_relro" >&6
105054 # Set linker optimization flags.
105055 if test x"$with_gnu_ld" = x"yes"; then
105056 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
105064 echo "$as_me:$LINENO: checking for main in -lm" >&5
105065 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
105066 if test "${ac_cv_lib_m_main+set}" = set; then
105067 echo $ECHO_N "(cached) $ECHO_C" >&6
105069 ac_check_lib_save_LIBS=$LIBS
105070 LIBS="-lm $LIBS"
105071 if test x$gcc_no_link = xyes; then
105072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105074 { (exit 1); exit 1; }; }
105076 cat >conftest.$ac_ext <<_ACEOF
105077 /* confdefs.h. */
105078 _ACEOF
105079 cat confdefs.h >>conftest.$ac_ext
105080 cat >>conftest.$ac_ext <<_ACEOF
105081 /* end confdefs.h. */
105085 main ()
105087 main ();
105089 return 0;
105091 _ACEOF
105092 rm -f conftest.$ac_objext conftest$ac_exeext
105093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105094 (eval $ac_link) 2>conftest.er1
105095 ac_status=$?
105096 grep -v '^ *+' conftest.er1 >conftest.err
105097 rm -f conftest.er1
105098 cat conftest.err >&5
105099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105100 (exit $ac_status); } &&
105101 { ac_try='test -z "$ac_c_werror_flag"
105102 || test ! -s conftest.err'
105103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105104 (eval $ac_try) 2>&5
105105 ac_status=$?
105106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105107 (exit $ac_status); }; } &&
105108 { ac_try='test -s conftest$ac_exeext'
105109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105110 (eval $ac_try) 2>&5
105111 ac_status=$?
105112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105113 (exit $ac_status); }; }; then
105114 ac_cv_lib_m_main=yes
105116 echo "$as_me: failed program was:" >&5
105117 sed 's/^/| /' conftest.$ac_ext >&5
105119 ac_cv_lib_m_main=no
105121 rm -f conftest.err conftest.$ac_objext \
105122 conftest$ac_exeext conftest.$ac_ext
105123 LIBS=$ac_check_lib_save_LIBS
105125 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
105126 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
105127 if test $ac_cv_lib_m_main = yes; then
105128 cat >>confdefs.h <<_ACEOF
105129 #define HAVE_LIBM 1
105130 _ACEOF
105132 LIBS="-lm $LIBS"
105137 for ac_func in copysignf
105139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105140 echo "$as_me:$LINENO: checking for $ac_func" >&5
105141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105142 if eval "test \"\${$as_ac_var+set}\" = set"; then
105143 echo $ECHO_N "(cached) $ECHO_C" >&6
105145 if test x$gcc_no_link = xyes; then
105146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105148 { (exit 1); exit 1; }; }
105150 cat >conftest.$ac_ext <<_ACEOF
105151 /* confdefs.h. */
105152 _ACEOF
105153 cat confdefs.h >>conftest.$ac_ext
105154 cat >>conftest.$ac_ext <<_ACEOF
105155 /* end confdefs.h. */
105156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105158 #define $ac_func innocuous_$ac_func
105160 /* System header to define __stub macros and hopefully few prototypes,
105161 which can conflict with char $ac_func (); below.
105162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105163 <limits.h> exists even on freestanding compilers. */
105165 #ifdef __STDC__
105166 # include <limits.h>
105167 #else
105168 # include <assert.h>
105169 #endif
105171 #undef $ac_func
105173 /* Override any gcc2 internal prototype to avoid an error. */
105174 #ifdef __cplusplus
105175 extern "C"
105177 #endif
105178 /* We use char because int might match the return type of a gcc2
105179 builtin and then its argument prototype would still apply. */
105180 char $ac_func ();
105181 /* The GNU C library defines this for functions which it implements
105182 to always fail with ENOSYS. Some functions are actually named
105183 something starting with __ and the normal name is an alias. */
105184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105185 choke me
105186 #else
105187 char (*f) () = $ac_func;
105188 #endif
105189 #ifdef __cplusplus
105191 #endif
105194 main ()
105196 return f != $ac_func;
105198 return 0;
105200 _ACEOF
105201 rm -f conftest.$ac_objext conftest$ac_exeext
105202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105203 (eval $ac_link) 2>conftest.er1
105204 ac_status=$?
105205 grep -v '^ *+' conftest.er1 >conftest.err
105206 rm -f conftest.er1
105207 cat conftest.err >&5
105208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105209 (exit $ac_status); } &&
105210 { ac_try='test -z "$ac_c_werror_flag"
105211 || test ! -s conftest.err'
105212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105213 (eval $ac_try) 2>&5
105214 ac_status=$?
105215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105216 (exit $ac_status); }; } &&
105217 { ac_try='test -s conftest$ac_exeext'
105218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105219 (eval $ac_try) 2>&5
105220 ac_status=$?
105221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105222 (exit $ac_status); }; }; then
105223 eval "$as_ac_var=yes"
105225 echo "$as_me: failed program was:" >&5
105226 sed 's/^/| /' conftest.$ac_ext >&5
105228 eval "$as_ac_var=no"
105230 rm -f conftest.err conftest.$ac_objext \
105231 conftest$ac_exeext conftest.$ac_ext
105233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105235 if test `eval echo '${'$as_ac_var'}'` = yes; then
105236 cat >>confdefs.h <<_ACEOF
105237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105238 _ACEOF
105241 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
105247 for ac_func in __signbit
105249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105250 echo "$as_me:$LINENO: checking for $ac_func" >&5
105251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105252 if eval "test \"\${$as_ac_var+set}\" = set"; then
105253 echo $ECHO_N "(cached) $ECHO_C" >&6
105255 if test x$gcc_no_link = xyes; then
105256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105258 { (exit 1); exit 1; }; }
105260 cat >conftest.$ac_ext <<_ACEOF
105261 /* confdefs.h. */
105262 _ACEOF
105263 cat confdefs.h >>conftest.$ac_ext
105264 cat >>conftest.$ac_ext <<_ACEOF
105265 /* end confdefs.h. */
105266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105268 #define $ac_func innocuous_$ac_func
105270 /* System header to define __stub macros and hopefully few prototypes,
105271 which can conflict with char $ac_func (); below.
105272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105273 <limits.h> exists even on freestanding compilers. */
105275 #ifdef __STDC__
105276 # include <limits.h>
105277 #else
105278 # include <assert.h>
105279 #endif
105281 #undef $ac_func
105283 /* Override any gcc2 internal prototype to avoid an error. */
105284 #ifdef __cplusplus
105285 extern "C"
105287 #endif
105288 /* We use char because int might match the return type of a gcc2
105289 builtin and then its argument prototype would still apply. */
105290 char $ac_func ();
105291 /* The GNU C library defines this for functions which it implements
105292 to always fail with ENOSYS. Some functions are actually named
105293 something starting with __ and the normal name is an alias. */
105294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105295 choke me
105296 #else
105297 char (*f) () = $ac_func;
105298 #endif
105299 #ifdef __cplusplus
105301 #endif
105304 main ()
105306 return f != $ac_func;
105308 return 0;
105310 _ACEOF
105311 rm -f conftest.$ac_objext conftest$ac_exeext
105312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105313 (eval $ac_link) 2>conftest.er1
105314 ac_status=$?
105315 grep -v '^ *+' conftest.er1 >conftest.err
105316 rm -f conftest.er1
105317 cat conftest.err >&5
105318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105319 (exit $ac_status); } &&
105320 { ac_try='test -z "$ac_c_werror_flag"
105321 || test ! -s conftest.err'
105322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105323 (eval $ac_try) 2>&5
105324 ac_status=$?
105325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105326 (exit $ac_status); }; } &&
105327 { ac_try='test -s conftest$ac_exeext'
105328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105329 (eval $ac_try) 2>&5
105330 ac_status=$?
105331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105332 (exit $ac_status); }; }; then
105333 eval "$as_ac_var=yes"
105335 echo "$as_me: failed program was:" >&5
105336 sed 's/^/| /' conftest.$ac_ext >&5
105338 eval "$as_ac_var=no"
105340 rm -f conftest.err conftest.$ac_objext \
105341 conftest$ac_exeext conftest.$ac_ext
105343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105345 if test `eval echo '${'$as_ac_var'}'` = yes; then
105346 cat >>confdefs.h <<_ACEOF
105347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105348 _ACEOF
105351 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
105357 for ac_func in __signbitf
105359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105360 echo "$as_me:$LINENO: checking for $ac_func" >&5
105361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105362 if eval "test \"\${$as_ac_var+set}\" = set"; then
105363 echo $ECHO_N "(cached) $ECHO_C" >&6
105365 if test x$gcc_no_link = xyes; then
105366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105368 { (exit 1); exit 1; }; }
105370 cat >conftest.$ac_ext <<_ACEOF
105371 /* confdefs.h. */
105372 _ACEOF
105373 cat confdefs.h >>conftest.$ac_ext
105374 cat >>conftest.$ac_ext <<_ACEOF
105375 /* end confdefs.h. */
105376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105378 #define $ac_func innocuous_$ac_func
105380 /* System header to define __stub macros and hopefully few prototypes,
105381 which can conflict with char $ac_func (); below.
105382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105383 <limits.h> exists even on freestanding compilers. */
105385 #ifdef __STDC__
105386 # include <limits.h>
105387 #else
105388 # include <assert.h>
105389 #endif
105391 #undef $ac_func
105393 /* Override any gcc2 internal prototype to avoid an error. */
105394 #ifdef __cplusplus
105395 extern "C"
105397 #endif
105398 /* We use char because int might match the return type of a gcc2
105399 builtin and then its argument prototype would still apply. */
105400 char $ac_func ();
105401 /* The GNU C library defines this for functions which it implements
105402 to always fail with ENOSYS. Some functions are actually named
105403 something starting with __ and the normal name is an alias. */
105404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105405 choke me
105406 #else
105407 char (*f) () = $ac_func;
105408 #endif
105409 #ifdef __cplusplus
105411 #endif
105414 main ()
105416 return f != $ac_func;
105418 return 0;
105420 _ACEOF
105421 rm -f conftest.$ac_objext conftest$ac_exeext
105422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105423 (eval $ac_link) 2>conftest.er1
105424 ac_status=$?
105425 grep -v '^ *+' conftest.er1 >conftest.err
105426 rm -f conftest.er1
105427 cat conftest.err >&5
105428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105429 (exit $ac_status); } &&
105430 { ac_try='test -z "$ac_c_werror_flag"
105431 || test ! -s conftest.err'
105432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105433 (eval $ac_try) 2>&5
105434 ac_status=$?
105435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105436 (exit $ac_status); }; } &&
105437 { ac_try='test -s conftest$ac_exeext'
105438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105439 (eval $ac_try) 2>&5
105440 ac_status=$?
105441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105442 (exit $ac_status); }; }; then
105443 eval "$as_ac_var=yes"
105445 echo "$as_me: failed program was:" >&5
105446 sed 's/^/| /' conftest.$ac_ext >&5
105448 eval "$as_ac_var=no"
105450 rm -f conftest.err conftest.$ac_objext \
105451 conftest$ac_exeext conftest.$ac_ext
105453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105455 if test `eval echo '${'$as_ac_var'}'` = yes; then
105456 cat >>confdefs.h <<_ACEOF
105457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105458 _ACEOF
105461 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
105466 if test x$ac_cv_func_copysignl = x"yes"; then
105468 for ac_func in __signbitl
105470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105471 echo "$as_me:$LINENO: checking for $ac_func" >&5
105472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105473 if eval "test \"\${$as_ac_var+set}\" = set"; then
105474 echo $ECHO_N "(cached) $ECHO_C" >&6
105476 if test x$gcc_no_link = xyes; then
105477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105479 { (exit 1); exit 1; }; }
105481 cat >conftest.$ac_ext <<_ACEOF
105482 /* confdefs.h. */
105483 _ACEOF
105484 cat confdefs.h >>conftest.$ac_ext
105485 cat >>conftest.$ac_ext <<_ACEOF
105486 /* end confdefs.h. */
105487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105489 #define $ac_func innocuous_$ac_func
105491 /* System header to define __stub macros and hopefully few prototypes,
105492 which can conflict with char $ac_func (); below.
105493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105494 <limits.h> exists even on freestanding compilers. */
105496 #ifdef __STDC__
105497 # include <limits.h>
105498 #else
105499 # include <assert.h>
105500 #endif
105502 #undef $ac_func
105504 /* Override any gcc2 internal prototype to avoid an error. */
105505 #ifdef __cplusplus
105506 extern "C"
105508 #endif
105509 /* We use char because int might match the return type of a gcc2
105510 builtin and then its argument prototype would still apply. */
105511 char $ac_func ();
105512 /* The GNU C library defines this for functions which it implements
105513 to always fail with ENOSYS. Some functions are actually named
105514 something starting with __ and the normal name is an alias. */
105515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105516 choke me
105517 #else
105518 char (*f) () = $ac_func;
105519 #endif
105520 #ifdef __cplusplus
105522 #endif
105525 main ()
105527 return f != $ac_func;
105529 return 0;
105531 _ACEOF
105532 rm -f conftest.$ac_objext conftest$ac_exeext
105533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105534 (eval $ac_link) 2>conftest.er1
105535 ac_status=$?
105536 grep -v '^ *+' conftest.er1 >conftest.err
105537 rm -f conftest.er1
105538 cat conftest.err >&5
105539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105540 (exit $ac_status); } &&
105541 { ac_try='test -z "$ac_c_werror_flag"
105542 || test ! -s conftest.err'
105543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105544 (eval $ac_try) 2>&5
105545 ac_status=$?
105546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105547 (exit $ac_status); }; } &&
105548 { ac_try='test -s conftest$ac_exeext'
105549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105550 (eval $ac_try) 2>&5
105551 ac_status=$?
105552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105553 (exit $ac_status); }; }; then
105554 eval "$as_ac_var=yes"
105556 echo "$as_me: failed program was:" >&5
105557 sed 's/^/| /' conftest.$ac_ext >&5
105559 eval "$as_ac_var=no"
105561 rm -f conftest.err conftest.$ac_objext \
105562 conftest$ac_exeext conftest.$ac_ext
105564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105566 if test `eval echo '${'$as_ac_var'}'` = yes; then
105567 cat >>confdefs.h <<_ACEOF
105568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105569 _ACEOF
105572 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
105578 # Used in libmath/Makefile.am.
105579 if test -n "$LIBMATHOBJS"; then
105580 need_libmath=yes
105586 enable_iconv=no
105587 # Only continue checking if the ISO C99 headers exist and support is on.
105588 if test x"$enable_wchar_t" = xyes; then
105590 # Use iconv for wchar_t to char conversions. As such, check for
105591 # X/Open Portability Guide, version 2 features (XPG2).
105592 if test "${ac_cv_header_iconv_h+set}" = set; then
105593 echo "$as_me:$LINENO: checking for iconv.h" >&5
105594 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105595 if test "${ac_cv_header_iconv_h+set}" = set; then
105596 echo $ECHO_N "(cached) $ECHO_C" >&6
105598 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105599 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105601 # Is the header compilable?
105602 echo "$as_me:$LINENO: checking iconv.h usability" >&5
105603 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
105604 cat >conftest.$ac_ext <<_ACEOF
105605 /* confdefs.h. */
105606 _ACEOF
105607 cat confdefs.h >>conftest.$ac_ext
105608 cat >>conftest.$ac_ext <<_ACEOF
105609 /* end confdefs.h. */
105610 $ac_includes_default
105611 #include <iconv.h>
105612 _ACEOF
105613 rm -f conftest.$ac_objext
105614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105615 (eval $ac_compile) 2>conftest.er1
105616 ac_status=$?
105617 grep -v '^ *+' conftest.er1 >conftest.err
105618 rm -f conftest.er1
105619 cat conftest.err >&5
105620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105621 (exit $ac_status); } &&
105622 { ac_try='test -z "$ac_c_werror_flag"
105623 || test ! -s conftest.err'
105624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105625 (eval $ac_try) 2>&5
105626 ac_status=$?
105627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105628 (exit $ac_status); }; } &&
105629 { ac_try='test -s conftest.$ac_objext'
105630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105631 (eval $ac_try) 2>&5
105632 ac_status=$?
105633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105634 (exit $ac_status); }; }; then
105635 ac_header_compiler=yes
105637 echo "$as_me: failed program was:" >&5
105638 sed 's/^/| /' conftest.$ac_ext >&5
105640 ac_header_compiler=no
105642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105643 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105644 echo "${ECHO_T}$ac_header_compiler" >&6
105646 # Is the header present?
105647 echo "$as_me:$LINENO: checking iconv.h presence" >&5
105648 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
105649 cat >conftest.$ac_ext <<_ACEOF
105650 /* confdefs.h. */
105651 _ACEOF
105652 cat confdefs.h >>conftest.$ac_ext
105653 cat >>conftest.$ac_ext <<_ACEOF
105654 /* end confdefs.h. */
105655 #include <iconv.h>
105656 _ACEOF
105657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105658 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105659 ac_status=$?
105660 grep -v '^ *+' conftest.er1 >conftest.err
105661 rm -f conftest.er1
105662 cat conftest.err >&5
105663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105664 (exit $ac_status); } >/dev/null; then
105665 if test -s conftest.err; then
105666 ac_cpp_err=$ac_c_preproc_warn_flag
105667 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105669 ac_cpp_err=
105672 ac_cpp_err=yes
105674 if test -z "$ac_cpp_err"; then
105675 ac_header_preproc=yes
105677 echo "$as_me: failed program was:" >&5
105678 sed 's/^/| /' conftest.$ac_ext >&5
105680 ac_header_preproc=no
105682 rm -f conftest.err conftest.$ac_ext
105683 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105684 echo "${ECHO_T}$ac_header_preproc" >&6
105686 # So? What about this header?
105687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105688 yes:no: )
105689 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
105690 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105691 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
105692 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
105693 ac_header_preproc=yes
105695 no:yes:* )
105696 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
105697 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
105698 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
105699 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
105700 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
105701 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
105702 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
105703 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
105704 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
105705 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
105706 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
105707 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
105709 cat <<\_ASBOX
105710 ## ----------------------------------------- ##
105711 ## Report this to the package-unused lists. ##
105712 ## ----------------------------------------- ##
105713 _ASBOX
105715 sed "s/^/$as_me: WARNING: /" >&2
105718 echo "$as_me:$LINENO: checking for iconv.h" >&5
105719 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105720 if test "${ac_cv_header_iconv_h+set}" = set; then
105721 echo $ECHO_N "(cached) $ECHO_C" >&6
105723 ac_cv_header_iconv_h=$ac_header_preproc
105725 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105726 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105729 if test $ac_cv_header_iconv_h = yes; then
105730 ac_has_iconv_h=yes
105732 ac_has_iconv_h=no
105736 if test "${ac_cv_header_langinfo_h+set}" = set; then
105737 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105738 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105739 if test "${ac_cv_header_langinfo_h+set}" = set; then
105740 echo $ECHO_N "(cached) $ECHO_C" >&6
105742 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105743 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105745 # Is the header compilable?
105746 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
105747 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
105748 cat >conftest.$ac_ext <<_ACEOF
105749 /* confdefs.h. */
105750 _ACEOF
105751 cat confdefs.h >>conftest.$ac_ext
105752 cat >>conftest.$ac_ext <<_ACEOF
105753 /* end confdefs.h. */
105754 $ac_includes_default
105755 #include <langinfo.h>
105756 _ACEOF
105757 rm -f conftest.$ac_objext
105758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105759 (eval $ac_compile) 2>conftest.er1
105760 ac_status=$?
105761 grep -v '^ *+' conftest.er1 >conftest.err
105762 rm -f conftest.er1
105763 cat conftest.err >&5
105764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105765 (exit $ac_status); } &&
105766 { ac_try='test -z "$ac_c_werror_flag"
105767 || test ! -s conftest.err'
105768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105769 (eval $ac_try) 2>&5
105770 ac_status=$?
105771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105772 (exit $ac_status); }; } &&
105773 { ac_try='test -s conftest.$ac_objext'
105774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105775 (eval $ac_try) 2>&5
105776 ac_status=$?
105777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105778 (exit $ac_status); }; }; then
105779 ac_header_compiler=yes
105781 echo "$as_me: failed program was:" >&5
105782 sed 's/^/| /' conftest.$ac_ext >&5
105784 ac_header_compiler=no
105786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105788 echo "${ECHO_T}$ac_header_compiler" >&6
105790 # Is the header present?
105791 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
105792 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
105793 cat >conftest.$ac_ext <<_ACEOF
105794 /* confdefs.h. */
105795 _ACEOF
105796 cat confdefs.h >>conftest.$ac_ext
105797 cat >>conftest.$ac_ext <<_ACEOF
105798 /* end confdefs.h. */
105799 #include <langinfo.h>
105800 _ACEOF
105801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105802 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105803 ac_status=$?
105804 grep -v '^ *+' conftest.er1 >conftest.err
105805 rm -f conftest.er1
105806 cat conftest.err >&5
105807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105808 (exit $ac_status); } >/dev/null; then
105809 if test -s conftest.err; then
105810 ac_cpp_err=$ac_c_preproc_warn_flag
105811 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105813 ac_cpp_err=
105816 ac_cpp_err=yes
105818 if test -z "$ac_cpp_err"; then
105819 ac_header_preproc=yes
105821 echo "$as_me: failed program was:" >&5
105822 sed 's/^/| /' conftest.$ac_ext >&5
105824 ac_header_preproc=no
105826 rm -f conftest.err conftest.$ac_ext
105827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105828 echo "${ECHO_T}$ac_header_preproc" >&6
105830 # So? What about this header?
105831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105832 yes:no: )
105833 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
105834 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105835 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
105836 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
105837 ac_header_preproc=yes
105839 no:yes:* )
105840 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
105841 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
105842 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
105843 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
105844 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
105845 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
105846 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
105847 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
105848 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
105849 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
105850 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
105851 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
105853 cat <<\_ASBOX
105854 ## ----------------------------------------- ##
105855 ## Report this to the package-unused lists. ##
105856 ## ----------------------------------------- ##
105857 _ASBOX
105859 sed "s/^/$as_me: WARNING: /" >&2
105862 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105863 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105864 if test "${ac_cv_header_langinfo_h+set}" = set; then
105865 echo $ECHO_N "(cached) $ECHO_C" >&6
105867 ac_cv_header_langinfo_h=$ac_header_preproc
105869 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105870 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105873 if test $ac_cv_header_langinfo_h = yes; then
105874 ac_has_langinfo_h=yes
105876 ac_has_langinfo_h=no
105881 # Check for existence of libiconv.a providing XPG2 wchar_t support.
105882 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
105883 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
105884 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
105885 echo $ECHO_N "(cached) $ECHO_C" >&6
105887 ac_check_lib_save_LIBS=$LIBS
105888 LIBS="-liconv $LIBS"
105889 if test x$gcc_no_link = xyes; then
105890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105892 { (exit 1); exit 1; }; }
105894 cat >conftest.$ac_ext <<_ACEOF
105895 /* confdefs.h. */
105896 _ACEOF
105897 cat confdefs.h >>conftest.$ac_ext
105898 cat >>conftest.$ac_ext <<_ACEOF
105899 /* end confdefs.h. */
105901 /* Override any gcc2 internal prototype to avoid an error. */
105902 #ifdef __cplusplus
105903 extern "C"
105904 #endif
105905 /* We use char because int might match the return type of a gcc2
105906 builtin and then its argument prototype would still apply. */
105907 char iconv ();
105909 main ()
105911 iconv ();
105913 return 0;
105915 _ACEOF
105916 rm -f conftest.$ac_objext conftest$ac_exeext
105917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105918 (eval $ac_link) 2>conftest.er1
105919 ac_status=$?
105920 grep -v '^ *+' conftest.er1 >conftest.err
105921 rm -f conftest.er1
105922 cat conftest.err >&5
105923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105924 (exit $ac_status); } &&
105925 { ac_try='test -z "$ac_c_werror_flag"
105926 || test ! -s conftest.err'
105927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105928 (eval $ac_try) 2>&5
105929 ac_status=$?
105930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105931 (exit $ac_status); }; } &&
105932 { ac_try='test -s conftest$ac_exeext'
105933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105934 (eval $ac_try) 2>&5
105935 ac_status=$?
105936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105937 (exit $ac_status); }; }; then
105938 ac_cv_lib_iconv_iconv=yes
105940 echo "$as_me: failed program was:" >&5
105941 sed 's/^/| /' conftest.$ac_ext >&5
105943 ac_cv_lib_iconv_iconv=no
105945 rm -f conftest.err conftest.$ac_objext \
105946 conftest$ac_exeext conftest.$ac_ext
105947 LIBS=$ac_check_lib_save_LIBS
105949 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
105950 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
105951 if test $ac_cv_lib_iconv_iconv = yes; then
105952 LIBICONV="-liconv"
105955 ac_save_LIBS="$LIBS"
105956 LIBS="$LIBS $LIBICONV"
105963 for ac_func in iconv_open iconv_close iconv nl_langinfo
105965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105966 echo "$as_me:$LINENO: checking for $ac_func" >&5
105967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105968 if eval "test \"\${$as_ac_var+set}\" = set"; then
105969 echo $ECHO_N "(cached) $ECHO_C" >&6
105971 if test x$gcc_no_link = xyes; then
105972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105974 { (exit 1); exit 1; }; }
105976 cat >conftest.$ac_ext <<_ACEOF
105977 /* confdefs.h. */
105978 _ACEOF
105979 cat confdefs.h >>conftest.$ac_ext
105980 cat >>conftest.$ac_ext <<_ACEOF
105981 /* end confdefs.h. */
105982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105984 #define $ac_func innocuous_$ac_func
105986 /* System header to define __stub macros and hopefully few prototypes,
105987 which can conflict with char $ac_func (); below.
105988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105989 <limits.h> exists even on freestanding compilers. */
105991 #ifdef __STDC__
105992 # include <limits.h>
105993 #else
105994 # include <assert.h>
105995 #endif
105997 #undef $ac_func
105999 /* Override any gcc2 internal prototype to avoid an error. */
106000 #ifdef __cplusplus
106001 extern "C"
106003 #endif
106004 /* We use char because int might match the return type of a gcc2
106005 builtin and then its argument prototype would still apply. */
106006 char $ac_func ();
106007 /* The GNU C library defines this for functions which it implements
106008 to always fail with ENOSYS. Some functions are actually named
106009 something starting with __ and the normal name is an alias. */
106010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106011 choke me
106012 #else
106013 char (*f) () = $ac_func;
106014 #endif
106015 #ifdef __cplusplus
106017 #endif
106020 main ()
106022 return f != $ac_func;
106024 return 0;
106026 _ACEOF
106027 rm -f conftest.$ac_objext conftest$ac_exeext
106028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106029 (eval $ac_link) 2>conftest.er1
106030 ac_status=$?
106031 grep -v '^ *+' conftest.er1 >conftest.err
106032 rm -f conftest.er1
106033 cat conftest.err >&5
106034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106035 (exit $ac_status); } &&
106036 { ac_try='test -z "$ac_c_werror_flag"
106037 || test ! -s conftest.err'
106038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106039 (eval $ac_try) 2>&5
106040 ac_status=$?
106041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106042 (exit $ac_status); }; } &&
106043 { ac_try='test -s conftest$ac_exeext'
106044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106045 (eval $ac_try) 2>&5
106046 ac_status=$?
106047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106048 (exit $ac_status); }; }; then
106049 eval "$as_ac_var=yes"
106051 echo "$as_me: failed program was:" >&5
106052 sed 's/^/| /' conftest.$ac_ext >&5
106054 eval "$as_ac_var=no"
106056 rm -f conftest.err conftest.$ac_objext \
106057 conftest$ac_exeext conftest.$ac_ext
106059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106061 if test `eval echo '${'$as_ac_var'}'` = yes; then
106062 cat >>confdefs.h <<_ACEOF
106063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106064 _ACEOF
106065 ac_XPG2funcs=yes
106067 ac_XPG2funcs=no
106072 LIBS="$ac_save_LIBS"
106074 if test x"$ac_has_iconv_h" = xyes &&
106075 test x"$ac_has_langinfo_h" = xyes &&
106076 test x"$ac_XPG2funcs" = xyes;
106079 cat >>confdefs.h <<\_ACEOF
106080 #define _GLIBCXX_USE_ICONV 1
106081 _ACEOF
106083 enable_iconv=yes
106086 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
106087 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
106088 echo "$as_me:$LINENO: result: $enable_iconv" >&5
106089 echo "${ECHO_T}$enable_iconv" >&6
106091 cat >>confdefs.h <<\_ACEOF
106092 #define HAVE_COSF 1
106093 _ACEOF
106095 cat >>confdefs.h <<\_ACEOF
106096 #define HAVE_COSL 1
106097 _ACEOF
106099 cat >>confdefs.h <<\_ACEOF
106100 #define HAVE_COSHF 1
106101 _ACEOF
106103 cat >>confdefs.h <<\_ACEOF
106104 #define HAVE_COSHL 1
106105 _ACEOF
106107 cat >>confdefs.h <<\_ACEOF
106108 #define HAVE_LOGF 1
106109 _ACEOF
106111 cat >>confdefs.h <<\_ACEOF
106112 #define HAVE_LOGL 1
106113 _ACEOF
106115 cat >>confdefs.h <<\_ACEOF
106116 #define HAVE_LOG10F 1
106117 _ACEOF
106119 cat >>confdefs.h <<\_ACEOF
106120 #define HAVE_LOG10L 1
106121 _ACEOF
106123 cat >>confdefs.h <<\_ACEOF
106124 #define HAVE_SINF 1
106125 _ACEOF
106127 cat >>confdefs.h <<\_ACEOF
106128 #define HAVE_SINL 1
106129 _ACEOF
106131 cat >>confdefs.h <<\_ACEOF
106132 #define HAVE_SINHF 1
106133 _ACEOF
106135 cat >>confdefs.h <<\_ACEOF
106136 #define HAVE_SINHL 1
106137 _ACEOF
106140 *-solaris*)
106141 case "$target" in
106142 # *-solaris2.5)
106143 # os_include_dir="os/solaris/solaris2.5"
106145 # *-solaris2.6)
106146 # os_include_dir="os/solaris/solaris2.6"
106148 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
106149 cat >>confdefs.h <<\_ACEOF
106150 #define HAVE_GETPAGESIZE 1
106151 _ACEOF
106153 cat >>confdefs.h <<\_ACEOF
106154 #define HAVE_SIGSETJMP 1
106155 _ACEOF
106157 cat >>confdefs.h <<\_ACEOF
106158 #define HAVE_MBSTATE_T 1
106159 _ACEOF
106161 cat >>confdefs.h <<\_ACEOF
106162 #define HAVE_POLL 1
106163 _ACEOF
106165 cat >>confdefs.h <<\_ACEOF
106166 #define HAVE_S_ISREG 1
106167 _ACEOF
106169 cat >>confdefs.h <<\_ACEOF
106170 #define HAVE_LC_MESSAGES 1
106171 _ACEOF
106173 cat >>confdefs.h <<\_ACEOF
106174 #define HAVE_FINITE 1
106175 _ACEOF
106177 cat >>confdefs.h <<\_ACEOF
106178 #define HAVE_FPCLASS 1
106179 _ACEOF
106181 cat >>confdefs.h <<\_ACEOF
106182 #define HAVE_GETPAGESIZE 1
106183 _ACEOF
106185 cat >>confdefs.h <<\_ACEOF
106186 #define HAVE_NL_LANGINFO 1
106187 _ACEOF
106189 cat >>confdefs.h <<\_ACEOF
106190 #define HAVE_ICONV 1
106191 _ACEOF
106193 cat >>confdefs.h <<\_ACEOF
106194 #define HAVE_ICONV_CLOSE 1
106195 _ACEOF
106197 cat >>confdefs.h <<\_ACEOF
106198 #define HAVE_ICONV_OPEN 1
106199 _ACEOF
106201 # Look for the pieces required for wchar_t support in order to
106202 # get all the right HAVE_* macros defined.
106205 enable_iconv=no
106206 # Only continue checking if the ISO C99 headers exist and support is on.
106207 if test x"$enable_wchar_t" = xyes; then
106209 # Use iconv for wchar_t to char conversions. As such, check for
106210 # X/Open Portability Guide, version 2 features (XPG2).
106211 if test "${ac_cv_header_iconv_h+set}" = set; then
106212 echo "$as_me:$LINENO: checking for iconv.h" >&5
106213 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106214 if test "${ac_cv_header_iconv_h+set}" = set; then
106215 echo $ECHO_N "(cached) $ECHO_C" >&6
106217 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106218 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106220 # Is the header compilable?
106221 echo "$as_me:$LINENO: checking iconv.h usability" >&5
106222 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
106223 cat >conftest.$ac_ext <<_ACEOF
106224 /* confdefs.h. */
106225 _ACEOF
106226 cat confdefs.h >>conftest.$ac_ext
106227 cat >>conftest.$ac_ext <<_ACEOF
106228 /* end confdefs.h. */
106229 $ac_includes_default
106230 #include <iconv.h>
106231 _ACEOF
106232 rm -f conftest.$ac_objext
106233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106234 (eval $ac_compile) 2>conftest.er1
106235 ac_status=$?
106236 grep -v '^ *+' conftest.er1 >conftest.err
106237 rm -f conftest.er1
106238 cat conftest.err >&5
106239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106240 (exit $ac_status); } &&
106241 { ac_try='test -z "$ac_c_werror_flag"
106242 || test ! -s conftest.err'
106243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106244 (eval $ac_try) 2>&5
106245 ac_status=$?
106246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106247 (exit $ac_status); }; } &&
106248 { ac_try='test -s conftest.$ac_objext'
106249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106250 (eval $ac_try) 2>&5
106251 ac_status=$?
106252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106253 (exit $ac_status); }; }; then
106254 ac_header_compiler=yes
106256 echo "$as_me: failed program was:" >&5
106257 sed 's/^/| /' conftest.$ac_ext >&5
106259 ac_header_compiler=no
106261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106262 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106263 echo "${ECHO_T}$ac_header_compiler" >&6
106265 # Is the header present?
106266 echo "$as_me:$LINENO: checking iconv.h presence" >&5
106267 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
106268 cat >conftest.$ac_ext <<_ACEOF
106269 /* confdefs.h. */
106270 _ACEOF
106271 cat confdefs.h >>conftest.$ac_ext
106272 cat >>conftest.$ac_ext <<_ACEOF
106273 /* end confdefs.h. */
106274 #include <iconv.h>
106275 _ACEOF
106276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106277 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106278 ac_status=$?
106279 grep -v '^ *+' conftest.er1 >conftest.err
106280 rm -f conftest.er1
106281 cat conftest.err >&5
106282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106283 (exit $ac_status); } >/dev/null; then
106284 if test -s conftest.err; then
106285 ac_cpp_err=$ac_c_preproc_warn_flag
106286 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106288 ac_cpp_err=
106291 ac_cpp_err=yes
106293 if test -z "$ac_cpp_err"; then
106294 ac_header_preproc=yes
106296 echo "$as_me: failed program was:" >&5
106297 sed 's/^/| /' conftest.$ac_ext >&5
106299 ac_header_preproc=no
106301 rm -f conftest.err conftest.$ac_ext
106302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106303 echo "${ECHO_T}$ac_header_preproc" >&6
106305 # So? What about this header?
106306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106307 yes:no: )
106308 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
106309 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106310 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
106311 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
106312 ac_header_preproc=yes
106314 no:yes:* )
106315 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
106316 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
106317 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
106318 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
106319 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
106320 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
106321 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
106322 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
106323 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
106324 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
106325 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
106326 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
106328 cat <<\_ASBOX
106329 ## ----------------------------------------- ##
106330 ## Report this to the package-unused lists. ##
106331 ## ----------------------------------------- ##
106332 _ASBOX
106334 sed "s/^/$as_me: WARNING: /" >&2
106337 echo "$as_me:$LINENO: checking for iconv.h" >&5
106338 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106339 if test "${ac_cv_header_iconv_h+set}" = set; then
106340 echo $ECHO_N "(cached) $ECHO_C" >&6
106342 ac_cv_header_iconv_h=$ac_header_preproc
106344 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106345 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106348 if test $ac_cv_header_iconv_h = yes; then
106349 ac_has_iconv_h=yes
106351 ac_has_iconv_h=no
106355 if test "${ac_cv_header_langinfo_h+set}" = set; then
106356 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106357 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106358 if test "${ac_cv_header_langinfo_h+set}" = set; then
106359 echo $ECHO_N "(cached) $ECHO_C" >&6
106361 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106362 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106364 # Is the header compilable?
106365 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
106366 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
106367 cat >conftest.$ac_ext <<_ACEOF
106368 /* confdefs.h. */
106369 _ACEOF
106370 cat confdefs.h >>conftest.$ac_ext
106371 cat >>conftest.$ac_ext <<_ACEOF
106372 /* end confdefs.h. */
106373 $ac_includes_default
106374 #include <langinfo.h>
106375 _ACEOF
106376 rm -f conftest.$ac_objext
106377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106378 (eval $ac_compile) 2>conftest.er1
106379 ac_status=$?
106380 grep -v '^ *+' conftest.er1 >conftest.err
106381 rm -f conftest.er1
106382 cat conftest.err >&5
106383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106384 (exit $ac_status); } &&
106385 { ac_try='test -z "$ac_c_werror_flag"
106386 || test ! -s conftest.err'
106387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106388 (eval $ac_try) 2>&5
106389 ac_status=$?
106390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106391 (exit $ac_status); }; } &&
106392 { ac_try='test -s conftest.$ac_objext'
106393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106394 (eval $ac_try) 2>&5
106395 ac_status=$?
106396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106397 (exit $ac_status); }; }; then
106398 ac_header_compiler=yes
106400 echo "$as_me: failed program was:" >&5
106401 sed 's/^/| /' conftest.$ac_ext >&5
106403 ac_header_compiler=no
106405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106406 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106407 echo "${ECHO_T}$ac_header_compiler" >&6
106409 # Is the header present?
106410 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
106411 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
106412 cat >conftest.$ac_ext <<_ACEOF
106413 /* confdefs.h. */
106414 _ACEOF
106415 cat confdefs.h >>conftest.$ac_ext
106416 cat >>conftest.$ac_ext <<_ACEOF
106417 /* end confdefs.h. */
106418 #include <langinfo.h>
106419 _ACEOF
106420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106421 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106422 ac_status=$?
106423 grep -v '^ *+' conftest.er1 >conftest.err
106424 rm -f conftest.er1
106425 cat conftest.err >&5
106426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106427 (exit $ac_status); } >/dev/null; then
106428 if test -s conftest.err; then
106429 ac_cpp_err=$ac_c_preproc_warn_flag
106430 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106432 ac_cpp_err=
106435 ac_cpp_err=yes
106437 if test -z "$ac_cpp_err"; then
106438 ac_header_preproc=yes
106440 echo "$as_me: failed program was:" >&5
106441 sed 's/^/| /' conftest.$ac_ext >&5
106443 ac_header_preproc=no
106445 rm -f conftest.err conftest.$ac_ext
106446 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106447 echo "${ECHO_T}$ac_header_preproc" >&6
106449 # So? What about this header?
106450 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106451 yes:no: )
106452 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
106453 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106454 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
106455 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
106456 ac_header_preproc=yes
106458 no:yes:* )
106459 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
106460 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
106461 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
106462 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
106463 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
106464 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
106465 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
106466 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
106467 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
106468 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
106469 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
106470 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
106472 cat <<\_ASBOX
106473 ## ----------------------------------------- ##
106474 ## Report this to the package-unused lists. ##
106475 ## ----------------------------------------- ##
106476 _ASBOX
106478 sed "s/^/$as_me: WARNING: /" >&2
106481 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106482 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106483 if test "${ac_cv_header_langinfo_h+set}" = set; then
106484 echo $ECHO_N "(cached) $ECHO_C" >&6
106486 ac_cv_header_langinfo_h=$ac_header_preproc
106488 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106489 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106492 if test $ac_cv_header_langinfo_h = yes; then
106493 ac_has_langinfo_h=yes
106495 ac_has_langinfo_h=no
106500 # Check for existence of libiconv.a providing XPG2 wchar_t support.
106501 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
106502 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
106503 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
106504 echo $ECHO_N "(cached) $ECHO_C" >&6
106506 ac_check_lib_save_LIBS=$LIBS
106507 LIBS="-liconv $LIBS"
106508 if test x$gcc_no_link = xyes; then
106509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106511 { (exit 1); exit 1; }; }
106513 cat >conftest.$ac_ext <<_ACEOF
106514 /* confdefs.h. */
106515 _ACEOF
106516 cat confdefs.h >>conftest.$ac_ext
106517 cat >>conftest.$ac_ext <<_ACEOF
106518 /* end confdefs.h. */
106520 /* Override any gcc2 internal prototype to avoid an error. */
106521 #ifdef __cplusplus
106522 extern "C"
106523 #endif
106524 /* We use char because int might match the return type of a gcc2
106525 builtin and then its argument prototype would still apply. */
106526 char iconv ();
106528 main ()
106530 iconv ();
106532 return 0;
106534 _ACEOF
106535 rm -f conftest.$ac_objext conftest$ac_exeext
106536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106537 (eval $ac_link) 2>conftest.er1
106538 ac_status=$?
106539 grep -v '^ *+' conftest.er1 >conftest.err
106540 rm -f conftest.er1
106541 cat conftest.err >&5
106542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106543 (exit $ac_status); } &&
106544 { ac_try='test -z "$ac_c_werror_flag"
106545 || test ! -s conftest.err'
106546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106547 (eval $ac_try) 2>&5
106548 ac_status=$?
106549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106550 (exit $ac_status); }; } &&
106551 { ac_try='test -s conftest$ac_exeext'
106552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106553 (eval $ac_try) 2>&5
106554 ac_status=$?
106555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106556 (exit $ac_status); }; }; then
106557 ac_cv_lib_iconv_iconv=yes
106559 echo "$as_me: failed program was:" >&5
106560 sed 's/^/| /' conftest.$ac_ext >&5
106562 ac_cv_lib_iconv_iconv=no
106564 rm -f conftest.err conftest.$ac_objext \
106565 conftest$ac_exeext conftest.$ac_ext
106566 LIBS=$ac_check_lib_save_LIBS
106568 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
106569 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
106570 if test $ac_cv_lib_iconv_iconv = yes; then
106571 LIBICONV="-liconv"
106574 ac_save_LIBS="$LIBS"
106575 LIBS="$LIBS $LIBICONV"
106582 for ac_func in iconv_open iconv_close iconv nl_langinfo
106584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106585 echo "$as_me:$LINENO: checking for $ac_func" >&5
106586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106587 if eval "test \"\${$as_ac_var+set}\" = set"; then
106588 echo $ECHO_N "(cached) $ECHO_C" >&6
106590 if test x$gcc_no_link = xyes; then
106591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106593 { (exit 1); exit 1; }; }
106595 cat >conftest.$ac_ext <<_ACEOF
106596 /* confdefs.h. */
106597 _ACEOF
106598 cat confdefs.h >>conftest.$ac_ext
106599 cat >>conftest.$ac_ext <<_ACEOF
106600 /* end confdefs.h. */
106601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106603 #define $ac_func innocuous_$ac_func
106605 /* System header to define __stub macros and hopefully few prototypes,
106606 which can conflict with char $ac_func (); below.
106607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106608 <limits.h> exists even on freestanding compilers. */
106610 #ifdef __STDC__
106611 # include <limits.h>
106612 #else
106613 # include <assert.h>
106614 #endif
106616 #undef $ac_func
106618 /* Override any gcc2 internal prototype to avoid an error. */
106619 #ifdef __cplusplus
106620 extern "C"
106622 #endif
106623 /* We use char because int might match the return type of a gcc2
106624 builtin and then its argument prototype would still apply. */
106625 char $ac_func ();
106626 /* The GNU C library defines this for functions which it implements
106627 to always fail with ENOSYS. Some functions are actually named
106628 something starting with __ and the normal name is an alias. */
106629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106630 choke me
106631 #else
106632 char (*f) () = $ac_func;
106633 #endif
106634 #ifdef __cplusplus
106636 #endif
106639 main ()
106641 return f != $ac_func;
106643 return 0;
106645 _ACEOF
106646 rm -f conftest.$ac_objext conftest$ac_exeext
106647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106648 (eval $ac_link) 2>conftest.er1
106649 ac_status=$?
106650 grep -v '^ *+' conftest.er1 >conftest.err
106651 rm -f conftest.er1
106652 cat conftest.err >&5
106653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106654 (exit $ac_status); } &&
106655 { ac_try='test -z "$ac_c_werror_flag"
106656 || test ! -s conftest.err'
106657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106658 (eval $ac_try) 2>&5
106659 ac_status=$?
106660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106661 (exit $ac_status); }; } &&
106662 { ac_try='test -s conftest$ac_exeext'
106663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106664 (eval $ac_try) 2>&5
106665 ac_status=$?
106666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106667 (exit $ac_status); }; }; then
106668 eval "$as_ac_var=yes"
106670 echo "$as_me: failed program was:" >&5
106671 sed 's/^/| /' conftest.$ac_ext >&5
106673 eval "$as_ac_var=no"
106675 rm -f conftest.err conftest.$ac_objext \
106676 conftest$ac_exeext conftest.$ac_ext
106678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106680 if test `eval echo '${'$as_ac_var'}'` = yes; then
106681 cat >>confdefs.h <<_ACEOF
106682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106683 _ACEOF
106684 ac_XPG2funcs=yes
106686 ac_XPG2funcs=no
106691 LIBS="$ac_save_LIBS"
106693 if test x"$ac_has_iconv_h" = xyes &&
106694 test x"$ac_has_langinfo_h" = xyes &&
106695 test x"$ac_XPG2funcs" = xyes;
106698 cat >>confdefs.h <<\_ACEOF
106699 #define _GLIBCXX_USE_ICONV 1
106700 _ACEOF
106702 enable_iconv=yes
106705 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
106706 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
106707 echo "$as_me:$LINENO: result: $enable_iconv" >&5
106708 echo "${ECHO_T}$enable_iconv" >&6
106710 # All of the dependencies for wide character support are here, so
106711 # turn it on. This requires some syncronization with the
106712 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
106713 cat >>confdefs.h <<\_ACEOF
106714 #define _GLIBCXX_USE_WCHAR_T 1
106715 _ACEOF
106717 # Are these tested for even when cross?
106718 cat >>confdefs.h <<\_ACEOF
106719 #define HAVE_FLOAT_H 1
106720 _ACEOF
106722 cat >>confdefs.h <<\_ACEOF
106723 #define HAVE_IEEEFP_H 1
106724 _ACEOF
106726 cat >>confdefs.h <<\_ACEOF
106727 #define HAVE_INTTYPES_H 1
106728 _ACEOF
106730 cat >>confdefs.h <<\_ACEOF
106731 #define HAVE_LOCALE_H 1
106732 _ACEOF
106734 cat >>confdefs.h <<\_ACEOF
106735 #define HAVE_NAN_H 1
106736 _ACEOF
106738 cat >>confdefs.h <<\_ACEOF
106739 #define HAVE_SYS_FILIO_H 1
106740 _ACEOF
106742 cat >>confdefs.h <<\_ACEOF
106743 #define HAVE_SYS_IOCTL_H 1
106744 _ACEOF
106746 cat >>confdefs.h <<\_ACEOF
106747 #define HAVE_SYS_ISA_DEFS_H 1
106748 _ACEOF
106750 cat >>confdefs.h <<\_ACEOF
106751 #define HAVE_SYS_RESOURCE_H 1
106752 _ACEOF
106754 cat >>confdefs.h <<\_ACEOF
106755 #define HAVE_SYS_TIME_H 1
106756 _ACEOF
106758 cat >>confdefs.h <<\_ACEOF
106759 #define HAVE_SYS_TYPES_H 1
106760 _ACEOF
106762 cat >>confdefs.h <<\_ACEOF
106763 #define HAVE_UNISTD_H 1
106764 _ACEOF
106766 cat >>confdefs.h <<\_ACEOF
106767 #define HAVE_WCHAR_H 1
106768 _ACEOF
106770 cat >>confdefs.h <<\_ACEOF
106771 #define HAVE_WCTYPE_H 1
106772 _ACEOF
106774 cat >>confdefs.h <<\_ACEOF
106775 #define HAVE_LIBM 1
106776 _ACEOF
106780 case "$target" in
106781 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
106782 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
106783 cat >>confdefs.h <<\_ACEOF
106784 #define HAVE___BUILTIN_ABS 1
106785 _ACEOF
106787 cat >>confdefs.h <<\_ACEOF
106788 #define HAVE___BUILTIN_LABS 1
106789 _ACEOF
106791 cat >>confdefs.h <<\_ACEOF
106792 #define HAVE___BUILTIN_FABS 1
106793 _ACEOF
106795 cat >>confdefs.h <<\_ACEOF
106796 #define HAVE___BUILTIN_FABSF 1
106797 _ACEOF
106799 cat >>confdefs.h <<\_ACEOF
106800 #define HAVE___BUILTIN_FABSL 1
106801 _ACEOF
106803 cat >>confdefs.h <<\_ACEOF
106804 #define HAVE___BUILTIN_COS 1
106805 _ACEOF
106807 cat >>confdefs.h <<\_ACEOF
106808 #define HAVE___BUILTIN_COSF 1
106809 _ACEOF
106811 cat >>confdefs.h <<\_ACEOF
106812 #define HAVE___BUILTIN_SIN 1
106813 _ACEOF
106815 cat >>confdefs.h <<\_ACEOF
106816 #define HAVE___BUILTIN_SINF 1
106817 _ACEOF
106821 case "$target" in
106822 *-*-solaris2.10)
106823 # These two C99 functions are present only in Solaris >= 10
106824 cat >>confdefs.h <<\_ACEOF
106825 #define HAVE_STRTOF 1
106826 _ACEOF
106828 cat >>confdefs.h <<\_ACEOF
106829 #define HAVE_STRTOLD 1
106830 _ACEOF
106834 cat >>confdefs.h <<\_ACEOF
106835 #define HAVE_MMAP 1
106836 _ACEOF
106838 cat >>confdefs.h <<\_ACEOF
106839 #define HAVE_COPYSIGN 1
106840 _ACEOF
106842 cat >>confdefs.h <<\_ACEOF
106843 #define HAVE_ISNAN 1
106844 _ACEOF
106846 cat >>confdefs.h <<\_ACEOF
106847 #define HAVE_ISNANF 1
106848 _ACEOF
106850 cat >>confdefs.h <<\_ACEOF
106851 #define HAVE_MODFF 1
106852 _ACEOF
106854 cat >>confdefs.h <<\_ACEOF
106855 #define HAVE_HYPOT 1
106856 _ACEOF
106859 *-tpf)
106868 for ac_header in nan.h endian.h machine/endian.h \
106869 sys/param.h sys/types.h locale.h float.h inttypes.h
106871 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
106872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106873 echo "$as_me:$LINENO: checking for $ac_header" >&5
106874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
106875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106876 echo $ECHO_N "(cached) $ECHO_C" >&6
106878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
106879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
106881 # Is the header compilable?
106882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
106883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
106884 cat >conftest.$ac_ext <<_ACEOF
106885 /* confdefs.h. */
106886 _ACEOF
106887 cat confdefs.h >>conftest.$ac_ext
106888 cat >>conftest.$ac_ext <<_ACEOF
106889 /* end confdefs.h. */
106890 $ac_includes_default
106891 #include <$ac_header>
106892 _ACEOF
106893 rm -f conftest.$ac_objext
106894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106895 (eval $ac_compile) 2>conftest.er1
106896 ac_status=$?
106897 grep -v '^ *+' conftest.er1 >conftest.err
106898 rm -f conftest.er1
106899 cat conftest.err >&5
106900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106901 (exit $ac_status); } &&
106902 { ac_try='test -z "$ac_c_werror_flag"
106903 || test ! -s conftest.err'
106904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106905 (eval $ac_try) 2>&5
106906 ac_status=$?
106907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106908 (exit $ac_status); }; } &&
106909 { ac_try='test -s conftest.$ac_objext'
106910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106911 (eval $ac_try) 2>&5
106912 ac_status=$?
106913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106914 (exit $ac_status); }; }; then
106915 ac_header_compiler=yes
106917 echo "$as_me: failed program was:" >&5
106918 sed 's/^/| /' conftest.$ac_ext >&5
106920 ac_header_compiler=no
106922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106924 echo "${ECHO_T}$ac_header_compiler" >&6
106926 # Is the header present?
106927 echo "$as_me:$LINENO: checking $ac_header presence" >&5
106928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
106929 cat >conftest.$ac_ext <<_ACEOF
106930 /* confdefs.h. */
106931 _ACEOF
106932 cat confdefs.h >>conftest.$ac_ext
106933 cat >>conftest.$ac_ext <<_ACEOF
106934 /* end confdefs.h. */
106935 #include <$ac_header>
106936 _ACEOF
106937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106939 ac_status=$?
106940 grep -v '^ *+' conftest.er1 >conftest.err
106941 rm -f conftest.er1
106942 cat conftest.err >&5
106943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106944 (exit $ac_status); } >/dev/null; then
106945 if test -s conftest.err; then
106946 ac_cpp_err=$ac_c_preproc_warn_flag
106947 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106949 ac_cpp_err=
106952 ac_cpp_err=yes
106954 if test -z "$ac_cpp_err"; then
106955 ac_header_preproc=yes
106957 echo "$as_me: failed program was:" >&5
106958 sed 's/^/| /' conftest.$ac_ext >&5
106960 ac_header_preproc=no
106962 rm -f conftest.err conftest.$ac_ext
106963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106964 echo "${ECHO_T}$ac_header_preproc" >&6
106966 # So? What about this header?
106967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106968 yes:no: )
106969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
106970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
106971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
106972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
106973 ac_header_preproc=yes
106975 no:yes:* )
106976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
106977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
106978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
106979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
106980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
106981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
106982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
106983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
106984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
106985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
106986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
106987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
106989 cat <<\_ASBOX
106990 ## ----------------------------------------- ##
106991 ## Report this to the package-unused lists. ##
106992 ## ----------------------------------------- ##
106993 _ASBOX
106995 sed "s/^/$as_me: WARNING: /" >&2
106998 echo "$as_me:$LINENO: checking for $ac_header" >&5
106999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107001 echo $ECHO_N "(cached) $ECHO_C" >&6
107003 eval "$as_ac_Header=\$ac_header_preproc"
107005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107010 cat >>confdefs.h <<_ACEOF
107011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107012 _ACEOF
107018 SECTION_FLAGS='-ffunction-sections -fdata-sections'
107021 # If we're not using GNU ld, then there's no point in even trying these
107022 # tests. Check for that first. We should have already tested for gld
107023 # by now (in libtool), but require it now just to be safe...
107024 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
107025 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
107029 # The name set by libtool depends on the version of libtool. Shame on us
107030 # for depending on an impl detail, but c'est la vie. Older versions used
107031 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
107032 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
107033 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
107034 # set (hence we're using an older libtool), then set it.
107035 if test x${with_gnu_ld+set} != xset; then
107036 if test x${ac_cv_prog_gnu_ld+set} != xset; then
107037 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
107038 with_gnu_ld=no
107040 with_gnu_ld=$ac_cv_prog_gnu_ld
107044 # Start by getting the version number. I think the libtool test already
107045 # does some of this, but throws away the result.
107046 echo "$as_me:$LINENO: checking for ld version" >&5
107047 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
107049 ldver=`$LD --version 2>/dev/null | head -1 | \
107050 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
107052 glibcxx_gnu_ld_version=`echo $ldver | \
107053 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
107054 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
107055 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
107057 # Set --gc-sections.
107058 glibcxx_gcsections_min_ld=21602
107059 if test x"$with_gnu_ld" = x"yes" &&
107060 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
107062 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
107063 # NB: This flag only works reliably after 2.16.1. Configure tests
107064 # for this are difficult, so hard wire a value that should work.
107066 # All these tests are for C++, but run with the "C" compiler driver.
107067 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
107068 ac_test_CFLAGS="${CFLAGS+set}"
107069 ac_save_CFLAGS="$CFLAGS"
107070 CFLAGS='-x c++ -Wl,--gc-sections'
107072 # Check for -Wl,--gc-sections
107073 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
107074 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
107075 if test x$gcc_no_link = xyes; then
107076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107078 { (exit 1); exit 1; }; }
107080 cat >conftest.$ac_ext <<_ACEOF
107081 /* confdefs.h. */
107082 _ACEOF
107083 cat confdefs.h >>conftest.$ac_ext
107084 cat >>conftest.$ac_ext <<_ACEOF
107085 /* end confdefs.h. */
107086 int one(void) { return 1; }
107087 int two(void) { return 2; }
107090 main ()
107092 two();
107094 return 0;
107096 _ACEOF
107097 rm -f conftest.$ac_objext conftest$ac_exeext
107098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107099 (eval $ac_link) 2>conftest.er1
107100 ac_status=$?
107101 grep -v '^ *+' conftest.er1 >conftest.err
107102 rm -f conftest.er1
107103 cat conftest.err >&5
107104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107105 (exit $ac_status); } &&
107106 { ac_try='test -z "$ac_c_werror_flag"
107107 || test ! -s conftest.err'
107108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107109 (eval $ac_try) 2>&5
107110 ac_status=$?
107111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107112 (exit $ac_status); }; } &&
107113 { ac_try='test -s conftest$ac_exeext'
107114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107115 (eval $ac_try) 2>&5
107116 ac_status=$?
107117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107118 (exit $ac_status); }; }; then
107119 ac_gcsections=yes
107121 echo "$as_me: failed program was:" >&5
107122 sed 's/^/| /' conftest.$ac_ext >&5
107124 ac_gcsections=no
107126 rm -f conftest.err conftest.$ac_objext \
107127 conftest$ac_exeext conftest.$ac_ext
107128 if test "$ac_gcsections" = "yes"; then
107129 rm -f conftest.c
107130 touch conftest.c
107131 if $CC -c conftest.c; then
107132 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
107133 grep "Warning: gc-sections option ignored" > /dev/null; then
107134 ac_gcsections=no
107137 rm -f conftest.c conftest.o conftest
107139 if test "$ac_gcsections" = "yes"; then
107140 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
107142 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
107143 echo "${ECHO_T}$ac_gcsections" >&6
107145 if test "$ac_test_CFLAGS" = set; then
107146 CFLAGS="$ac_save_CFLAGS"
107148 # this is the suspicious part
107149 CFLAGS=''
107153 # Set -z,relro.
107154 # Note this is only for shared objects.
107155 ac_ld_relro=no
107156 if test x"$with_gnu_ld" = x"yes"; then
107157 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
107158 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
107159 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
107160 if test -n "$cxx_z_relo"; then
107161 OPT_LDFLAGS="-Wl,-z,relro"
107162 ac_ld_relro=yes
107164 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
107165 echo "${ECHO_T}$ac_ld_relro" >&6
107168 # Set linker optimization flags.
107169 if test x"$with_gnu_ld" = x"yes"; then
107170 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
107178 echo "$as_me:$LINENO: checking for main in -lm" >&5
107179 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107180 if test "${ac_cv_lib_m_main+set}" = set; then
107181 echo $ECHO_N "(cached) $ECHO_C" >&6
107183 ac_check_lib_save_LIBS=$LIBS
107184 LIBS="-lm $LIBS"
107185 if test x$gcc_no_link = xyes; then
107186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107188 { (exit 1); exit 1; }; }
107190 cat >conftest.$ac_ext <<_ACEOF
107191 /* confdefs.h. */
107192 _ACEOF
107193 cat confdefs.h >>conftest.$ac_ext
107194 cat >>conftest.$ac_ext <<_ACEOF
107195 /* end confdefs.h. */
107199 main ()
107201 main ();
107203 return 0;
107205 _ACEOF
107206 rm -f conftest.$ac_objext conftest$ac_exeext
107207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107208 (eval $ac_link) 2>conftest.er1
107209 ac_status=$?
107210 grep -v '^ *+' conftest.er1 >conftest.err
107211 rm -f conftest.er1
107212 cat conftest.err >&5
107213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107214 (exit $ac_status); } &&
107215 { ac_try='test -z "$ac_c_werror_flag"
107216 || test ! -s conftest.err'
107217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107218 (eval $ac_try) 2>&5
107219 ac_status=$?
107220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107221 (exit $ac_status); }; } &&
107222 { ac_try='test -s conftest$ac_exeext'
107223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107224 (eval $ac_try) 2>&5
107225 ac_status=$?
107226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107227 (exit $ac_status); }; }; then
107228 ac_cv_lib_m_main=yes
107230 echo "$as_me: failed program was:" >&5
107231 sed 's/^/| /' conftest.$ac_ext >&5
107233 ac_cv_lib_m_main=no
107235 rm -f conftest.err conftest.$ac_objext \
107236 conftest$ac_exeext conftest.$ac_ext
107237 LIBS=$ac_check_lib_save_LIBS
107239 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107240 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107241 if test $ac_cv_lib_m_main = yes; then
107242 cat >>confdefs.h <<_ACEOF
107243 #define HAVE_LIBM 1
107244 _ACEOF
107246 LIBS="-lm $LIBS"
107251 for ac_func in copysignf
107253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107254 echo "$as_me:$LINENO: checking for $ac_func" >&5
107255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107256 if eval "test \"\${$as_ac_var+set}\" = set"; then
107257 echo $ECHO_N "(cached) $ECHO_C" >&6
107259 if test x$gcc_no_link = xyes; then
107260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107262 { (exit 1); exit 1; }; }
107264 cat >conftest.$ac_ext <<_ACEOF
107265 /* confdefs.h. */
107266 _ACEOF
107267 cat confdefs.h >>conftest.$ac_ext
107268 cat >>conftest.$ac_ext <<_ACEOF
107269 /* end confdefs.h. */
107270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107272 #define $ac_func innocuous_$ac_func
107274 /* System header to define __stub macros and hopefully few prototypes,
107275 which can conflict with char $ac_func (); below.
107276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107277 <limits.h> exists even on freestanding compilers. */
107279 #ifdef __STDC__
107280 # include <limits.h>
107281 #else
107282 # include <assert.h>
107283 #endif
107285 #undef $ac_func
107287 /* Override any gcc2 internal prototype to avoid an error. */
107288 #ifdef __cplusplus
107289 extern "C"
107291 #endif
107292 /* We use char because int might match the return type of a gcc2
107293 builtin and then its argument prototype would still apply. */
107294 char $ac_func ();
107295 /* The GNU C library defines this for functions which it implements
107296 to always fail with ENOSYS. Some functions are actually named
107297 something starting with __ and the normal name is an alias. */
107298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107299 choke me
107300 #else
107301 char (*f) () = $ac_func;
107302 #endif
107303 #ifdef __cplusplus
107305 #endif
107308 main ()
107310 return f != $ac_func;
107312 return 0;
107314 _ACEOF
107315 rm -f conftest.$ac_objext conftest$ac_exeext
107316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107317 (eval $ac_link) 2>conftest.er1
107318 ac_status=$?
107319 grep -v '^ *+' conftest.er1 >conftest.err
107320 rm -f conftest.er1
107321 cat conftest.err >&5
107322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107323 (exit $ac_status); } &&
107324 { ac_try='test -z "$ac_c_werror_flag"
107325 || test ! -s conftest.err'
107326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107327 (eval $ac_try) 2>&5
107328 ac_status=$?
107329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107330 (exit $ac_status); }; } &&
107331 { ac_try='test -s conftest$ac_exeext'
107332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107333 (eval $ac_try) 2>&5
107334 ac_status=$?
107335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107336 (exit $ac_status); }; }; then
107337 eval "$as_ac_var=yes"
107339 echo "$as_me: failed program was:" >&5
107340 sed 's/^/| /' conftest.$ac_ext >&5
107342 eval "$as_ac_var=no"
107344 rm -f conftest.err conftest.$ac_objext \
107345 conftest$ac_exeext conftest.$ac_ext
107347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107349 if test `eval echo '${'$as_ac_var'}'` = yes; then
107350 cat >>confdefs.h <<_ACEOF
107351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107352 _ACEOF
107355 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107361 for ac_func in __signbit
107363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107364 echo "$as_me:$LINENO: checking for $ac_func" >&5
107365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107366 if eval "test \"\${$as_ac_var+set}\" = set"; then
107367 echo $ECHO_N "(cached) $ECHO_C" >&6
107369 if test x$gcc_no_link = xyes; then
107370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107372 { (exit 1); exit 1; }; }
107374 cat >conftest.$ac_ext <<_ACEOF
107375 /* confdefs.h. */
107376 _ACEOF
107377 cat confdefs.h >>conftest.$ac_ext
107378 cat >>conftest.$ac_ext <<_ACEOF
107379 /* end confdefs.h. */
107380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107382 #define $ac_func innocuous_$ac_func
107384 /* System header to define __stub macros and hopefully few prototypes,
107385 which can conflict with char $ac_func (); below.
107386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107387 <limits.h> exists even on freestanding compilers. */
107389 #ifdef __STDC__
107390 # include <limits.h>
107391 #else
107392 # include <assert.h>
107393 #endif
107395 #undef $ac_func
107397 /* Override any gcc2 internal prototype to avoid an error. */
107398 #ifdef __cplusplus
107399 extern "C"
107401 #endif
107402 /* We use char because int might match the return type of a gcc2
107403 builtin and then its argument prototype would still apply. */
107404 char $ac_func ();
107405 /* The GNU C library defines this for functions which it implements
107406 to always fail with ENOSYS. Some functions are actually named
107407 something starting with __ and the normal name is an alias. */
107408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107409 choke me
107410 #else
107411 char (*f) () = $ac_func;
107412 #endif
107413 #ifdef __cplusplus
107415 #endif
107418 main ()
107420 return f != $ac_func;
107422 return 0;
107424 _ACEOF
107425 rm -f conftest.$ac_objext conftest$ac_exeext
107426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107427 (eval $ac_link) 2>conftest.er1
107428 ac_status=$?
107429 grep -v '^ *+' conftest.er1 >conftest.err
107430 rm -f conftest.er1
107431 cat conftest.err >&5
107432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107433 (exit $ac_status); } &&
107434 { ac_try='test -z "$ac_c_werror_flag"
107435 || test ! -s conftest.err'
107436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107437 (eval $ac_try) 2>&5
107438 ac_status=$?
107439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107440 (exit $ac_status); }; } &&
107441 { ac_try='test -s conftest$ac_exeext'
107442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107443 (eval $ac_try) 2>&5
107444 ac_status=$?
107445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107446 (exit $ac_status); }; }; then
107447 eval "$as_ac_var=yes"
107449 echo "$as_me: failed program was:" >&5
107450 sed 's/^/| /' conftest.$ac_ext >&5
107452 eval "$as_ac_var=no"
107454 rm -f conftest.err conftest.$ac_objext \
107455 conftest$ac_exeext conftest.$ac_ext
107457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107459 if test `eval echo '${'$as_ac_var'}'` = yes; then
107460 cat >>confdefs.h <<_ACEOF
107461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107462 _ACEOF
107465 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107471 for ac_func in __signbitf
107473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107474 echo "$as_me:$LINENO: checking for $ac_func" >&5
107475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107476 if eval "test \"\${$as_ac_var+set}\" = set"; then
107477 echo $ECHO_N "(cached) $ECHO_C" >&6
107479 if test x$gcc_no_link = xyes; then
107480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107482 { (exit 1); exit 1; }; }
107484 cat >conftest.$ac_ext <<_ACEOF
107485 /* confdefs.h. */
107486 _ACEOF
107487 cat confdefs.h >>conftest.$ac_ext
107488 cat >>conftest.$ac_ext <<_ACEOF
107489 /* end confdefs.h. */
107490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107492 #define $ac_func innocuous_$ac_func
107494 /* System header to define __stub macros and hopefully few prototypes,
107495 which can conflict with char $ac_func (); below.
107496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107497 <limits.h> exists even on freestanding compilers. */
107499 #ifdef __STDC__
107500 # include <limits.h>
107501 #else
107502 # include <assert.h>
107503 #endif
107505 #undef $ac_func
107507 /* Override any gcc2 internal prototype to avoid an error. */
107508 #ifdef __cplusplus
107509 extern "C"
107511 #endif
107512 /* We use char because int might match the return type of a gcc2
107513 builtin and then its argument prototype would still apply. */
107514 char $ac_func ();
107515 /* The GNU C library defines this for functions which it implements
107516 to always fail with ENOSYS. Some functions are actually named
107517 something starting with __ and the normal name is an alias. */
107518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107519 choke me
107520 #else
107521 char (*f) () = $ac_func;
107522 #endif
107523 #ifdef __cplusplus
107525 #endif
107528 main ()
107530 return f != $ac_func;
107532 return 0;
107534 _ACEOF
107535 rm -f conftest.$ac_objext conftest$ac_exeext
107536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107537 (eval $ac_link) 2>conftest.er1
107538 ac_status=$?
107539 grep -v '^ *+' conftest.er1 >conftest.err
107540 rm -f conftest.er1
107541 cat conftest.err >&5
107542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107543 (exit $ac_status); } &&
107544 { ac_try='test -z "$ac_c_werror_flag"
107545 || test ! -s conftest.err'
107546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107547 (eval $ac_try) 2>&5
107548 ac_status=$?
107549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107550 (exit $ac_status); }; } &&
107551 { ac_try='test -s conftest$ac_exeext'
107552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107553 (eval $ac_try) 2>&5
107554 ac_status=$?
107555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107556 (exit $ac_status); }; }; then
107557 eval "$as_ac_var=yes"
107559 echo "$as_me: failed program was:" >&5
107560 sed 's/^/| /' conftest.$ac_ext >&5
107562 eval "$as_ac_var=no"
107564 rm -f conftest.err conftest.$ac_objext \
107565 conftest$ac_exeext conftest.$ac_ext
107567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107569 if test `eval echo '${'$as_ac_var'}'` = yes; then
107570 cat >>confdefs.h <<_ACEOF
107571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107572 _ACEOF
107575 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107580 if test x$ac_cv_func_copysignl = x"yes"; then
107582 for ac_func in __signbitl
107584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107585 echo "$as_me:$LINENO: checking for $ac_func" >&5
107586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107587 if eval "test \"\${$as_ac_var+set}\" = set"; then
107588 echo $ECHO_N "(cached) $ECHO_C" >&6
107590 if test x$gcc_no_link = xyes; then
107591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107593 { (exit 1); exit 1; }; }
107595 cat >conftest.$ac_ext <<_ACEOF
107596 /* confdefs.h. */
107597 _ACEOF
107598 cat confdefs.h >>conftest.$ac_ext
107599 cat >>conftest.$ac_ext <<_ACEOF
107600 /* end confdefs.h. */
107601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107603 #define $ac_func innocuous_$ac_func
107605 /* System header to define __stub macros and hopefully few prototypes,
107606 which can conflict with char $ac_func (); below.
107607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107608 <limits.h> exists even on freestanding compilers. */
107610 #ifdef __STDC__
107611 # include <limits.h>
107612 #else
107613 # include <assert.h>
107614 #endif
107616 #undef $ac_func
107618 /* Override any gcc2 internal prototype to avoid an error. */
107619 #ifdef __cplusplus
107620 extern "C"
107622 #endif
107623 /* We use char because int might match the return type of a gcc2
107624 builtin and then its argument prototype would still apply. */
107625 char $ac_func ();
107626 /* The GNU C library defines this for functions which it implements
107627 to always fail with ENOSYS. Some functions are actually named
107628 something starting with __ and the normal name is an alias. */
107629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107630 choke me
107631 #else
107632 char (*f) () = $ac_func;
107633 #endif
107634 #ifdef __cplusplus
107636 #endif
107639 main ()
107641 return f != $ac_func;
107643 return 0;
107645 _ACEOF
107646 rm -f conftest.$ac_objext conftest$ac_exeext
107647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107648 (eval $ac_link) 2>conftest.er1
107649 ac_status=$?
107650 grep -v '^ *+' conftest.er1 >conftest.err
107651 rm -f conftest.er1
107652 cat conftest.err >&5
107653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107654 (exit $ac_status); } &&
107655 { ac_try='test -z "$ac_c_werror_flag"
107656 || test ! -s conftest.err'
107657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107658 (eval $ac_try) 2>&5
107659 ac_status=$?
107660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107661 (exit $ac_status); }; } &&
107662 { ac_try='test -s conftest$ac_exeext'
107663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107664 (eval $ac_try) 2>&5
107665 ac_status=$?
107666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107667 (exit $ac_status); }; }; then
107668 eval "$as_ac_var=yes"
107670 echo "$as_me: failed program was:" >&5
107671 sed 's/^/| /' conftest.$ac_ext >&5
107673 eval "$as_ac_var=no"
107675 rm -f conftest.err conftest.$ac_objext \
107676 conftest$ac_exeext conftest.$ac_ext
107678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107680 if test `eval echo '${'$as_ac_var'}'` = yes; then
107681 cat >>confdefs.h <<_ACEOF
107682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107683 _ACEOF
107686 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107692 # Used in libmath/Makefile.am.
107693 if test -n "$LIBMATHOBJS"; then
107694 need_libmath=yes
107700 enable_iconv=no
107701 # Only continue checking if the ISO C99 headers exist and support is on.
107702 if test x"$enable_wchar_t" = xyes; then
107704 # Use iconv for wchar_t to char conversions. As such, check for
107705 # X/Open Portability Guide, version 2 features (XPG2).
107706 if test "${ac_cv_header_iconv_h+set}" = set; then
107707 echo "$as_me:$LINENO: checking for iconv.h" >&5
107708 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107709 if test "${ac_cv_header_iconv_h+set}" = set; then
107710 echo $ECHO_N "(cached) $ECHO_C" >&6
107712 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107713 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107715 # Is the header compilable?
107716 echo "$as_me:$LINENO: checking iconv.h usability" >&5
107717 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
107718 cat >conftest.$ac_ext <<_ACEOF
107719 /* confdefs.h. */
107720 _ACEOF
107721 cat confdefs.h >>conftest.$ac_ext
107722 cat >>conftest.$ac_ext <<_ACEOF
107723 /* end confdefs.h. */
107724 $ac_includes_default
107725 #include <iconv.h>
107726 _ACEOF
107727 rm -f conftest.$ac_objext
107728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107729 (eval $ac_compile) 2>conftest.er1
107730 ac_status=$?
107731 grep -v '^ *+' conftest.er1 >conftest.err
107732 rm -f conftest.er1
107733 cat conftest.err >&5
107734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107735 (exit $ac_status); } &&
107736 { ac_try='test -z "$ac_c_werror_flag"
107737 || test ! -s conftest.err'
107738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107739 (eval $ac_try) 2>&5
107740 ac_status=$?
107741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107742 (exit $ac_status); }; } &&
107743 { ac_try='test -s conftest.$ac_objext'
107744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107745 (eval $ac_try) 2>&5
107746 ac_status=$?
107747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107748 (exit $ac_status); }; }; then
107749 ac_header_compiler=yes
107751 echo "$as_me: failed program was:" >&5
107752 sed 's/^/| /' conftest.$ac_ext >&5
107754 ac_header_compiler=no
107756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107758 echo "${ECHO_T}$ac_header_compiler" >&6
107760 # Is the header present?
107761 echo "$as_me:$LINENO: checking iconv.h presence" >&5
107762 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
107763 cat >conftest.$ac_ext <<_ACEOF
107764 /* confdefs.h. */
107765 _ACEOF
107766 cat confdefs.h >>conftest.$ac_ext
107767 cat >>conftest.$ac_ext <<_ACEOF
107768 /* end confdefs.h. */
107769 #include <iconv.h>
107770 _ACEOF
107771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107773 ac_status=$?
107774 grep -v '^ *+' conftest.er1 >conftest.err
107775 rm -f conftest.er1
107776 cat conftest.err >&5
107777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107778 (exit $ac_status); } >/dev/null; then
107779 if test -s conftest.err; then
107780 ac_cpp_err=$ac_c_preproc_warn_flag
107781 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107783 ac_cpp_err=
107786 ac_cpp_err=yes
107788 if test -z "$ac_cpp_err"; then
107789 ac_header_preproc=yes
107791 echo "$as_me: failed program was:" >&5
107792 sed 's/^/| /' conftest.$ac_ext >&5
107794 ac_header_preproc=no
107796 rm -f conftest.err conftest.$ac_ext
107797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107798 echo "${ECHO_T}$ac_header_preproc" >&6
107800 # So? What about this header?
107801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107802 yes:no: )
107803 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
107804 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107805 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
107806 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
107807 ac_header_preproc=yes
107809 no:yes:* )
107810 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
107811 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
107812 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
107813 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
107814 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
107815 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
107816 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
107817 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
107818 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
107819 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
107820 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
107821 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
107823 cat <<\_ASBOX
107824 ## ----------------------------------------- ##
107825 ## Report this to the package-unused lists. ##
107826 ## ----------------------------------------- ##
107827 _ASBOX
107829 sed "s/^/$as_me: WARNING: /" >&2
107832 echo "$as_me:$LINENO: checking for iconv.h" >&5
107833 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107834 if test "${ac_cv_header_iconv_h+set}" = set; then
107835 echo $ECHO_N "(cached) $ECHO_C" >&6
107837 ac_cv_header_iconv_h=$ac_header_preproc
107839 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107840 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107843 if test $ac_cv_header_iconv_h = yes; then
107844 ac_has_iconv_h=yes
107846 ac_has_iconv_h=no
107850 if test "${ac_cv_header_langinfo_h+set}" = set; then
107851 echo "$as_me:$LINENO: checking for langinfo.h" >&5
107852 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
107853 if test "${ac_cv_header_langinfo_h+set}" = set; then
107854 echo $ECHO_N "(cached) $ECHO_C" >&6
107856 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
107857 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
107859 # Is the header compilable?
107860 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
107861 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
107862 cat >conftest.$ac_ext <<_ACEOF
107863 /* confdefs.h. */
107864 _ACEOF
107865 cat confdefs.h >>conftest.$ac_ext
107866 cat >>conftest.$ac_ext <<_ACEOF
107867 /* end confdefs.h. */
107868 $ac_includes_default
107869 #include <langinfo.h>
107870 _ACEOF
107871 rm -f conftest.$ac_objext
107872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107873 (eval $ac_compile) 2>conftest.er1
107874 ac_status=$?
107875 grep -v '^ *+' conftest.er1 >conftest.err
107876 rm -f conftest.er1
107877 cat conftest.err >&5
107878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107879 (exit $ac_status); } &&
107880 { ac_try='test -z "$ac_c_werror_flag"
107881 || test ! -s conftest.err'
107882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107883 (eval $ac_try) 2>&5
107884 ac_status=$?
107885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107886 (exit $ac_status); }; } &&
107887 { ac_try='test -s conftest.$ac_objext'
107888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107889 (eval $ac_try) 2>&5
107890 ac_status=$?
107891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107892 (exit $ac_status); }; }; then
107893 ac_header_compiler=yes
107895 echo "$as_me: failed program was:" >&5
107896 sed 's/^/| /' conftest.$ac_ext >&5
107898 ac_header_compiler=no
107900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107901 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107902 echo "${ECHO_T}$ac_header_compiler" >&6
107904 # Is the header present?
107905 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
107906 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
107907 cat >conftest.$ac_ext <<_ACEOF
107908 /* confdefs.h. */
107909 _ACEOF
107910 cat confdefs.h >>conftest.$ac_ext
107911 cat >>conftest.$ac_ext <<_ACEOF
107912 /* end confdefs.h. */
107913 #include <langinfo.h>
107914 _ACEOF
107915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107916 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107917 ac_status=$?
107918 grep -v '^ *+' conftest.er1 >conftest.err
107919 rm -f conftest.er1
107920 cat conftest.err >&5
107921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107922 (exit $ac_status); } >/dev/null; then
107923 if test -s conftest.err; then
107924 ac_cpp_err=$ac_c_preproc_warn_flag
107925 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107927 ac_cpp_err=
107930 ac_cpp_err=yes
107932 if test -z "$ac_cpp_err"; then
107933 ac_header_preproc=yes
107935 echo "$as_me: failed program was:" >&5
107936 sed 's/^/| /' conftest.$ac_ext >&5
107938 ac_header_preproc=no
107940 rm -f conftest.err conftest.$ac_ext
107941 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107942 echo "${ECHO_T}$ac_header_preproc" >&6
107944 # So? What about this header?
107945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107946 yes:no: )
107947 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
107948 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107949 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
107950 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
107951 ac_header_preproc=yes
107953 no:yes:* )
107954 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
107955 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
107956 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
107957 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
107958 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
107959 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
107960 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
107961 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
107962 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
107963 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
107964 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
107965 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
107967 cat <<\_ASBOX
107968 ## ----------------------------------------- ##
107969 ## Report this to the package-unused lists. ##
107970 ## ----------------------------------------- ##
107971 _ASBOX
107973 sed "s/^/$as_me: WARNING: /" >&2
107976 echo "$as_me:$LINENO: checking for langinfo.h" >&5
107977 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
107978 if test "${ac_cv_header_langinfo_h+set}" = set; then
107979 echo $ECHO_N "(cached) $ECHO_C" >&6
107981 ac_cv_header_langinfo_h=$ac_header_preproc
107983 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
107984 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
107987 if test $ac_cv_header_langinfo_h = yes; then
107988 ac_has_langinfo_h=yes
107990 ac_has_langinfo_h=no
107995 # Check for existence of libiconv.a providing XPG2 wchar_t support.
107996 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
107997 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
107998 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
107999 echo $ECHO_N "(cached) $ECHO_C" >&6
108001 ac_check_lib_save_LIBS=$LIBS
108002 LIBS="-liconv $LIBS"
108003 if test x$gcc_no_link = xyes; then
108004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108006 { (exit 1); exit 1; }; }
108008 cat >conftest.$ac_ext <<_ACEOF
108009 /* confdefs.h. */
108010 _ACEOF
108011 cat confdefs.h >>conftest.$ac_ext
108012 cat >>conftest.$ac_ext <<_ACEOF
108013 /* end confdefs.h. */
108015 /* Override any gcc2 internal prototype to avoid an error. */
108016 #ifdef __cplusplus
108017 extern "C"
108018 #endif
108019 /* We use char because int might match the return type of a gcc2
108020 builtin and then its argument prototype would still apply. */
108021 char iconv ();
108023 main ()
108025 iconv ();
108027 return 0;
108029 _ACEOF
108030 rm -f conftest.$ac_objext conftest$ac_exeext
108031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108032 (eval $ac_link) 2>conftest.er1
108033 ac_status=$?
108034 grep -v '^ *+' conftest.er1 >conftest.err
108035 rm -f conftest.er1
108036 cat conftest.err >&5
108037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108038 (exit $ac_status); } &&
108039 { ac_try='test -z "$ac_c_werror_flag"
108040 || test ! -s conftest.err'
108041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108042 (eval $ac_try) 2>&5
108043 ac_status=$?
108044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108045 (exit $ac_status); }; } &&
108046 { ac_try='test -s conftest$ac_exeext'
108047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108048 (eval $ac_try) 2>&5
108049 ac_status=$?
108050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108051 (exit $ac_status); }; }; then
108052 ac_cv_lib_iconv_iconv=yes
108054 echo "$as_me: failed program was:" >&5
108055 sed 's/^/| /' conftest.$ac_ext >&5
108057 ac_cv_lib_iconv_iconv=no
108059 rm -f conftest.err conftest.$ac_objext \
108060 conftest$ac_exeext conftest.$ac_ext
108061 LIBS=$ac_check_lib_save_LIBS
108063 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
108064 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
108065 if test $ac_cv_lib_iconv_iconv = yes; then
108066 LIBICONV="-liconv"
108069 ac_save_LIBS="$LIBS"
108070 LIBS="$LIBS $LIBICONV"
108077 for ac_func in iconv_open iconv_close iconv nl_langinfo
108079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108080 echo "$as_me:$LINENO: checking for $ac_func" >&5
108081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108082 if eval "test \"\${$as_ac_var+set}\" = set"; then
108083 echo $ECHO_N "(cached) $ECHO_C" >&6
108085 if test x$gcc_no_link = xyes; then
108086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108088 { (exit 1); exit 1; }; }
108090 cat >conftest.$ac_ext <<_ACEOF
108091 /* confdefs.h. */
108092 _ACEOF
108093 cat confdefs.h >>conftest.$ac_ext
108094 cat >>conftest.$ac_ext <<_ACEOF
108095 /* end confdefs.h. */
108096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108098 #define $ac_func innocuous_$ac_func
108100 /* System header to define __stub macros and hopefully few prototypes,
108101 which can conflict with char $ac_func (); below.
108102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108103 <limits.h> exists even on freestanding compilers. */
108105 #ifdef __STDC__
108106 # include <limits.h>
108107 #else
108108 # include <assert.h>
108109 #endif
108111 #undef $ac_func
108113 /* Override any gcc2 internal prototype to avoid an error. */
108114 #ifdef __cplusplus
108115 extern "C"
108117 #endif
108118 /* We use char because int might match the return type of a gcc2
108119 builtin and then its argument prototype would still apply. */
108120 char $ac_func ();
108121 /* The GNU C library defines this for functions which it implements
108122 to always fail with ENOSYS. Some functions are actually named
108123 something starting with __ and the normal name is an alias. */
108124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108125 choke me
108126 #else
108127 char (*f) () = $ac_func;
108128 #endif
108129 #ifdef __cplusplus
108131 #endif
108134 main ()
108136 return f != $ac_func;
108138 return 0;
108140 _ACEOF
108141 rm -f conftest.$ac_objext conftest$ac_exeext
108142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108143 (eval $ac_link) 2>conftest.er1
108144 ac_status=$?
108145 grep -v '^ *+' conftest.er1 >conftest.err
108146 rm -f conftest.er1
108147 cat conftest.err >&5
108148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108149 (exit $ac_status); } &&
108150 { ac_try='test -z "$ac_c_werror_flag"
108151 || test ! -s conftest.err'
108152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108153 (eval $ac_try) 2>&5
108154 ac_status=$?
108155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108156 (exit $ac_status); }; } &&
108157 { ac_try='test -s conftest$ac_exeext'
108158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108159 (eval $ac_try) 2>&5
108160 ac_status=$?
108161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108162 (exit $ac_status); }; }; then
108163 eval "$as_ac_var=yes"
108165 echo "$as_me: failed program was:" >&5
108166 sed 's/^/| /' conftest.$ac_ext >&5
108168 eval "$as_ac_var=no"
108170 rm -f conftest.err conftest.$ac_objext \
108171 conftest$ac_exeext conftest.$ac_ext
108173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108175 if test `eval echo '${'$as_ac_var'}'` = yes; then
108176 cat >>confdefs.h <<_ACEOF
108177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108178 _ACEOF
108179 ac_XPG2funcs=yes
108181 ac_XPG2funcs=no
108186 LIBS="$ac_save_LIBS"
108188 if test x"$ac_has_iconv_h" = xyes &&
108189 test x"$ac_has_langinfo_h" = xyes &&
108190 test x"$ac_XPG2funcs" = xyes;
108193 cat >>confdefs.h <<\_ACEOF
108194 #define _GLIBCXX_USE_ICONV 1
108195 _ACEOF
108197 enable_iconv=yes
108200 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
108201 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
108202 echo "$as_me:$LINENO: result: $enable_iconv" >&5
108203 echo "${ECHO_T}$enable_iconv" >&6
108205 cat >>confdefs.h <<\_ACEOF
108206 #define HAVE_COPYSIGN 1
108207 _ACEOF
108209 cat >>confdefs.h <<\_ACEOF
108210 #define HAVE_COPYSIGNF 1
108211 _ACEOF
108213 cat >>confdefs.h <<\_ACEOF
108214 #define HAVE_FINITE 1
108215 _ACEOF
108217 cat >>confdefs.h <<\_ACEOF
108218 #define HAVE_FINITEF 1
108219 _ACEOF
108221 cat >>confdefs.h <<\_ACEOF
108222 #define HAVE_FREXPF 1
108223 _ACEOF
108225 cat >>confdefs.h <<\_ACEOF
108226 #define HAVE_HYPOTF 1
108227 _ACEOF
108229 cat >>confdefs.h <<\_ACEOF
108230 #define HAVE_ISINF 1
108231 _ACEOF
108233 cat >>confdefs.h <<\_ACEOF
108234 #define HAVE_ISINFF 1
108235 _ACEOF
108237 cat >>confdefs.h <<\_ACEOF
108238 #define HAVE_ISNAN 1
108239 _ACEOF
108241 cat >>confdefs.h <<\_ACEOF
108242 #define HAVE_ISNANF 1
108243 _ACEOF
108245 cat >>confdefs.h <<\_ACEOF
108246 #define HAVE_SINCOS 1
108247 _ACEOF
108249 cat >>confdefs.h <<\_ACEOF
108250 #define HAVE_SINCOSF 1
108251 _ACEOF
108253 if test x"long_double_math_on_this_cpu" = x"yes"; then
108254 cat >>confdefs.h <<\_ACEOF
108255 #define HAVE_FINITEL 1
108256 _ACEOF
108258 cat >>confdefs.h <<\_ACEOF
108259 #define HAVE_HYPOTL 1
108260 _ACEOF
108262 cat >>confdefs.h <<\_ACEOF
108263 #define HAVE_ISINFL 1
108264 _ACEOF
108266 cat >>confdefs.h <<\_ACEOF
108267 #define HAVE_ISNANL 1
108268 _ACEOF
108272 *-vxworks)
108273 cat >>confdefs.h <<\_ACEOF
108274 #define HAVE_MMAP 1
108275 _ACEOF
108277 cat >>confdefs.h <<\_ACEOF
108278 #define HAVE_ACOSF 1
108279 _ACEOF
108281 cat >>confdefs.h <<\_ACEOF
108282 #define HAVE_ASINF 1
108283 _ACEOF
108285 cat >>confdefs.h <<\_ACEOF
108286 #define HAVE_ATAN2F 1
108287 _ACEOF
108289 cat >>confdefs.h <<\_ACEOF
108290 #define HAVE_ATANF 1
108291 _ACEOF
108293 cat >>confdefs.h <<\_ACEOF
108294 #define HAVE_CEILF 1
108295 _ACEOF
108297 cat >>confdefs.h <<\_ACEOF
108298 #define HAVE_COSF 1
108299 _ACEOF
108301 cat >>confdefs.h <<\_ACEOF
108302 #define HAVE_COSHF 1
108303 _ACEOF
108305 cat >>confdefs.h <<\_ACEOF
108306 #define HAVE_EXPF 1
108307 _ACEOF
108309 cat >>confdefs.h <<\_ACEOF
108310 #define HAVE_FABSF 1
108311 _ACEOF
108313 cat >>confdefs.h <<\_ACEOF
108314 #define HAVE_FLOORF 1
108315 _ACEOF
108317 cat >>confdefs.h <<\_ACEOF
108318 #define HAVE_FMODF 1
108319 _ACEOF
108321 cat >>confdefs.h <<\_ACEOF
108322 #define HAVE_HYPOT 1
108323 _ACEOF
108325 cat >>confdefs.h <<\_ACEOF
108326 #define HAVE_LOG10F 1
108327 _ACEOF
108329 cat >>confdefs.h <<\_ACEOF
108330 #define HAVE_LOGF 1
108331 _ACEOF
108333 cat >>confdefs.h <<\_ACEOF
108334 #define HAVE_POWF 1
108335 _ACEOF
108337 cat >>confdefs.h <<\_ACEOF
108338 #define HAVE_SINF 1
108339 _ACEOF
108341 cat >>confdefs.h <<\_ACEOF
108342 #define HAVE_SINHF 1
108343 _ACEOF
108345 cat >>confdefs.h <<\_ACEOF
108346 #define HAVE_SQRTF 1
108347 _ACEOF
108349 cat >>confdefs.h <<\_ACEOF
108350 #define HAVE_TANF 1
108351 _ACEOF
108353 cat >>confdefs.h <<\_ACEOF
108354 #define HAVE_TANHF 1
108355 _ACEOF
108358 *-windiss*)
108359 cat >>confdefs.h <<\_ACEOF
108360 #define HAVE_ACOSF 1
108361 _ACEOF
108363 cat >>confdefs.h <<\_ACEOF
108364 #define HAVE_ACOSL 1
108365 _ACEOF
108367 cat >>confdefs.h <<\_ACEOF
108368 #define HAVE_ASINF 1
108369 _ACEOF
108371 cat >>confdefs.h <<\_ACEOF
108372 #define HAVE_ASINL 1
108373 _ACEOF
108375 cat >>confdefs.h <<\_ACEOF
108376 #define HAVE_ATAN2F 1
108377 _ACEOF
108379 cat >>confdefs.h <<\_ACEOF
108380 #define HAVE_ATAN2L 1
108381 _ACEOF
108383 cat >>confdefs.h <<\_ACEOF
108384 #define HAVE_ATANF 1
108385 _ACEOF
108387 cat >>confdefs.h <<\_ACEOF
108388 #define HAVE_ATANL 1
108389 _ACEOF
108391 cat >>confdefs.h <<\_ACEOF
108392 #define HAVE_CEILF 1
108393 _ACEOF
108395 cat >>confdefs.h <<\_ACEOF
108396 #define HAVE_CEILL 1
108397 _ACEOF
108399 cat >>confdefs.h <<\_ACEOF
108400 #define HAVE_COPYSIGN 1
108401 _ACEOF
108403 cat >>confdefs.h <<\_ACEOF
108404 #define HAVE_COPYSIGNF 1
108405 _ACEOF
108407 cat >>confdefs.h <<\_ACEOF
108408 #define HAVE_COSF 1
108409 _ACEOF
108411 cat >>confdefs.h <<\_ACEOF
108412 #define HAVE_COSL 1
108413 _ACEOF
108415 cat >>confdefs.h <<\_ACEOF
108416 #define HAVE_COSHF 1
108417 _ACEOF
108419 cat >>confdefs.h <<\_ACEOF
108420 #define HAVE_COSHL 1
108421 _ACEOF
108423 cat >>confdefs.h <<\_ACEOF
108424 #define HAVE_EXPF 1
108425 _ACEOF
108427 cat >>confdefs.h <<\_ACEOF
108428 #define HAVE_EXPL 1
108429 _ACEOF
108431 cat >>confdefs.h <<\_ACEOF
108432 #define HAVE_FABSF 1
108433 _ACEOF
108435 cat >>confdefs.h <<\_ACEOF
108436 #define HAVE_FABSL 1
108437 _ACEOF
108439 cat >>confdefs.h <<\_ACEOF
108440 #define HAVE_FLOORF 1
108441 _ACEOF
108443 cat >>confdefs.h <<\_ACEOF
108444 #define HAVE_FLOORL 1
108445 _ACEOF
108447 cat >>confdefs.h <<\_ACEOF
108448 #define HAVE_FMODF 1
108449 _ACEOF
108451 cat >>confdefs.h <<\_ACEOF
108452 #define HAVE_FMODL 1
108453 _ACEOF
108455 cat >>confdefs.h <<\_ACEOF
108456 #define HAVE_FREXPF 1
108457 _ACEOF
108459 cat >>confdefs.h <<\_ACEOF
108460 #define HAVE_FREXPL 1
108461 _ACEOF
108463 cat >>confdefs.h <<\_ACEOF
108464 #define HAVE_LDEXPF 1
108465 _ACEOF
108467 cat >>confdefs.h <<\_ACEOF
108468 #define HAVE_LDEXPL 1
108469 _ACEOF
108471 cat >>confdefs.h <<\_ACEOF
108472 #define HAVE_LOG10F 1
108473 _ACEOF
108475 cat >>confdefs.h <<\_ACEOF
108476 #define HAVE_LOG10L 1
108477 _ACEOF
108479 cat >>confdefs.h <<\_ACEOF
108480 #define HAVE_LOGF 1
108481 _ACEOF
108483 cat >>confdefs.h <<\_ACEOF
108484 #define HAVE_MODFF 1
108485 _ACEOF
108487 cat >>confdefs.h <<\_ACEOF
108488 #define HAVE_MODFL 1
108489 _ACEOF
108491 cat >>confdefs.h <<\_ACEOF
108492 #define HAVE_POWF 1
108493 _ACEOF
108495 cat >>confdefs.h <<\_ACEOF
108496 #define HAVE_POWL 1
108497 _ACEOF
108499 cat >>confdefs.h <<\_ACEOF
108500 #define HAVE_SINF 1
108501 _ACEOF
108503 cat >>confdefs.h <<\_ACEOF
108504 #define HAVE_SINL 1
108505 _ACEOF
108507 cat >>confdefs.h <<\_ACEOF
108508 #define HAVE_SINHF 1
108509 _ACEOF
108511 cat >>confdefs.h <<\_ACEOF
108512 #define HAVE_SINHL 1
108513 _ACEOF
108515 cat >>confdefs.h <<\_ACEOF
108516 #define HAVE_SQRTF 1
108517 _ACEOF
108519 cat >>confdefs.h <<\_ACEOF
108520 #define HAVE_SQRTL 1
108521 _ACEOF
108523 cat >>confdefs.h <<\_ACEOF
108524 #define HAVE_TANF 1
108525 _ACEOF
108527 cat >>confdefs.h <<\_ACEOF
108528 #define HAVE_TANL 1
108529 _ACEOF
108531 cat >>confdefs.h <<\_ACEOF
108532 #define HAVE_TANHF 1
108533 _ACEOF
108535 cat >>confdefs.h <<\_ACEOF
108536 #define HAVE_TANHL 1
108537 _ACEOF
108541 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
108542 echo "$as_me: error: No support for this host/target combination." >&2;}
108543 { (exit 1); exit 1; }; }
108549 # At some point, we should differentiate between architectures
108550 # like x86, which have long double versions, and alpha/powerpc/etc.,
108551 # which don't. For the time being, punt.
108552 if test x"long_double_math_on_this_cpu" = x"yes"; then
108553 cat >>confdefs.h <<\_ACEOF
108554 #define HAVE_ACOSL 1
108555 _ACEOF
108557 cat >>confdefs.h <<\_ACEOF
108558 #define HAVE_ASINL 1
108559 _ACEOF
108561 cat >>confdefs.h <<\_ACEOF
108562 #define HAVE_ATAN2L 1
108563 _ACEOF
108565 cat >>confdefs.h <<\_ACEOF
108566 #define HAVE_ATANL 1
108567 _ACEOF
108569 cat >>confdefs.h <<\_ACEOF
108570 #define HAVE_CEILL 1
108571 _ACEOF
108573 cat >>confdefs.h <<\_ACEOF
108574 #define HAVE_COPYSIGNL 1
108575 _ACEOF
108577 cat >>confdefs.h <<\_ACEOF
108578 #define HAVE_COSL 1
108579 _ACEOF
108581 cat >>confdefs.h <<\_ACEOF
108582 #define HAVE_COSHL 1
108583 _ACEOF
108585 cat >>confdefs.h <<\_ACEOF
108586 #define HAVE_EXPL 1
108587 _ACEOF
108589 cat >>confdefs.h <<\_ACEOF
108590 #define HAVE_FABSL 1
108591 _ACEOF
108593 cat >>confdefs.h <<\_ACEOF
108594 #define HAVE_FLOORL 1
108595 _ACEOF
108597 cat >>confdefs.h <<\_ACEOF
108598 #define HAVE_FMODL 1
108599 _ACEOF
108601 cat >>confdefs.h <<\_ACEOF
108602 #define HAVE_FREXPL 1
108603 _ACEOF
108605 cat >>confdefs.h <<\_ACEOF
108606 #define HAVE_LDEXPL 1
108607 _ACEOF
108609 cat >>confdefs.h <<\_ACEOF
108610 #define HAVE_LOG10L 1
108611 _ACEOF
108613 cat >>confdefs.h <<\_ACEOF
108614 #define HAVE_LOGL 1
108615 _ACEOF
108617 cat >>confdefs.h <<\_ACEOF
108618 #define HAVE_MODFL 1
108619 _ACEOF
108621 cat >>confdefs.h <<\_ACEOF
108622 #define HAVE_POWL 1
108623 _ACEOF
108625 cat >>confdefs.h <<\_ACEOF
108626 #define HAVE_SINCOSL 1
108627 _ACEOF
108629 cat >>confdefs.h <<\_ACEOF
108630 #define HAVE_SINL 1
108631 _ACEOF
108633 cat >>confdefs.h <<\_ACEOF
108634 #define HAVE_SINHL 1
108635 _ACEOF
108637 cat >>confdefs.h <<\_ACEOF
108638 #define HAVE_SQRTL 1
108639 _ACEOF
108641 cat >>confdefs.h <<\_ACEOF
108642 #define HAVE_TANL 1
108643 _ACEOF
108645 cat >>confdefs.h <<\_ACEOF
108646 #define HAVE_TANHL 1
108647 _ACEOF
108653 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
108656 # Check whether --enable-symvers or --disable-symvers was given.
108657 if test "${enable_symvers+set}" = set; then
108658 enableval="$enable_symvers"
108660 case "$enableval" in
108661 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
108662 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
108663 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
108664 { (exit 1); exit 1; }; } ;;
108668 enable_symvers=yes
108672 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
108673 # don't know enough about $LD to do tricks...
108676 # Turn a 'yes' into a suitable default.
108677 if test x$enable_symvers = xyes ; then
108678 if test $enable_shared = no || test "x$LD" = x ; then
108679 enable_symvers=no
108681 if test $with_gnu_ld = yes ; then
108682 enable_symvers=gnu
108684 case ${target_os} in
108685 darwin*)
108686 enable_symvers=darwin ;;
108688 enable_symvers=no ;;
108694 # Check to see if 'darwin' or 'darwin-export' can win.
108695 if test x$enable_symvers = xdarwin-export ; then
108696 enable_symvers=darwin
108699 # Check to see if 'gnu' can win.
108700 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
108701 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
108702 echo "$as_me:$LINENO: checking for shared libgcc" >&5
108703 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
108704 ac_save_CFLAGS="$CFLAGS"
108705 CFLAGS=' -lgcc_s'
108706 if test x$gcc_no_link = xyes; then
108707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108709 { (exit 1); exit 1; }; }
108711 cat >conftest.$ac_ext <<_ACEOF
108712 /* confdefs.h. */
108713 _ACEOF
108714 cat confdefs.h >>conftest.$ac_ext
108715 cat >>conftest.$ac_ext <<_ACEOF
108716 /* end confdefs.h. */
108719 main ()
108721 return 0;
108723 return 0;
108725 _ACEOF
108726 rm -f conftest.$ac_objext conftest$ac_exeext
108727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108728 (eval $ac_link) 2>conftest.er1
108729 ac_status=$?
108730 grep -v '^ *+' conftest.er1 >conftest.err
108731 rm -f conftest.er1
108732 cat conftest.err >&5
108733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108734 (exit $ac_status); } &&
108735 { ac_try='test -z "$ac_c_werror_flag"
108736 || test ! -s conftest.err'
108737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108738 (eval $ac_try) 2>&5
108739 ac_status=$?
108740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108741 (exit $ac_status); }; } &&
108742 { ac_try='test -s conftest$ac_exeext'
108743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108744 (eval $ac_try) 2>&5
108745 ac_status=$?
108746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108747 (exit $ac_status); }; }; then
108748 glibcxx_shared_libgcc=yes
108750 echo "$as_me: failed program was:" >&5
108751 sed 's/^/| /' conftest.$ac_ext >&5
108753 glibcxx_shared_libgcc=no
108755 rm -f conftest.err conftest.$ac_objext \
108756 conftest$ac_exeext conftest.$ac_ext
108757 CFLAGS="$ac_save_CFLAGS"
108758 if test $glibcxx_shared_libgcc = no; then
108759 cat > conftest.c <<EOF
108760 int main (void) { return 0; }
108762 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
108763 -shared -shared-libgcc -o conftest.so \
108764 conftest.c -v 2>&1 >/dev/null \
108765 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
108766 rm -f conftest.c conftest.so
108767 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
108768 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
108769 if test x$gcc_no_link = xyes; then
108770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108772 { (exit 1); exit 1; }; }
108774 cat >conftest.$ac_ext <<_ACEOF
108775 /* confdefs.h. */
108776 _ACEOF
108777 cat confdefs.h >>conftest.$ac_ext
108778 cat >>conftest.$ac_ext <<_ACEOF
108779 /* end confdefs.h. */
108782 main ()
108784 return 0;
108786 return 0;
108788 _ACEOF
108789 rm -f conftest.$ac_objext conftest$ac_exeext
108790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108791 (eval $ac_link) 2>conftest.er1
108792 ac_status=$?
108793 grep -v '^ *+' conftest.er1 >conftest.err
108794 rm -f conftest.er1
108795 cat conftest.err >&5
108796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108797 (exit $ac_status); } &&
108798 { ac_try='test -z "$ac_c_werror_flag"
108799 || test ! -s conftest.err'
108800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108801 (eval $ac_try) 2>&5
108802 ac_status=$?
108803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108804 (exit $ac_status); }; } &&
108805 { ac_try='test -s conftest$ac_exeext'
108806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108807 (eval $ac_try) 2>&5
108808 ac_status=$?
108809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108810 (exit $ac_status); }; }; then
108811 glibcxx_shared_libgcc=yes
108813 echo "$as_me: failed program was:" >&5
108814 sed 's/^/| /' conftest.$ac_ext >&5
108817 rm -f conftest.err conftest.$ac_objext \
108818 conftest$ac_exeext conftest.$ac_ext
108819 CFLAGS="$ac_save_CFLAGS"
108822 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
108823 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
108825 # For GNU ld, we need at least this version. The format is described in
108826 # GLIBCXX_CHECK_LINKER_FEATURES above.
108827 glibcxx_min_gnu_ld_version=21400
108829 # If no shared libgcc, can't win.
108830 if test $glibcxx_shared_libgcc != yes; then
108831 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108832 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108833 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
108834 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
108835 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108836 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108837 enable_symvers=no
108838 elif test $with_gnu_ld != yes ; then
108839 # just fail for now
108840 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108841 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108842 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
108843 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
108844 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108845 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108846 enable_symvers=no
108847 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
108848 # The right tools, the right setup, but too old. Fallbacks?
108849 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
108850 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
108851 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
108852 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
108853 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
108854 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
108855 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
108856 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
108857 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108858 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108859 enable_symvers=no
108863 # Everything parsed; figure out what file to use.
108864 case $enable_symvers in
108866 SYMVER_FILE=config/abi/pre/none.ver
108869 SYMVER_FILE=config/abi/pre/gnu.ver
108871 cat >>confdefs.h <<\_ACEOF
108872 #define _GLIBCXX_SYMVER_GNU 1
108873 _ACEOF
108876 gnu-versioned-namespace)
108877 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
108879 cat >>confdefs.h <<\_ACEOF
108880 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
108881 _ACEOF
108884 darwin)
108885 SYMVER_FILE=config/abi/pre/gnu.ver
108887 cat >>confdefs.h <<\_ACEOF
108888 #define _GLIBCXX_SYMVER_DARWIN 1
108889 _ACEOF
108894 if test x$enable_symvers != xno ; then
108896 cat >>confdefs.h <<\_ACEOF
108897 #define _GLIBCXX_SYMVER 1
108898 _ACEOF
108908 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
108909 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
108911 # Now, set up compatibility support, if any.
108912 # In addition, need this to deal with std::size_t mangling in
108913 # src/compatibility.cc. In a perfect world, could use
108914 # typeid(std::size_t).name()[0] to do direct substitution.
108915 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
108916 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
108917 ac_save_CFLAGS="$CFLAGS"
108918 CFLAGS="-Werror"
108919 cat >conftest.$ac_ext <<_ACEOF
108920 /* confdefs.h. */
108921 _ACEOF
108922 cat confdefs.h >>conftest.$ac_ext
108923 cat >>conftest.$ac_ext <<_ACEOF
108924 /* end confdefs.h. */
108927 main ()
108929 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
108931 return 0;
108933 _ACEOF
108934 rm -f conftest.$ac_objext
108935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108936 (eval $ac_compile) 2>conftest.er1
108937 ac_status=$?
108938 grep -v '^ *+' conftest.er1 >conftest.err
108939 rm -f conftest.er1
108940 cat conftest.err >&5
108941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108942 (exit $ac_status); } &&
108943 { ac_try='test -z "$ac_c_werror_flag"
108944 || test ! -s conftest.err'
108945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108946 (eval $ac_try) 2>&5
108947 ac_status=$?
108948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108949 (exit $ac_status); }; } &&
108950 { ac_try='test -s conftest.$ac_objext'
108951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108952 (eval $ac_try) 2>&5
108953 ac_status=$?
108954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108955 (exit $ac_status); }; }; then
108956 glibcxx_size_t_is_i=yes
108958 echo "$as_me: failed program was:" >&5
108959 sed 's/^/| /' conftest.$ac_ext >&5
108961 glibcxx_size_t_is_i=no
108963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108964 CFLAGS=$ac_save_CFLAGS
108965 if test "$glibcxx_size_t_is_i" = yes; then
108967 cat >>confdefs.h <<\_ACEOF
108968 #define _GLIBCXX_SIZE_T_IS_UINT 1
108969 _ACEOF
108972 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
108973 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
108975 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
108976 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
108977 ac_save_CFLAGS="$CFLAGS"
108978 CFLAGS="-Werror"
108979 cat >conftest.$ac_ext <<_ACEOF
108980 /* confdefs.h. */
108981 _ACEOF
108982 cat confdefs.h >>conftest.$ac_ext
108983 cat >>conftest.$ac_ext <<_ACEOF
108984 /* end confdefs.h. */
108987 main ()
108989 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
108991 return 0;
108993 _ACEOF
108994 rm -f conftest.$ac_objext
108995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108996 (eval $ac_compile) 2>conftest.er1
108997 ac_status=$?
108998 grep -v '^ *+' conftest.er1 >conftest.err
108999 rm -f conftest.er1
109000 cat conftest.err >&5
109001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109002 (exit $ac_status); } &&
109003 { ac_try='test -z "$ac_c_werror_flag"
109004 || test ! -s conftest.err'
109005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109006 (eval $ac_try) 2>&5
109007 ac_status=$?
109008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109009 (exit $ac_status); }; } &&
109010 { ac_try='test -s conftest.$ac_objext'
109011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109012 (eval $ac_try) 2>&5
109013 ac_status=$?
109014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109015 (exit $ac_status); }; }; then
109016 glibcxx_ptrdiff_t_is_i=yes
109018 echo "$as_me: failed program was:" >&5
109019 sed 's/^/| /' conftest.$ac_ext >&5
109021 glibcxx_ptrdiff_t_is_i=no
109023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109024 CFLAGS=$ac_save_CFLAGS
109025 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
109027 cat >>confdefs.h <<\_ACEOF
109028 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
109029 _ACEOF
109032 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
109033 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
109036 ac_ldbl_compat=no
109037 case "$target" in
109038 powerpc*-*-*gnu* | \
109039 sparc*-*-linux* | \
109040 s390*-*-linux* | \
109041 alpha*-*-linux*)
109042 cat >conftest.$ac_ext <<_ACEOF
109043 /* confdefs.h. */
109044 _ACEOF
109045 cat confdefs.h >>conftest.$ac_ext
109046 cat >>conftest.$ac_ext <<_ACEOF
109047 /* end confdefs.h. */
109050 main ()
109053 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
109054 #error no need for long double compatibility
109055 #endif
109058 return 0;
109060 _ACEOF
109061 rm -f conftest.$ac_objext
109062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109063 (eval $ac_compile) 2>conftest.er1
109064 ac_status=$?
109065 grep -v '^ *+' conftest.er1 >conftest.err
109066 rm -f conftest.er1
109067 cat conftest.err >&5
109068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109069 (exit $ac_status); } &&
109070 { ac_try='test -z "$ac_c_werror_flag"
109071 || test ! -s conftest.err'
109072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109073 (eval $ac_try) 2>&5
109074 ac_status=$?
109075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109076 (exit $ac_status); }; } &&
109077 { ac_try='test -s conftest.$ac_objext'
109078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109079 (eval $ac_try) 2>&5
109080 ac_status=$?
109081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109082 (exit $ac_status); }; }; then
109083 ac_ldbl_compat=yes
109085 echo "$as_me: failed program was:" >&5
109086 sed 's/^/| /' conftest.$ac_ext >&5
109088 ac_ldbl_compat=no
109090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109091 if test "$ac_ldbl_compat" = yes; then
109093 cat >>confdefs.h <<\_ACEOF
109094 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
109095 _ACEOF
109097 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
109102 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
109104 if $GLIBCXX_IS_NATIVE ; then
109105 # Do checks for resource limit functions.
109107 setrlimit_have_headers=yes
109111 for ac_header in unistd.h sys/time.h sys/resource.h
109113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109115 echo "$as_me:$LINENO: checking for $ac_header" >&5
109116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109118 echo $ECHO_N "(cached) $ECHO_C" >&6
109120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109123 # Is the header compilable?
109124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109126 cat >conftest.$ac_ext <<_ACEOF
109127 /* confdefs.h. */
109128 _ACEOF
109129 cat confdefs.h >>conftest.$ac_ext
109130 cat >>conftest.$ac_ext <<_ACEOF
109131 /* end confdefs.h. */
109132 $ac_includes_default
109133 #include <$ac_header>
109134 _ACEOF
109135 rm -f conftest.$ac_objext
109136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109137 (eval $ac_compile) 2>conftest.er1
109138 ac_status=$?
109139 grep -v '^ *+' conftest.er1 >conftest.err
109140 rm -f conftest.er1
109141 cat conftest.err >&5
109142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109143 (exit $ac_status); } &&
109144 { ac_try='test -z "$ac_c_werror_flag"
109145 || test ! -s conftest.err'
109146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109147 (eval $ac_try) 2>&5
109148 ac_status=$?
109149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109150 (exit $ac_status); }; } &&
109151 { ac_try='test -s conftest.$ac_objext'
109152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109153 (eval $ac_try) 2>&5
109154 ac_status=$?
109155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109156 (exit $ac_status); }; }; then
109157 ac_header_compiler=yes
109159 echo "$as_me: failed program was:" >&5
109160 sed 's/^/| /' conftest.$ac_ext >&5
109162 ac_header_compiler=no
109164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109166 echo "${ECHO_T}$ac_header_compiler" >&6
109168 # Is the header present?
109169 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109170 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109171 cat >conftest.$ac_ext <<_ACEOF
109172 /* confdefs.h. */
109173 _ACEOF
109174 cat confdefs.h >>conftest.$ac_ext
109175 cat >>conftest.$ac_ext <<_ACEOF
109176 /* end confdefs.h. */
109177 #include <$ac_header>
109178 _ACEOF
109179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109180 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109181 ac_status=$?
109182 grep -v '^ *+' conftest.er1 >conftest.err
109183 rm -f conftest.er1
109184 cat conftest.err >&5
109185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109186 (exit $ac_status); } >/dev/null; then
109187 if test -s conftest.err; then
109188 ac_cpp_err=$ac_c_preproc_warn_flag
109189 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109191 ac_cpp_err=
109194 ac_cpp_err=yes
109196 if test -z "$ac_cpp_err"; then
109197 ac_header_preproc=yes
109199 echo "$as_me: failed program was:" >&5
109200 sed 's/^/| /' conftest.$ac_ext >&5
109202 ac_header_preproc=no
109204 rm -f conftest.err conftest.$ac_ext
109205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109206 echo "${ECHO_T}$ac_header_preproc" >&6
109208 # So? What about this header?
109209 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109210 yes:no: )
109211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109215 ac_header_preproc=yes
109217 no:yes:* )
109218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109231 cat <<\_ASBOX
109232 ## ----------------------------------------- ##
109233 ## Report this to the package-unused lists. ##
109234 ## ----------------------------------------- ##
109235 _ASBOX
109237 sed "s/^/$as_me: WARNING: /" >&2
109240 echo "$as_me:$LINENO: checking for $ac_header" >&5
109241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109243 echo $ECHO_N "(cached) $ECHO_C" >&6
109245 eval "$as_ac_Header=\$ac_header_preproc"
109247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109252 cat >>confdefs.h <<_ACEOF
109253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109254 _ACEOF
109257 setrlimit_have_headers=no
109262 # If don't have the headers, then we can't run the tests now, and we
109263 # won't be seeing any of these during testsuite compilation.
109264 if test $setrlimit_have_headers = yes; then
109265 # Can't do these in a loop, else the resulting syntax is wrong.
109267 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
109268 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
109269 cat >conftest.$ac_ext <<_ACEOF
109270 /* confdefs.h. */
109271 _ACEOF
109272 cat confdefs.h >>conftest.$ac_ext
109273 cat >>conftest.$ac_ext <<_ACEOF
109274 /* end confdefs.h. */
109275 #include <unistd.h>
109276 #include <sys/time.h>
109277 #include <sys/resource.h>
109280 main ()
109282 int f = RLIMIT_DATA ;
109284 return 0;
109286 _ACEOF
109287 rm -f conftest.$ac_objext
109288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109289 (eval $ac_compile) 2>conftest.er1
109290 ac_status=$?
109291 grep -v '^ *+' conftest.er1 >conftest.err
109292 rm -f conftest.er1
109293 cat conftest.err >&5
109294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109295 (exit $ac_status); } &&
109296 { ac_try='test -z "$ac_c_werror_flag"
109297 || test ! -s conftest.err'
109298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109299 (eval $ac_try) 2>&5
109300 ac_status=$?
109301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109302 (exit $ac_status); }; } &&
109303 { ac_try='test -s conftest.$ac_objext'
109304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109305 (eval $ac_try) 2>&5
109306 ac_status=$?
109307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109308 (exit $ac_status); }; }; then
109309 glibcxx_mresult=1
109311 echo "$as_me: failed program was:" >&5
109312 sed 's/^/| /' conftest.$ac_ext >&5
109314 glibcxx_mresult=0
109316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109318 cat >>confdefs.h <<_ACEOF
109319 #define HAVE_LIMIT_DATA $glibcxx_mresult
109320 _ACEOF
109322 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109323 echo "$as_me:$LINENO: result: $res" >&5
109324 echo "${ECHO_T}$res" >&6
109327 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
109328 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
109329 cat >conftest.$ac_ext <<_ACEOF
109330 /* confdefs.h. */
109331 _ACEOF
109332 cat confdefs.h >>conftest.$ac_ext
109333 cat >>conftest.$ac_ext <<_ACEOF
109334 /* end confdefs.h. */
109335 #include <unistd.h>
109336 #include <sys/time.h>
109337 #include <sys/resource.h>
109340 main ()
109342 int f = RLIMIT_RSS ;
109344 return 0;
109346 _ACEOF
109347 rm -f conftest.$ac_objext
109348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109349 (eval $ac_compile) 2>conftest.er1
109350 ac_status=$?
109351 grep -v '^ *+' conftest.er1 >conftest.err
109352 rm -f conftest.er1
109353 cat conftest.err >&5
109354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109355 (exit $ac_status); } &&
109356 { ac_try='test -z "$ac_c_werror_flag"
109357 || test ! -s conftest.err'
109358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109359 (eval $ac_try) 2>&5
109360 ac_status=$?
109361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109362 (exit $ac_status); }; } &&
109363 { ac_try='test -s conftest.$ac_objext'
109364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109365 (eval $ac_try) 2>&5
109366 ac_status=$?
109367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109368 (exit $ac_status); }; }; then
109369 glibcxx_mresult=1
109371 echo "$as_me: failed program was:" >&5
109372 sed 's/^/| /' conftest.$ac_ext >&5
109374 glibcxx_mresult=0
109376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109378 cat >>confdefs.h <<_ACEOF
109379 #define HAVE_LIMIT_RSS $glibcxx_mresult
109380 _ACEOF
109382 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109383 echo "$as_me:$LINENO: result: $res" >&5
109384 echo "${ECHO_T}$res" >&6
109387 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
109388 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
109389 cat >conftest.$ac_ext <<_ACEOF
109390 /* confdefs.h. */
109391 _ACEOF
109392 cat confdefs.h >>conftest.$ac_ext
109393 cat >>conftest.$ac_ext <<_ACEOF
109394 /* end confdefs.h. */
109395 #include <unistd.h>
109396 #include <sys/time.h>
109397 #include <sys/resource.h>
109400 main ()
109402 int f = RLIMIT_VMEM ;
109404 return 0;
109406 _ACEOF
109407 rm -f conftest.$ac_objext
109408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109409 (eval $ac_compile) 2>conftest.er1
109410 ac_status=$?
109411 grep -v '^ *+' conftest.er1 >conftest.err
109412 rm -f conftest.er1
109413 cat conftest.err >&5
109414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109415 (exit $ac_status); } &&
109416 { ac_try='test -z "$ac_c_werror_flag"
109417 || test ! -s conftest.err'
109418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109419 (eval $ac_try) 2>&5
109420 ac_status=$?
109421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109422 (exit $ac_status); }; } &&
109423 { ac_try='test -s conftest.$ac_objext'
109424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109425 (eval $ac_try) 2>&5
109426 ac_status=$?
109427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109428 (exit $ac_status); }; }; then
109429 glibcxx_mresult=1
109431 echo "$as_me: failed program was:" >&5
109432 sed 's/^/| /' conftest.$ac_ext >&5
109434 glibcxx_mresult=0
109436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109438 cat >>confdefs.h <<_ACEOF
109439 #define HAVE_LIMIT_VMEM $glibcxx_mresult
109440 _ACEOF
109442 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109443 echo "$as_me:$LINENO: result: $res" >&5
109444 echo "${ECHO_T}$res" >&6
109447 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
109448 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
109449 cat >conftest.$ac_ext <<_ACEOF
109450 /* confdefs.h. */
109451 _ACEOF
109452 cat confdefs.h >>conftest.$ac_ext
109453 cat >>conftest.$ac_ext <<_ACEOF
109454 /* end confdefs.h. */
109455 #include <unistd.h>
109456 #include <sys/time.h>
109457 #include <sys/resource.h>
109460 main ()
109462 int f = RLIMIT_AS ;
109464 return 0;
109466 _ACEOF
109467 rm -f conftest.$ac_objext
109468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109469 (eval $ac_compile) 2>conftest.er1
109470 ac_status=$?
109471 grep -v '^ *+' conftest.er1 >conftest.err
109472 rm -f conftest.er1
109473 cat conftest.err >&5
109474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109475 (exit $ac_status); } &&
109476 { ac_try='test -z "$ac_c_werror_flag"
109477 || test ! -s conftest.err'
109478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109479 (eval $ac_try) 2>&5
109480 ac_status=$?
109481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109482 (exit $ac_status); }; } &&
109483 { ac_try='test -s conftest.$ac_objext'
109484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109485 (eval $ac_try) 2>&5
109486 ac_status=$?
109487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109488 (exit $ac_status); }; }; then
109489 glibcxx_mresult=1
109491 echo "$as_me: failed program was:" >&5
109492 sed 's/^/| /' conftest.$ac_ext >&5
109494 glibcxx_mresult=0
109496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109498 cat >>confdefs.h <<_ACEOF
109499 #define HAVE_LIMIT_AS $glibcxx_mresult
109500 _ACEOF
109502 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109503 echo "$as_me:$LINENO: result: $res" >&5
109504 echo "${ECHO_T}$res" >&6
109507 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
109508 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
109509 cat >conftest.$ac_ext <<_ACEOF
109510 /* confdefs.h. */
109511 _ACEOF
109512 cat confdefs.h >>conftest.$ac_ext
109513 cat >>conftest.$ac_ext <<_ACEOF
109514 /* end confdefs.h. */
109515 #include <unistd.h>
109516 #include <sys/time.h>
109517 #include <sys/resource.h>
109520 main ()
109522 int f = RLIMIT_FSIZE ;
109524 return 0;
109526 _ACEOF
109527 rm -f conftest.$ac_objext
109528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109529 (eval $ac_compile) 2>conftest.er1
109530 ac_status=$?
109531 grep -v '^ *+' conftest.er1 >conftest.err
109532 rm -f conftest.er1
109533 cat conftest.err >&5
109534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109535 (exit $ac_status); } &&
109536 { ac_try='test -z "$ac_c_werror_flag"
109537 || test ! -s conftest.err'
109538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109539 (eval $ac_try) 2>&5
109540 ac_status=$?
109541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109542 (exit $ac_status); }; } &&
109543 { ac_try='test -s conftest.$ac_objext'
109544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109545 (eval $ac_try) 2>&5
109546 ac_status=$?
109547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109548 (exit $ac_status); }; }; then
109549 glibcxx_mresult=1
109551 echo "$as_me: failed program was:" >&5
109552 sed 's/^/| /' conftest.$ac_ext >&5
109554 glibcxx_mresult=0
109556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109558 cat >>confdefs.h <<_ACEOF
109559 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
109560 _ACEOF
109562 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109563 echo "$as_me:$LINENO: result: $res" >&5
109564 echo "${ECHO_T}$res" >&6
109567 # Check for rlimit, setrlimit.
109568 if test "${ac_setrlimit+set}" = set; then
109569 echo $ECHO_N "(cached) $ECHO_C" >&6
109572 cat >conftest.$ac_ext <<_ACEOF
109573 /* confdefs.h. */
109574 _ACEOF
109575 cat confdefs.h >>conftest.$ac_ext
109576 cat >>conftest.$ac_ext <<_ACEOF
109577 /* end confdefs.h. */
109578 #include <unistd.h>
109579 #include <sys/time.h>
109580 #include <sys/resource.h>
109583 main ()
109585 struct rlimit r;
109586 setrlimit(0, &r);
109588 return 0;
109590 _ACEOF
109591 rm -f conftest.$ac_objext
109592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109593 (eval $ac_compile) 2>conftest.er1
109594 ac_status=$?
109595 grep -v '^ *+' conftest.er1 >conftest.err
109596 rm -f conftest.er1
109597 cat conftest.err >&5
109598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109599 (exit $ac_status); } &&
109600 { ac_try='test -z "$ac_c_werror_flag"
109601 || test ! -s conftest.err'
109602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109603 (eval $ac_try) 2>&5
109604 ac_status=$?
109605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109606 (exit $ac_status); }; } &&
109607 { ac_try='test -s conftest.$ac_objext'
109608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109609 (eval $ac_try) 2>&5
109610 ac_status=$?
109611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109612 (exit $ac_status); }; }; then
109613 ac_setrlimit=yes
109615 echo "$as_me: failed program was:" >&5
109616 sed 's/^/| /' conftest.$ac_ext >&5
109618 ac_setrlimit=no
109620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109626 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
109627 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
109628 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
109629 ac_res_limits=yes
109631 cat >>confdefs.h <<\_ACEOF
109632 #define _GLIBCXX_RES_LIMITS 1
109633 _ACEOF
109636 ac_res_limits=no
109638 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
109639 echo "${ECHO_T}$ac_res_limits" >&6
109642 # Look for setenv, so that extended locale tests can be performed.
109644 echo "$as_me:$LINENO: checking for setenv declaration" >&5
109645 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
109646 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
109647 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
109648 echo $ECHO_N "(cached) $ECHO_C" >&6
109653 ac_ext=cc
109654 ac_cpp='$CXXCPP $CPPFLAGS'
109655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109659 cat >conftest.$ac_ext <<_ACEOF
109660 /* confdefs.h. */
109661 _ACEOF
109662 cat confdefs.h >>conftest.$ac_ext
109663 cat >>conftest.$ac_ext <<_ACEOF
109664 /* end confdefs.h. */
109665 #include <stdlib.h>
109667 main ()
109669 setenv(0, 0, 0);
109671 return 0;
109673 _ACEOF
109674 rm -f conftest.$ac_objext
109675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109676 (eval $ac_compile) 2>conftest.er1
109677 ac_status=$?
109678 grep -v '^ *+' conftest.er1 >conftest.err
109679 rm -f conftest.er1
109680 cat conftest.err >&5
109681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109682 (exit $ac_status); } &&
109683 { ac_try='test -z "$ac_cxx_werror_flag"
109684 || test ! -s conftest.err'
109685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109686 (eval $ac_try) 2>&5
109687 ac_status=$?
109688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109689 (exit $ac_status); }; } &&
109690 { ac_try='test -s conftest.$ac_objext'
109691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109692 (eval $ac_try) 2>&5
109693 ac_status=$?
109694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109695 (exit $ac_status); }; }; then
109696 glibcxx_cv_func_setenv_use=yes
109698 echo "$as_me: failed program was:" >&5
109699 sed 's/^/| /' conftest.$ac_ext >&5
109701 glibcxx_cv_func_setenv_use=no
109703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109704 ac_ext=c
109705 ac_cpp='$CPP $CPPFLAGS'
109706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109714 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
109715 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
109716 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
109718 for ac_func in setenv
109720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109721 echo "$as_me:$LINENO: checking for $ac_func" >&5
109722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109723 if eval "test \"\${$as_ac_var+set}\" = set"; then
109724 echo $ECHO_N "(cached) $ECHO_C" >&6
109726 if test x$gcc_no_link = xyes; then
109727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109729 { (exit 1); exit 1; }; }
109731 cat >conftest.$ac_ext <<_ACEOF
109732 /* confdefs.h. */
109733 _ACEOF
109734 cat confdefs.h >>conftest.$ac_ext
109735 cat >>conftest.$ac_ext <<_ACEOF
109736 /* end confdefs.h. */
109737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109739 #define $ac_func innocuous_$ac_func
109741 /* System header to define __stub macros and hopefully few prototypes,
109742 which can conflict with char $ac_func (); below.
109743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109744 <limits.h> exists even on freestanding compilers. */
109746 #ifdef __STDC__
109747 # include <limits.h>
109748 #else
109749 # include <assert.h>
109750 #endif
109752 #undef $ac_func
109754 /* Override any gcc2 internal prototype to avoid an error. */
109755 #ifdef __cplusplus
109756 extern "C"
109758 #endif
109759 /* We use char because int might match the return type of a gcc2
109760 builtin and then its argument prototype would still apply. */
109761 char $ac_func ();
109762 /* The GNU C library defines this for functions which it implements
109763 to always fail with ENOSYS. Some functions are actually named
109764 something starting with __ and the normal name is an alias. */
109765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109766 choke me
109767 #else
109768 char (*f) () = $ac_func;
109769 #endif
109770 #ifdef __cplusplus
109772 #endif
109775 main ()
109777 return f != $ac_func;
109779 return 0;
109781 _ACEOF
109782 rm -f conftest.$ac_objext conftest$ac_exeext
109783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109784 (eval $ac_link) 2>conftest.er1
109785 ac_status=$?
109786 grep -v '^ *+' conftest.er1 >conftest.err
109787 rm -f conftest.er1
109788 cat conftest.err >&5
109789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109790 (exit $ac_status); } &&
109791 { ac_try='test -z "$ac_c_werror_flag"
109792 || test ! -s conftest.err'
109793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109794 (eval $ac_try) 2>&5
109795 ac_status=$?
109796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109797 (exit $ac_status); }; } &&
109798 { ac_try='test -s conftest$ac_exeext'
109799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109800 (eval $ac_try) 2>&5
109801 ac_status=$?
109802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109803 (exit $ac_status); }; }; then
109804 eval "$as_ac_var=yes"
109806 echo "$as_me: failed program was:" >&5
109807 sed 's/^/| /' conftest.$ac_ext >&5
109809 eval "$as_ac_var=no"
109811 rm -f conftest.err conftest.$ac_objext \
109812 conftest$ac_exeext conftest.$ac_ext
109814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109816 if test `eval echo '${'$as_ac_var'}'` = yes; then
109817 cat >>confdefs.h <<_ACEOF
109818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109819 _ACEOF
109828 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
109829 test $enable_symvers != no; then
109830 case "$host" in
109831 *-*-cygwin*)
109832 enable_abi_check=no ;;
109834 enable_abi_check=yes ;;
109837 # Only build this as native, since automake does not understand
109838 # CXX_FOR_BUILD.
109839 enable_abi_check=no
109842 # Export file names for ABI checking.
109843 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
109847 # Propagate the target-specific source directories through the build chain.
109848 ATOMICITY_SRCDIR=config/${atomicity_dir}
109849 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
109850 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
109851 OS_INC_SRCDIR=config/${os_include_dir}
109852 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
109859 # Determine cross-compile flags and AM_CONDITIONALs.
109860 #AC_SUBST(GLIBCXX_IS_NATIVE)
109861 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
109862 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
109863 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
109866 if test $is_hosted = yes; then
109867 GLIBCXX_HOSTED_TRUE=
109868 GLIBCXX_HOSTED_FALSE='#'
109870 GLIBCXX_HOSTED_TRUE='#'
109871 GLIBCXX_HOSTED_FALSE=
109877 if test $enable_libstdcxx_pch = yes; then
109878 GLIBCXX_BUILD_PCH_TRUE=
109879 GLIBCXX_BUILD_PCH_FALSE='#'
109881 GLIBCXX_BUILD_PCH_TRUE='#'
109882 GLIBCXX_BUILD_PCH_FALSE=
109888 if test $enable_cheaders = c; then
109889 GLIBCXX_C_HEADERS_C_TRUE=
109890 GLIBCXX_C_HEADERS_C_FALSE='#'
109892 GLIBCXX_C_HEADERS_C_TRUE='#'
109893 GLIBCXX_C_HEADERS_C_FALSE=
109899 if test $enable_cheaders = c_std; then
109900 GLIBCXX_C_HEADERS_C_STD_TRUE=
109901 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
109903 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
109904 GLIBCXX_C_HEADERS_C_STD_FALSE=
109910 if test $c_compatibility = yes; then
109911 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
109912 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
109914 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
109915 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
109921 if test $enable_libstdcxx_debug = yes; then
109922 GLIBCXX_BUILD_DEBUG_TRUE=
109923 GLIBCXX_BUILD_DEBUG_FALSE='#'
109925 GLIBCXX_BUILD_DEBUG_TRUE='#'
109926 GLIBCXX_BUILD_DEBUG_FALSE=
109932 if test $enable_symvers != no; then
109933 ENABLE_SYMVERS_TRUE=
109934 ENABLE_SYMVERS_FALSE='#'
109936 ENABLE_SYMVERS_TRUE='#'
109937 ENABLE_SYMVERS_FALSE=
109943 if test $enable_symvers = gnu; then
109944 ENABLE_SYMVERS_GNU_TRUE=
109945 ENABLE_SYMVERS_GNU_FALSE='#'
109947 ENABLE_SYMVERS_GNU_TRUE='#'
109948 ENABLE_SYMVERS_GNU_FALSE=
109954 if test $enable_symvers = gnu-versioned-namespace; then
109955 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
109956 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
109958 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
109959 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
109965 if test $enable_symvers = darwin; then
109966 ENABLE_SYMVERS_DARWIN_TRUE=
109967 ENABLE_SYMVERS_DARWIN_FALSE='#'
109969 ENABLE_SYMVERS_DARWIN_TRUE='#'
109970 ENABLE_SYMVERS_DARWIN_FALSE=
109976 if test $ac_ldbl_compat = yes; then
109977 GLIBCXX_LDBL_COMPAT_TRUE=
109978 GLIBCXX_LDBL_COMPAT_FALSE='#'
109980 GLIBCXX_LDBL_COMPAT_TRUE='#'
109981 GLIBCXX_LDBL_COMPAT_FALSE=
109987 cat >confcache <<\_ACEOF
109988 # This file is a shell script that caches the results of configure
109989 # tests run on this system so they can be shared between configure
109990 # scripts and configure runs, see configure's option --config-cache.
109991 # It is not useful on other systems. If it contains results you don't
109992 # want to keep, you may remove or edit it.
109994 # config.status only pays attention to the cache file if you give it
109995 # the --recheck option to rerun configure.
109997 # `ac_cv_env_foo' variables (set or unset) will be overridden when
109998 # loading this file, other *unset* `ac_cv_foo' will be assigned the
109999 # following values.
110001 _ACEOF
110003 # The following way of writing the cache mishandles newlines in values,
110004 # but we know of no workaround that is simple, portable, and efficient.
110005 # So, don't put newlines in cache variables' values.
110006 # Ultrix sh set writes to stderr and can't be redirected directly,
110007 # and sets the high bit in the cache file unless we assign to the vars.
110009 (set) 2>&1 |
110010 case `(ac_space=' '; set | grep ac_space) 2>&1` in
110011 *ac_space=\ *)
110012 # `set' does not quote correctly, so add quotes (double-quote
110013 # substitution turns \\\\ into \\, and sed turns \\ into \).
110014 sed -n \
110015 "s/'/'\\\\''/g;
110016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110019 # `set' quotes correctly as required by POSIX, so do not add quotes.
110020 sed -n \
110021 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110023 esac;
110025 sed '
110026 t clear
110027 : clear
110028 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110029 t end
110030 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110031 : end' >>confcache
110032 if diff $cache_file confcache >/dev/null 2>&1; then :; else
110033 if test -w $cache_file; then
110034 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110035 cat confcache >$cache_file
110037 echo "not updating unwritable cache $cache_file"
110040 rm -f confcache
110042 if test ${multilib} = yes; then
110043 multilib_arg="--enable-multilib"
110045 multilib_arg=
110048 # Export all the install information.
110050 glibcxx_toolexecdir=no
110051 glibcxx_toolexeclibdir=no
110052 glibcxx_prefixdir=$prefix
110054 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
110055 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
110057 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
110058 if test "${with_gxx_include_dir+set}" = set; then
110059 withval="$with_gxx_include_dir"
110060 case "$withval" in
110061 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
110062 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
110063 { (exit 1); exit 1; }; } ;;
110064 no) gxx_include_dir=no ;;
110065 *) gxx_include_dir=$withval ;;
110068 gxx_include_dir=no
110070 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110071 echo "${ECHO_T}$gxx_include_dir" >&6
110073 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
110074 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
110075 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
110076 if test "${enable_version_specific_runtime_libs+set}" = set; then
110077 enableval="$enable_version_specific_runtime_libs"
110078 case "$enableval" in
110079 yes) version_specific_libs=yes ;;
110080 no) version_specific_libs=no ;;
110081 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
110082 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
110083 { (exit 1); exit 1; }; };;
110086 version_specific_libs=no
110088 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
110089 echo "${ECHO_T}$version_specific_libs" >&6
110091 # Default case for install directory for include files.
110092 if test $version_specific_libs = no && test $gxx_include_dir = no; then
110093 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
110096 # Version-specific runtime libs processing.
110097 if test $version_specific_libs = yes; then
110098 # Need the gcc compiler version to know where to install libraries
110099 # and header files if --enable-version-specific-runtime-libs option
110100 # is selected. FIXME: these variables are misnamed, there are
110101 # no executables installed in _toolexecdir or _toolexeclibdir.
110102 if test x"$gxx_include_dir" = x"no"; then
110103 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
110105 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110106 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
110109 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
110110 # Install a library built with a cross compiler in tooldir, not libdir.
110111 if test x"$glibcxx_toolexecdir" = x"no"; then
110112 if test -n "$with_cross_host" &&
110113 test x"$with_cross_host" != x"no"; then
110114 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
110115 glibcxx_toolexeclibdir='${toolexecdir}/lib'
110117 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110118 glibcxx_toolexeclibdir='${libdir}'
110120 multi_os_directory=`$CXX -print-multi-os-directory`
110121 case $multi_os_directory in
110122 .) ;; # Avoid trailing /.
110123 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
110127 echo "$as_me:$LINENO: checking for install location" >&5
110128 echo $ECHO_N "checking for install location... $ECHO_C" >&6
110129 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110130 echo "${ECHO_T}$gxx_include_dir" >&6
110138 # Export all the include and flag information to Makefiles.
110140 # Used for every C++ compile we perform.
110141 GLIBCXX_INCLUDES="\
110142 -I$glibcxx_builddir/include/$host_alias \
110143 -I$glibcxx_builddir/include \
110144 -I$glibcxx_srcdir/libsupc++"
110146 # For Canadian crosses, pick this up too.
110147 if test $CANADIAN = yes; then
110148 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
110151 # Stuff in the actual top level. Currently only used by libsupc++ to
110152 # get unwind* headers from the gcc dir.
110153 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
110154 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
110156 # Now, export this to all the little Makefiles....
110161 # Optimization flags that are probably a good idea for thrill-seekers. Just
110162 # uncomment the lines below and make, everything else is ready to go...
110163 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
110164 OPTIMIZE_CXXFLAGS=
110167 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
110171 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
110172 grep "enable shared" > /dev/null;
110174 LIBSUPCXX_PICFLAGS=-prefer-pic
110176 LIBSUPCXX_PICFLAGS=
110180 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
110182 ac_config_files="$ac_config_files scripts/testsuite_flags"
110185 ac_config_commands="$ac_config_commands default"
110188 cat >confcache <<\_ACEOF
110189 # This file is a shell script that caches the results of configure
110190 # tests run on this system so they can be shared between configure
110191 # scripts and configure runs, see configure's option --config-cache.
110192 # It is not useful on other systems. If it contains results you don't
110193 # want to keep, you may remove or edit it.
110195 # config.status only pays attention to the cache file if you give it
110196 # the --recheck option to rerun configure.
110198 # `ac_cv_env_foo' variables (set or unset) will be overridden when
110199 # loading this file, other *unset* `ac_cv_foo' will be assigned the
110200 # following values.
110202 _ACEOF
110204 # The following way of writing the cache mishandles newlines in values,
110205 # but we know of no workaround that is simple, portable, and efficient.
110206 # So, don't put newlines in cache variables' values.
110207 # Ultrix sh set writes to stderr and can't be redirected directly,
110208 # and sets the high bit in the cache file unless we assign to the vars.
110210 (set) 2>&1 |
110211 case `(ac_space=' '; set | grep ac_space) 2>&1` in
110212 *ac_space=\ *)
110213 # `set' does not quote correctly, so add quotes (double-quote
110214 # substitution turns \\\\ into \\, and sed turns \\ into \).
110215 sed -n \
110216 "s/'/'\\\\''/g;
110217 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110220 # `set' quotes correctly as required by POSIX, so do not add quotes.
110221 sed -n \
110222 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110224 esac;
110226 sed '
110227 t clear
110228 : clear
110229 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110230 t end
110231 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110232 : end' >>confcache
110233 if diff $cache_file confcache >/dev/null 2>&1; then :; else
110234 if test -w $cache_file; then
110235 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110236 cat confcache >$cache_file
110238 echo "not updating unwritable cache $cache_file"
110241 rm -f confcache
110243 test "x$prefix" = xNONE && prefix=$ac_default_prefix
110244 # Let make expand exec_prefix.
110245 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
110247 # VPATH may cause trouble with some makes, so we remove $(srcdir),
110248 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
110249 # trailing colons and then remove the whole line if VPATH becomes empty
110250 # (actually we leave an empty line to preserve line numbers).
110251 if test "x$srcdir" = x.; then
110252 ac_vpsub='/^[ ]*VPATH[ ]*=/{
110253 s/:*\$(srcdir):*/:/;
110254 s/:*\${srcdir}:*/:/;
110255 s/:*@srcdir@:*/:/;
110256 s/^\([^=]*=[ ]*\):*/\1/;
110257 s/:*$//;
110258 s/^[^=]*=[ ]*$//;
110262 DEFS=-DHAVE_CONFIG_H
110264 ac_libobjs=
110265 ac_ltlibobjs=
110266 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
110267 # 1. Remove the extension, and $U if already installed.
110268 ac_i=`echo "$ac_i" |
110269 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
110270 # 2. Add them.
110271 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
110272 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
110274 LIBOBJS=$ac_libobjs
110276 LTLIBOBJS=$ac_ltlibobjs
110279 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
110280 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
110281 Usually this means the macro was only invoked conditionally." >&5
110282 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
110283 Usually this means the macro was only invoked conditionally." >&2;}
110284 { (exit 1); exit 1; }; }
110286 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
110287 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110288 Usually this means the macro was only invoked conditionally." >&5
110289 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110290 Usually this means the macro was only invoked conditionally." >&2;}
110291 { (exit 1); exit 1; }; }
110293 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
110294 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110295 Usually this means the macro was only invoked conditionally." >&5
110296 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110297 Usually this means the macro was only invoked conditionally." >&2;}
110298 { (exit 1); exit 1; }; }
110300 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
110301 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110302 Usually this means the macro was only invoked conditionally." >&5
110303 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110304 Usually this means the macro was only invoked conditionally." >&2;}
110305 { (exit 1); exit 1; }; }
110307 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
110308 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110309 Usually this means the macro was only invoked conditionally." >&5
110310 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110311 Usually this means the macro was only invoked conditionally." >&2;}
110312 { (exit 1); exit 1; }; }
110314 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
110315 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110316 Usually this means the macro was only invoked conditionally." >&5
110317 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110318 Usually this means the macro was only invoked conditionally." >&2;}
110319 { (exit 1); exit 1; }; }
110321 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
110322 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110323 Usually this means the macro was only invoked conditionally." >&5
110324 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110325 Usually this means the macro was only invoked conditionally." >&2;}
110326 { (exit 1); exit 1; }; }
110328 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
110329 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
110330 Usually this means the macro was only invoked conditionally." >&5
110331 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
110332 Usually this means the macro was only invoked conditionally." >&2;}
110333 { (exit 1); exit 1; }; }
110335 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
110336 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110337 Usually this means the macro was only invoked conditionally." >&5
110338 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110339 Usually this means the macro was only invoked conditionally." >&2;}
110340 { (exit 1); exit 1; }; }
110342 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
110343 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110344 Usually this means the macro was only invoked conditionally." >&5
110345 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110346 Usually this means the macro was only invoked conditionally." >&2;}
110347 { (exit 1); exit 1; }; }
110349 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
110350 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110351 Usually this means the macro was only invoked conditionally." >&5
110352 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110353 Usually this means the macro was only invoked conditionally." >&2;}
110354 { (exit 1); exit 1; }; }
110356 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
110357 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110358 Usually this means the macro was only invoked conditionally." >&5
110359 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110360 Usually this means the macro was only invoked conditionally." >&2;}
110361 { (exit 1); exit 1; }; }
110364 : ${CONFIG_STATUS=./config.status}
110365 ac_clean_files_save=$ac_clean_files
110366 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
110367 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
110368 echo "$as_me: creating $CONFIG_STATUS" >&6;}
110369 cat >$CONFIG_STATUS <<_ACEOF
110370 #! $SHELL
110371 # Generated by $as_me.
110372 # Run this file to recreate the current configuration.
110373 # Compiler output produced by configure, useful for debugging
110374 # configure, is in config.log if it exists.
110376 debug=false
110377 ac_cs_recheck=false
110378 ac_cs_silent=false
110379 SHELL=\${CONFIG_SHELL-$SHELL}
110380 _ACEOF
110382 cat >>$CONFIG_STATUS <<\_ACEOF
110383 ## --------------------- ##
110384 ## M4sh Initialization. ##
110385 ## --------------------- ##
110387 # Be Bourne compatible
110388 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
110389 emulate sh
110390 NULLCMD=:
110391 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
110392 # is contrary to our usage. Disable this feature.
110393 alias -g '${1+"$@"}'='"$@"'
110394 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
110395 set -o posix
110397 DUALCASE=1; export DUALCASE # for MKS sh
110399 # Support unset when possible.
110400 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
110401 as_unset=unset
110403 as_unset=false
110407 # Work around bugs in pre-3.0 UWIN ksh.
110408 $as_unset ENV MAIL MAILPATH
110409 PS1='$ '
110410 PS2='> '
110411 PS4='+ '
110413 # NLS nuisances.
110414 for as_var in \
110415 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
110416 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110417 LC_TELEPHONE LC_TIME
110419 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110420 eval $as_var=C; export $as_var
110422 $as_unset $as_var
110426 # Required to use basename.
110427 if expr a : '\(a\)' >/dev/null 2>&1; then
110428 as_expr=expr
110430 as_expr=false
110433 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
110434 as_basename=basename
110436 as_basename=false
110440 # Name of the executable.
110441 as_me=`$as_basename "$0" ||
110442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
110443 X"$0" : 'X\(//\)$' \| \
110444 X"$0" : 'X\(/\)$' \| \
110445 . : '\(.\)' 2>/dev/null ||
110446 echo X/"$0" |
110447 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
110448 /^X\/\(\/\/\)$/{ s//\1/; q; }
110449 /^X\/\(\/\).*/{ s//\1/; q; }
110450 s/.*/./; q'`
110453 # PATH needs CR, and LINENO needs CR and PATH.
110454 # Avoid depending upon Character Ranges.
110455 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
110456 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
110457 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
110458 as_cr_digits='0123456789'
110459 as_cr_alnum=$as_cr_Letters$as_cr_digits
110461 # The user is always right.
110462 if test "${PATH_SEPARATOR+set}" != set; then
110463 echo "#! /bin/sh" >conf$$.sh
110464 echo "exit 0" >>conf$$.sh
110465 chmod +x conf$$.sh
110466 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
110467 PATH_SEPARATOR=';'
110469 PATH_SEPARATOR=:
110471 rm -f conf$$.sh
110475 as_lineno_1=$LINENO
110476 as_lineno_2=$LINENO
110477 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110478 test "x$as_lineno_1" != "x$as_lineno_2" &&
110479 test "x$as_lineno_3" = "x$as_lineno_2" || {
110480 # Find who we are. Look in the path if we contain no path at all
110481 # relative or not.
110482 case $0 in
110483 *[\\/]* ) as_myself=$0 ;;
110484 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110485 for as_dir in $PATH
110487 IFS=$as_save_IFS
110488 test -z "$as_dir" && as_dir=.
110489 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110494 # We did not find ourselves, most probably we were run as `sh COMMAND'
110495 # in which case we are not to be found in the path.
110496 if test "x$as_myself" = x; then
110497 as_myself=$0
110499 if test ! -f "$as_myself"; then
110500 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
110501 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
110502 { (exit 1); exit 1; }; }
110504 case $CONFIG_SHELL in
110506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110507 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
110509 IFS=$as_save_IFS
110510 test -z "$as_dir" && as_dir=.
110511 for as_base in sh bash ksh sh5; do
110512 case $as_dir in
110514 if ("$as_dir/$as_base" -c '
110515 as_lineno_1=$LINENO
110516 as_lineno_2=$LINENO
110517 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110518 test "x$as_lineno_1" != "x$as_lineno_2" &&
110519 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
110520 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
110521 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
110522 CONFIG_SHELL=$as_dir/$as_base
110523 export CONFIG_SHELL
110524 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
110532 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
110533 # uniformly replaced by the line number. The first 'sed' inserts a
110534 # line-number line before each line; the second 'sed' does the real
110535 # work. The second script uses 'N' to pair each line-number line
110536 # with the numbered line, and appends trailing '-' during
110537 # substitution so that $LINENO is not a special case at line end.
110538 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
110539 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
110540 sed '=' <$as_myself |
110541 sed '
110543 s,$,-,
110544 : loop
110545 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
110546 t loop
110547 s,-$,,
110548 s,^['$as_cr_digits']*\n,,
110549 ' >$as_me.lineno &&
110550 chmod +x $as_me.lineno ||
110551 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
110552 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
110553 { (exit 1); exit 1; }; }
110555 # Don't try to exec as it changes $[0], causing all sort of problems
110556 # (the dirname of $[0] is not the place where we might find the
110557 # original and so on. Autoconf is especially sensible to this).
110558 . ./$as_me.lineno
110559 # Exit status is that of the last command.
110564 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
110565 *c*,-n*) ECHO_N= ECHO_C='
110566 ' ECHO_T=' ' ;;
110567 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
110568 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
110571 if expr a : '\(a\)' >/dev/null 2>&1; then
110572 as_expr=expr
110574 as_expr=false
110577 rm -f conf$$ conf$$.exe conf$$.file
110578 echo >conf$$.file
110579 if ln -s conf$$.file conf$$ 2>/dev/null; then
110580 # We could just check for DJGPP; but this test a) works b) is more generic
110581 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
110582 if test -f conf$$.exe; then
110583 # Don't use ln at all; we don't have any links
110584 as_ln_s='cp -p'
110586 as_ln_s='ln -s'
110588 elif ln conf$$.file conf$$ 2>/dev/null; then
110589 as_ln_s=ln
110591 as_ln_s='cp -p'
110593 rm -f conf$$ conf$$.exe conf$$.file
110595 if mkdir -p . 2>/dev/null; then
110596 as_mkdir_p=:
110598 test -d ./-p && rmdir ./-p
110599 as_mkdir_p=false
110602 as_executable_p="test -f"
110604 # Sed expression to map a string onto a valid CPP name.
110605 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
110607 # Sed expression to map a string onto a valid variable name.
110608 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
110611 # IFS
110612 # We need space, tab and new line, in precisely that order.
110613 as_nl='
110615 IFS=" $as_nl"
110617 # CDPATH.
110618 $as_unset CDPATH
110620 exec 6>&1
110622 # Open the log real soon, to keep \$[0] and so on meaningful, and to
110623 # report actual input values of CONFIG_FILES etc. instead of their
110624 # values after options handling. Logging --version etc. is OK.
110625 exec 5>>config.log
110628 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
110629 ## Running $as_me. ##
110630 _ASBOX
110631 } >&5
110632 cat >&5 <<_CSEOF
110634 This file was extended by package-unused $as_me version-unused, which was
110635 generated by GNU Autoconf 2.59. Invocation command line was
110637 CONFIG_FILES = $CONFIG_FILES
110638 CONFIG_HEADERS = $CONFIG_HEADERS
110639 CONFIG_LINKS = $CONFIG_LINKS
110640 CONFIG_COMMANDS = $CONFIG_COMMANDS
110641 $ $0 $@
110643 _CSEOF
110644 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
110645 echo >&5
110646 _ACEOF
110648 # Files that config.status was made for.
110649 if test -n "$ac_config_files"; then
110650 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
110653 if test -n "$ac_config_headers"; then
110654 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
110657 if test -n "$ac_config_links"; then
110658 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
110661 if test -n "$ac_config_commands"; then
110662 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
110665 cat >>$CONFIG_STATUS <<\_ACEOF
110667 ac_cs_usage="\
110668 \`$as_me' instantiates files from templates according to the
110669 current configuration.
110671 Usage: $0 [OPTIONS] [FILE]...
110673 -h, --help print this help, then exit
110674 -V, --version print version number, then exit
110675 -q, --quiet do not print progress messages
110676 -d, --debug don't remove temporary files
110677 --recheck update $as_me by reconfiguring in the same conditions
110678 --file=FILE[:TEMPLATE]
110679 instantiate the configuration file FILE
110680 --header=FILE[:TEMPLATE]
110681 instantiate the configuration header FILE
110683 Configuration files:
110684 $config_files
110686 Configuration headers:
110687 $config_headers
110689 Configuration commands:
110690 $config_commands
110692 Report bugs to <bug-autoconf@gnu.org>."
110693 _ACEOF
110695 cat >>$CONFIG_STATUS <<_ACEOF
110696 ac_cs_version="\\
110697 package-unused config.status version-unused
110698 configured by $0, generated by GNU Autoconf 2.59,
110699 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
110701 Copyright (C) 2003 Free Software Foundation, Inc.
110702 This config.status script is free software; the Free Software Foundation
110703 gives unlimited permission to copy, distribute and modify it."
110704 srcdir=$srcdir
110705 INSTALL="$INSTALL"
110706 _ACEOF
110708 cat >>$CONFIG_STATUS <<\_ACEOF
110709 # If no file are specified by the user, then we need to provide default
110710 # value. By we need to know if files were specified by the user.
110711 ac_need_defaults=:
110712 while test $# != 0
110714 case $1 in
110715 --*=*)
110716 ac_option=`expr "x$1" : 'x\([^=]*\)='`
110717 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
110718 ac_shift=:
110721 ac_option=$1
110722 ac_optarg=$2
110723 ac_shift=shift
110725 *) # This is not an option, so the user has probably given explicit
110726 # arguments.
110727 ac_option=$1
110728 ac_need_defaults=false;;
110731 case $ac_option in
110732 # Handling of the options.
110733 _ACEOF
110734 cat >>$CONFIG_STATUS <<\_ACEOF
110735 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
110736 ac_cs_recheck=: ;;
110737 --version | --vers* | -V )
110738 echo "$ac_cs_version"; exit 0 ;;
110739 --he | --h)
110740 # Conflict between --help and --header
110741 { { echo "$as_me:$LINENO: error: ambiguous option: $1
110742 Try \`$0 --help' for more information." >&5
110743 echo "$as_me: error: ambiguous option: $1
110744 Try \`$0 --help' for more information." >&2;}
110745 { (exit 1); exit 1; }; };;
110746 --help | --hel | -h )
110747 echo "$ac_cs_usage"; exit 0 ;;
110748 --debug | --d* | -d )
110749 debug=: ;;
110750 --file | --fil | --fi | --f )
110751 $ac_shift
110752 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
110753 ac_need_defaults=false;;
110754 --header | --heade | --head | --hea )
110755 $ac_shift
110756 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
110757 ac_need_defaults=false;;
110758 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
110759 | -silent | --silent | --silen | --sile | --sil | --si | --s)
110760 ac_cs_silent=: ;;
110762 # This is an error.
110763 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
110764 Try \`$0 --help' for more information." >&5
110765 echo "$as_me: error: unrecognized option: $1
110766 Try \`$0 --help' for more information." >&2;}
110767 { (exit 1); exit 1; }; } ;;
110769 *) ac_config_targets="$ac_config_targets $1" ;;
110772 shift
110775 ac_configure_extra_args=
110777 if $ac_cs_silent; then
110778 exec 6>/dev/null
110779 ac_configure_extra_args="$ac_configure_extra_args --silent"
110782 _ACEOF
110783 cat >>$CONFIG_STATUS <<_ACEOF
110784 if \$ac_cs_recheck; then
110785 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
110786 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
110789 _ACEOF
110791 cat >>$CONFIG_STATUS <<_ACEOF
110793 # INIT-COMMANDS section.
110797 srcdir="$srcdir"
110798 host="$host"
110799 target="$target"
110800 with_multisubdir="$with_multisubdir"
110801 with_multisrctop="$with_multisrctop"
110802 with_target_subdir="$with_target_subdir"
110803 ac_configure_args="${multilib_arg} ${ac_configure_args}"
110804 multi_basedir="$multi_basedir"
110805 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
110806 CC="$CC"
110808 # Variables needed in config.status (file generation) which aren't already
110809 # passed by autoconf.
110810 SUBDIRS="$SUBDIRS"
110813 _ACEOF
110817 cat >>$CONFIG_STATUS <<\_ACEOF
110818 for ac_config_target in $ac_config_targets
110820 case "$ac_config_target" in
110821 # Handling of arguments.
110822 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
110823 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
110824 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
110825 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
110826 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
110827 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
110828 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
110829 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
110830 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
110831 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
110832 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
110833 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
110834 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
110835 { (exit 1); exit 1; }; };;
110839 # If the user did not use the arguments to specify the items to instantiate,
110840 # then the envvar interface is used. Set only those that are not.
110841 # We use the long form for the default assignment because of an extremely
110842 # bizarre bug on SunOS 4.1.3.
110843 if $ac_need_defaults; then
110844 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
110845 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
110846 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
110849 # Have a temporary directory for convenience. Make it in the build tree
110850 # simply because there is no reason to put it here, and in addition,
110851 # creating and moving files from /tmp can sometimes cause problems.
110852 # Create a temporary directory, and hook for its removal unless debugging.
110853 $debug ||
110855 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
110856 trap '{ (exit 1); exit 1; }' 1 2 13 15
110859 # Create a (secure) tmp directory for tmp files.
110862 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
110863 test -n "$tmp" && test -d "$tmp"
110866 tmp=./confstat$$-$RANDOM
110867 (umask 077 && mkdir $tmp)
110870 echo "$me: cannot create a temporary directory in ." >&2
110871 { (exit 1); exit 1; }
110874 _ACEOF
110876 cat >>$CONFIG_STATUS <<_ACEOF
110879 # CONFIG_FILES section.
110882 # No need to generate the scripts if there are no CONFIG_FILES.
110883 # This happens for instance when ./config.status config.h
110884 if test -n "\$CONFIG_FILES"; then
110885 # Protect against being on the right side of a sed subst in config.status.
110886 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
110887 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
110888 s,@SHELL@,$SHELL,;t t
110889 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
110890 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
110891 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
110892 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
110893 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
110894 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
110895 s,@exec_prefix@,$exec_prefix,;t t
110896 s,@prefix@,$prefix,;t t
110897 s,@program_transform_name@,$program_transform_name,;t t
110898 s,@bindir@,$bindir,;t t
110899 s,@sbindir@,$sbindir,;t t
110900 s,@libexecdir@,$libexecdir,;t t
110901 s,@datadir@,$datadir,;t t
110902 s,@sysconfdir@,$sysconfdir,;t t
110903 s,@sharedstatedir@,$sharedstatedir,;t t
110904 s,@localstatedir@,$localstatedir,;t t
110905 s,@libdir@,$libdir,;t t
110906 s,@includedir@,$includedir,;t t
110907 s,@oldincludedir@,$oldincludedir,;t t
110908 s,@infodir@,$infodir,;t t
110909 s,@mandir@,$mandir,;t t
110910 s,@build_alias@,$build_alias,;t t
110911 s,@host_alias@,$host_alias,;t t
110912 s,@target_alias@,$target_alias,;t t
110913 s,@DEFS@,$DEFS,;t t
110914 s,@ECHO_C@,$ECHO_C,;t t
110915 s,@ECHO_N@,$ECHO_N,;t t
110916 s,@ECHO_T@,$ECHO_T,;t t
110917 s,@LIBS@,$LIBS,;t t
110918 s,@libtool_VERSION@,$libtool_VERSION,;t t
110919 s,@multi_basedir@,$multi_basedir,;t t
110920 s,@build@,$build,;t t
110921 s,@build_cpu@,$build_cpu,;t t
110922 s,@build_vendor@,$build_vendor,;t t
110923 s,@build_os@,$build_os,;t t
110924 s,@host@,$host,;t t
110925 s,@host_cpu@,$host_cpu,;t t
110926 s,@host_vendor@,$host_vendor,;t t
110927 s,@host_os@,$host_os,;t t
110928 s,@target@,$target,;t t
110929 s,@target_cpu@,$target_cpu,;t t
110930 s,@target_vendor@,$target_vendor,;t t
110931 s,@target_os@,$target_os,;t t
110932 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
110933 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
110934 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
110935 s,@CYGPATH_W@,$CYGPATH_W,;t t
110936 s,@PACKAGE@,$PACKAGE,;t t
110937 s,@VERSION@,$VERSION,;t t
110938 s,@ACLOCAL@,$ACLOCAL,;t t
110939 s,@AUTOCONF@,$AUTOCONF,;t t
110940 s,@AUTOMAKE@,$AUTOMAKE,;t t
110941 s,@AUTOHEADER@,$AUTOHEADER,;t t
110942 s,@MAKEINFO@,$MAKEINFO,;t t
110943 s,@install_sh@,$install_sh,;t t
110944 s,@STRIP@,$STRIP,;t t
110945 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
110946 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
110947 s,@mkdir_p@,$mkdir_p,;t t
110948 s,@AWK@,$AWK,;t t
110949 s,@SET_MAKE@,$SET_MAKE,;t t
110950 s,@am__leading_dot@,$am__leading_dot,;t t
110951 s,@AMTAR@,$AMTAR,;t t
110952 s,@am__tar@,$am__tar,;t t
110953 s,@am__untar@,$am__untar,;t t
110954 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
110955 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
110956 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
110957 s,@CC@,$CC,;t t
110958 s,@ac_ct_CC@,$ac_ct_CC,;t t
110959 s,@EXEEXT@,$EXEEXT,;t t
110960 s,@OBJEXT@,$OBJEXT,;t t
110961 s,@CXX@,$CXX,;t t
110962 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
110963 s,@CFLAGS@,$CFLAGS,;t t
110964 s,@CXXFLAGS@,$CXXFLAGS,;t t
110965 s,@LN_S@,$LN_S,;t t
110966 s,@AS@,$AS,;t t
110967 s,@ac_ct_AS@,$ac_ct_AS,;t t
110968 s,@AR@,$AR,;t t
110969 s,@ac_ct_AR@,$ac_ct_AR,;t t
110970 s,@RANLIB@,$RANLIB,;t t
110971 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
110972 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
110973 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
110974 s,@MAINT@,$MAINT,;t t
110975 s,@CPP@,$CPP,;t t
110976 s,@CPPFLAGS@,$CPPFLAGS,;t t
110977 s,@EGREP@,$EGREP,;t t
110978 s,@LIBTOOL@,$LIBTOOL,;t t
110979 s,@CXXCPP@,$CXXCPP,;t t
110980 s,@enable_shared@,$enable_shared,;t t
110981 s,@enable_static@,$enable_static,;t t
110982 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
110983 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
110984 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
110985 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
110986 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
110987 s,@CSTDIO_H@,$CSTDIO_H,;t t
110988 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
110989 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
110990 s,@check_msgfmt@,$check_msgfmt,;t t
110991 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
110992 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
110993 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
110994 s,@USE_NLS@,$USE_NLS,;t t
110995 s,@CLOCALE_H@,$CLOCALE_H,;t t
110996 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
110997 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
110998 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
110999 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
111000 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
111001 s,@CMONEY_CC@,$CMONEY_CC,;t t
111002 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
111003 s,@CTIME_H@,$CTIME_H,;t t
111004 s,@CTIME_CC@,$CTIME_CC,;t t
111005 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
111006 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
111007 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
111008 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
111009 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
111010 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
111011 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
111012 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
111013 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
111014 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
111015 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
111016 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
111017 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
111018 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
111019 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
111020 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
111021 s,@WERROR@,$WERROR,;t t
111022 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
111023 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
111024 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
111025 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
111026 s,@LIBICONV@,$LIBICONV,;t t
111027 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
111028 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
111029 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
111030 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
111031 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
111032 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
111033 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
111034 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
111035 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
111036 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
111037 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
111038 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
111039 s,@baseline_dir@,$baseline_dir,;t t
111040 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
111041 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
111042 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
111043 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
111044 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
111045 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
111046 s,@gxx_include_dir@,$gxx_include_dir,;t t
111047 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
111048 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
111049 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
111050 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
111051 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
111052 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
111053 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
111054 s,@LIBOBJS@,$LIBOBJS,;t t
111055 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
111058 _ACEOF
111060 cat >>$CONFIG_STATUS <<\_ACEOF
111061 # Split the substitutions into bite-sized pieces for seds with
111062 # small command number limits, like on Digital OSF/1 and HP-UX.
111063 ac_max_sed_lines=48
111064 ac_sed_frag=1 # Number of current file.
111065 ac_beg=1 # First line for current file.
111066 ac_end=$ac_max_sed_lines # Line after last line for current file.
111067 ac_more_lines=:
111068 ac_sed_cmds=
111069 while $ac_more_lines; do
111070 if test $ac_beg -gt 1; then
111071 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111073 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111075 if test ! -s $tmp/subs.frag; then
111076 ac_more_lines=false
111078 # The purpose of the label and of the branching condition is to
111079 # speed up the sed processing (if there are no `@' at all, there
111080 # is no need to browse any of the substitutions).
111081 # These are the two extra sed commands mentioned above.
111082 (echo ':t
111083 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
111084 if test -z "$ac_sed_cmds"; then
111085 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
111087 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
111089 ac_sed_frag=`expr $ac_sed_frag + 1`
111090 ac_beg=$ac_end
111091 ac_end=`expr $ac_end + $ac_max_sed_lines`
111094 if test -z "$ac_sed_cmds"; then
111095 ac_sed_cmds=cat
111097 fi # test -n "$CONFIG_FILES"
111099 _ACEOF
111100 cat >>$CONFIG_STATUS <<\_ACEOF
111101 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
111102 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111103 case $ac_file in
111104 - | *:- | *:-:* ) # input from stdin
111105 cat >$tmp/stdin
111106 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111107 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111108 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111109 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111110 * ) ac_file_in=$ac_file.in ;;
111113 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
111114 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111115 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111116 X"$ac_file" : 'X\(//\)[^/]' \| \
111117 X"$ac_file" : 'X\(//\)$' \| \
111118 X"$ac_file" : 'X\(/\)' \| \
111119 . : '\(.\)' 2>/dev/null ||
111120 echo X"$ac_file" |
111121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111122 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111123 /^X\(\/\/\)$/{ s//\1/; q; }
111124 /^X\(\/\).*/{ s//\1/; q; }
111125 s/.*/./; q'`
111126 { if $as_mkdir_p; then
111127 mkdir -p "$ac_dir"
111129 as_dir="$ac_dir"
111130 as_dirs=
111131 while test ! -d "$as_dir"; do
111132 as_dirs="$as_dir $as_dirs"
111133 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111134 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111135 X"$as_dir" : 'X\(//\)[^/]' \| \
111136 X"$as_dir" : 'X\(//\)$' \| \
111137 X"$as_dir" : 'X\(/\)' \| \
111138 . : '\(.\)' 2>/dev/null ||
111139 echo X"$as_dir" |
111140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111141 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111142 /^X\(\/\/\)$/{ s//\1/; q; }
111143 /^X\(\/\).*/{ s//\1/; q; }
111144 s/.*/./; q'`
111146 test ! -n "$as_dirs" || mkdir $as_dirs
111147 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111148 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111149 { (exit 1); exit 1; }; }; }
111151 ac_builddir=.
111153 if test "$ac_dir" != .; then
111154 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111155 # A "../" for each directory in $ac_dir_suffix.
111156 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111158 ac_dir_suffix= ac_top_builddir=
111161 case $srcdir in
111162 .) # No --srcdir option. We are building in place.
111163 ac_srcdir=.
111164 if test -z "$ac_top_builddir"; then
111165 ac_top_srcdir=.
111167 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111168 fi ;;
111169 [\\/]* | ?:[\\/]* ) # Absolute path.
111170 ac_srcdir=$srcdir$ac_dir_suffix;
111171 ac_top_srcdir=$srcdir ;;
111172 *) # Relative path.
111173 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111174 ac_top_srcdir=$ac_top_builddir$srcdir ;;
111177 # Do not use `cd foo && pwd` to compute absolute paths, because
111178 # the directories may not exist.
111179 case `pwd` in
111180 .) ac_abs_builddir="$ac_dir";;
111182 case "$ac_dir" in
111183 .) ac_abs_builddir=`pwd`;;
111184 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111185 *) ac_abs_builddir=`pwd`/"$ac_dir";;
111186 esac;;
111188 case $ac_abs_builddir in
111189 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111191 case ${ac_top_builddir}. in
111192 .) ac_abs_top_builddir=$ac_abs_builddir;;
111193 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111194 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111195 esac;;
111197 case $ac_abs_builddir in
111198 .) ac_abs_srcdir=$ac_srcdir;;
111200 case $ac_srcdir in
111201 .) ac_abs_srcdir=$ac_abs_builddir;;
111202 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111203 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111204 esac;;
111206 case $ac_abs_builddir in
111207 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111209 case $ac_top_srcdir in
111210 .) ac_abs_top_srcdir=$ac_abs_builddir;;
111211 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111212 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111213 esac;;
111217 case $INSTALL in
111218 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
111219 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
111222 if test x"$ac_file" != x-; then
111223 { echo "$as_me:$LINENO: creating $ac_file" >&5
111224 echo "$as_me: creating $ac_file" >&6;}
111225 rm -f "$ac_file"
111227 # Let's still pretend it is `configure' which instantiates (i.e., don't
111228 # use $as_me), people would be surprised to read:
111229 # /* config.h. Generated by config.status. */
111230 if test x"$ac_file" = x-; then
111231 configure_input=
111233 configure_input="$ac_file. "
111235 configure_input=$configure_input"Generated from `echo $ac_file_in |
111236 sed 's,.*/,,'` by configure."
111238 # First look for the input files in the build tree, otherwise in the
111239 # src tree.
111240 ac_file_inputs=`IFS=:
111241 for f in $ac_file_in; do
111242 case $f in
111243 -) echo $tmp/stdin ;;
111244 [\\/$]*)
111245 # Absolute (can't be DOS-style, as IFS=:)
111246 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111247 echo "$as_me: error: cannot find input file: $f" >&2;}
111248 { (exit 1); exit 1; }; }
111249 echo "$f";;
111250 *) # Relative
111251 if test -f "$f"; then
111252 # Build tree
111253 echo "$f"
111254 elif test -f "$srcdir/$f"; then
111255 # Source tree
111256 echo "$srcdir/$f"
111258 # /dev/null tree
111259 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111260 echo "$as_me: error: cannot find input file: $f" >&2;}
111261 { (exit 1); exit 1; }; }
111264 done` || { (exit 1); exit 1; }
111265 _ACEOF
111266 cat >>$CONFIG_STATUS <<_ACEOF
111267 sed "$ac_vpsub
111268 $extrasub
111269 _ACEOF
111270 cat >>$CONFIG_STATUS <<\_ACEOF
111272 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
111273 s,@configure_input@,$configure_input,;t t
111274 s,@srcdir@,$ac_srcdir,;t t
111275 s,@abs_srcdir@,$ac_abs_srcdir,;t t
111276 s,@top_srcdir@,$ac_top_srcdir,;t t
111277 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
111278 s,@builddir@,$ac_builddir,;t t
111279 s,@abs_builddir@,$ac_abs_builddir,;t t
111280 s,@top_builddir@,$ac_top_builddir,;t t
111281 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
111282 s,@INSTALL@,$ac_INSTALL,;t t
111283 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
111284 rm -f $tmp/stdin
111285 if test x"$ac_file" != x-; then
111286 mv $tmp/out $ac_file
111288 cat $tmp/out
111289 rm -f $tmp/out
111292 # Run the commands associated with the file.
111293 case $ac_file in
111294 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
111297 _ACEOF
111298 cat >>$CONFIG_STATUS <<\_ACEOF
111301 # CONFIG_HEADER section.
111304 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
111305 # NAME is the cpp macro being defined and VALUE is the value it is being given.
111307 # ac_d sets the value in "#define NAME VALUE" lines.
111308 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
111309 ac_dB='[ ].*$,\1#\2'
111310 ac_dC=' '
111311 ac_dD=',;t'
111312 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
111313 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
111314 ac_uB='$,\1#\2define\3'
111315 ac_uC=' '
111316 ac_uD=',;t'
111318 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
111319 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111320 case $ac_file in
111321 - | *:- | *:-:* ) # input from stdin
111322 cat >$tmp/stdin
111323 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111324 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111325 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111326 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111327 * ) ac_file_in=$ac_file.in ;;
111330 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
111331 echo "$as_me: creating $ac_file" >&6;}
111333 # First look for the input files in the build tree, otherwise in the
111334 # src tree.
111335 ac_file_inputs=`IFS=:
111336 for f in $ac_file_in; do
111337 case $f in
111338 -) echo $tmp/stdin ;;
111339 [\\/$]*)
111340 # Absolute (can't be DOS-style, as IFS=:)
111341 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111342 echo "$as_me: error: cannot find input file: $f" >&2;}
111343 { (exit 1); exit 1; }; }
111344 # Do quote $f, to prevent DOS paths from being IFS'd.
111345 echo "$f";;
111346 *) # Relative
111347 if test -f "$f"; then
111348 # Build tree
111349 echo "$f"
111350 elif test -f "$srcdir/$f"; then
111351 # Source tree
111352 echo "$srcdir/$f"
111354 # /dev/null tree
111355 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111356 echo "$as_me: error: cannot find input file: $f" >&2;}
111357 { (exit 1); exit 1; }; }
111360 done` || { (exit 1); exit 1; }
111361 # Remove the trailing spaces.
111362 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
111364 _ACEOF
111366 # Transform confdefs.h into two sed scripts, `conftest.defines' and
111367 # `conftest.undefs', that substitutes the proper values into
111368 # config.h.in to produce config.h. The first handles `#define'
111369 # templates, and the second `#undef' templates.
111370 # And first: Protect against being on the right side of a sed subst in
111371 # config.status. Protect against being in an unquoted here document
111372 # in config.status.
111373 rm -f conftest.defines conftest.undefs
111374 # Using a here document instead of a string reduces the quoting nightmare.
111375 # Putting comments in sed scripts is not portable.
111377 # `end' is used to avoid that the second main sed command (meant for
111378 # 0-ary CPP macros) applies to n-ary macro definitions.
111379 # See the Autoconf documentation for `clear'.
111380 cat >confdef2sed.sed <<\_ACEOF
111381 s/[\\&,]/\\&/g
111382 s,[\\$`],\\&,g
111383 t clear
111384 : clear
111385 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
111386 t end
111387 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
111388 : end
111389 _ACEOF
111390 # If some macros were called several times there might be several times
111391 # the same #defines, which is useless. Nevertheless, we may not want to
111392 # sort them, since we want the *last* AC-DEFINE to be honored.
111393 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
111394 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
111395 rm -f confdef2sed.sed
111397 # This sed command replaces #undef with comments. This is necessary, for
111398 # example, in the case of _POSIX_SOURCE, which is predefined and required
111399 # on some systems where configure will not decide to define it.
111400 cat >>conftest.undefs <<\_ACEOF
111401 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
111402 _ACEOF
111404 # Break up conftest.defines because some shells have a limit on the size
111405 # of here documents, and old seds have small limits too (100 cmds).
111406 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
111407 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
111408 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
111409 echo ' :' >>$CONFIG_STATUS
111410 rm -f conftest.tail
111411 while grep . conftest.defines >/dev/null
111413 # Write a limited-size here document to $tmp/defines.sed.
111414 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
111415 # Speed up: don't consider the non `#define' lines.
111416 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
111417 # Work around the forget-to-reset-the-flag bug.
111418 echo 't clr' >>$CONFIG_STATUS
111419 echo ': clr' >>$CONFIG_STATUS
111420 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
111421 echo 'CEOF
111422 sed -f $tmp/defines.sed $tmp/in >$tmp/out
111423 rm -f $tmp/in
111424 mv $tmp/out $tmp/in
111425 ' >>$CONFIG_STATUS
111426 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
111427 rm -f conftest.defines
111428 mv conftest.tail conftest.defines
111430 rm -f conftest.defines
111431 echo ' fi # grep' >>$CONFIG_STATUS
111432 echo >>$CONFIG_STATUS
111434 # Break up conftest.undefs because some shells have a limit on the size
111435 # of here documents, and old seds have small limits too (100 cmds).
111436 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
111437 rm -f conftest.tail
111438 while grep . conftest.undefs >/dev/null
111440 # Write a limited-size here document to $tmp/undefs.sed.
111441 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
111442 # Speed up: don't consider the non `#undef'
111443 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
111444 # Work around the forget-to-reset-the-flag bug.
111445 echo 't clr' >>$CONFIG_STATUS
111446 echo ': clr' >>$CONFIG_STATUS
111447 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
111448 echo 'CEOF
111449 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
111450 rm -f $tmp/in
111451 mv $tmp/out $tmp/in
111452 ' >>$CONFIG_STATUS
111453 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
111454 rm -f conftest.undefs
111455 mv conftest.tail conftest.undefs
111457 rm -f conftest.undefs
111459 cat >>$CONFIG_STATUS <<\_ACEOF
111460 # Let's still pretend it is `configure' which instantiates (i.e., don't
111461 # use $as_me), people would be surprised to read:
111462 # /* config.h. Generated by config.status. */
111463 if test x"$ac_file" = x-; then
111464 echo "/* Generated by configure. */" >$tmp/config.h
111466 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
111468 cat $tmp/in >>$tmp/config.h
111469 rm -f $tmp/in
111470 if test x"$ac_file" != x-; then
111471 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
111472 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
111473 echo "$as_me: $ac_file is unchanged" >&6;}
111475 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111476 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111477 X"$ac_file" : 'X\(//\)[^/]' \| \
111478 X"$ac_file" : 'X\(//\)$' \| \
111479 X"$ac_file" : 'X\(/\)' \| \
111480 . : '\(.\)' 2>/dev/null ||
111481 echo X"$ac_file" |
111482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111483 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111484 /^X\(\/\/\)$/{ s//\1/; q; }
111485 /^X\(\/\).*/{ s//\1/; q; }
111486 s/.*/./; q'`
111487 { if $as_mkdir_p; then
111488 mkdir -p "$ac_dir"
111490 as_dir="$ac_dir"
111491 as_dirs=
111492 while test ! -d "$as_dir"; do
111493 as_dirs="$as_dir $as_dirs"
111494 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111495 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111496 X"$as_dir" : 'X\(//\)[^/]' \| \
111497 X"$as_dir" : 'X\(//\)$' \| \
111498 X"$as_dir" : 'X\(/\)' \| \
111499 . : '\(.\)' 2>/dev/null ||
111500 echo X"$as_dir" |
111501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111502 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111503 /^X\(\/\/\)$/{ s//\1/; q; }
111504 /^X\(\/\).*/{ s//\1/; q; }
111505 s/.*/./; q'`
111507 test ! -n "$as_dirs" || mkdir $as_dirs
111508 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111509 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111510 { (exit 1); exit 1; }; }; }
111512 rm -f $ac_file
111513 mv $tmp/config.h $ac_file
111516 cat $tmp/config.h
111517 rm -f $tmp/config.h
111519 # Compute $ac_file's index in $config_headers.
111520 _am_stamp_count=1
111521 for _am_header in $config_headers :; do
111522 case $_am_header in
111523 $ac_file | $ac_file:* )
111524 break ;;
111526 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
111529 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
111530 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111531 X$ac_file : 'X\(//\)[^/]' \| \
111532 X$ac_file : 'X\(//\)$' \| \
111533 X$ac_file : 'X\(/\)' \| \
111534 . : '\(.\)' 2>/dev/null ||
111535 echo X$ac_file |
111536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111537 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111538 /^X\(\/\/\)$/{ s//\1/; q; }
111539 /^X\(\/\).*/{ s//\1/; q; }
111540 s/.*/./; q'`/stamp-h$_am_stamp_count
111542 _ACEOF
111543 cat >>$CONFIG_STATUS <<\_ACEOF
111546 # CONFIG_COMMANDS section.
111548 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
111549 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
111550 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
111551 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
111552 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111553 X"$ac_dest" : 'X\(//\)[^/]' \| \
111554 X"$ac_dest" : 'X\(//\)$' \| \
111555 X"$ac_dest" : 'X\(/\)' \| \
111556 . : '\(.\)' 2>/dev/null ||
111557 echo X"$ac_dest" |
111558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111559 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111560 /^X\(\/\/\)$/{ s//\1/; q; }
111561 /^X\(\/\).*/{ s//\1/; q; }
111562 s/.*/./; q'`
111563 { if $as_mkdir_p; then
111564 mkdir -p "$ac_dir"
111566 as_dir="$ac_dir"
111567 as_dirs=
111568 while test ! -d "$as_dir"; do
111569 as_dirs="$as_dir $as_dirs"
111570 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111571 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111572 X"$as_dir" : 'X\(//\)[^/]' \| \
111573 X"$as_dir" : 'X\(//\)$' \| \
111574 X"$as_dir" : 'X\(/\)' \| \
111575 . : '\(.\)' 2>/dev/null ||
111576 echo X"$as_dir" |
111577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111578 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111579 /^X\(\/\/\)$/{ s//\1/; q; }
111580 /^X\(\/\).*/{ s//\1/; q; }
111581 s/.*/./; q'`
111583 test ! -n "$as_dirs" || mkdir $as_dirs
111584 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111585 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111586 { (exit 1); exit 1; }; }; }
111588 ac_builddir=.
111590 if test "$ac_dir" != .; then
111591 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111592 # A "../" for each directory in $ac_dir_suffix.
111593 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111595 ac_dir_suffix= ac_top_builddir=
111598 case $srcdir in
111599 .) # No --srcdir option. We are building in place.
111600 ac_srcdir=.
111601 if test -z "$ac_top_builddir"; then
111602 ac_top_srcdir=.
111604 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111605 fi ;;
111606 [\\/]* | ?:[\\/]* ) # Absolute path.
111607 ac_srcdir=$srcdir$ac_dir_suffix;
111608 ac_top_srcdir=$srcdir ;;
111609 *) # Relative path.
111610 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111611 ac_top_srcdir=$ac_top_builddir$srcdir ;;
111614 # Do not use `cd foo && pwd` to compute absolute paths, because
111615 # the directories may not exist.
111616 case `pwd` in
111617 .) ac_abs_builddir="$ac_dir";;
111619 case "$ac_dir" in
111620 .) ac_abs_builddir=`pwd`;;
111621 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111622 *) ac_abs_builddir=`pwd`/"$ac_dir";;
111623 esac;;
111625 case $ac_abs_builddir in
111626 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111628 case ${ac_top_builddir}. in
111629 .) ac_abs_top_builddir=$ac_abs_builddir;;
111630 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111631 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111632 esac;;
111634 case $ac_abs_builddir in
111635 .) ac_abs_srcdir=$ac_srcdir;;
111637 case $ac_srcdir in
111638 .) ac_abs_srcdir=$ac_abs_builddir;;
111639 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111640 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111641 esac;;
111643 case $ac_abs_builddir in
111644 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111646 case $ac_top_srcdir in
111647 .) ac_abs_top_srcdir=$ac_abs_builddir;;
111648 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111649 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111650 esac;;
111654 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
111655 echo "$as_me: executing $ac_dest commands" >&6;}
111656 case $ac_dest in
111657 default-1 )
111658 # Only add multilib support code if we just rebuilt the top-level
111659 # Makefile.
111660 case " $CONFIG_FILES " in
111661 *" Makefile "*)
111662 ac_file=Makefile . ${multi_basedir}/config-ml.in
111664 esac ;;
111665 default ) if test -n "$CONFIG_FILES"; then
111666 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
111667 # that multilib installs will end up installed in the correct place.
111668 # The testsuite needs it for multilib-aware ABI baseline files.
111669 # To work around this not being passed down from config-ml.in ->
111670 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
111671 # append it here. Only modify Makefiles that have just been created.
111673 # Also, get rid of this simulated-VPATH thing that automake does.
111674 cat > vpsed << \_EOF
111675 s!`test -f '$<' || echo '$(srcdir)/'`!!
111677 for i in $SUBDIRS; do
111678 case $CONFIG_FILES in
111679 *${i}/Makefile*)
111680 #echo "Adding MULTISUBDIR to $i/Makefile"
111681 sed -f vpsed $i/Makefile > tmp
111682 grep '^MULTISUBDIR =' Makefile >> tmp
111683 mv tmp $i/Makefile
111687 rm vpsed
111689 (cd include && ${MAKE-make})
111693 _ACEOF
111695 cat >>$CONFIG_STATUS <<\_ACEOF
111697 { (exit 0); exit 0; }
111698 _ACEOF
111699 chmod +x $CONFIG_STATUS
111700 ac_clean_files=$ac_clean_files_save
111703 # configure is writing to config.log, and then calls config.status.
111704 # config.status does its own redirection, appending to config.log.
111705 # Unfortunately, on DOS this fails, as config.log is still kept open
111706 # by configure, so config.status won't be able to write to it; its
111707 # output is simply discarded. So we exec the FD to /dev/null,
111708 # effectively closing config.log, so it can be properly (re)opened and
111709 # appended to by config.status. When coming back to configure, we
111710 # need to make the FD available again.
111711 if test "$no_create" != yes; then
111712 ac_cs_success=:
111713 ac_config_status_args=
111714 test "$silent" = yes &&
111715 ac_config_status_args="$ac_config_status_args --quiet"
111716 exec 5>/dev/null
111717 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
111718 exec 5>>config.log
111719 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
111720 # would make configure fail if this is the last instruction.
111721 $ac_cs_success || { (exit 1); exit 1; }