2006-08-29 Benjamin Kosnik <bkoz@redhat.com>
[official-gcc.git] / libstdc++-v3 / configure
blobcdabc3bf407932c02f883eeb1bb094803c170883
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 ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CXXCPP_set=${CXXCPP+set}
762 ac_env_CXXCPP_value=$CXXCPP
763 ac_cv_env_CXXCPP_set=${CXXCPP+set}
764 ac_cv_env_CXXCPP_value=$CXXCPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-long-long enable template specializations for 'long long'
873 [default=yes]
874 --enable-wchar_t enable template specializations for 'wchar_t'
875 [default=yes]
876 --enable-c99 turns on ISO/IEC 9899:1999 support
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-fully-dynamic-string
888 do not put empty strings in per-process static
889 memory [default=no]
890 _g_switchUse thread-local storage
891 [default=yes]
892 --enable-symvers=STYLE enables symbol versioning of the shared library
893 [default=yes]
894 --enable-visibility enables visibility safe usage [default=yes]
895 --enable-version-specific-runtime-libs
896 Specify that runtime libraries should be installed
897 in a compiler-specific directory
899 Optional Packages:
900 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
901 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
902 --with-target-subdir=SUBDIR
903 configuring in a subdirectory
904 --with-cross-host=HOST configuring with a cross compiler
905 --with-newlib assume newlib as a system C library
906 --with-gnu-ld assume the C compiler uses GNU ld default=no
907 --with-pic try to use only PIC/non-PIC objects default=use both
908 --with-gxx-include-dir=DIR
909 installation directory for include files
911 Some influential environment variables:
912 CC C compiler command
913 CFLAGS C compiler flags
914 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
915 nonstandard directory <lib dir>
916 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
917 headers in a nonstandard directory <include dir>
918 CXX C++ compiler command
919 CXXFLAGS C++ compiler flags
920 CPP C preprocessor
921 CXXCPP C++ preprocessor
923 Use these variables to override the choices made by `configure' or to help
924 it to find libraries and programs with nonstandard names/locations.
926 _ACEOF
929 if test "$ac_init_help" = "recursive"; then
930 # If there are subdirs, report their specific --help.
931 ac_popdir=`pwd`
932 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
933 test -d $ac_dir || continue
934 ac_builddir=.
936 if test "$ac_dir" != .; then
937 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
938 # A "../" for each directory in $ac_dir_suffix.
939 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
940 else
941 ac_dir_suffix= ac_top_builddir=
944 case $srcdir in
945 .) # No --srcdir option. We are building in place.
946 ac_srcdir=.
947 if test -z "$ac_top_builddir"; then
948 ac_top_srcdir=.
949 else
950 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
951 fi ;;
952 [\\/]* | ?:[\\/]* ) # Absolute path.
953 ac_srcdir=$srcdir$ac_dir_suffix;
954 ac_top_srcdir=$srcdir ;;
955 *) # Relative path.
956 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
957 ac_top_srcdir=$ac_top_builddir$srcdir ;;
958 esac
960 # Do not use `cd foo && pwd` to compute absolute paths, because
961 # the directories may not exist.
962 case `pwd` in
963 .) ac_abs_builddir="$ac_dir";;
965 case "$ac_dir" in
966 .) ac_abs_builddir=`pwd`;;
967 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
968 *) ac_abs_builddir=`pwd`/"$ac_dir";;
969 esac;;
970 esac
971 case $ac_abs_builddir in
972 .) ac_abs_top_builddir=${ac_top_builddir}.;;
974 case ${ac_top_builddir}. in
975 .) ac_abs_top_builddir=$ac_abs_builddir;;
976 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
977 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
978 esac;;
979 esac
980 case $ac_abs_builddir in
981 .) ac_abs_srcdir=$ac_srcdir;;
983 case $ac_srcdir in
984 .) ac_abs_srcdir=$ac_abs_builddir;;
985 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
986 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
987 esac;;
988 esac
989 case $ac_abs_builddir in
990 .) ac_abs_top_srcdir=$ac_top_srcdir;;
992 case $ac_top_srcdir in
993 .) ac_abs_top_srcdir=$ac_abs_builddir;;
994 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
995 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
996 esac;;
997 esac
999 cd $ac_dir
1000 # Check for guested configure; otherwise get Cygnus style configure.
1001 if test -f $ac_srcdir/configure.gnu; then
1002 echo
1003 $SHELL $ac_srcdir/configure.gnu --help=recursive
1004 elif test -f $ac_srcdir/configure; then
1005 echo
1006 $SHELL $ac_srcdir/configure --help=recursive
1007 elif test -f $ac_srcdir/configure.ac ||
1008 test -f $ac_srcdir/configure.in; then
1009 echo
1010 $ac_configure --help
1011 else
1012 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1014 cd $ac_popdir
1015 done
1018 test -n "$ac_init_help" && exit 0
1019 if $ac_init_version; then
1020 cat <<\_ACEOF
1021 package-unused configure version-unused
1022 generated by GNU Autoconf 2.59
1024 Copyright (C) 2003 Free Software Foundation, Inc.
1025 This configure script is free software; the Free Software Foundation
1026 gives unlimited permission to copy, distribute and modify it.
1027 _ACEOF
1028 exit 0
1030 exec 5>config.log
1031 cat >&5 <<_ACEOF
1032 This file contains any messages produced by compilers while
1033 running configure, to aid debugging if configure makes a mistake.
1035 It was created by package-unused $as_me version-unused, which was
1036 generated by GNU Autoconf 2.59. Invocation command line was
1038 $ $0 $@
1040 _ACEOF
1042 cat <<_ASUNAME
1043 ## --------- ##
1044 ## Platform. ##
1045 ## --------- ##
1047 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1048 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1049 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1050 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1051 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1053 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1054 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1056 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1057 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1058 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1059 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1060 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1061 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1062 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1064 _ASUNAME
1066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1067 for as_dir in $PATH
1069 IFS=$as_save_IFS
1070 test -z "$as_dir" && as_dir=.
1071 echo "PATH: $as_dir"
1072 done
1074 } >&5
1076 cat >&5 <<_ACEOF
1079 ## ----------- ##
1080 ## Core tests. ##
1081 ## ----------- ##
1083 _ACEOF
1086 # Keep a trace of the command line.
1087 # Strip out --no-create and --no-recursion so they do not pile up.
1088 # Strip out --silent because we don't want to record it for future runs.
1089 # Also quote any args containing shell meta-characters.
1090 # Make two passes to allow for proper duplicate-argument suppression.
1091 ac_configure_args=
1092 ac_configure_args0=
1093 ac_configure_args1=
1094 ac_sep=
1095 ac_must_keep_next=false
1096 for ac_pass in 1 2
1098 for ac_arg
1100 case $ac_arg in
1101 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1103 | -silent | --silent | --silen | --sile | --sil)
1104 continue ;;
1105 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1106 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1107 esac
1108 case $ac_pass in
1109 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1111 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1112 if test $ac_must_keep_next = true; then
1113 ac_must_keep_next=false # Got value, back to normal.
1114 else
1115 case $ac_arg in
1116 *=* | --config-cache | -C | -disable-* | --disable-* \
1117 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1118 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1119 | -with-* | --with-* | -without-* | --without-* | --x)
1120 case "$ac_configure_args0 " in
1121 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1122 esac
1124 -* ) ac_must_keep_next=true ;;
1125 esac
1127 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1128 # Get rid of the leading space.
1129 ac_sep=" "
1131 esac
1132 done
1133 done
1134 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1135 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1137 # When interrupted or exit'd, cleanup temporary files, and complete
1138 # config.log. We remove comments because anyway the quotes in there
1139 # would cause problems or look ugly.
1140 # WARNING: Be sure not to use single quotes in there, as some shells,
1141 # such as our DU 5.0 friend, will then `close' the trap.
1142 trap 'exit_status=$?
1143 # Save into config.log some information that might help in debugging.
1145 echo
1147 cat <<\_ASBOX
1148 ## ---------------- ##
1149 ## Cache variables. ##
1150 ## ---------------- ##
1151 _ASBOX
1152 echo
1153 # The following way of writing the cache mishandles newlines in values,
1155 (set) 2>&1 |
1156 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1157 *ac_space=\ *)
1158 sed -n \
1159 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1160 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1163 sed -n \
1164 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1166 esac;
1168 echo
1170 cat <<\_ASBOX
1171 ## ----------------- ##
1172 ## Output variables. ##
1173 ## ----------------- ##
1174 _ASBOX
1175 echo
1176 for ac_var in $ac_subst_vars
1178 eval ac_val=$`echo $ac_var`
1179 echo "$ac_var='"'"'$ac_val'"'"'"
1180 done | sort
1181 echo
1183 if test -n "$ac_subst_files"; then
1184 cat <<\_ASBOX
1185 ## ------------- ##
1186 ## Output files. ##
1187 ## ------------- ##
1188 _ASBOX
1189 echo
1190 for ac_var in $ac_subst_files
1192 eval ac_val=$`echo $ac_var`
1193 echo "$ac_var='"'"'$ac_val'"'"'"
1194 done | sort
1195 echo
1198 if test -s confdefs.h; then
1199 cat <<\_ASBOX
1200 ## ----------- ##
1201 ## confdefs.h. ##
1202 ## ----------- ##
1203 _ASBOX
1204 echo
1205 sed "/^$/d" confdefs.h | sort
1206 echo
1208 test "$ac_signal" != 0 &&
1209 echo "$as_me: caught signal $ac_signal"
1210 echo "$as_me: exit $exit_status"
1211 } >&5
1212 rm -f core *.core &&
1213 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1214 exit $exit_status
1216 for ac_signal in 1 2 13 15; do
1217 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1218 done
1219 ac_signal=0
1221 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1222 rm -rf conftest* confdefs.h
1223 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1224 echo >confdefs.h
1226 # Predefined preprocessor variables.
1228 cat >>confdefs.h <<_ACEOF
1229 #define PACKAGE_NAME "$PACKAGE_NAME"
1230 _ACEOF
1233 cat >>confdefs.h <<_ACEOF
1234 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1235 _ACEOF
1238 cat >>confdefs.h <<_ACEOF
1239 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1240 _ACEOF
1243 cat >>confdefs.h <<_ACEOF
1244 #define PACKAGE_STRING "$PACKAGE_STRING"
1245 _ACEOF
1248 cat >>confdefs.h <<_ACEOF
1249 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1250 _ACEOF
1253 # Let the site file select an alternate cache file if it wants to.
1254 # Prefer explicitly selected file to automatically selected ones.
1255 if test -z "$CONFIG_SITE"; then
1256 if test "x$prefix" != xNONE; then
1257 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1258 else
1259 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1262 for ac_site_file in $CONFIG_SITE; do
1263 if test -r "$ac_site_file"; then
1264 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1265 echo "$as_me: loading site script $ac_site_file" >&6;}
1266 sed 's/^/| /' "$ac_site_file" >&5
1267 . "$ac_site_file"
1269 done
1271 if test -r "$cache_file"; then
1272 # Some versions of bash will fail to source /dev/null (special
1273 # files actually), so we avoid doing that.
1274 if test -f "$cache_file"; then
1275 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1276 echo "$as_me: loading cache $cache_file" >&6;}
1277 case $cache_file in
1278 [\\/]* | ?:[\\/]* ) . $cache_file;;
1279 *) . ./$cache_file;;
1280 esac
1282 else
1283 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1284 echo "$as_me: creating cache $cache_file" >&6;}
1285 >$cache_file
1288 # Check that the precious variables saved in the cache have kept the same
1289 # value.
1290 ac_cache_corrupted=false
1291 for ac_var in `(set) 2>&1 |
1292 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1293 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1294 eval ac_new_set=\$ac_env_${ac_var}_set
1295 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1296 eval ac_new_val="\$ac_env_${ac_var}_value"
1297 case $ac_old_set,$ac_new_set in
1298 set,)
1299 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1300 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1301 ac_cache_corrupted=: ;;
1302 ,set)
1303 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1304 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1305 ac_cache_corrupted=: ;;
1306 ,);;
1308 if test "x$ac_old_val" != "x$ac_new_val"; then
1309 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1310 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1311 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1312 echo "$as_me: former value: $ac_old_val" >&2;}
1313 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1314 echo "$as_me: current value: $ac_new_val" >&2;}
1315 ac_cache_corrupted=:
1316 fi;;
1317 esac
1318 # Pass precious variables to config.status.
1319 if test "$ac_new_set" = set; then
1320 case $ac_new_val in
1321 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1322 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1323 *) ac_arg=$ac_var=$ac_new_val ;;
1324 esac
1325 case " $ac_configure_args " in
1326 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1327 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1328 esac
1330 done
1331 if $ac_cache_corrupted; then
1332 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1333 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1334 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1335 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1336 { (exit 1); exit 1; }; }
1339 ac_ext=c
1340 ac_cpp='$CPP $CPPFLAGS'
1341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1372 ac_config_headers="$ac_config_headers config.h"
1375 # This works around the fact that libtool configuration may change LD
1376 # for this particular configuration, but some shells, instead of
1377 # keeping the changes in LD private, export them just because LD is
1378 # exported. Only used at the end of this file.
1379 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1381 # For libtool versioning info, format is CURRENT:REVISION:AGE
1382 libtool_VERSION=6:9:0
1385 # Find the rest of the source tree framework.
1386 # Default to --enable-multilib
1387 # Check whether --enable-multilib or --disable-multilib was given.
1388 if test "${enable_multilib+set}" = set; then
1389 enableval="$enable_multilib"
1390 case "$enableval" in
1391 yes) multilib=yes ;;
1392 no) multilib=no ;;
1393 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1394 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1395 { (exit 1); exit 1; }; } ;;
1396 esac
1397 else
1398 multilib=yes
1401 # We may get other options which we leave undocumented:
1402 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1403 # See config-ml.in if you want the gory details.
1405 if test "$srcdir" = "."; then
1406 if test "$with_target_subdir" != "."; then
1407 multi_basedir="$srcdir/$with_multisrctop../.."
1408 else
1409 multi_basedir="$srcdir/$with_multisrctop.."
1411 else
1412 multi_basedir="$srcdir/.."
1416 ac_config_commands="$ac_config_commands default-1"
1419 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1421 # You will slowly go insane if you do not grok the following fact: when
1422 # building v3 as part of the compiler, the top-level /target/ becomes the
1423 # library's /host/. configure then causes --target to default to --host,
1424 # exactly like any other package using autoconf. Therefore, 'target' and
1425 # 'host' will always be the same. This makes sense both for native and
1426 # cross compilers, just think about it for a little while. :-)
1428 # Also, if v3 is being configured as part of a cross compiler, the top-level
1429 # configure script will pass the "real" host as $with_cross_host.
1431 # Do not delete or change the following two lines. For why, see
1432 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1433 ac_aux_dir=
1434 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1435 if test -f $ac_dir/install-sh; then
1436 ac_aux_dir=$ac_dir
1437 ac_install_sh="$ac_aux_dir/install-sh -c"
1438 break
1439 elif test -f $ac_dir/install.sh; then
1440 ac_aux_dir=$ac_dir
1441 ac_install_sh="$ac_aux_dir/install.sh -c"
1442 break
1443 elif test -f $ac_dir/shtool; then
1444 ac_aux_dir=$ac_dir
1445 ac_install_sh="$ac_aux_dir/shtool install -c"
1446 break
1448 done
1449 if test -z "$ac_aux_dir"; then
1450 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1451 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1452 { (exit 1); exit 1; }; }
1454 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1455 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1456 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1458 # Make sure we can run config.sub.
1459 $ac_config_sub sun4 >/dev/null 2>&1 ||
1460 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1461 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1462 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: checking build system type" >&5
1465 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1466 if test "${ac_cv_build+set}" = set; then
1467 echo $ECHO_N "(cached) $ECHO_C" >&6
1468 else
1469 ac_cv_build_alias=$build_alias
1470 test -z "$ac_cv_build_alias" &&
1471 ac_cv_build_alias=`$ac_config_guess`
1472 test -z "$ac_cv_build_alias" &&
1473 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1474 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1475 { (exit 1); exit 1; }; }
1476 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1477 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1478 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1479 { (exit 1); exit 1; }; }
1482 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1483 echo "${ECHO_T}$ac_cv_build" >&6
1484 build=$ac_cv_build
1485 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1486 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1487 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1490 echo "$as_me:$LINENO: checking host system type" >&5
1491 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1492 if test "${ac_cv_host+set}" = set; then
1493 echo $ECHO_N "(cached) $ECHO_C" >&6
1494 else
1495 ac_cv_host_alias=$host_alias
1496 test -z "$ac_cv_host_alias" &&
1497 ac_cv_host_alias=$ac_cv_build_alias
1498 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1499 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1500 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1501 { (exit 1); exit 1; }; }
1504 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1505 echo "${ECHO_T}$ac_cv_host" >&6
1506 host=$ac_cv_host
1507 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1508 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1509 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1512 echo "$as_me:$LINENO: checking target system type" >&5
1513 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1514 if test "${ac_cv_target+set}" = set; then
1515 echo $ECHO_N "(cached) $ECHO_C" >&6
1516 else
1517 ac_cv_target_alias=$target_alias
1518 test "x$ac_cv_target_alias" = "x" &&
1519 ac_cv_target_alias=$ac_cv_host_alias
1520 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1521 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1522 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1523 { (exit 1); exit 1; }; }
1526 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1527 echo "${ECHO_T}$ac_cv_target" >&6
1528 target=$ac_cv_target
1529 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1530 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1531 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1534 # The aliases save the names the user supplied, while $host etc.
1535 # will get canonicalized.
1536 test -n "$target_alias" &&
1537 test "$program_prefix$program_suffix$program_transform_name" = \
1538 NONENONEs,x,x, &&
1539 program_prefix=${target_alias}-
1540 target_alias=${target_alias-$host_alias}
1542 # Handy for debugging:
1543 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1545 if test "$build" != "$host"; then
1546 # We are being configured with some form of cross compiler.
1547 GLIBCXX_IS_NATIVE=false
1548 case "$host","$target" in
1549 # Darwin crosses can use the host system's libraries and headers,
1550 # because of the fat library support. Of course, it must be the
1551 # same version of Darwin on both sides. Allow the user to
1552 # just say --target=foo-darwin without a version number to mean
1553 # "the version on this system".
1554 *-*-darwin*,*-*-darwin*)
1555 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1556 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1557 if test $hostos = $targetos -o $targetos = darwin ; then
1558 GLIBCXX_IS_NATIVE=true
1565 esac
1566 else
1567 GLIBCXX_IS_NATIVE=true
1570 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1571 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1572 # 1.x: minimum required version
1573 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1574 # of other PACKAGE_* variables will, however, and there's nothing
1575 # we can do about that; they come from AC_INIT).
1576 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1577 # file in the top srcdir, etc, etc), so stop complaining.
1578 # no-dependencies: turns off auto dependency generation (just for now)
1579 # -Wall: turns on all automake warnings...
1580 # -Wno-portability: ...except this one, since GNU make is now required.
1581 am__api_version="1.9"
1582 # Find a good install program. We prefer a C program (faster),
1583 # so one script is as good as another. But avoid the broken or
1584 # incompatible versions:
1585 # SysV /etc/install, /usr/sbin/install
1586 # SunOS /usr/etc/install
1587 # IRIX /sbin/install
1588 # AIX /bin/install
1589 # AmigaOS /C/install, which installs bootblocks on floppy discs
1590 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1591 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1592 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1593 # OS/2's system install, which has a completely different semantic
1594 # ./install, which can be erroneously created by make from ./install.sh.
1595 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1596 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1597 if test -z "$INSTALL"; then
1598 if test "${ac_cv_path_install+set}" = set; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 else
1601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1602 for as_dir in $PATH
1604 IFS=$as_save_IFS
1605 test -z "$as_dir" && as_dir=.
1606 # Account for people who put trailing slashes in PATH elements.
1607 case $as_dir/ in
1608 ./ | .// | /cC/* | \
1609 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1610 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1611 /usr/ucb/* ) ;;
1613 # OSF1 and SCO ODT 3.0 have their own names for install.
1614 # Don't use installbsd from OSF since it installs stuff as root
1615 # by default.
1616 for ac_prog in ginstall scoinst install; do
1617 for ac_exec_ext in '' $ac_executable_extensions; do
1618 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1619 if test $ac_prog = install &&
1620 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1621 # AIX install. It has an incompatible calling convention.
1623 elif test $ac_prog = install &&
1624 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1625 # program-specific install script used by HP pwplus--don't use.
1627 else
1628 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1629 break 3
1632 done
1633 done
1635 esac
1636 done
1640 if test "${ac_cv_path_install+set}" = set; then
1641 INSTALL=$ac_cv_path_install
1642 else
1643 # As a last resort, use the slow shell script. We don't cache a
1644 # path for INSTALL within a source directory, because that will
1645 # break other packages using the cache if that directory is
1646 # removed, or if the path is relative.
1647 INSTALL=$ac_install_sh
1650 echo "$as_me:$LINENO: result: $INSTALL" >&5
1651 echo "${ECHO_T}$INSTALL" >&6
1653 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1654 # It thinks the first close brace ends the variable substitution.
1655 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1657 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1659 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1661 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1662 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1663 # Just in case
1664 sleep 1
1665 echo timestamp > conftest.file
1666 # Do `set' in a subshell so we don't clobber the current shell's
1667 # arguments. Must try -L first in case configure is actually a
1668 # symlink; some systems play weird games with the mod time of symlinks
1669 # (eg FreeBSD returns the mod time of the symlink's containing
1670 # directory).
1671 if (
1672 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1673 if test "$*" = "X"; then
1674 # -L didn't work.
1675 set X `ls -t $srcdir/configure conftest.file`
1677 rm -f conftest.file
1678 if test "$*" != "X $srcdir/configure conftest.file" \
1679 && test "$*" != "X conftest.file $srcdir/configure"; then
1681 # If neither matched, then we have a broken ls. This can happen
1682 # if, for instance, CONFIG_SHELL is bash and it inherits a
1683 # broken ls alias from the environment. This has actually
1684 # happened. Such a system could not be considered "sane".
1685 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1686 alias in your environment" >&5
1687 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1688 alias in your environment" >&2;}
1689 { (exit 1); exit 1; }; }
1692 test "$2" = conftest.file
1694 then
1695 # Ok.
1697 else
1698 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1699 Check your system clock" >&5
1700 echo "$as_me: error: newly created file is older than distributed files!
1701 Check your system clock" >&2;}
1702 { (exit 1); exit 1; }; }
1704 echo "$as_me:$LINENO: result: yes" >&5
1705 echo "${ECHO_T}yes" >&6
1706 test "$program_prefix" != NONE &&
1707 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1708 # Use a double $ so make ignores it.
1709 test "$program_suffix" != NONE &&
1710 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1711 # Double any \ or $. echo might interpret backslashes.
1712 # By default was `s,x,x', remove it if useless.
1713 cat <<\_ACEOF >conftest.sed
1714 s/[\\$]/&&/g;s/;s,x,x,$//
1715 _ACEOF
1716 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1717 rm conftest.sed
1719 # expand $ac_aux_dir to an absolute path
1720 am_aux_dir=`cd $ac_aux_dir && pwd`
1722 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1723 # Use eval to expand $SHELL
1724 if eval "$MISSING --run true"; then
1725 am_missing_run="$MISSING --run "
1726 else
1727 am_missing_run=
1728 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1729 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1732 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1733 # We used to keeping the `.' as first argument, in order to
1734 # allow $(mkdir_p) to be used without argument. As in
1735 # $(mkdir_p) $(somedir)
1736 # where $(somedir) is conditionally defined. However this is wrong
1737 # for two reasons:
1738 # 1. if the package is installed by a user who cannot write `.'
1739 # make install will fail,
1740 # 2. the above comment should most certainly read
1741 # $(mkdir_p) $(DESTDIR)$(somedir)
1742 # so it does not work when $(somedir) is undefined and
1743 # $(DESTDIR) is not.
1744 # To support the latter case, we have to write
1745 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1746 # so the `.' trick is pointless.
1747 mkdir_p='mkdir -p --'
1748 else
1749 # On NextStep and OpenStep, the `mkdir' command does not
1750 # recognize any option. It will interpret all options as
1751 # directories to create, and then abort because `.' already
1752 # exists.
1753 for d in ./-p ./--version;
1755 test -d $d && rmdir $d
1756 done
1757 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1758 if test -f "$ac_aux_dir/mkinstalldirs"; then
1759 mkdir_p='$(mkinstalldirs)'
1760 else
1761 mkdir_p='$(install_sh) -d'
1765 for ac_prog in gawk mawk nawk awk
1767 # Extract the first word of "$ac_prog", so it can be a program name with args.
1768 set dummy $ac_prog; ac_word=$2
1769 echo "$as_me:$LINENO: checking for $ac_word" >&5
1770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1771 if test "${ac_cv_prog_AWK+set}" = set; then
1772 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 else
1774 if test -n "$AWK"; then
1775 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1776 else
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 for as_dir in $PATH
1780 IFS=$as_save_IFS
1781 test -z "$as_dir" && as_dir=.
1782 for ac_exec_ext in '' $ac_executable_extensions; do
1783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1784 ac_cv_prog_AWK="$ac_prog"
1785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1786 break 2
1788 done
1789 done
1793 AWK=$ac_cv_prog_AWK
1794 if test -n "$AWK"; then
1795 echo "$as_me:$LINENO: result: $AWK" >&5
1796 echo "${ECHO_T}$AWK" >&6
1797 else
1798 echo "$as_me:$LINENO: result: no" >&5
1799 echo "${ECHO_T}no" >&6
1802 test -n "$AWK" && break
1803 done
1805 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1806 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1807 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1808 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1810 else
1811 cat >conftest.make <<\_ACEOF
1812 all:
1813 @echo 'ac_maketemp="$(MAKE)"'
1814 _ACEOF
1815 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1816 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1817 if test -n "$ac_maketemp"; then
1818 eval ac_cv_prog_make_${ac_make}_set=yes
1819 else
1820 eval ac_cv_prog_make_${ac_make}_set=no
1822 rm -f conftest.make
1824 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1825 echo "$as_me:$LINENO: result: yes" >&5
1826 echo "${ECHO_T}yes" >&6
1827 SET_MAKE=
1828 else
1829 echo "$as_me:$LINENO: result: no" >&5
1830 echo "${ECHO_T}no" >&6
1831 SET_MAKE="MAKE=${MAKE-make}"
1834 rm -rf .tst 2>/dev/null
1835 mkdir .tst 2>/dev/null
1836 if test -d .tst; then
1837 am__leading_dot=.
1838 else
1839 am__leading_dot=_
1841 rmdir .tst 2>/dev/null
1843 # test to see if srcdir already configured
1844 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1845 test -f $srcdir/config.status; then
1846 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1847 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1848 { (exit 1); exit 1; }; }
1851 # test whether we have cygpath
1852 if test -z "$CYGPATH_W"; then
1853 if (cygpath --version) >/dev/null 2>/dev/null; then
1854 CYGPATH_W='cygpath -w'
1855 else
1856 CYGPATH_W=echo
1861 # Define the identity of the package.
1862 PACKAGE='libstdc++'
1863 VERSION='version-unused'
1866 # Some tools Automake needs.
1868 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1871 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1874 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1877 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1880 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1882 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1884 # Installed binaries are usually stripped using `strip' when the user
1885 # run `make install-strip'. However `strip' might not be the right
1886 # tool to use in cross-compilation environments, therefore Automake
1887 # will honor the `STRIP' environment variable to overrule this program.
1888 if test "$cross_compiling" != no; then
1889 if test -n "$ac_tool_prefix"; then
1890 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1891 set dummy ${ac_tool_prefix}strip; ac_word=$2
1892 echo "$as_me:$LINENO: checking for $ac_word" >&5
1893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1894 if test "${ac_cv_prog_STRIP+set}" = set; then
1895 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 else
1897 if test -n "$STRIP"; then
1898 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1899 else
1900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1901 for as_dir in $PATH
1903 IFS=$as_save_IFS
1904 test -z "$as_dir" && as_dir=.
1905 for ac_exec_ext in '' $ac_executable_extensions; do
1906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1907 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1909 break 2
1911 done
1912 done
1916 STRIP=$ac_cv_prog_STRIP
1917 if test -n "$STRIP"; then
1918 echo "$as_me:$LINENO: result: $STRIP" >&5
1919 echo "${ECHO_T}$STRIP" >&6
1920 else
1921 echo "$as_me:$LINENO: result: no" >&5
1922 echo "${ECHO_T}no" >&6
1926 if test -z "$ac_cv_prog_STRIP"; then
1927 ac_ct_STRIP=$STRIP
1928 # Extract the first word of "strip", so it can be a program name with args.
1929 set dummy strip; ac_word=$2
1930 echo "$as_me:$LINENO: checking for $ac_word" >&5
1931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1932 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 else
1935 if test -n "$ac_ct_STRIP"; then
1936 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1937 else
1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 for as_dir in $PATH
1941 IFS=$as_save_IFS
1942 test -z "$as_dir" && as_dir=.
1943 for ac_exec_ext in '' $ac_executable_extensions; do
1944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1945 ac_cv_prog_ac_ct_STRIP="strip"
1946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1947 break 2
1949 done
1950 done
1952 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1955 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1956 if test -n "$ac_ct_STRIP"; then
1957 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1958 echo "${ECHO_T}$ac_ct_STRIP" >&6
1959 else
1960 echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6
1964 STRIP=$ac_ct_STRIP
1965 else
1966 STRIP="$ac_cv_prog_STRIP"
1970 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1972 # We need awk for the "check" target. The system "awk" is bad on
1973 # some platforms.
1974 # Always define AMTAR for backward compatibility.
1976 AMTAR=${AMTAR-"${am_missing_run}tar"}
1978 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1989 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1990 # up critical shell variables.
1992 ac_ext=c
1993 ac_cpp='$CPP $CPPFLAGS'
1994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1997 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1998 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1999 # On Suns, sometimes $CPP names a directory.
2000 if test -n "$CPP" && test -d "$CPP"; then
2001 CPP=
2003 if test -z "$CPP"; then
2004 if test "${ac_cv_prog_CPP+set}" = set; then
2005 echo $ECHO_N "(cached) $ECHO_C" >&6
2006 else
2007 # Double quotes because CPP needs to be expanded
2008 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2010 ac_preproc_ok=false
2011 for ac_c_preproc_warn_flag in '' yes
2013 # Use a header file that comes with gcc, so configuring glibc
2014 # with a fresh cross-compiler works.
2015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2016 # <limits.h> exists even on freestanding compilers.
2017 # On the NeXT, cc -E runs the code through the compiler's parser,
2018 # not just through cpp. "Syntax error" is here to catch this case.
2019 cat >conftest.$ac_ext <<_ACEOF
2020 /* confdefs.h. */
2021 _ACEOF
2022 cat confdefs.h >>conftest.$ac_ext
2023 cat >>conftest.$ac_ext <<_ACEOF
2024 /* end confdefs.h. */
2025 #ifdef __STDC__
2026 # include <limits.h>
2027 #else
2028 # include <assert.h>
2029 #endif
2030 Syntax error
2031 _ACEOF
2032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2034 ac_status=$?
2035 grep -v '^ *+' conftest.er1 >conftest.err
2036 rm -f conftest.er1
2037 cat conftest.err >&5
2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2039 (exit $ac_status); } >/dev/null; then
2040 if test -s conftest.err; then
2041 ac_cpp_err=$ac_c_preproc_warn_flag
2042 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2043 else
2044 ac_cpp_err=
2046 else
2047 ac_cpp_err=yes
2049 if test -z "$ac_cpp_err"; then
2051 else
2052 echo "$as_me: failed program was:" >&5
2053 sed 's/^/| /' conftest.$ac_ext >&5
2055 # Broken: fails on valid input.
2056 continue
2058 rm -f conftest.err conftest.$ac_ext
2060 # OK, works on sane cases. Now check whether non-existent headers
2061 # can be detected and how.
2062 cat >conftest.$ac_ext <<_ACEOF
2063 /* confdefs.h. */
2064 _ACEOF
2065 cat confdefs.h >>conftest.$ac_ext
2066 cat >>conftest.$ac_ext <<_ACEOF
2067 /* end confdefs.h. */
2068 #include <ac_nonexistent.h>
2069 _ACEOF
2070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2071 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2072 ac_status=$?
2073 grep -v '^ *+' conftest.er1 >conftest.err
2074 rm -f conftest.er1
2075 cat conftest.err >&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); } >/dev/null; then
2078 if test -s conftest.err; then
2079 ac_cpp_err=$ac_c_preproc_warn_flag
2080 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2081 else
2082 ac_cpp_err=
2084 else
2085 ac_cpp_err=yes
2087 if test -z "$ac_cpp_err"; then
2088 # Broken: success on invalid input.
2089 continue
2090 else
2091 echo "$as_me: failed program was:" >&5
2092 sed 's/^/| /' conftest.$ac_ext >&5
2094 # Passes both tests.
2095 ac_preproc_ok=:
2096 break
2098 rm -f conftest.err conftest.$ac_ext
2100 done
2101 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2102 rm -f conftest.err conftest.$ac_ext
2103 if $ac_preproc_ok; then
2104 break
2107 done
2108 ac_cv_prog_CPP=$CPP
2111 CPP=$ac_cv_prog_CPP
2112 else
2113 ac_cv_prog_CPP=$CPP
2115 echo "$as_me:$LINENO: result: $CPP" >&5
2116 echo "${ECHO_T}$CPP" >&6
2117 ac_preproc_ok=false
2118 for ac_c_preproc_warn_flag in '' yes
2120 # Use a header file that comes with gcc, so configuring glibc
2121 # with a fresh cross-compiler works.
2122 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2123 # <limits.h> exists even on freestanding compilers.
2124 # On the NeXT, cc -E runs the code through the compiler's parser,
2125 # not just through cpp. "Syntax error" is here to catch this case.
2126 cat >conftest.$ac_ext <<_ACEOF
2127 /* confdefs.h. */
2128 _ACEOF
2129 cat confdefs.h >>conftest.$ac_ext
2130 cat >>conftest.$ac_ext <<_ACEOF
2131 /* end confdefs.h. */
2132 #ifdef __STDC__
2133 # include <limits.h>
2134 #else
2135 # include <assert.h>
2136 #endif
2137 Syntax error
2138 _ACEOF
2139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2140 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2141 ac_status=$?
2142 grep -v '^ *+' conftest.er1 >conftest.err
2143 rm -f conftest.er1
2144 cat conftest.err >&5
2145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2146 (exit $ac_status); } >/dev/null; then
2147 if test -s conftest.err; then
2148 ac_cpp_err=$ac_c_preproc_warn_flag
2149 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2150 else
2151 ac_cpp_err=
2153 else
2154 ac_cpp_err=yes
2156 if test -z "$ac_cpp_err"; then
2158 else
2159 echo "$as_me: failed program was:" >&5
2160 sed 's/^/| /' conftest.$ac_ext >&5
2162 # Broken: fails on valid input.
2163 continue
2165 rm -f conftest.err conftest.$ac_ext
2167 # OK, works on sane cases. Now check whether non-existent headers
2168 # can be detected and how.
2169 cat >conftest.$ac_ext <<_ACEOF
2170 /* confdefs.h. */
2171 _ACEOF
2172 cat confdefs.h >>conftest.$ac_ext
2173 cat >>conftest.$ac_ext <<_ACEOF
2174 /* end confdefs.h. */
2175 #include <ac_nonexistent.h>
2176 _ACEOF
2177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2179 ac_status=$?
2180 grep -v '^ *+' conftest.er1 >conftest.err
2181 rm -f conftest.er1
2182 cat conftest.err >&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); } >/dev/null; then
2185 if test -s conftest.err; then
2186 ac_cpp_err=$ac_c_preproc_warn_flag
2187 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2188 else
2189 ac_cpp_err=
2191 else
2192 ac_cpp_err=yes
2194 if test -z "$ac_cpp_err"; then
2195 # Broken: success on invalid input.
2196 continue
2197 else
2198 echo "$as_me: failed program was:" >&5
2199 sed 's/^/| /' conftest.$ac_ext >&5
2201 # Passes both tests.
2202 ac_preproc_ok=:
2203 break
2205 rm -f conftest.err conftest.$ac_ext
2207 done
2208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2209 rm -f conftest.err conftest.$ac_ext
2210 if $ac_preproc_ok; then
2212 else
2213 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2214 See \`config.log' for more details." >&5
2215 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2216 See \`config.log' for more details." >&2;}
2217 { (exit 1); exit 1; }; }
2220 ac_ext=c
2221 ac_cpp='$CPP $CPPFLAGS'
2222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2227 echo "$as_me:$LINENO: checking for egrep" >&5
2228 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2229 if test "${ac_cv_prog_egrep+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2231 else
2232 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2233 then ac_cv_prog_egrep='grep -E'
2234 else ac_cv_prog_egrep='egrep'
2237 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2238 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2239 EGREP=$ac_cv_prog_egrep
2243 # Keep these sync'd with the list in Makefile.am. The first provides an
2244 # expandable list at autoconf time; the second provides an expandable list
2245 # (i.e., shell variable) at configure time.
2247 SUBDIRS='include libmath libsupc++ src po testsuite'
2249 # These need to be absolute paths, yet at the same time need to
2250 # canonicalize only relative paths, because then amd will not unmount
2251 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2252 glibcxx_builddir=`${PWDCMD-pwd}`
2253 case $srcdir in
2254 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2255 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2256 esac
2257 toplevel_srcdir=${glibcxx_srcdir}/..
2262 # We use these options to decide which functions to include. They are
2263 # set from the top level.
2265 # Check whether --with-target-subdir or --without-target-subdir was given.
2266 if test "${with_target_subdir+set}" = set; then
2267 withval="$with_target_subdir"
2272 # Check whether --with-cross-host or --without-cross-host was given.
2273 if test "${with_cross_host+set}" = set; then
2274 withval="$with_cross_host"
2279 # Check whether --with-newlib or --without-newlib was given.
2280 if test "${with_newlib+set}" = set; then
2281 withval="$with_newlib"
2285 # We're almost certainly being configured before anything else which uses
2286 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2287 # we not cache the value of CXX that we "discover" here, because it's set
2288 # to something unique for us and libjava. Other target libraries need to
2289 # find CXX for themselves. We yank the rug out from under the normal AC_*
2290 # process by sneakily renaming the cache variable. This also lets us debug
2291 # the value of "our" CXX in postmortems.
2293 # We must also force CXX to /not/ be a precious variable, otherwise the
2294 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2295 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2296 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2297 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2299 # -fno-builtin must be present here so that a non-conflicting form of
2300 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2305 save_CXXFLAGS="$CXXFLAGS"
2306 CXXFLAGS="$CXXFLAGS -fno-builtin"
2307 ac_ext=c
2308 ac_cpp='$CPP $CPPFLAGS'
2309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2312 if test -n "$ac_tool_prefix"; then
2313 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2314 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2315 echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2317 if test "${ac_cv_prog_CC+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2319 else
2320 if test -n "$CC"; then
2321 ac_cv_prog_CC="$CC" # Let the user override the test.
2322 else
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 for as_dir in $PATH
2326 IFS=$as_save_IFS
2327 test -z "$as_dir" && as_dir=.
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2330 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332 break 2
2334 done
2335 done
2339 CC=$ac_cv_prog_CC
2340 if test -n "$CC"; then
2341 echo "$as_me:$LINENO: result: $CC" >&5
2342 echo "${ECHO_T}$CC" >&6
2343 else
2344 echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6
2349 if test -z "$ac_cv_prog_CC"; then
2350 ac_ct_CC=$CC
2351 # Extract the first word of "gcc", so it can be a program name with args.
2352 set dummy gcc; ac_word=$2
2353 echo "$as_me:$LINENO: checking for $ac_word" >&5
2354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2355 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2356 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 else
2358 if test -n "$ac_ct_CC"; then
2359 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2360 else
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 for as_dir in $PATH
2364 IFS=$as_save_IFS
2365 test -z "$as_dir" && as_dir=.
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2368 ac_cv_prog_ac_ct_CC="gcc"
2369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 break 2
2372 done
2373 done
2377 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2378 if test -n "$ac_ct_CC"; then
2379 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2380 echo "${ECHO_T}$ac_ct_CC" >&6
2381 else
2382 echo "$as_me:$LINENO: result: no" >&5
2383 echo "${ECHO_T}no" >&6
2386 CC=$ac_ct_CC
2387 else
2388 CC="$ac_cv_prog_CC"
2391 if test -z "$CC"; then
2392 if test -n "$ac_tool_prefix"; then
2393 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2394 set dummy ${ac_tool_prefix}cc; ac_word=$2
2395 echo "$as_me:$LINENO: checking for $ac_word" >&5
2396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2397 if test "${ac_cv_prog_CC+set}" = set; then
2398 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 else
2400 if test -n "$CC"; then
2401 ac_cv_prog_CC="$CC" # Let the user override the test.
2402 else
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 for as_dir in $PATH
2406 IFS=$as_save_IFS
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2410 ac_cv_prog_CC="${ac_tool_prefix}cc"
2411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 break 2
2414 done
2415 done
2419 CC=$ac_cv_prog_CC
2420 if test -n "$CC"; then
2421 echo "$as_me:$LINENO: result: $CC" >&5
2422 echo "${ECHO_T}$CC" >&6
2423 else
2424 echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6
2429 if test -z "$ac_cv_prog_CC"; then
2430 ac_ct_CC=$CC
2431 # Extract the first word of "cc", so it can be a program name with args.
2432 set dummy cc; ac_word=$2
2433 echo "$as_me:$LINENO: checking for $ac_word" >&5
2434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2435 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 else
2438 if test -n "$ac_ct_CC"; then
2439 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2440 else
2441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2442 for as_dir in $PATH
2444 IFS=$as_save_IFS
2445 test -z "$as_dir" && as_dir=.
2446 for ac_exec_ext in '' $ac_executable_extensions; do
2447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2448 ac_cv_prog_ac_ct_CC="cc"
2449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 break 2
2452 done
2453 done
2457 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2458 if test -n "$ac_ct_CC"; then
2459 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2460 echo "${ECHO_T}$ac_ct_CC" >&6
2461 else
2462 echo "$as_me:$LINENO: result: no" >&5
2463 echo "${ECHO_T}no" >&6
2466 CC=$ac_ct_CC
2467 else
2468 CC="$ac_cv_prog_CC"
2472 if test -z "$CC"; then
2473 # Extract the first word of "cc", so it can be a program name with args.
2474 set dummy cc; ac_word=$2
2475 echo "$as_me:$LINENO: checking for $ac_word" >&5
2476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2477 if test "${ac_cv_prog_CC+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 else
2480 if test -n "$CC"; then
2481 ac_cv_prog_CC="$CC" # Let the user override the test.
2482 else
2483 ac_prog_rejected=no
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485 for as_dir in $PATH
2487 IFS=$as_save_IFS
2488 test -z "$as_dir" && as_dir=.
2489 for ac_exec_ext in '' $ac_executable_extensions; do
2490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2491 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2492 ac_prog_rejected=yes
2493 continue
2495 ac_cv_prog_CC="cc"
2496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2497 break 2
2499 done
2500 done
2502 if test $ac_prog_rejected = yes; then
2503 # We found a bogon in the path, so make sure we never use it.
2504 set dummy $ac_cv_prog_CC
2505 shift
2506 if test $# != 0; then
2507 # We chose a different compiler from the bogus one.
2508 # However, it has the same basename, so the bogon will be chosen
2509 # first if we set CC to just the basename; use the full file name.
2510 shift
2511 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2516 CC=$ac_cv_prog_CC
2517 if test -n "$CC"; then
2518 echo "$as_me:$LINENO: result: $CC" >&5
2519 echo "${ECHO_T}$CC" >&6
2520 else
2521 echo "$as_me:$LINENO: result: no" >&5
2522 echo "${ECHO_T}no" >&6
2526 if test -z "$CC"; then
2527 if test -n "$ac_tool_prefix"; then
2528 for ac_prog in cl
2530 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2531 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2532 echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2534 if test "${ac_cv_prog_CC+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2536 else
2537 if test -n "$CC"; then
2538 ac_cv_prog_CC="$CC" # Let the user override the test.
2539 else
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 for as_dir in $PATH
2543 IFS=$as_save_IFS
2544 test -z "$as_dir" && as_dir=.
2545 for ac_exec_ext in '' $ac_executable_extensions; do
2546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2547 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2549 break 2
2551 done
2552 done
2556 CC=$ac_cv_prog_CC
2557 if test -n "$CC"; then
2558 echo "$as_me:$LINENO: result: $CC" >&5
2559 echo "${ECHO_T}$CC" >&6
2560 else
2561 echo "$as_me:$LINENO: result: no" >&5
2562 echo "${ECHO_T}no" >&6
2565 test -n "$CC" && break
2566 done
2568 if test -z "$CC"; then
2569 ac_ct_CC=$CC
2570 for ac_prog in cl
2572 # Extract the first word of "$ac_prog", so it can be a program name with args.
2573 set dummy $ac_prog; ac_word=$2
2574 echo "$as_me:$LINENO: checking for $ac_word" >&5
2575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2576 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 else
2579 if test -n "$ac_ct_CC"; then
2580 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2581 else
2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2583 for as_dir in $PATH
2585 IFS=$as_save_IFS
2586 test -z "$as_dir" && as_dir=.
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2589 ac_cv_prog_ac_ct_CC="$ac_prog"
2590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 break 2
2593 done
2594 done
2598 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2599 if test -n "$ac_ct_CC"; then
2600 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2601 echo "${ECHO_T}$ac_ct_CC" >&6
2602 else
2603 echo "$as_me:$LINENO: result: no" >&5
2604 echo "${ECHO_T}no" >&6
2607 test -n "$ac_ct_CC" && break
2608 done
2610 CC=$ac_ct_CC
2616 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2617 See \`config.log' for more details." >&5
2618 echo "$as_me: error: no acceptable C compiler found in \$PATH
2619 See \`config.log' for more details." >&2;}
2620 { (exit 1); exit 1; }; }
2622 # Provide some information about the compiler.
2623 echo "$as_me:$LINENO:" \
2624 "checking for C compiler version" >&5
2625 ac_compiler=`set X $ac_compile; echo $2`
2626 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2627 (eval $ac_compiler --version </dev/null >&5) 2>&5
2628 ac_status=$?
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }
2631 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2632 (eval $ac_compiler -v </dev/null >&5) 2>&5
2633 ac_status=$?
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }
2636 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2637 (eval $ac_compiler -V </dev/null >&5) 2>&5
2638 ac_status=$?
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }
2642 cat >conftest.$ac_ext <<_ACEOF
2643 /* confdefs.h. */
2644 _ACEOF
2645 cat confdefs.h >>conftest.$ac_ext
2646 cat >>conftest.$ac_ext <<_ACEOF
2647 /* end confdefs.h. */
2650 main ()
2654 return 0;
2656 _ACEOF
2657 # FIXME: Cleanup?
2658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2659 (eval $ac_link) 2>&5
2660 ac_status=$?
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; then
2663 gcc_no_link=no
2664 else
2665 gcc_no_link=yes
2668 if test x$gcc_no_link = xyes; then
2669 # Setting cross_compile will disable run tests; it will
2670 # also disable AC_CHECK_FILE but that's generally
2671 # correct if we can't link.
2672 cross_compiling=yes
2673 EXEEXT=
2674 else
2675 cat >conftest.$ac_ext <<_ACEOF
2676 /* confdefs.h. */
2677 _ACEOF
2678 cat confdefs.h >>conftest.$ac_ext
2679 cat >>conftest.$ac_ext <<_ACEOF
2680 /* end confdefs.h. */
2683 main ()
2687 return 0;
2689 _ACEOF
2690 ac_clean_files_save=$ac_clean_files
2691 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2692 # Try to create an executable without -o first, disregard a.out.
2693 # It will help us diagnose broken compilers, and finding out an intuition
2694 # of exeext.
2695 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2696 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2697 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2698 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2699 (eval $ac_link_default) 2>&5
2700 ac_status=$?
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); }; then
2703 # Find the output, starting from the most likely. This scheme is
2704 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2705 # resort.
2707 # Be careful to initialize this variable, since it used to be cached.
2708 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2709 ac_cv_exeext=
2710 # b.out is created by i960 compilers.
2711 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2713 test -f "$ac_file" || continue
2714 case $ac_file in
2715 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2717 conftest.$ac_ext )
2718 # This is the source file.
2720 [ab].out )
2721 # We found the default executable, but exeext='' is most
2722 # certainly right.
2723 break;;
2724 *.* )
2725 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2726 # FIXME: I believe we export ac_cv_exeext for Libtool,
2727 # but it would be cool to find out if it's true. Does anybody
2728 # maintain Libtool? --akim.
2729 export ac_cv_exeext
2730 break;;
2732 break;;
2733 esac
2734 done
2735 else
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2739 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2740 See \`config.log' for more details." >&5
2741 echo "$as_me: error: C compiler cannot create executables
2742 See \`config.log' for more details." >&2;}
2743 { (exit 77); exit 77; }; }
2746 ac_exeext=$ac_cv_exeext
2747 echo "$as_me:$LINENO: result: $ac_file" >&5
2748 echo "${ECHO_T}$ac_file" >&6
2750 # Check the compiler produces executables we can run. If not, either
2751 # the compiler is broken, or we cross compile.
2752 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2753 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2754 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2755 # If not cross compiling, check that we can run a simple program.
2756 if test "$cross_compiling" != yes; then
2757 if { ac_try='./$ac_file'
2758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2759 (eval $ac_try) 2>&5
2760 ac_status=$?
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }; }; then
2763 cross_compiling=no
2764 else
2765 if test "$cross_compiling" = maybe; then
2766 cross_compiling=yes
2767 else
2768 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2769 If you meant to cross compile, use \`--host'.
2770 See \`config.log' for more details." >&5
2771 echo "$as_me: error: cannot run C compiled programs.
2772 If you meant to cross compile, use \`--host'.
2773 See \`config.log' for more details." >&2;}
2774 { (exit 1); exit 1; }; }
2778 echo "$as_me:$LINENO: result: yes" >&5
2779 echo "${ECHO_T}yes" >&6
2781 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2782 ac_clean_files=$ac_clean_files_save
2783 # Check the compiler produces executables we can run. If not, either
2784 # the compiler is broken, or we cross compile.
2785 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2786 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2787 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2788 echo "${ECHO_T}$cross_compiling" >&6
2790 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2791 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2793 (eval $ac_link) 2>&5
2794 ac_status=$?
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; then
2797 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2798 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2799 # work properly (i.e., refer to `conftest.exe'), while it won't with
2800 # `rm'.
2801 for ac_file in conftest.exe conftest conftest.*; do
2802 test -f "$ac_file" || continue
2803 case $ac_file in
2804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2805 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2806 export ac_cv_exeext
2807 break;;
2808 * ) break;;
2809 esac
2810 done
2811 else
2812 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2813 See \`config.log' for more details." >&5
2814 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2815 See \`config.log' for more details." >&2;}
2816 { (exit 1); exit 1; }; }
2819 rm -f conftest$ac_cv_exeext
2820 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2821 echo "${ECHO_T}$ac_cv_exeext" >&6
2823 rm -f conftest.$ac_ext
2824 EXEEXT=$ac_cv_exeext
2825 ac_exeext=$EXEEXT
2827 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2828 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2829 if test "${ac_cv_objext+set}" = set; then
2830 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 else
2832 cat >conftest.$ac_ext <<_ACEOF
2833 /* confdefs.h. */
2834 _ACEOF
2835 cat confdefs.h >>conftest.$ac_ext
2836 cat >>conftest.$ac_ext <<_ACEOF
2837 /* end confdefs.h. */
2840 main ()
2844 return 0;
2846 _ACEOF
2847 rm -f conftest.o conftest.obj
2848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2849 (eval $ac_compile) 2>&5
2850 ac_status=$?
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }; then
2853 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2854 case $ac_file in
2855 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2856 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2857 break;;
2858 esac
2859 done
2860 else
2861 echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.$ac_ext >&5
2864 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2865 See \`config.log' for more details." >&5
2866 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2867 See \`config.log' for more details." >&2;}
2868 { (exit 1); exit 1; }; }
2871 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2873 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2874 echo "${ECHO_T}$ac_cv_objext" >&6
2875 OBJEXT=$ac_cv_objext
2876 ac_objext=$OBJEXT
2877 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2878 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2879 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2880 echo $ECHO_N "(cached) $ECHO_C" >&6
2881 else
2882 cat >conftest.$ac_ext <<_ACEOF
2883 /* confdefs.h. */
2884 _ACEOF
2885 cat confdefs.h >>conftest.$ac_ext
2886 cat >>conftest.$ac_ext <<_ACEOF
2887 /* end confdefs.h. */
2890 main ()
2892 #ifndef __GNUC__
2893 choke me
2894 #endif
2897 return 0;
2899 _ACEOF
2900 rm -f conftest.$ac_objext
2901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2902 (eval $ac_compile) 2>conftest.er1
2903 ac_status=$?
2904 grep -v '^ *+' conftest.er1 >conftest.err
2905 rm -f conftest.er1
2906 cat conftest.err >&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); } &&
2909 { ac_try='test -z "$ac_c_werror_flag"
2910 || test ! -s conftest.err'
2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2912 (eval $ac_try) 2>&5
2913 ac_status=$?
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; } &&
2916 { ac_try='test -s conftest.$ac_objext'
2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918 (eval $ac_try) 2>&5
2919 ac_status=$?
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; }; then
2922 ac_compiler_gnu=yes
2923 else
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2927 ac_compiler_gnu=no
2929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2930 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2933 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2934 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2935 GCC=`test $ac_compiler_gnu = yes && echo yes`
2936 ac_test_CFLAGS=${CFLAGS+set}
2937 ac_save_CFLAGS=$CFLAGS
2938 CFLAGS="-g"
2939 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2940 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2941 if test "${ac_cv_prog_cc_g+set}" = set; then
2942 echo $ECHO_N "(cached) $ECHO_C" >&6
2943 else
2944 cat >conftest.$ac_ext <<_ACEOF
2945 /* confdefs.h. */
2946 _ACEOF
2947 cat confdefs.h >>conftest.$ac_ext
2948 cat >>conftest.$ac_ext <<_ACEOF
2949 /* end confdefs.h. */
2952 main ()
2956 return 0;
2958 _ACEOF
2959 rm -f conftest.$ac_objext
2960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2961 (eval $ac_compile) 2>conftest.er1
2962 ac_status=$?
2963 grep -v '^ *+' conftest.er1 >conftest.err
2964 rm -f conftest.er1
2965 cat conftest.err >&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); } &&
2968 { ac_try='test -z "$ac_c_werror_flag"
2969 || test ! -s conftest.err'
2970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2971 (eval $ac_try) 2>&5
2972 ac_status=$?
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); }; } &&
2975 { ac_try='test -s conftest.$ac_objext'
2976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977 (eval $ac_try) 2>&5
2978 ac_status=$?
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; }; then
2981 ac_cv_prog_cc_g=yes
2982 else
2983 echo "$as_me: failed program was:" >&5
2984 sed 's/^/| /' conftest.$ac_ext >&5
2986 ac_cv_prog_cc_g=no
2988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2990 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2991 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2992 if test "$ac_test_CFLAGS" = set; then
2993 CFLAGS=$ac_save_CFLAGS
2994 elif test $ac_cv_prog_cc_g = yes; then
2995 if test "$GCC" = yes; then
2996 CFLAGS="-g -O2"
2997 else
2998 CFLAGS="-g"
3000 else
3001 if test "$GCC" = yes; then
3002 CFLAGS="-O2"
3003 else
3004 CFLAGS=
3007 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3008 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3009 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3011 else
3012 ac_cv_prog_cc_stdc=no
3013 ac_save_CC=$CC
3014 cat >conftest.$ac_ext <<_ACEOF
3015 /* confdefs.h. */
3016 _ACEOF
3017 cat confdefs.h >>conftest.$ac_ext
3018 cat >>conftest.$ac_ext <<_ACEOF
3019 /* end confdefs.h. */
3020 #include <stdarg.h>
3021 #include <stdio.h>
3022 #include <sys/types.h>
3023 #include <sys/stat.h>
3024 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3025 struct buf { int x; };
3026 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3027 static char *e (p, i)
3028 char **p;
3029 int i;
3031 return p[i];
3033 static char *f (char * (*g) (char **, int), char **p, ...)
3035 char *s;
3036 va_list v;
3037 va_start (v,p);
3038 s = g (p, va_arg (v,int));
3039 va_end (v);
3040 return s;
3043 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3044 function prototypes and stuff, but not '\xHH' hex character constants.
3045 These don't provoke an error unfortunately, instead are silently treated
3046 as 'x'. The following induces an error, until -std1 is added to get
3047 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3048 array size at least. It's necessary to write '\x00'==0 to get something
3049 that's true only with -std1. */
3050 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3052 int test (int i, double x);
3053 struct s1 {int (*f) (int a);};
3054 struct s2 {int (*f) (double a);};
3055 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3056 int argc;
3057 char **argv;
3059 main ()
3061 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3063 return 0;
3065 _ACEOF
3066 # Don't try gcc -ansi; that turns off useful extensions and
3067 # breaks some systems' header files.
3068 # AIX -qlanglvl=ansi
3069 # Ultrix and OSF/1 -std1
3070 # HP-UX 10.20 and later -Ae
3071 # HP-UX older versions -Aa -D_HPUX_SOURCE
3072 # SVR4 -Xc -D__EXTENSIONS__
3073 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3075 CC="$ac_save_CC $ac_arg"
3076 rm -f conftest.$ac_objext
3077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3078 (eval $ac_compile) 2>conftest.er1
3079 ac_status=$?
3080 grep -v '^ *+' conftest.er1 >conftest.err
3081 rm -f conftest.er1
3082 cat conftest.err >&5
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); } &&
3085 { ac_try='test -z "$ac_c_werror_flag"
3086 || test ! -s conftest.err'
3087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3088 (eval $ac_try) 2>&5
3089 ac_status=$?
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); }; } &&
3092 { ac_try='test -s conftest.$ac_objext'
3093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3094 (eval $ac_try) 2>&5
3095 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }; }; then
3098 ac_cv_prog_cc_stdc=$ac_arg
3099 break
3100 else
3101 echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.$ac_ext >&5
3105 rm -f conftest.err conftest.$ac_objext
3106 done
3107 rm -f conftest.$ac_ext conftest.$ac_objext
3108 CC=$ac_save_CC
3112 case "x$ac_cv_prog_cc_stdc" in
3113 x|xno)
3114 echo "$as_me:$LINENO: result: none needed" >&5
3115 echo "${ECHO_T}none needed" >&6 ;;
3117 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3118 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3119 CC="$CC $ac_cv_prog_cc_stdc" ;;
3120 esac
3122 # Some people use a C++ compiler to compile C. Since we use `exit',
3123 # in C++ we need to declare it. In case someone uses the same compiler
3124 # for both compiling C and C++ we need to have the C++ compiler decide
3125 # the declaration of exit, since it's the most demanding environment.
3126 cat >conftest.$ac_ext <<_ACEOF
3127 #ifndef __cplusplus
3128 choke me
3129 #endif
3130 _ACEOF
3131 rm -f conftest.$ac_objext
3132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3133 (eval $ac_compile) 2>conftest.er1
3134 ac_status=$?
3135 grep -v '^ *+' conftest.er1 >conftest.err
3136 rm -f conftest.er1
3137 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } &&
3140 { ac_try='test -z "$ac_c_werror_flag"
3141 || test ! -s conftest.err'
3142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3143 (eval $ac_try) 2>&5
3144 ac_status=$?
3145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146 (exit $ac_status); }; } &&
3147 { ac_try='test -s conftest.$ac_objext'
3148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3149 (eval $ac_try) 2>&5
3150 ac_status=$?
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); }; }; then
3153 for ac_declaration in \
3154 '' \
3155 'extern "C" void std::exit (int) throw (); using std::exit;' \
3156 'extern "C" void std::exit (int); using std::exit;' \
3157 'extern "C" void exit (int) throw ();' \
3158 'extern "C" void exit (int);' \
3159 'void exit (int);'
3161 cat >conftest.$ac_ext <<_ACEOF
3162 /* confdefs.h. */
3163 _ACEOF
3164 cat confdefs.h >>conftest.$ac_ext
3165 cat >>conftest.$ac_ext <<_ACEOF
3166 /* end confdefs.h. */
3167 $ac_declaration
3168 #include <stdlib.h>
3170 main ()
3172 exit (42);
3174 return 0;
3176 _ACEOF
3177 rm -f conftest.$ac_objext
3178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3179 (eval $ac_compile) 2>conftest.er1
3180 ac_status=$?
3181 grep -v '^ *+' conftest.er1 >conftest.err
3182 rm -f conftest.er1
3183 cat conftest.err >&5
3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); } &&
3186 { ac_try='test -z "$ac_c_werror_flag"
3187 || test ! -s conftest.err'
3188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189 (eval $ac_try) 2>&5
3190 ac_status=$?
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); }; } &&
3193 { ac_try='test -s conftest.$ac_objext'
3194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195 (eval $ac_try) 2>&5
3196 ac_status=$?
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); }; }; then
3200 else
3201 echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3204 continue
3206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3207 cat >conftest.$ac_ext <<_ACEOF
3208 /* confdefs.h. */
3209 _ACEOF
3210 cat confdefs.h >>conftest.$ac_ext
3211 cat >>conftest.$ac_ext <<_ACEOF
3212 /* end confdefs.h. */
3213 $ac_declaration
3215 main ()
3217 exit (42);
3219 return 0;
3221 _ACEOF
3222 rm -f conftest.$ac_objext
3223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3224 (eval $ac_compile) 2>conftest.er1
3225 ac_status=$?
3226 grep -v '^ *+' conftest.er1 >conftest.err
3227 rm -f conftest.er1
3228 cat conftest.err >&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); } &&
3231 { ac_try='test -z "$ac_c_werror_flag"
3232 || test ! -s conftest.err'
3233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3234 (eval $ac_try) 2>&5
3235 ac_status=$?
3236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237 (exit $ac_status); }; } &&
3238 { ac_try='test -s conftest.$ac_objext'
3239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3240 (eval $ac_try) 2>&5
3241 ac_status=$?
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); }; }; then
3244 break
3245 else
3246 echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.$ac_ext >&5
3250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3251 done
3252 rm -f conftest*
3253 if test -n "$ac_declaration"; then
3254 echo '#ifdef __cplusplus' >>confdefs.h
3255 echo $ac_declaration >>confdefs.h
3256 echo '#endif' >>confdefs.h
3259 else
3260 echo "$as_me: failed program was:" >&5
3261 sed 's/^/| /' conftest.$ac_ext >&5
3264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3265 ac_ext=c
3266 ac_cpp='$CPP $CPPFLAGS'
3267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3271 ac_ext=cc
3272 ac_cpp='$CXXCPP $CPPFLAGS'
3273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3276 if test -n "$ac_tool_prefix"; then
3277 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3279 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3280 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3281 echo "$as_me:$LINENO: checking for $ac_word" >&5
3282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3283 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3284 echo $ECHO_N "(cached) $ECHO_C" >&6
3285 else
3286 if test -n "$CXX"; then
3287 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3288 else
3289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290 for as_dir in $PATH
3292 IFS=$as_save_IFS
3293 test -z "$as_dir" && as_dir=.
3294 for ac_exec_ext in '' $ac_executable_extensions; do
3295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3296 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3298 break 2
3300 done
3301 done
3305 CXX=$glibcxx_cv_prog_CXX
3306 if test -n "$CXX"; then
3307 echo "$as_me:$LINENO: result: $CXX" >&5
3308 echo "${ECHO_T}$CXX" >&6
3309 else
3310 echo "$as_me:$LINENO: result: no" >&5
3311 echo "${ECHO_T}no" >&6
3314 test -n "$CXX" && break
3315 done
3317 if test -z "$CXX"; then
3318 ac_ct_CXX=$CXX
3319 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3321 # Extract the first word of "$ac_prog", so it can be a program name with args.
3322 set dummy $ac_prog; ac_word=$2
3323 echo "$as_me:$LINENO: checking for $ac_word" >&5
3324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3325 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3326 echo $ECHO_N "(cached) $ECHO_C" >&6
3327 else
3328 if test -n "$ac_ct_CXX"; then
3329 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3330 else
3331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3332 for as_dir in $PATH
3334 IFS=$as_save_IFS
3335 test -z "$as_dir" && as_dir=.
3336 for ac_exec_ext in '' $ac_executable_extensions; do
3337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3338 ac_cv_prog_ac_ct_CXX="$ac_prog"
3339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 break 2
3342 done
3343 done
3347 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3348 if test -n "$ac_ct_CXX"; then
3349 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3350 echo "${ECHO_T}$ac_ct_CXX" >&6
3351 else
3352 echo "$as_me:$LINENO: result: no" >&5
3353 echo "${ECHO_T}no" >&6
3356 test -n "$ac_ct_CXX" && break
3357 done
3358 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3360 CXX=$ac_ct_CXX
3364 # Provide some information about the compiler.
3365 echo "$as_me:$LINENO:" \
3366 "checking for C++ compiler version" >&5
3367 ac_compiler=`set X $ac_compile; echo $2`
3368 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3369 (eval $ac_compiler --version </dev/null >&5) 2>&5
3370 ac_status=$?
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); }
3373 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3374 (eval $ac_compiler -v </dev/null >&5) 2>&5
3375 ac_status=$?
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); }
3378 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3379 (eval $ac_compiler -V </dev/null >&5) 2>&5
3380 ac_status=$?
3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382 (exit $ac_status); }
3384 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3385 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3386 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3387 echo $ECHO_N "(cached) $ECHO_C" >&6
3388 else
3389 cat >conftest.$ac_ext <<_ACEOF
3390 /* confdefs.h. */
3391 _ACEOF
3392 cat confdefs.h >>conftest.$ac_ext
3393 cat >>conftest.$ac_ext <<_ACEOF
3394 /* end confdefs.h. */
3397 main ()
3399 #ifndef __GNUC__
3400 choke me
3401 #endif
3404 return 0;
3406 _ACEOF
3407 rm -f conftest.$ac_objext
3408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3409 (eval $ac_compile) 2>conftest.er1
3410 ac_status=$?
3411 grep -v '^ *+' conftest.er1 >conftest.err
3412 rm -f conftest.er1
3413 cat conftest.err >&5
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); } &&
3416 { ac_try='test -z "$ac_cxx_werror_flag"
3417 || test ! -s conftest.err'
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3419 (eval $ac_try) 2>&5
3420 ac_status=$?
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; } &&
3423 { ac_try='test -s conftest.$ac_objext'
3424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3425 (eval $ac_try) 2>&5
3426 ac_status=$?
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); }; }; then
3429 ac_compiler_gnu=yes
3430 else
3431 echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.$ac_ext >&5
3434 ac_compiler_gnu=no
3436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3437 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3440 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3441 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3442 GXX=`test $ac_compiler_gnu = yes && echo yes`
3443 ac_test_CXXFLAGS=${CXXFLAGS+set}
3444 ac_save_CXXFLAGS=$CXXFLAGS
3445 CXXFLAGS="-g"
3446 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3447 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3448 if test "${ac_cv_prog_cxx_g+set}" = set; then
3449 echo $ECHO_N "(cached) $ECHO_C" >&6
3450 else
3451 cat >conftest.$ac_ext <<_ACEOF
3452 /* confdefs.h. */
3453 _ACEOF
3454 cat confdefs.h >>conftest.$ac_ext
3455 cat >>conftest.$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3459 main ()
3463 return 0;
3465 _ACEOF
3466 rm -f conftest.$ac_objext
3467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3468 (eval $ac_compile) 2>conftest.er1
3469 ac_status=$?
3470 grep -v '^ *+' conftest.er1 >conftest.err
3471 rm -f conftest.er1
3472 cat conftest.err >&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); } &&
3475 { ac_try='test -z "$ac_cxx_werror_flag"
3476 || test ! -s conftest.err'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 (eval $ac_try) 2>&5
3479 ac_status=$?
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; } &&
3482 { ac_try='test -s conftest.$ac_objext'
3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3484 (eval $ac_try) 2>&5
3485 ac_status=$?
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); }; }; then
3488 ac_cv_prog_cxx_g=yes
3489 else
3490 echo "$as_me: failed program was:" >&5
3491 sed 's/^/| /' conftest.$ac_ext >&5
3493 ac_cv_prog_cxx_g=no
3495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3497 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3498 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3499 if test "$ac_test_CXXFLAGS" = set; then
3500 CXXFLAGS=$ac_save_CXXFLAGS
3501 elif test $ac_cv_prog_cxx_g = yes; then
3502 if test "$GXX" = yes; then
3503 CXXFLAGS="-g -O2"
3504 else
3505 CXXFLAGS="-g"
3507 else
3508 if test "$GXX" = yes; then
3509 CXXFLAGS="-O2"
3510 else
3511 CXXFLAGS=
3514 for ac_declaration in \
3515 '' \
3516 'extern "C" void std::exit (int) throw (); using std::exit;' \
3517 'extern "C" void std::exit (int); using std::exit;' \
3518 'extern "C" void exit (int) throw ();' \
3519 'extern "C" void exit (int);' \
3520 'void exit (int);'
3522 cat >conftest.$ac_ext <<_ACEOF
3523 /* confdefs.h. */
3524 _ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3528 $ac_declaration
3529 #include <stdlib.h>
3531 main ()
3533 exit (42);
3535 return 0;
3537 _ACEOF
3538 rm -f conftest.$ac_objext
3539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3540 (eval $ac_compile) 2>conftest.er1
3541 ac_status=$?
3542 grep -v '^ *+' conftest.er1 >conftest.err
3543 rm -f conftest.er1
3544 cat conftest.err >&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); } &&
3547 { ac_try='test -z "$ac_cxx_werror_flag"
3548 || test ! -s conftest.err'
3549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550 (eval $ac_try) 2>&5
3551 ac_status=$?
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); }; } &&
3554 { ac_try='test -s conftest.$ac_objext'
3555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 (eval $ac_try) 2>&5
3557 ac_status=$?
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); }; }; then
3561 else
3562 echo "$as_me: failed program was:" >&5
3563 sed 's/^/| /' conftest.$ac_ext >&5
3565 continue
3567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3568 cat >conftest.$ac_ext <<_ACEOF
3569 /* confdefs.h. */
3570 _ACEOF
3571 cat confdefs.h >>conftest.$ac_ext
3572 cat >>conftest.$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3574 $ac_declaration
3576 main ()
3578 exit (42);
3580 return 0;
3582 _ACEOF
3583 rm -f conftest.$ac_objext
3584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3585 (eval $ac_compile) 2>conftest.er1
3586 ac_status=$?
3587 grep -v '^ *+' conftest.er1 >conftest.err
3588 rm -f conftest.er1
3589 cat conftest.err >&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); } &&
3592 { ac_try='test -z "$ac_cxx_werror_flag"
3593 || test ! -s conftest.err'
3594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3595 (eval $ac_try) 2>&5
3596 ac_status=$?
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }; } &&
3599 { ac_try='test -s conftest.$ac_objext'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3601 (eval $ac_try) 2>&5
3602 ac_status=$?
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; }; then
3605 break
3606 else
3607 echo "$as_me: failed program was:" >&5
3608 sed 's/^/| /' conftest.$ac_ext >&5
3611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3612 done
3613 rm -f conftest*
3614 if test -n "$ac_declaration"; then
3615 echo '#ifdef __cplusplus' >>confdefs.h
3616 echo $ac_declaration >>confdefs.h
3617 echo '#endif' >>confdefs.h
3620 ac_ext=c
3621 ac_cpp='$CPP $CPPFLAGS'
3622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3626 CXXFLAGS="$save_CXXFLAGS"
3631 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3632 # available). Uncomment the next line to force a particular method.
3633 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3634 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3635 LN_S=$as_ln_s
3636 if test "$LN_S" = "ln -s"; then
3637 echo "$as_me:$LINENO: result: yes" >&5
3638 echo "${ECHO_T}yes" >&6
3639 else
3640 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3641 echo "${ECHO_T}no, using $LN_S" >&6
3644 #LN_S='cp -p'
3646 if test -n "$ac_tool_prefix"; then
3647 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3648 set dummy ${ac_tool_prefix}as; ac_word=$2
3649 echo "$as_me:$LINENO: checking for $ac_word" >&5
3650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3651 if test "${ac_cv_prog_AS+set}" = set; then
3652 echo $ECHO_N "(cached) $ECHO_C" >&6
3653 else
3654 if test -n "$AS"; then
3655 ac_cv_prog_AS="$AS" # Let the user override the test.
3656 else
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 for as_dir in $PATH
3660 IFS=$as_save_IFS
3661 test -z "$as_dir" && as_dir=.
3662 for ac_exec_ext in '' $ac_executable_extensions; do
3663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3664 ac_cv_prog_AS="${ac_tool_prefix}as"
3665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 break 2
3668 done
3669 done
3673 AS=$ac_cv_prog_AS
3674 if test -n "$AS"; then
3675 echo "$as_me:$LINENO: result: $AS" >&5
3676 echo "${ECHO_T}$AS" >&6
3677 else
3678 echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6
3683 if test -z "$ac_cv_prog_AS"; then
3684 ac_ct_AS=$AS
3685 # Extract the first word of "as", so it can be a program name with args.
3686 set dummy as; ac_word=$2
3687 echo "$as_me:$LINENO: checking for $ac_word" >&5
3688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3689 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3691 else
3692 if test -n "$ac_ct_AS"; then
3693 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3694 else
3695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 for as_dir in $PATH
3698 IFS=$as_save_IFS
3699 test -z "$as_dir" && as_dir=.
3700 for ac_exec_ext in '' $ac_executable_extensions; do
3701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3702 ac_cv_prog_ac_ct_AS="as"
3703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 break 2
3706 done
3707 done
3711 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3712 if test -n "$ac_ct_AS"; then
3713 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3714 echo "${ECHO_T}$ac_ct_AS" >&6
3715 else
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3720 AS=$ac_ct_AS
3721 else
3722 AS="$ac_cv_prog_AS"
3725 if test -n "$ac_tool_prefix"; then
3726 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3727 set dummy ${ac_tool_prefix}ar; ac_word=$2
3728 echo "$as_me:$LINENO: checking for $ac_word" >&5
3729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3730 if test "${ac_cv_prog_AR+set}" = set; then
3731 echo $ECHO_N "(cached) $ECHO_C" >&6
3732 else
3733 if test -n "$AR"; then
3734 ac_cv_prog_AR="$AR" # Let the user override the test.
3735 else
3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3737 for as_dir in $PATH
3739 IFS=$as_save_IFS
3740 test -z "$as_dir" && as_dir=.
3741 for ac_exec_ext in '' $ac_executable_extensions; do
3742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3743 ac_cv_prog_AR="${ac_tool_prefix}ar"
3744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3745 break 2
3747 done
3748 done
3752 AR=$ac_cv_prog_AR
3753 if test -n "$AR"; then
3754 echo "$as_me:$LINENO: result: $AR" >&5
3755 echo "${ECHO_T}$AR" >&6
3756 else
3757 echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6
3762 if test -z "$ac_cv_prog_AR"; then
3763 ac_ct_AR=$AR
3764 # Extract the first word of "ar", so it can be a program name with args.
3765 set dummy ar; ac_word=$2
3766 echo "$as_me:$LINENO: checking for $ac_word" >&5
3767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3768 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 else
3771 if test -n "$ac_ct_AR"; then
3772 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3773 else
3774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3775 for as_dir in $PATH
3777 IFS=$as_save_IFS
3778 test -z "$as_dir" && as_dir=.
3779 for ac_exec_ext in '' $ac_executable_extensions; do
3780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3781 ac_cv_prog_ac_ct_AR="ar"
3782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 break 2
3785 done
3786 done
3790 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3791 if test -n "$ac_ct_AR"; then
3792 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3793 echo "${ECHO_T}$ac_ct_AR" >&6
3794 else
3795 echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6
3799 AR=$ac_ct_AR
3800 else
3801 AR="$ac_cv_prog_AR"
3804 if test -n "$ac_tool_prefix"; then
3805 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3806 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3807 echo "$as_me:$LINENO: checking for $ac_word" >&5
3808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3809 if test "${ac_cv_prog_RANLIB+set}" = set; then
3810 echo $ECHO_N "(cached) $ECHO_C" >&6
3811 else
3812 if test -n "$RANLIB"; then
3813 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3814 else
3815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3816 for as_dir in $PATH
3818 IFS=$as_save_IFS
3819 test -z "$as_dir" && as_dir=.
3820 for ac_exec_ext in '' $ac_executable_extensions; do
3821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3822 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 break 2
3826 done
3827 done
3831 RANLIB=$ac_cv_prog_RANLIB
3832 if test -n "$RANLIB"; then
3833 echo "$as_me:$LINENO: result: $RANLIB" >&5
3834 echo "${ECHO_T}$RANLIB" >&6
3835 else
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3841 if test -z "$ac_cv_prog_RANLIB"; then
3842 ac_ct_RANLIB=$RANLIB
3843 # Extract the first word of "ranlib", so it can be a program name with args.
3844 set dummy ranlib; ac_word=$2
3845 echo "$as_me:$LINENO: checking for $ac_word" >&5
3846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3847 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3849 else
3850 if test -n "$ac_ct_RANLIB"; then
3851 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3852 else
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854 for as_dir in $PATH
3856 IFS=$as_save_IFS
3857 test -z "$as_dir" && as_dir=.
3858 for ac_exec_ext in '' $ac_executable_extensions; do
3859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_prog_ac_ct_RANLIB="ranlib"
3861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 break 2
3864 done
3865 done
3867 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3870 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3871 if test -n "$ac_ct_RANLIB"; then
3872 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3873 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3874 else
3875 echo "$as_me:$LINENO: result: no" >&5
3876 echo "${ECHO_T}no" >&6
3879 RANLIB=$ac_ct_RANLIB
3880 else
3881 RANLIB="$ac_cv_prog_RANLIB"
3885 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3886 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3887 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3888 if test "${enable_maintainer_mode+set}" = set; then
3889 enableval="$enable_maintainer_mode"
3890 USE_MAINTAINER_MODE=$enableval
3891 else
3892 USE_MAINTAINER_MODE=no
3894 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3895 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3898 if test $USE_MAINTAINER_MODE = yes; then
3899 MAINTAINER_MODE_TRUE=
3900 MAINTAINER_MODE_FALSE='#'
3901 else
3902 MAINTAINER_MODE_TRUE='#'
3903 MAINTAINER_MODE_FALSE=
3906 MAINT=$MAINTAINER_MODE_TRUE
3910 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3911 # which are themselves conditionally expanded.
3912 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3913 ## other macros from doing the same. This should be automated.) -pme
3914 need_libmath=no
3916 # Check for uClibc since Linux platforms use different configuration
3917 # directories depending on the C library in use.
3918 cat >conftest.$ac_ext <<_ACEOF
3919 /* confdefs.h. */
3920 _ACEOF
3921 cat confdefs.h >>conftest.$ac_ext
3922 cat >>conftest.$ac_ext <<_ACEOF
3923 /* end confdefs.h. */
3925 #include <stdio.h>
3926 #if __UCLIBC__
3927 _using_uclibc
3928 #endif
3930 _ACEOF
3931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3932 $EGREP "_using_uclibc" >/dev/null 2>&1; then
3933 uclibc=yes
3934 else
3935 uclibc=no
3937 rm -f conftest*
3940 # Find platform-specific directories containing configuration info.
3941 # Also possibly modify flags used elsewhere, as needed by the platform.
3943 . $glibcxx_srcdir/configure.host
3944 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3945 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3946 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3947 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3952 # Check whether --enable-shared or --disable-shared was given.
3953 if test "${enable_shared+set}" = set; then
3954 enableval="$enable_shared"
3955 p=${PACKAGE-default}
3956 case $enableval in
3957 yes) enable_shared=yes ;;
3958 no) enable_shared=no ;;
3960 enable_shared=no
3961 # Look at the argument we got. We use all the common list separators.
3962 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3963 for pkg in $enableval; do
3964 if test "X$pkg" = "X$p"; then
3965 enable_shared=yes
3967 done
3968 IFS="$ac_save_ifs"
3970 esac
3971 else
3972 enable_shared=yes
3974 # Check whether --enable-static or --disable-static was given.
3975 if test "${enable_static+set}" = set; then
3976 enableval="$enable_static"
3977 p=${PACKAGE-default}
3978 case $enableval in
3979 yes) enable_static=yes ;;
3980 no) enable_static=no ;;
3982 enable_static=no
3983 # Look at the argument we got. We use all the common list separators.
3984 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3985 for pkg in $enableval; do
3986 if test "X$pkg" = "X$p"; then
3987 enable_static=yes
3989 done
3990 IFS="$ac_save_ifs"
3992 esac
3993 else
3994 enable_static=yes
3996 # Check whether --enable-fast-install or --disable-fast-install was given.
3997 if test "${enable_fast_install+set}" = set; then
3998 enableval="$enable_fast_install"
3999 p=${PACKAGE-default}
4000 case $enableval in
4001 yes) enable_fast_install=yes ;;
4002 no) enable_fast_install=no ;;
4004 enable_fast_install=no
4005 # Look at the argument we got. We use all the common list separators.
4006 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4007 for pkg in $enableval; do
4008 if test "X$pkg" = "X$p"; then
4009 enable_fast_install=yes
4011 done
4012 IFS="$ac_save_ifs"
4014 esac
4015 else
4016 enable_fast_install=yes
4019 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4020 if test "${with_gnu_ld+set}" = set; then
4021 withval="$with_gnu_ld"
4022 test "$withval" = no || with_gnu_ld=yes
4023 else
4024 with_gnu_ld=no
4026 ac_prog=ld
4027 if test "$GCC" = yes; then
4028 # Check if gcc -print-prog-name=ld gives a path.
4029 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4030 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4031 case $host in
4032 *-*-mingw*)
4033 # gcc leaves a trailing carriage return which upsets mingw
4034 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4036 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4037 esac
4038 case $ac_prog in
4039 # Accept absolute paths.
4040 [\\/]* | [A-Za-z]:[\\/]*)
4041 re_direlt='/[^/][^/]*/\.\./'
4042 # Canonicalize the path of ld
4043 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4044 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4045 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4046 done
4047 test -z "$LD" && LD="$ac_prog"
4050 # If it fails, then pretend we aren't using GCC.
4051 ac_prog=ld
4054 # If it is relative, then search for the first ld in PATH.
4055 with_gnu_ld=unknown
4057 esac
4058 elif test "$with_gnu_ld" = yes; then
4059 echo "$as_me:$LINENO: checking for GNU ld" >&5
4060 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4061 else
4062 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4063 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4065 if test "${lt_cv_path_LD+set}" = set; then
4066 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 else
4068 if test -z "$LD"; then
4069 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4070 for ac_dir in $PATH; do
4071 test -z "$ac_dir" && ac_dir=.
4072 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4073 lt_cv_path_LD="$ac_dir/$ac_prog"
4074 # Check to see if the program is GNU ld. I'd rather use --version,
4075 # but apparently some GNU ld's only accept -v.
4076 # Break only if it was the GNU/non-GNU ld that we prefer.
4077 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4078 test "$with_gnu_ld" != no && break
4079 else
4080 test "$with_gnu_ld" != yes && break
4083 done
4084 IFS="$ac_save_ifs"
4085 else
4086 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4090 LD="$lt_cv_path_LD"
4091 if test -n "$LD"; then
4092 echo "$as_me:$LINENO: result: $LD" >&5
4093 echo "${ECHO_T}$LD" >&6
4094 else
4095 echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
4098 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4099 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4100 { (exit 1); exit 1; }; }
4101 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4102 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4103 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 else
4106 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4107 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4108 lt_cv_prog_gnu_ld=yes
4109 else
4110 lt_cv_prog_gnu_ld=no
4113 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4114 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4115 with_gnu_ld=$lt_cv_prog_gnu_ld
4118 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4119 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4120 if test "${lt_cv_ld_reload_flag+set}" = set; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 else
4123 lt_cv_ld_reload_flag='-r'
4125 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4126 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4127 reload_flag=$lt_cv_ld_reload_flag
4128 test -n "$reload_flag" && reload_flag=" $reload_flag"
4130 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4131 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4132 if test "${lt_cv_path_NM+set}" = set; then
4133 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 else
4135 if test -n "$NM"; then
4136 # Let the user override the test.
4137 lt_cv_path_NM="$NM"
4138 else
4139 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4140 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4141 test -z "$ac_dir" && ac_dir=.
4142 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4143 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4144 # Check to see if the nm accepts a BSD-compat flag.
4145 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4146 # nm: unknown option "B" ignored
4147 # Tru64's nm complains that /dev/null is an invalid object file
4148 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4149 lt_cv_path_NM="$tmp_nm -B"
4150 break
4151 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4152 lt_cv_path_NM="$tmp_nm -p"
4153 break
4154 else
4155 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4156 continue # so that we can try to find one that supports BSD flags
4159 done
4160 IFS="$ac_save_ifs"
4161 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4165 NM="$lt_cv_path_NM"
4166 echo "$as_me:$LINENO: result: $NM" >&5
4167 echo "${ECHO_T}$NM" >&6
4169 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4170 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4171 if test "${lt_cv_deplibs_check_method+set}" = set; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 else
4174 lt_cv_file_magic_cmd='$MAGIC_CMD'
4175 lt_cv_file_magic_test_file=
4176 lt_cv_deplibs_check_method='unknown'
4177 # Need to set the preceding variable on all platforms that support
4178 # interlibrary dependencies.
4179 # 'none' -- dependencies not supported.
4180 # `unknown' -- same as none, but documents that we really don't know.
4181 # 'pass_all' -- all dependencies passed with no checks.
4182 # 'test_compile' -- check by making test program.
4183 # 'file_magic [regex]' -- check by looking for files in library path
4184 # which responds to the $file_magic_cmd with a given egrep regex.
4185 # If you have `file' or equivalent on your system and you're not sure
4186 # whether `pass_all' will *always* work, you probably want this one.
4188 case $host_os in
4189 aix*)
4190 lt_cv_deplibs_check_method=pass_all
4193 beos*)
4194 lt_cv_deplibs_check_method=pass_all
4197 bsdi4*)
4198 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4199 lt_cv_file_magic_cmd='/usr/bin/file -L'
4200 lt_cv_file_magic_test_file=/shlib/libc.so
4203 cygwin* | mingw* |pw32*)
4204 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4205 lt_cv_file_magic_cmd='$OBJDUMP -f'
4208 darwin* | rhapsody*)
4209 # this will be overwritten by pass_all, but leave it in just in case
4210 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4211 lt_cv_file_magic_cmd='/usr/bin/file -L'
4212 case "$host_os" in
4213 rhapsody* | darwin1.012)
4214 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4216 *) # Darwin 1.3 on
4217 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4219 esac
4220 lt_cv_deplibs_check_method=pass_all
4223 freebsd* | kfreebsd*-gnu)
4224 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4225 case $host_cpu in
4226 i*86 )
4227 # Not sure whether the presence of OpenBSD here was a mistake.
4228 # Let's accept both of them until this is cleared up.
4229 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4230 lt_cv_file_magic_cmd=/usr/bin/file
4231 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4233 esac
4234 else
4235 lt_cv_deplibs_check_method=pass_all
4239 gnu*)
4240 lt_cv_deplibs_check_method=pass_all
4243 hpux10.20*|hpux11*)
4244 case $host_cpu in
4245 hppa*)
4246 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4247 lt_cv_file_magic_cmd=/usr/bin/file
4248 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4250 ia64*)
4251 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4252 lt_cv_file_magic_cmd=/usr/bin/file
4253 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4255 esac
4258 irix5* | irix6*)
4259 case $host_os in
4260 irix5*)
4261 # this will be overridden with pass_all, but let us keep it just in case
4262 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4265 case $LD in
4266 *-32|*"-32 ") libmagic=32-bit;;
4267 *-n32|*"-n32 ") libmagic=N32;;
4268 *-64|*"-64 ") libmagic=64-bit;;
4269 *) libmagic=never-match;;
4270 esac
4271 # this will be overridden with pass_all, but let us keep it just in case
4272 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4274 esac
4275 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4276 lt_cv_deplibs_check_method=pass_all
4279 # This must be Linux ELF.
4280 linux-gnu*)
4281 lt_cv_deplibs_check_method=pass_all
4284 netbsd* | knetbsd*-gnu)
4285 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4286 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4287 else
4288 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4292 newsos6)
4293 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4294 lt_cv_file_magic_cmd=/usr/bin/file
4295 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4298 osf3* | osf4* | osf5*)
4299 # this will be overridden with pass_all, but let us keep it just in case
4300 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4301 lt_cv_file_magic_test_file=/shlib/libc.so
4302 lt_cv_deplibs_check_method=pass_all
4305 sco3.2v5*)
4306 lt_cv_deplibs_check_method=pass_all
4309 solaris*)
4310 lt_cv_deplibs_check_method=pass_all
4311 lt_cv_file_magic_test_file=/lib/libc.so
4314 sysv5uw[78]* | sysv4*uw2*)
4315 lt_cv_deplibs_check_method=pass_all
4318 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4319 case $host_vendor in
4320 ncr)
4321 lt_cv_deplibs_check_method=pass_all
4323 motorola)
4324 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]'
4325 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4327 esac
4329 esac
4332 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4333 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4334 file_magic_cmd=$lt_cv_file_magic_cmd
4335 deplibs_check_method=$lt_cv_deplibs_check_method
4340 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4342 # find the maximum length of command line arguments
4343 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4344 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4345 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 else
4349 teststring="ABCD"
4351 case $build_os in
4352 msdosdjgpp*)
4353 # On DJGPP, this test can blow up pretty badly due to problems in libc
4354 # (any single argument exceeding 2000 bytes causes a buffer overrun
4355 # during glob expansion). Even if it were fixed, the result of this
4356 # check would be larger than it should be.
4357 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4360 cygwin* | mingw*)
4361 # On Win9x/ME, this test blows up -- it succeeds, but takes
4362 # about 5 minutes as the teststring grows exponentially.
4363 # Worse, since 9x/ME are not pre-emptively multitasking,
4364 # you end up with a "frozen" computer, even though with patience
4365 # the test eventually succeeds (with a max line length of 256k).
4366 # Instead, let's just punt: use the minimum linelength reported by
4367 # all of the supported platforms: 8192 (on NT/2K/XP).
4368 lt_cv_sys_max_cmd_len=8192;
4371 amigaos*)
4372 # On AmigaOS with pdksh, this test takes hours, literally.
4373 # So we just punt and use a minimum line length of 8192.
4374 lt_cv_sys_max_cmd_len=8192;
4377 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4378 # This has been around since 386BSD, at least. Likely further.
4379 if test -x /sbin/sysctl; then
4380 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4381 elif test -x /usr/sbin/sysctl; then
4382 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4383 else
4384 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4386 # And add a safety zone
4387 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4388 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4390 esac
4394 if test -n "$lt_cv_sys_max_cmd_len" ; then
4395 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4396 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4397 else
4398 echo "$as_me:$LINENO: result: none" >&5
4399 echo "${ECHO_T}none" >&6
4403 # Only perform the check for file, if the check method requires it
4404 case $deplibs_check_method in
4405 file_magic*)
4406 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4407 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4408 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4409 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4411 else
4412 case $MAGIC_CMD in
4414 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4416 ?:/*)
4417 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4420 ac_save_MAGIC_CMD="$MAGIC_CMD"
4421 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4422 ac_dummy="/usr/bin:$PATH"
4423 for ac_dir in $ac_dummy; do
4424 test -z "$ac_dir" && ac_dir=.
4425 if test -f $ac_dir/${ac_tool_prefix}file; then
4426 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4427 if test -n "$file_magic_test_file"; then
4428 case $deplibs_check_method in
4429 "file_magic "*)
4430 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4431 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4432 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4433 egrep "$file_magic_regex" > /dev/null; then
4435 else
4436 cat <<EOF 1>&2
4438 *** Warning: the command libtool uses to detect shared libraries,
4439 *** $file_magic_cmd, produces output that libtool cannot recognize.
4440 *** The result is that libtool may fail to recognize shared libraries
4441 *** as such. This will affect the creation of libtool libraries that
4442 *** depend on shared libraries, but programs linked with such libtool
4443 *** libraries will work regardless of this problem. Nevertheless, you
4444 *** may want to report the problem to your system manager and/or to
4445 *** bug-libtool@gnu.org
4448 fi ;;
4449 esac
4451 break
4453 done
4454 IFS="$ac_save_ifs"
4455 MAGIC_CMD="$ac_save_MAGIC_CMD"
4457 esac
4460 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4461 if test -n "$MAGIC_CMD"; then
4462 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4463 echo "${ECHO_T}$MAGIC_CMD" >&6
4464 else
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4469 if test -z "$lt_cv_path_MAGIC_CMD"; then
4470 if test -n "$ac_tool_prefix"; then
4471 echo "$as_me:$LINENO: checking for file" >&5
4472 echo $ECHO_N "checking for file... $ECHO_C" >&6
4473 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4474 echo $ECHO_N "(cached) $ECHO_C" >&6
4475 else
4476 case $MAGIC_CMD in
4478 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4480 ?:/*)
4481 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4484 ac_save_MAGIC_CMD="$MAGIC_CMD"
4485 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4486 ac_dummy="/usr/bin:$PATH"
4487 for ac_dir in $ac_dummy; do
4488 test -z "$ac_dir" && ac_dir=.
4489 if test -f $ac_dir/file; then
4490 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4491 if test -n "$file_magic_test_file"; then
4492 case $deplibs_check_method in
4493 "file_magic "*)
4494 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4495 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4496 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4497 egrep "$file_magic_regex" > /dev/null; then
4499 else
4500 cat <<EOF 1>&2
4502 *** Warning: the command libtool uses to detect shared libraries,
4503 *** $file_magic_cmd, produces output that libtool cannot recognize.
4504 *** The result is that libtool may fail to recognize shared libraries
4505 *** as such. This will affect the creation of libtool libraries that
4506 *** depend on shared libraries, but programs linked with such libtool
4507 *** libraries will work regardless of this problem. Nevertheless, you
4508 *** may want to report the problem to your system manager and/or to
4509 *** bug-libtool@gnu.org
4512 fi ;;
4513 esac
4515 break
4517 done
4518 IFS="$ac_save_ifs"
4519 MAGIC_CMD="$ac_save_MAGIC_CMD"
4521 esac
4524 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4525 if test -n "$MAGIC_CMD"; then
4526 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4527 echo "${ECHO_T}$MAGIC_CMD" >&6
4528 else
4529 echo "$as_me:$LINENO: result: no" >&5
4530 echo "${ECHO_T}no" >&6
4533 else
4534 MAGIC_CMD=:
4540 esac
4542 if test -n "$ac_tool_prefix"; then
4543 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4544 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4545 echo "$as_me:$LINENO: checking for $ac_word" >&5
4546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4547 if test "${ac_cv_prog_RANLIB+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 else
4550 if test -n "$RANLIB"; then
4551 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4552 else
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 for as_dir in $PATH
4556 IFS=$as_save_IFS
4557 test -z "$as_dir" && as_dir=.
4558 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4560 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 break 2
4564 done
4565 done
4569 RANLIB=$ac_cv_prog_RANLIB
4570 if test -n "$RANLIB"; then
4571 echo "$as_me:$LINENO: result: $RANLIB" >&5
4572 echo "${ECHO_T}$RANLIB" >&6
4573 else
4574 echo "$as_me:$LINENO: result: no" >&5
4575 echo "${ECHO_T}no" >&6
4579 if test -z "$ac_cv_prog_RANLIB"; then
4580 ac_ct_RANLIB=$RANLIB
4581 # Extract the first word of "ranlib", so it can be a program name with args.
4582 set dummy ranlib; ac_word=$2
4583 echo "$as_me:$LINENO: checking for $ac_word" >&5
4584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4585 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4586 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 else
4588 if test -n "$ac_ct_RANLIB"; then
4589 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4590 else
4591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 for as_dir in $PATH
4594 IFS=$as_save_IFS
4595 test -z "$as_dir" && as_dir=.
4596 for ac_exec_ext in '' $ac_executable_extensions; do
4597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4598 ac_cv_prog_ac_ct_RANLIB="ranlib"
4599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4600 break 2
4602 done
4603 done
4605 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4608 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4609 if test -n "$ac_ct_RANLIB"; then
4610 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4611 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4612 else
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4617 RANLIB=$ac_ct_RANLIB
4618 else
4619 RANLIB="$ac_cv_prog_RANLIB"
4622 if test -n "$ac_tool_prefix"; then
4623 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4624 set dummy ${ac_tool_prefix}strip; ac_word=$2
4625 echo "$as_me:$LINENO: checking for $ac_word" >&5
4626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4627 if test "${ac_cv_prog_STRIP+set}" = set; then
4628 echo $ECHO_N "(cached) $ECHO_C" >&6
4629 else
4630 if test -n "$STRIP"; then
4631 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4632 else
4633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634 for as_dir in $PATH
4636 IFS=$as_save_IFS
4637 test -z "$as_dir" && as_dir=.
4638 for ac_exec_ext in '' $ac_executable_extensions; do
4639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4640 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 break 2
4644 done
4645 done
4649 STRIP=$ac_cv_prog_STRIP
4650 if test -n "$STRIP"; then
4651 echo "$as_me:$LINENO: result: $STRIP" >&5
4652 echo "${ECHO_T}$STRIP" >&6
4653 else
4654 echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6
4659 if test -z "$ac_cv_prog_STRIP"; then
4660 ac_ct_STRIP=$STRIP
4661 # Extract the first word of "strip", so it can be a program name with args.
4662 set dummy strip; ac_word=$2
4663 echo "$as_me:$LINENO: checking for $ac_word" >&5
4664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4665 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 else
4668 if test -n "$ac_ct_STRIP"; then
4669 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4670 else
4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672 for as_dir in $PATH
4674 IFS=$as_save_IFS
4675 test -z "$as_dir" && as_dir=.
4676 for ac_exec_ext in '' $ac_executable_extensions; do
4677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4678 ac_cv_prog_ac_ct_STRIP="strip"
4679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 break 2
4682 done
4683 done
4685 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4688 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4689 if test -n "$ac_ct_STRIP"; then
4690 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4691 echo "${ECHO_T}$ac_ct_STRIP" >&6
4692 else
4693 echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6
4697 STRIP=$ac_ct_STRIP
4698 else
4699 STRIP="$ac_cv_prog_STRIP"
4703 # Check for any special flags to pass to ltconfig.
4704 libtool_flags="--cache-file=$cache_file"
4705 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4706 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4707 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4708 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4709 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4712 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4713 if test "${enable_libtool_lock+set}" = set; then
4714 enableval="$enable_libtool_lock"
4717 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4718 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4721 # Check whether --with-pic or --without-pic was given.
4722 if test "${with_pic+set}" = set; then
4723 withval="$with_pic"
4724 pic_mode="$withval"
4725 else
4726 pic_mode=default
4728 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4729 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4731 # Some flags need to be propagated to the compiler or linker for good
4732 # libtool support.
4733 case $host in
4734 *-*-irix6*)
4735 # Find out which ABI we are using.
4736 echo '#line 4736 "configure"' > conftest.$ac_ext
4737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4738 (eval $ac_compile) 2>&5
4739 ac_status=$?
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; then
4742 if test "$lt_cv_prog_gnu_ld" = yes; then
4743 case `/usr/bin/file conftest.$ac_objext` in
4744 *32-bit*)
4745 LD="${LD-ld} -melf32bsmip"
4747 *N32*)
4748 LD="${LD-ld} -melf32bmipn32"
4750 *64-bit*)
4751 LD="${LD-ld} -melf64bmip"
4753 esac
4754 else
4755 case `/usr/bin/file conftest.$ac_objext` in
4756 *32-bit*)
4757 LD="${LD-ld} -32"
4759 *N32*)
4760 LD="${LD-ld} -n32"
4762 *64-bit*)
4763 LD="${LD-ld} -64"
4765 esac
4768 rm -rf conftest*
4771 ia64-*-hpux*)
4772 # Find out which ABI we are using.
4773 echo 'int i;' > conftest.$ac_ext
4774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4775 (eval $ac_compile) 2>&5
4776 ac_status=$?
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }; then
4779 case "`/usr/bin/file conftest.o`" in
4780 *ELF-32*)
4781 HPUX_IA64_MODE="32"
4783 *ELF-64*)
4784 HPUX_IA64_MODE="64"
4786 esac
4788 rm -rf conftest*
4791 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4792 # Find out which ABI we are using.
4793 echo 'int i;' > conftest.$ac_ext
4794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4795 (eval $ac_compile) 2>&5
4796 ac_status=$?
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); }; then
4799 case "`/usr/bin/file conftest.o`" in
4800 *32-bit*)
4801 case $host in
4802 x86_64-*linux*)
4803 LD="${LD-ld} -m elf_i386"
4805 ppc64-*linux*|powerpc64-*linux*)
4806 LD="${LD-ld} -m elf32ppclinux"
4808 s390x-*linux*)
4809 LD="${LD-ld} -m elf_s390"
4811 sparc64-*linux*)
4812 LD="${LD-ld} -m elf32_sparc"
4814 esac
4816 *64-bit*)
4817 case $host in
4818 x86_64-*linux*)
4819 LD="${LD-ld} -m elf_x86_64"
4821 ppc*-*linux*|powerpc*-*linux*)
4822 LD="${LD-ld} -m elf64ppc"
4824 s390*-*linux*)
4825 LD="${LD-ld} -m elf64_s390"
4827 sparc*-*linux*)
4828 LD="${LD-ld} -m elf64_sparc"
4830 esac
4832 esac
4834 rm -rf conftest*
4837 *-*-sco3.2v5*)
4838 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4839 SAVE_CFLAGS="$CFLAGS"
4840 CFLAGS="$CFLAGS -belf"
4841 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4842 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4843 if test "${lt_cv_cc_needs_belf+set}" = set; then
4844 echo $ECHO_N "(cached) $ECHO_C" >&6
4845 else
4848 ac_ext=c
4849 ac_cpp='$CPP $CPPFLAGS'
4850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4854 if test x$gcc_no_link = xyes; then
4855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4857 { (exit 1); exit 1; }; }
4859 cat >conftest.$ac_ext <<_ACEOF
4860 /* confdefs.h. */
4861 _ACEOF
4862 cat confdefs.h >>conftest.$ac_ext
4863 cat >>conftest.$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4867 main ()
4871 return 0;
4873 _ACEOF
4874 rm -f conftest.$ac_objext conftest$ac_exeext
4875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4876 (eval $ac_link) 2>conftest.er1
4877 ac_status=$?
4878 grep -v '^ *+' conftest.er1 >conftest.err
4879 rm -f conftest.er1
4880 cat conftest.err >&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); } &&
4883 { ac_try='test -z "$ac_c_werror_flag"
4884 || test ! -s conftest.err'
4885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886 (eval $ac_try) 2>&5
4887 ac_status=$?
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); }; } &&
4890 { ac_try='test -s conftest$ac_exeext'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 (eval $ac_try) 2>&5
4893 ac_status=$?
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; }; then
4896 lt_cv_cc_needs_belf=yes
4897 else
4898 echo "$as_me: failed program was:" >&5
4899 sed 's/^/| /' conftest.$ac_ext >&5
4901 lt_cv_cc_needs_belf=no
4903 rm -f conftest.err conftest.$ac_objext \
4904 conftest$ac_exeext conftest.$ac_ext
4905 ac_ext=c
4906 ac_cpp='$CPP $CPPFLAGS'
4907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4912 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4913 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4914 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4915 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4916 CFLAGS="$SAVE_CFLAGS"
4921 esac
4924 # Save cache, so that ltconfig can load it
4925 cat >confcache <<\_ACEOF
4926 # This file is a shell script that caches the results of configure
4927 # tests run on this system so they can be shared between configure
4928 # scripts and configure runs, see configure's option --config-cache.
4929 # It is not useful on other systems. If it contains results you don't
4930 # want to keep, you may remove or edit it.
4932 # config.status only pays attention to the cache file if you give it
4933 # the --recheck option to rerun configure.
4935 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4936 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4937 # following values.
4939 _ACEOF
4941 # The following way of writing the cache mishandles newlines in values,
4942 # but we know of no workaround that is simple, portable, and efficient.
4943 # So, don't put newlines in cache variables' values.
4944 # Ultrix sh set writes to stderr and can't be redirected directly,
4945 # and sets the high bit in the cache file unless we assign to the vars.
4947 (set) 2>&1 |
4948 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4949 *ac_space=\ *)
4950 # `set' does not quote correctly, so add quotes (double-quote
4951 # substitution turns \\\\ into \\, and sed turns \\ into \).
4952 sed -n \
4953 "s/'/'\\\\''/g;
4954 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4957 # `set' quotes correctly as required by POSIX, so do not add quotes.
4958 sed -n \
4959 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4961 esac;
4963 sed '
4964 t clear
4965 : clear
4966 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4967 t end
4968 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4969 : end' >>confcache
4970 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4971 if test -w $cache_file; then
4972 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4973 cat confcache >$cache_file
4974 else
4975 echo "not updating unwritable cache $cache_file"
4978 rm -f confcache
4980 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4981 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4982 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4983 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4984 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4985 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4986 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4987 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4988 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4989 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4990 echo "$as_me: error: libtool configure failed" >&2;}
4991 { (exit 1); exit 1; }; }
4993 # Reload cache, that may have been modified by ltconfig
4994 if test -r "$cache_file"; then
4995 # Some versions of bash will fail to source /dev/null (special
4996 # files actually), so we avoid doing that.
4997 if test -f "$cache_file"; then
4998 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4999 echo "$as_me: loading cache $cache_file" >&6;}
5000 case $cache_file in
5001 [\\/]* | ?:[\\/]* ) . $cache_file;;
5002 *) . ./$cache_file;;
5003 esac
5005 else
5006 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5007 echo "$as_me: creating cache $cache_file" >&6;}
5008 >$cache_file
5012 # This can be used to rebuild libtool when needed
5013 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5015 # Always use our own libtool.
5016 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5018 # Redirect the config.log output again, so that the ltconfig log is not
5019 # clobbered by the next message.
5020 exec 5>>./config.log
5022 ac_ext=cc
5023 ac_cpp='$CXXCPP $CPPFLAGS'
5024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5027 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5028 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5029 if test -z "$CXXCPP"; then
5030 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5031 echo $ECHO_N "(cached) $ECHO_C" >&6
5032 else
5033 # Double quotes because CXXCPP needs to be expanded
5034 for CXXCPP in "$CXX -E" "/lib/cpp"
5036 ac_preproc_ok=false
5037 for ac_cxx_preproc_warn_flag in '' yes
5039 # Use a header file that comes with gcc, so configuring glibc
5040 # with a fresh cross-compiler works.
5041 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5042 # <limits.h> exists even on freestanding compilers.
5043 # On the NeXT, cc -E runs the code through the compiler's parser,
5044 # not just through cpp. "Syntax error" is here to catch this case.
5045 cat >conftest.$ac_ext <<_ACEOF
5046 /* confdefs.h. */
5047 _ACEOF
5048 cat confdefs.h >>conftest.$ac_ext
5049 cat >>conftest.$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5051 #ifdef __STDC__
5052 # include <limits.h>
5053 #else
5054 # include <assert.h>
5055 #endif
5056 Syntax error
5057 _ACEOF
5058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5059 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5060 ac_status=$?
5061 grep -v '^ *+' conftest.er1 >conftest.err
5062 rm -f conftest.er1
5063 cat conftest.err >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } >/dev/null; then
5066 if test -s conftest.err; then
5067 ac_cpp_err=$ac_cxx_preproc_warn_flag
5068 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5069 else
5070 ac_cpp_err=
5072 else
5073 ac_cpp_err=yes
5075 if test -z "$ac_cpp_err"; then
5077 else
5078 echo "$as_me: failed program was:" >&5
5079 sed 's/^/| /' conftest.$ac_ext >&5
5081 # Broken: fails on valid input.
5082 continue
5084 rm -f conftest.err conftest.$ac_ext
5086 # OK, works on sane cases. Now check whether non-existent headers
5087 # can be detected and how.
5088 cat >conftest.$ac_ext <<_ACEOF
5089 /* confdefs.h. */
5090 _ACEOF
5091 cat confdefs.h >>conftest.$ac_ext
5092 cat >>conftest.$ac_ext <<_ACEOF
5093 /* end confdefs.h. */
5094 #include <ac_nonexistent.h>
5095 _ACEOF
5096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5097 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5098 ac_status=$?
5099 grep -v '^ *+' conftest.er1 >conftest.err
5100 rm -f conftest.er1
5101 cat conftest.err >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } >/dev/null; then
5104 if test -s conftest.err; then
5105 ac_cpp_err=$ac_cxx_preproc_warn_flag
5106 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5107 else
5108 ac_cpp_err=
5110 else
5111 ac_cpp_err=yes
5113 if test -z "$ac_cpp_err"; then
5114 # Broken: success on invalid input.
5115 continue
5116 else
5117 echo "$as_me: failed program was:" >&5
5118 sed 's/^/| /' conftest.$ac_ext >&5
5120 # Passes both tests.
5121 ac_preproc_ok=:
5122 break
5124 rm -f conftest.err conftest.$ac_ext
5126 done
5127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5128 rm -f conftest.err conftest.$ac_ext
5129 if $ac_preproc_ok; then
5130 break
5133 done
5134 ac_cv_prog_CXXCPP=$CXXCPP
5137 CXXCPP=$ac_cv_prog_CXXCPP
5138 else
5139 ac_cv_prog_CXXCPP=$CXXCPP
5141 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5142 echo "${ECHO_T}$CXXCPP" >&6
5143 ac_preproc_ok=false
5144 for ac_cxx_preproc_warn_flag in '' yes
5146 # Use a header file that comes with gcc, so configuring glibc
5147 # with a fresh cross-compiler works.
5148 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5149 # <limits.h> exists even on freestanding compilers.
5150 # On the NeXT, cc -E runs the code through the compiler's parser,
5151 # not just through cpp. "Syntax error" is here to catch this case.
5152 cat >conftest.$ac_ext <<_ACEOF
5153 /* confdefs.h. */
5154 _ACEOF
5155 cat confdefs.h >>conftest.$ac_ext
5156 cat >>conftest.$ac_ext <<_ACEOF
5157 /* end confdefs.h. */
5158 #ifdef __STDC__
5159 # include <limits.h>
5160 #else
5161 # include <assert.h>
5162 #endif
5163 Syntax error
5164 _ACEOF
5165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5167 ac_status=$?
5168 grep -v '^ *+' conftest.er1 >conftest.err
5169 rm -f conftest.er1
5170 cat conftest.err >&5
5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); } >/dev/null; then
5173 if test -s conftest.err; then
5174 ac_cpp_err=$ac_cxx_preproc_warn_flag
5175 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5176 else
5177 ac_cpp_err=
5179 else
5180 ac_cpp_err=yes
5182 if test -z "$ac_cpp_err"; then
5184 else
5185 echo "$as_me: failed program was:" >&5
5186 sed 's/^/| /' conftest.$ac_ext >&5
5188 # Broken: fails on valid input.
5189 continue
5191 rm -f conftest.err conftest.$ac_ext
5193 # OK, works on sane cases. Now check whether non-existent headers
5194 # can be detected and how.
5195 cat >conftest.$ac_ext <<_ACEOF
5196 /* confdefs.h. */
5197 _ACEOF
5198 cat confdefs.h >>conftest.$ac_ext
5199 cat >>conftest.$ac_ext <<_ACEOF
5200 /* end confdefs.h. */
5201 #include <ac_nonexistent.h>
5202 _ACEOF
5203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5205 ac_status=$?
5206 grep -v '^ *+' conftest.er1 >conftest.err
5207 rm -f conftest.er1
5208 cat conftest.err >&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); } >/dev/null; then
5211 if test -s conftest.err; then
5212 ac_cpp_err=$ac_cxx_preproc_warn_flag
5213 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5214 else
5215 ac_cpp_err=
5217 else
5218 ac_cpp_err=yes
5220 if test -z "$ac_cpp_err"; then
5221 # Broken: success on invalid input.
5222 continue
5223 else
5224 echo "$as_me: failed program was:" >&5
5225 sed 's/^/| /' conftest.$ac_ext >&5
5227 # Passes both tests.
5228 ac_preproc_ok=:
5229 break
5231 rm -f conftest.err conftest.$ac_ext
5233 done
5234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5235 rm -f conftest.err conftest.$ac_ext
5236 if $ac_preproc_ok; then
5238 else
5239 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5240 See \`config.log' for more details." >&5
5241 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5242 See \`config.log' for more details." >&2;}
5243 { (exit 1); exit 1; }; }
5246 ac_ext=c
5247 ac_cpp='$CPP $CPPFLAGS'
5248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5254 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5255 lt_save_CC="$CC"
5256 lt_save_CFLAGS="$CFLAGS"
5257 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5258 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5259 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5260 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5261 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5262 deplibs_check_method="$deplibs_check_method" \
5263 file_magic_cmd="$file_magic_cmd" \
5264 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5265 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5266 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5267 echo "$as_me: error: libtool tag configuration failed" >&2;}
5268 { (exit 1); exit 1; }; }
5269 CC="$lt_save_CC"
5270 CFLAGS="$lt_save_CFLAGS"
5272 # Redirect the config.log output again, so that the ltconfig log is not
5273 # clobbered by the next message.
5274 exec 5>>./config.log
5284 # Possibly disable most of the library.
5285 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5286 ## than just ignoring the results. Faster /and/ more correct, win win.
5288 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5289 if test "${enable_hosted_libstdcxx+set}" = set; then
5290 enableval="$enable_hosted_libstdcxx"
5292 else
5293 case "$host" in
5294 arm*-*-symbianelf*)
5295 enable_hosted_libstdcxx=no
5298 enable_hosted_libstdcxx=yes
5300 esac
5302 if test "$enable_hosted_libstdcxx" = no; then
5303 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5304 echo "$as_me: Only freestanding libraries will be built" >&6;}
5305 is_hosted=no
5306 hosted_define=0
5307 enable_abi_check=no
5308 enable_libstdcxx_pch=no
5309 else
5310 is_hosted=yes
5311 hosted_define=1
5315 cat >>confdefs.h <<_ACEOF
5316 #define _GLIBCXX_HOSTED $hosted_define
5317 _ACEOF
5321 # Check for compiler support that doesn't require linking.
5323 echo "$as_me:$LINENO: checking for exception model to use" >&5
5324 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5327 ac_ext=cc
5328 ac_cpp='$CXXCPP $CPPFLAGS'
5329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5333 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5334 if test "${enable_sjlj_exceptions+set}" = set; then
5335 enableval="$enable_sjlj_exceptions"
5337 case "$enableval" in
5338 yes|no|auto) ;;
5339 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5340 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5341 { (exit 1); exit 1; }; } ;;
5342 esac
5344 else
5345 enable_sjlj_exceptions=auto
5349 if test $enable_sjlj_exceptions = auto; then
5350 # Botheration. Now we've got to detect the exception model. Link tests
5351 # against libgcc.a are problematic since we've not been given proper -L
5352 # bits for single-tree newlib and libgloss.
5354 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5355 cat > conftest.$ac_ext << EOF
5356 #line 5356 "configure"
5357 struct S { ~S(); };
5358 void bar();
5359 void foo()
5361 S s;
5362 bar();
5365 old_CXXFLAGS="$CXXFLAGS"
5366 CXXFLAGS=-S
5367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5368 (eval $ac_compile) 2>&5
5369 ac_status=$?
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); }; then
5372 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5373 enable_sjlj_exceptions=yes
5374 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5375 enable_sjlj_exceptions=no
5376 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5377 enable_sjlj_exceptions=no
5380 CXXFLAGS="$old_CXXFLAGS"
5381 rm -f conftest*
5384 # This is a tad weird, for hysterical raisins. We have to map
5385 # enable/disable to two different models.
5386 case $enable_sjlj_exceptions in
5387 yes)
5389 cat >>confdefs.h <<\_ACEOF
5390 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5391 _ACEOF
5393 ac_exception_model_name=sjlj
5396 ac_exception_model_name="call frame"
5399 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5400 echo "$as_me: error: unable to detect exception model" >&2;}
5401 { (exit 1); exit 1; }; }
5403 esac
5404 ac_ext=c
5405 ac_cpp='$CPP $CPPFLAGS'
5406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5410 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5411 echo "${ECHO_T}$ac_exception_model_name" >&6
5414 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5415 if test "${enable_libstdcxx_pch+set}" = set; then
5416 enableval="$enable_libstdcxx_pch"
5418 case "$enableval" in
5419 yes|no) ;;
5420 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5421 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5422 { (exit 1); exit 1; }; } ;;
5423 esac
5425 else
5426 enable_libstdcxx_pch=$is_hosted
5429 if test $enable_libstdcxx_pch = yes; then
5430 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5431 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5432 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5433 echo $ECHO_N "(cached) $ECHO_C" >&6
5434 else
5435 ac_save_CXXFLAGS="$CXXFLAGS"
5436 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5439 ac_ext=cc
5440 ac_cpp='$CXXCPP $CPPFLAGS'
5441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5445 echo '#include <math.h>' > conftest.h
5446 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5447 -o conftest.h.gch 1>&5 2>&1 &&
5448 echo '#error "pch failed"' > conftest.h &&
5449 echo '#include "conftest.h"' > conftest.cc &&
5450 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5451 then
5452 glibcxx_cv_prog_CXX_pch=yes
5453 else
5454 glibcxx_cv_prog_CXX_pch=no
5456 rm -f conftest*
5457 CXXFLAGS=$ac_save_CXXFLAGS
5458 ac_ext=c
5459 ac_cpp='$CPP $CPPFLAGS'
5460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5466 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5467 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5468 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5471 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5472 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5473 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5474 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5477 if test $enable_libstdcxx_pch = yes; then
5478 glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
5479 else
5480 glibcxx_PCHFLAGS=""
5485 # Enable all the variable C++ runtime options.
5487 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5488 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5489 # Check whether --enable-cstdio or --disable-cstdio was given.
5490 if test "${enable_cstdio+set}" = set; then
5491 enableval="$enable_cstdio"
5493 case "$enableval" in
5494 stdio) ;;
5495 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5496 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5497 { (exit 1); exit 1; }; } ;;
5498 esac
5500 else
5501 enable_cstdio=stdio
5505 # Now that libio has been removed, you can have any color you want as long
5506 # as it's black. This is one big no-op until other packages are added, but
5507 # showing the framework never hurts.
5508 case ${enable_cstdio} in
5509 stdio)
5510 CSTDIO_H=config/io/c_io_stdio.h
5511 BASIC_FILE_H=config/io/basic_file_stdio.h
5512 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5513 echo "$as_me:$LINENO: result: stdio" >&5
5514 echo "${ECHO_T}stdio" >&6
5516 esac
5522 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5523 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5524 if test "${ac_cv_header_stdc+set}" = set; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5526 else
5527 cat >conftest.$ac_ext <<_ACEOF
5528 /* confdefs.h. */
5529 _ACEOF
5530 cat confdefs.h >>conftest.$ac_ext
5531 cat >>conftest.$ac_ext <<_ACEOF
5532 /* end confdefs.h. */
5533 #include <stdlib.h>
5534 #include <stdarg.h>
5535 #include <string.h>
5536 #include <float.h>
5539 main ()
5543 return 0;
5545 _ACEOF
5546 rm -f conftest.$ac_objext
5547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5548 (eval $ac_compile) 2>conftest.er1
5549 ac_status=$?
5550 grep -v '^ *+' conftest.er1 >conftest.err
5551 rm -f conftest.er1
5552 cat conftest.err >&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); } &&
5555 { ac_try='test -z "$ac_c_werror_flag"
5556 || test ! -s conftest.err'
5557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5558 (eval $ac_try) 2>&5
5559 ac_status=$?
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); }; } &&
5562 { ac_try='test -s conftest.$ac_objext'
5563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5564 (eval $ac_try) 2>&5
5565 ac_status=$?
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); }; }; then
5568 ac_cv_header_stdc=yes
5569 else
5570 echo "$as_me: failed program was:" >&5
5571 sed 's/^/| /' conftest.$ac_ext >&5
5573 ac_cv_header_stdc=no
5575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5577 if test $ac_cv_header_stdc = yes; then
5578 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5579 cat >conftest.$ac_ext <<_ACEOF
5580 /* confdefs.h. */
5581 _ACEOF
5582 cat confdefs.h >>conftest.$ac_ext
5583 cat >>conftest.$ac_ext <<_ACEOF
5584 /* end confdefs.h. */
5585 #include <string.h>
5587 _ACEOF
5588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5589 $EGREP "memchr" >/dev/null 2>&1; then
5591 else
5592 ac_cv_header_stdc=no
5594 rm -f conftest*
5598 if test $ac_cv_header_stdc = yes; then
5599 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5600 cat >conftest.$ac_ext <<_ACEOF
5601 /* confdefs.h. */
5602 _ACEOF
5603 cat confdefs.h >>conftest.$ac_ext
5604 cat >>conftest.$ac_ext <<_ACEOF
5605 /* end confdefs.h. */
5606 #include <stdlib.h>
5608 _ACEOF
5609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5610 $EGREP "free" >/dev/null 2>&1; then
5612 else
5613 ac_cv_header_stdc=no
5615 rm -f conftest*
5619 if test $ac_cv_header_stdc = yes; then
5620 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5621 if test "$cross_compiling" = yes; then
5623 else
5624 cat >conftest.$ac_ext <<_ACEOF
5625 /* confdefs.h. */
5626 _ACEOF
5627 cat confdefs.h >>conftest.$ac_ext
5628 cat >>conftest.$ac_ext <<_ACEOF
5629 /* end confdefs.h. */
5630 #include <ctype.h>
5631 #if ((' ' & 0x0FF) == 0x020)
5632 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5633 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5634 #else
5635 # define ISLOWER(c) \
5636 (('a' <= (c) && (c) <= 'i') \
5637 || ('j' <= (c) && (c) <= 'r') \
5638 || ('s' <= (c) && (c) <= 'z'))
5639 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5640 #endif
5642 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5644 main ()
5646 int i;
5647 for (i = 0; i < 256; i++)
5648 if (XOR (islower (i), ISLOWER (i))
5649 || toupper (i) != TOUPPER (i))
5650 exit(2);
5651 exit (0);
5653 _ACEOF
5654 rm -f conftest$ac_exeext
5655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5656 (eval $ac_link) 2>&5
5657 ac_status=$?
5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5661 (eval $ac_try) 2>&5
5662 ac_status=$?
5663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 (exit $ac_status); }; }; then
5666 else
5667 echo "$as_me: program exited with status $ac_status" >&5
5668 echo "$as_me: failed program was:" >&5
5669 sed 's/^/| /' conftest.$ac_ext >&5
5671 ( exit $ac_status )
5672 ac_cv_header_stdc=no
5674 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5678 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5679 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5680 if test $ac_cv_header_stdc = yes; then
5682 cat >>confdefs.h <<\_ACEOF
5683 #define STDC_HEADERS 1
5684 _ACEOF
5688 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5698 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5699 inttypes.h stdint.h unistd.h
5701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5702 echo "$as_me:$LINENO: checking for $ac_header" >&5
5703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5705 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 else
5707 cat >conftest.$ac_ext <<_ACEOF
5708 /* confdefs.h. */
5709 _ACEOF
5710 cat confdefs.h >>conftest.$ac_ext
5711 cat >>conftest.$ac_ext <<_ACEOF
5712 /* end confdefs.h. */
5713 $ac_includes_default
5715 #include <$ac_header>
5716 _ACEOF
5717 rm -f conftest.$ac_objext
5718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5719 (eval $ac_compile) 2>conftest.er1
5720 ac_status=$?
5721 grep -v '^ *+' conftest.er1 >conftest.err
5722 rm -f conftest.er1
5723 cat conftest.err >&5
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); } &&
5726 { ac_try='test -z "$ac_c_werror_flag"
5727 || test ! -s conftest.err'
5728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5729 (eval $ac_try) 2>&5
5730 ac_status=$?
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); }; } &&
5733 { ac_try='test -s conftest.$ac_objext'
5734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5735 (eval $ac_try) 2>&5
5736 ac_status=$?
5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); }; }; then
5739 eval "$as_ac_Header=yes"
5740 else
5741 echo "$as_me: failed program was:" >&5
5742 sed 's/^/| /' conftest.$ac_ext >&5
5744 eval "$as_ac_Header=no"
5746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5751 cat >>confdefs.h <<_ACEOF
5752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5753 _ACEOF
5757 done
5761 echo "$as_me:$LINENO: checking for C locale to use" >&5
5762 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5763 # Check whether --enable-clocale or --disable-clocale was given.
5764 if test "${enable_clocale+set}" = set; then
5765 enableval="$enable_clocale"
5767 case "$enableval" in
5768 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5769 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5770 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5771 { (exit 1); exit 1; }; } ;;
5772 esac
5774 else
5775 enable_clocale=auto
5779 # If they didn't use this option switch, or if they specified --enable
5780 # with no specific model, we'll have to look for one. If they
5781 # specified --disable (???), do likewise.
5782 if test $enable_clocale = no || test $enable_clocale = yes; then
5783 enable_clocale=auto
5786 # Either a known package, or "auto"
5787 enable_clocale_flag=$enable_clocale
5789 # Probe for locale support if no specific model is specified.
5790 # Default to "generic".
5791 if test $enable_clocale_flag = auto; then
5792 case ${target_os} in
5793 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5794 cat >conftest.$ac_ext <<_ACEOF
5795 /* confdefs.h. */
5796 _ACEOF
5797 cat confdefs.h >>conftest.$ac_ext
5798 cat >>conftest.$ac_ext <<_ACEOF
5799 /* end confdefs.h. */
5801 #include <features.h>
5802 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5803 _GLIBCXX_ok
5804 #endif
5806 _ACEOF
5807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5808 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5809 enable_clocale_flag=gnu
5810 else
5811 enable_clocale_flag=generic
5813 rm -f conftest*
5816 # Test for bugs early in glibc-2.2.x series
5817 if test $enable_clocale_flag = gnu; then
5818 if test "$cross_compiling" = yes; then
5819 enable_clocale_flag=generic
5820 else
5821 cat >conftest.$ac_ext <<_ACEOF
5822 /* confdefs.h. */
5823 _ACEOF
5824 cat confdefs.h >>conftest.$ac_ext
5825 cat >>conftest.$ac_ext <<_ACEOF
5826 /* end confdefs.h. */
5828 #define _GNU_SOURCE 1
5829 #include <locale.h>
5830 #include <string.h>
5831 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5832 extern __typeof(newlocale) __newlocale;
5833 extern __typeof(duplocale) __duplocale;
5834 extern __typeof(strcoll_l) __strcoll_l;
5835 #endif
5836 int main()
5838 const char __one[] = "Äuglein Augmen";
5839 const char __two[] = "Äuglein";
5840 int i;
5841 int j;
5842 __locale_t loc;
5843 __locale_t loc_dup;
5844 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5845 loc_dup = __duplocale(loc);
5846 i = __strcoll_l(__one, __two, loc);
5847 j = __strcoll_l(__one, __two, loc_dup);
5848 return 0;
5851 _ACEOF
5852 rm -f conftest$ac_exeext
5853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5854 (eval $ac_link) 2>&5
5855 ac_status=$?
5856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5859 (eval $ac_try) 2>&5
5860 ac_status=$?
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); }; }; then
5863 enable_clocale_flag=gnu
5864 else
5865 echo "$as_me: program exited with status $ac_status" >&5
5866 echo "$as_me: failed program was:" >&5
5867 sed 's/^/| /' conftest.$ac_ext >&5
5869 ( exit $ac_status )
5870 enable_clocale_flag=generic
5872 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5876 # ... at some point put __strxfrm_l tests in as well.
5878 darwin* | freebsd*)
5879 enable_clocale_flag=darwin
5882 enable_clocale_flag=generic
5884 esac
5887 # Deal with gettext issues. Default to not using it (=no) until we detect
5888 # support for it later. Let the user turn it off via --e/d, but let that
5889 # default to on for easier handling.
5890 USE_NLS=no
5891 # Check whether --enable-nls or --disable-nls was given.
5892 if test "${enable_nls+set}" = set; then
5893 enableval="$enable_nls"
5895 else
5896 enable_nls=yes
5899 # Set configure bits for specified locale package
5900 case ${enable_clocale_flag} in
5901 generic)
5902 echo "$as_me:$LINENO: result: generic" >&5
5903 echo "${ECHO_T}generic" >&6
5905 CLOCALE_H=config/locale/generic/c_locale.h
5906 CLOCALE_CC=config/locale/generic/c_locale.cc
5907 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5908 CCOLLATE_CC=config/locale/generic/collate_members.cc
5909 CCTYPE_CC=config/locale/generic/ctype_members.cc
5910 CMESSAGES_H=config/locale/generic/messages_members.h
5911 CMESSAGES_CC=config/locale/generic/messages_members.cc
5912 CMONEY_CC=config/locale/generic/monetary_members.cc
5913 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5914 CTIME_H=config/locale/generic/time_members.h
5915 CTIME_CC=config/locale/generic/time_members.cc
5916 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5918 darwin)
5919 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5920 echo "${ECHO_T}darwin or freebsd" >&6
5922 CLOCALE_H=config/locale/generic/c_locale.h
5923 CLOCALE_CC=config/locale/generic/c_locale.cc
5924 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5925 CCOLLATE_CC=config/locale/generic/collate_members.cc
5926 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5927 CMESSAGES_H=config/locale/generic/messages_members.h
5928 CMESSAGES_CC=config/locale/generic/messages_members.cc
5929 CMONEY_CC=config/locale/generic/monetary_members.cc
5930 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5931 CTIME_H=config/locale/generic/time_members.h
5932 CTIME_CC=config/locale/generic/time_members.cc
5933 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5936 gnu)
5937 echo "$as_me:$LINENO: result: gnu" >&5
5938 echo "${ECHO_T}gnu" >&6
5940 # Declare intention to use gettext, and add support for specific
5941 # languages.
5942 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5943 ALL_LINGUAS="de fr"
5945 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5946 # Extract the first word of "msgfmt", so it can be a program name with args.
5947 set dummy msgfmt; ac_word=$2
5948 echo "$as_me:$LINENO: checking for $ac_word" >&5
5949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5950 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 else
5953 if test -n "$check_msgfmt"; then
5954 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5955 else
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957 for as_dir in $PATH
5959 IFS=$as_save_IFS
5960 test -z "$as_dir" && as_dir=.
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_prog_check_msgfmt="yes"
5964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5965 break 2
5967 done
5968 done
5970 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5973 check_msgfmt=$ac_cv_prog_check_msgfmt
5974 if test -n "$check_msgfmt"; then
5975 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5976 echo "${ECHO_T}$check_msgfmt" >&6
5977 else
5978 echo "$as_me:$LINENO: result: no" >&5
5979 echo "${ECHO_T}no" >&6
5982 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5983 USE_NLS=yes
5985 # Export the build objects.
5986 for ling in $ALL_LINGUAS; do \
5987 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5988 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5989 done
5993 CLOCALE_H=config/locale/gnu/c_locale.h
5994 CLOCALE_CC=config/locale/gnu/c_locale.cc
5995 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5996 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5997 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5998 CMESSAGES_H=config/locale/gnu/messages_members.h
5999 CMESSAGES_CC=config/locale/gnu/messages_members.cc
6000 CMONEY_CC=config/locale/gnu/monetary_members.cc
6001 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
6002 CTIME_H=config/locale/gnu/time_members.h
6003 CTIME_CC=config/locale/gnu/time_members.cc
6004 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
6006 ieee_1003.1-2001)
6007 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
6008 echo "${ECHO_T}IEEE 1003.1" >&6
6010 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
6011 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
6012 CCODECVT_CC=config/locale/generic/codecvt_members.cc
6013 CCOLLATE_CC=config/locale/generic/collate_members.cc
6014 CCTYPE_CC=config/locale/generic/ctype_members.cc
6015 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
6016 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
6017 CMONEY_CC=config/locale/generic/monetary_members.cc
6018 CNUMERIC_CC=config/locale/generic/numeric_members.cc
6019 CTIME_H=config/locale/generic/time_members.h
6020 CTIME_CC=config/locale/generic/time_members.cc
6021 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6023 esac
6025 # This is where the testsuite looks for locale catalogs, using the
6026 # -DLOCALEDIR define during testsuite compilation.
6027 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6030 # A standalone libintl (e.g., GNU libintl) may be in use.
6031 if test $USE_NLS = yes; then
6033 for ac_header in libintl.h
6035 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6037 echo "$as_me:$LINENO: checking for $ac_header" >&5
6038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6040 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6044 else
6045 # Is the header compilable?
6046 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6047 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6048 cat >conftest.$ac_ext <<_ACEOF
6049 /* confdefs.h. */
6050 _ACEOF
6051 cat confdefs.h >>conftest.$ac_ext
6052 cat >>conftest.$ac_ext <<_ACEOF
6053 /* end confdefs.h. */
6054 $ac_includes_default
6055 #include <$ac_header>
6056 _ACEOF
6057 rm -f conftest.$ac_objext
6058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6059 (eval $ac_compile) 2>conftest.er1
6060 ac_status=$?
6061 grep -v '^ *+' conftest.er1 >conftest.err
6062 rm -f conftest.er1
6063 cat conftest.err >&5
6064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6065 (exit $ac_status); } &&
6066 { ac_try='test -z "$ac_c_werror_flag"
6067 || test ! -s conftest.err'
6068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6069 (eval $ac_try) 2>&5
6070 ac_status=$?
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); }; } &&
6073 { ac_try='test -s conftest.$ac_objext'
6074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075 (eval $ac_try) 2>&5
6076 ac_status=$?
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); }; }; then
6079 ac_header_compiler=yes
6080 else
6081 echo "$as_me: failed program was:" >&5
6082 sed 's/^/| /' conftest.$ac_ext >&5
6084 ac_header_compiler=no
6086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6088 echo "${ECHO_T}$ac_header_compiler" >&6
6090 # Is the header present?
6091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6093 cat >conftest.$ac_ext <<_ACEOF
6094 /* confdefs.h. */
6095 _ACEOF
6096 cat confdefs.h >>conftest.$ac_ext
6097 cat >>conftest.$ac_ext <<_ACEOF
6098 /* end confdefs.h. */
6099 #include <$ac_header>
6100 _ACEOF
6101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6103 ac_status=$?
6104 grep -v '^ *+' conftest.er1 >conftest.err
6105 rm -f conftest.er1
6106 cat conftest.err >&5
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); } >/dev/null; then
6109 if test -s conftest.err; then
6110 ac_cpp_err=$ac_c_preproc_warn_flag
6111 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6112 else
6113 ac_cpp_err=
6115 else
6116 ac_cpp_err=yes
6118 if test -z "$ac_cpp_err"; then
6119 ac_header_preproc=yes
6120 else
6121 echo "$as_me: failed program was:" >&5
6122 sed 's/^/| /' conftest.$ac_ext >&5
6124 ac_header_preproc=no
6126 rm -f conftest.err conftest.$ac_ext
6127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6128 echo "${ECHO_T}$ac_header_preproc" >&6
6130 # So? What about this header?
6131 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6132 yes:no: )
6133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6137 ac_header_preproc=yes
6139 no:yes:* )
6140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6153 cat <<\_ASBOX
6154 ## ----------------------------------------- ##
6155 ## Report this to the package-unused lists. ##
6156 ## ----------------------------------------- ##
6157 _ASBOX
6159 sed "s/^/$as_me: WARNING: /" >&2
6161 esac
6162 echo "$as_me:$LINENO: checking for $ac_header" >&5
6163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6165 echo $ECHO_N "(cached) $ECHO_C" >&6
6166 else
6167 eval "$as_ac_Header=\$ac_header_preproc"
6169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6174 cat >>confdefs.h <<_ACEOF
6175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6176 _ACEOF
6178 else
6179 USE_NLS=no
6182 done
6184 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6185 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6186 if test "${ac_cv_search_gettext+set}" = set; then
6187 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 else
6189 ac_func_search_save_LIBS=$LIBS
6190 ac_cv_search_gettext=no
6191 if test x$gcc_no_link = xyes; then
6192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6194 { (exit 1); exit 1; }; }
6196 cat >conftest.$ac_ext <<_ACEOF
6197 /* confdefs.h. */
6198 _ACEOF
6199 cat confdefs.h >>conftest.$ac_ext
6200 cat >>conftest.$ac_ext <<_ACEOF
6201 /* end confdefs.h. */
6203 /* Override any gcc2 internal prototype to avoid an error. */
6204 #ifdef __cplusplus
6205 extern "C"
6206 #endif
6207 /* We use char because int might match the return type of a gcc2
6208 builtin and then its argument prototype would still apply. */
6209 char gettext ();
6211 main ()
6213 gettext ();
6215 return 0;
6217 _ACEOF
6218 rm -f conftest.$ac_objext conftest$ac_exeext
6219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6220 (eval $ac_link) 2>conftest.er1
6221 ac_status=$?
6222 grep -v '^ *+' conftest.er1 >conftest.err
6223 rm -f conftest.er1
6224 cat conftest.err >&5
6225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226 (exit $ac_status); } &&
6227 { ac_try='test -z "$ac_c_werror_flag"
6228 || test ! -s conftest.err'
6229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6230 (eval $ac_try) 2>&5
6231 ac_status=$?
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); }; } &&
6234 { ac_try='test -s conftest$ac_exeext'
6235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6236 (eval $ac_try) 2>&5
6237 ac_status=$?
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); }; }; then
6240 ac_cv_search_gettext="none required"
6241 else
6242 echo "$as_me: failed program was:" >&5
6243 sed 's/^/| /' conftest.$ac_ext >&5
6246 rm -f conftest.err conftest.$ac_objext \
6247 conftest$ac_exeext conftest.$ac_ext
6248 if test "$ac_cv_search_gettext" = no; then
6249 for ac_lib in intl; do
6250 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6251 if test x$gcc_no_link = xyes; then
6252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6254 { (exit 1); exit 1; }; }
6256 cat >conftest.$ac_ext <<_ACEOF
6257 /* confdefs.h. */
6258 _ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6263 /* Override any gcc2 internal prototype to avoid an error. */
6264 #ifdef __cplusplus
6265 extern "C"
6266 #endif
6267 /* We use char because int might match the return type of a gcc2
6268 builtin and then its argument prototype would still apply. */
6269 char gettext ();
6271 main ()
6273 gettext ();
6275 return 0;
6277 _ACEOF
6278 rm -f conftest.$ac_objext conftest$ac_exeext
6279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6280 (eval $ac_link) 2>conftest.er1
6281 ac_status=$?
6282 grep -v '^ *+' conftest.er1 >conftest.err
6283 rm -f conftest.er1
6284 cat conftest.err >&5
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); } &&
6287 { ac_try='test -z "$ac_c_werror_flag"
6288 || test ! -s conftest.err'
6289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6290 (eval $ac_try) 2>&5
6291 ac_status=$?
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); }; } &&
6294 { ac_try='test -s conftest$ac_exeext'
6295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6296 (eval $ac_try) 2>&5
6297 ac_status=$?
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }; }; then
6300 ac_cv_search_gettext="-l$ac_lib"
6301 break
6302 else
6303 echo "$as_me: failed program was:" >&5
6304 sed 's/^/| /' conftest.$ac_ext >&5
6307 rm -f conftest.err conftest.$ac_objext \
6308 conftest$ac_exeext conftest.$ac_ext
6309 done
6311 LIBS=$ac_func_search_save_LIBS
6313 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6314 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6315 if test "$ac_cv_search_gettext" != no; then
6316 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6318 else
6319 USE_NLS=no
6323 if test $USE_NLS = yes; then
6325 cat >>confdefs.h <<\_ACEOF
6326 #define _GLIBCXX_USE_NLS 1
6327 _ACEOF
6346 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6347 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6348 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6349 if test "${enable_libstdcxx_allocator+set}" = set; then
6350 enableval="$enable_libstdcxx_allocator"
6352 case "$enableval" in
6353 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6354 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6355 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6356 { (exit 1); exit 1; }; } ;;
6357 esac
6359 else
6360 enable_libstdcxx_allocator=auto
6364 # If they didn't use this option switch, or if they specified --enable
6365 # with no specific model, we'll have to look for one. If they
6366 # specified --disable (???), do likewise.
6367 if test $enable_libstdcxx_allocator = no ||
6368 test $enable_libstdcxx_allocator = yes;
6369 then
6370 enable_libstdcxx_allocator=auto
6373 # Either a known package, or "auto". Auto implies the default choice
6374 # for a particular platform.
6375 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6377 # Probe for host-specific support if no specific model is specified.
6378 # Default to "new".
6379 if test $enable_libstdcxx_allocator_flag = auto; then
6380 case ${target_os} in
6381 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6382 enable_libstdcxx_allocator_flag=new
6385 enable_libstdcxx_allocator_flag=new
6387 esac
6389 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6390 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6393 # Set configure bits for specified locale package
6394 case ${enable_libstdcxx_allocator_flag} in
6395 bitmap)
6396 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6397 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6399 malloc)
6400 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6401 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6404 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6405 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6407 new)
6408 ALLOCATOR_H=config/allocator/new_allocator_base.h
6409 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6411 pool)
6412 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6413 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6415 esac
6421 # Check whether --enable-cheaders or --disable-cheaders was given.
6422 if test "${enable_cheaders+set}" = set; then
6423 enableval="$enable_cheaders"
6425 case "$enableval" in
6426 c|c_std) ;;
6427 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6428 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6429 { (exit 1); exit 1; }; } ;;
6430 esac
6432 else
6433 enable_cheaders=$c_model
6436 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6437 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6439 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6446 # Check whether --enable-long-long or --disable-long-long was given.
6447 if test "${enable_long_long+set}" = set; then
6448 enableval="$enable_long_long"
6450 case "$enableval" in
6451 yes|no) ;;
6452 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
6453 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
6454 { (exit 1); exit 1; }; } ;;
6455 esac
6457 else
6458 enable_long_long=yes
6461 if test $enable_long_long = yes; then
6463 cat >>confdefs.h <<\_ACEOF
6464 #define _GLIBCXX_USE_LONG_LONG 1
6465 _ACEOF
6468 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
6469 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
6470 echo "$as_me:$LINENO: result: $enable_long_long" >&5
6471 echo "${ECHO_T}$enable_long_long" >&6
6475 # Check whether --enable-wchar_t or --disable-wchar_t was given.
6476 if test "${enable_wchar_t+set}" = set; then
6477 enableval="$enable_wchar_t"
6479 case "$enableval" in
6480 yes|no) ;;
6481 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
6482 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
6483 { (exit 1); exit 1; }; } ;;
6484 esac
6486 else
6487 enable_wchar_t=yes
6491 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
6493 for ac_header in wchar.h
6495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6497 echo "$as_me:$LINENO: checking for $ac_header" >&5
6498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6500 echo $ECHO_N "(cached) $ECHO_C" >&6
6502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6504 else
6505 # Is the header compilable?
6506 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6508 cat >conftest.$ac_ext <<_ACEOF
6509 /* confdefs.h. */
6510 _ACEOF
6511 cat confdefs.h >>conftest.$ac_ext
6512 cat >>conftest.$ac_ext <<_ACEOF
6513 /* end confdefs.h. */
6514 $ac_includes_default
6515 #include <$ac_header>
6516 _ACEOF
6517 rm -f conftest.$ac_objext
6518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6519 (eval $ac_compile) 2>conftest.er1
6520 ac_status=$?
6521 grep -v '^ *+' conftest.er1 >conftest.err
6522 rm -f conftest.er1
6523 cat conftest.err >&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); } &&
6526 { ac_try='test -z "$ac_c_werror_flag"
6527 || test ! -s conftest.err'
6528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 (eval $ac_try) 2>&5
6530 ac_status=$?
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); }; } &&
6533 { ac_try='test -s conftest.$ac_objext'
6534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 (eval $ac_try) 2>&5
6536 ac_status=$?
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); }; }; then
6539 ac_header_compiler=yes
6540 else
6541 echo "$as_me: failed program was:" >&5
6542 sed 's/^/| /' conftest.$ac_ext >&5
6544 ac_header_compiler=no
6546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6548 echo "${ECHO_T}$ac_header_compiler" >&6
6550 # Is the header present?
6551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6553 cat >conftest.$ac_ext <<_ACEOF
6554 /* confdefs.h. */
6555 _ACEOF
6556 cat confdefs.h >>conftest.$ac_ext
6557 cat >>conftest.$ac_ext <<_ACEOF
6558 /* end confdefs.h. */
6559 #include <$ac_header>
6560 _ACEOF
6561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6563 ac_status=$?
6564 grep -v '^ *+' conftest.er1 >conftest.err
6565 rm -f conftest.er1
6566 cat conftest.err >&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); } >/dev/null; then
6569 if test -s conftest.err; then
6570 ac_cpp_err=$ac_c_preproc_warn_flag
6571 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6572 else
6573 ac_cpp_err=
6575 else
6576 ac_cpp_err=yes
6578 if test -z "$ac_cpp_err"; then
6579 ac_header_preproc=yes
6580 else
6581 echo "$as_me: failed program was:" >&5
6582 sed 's/^/| /' conftest.$ac_ext >&5
6584 ac_header_preproc=no
6586 rm -f conftest.err conftest.$ac_ext
6587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6588 echo "${ECHO_T}$ac_header_preproc" >&6
6590 # So? What about this header?
6591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6592 yes:no: )
6593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6597 ac_header_preproc=yes
6599 no:yes:* )
6600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6613 cat <<\_ASBOX
6614 ## ----------------------------------------- ##
6615 ## Report this to the package-unused lists. ##
6616 ## ----------------------------------------- ##
6617 _ASBOX
6619 sed "s/^/$as_me: WARNING: /" >&2
6621 esac
6622 echo "$as_me:$LINENO: checking for $ac_header" >&5
6623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6625 echo $ECHO_N "(cached) $ECHO_C" >&6
6626 else
6627 eval "$as_ac_Header=\$ac_header_preproc"
6629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6634 cat >>confdefs.h <<_ACEOF
6635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6636 _ACEOF
6637 ac_has_wchar_h=yes
6638 else
6639 ac_has_wchar_h=no
6642 done
6644 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6645 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6646 cat >conftest.$ac_ext <<_ACEOF
6647 /* confdefs.h. */
6648 _ACEOF
6649 cat confdefs.h >>conftest.$ac_ext
6650 cat >>conftest.$ac_ext <<_ACEOF
6651 /* end confdefs.h. */
6652 #include <wchar.h>
6654 main ()
6656 mbstate_t teststate;
6658 return 0;
6660 _ACEOF
6661 rm -f conftest.$ac_objext
6662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6663 (eval $ac_compile) 2>conftest.er1
6664 ac_status=$?
6665 grep -v '^ *+' conftest.er1 >conftest.err
6666 rm -f conftest.er1
6667 cat conftest.err >&5
6668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6669 (exit $ac_status); } &&
6670 { ac_try='test -z "$ac_c_werror_flag"
6671 || test ! -s conftest.err'
6672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6673 (eval $ac_try) 2>&5
6674 ac_status=$?
6675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676 (exit $ac_status); }; } &&
6677 { ac_try='test -s conftest.$ac_objext'
6678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6679 (eval $ac_try) 2>&5
6680 ac_status=$?
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); }; }; then
6683 have_mbstate_t=yes
6684 else
6685 echo "$as_me: failed program was:" >&5
6686 sed 's/^/| /' conftest.$ac_ext >&5
6688 have_mbstate_t=no
6690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6691 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6692 echo "${ECHO_T}$have_mbstate_t" >&6
6693 if test x"$have_mbstate_t" = xyes; then
6695 cat >>confdefs.h <<\_ACEOF
6696 #define HAVE_MBSTATE_T 1
6697 _ACEOF
6701 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
6702 # ac_has_wchar_h.
6704 for ac_header in wctype.h
6706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6708 echo "$as_me:$LINENO: checking for $ac_header" >&5
6709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6711 echo $ECHO_N "(cached) $ECHO_C" >&6
6713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6715 else
6716 # Is the header compilable?
6717 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6719 cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h. */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 $ac_includes_default
6726 #include <$ac_header>
6727 _ACEOF
6728 rm -f conftest.$ac_objext
6729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6730 (eval $ac_compile) 2>conftest.er1
6731 ac_status=$?
6732 grep -v '^ *+' conftest.er1 >conftest.err
6733 rm -f conftest.er1
6734 cat conftest.err >&5
6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); } &&
6737 { ac_try='test -z "$ac_c_werror_flag"
6738 || test ! -s conftest.err'
6739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6740 (eval $ac_try) 2>&5
6741 ac_status=$?
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); }; } &&
6744 { ac_try='test -s conftest.$ac_objext'
6745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6746 (eval $ac_try) 2>&5
6747 ac_status=$?
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); }; }; then
6750 ac_header_compiler=yes
6751 else
6752 echo "$as_me: failed program was:" >&5
6753 sed 's/^/| /' conftest.$ac_ext >&5
6755 ac_header_compiler=no
6757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6758 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6759 echo "${ECHO_T}$ac_header_compiler" >&6
6761 # Is the header present?
6762 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6763 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6764 cat >conftest.$ac_ext <<_ACEOF
6765 /* confdefs.h. */
6766 _ACEOF
6767 cat confdefs.h >>conftest.$ac_ext
6768 cat >>conftest.$ac_ext <<_ACEOF
6769 /* end confdefs.h. */
6770 #include <$ac_header>
6771 _ACEOF
6772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6774 ac_status=$?
6775 grep -v '^ *+' conftest.er1 >conftest.err
6776 rm -f conftest.er1
6777 cat conftest.err >&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); } >/dev/null; then
6780 if test -s conftest.err; then
6781 ac_cpp_err=$ac_c_preproc_warn_flag
6782 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6783 else
6784 ac_cpp_err=
6786 else
6787 ac_cpp_err=yes
6789 if test -z "$ac_cpp_err"; then
6790 ac_header_preproc=yes
6791 else
6792 echo "$as_me: failed program was:" >&5
6793 sed 's/^/| /' conftest.$ac_ext >&5
6795 ac_header_preproc=no
6797 rm -f conftest.err conftest.$ac_ext
6798 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6799 echo "${ECHO_T}$ac_header_preproc" >&6
6801 # So? What about this header?
6802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6803 yes:no: )
6804 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6805 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6807 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6808 ac_header_preproc=yes
6810 no:yes:* )
6811 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6812 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6813 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6814 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6815 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6816 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6817 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6818 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6819 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6820 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6821 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6822 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6824 cat <<\_ASBOX
6825 ## ----------------------------------------- ##
6826 ## Report this to the package-unused lists. ##
6827 ## ----------------------------------------- ##
6828 _ASBOX
6830 sed "s/^/$as_me: WARNING: /" >&2
6832 esac
6833 echo "$as_me:$LINENO: checking for $ac_header" >&5
6834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6836 echo $ECHO_N "(cached) $ECHO_C" >&6
6837 else
6838 eval "$as_ac_Header=\$ac_header_preproc"
6840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6845 cat >>confdefs.h <<_ACEOF
6846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6847 _ACEOF
6848 ac_has_wctype_h=yes
6849 else
6850 ac_has_wctype_h=no
6853 done
6856 if test x"$enable_wchar_t" = x"yes"; then
6860 ac_ext=cc
6861 ac_cpp='$CXXCPP $CPPFLAGS'
6862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6867 if test x"$ac_has_wchar_h" = xyes &&
6868 test x"$ac_has_wctype_h" = xyes; then
6869 cat >conftest.$ac_ext <<_ACEOF
6870 /* confdefs.h. */
6871 _ACEOF
6872 cat confdefs.h >>conftest.$ac_ext
6873 cat >>conftest.$ac_ext <<_ACEOF
6874 /* end confdefs.h. */
6875 #include <wchar.h>
6876 #include <stddef.h>
6877 wint_t i;
6878 long l = WEOF;
6879 long j = WCHAR_MIN;
6880 long k = WCHAR_MAX;
6881 namespace test
6883 using ::btowc;
6884 using ::fgetwc;
6885 using ::fgetws;
6886 using ::fputwc;
6887 using ::fputws;
6888 using ::fwide;
6889 using ::fwprintf;
6890 using ::fwscanf;
6891 using ::getwc;
6892 using ::getwchar;
6893 using ::mbrlen;
6894 using ::mbrtowc;
6895 using ::mbsinit;
6896 using ::mbsrtowcs;
6897 using ::putwc;
6898 using ::putwchar;
6899 using ::swprintf;
6900 using ::swscanf;
6901 using ::ungetwc;
6902 using ::vfwprintf;
6903 using ::vswprintf;
6904 using ::vwprintf;
6905 using ::wcrtomb;
6906 using ::wcscat;
6907 using ::wcschr;
6908 using ::wcscmp;
6909 using ::wcscoll;
6910 using ::wcscpy;
6911 using ::wcscspn;
6912 using ::wcsftime;
6913 using ::wcslen;
6914 using ::wcsncat;
6915 using ::wcsncmp;
6916 using ::wcsncpy;
6917 using ::wcspbrk;
6918 using ::wcsrchr;
6919 using ::wcsrtombs;
6920 using ::wcsspn;
6921 using ::wcsstr;
6922 using ::wcstod;
6923 using ::wcstok;
6924 using ::wcstol;
6925 using ::wcstoul;
6926 using ::wcsxfrm;
6927 using ::wctob;
6928 using ::wmemchr;
6929 using ::wmemcmp;
6930 using ::wmemcpy;
6931 using ::wmemmove;
6932 using ::wmemset;
6933 using ::wprintf;
6934 using ::wscanf;
6938 main ()
6942 return 0;
6944 _ACEOF
6945 rm -f conftest.$ac_objext
6946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6947 (eval $ac_compile) 2>conftest.er1
6948 ac_status=$?
6949 grep -v '^ *+' conftest.er1 >conftest.err
6950 rm -f conftest.er1
6951 cat conftest.err >&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); } &&
6954 { ac_try='test -z "$ac_cxx_werror_flag"
6955 || test ! -s conftest.err'
6956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6957 (eval $ac_try) 2>&5
6958 ac_status=$?
6959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960 (exit $ac_status); }; } &&
6961 { ac_try='test -s conftest.$ac_objext'
6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963 (eval $ac_try) 2>&5
6964 ac_status=$?
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); }; }; then
6968 else
6969 echo "$as_me: failed program was:" >&5
6970 sed 's/^/| /' conftest.$ac_ext >&5
6972 enable_wchar_t=no
6974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6975 else
6976 enable_wchar_t=no
6979 ac_ext=c
6980 ac_cpp='$CPP $CPPFLAGS'
6981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6987 if test x"$enable_wchar_t" = x"yes"; then
6989 cat >>confdefs.h <<\_ACEOF
6990 #define _GLIBCXX_USE_WCHAR_T 1
6991 _ACEOF
6995 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
6996 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
6997 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
6998 echo "${ECHO_T}$enable_wchar_t" >&6
7002 # Check whether --enable-c99 or --disable-c99 was given.
7003 if test "${enable_c99+set}" = set; then
7004 enableval="$enable_c99"
7006 case "$enableval" in
7007 yes|no) ;;
7008 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
7009 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
7010 { (exit 1); exit 1; }; } ;;
7011 esac
7013 else
7014 enable_c99=yes
7018 if test x"$enable_c99" = x"yes"; then
7022 ac_ext=cc
7023 ac_cpp='$CXXCPP $CPPFLAGS'
7024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7029 # Check for the existence of <math.h> functions used if C99 is enabled.
7030 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7031 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7032 if test "${ac_c99_math+set}" = set; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 else
7036 cat >conftest.$ac_ext <<_ACEOF
7037 /* confdefs.h. */
7038 _ACEOF
7039 cat confdefs.h >>conftest.$ac_ext
7040 cat >>conftest.$ac_ext <<_ACEOF
7041 /* end confdefs.h. */
7042 #include <math.h>
7044 main ()
7046 fpclassify(0.0);
7047 isfinite(0.0);
7048 isinf(0.0);
7049 isnan(0.0);
7050 isnormal(0.0);
7051 signbit(0.0);
7052 isgreater(0.0,0.0);
7053 isgreaterequal(0.0,0.0);
7054 isless(0.0,0.0);
7055 islessequal(0.0,0.0);
7056 islessgreater(0.0,0.0);
7057 islessgreater(0.0,0.0);
7058 isunordered(0.0,0.0);
7061 return 0;
7063 _ACEOF
7064 rm -f conftest.$ac_objext
7065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7066 (eval $ac_compile) 2>conftest.er1
7067 ac_status=$?
7068 grep -v '^ *+' conftest.er1 >conftest.err
7069 rm -f conftest.er1
7070 cat conftest.err >&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); } &&
7073 { ac_try='test -z "$ac_cxx_werror_flag"
7074 || test ! -s conftest.err'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7076 (eval $ac_try) 2>&5
7077 ac_status=$?
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; } &&
7080 { ac_try='test -s conftest.$ac_objext'
7081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082 (eval $ac_try) 2>&5
7083 ac_status=$?
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); }; }; then
7086 ac_c99_math=yes
7087 else
7088 echo "$as_me: failed program was:" >&5
7089 sed 's/^/| /' conftest.$ac_ext >&5
7091 ac_c99_math=no
7093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7097 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7098 echo "${ECHO_T}$ac_c99_math" >&6
7099 if test x"$ac_c99_math" = x"yes"; then
7101 cat >>confdefs.h <<\_ACEOF
7102 #define _GLIBCXX_USE_C99_MATH 1
7103 _ACEOF
7107 # Check for the existence of <complex.h> complex math functions.
7108 # This is necessary even though libstdc++ uses the builtin versions
7109 # of these functions, because if the builtin cannot be used, a reference
7110 # to the library function is emitted.
7112 for ac_header in complex.h
7114 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7116 echo "$as_me:$LINENO: checking for $ac_header" >&5
7117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7119 echo $ECHO_N "(cached) $ECHO_C" >&6
7121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7123 else
7124 # Is the header compilable?
7125 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7126 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7127 cat >conftest.$ac_ext <<_ACEOF
7128 /* confdefs.h. */
7129 _ACEOF
7130 cat confdefs.h >>conftest.$ac_ext
7131 cat >>conftest.$ac_ext <<_ACEOF
7132 /* end confdefs.h. */
7133 $ac_includes_default
7134 #include <$ac_header>
7135 _ACEOF
7136 rm -f conftest.$ac_objext
7137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7138 (eval $ac_compile) 2>conftest.er1
7139 ac_status=$?
7140 grep -v '^ *+' conftest.er1 >conftest.err
7141 rm -f conftest.er1
7142 cat conftest.err >&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); } &&
7145 { ac_try='test -z "$ac_cxx_werror_flag"
7146 || test ! -s conftest.err'
7147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7148 (eval $ac_try) 2>&5
7149 ac_status=$?
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); }; } &&
7152 { ac_try='test -s conftest.$ac_objext'
7153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7154 (eval $ac_try) 2>&5
7155 ac_status=$?
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); }; }; then
7158 ac_header_compiler=yes
7159 else
7160 echo "$as_me: failed program was:" >&5
7161 sed 's/^/| /' conftest.$ac_ext >&5
7163 ac_header_compiler=no
7165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7167 echo "${ECHO_T}$ac_header_compiler" >&6
7169 # Is the header present?
7170 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7171 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7172 cat >conftest.$ac_ext <<_ACEOF
7173 /* confdefs.h. */
7174 _ACEOF
7175 cat confdefs.h >>conftest.$ac_ext
7176 cat >>conftest.$ac_ext <<_ACEOF
7177 /* end confdefs.h. */
7178 #include <$ac_header>
7179 _ACEOF
7180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7182 ac_status=$?
7183 grep -v '^ *+' conftest.er1 >conftest.err
7184 rm -f conftest.er1
7185 cat conftest.err >&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } >/dev/null; then
7188 if test -s conftest.err; then
7189 ac_cpp_err=$ac_cxx_preproc_warn_flag
7190 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7191 else
7192 ac_cpp_err=
7194 else
7195 ac_cpp_err=yes
7197 if test -z "$ac_cpp_err"; then
7198 ac_header_preproc=yes
7199 else
7200 echo "$as_me: failed program was:" >&5
7201 sed 's/^/| /' conftest.$ac_ext >&5
7203 ac_header_preproc=no
7205 rm -f conftest.err conftest.$ac_ext
7206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7207 echo "${ECHO_T}$ac_header_preproc" >&6
7209 # So? What about this header?
7210 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7211 yes:no: )
7212 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7213 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7215 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7216 ac_header_preproc=yes
7218 no:yes:* )
7219 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7220 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7221 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7222 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7223 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7224 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7225 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7226 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7229 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7230 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7232 cat <<\_ASBOX
7233 ## ----------------------------------------- ##
7234 ## Report this to the package-unused lists. ##
7235 ## ----------------------------------------- ##
7236 _ASBOX
7238 sed "s/^/$as_me: WARNING: /" >&2
7240 esac
7241 echo "$as_me:$LINENO: checking for $ac_header" >&5
7242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7244 echo $ECHO_N "(cached) $ECHO_C" >&6
7245 else
7246 eval "$as_ac_Header=\$ac_header_preproc"
7248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7253 cat >>confdefs.h <<_ACEOF
7254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7255 _ACEOF
7256 ac_has_complex_h=yes
7257 else
7258 ac_has_complex_h=no
7261 done
7263 ac_c99_complex=no;
7264 if test x"$ac_has_complex_h" = x"yes"; then
7265 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7266 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7267 cat >conftest.$ac_ext <<_ACEOF
7268 /* confdefs.h. */
7269 _ACEOF
7270 cat confdefs.h >>conftest.$ac_ext
7271 cat >>conftest.$ac_ext <<_ACEOF
7272 /* end confdefs.h. */
7273 #include <complex.h>
7275 main ()
7277 typedef __complex__ float float_type; float_type tmpf;
7278 cabsf(tmpf);
7279 cargf(tmpf);
7280 ccosf(tmpf);
7281 ccoshf(tmpf);
7282 cexpf(tmpf);
7283 clogf(tmpf);
7284 csinf(tmpf);
7285 csinhf(tmpf);
7286 csqrtf(tmpf);
7287 ctanf(tmpf);
7288 ctanhf(tmpf);
7289 cpowf(tmpf, tmpf);
7290 typedef __complex__ double double_type; double_type tmpd;
7291 cabs(tmpd);
7292 carg(tmpd);
7293 ccos(tmpd);
7294 ccosh(tmpd);
7295 cexp(tmpd);
7296 clog(tmpd);
7297 csin(tmpd);
7298 csinh(tmpd);
7299 csqrt(tmpd);
7300 ctan(tmpd);
7301 ctanh(tmpd);
7302 cpow(tmpd, tmpd);
7303 typedef __complex__ long double ld_type; ld_type tmpld;
7304 cabsl(tmpld);
7305 cargl(tmpld);
7306 ccosl(tmpld);
7307 ccoshl(tmpld);
7308 cexpl(tmpld);
7309 clogl(tmpld);
7310 csinl(tmpld);
7311 csinhl(tmpld);
7312 csqrtl(tmpld);
7313 ctanl(tmpld);
7314 ctanhl(tmpld);
7315 cpowl(tmpld, tmpld);
7318 return 0;
7320 _ACEOF
7321 rm -f conftest.$ac_objext
7322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7323 (eval $ac_compile) 2>conftest.er1
7324 ac_status=$?
7325 grep -v '^ *+' conftest.er1 >conftest.err
7326 rm -f conftest.er1
7327 cat conftest.err >&5
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); } &&
7330 { ac_try='test -z "$ac_cxx_werror_flag"
7331 || test ! -s conftest.err'
7332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7333 (eval $ac_try) 2>&5
7334 ac_status=$?
7335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336 (exit $ac_status); }; } &&
7337 { ac_try='test -s conftest.$ac_objext'
7338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7339 (eval $ac_try) 2>&5
7340 ac_status=$?
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); }; }; then
7343 ac_c99_complex=yes
7344 else
7345 echo "$as_me: failed program was:" >&5
7346 sed 's/^/| /' conftest.$ac_ext >&5
7348 ac_c99_complex=no
7350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7352 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
7353 echo "${ECHO_T}$ac_c99_complex" >&6
7354 if test x"$ac_c99_complex" = x"yes"; then
7356 cat >>confdefs.h <<\_ACEOF
7357 #define _GLIBCXX_USE_C99_COMPLEX 1
7358 _ACEOF
7362 # Check for the existence in <stdio.h> of vscanf, et. al.
7363 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
7364 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
7365 if test "${ac_c99_stdio+set}" = set; then
7366 echo $ECHO_N "(cached) $ECHO_C" >&6
7367 else
7369 cat >conftest.$ac_ext <<_ACEOF
7370 /* confdefs.h. */
7371 _ACEOF
7372 cat confdefs.h >>conftest.$ac_ext
7373 cat >>conftest.$ac_ext <<_ACEOF
7374 /* end confdefs.h. */
7375 #include <stdio.h>
7376 #include <stdarg.h>
7377 void foo(char* fmt, ...)
7379 va_list args; va_start(args, fmt);
7380 vfscanf(stderr, "%i", args);
7381 vscanf("%i", args);
7382 vsnprintf(fmt, 0, "%i", args);
7383 vsscanf(fmt, "%i", args);
7386 main ()
7388 snprintf("12", 0, "%i");
7390 return 0;
7392 _ACEOF
7393 rm -f conftest.$ac_objext
7394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7395 (eval $ac_compile) 2>conftest.er1
7396 ac_status=$?
7397 grep -v '^ *+' conftest.er1 >conftest.err
7398 rm -f conftest.er1
7399 cat conftest.err >&5
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); } &&
7402 { ac_try='test -z "$ac_cxx_werror_flag"
7403 || test ! -s conftest.err'
7404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7405 (eval $ac_try) 2>&5
7406 ac_status=$?
7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 (exit $ac_status); }; } &&
7409 { ac_try='test -s conftest.$ac_objext'
7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 (eval $ac_try) 2>&5
7412 ac_status=$?
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); }; }; then
7415 ac_c99_stdio=yes
7416 else
7417 echo "$as_me: failed program was:" >&5
7418 sed 's/^/| /' conftest.$ac_ext >&5
7420 ac_c99_stdio=no
7422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7426 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7427 echo "${ECHO_T}$ac_c99_stdio" >&6
7429 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7430 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7431 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7432 if test "${ac_c99_stdlib+set}" = set; then
7433 echo $ECHO_N "(cached) $ECHO_C" >&6
7434 else
7436 cat >conftest.$ac_ext <<_ACEOF
7437 /* confdefs.h. */
7438 _ACEOF
7439 cat confdefs.h >>conftest.$ac_ext
7440 cat >>conftest.$ac_ext <<_ACEOF
7441 /* end confdefs.h. */
7442 #include <stdlib.h>
7444 main ()
7446 char* tmp;
7447 strtof("gnu", &tmp);
7448 strtold("gnu", &tmp);
7449 strtoll("gnu", &tmp, 10);
7450 strtoull("gnu", &tmp, 10);
7451 llabs(10);
7452 lldiv(10,1);
7453 atoll("10");
7454 _Exit(0);
7455 lldiv_t mydivt;
7457 return 0;
7459 _ACEOF
7460 rm -f conftest.$ac_objext
7461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7462 (eval $ac_compile) 2>conftest.er1
7463 ac_status=$?
7464 grep -v '^ *+' conftest.er1 >conftest.err
7465 rm -f conftest.er1
7466 cat conftest.err >&5
7467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7468 (exit $ac_status); } &&
7469 { ac_try='test -z "$ac_cxx_werror_flag"
7470 || test ! -s conftest.err'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7472 (eval $ac_try) 2>&5
7473 ac_status=$?
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; } &&
7476 { ac_try='test -s conftest.$ac_objext'
7477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7478 (eval $ac_try) 2>&5
7479 ac_status=$?
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); }; }; then
7482 ac_c99_stdlib=yes
7483 else
7484 echo "$as_me: failed program was:" >&5
7485 sed 's/^/| /' conftest.$ac_ext >&5
7487 ac_c99_stdlib=no
7489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7493 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7494 echo "${ECHO_T}$ac_c99_stdlib" >&6
7496 # Check for the existence in <wchar.h> of wcstold, etc.
7497 ac_c99_wchar=no;
7498 if test x"$ac_has_wchar_h" = xyes &&
7499 test x"$ac_has_wctype_h" = xyes; then
7500 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7501 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7502 cat >conftest.$ac_ext <<_ACEOF
7503 /* confdefs.h. */
7504 _ACEOF
7505 cat confdefs.h >>conftest.$ac_ext
7506 cat >>conftest.$ac_ext <<_ACEOF
7507 /* end confdefs.h. */
7508 #include <wchar.h>
7509 namespace test
7511 using ::wcstold;
7512 using ::wcstoll;
7513 using ::wcstoull;
7517 main ()
7521 return 0;
7523 _ACEOF
7524 rm -f conftest.$ac_objext
7525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7526 (eval $ac_compile) 2>conftest.er1
7527 ac_status=$?
7528 grep -v '^ *+' conftest.er1 >conftest.err
7529 rm -f conftest.er1
7530 cat conftest.err >&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); } &&
7533 { ac_try='test -z "$ac_cxx_werror_flag"
7534 || test ! -s conftest.err'
7535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7536 (eval $ac_try) 2>&5
7537 ac_status=$?
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); }; } &&
7540 { ac_try='test -s conftest.$ac_objext'
7541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542 (eval $ac_try) 2>&5
7543 ac_status=$?
7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545 (exit $ac_status); }; }; then
7546 ac_c99_wchar=yes
7547 else
7548 echo "$as_me: failed program was:" >&5
7549 sed 's/^/| /' conftest.$ac_ext >&5
7551 ac_c99_wchar=no
7553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7555 # Checks for wide character functions that may not be present.
7556 # Injection of these is wrapped with guard macros.
7557 # NB: only put functions here, instead of immediately above, if
7558 # absolutely necessary.
7559 cat >conftest.$ac_ext <<_ACEOF
7560 /* confdefs.h. */
7561 _ACEOF
7562 cat confdefs.h >>conftest.$ac_ext
7563 cat >>conftest.$ac_ext <<_ACEOF
7564 /* end confdefs.h. */
7565 #include <wchar.h>
7566 namespace test { using ::vfwscanf; }
7568 main ()
7572 return 0;
7574 _ACEOF
7575 rm -f conftest.$ac_objext
7576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7577 (eval $ac_compile) 2>conftest.er1
7578 ac_status=$?
7579 grep -v '^ *+' conftest.er1 >conftest.err
7580 rm -f conftest.er1
7581 cat conftest.err >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); } &&
7584 { ac_try='test -z "$ac_cxx_werror_flag"
7585 || test ! -s conftest.err'
7586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7587 (eval $ac_try) 2>&5
7588 ac_status=$?
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); }; } &&
7591 { ac_try='test -s conftest.$ac_objext'
7592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7593 (eval $ac_try) 2>&5
7594 ac_status=$?
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); }; }; then
7598 cat >>confdefs.h <<\_ACEOF
7599 #define HAVE_VFWSCANF 1
7600 _ACEOF
7602 else
7603 echo "$as_me: failed program was:" >&5
7604 sed 's/^/| /' conftest.$ac_ext >&5
7607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7609 cat >conftest.$ac_ext <<_ACEOF
7610 /* confdefs.h. */
7611 _ACEOF
7612 cat confdefs.h >>conftest.$ac_ext
7613 cat >>conftest.$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7615 #include <wchar.h>
7616 namespace test { using ::vswscanf; }
7618 main ()
7622 return 0;
7624 _ACEOF
7625 rm -f conftest.$ac_objext
7626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7627 (eval $ac_compile) 2>conftest.er1
7628 ac_status=$?
7629 grep -v '^ *+' conftest.er1 >conftest.err
7630 rm -f conftest.er1
7631 cat conftest.err >&5
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633 (exit $ac_status); } &&
7634 { ac_try='test -z "$ac_cxx_werror_flag"
7635 || test ! -s conftest.err'
7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7637 (eval $ac_try) 2>&5
7638 ac_status=$?
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; } &&
7641 { ac_try='test -s conftest.$ac_objext'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 (eval $ac_try) 2>&5
7644 ac_status=$?
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; }; then
7648 cat >>confdefs.h <<\_ACEOF
7649 #define HAVE_VSWSCANF 1
7650 _ACEOF
7652 else
7653 echo "$as_me: failed program was:" >&5
7654 sed 's/^/| /' conftest.$ac_ext >&5
7657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7659 cat >conftest.$ac_ext <<_ACEOF
7660 /* confdefs.h. */
7661 _ACEOF
7662 cat confdefs.h >>conftest.$ac_ext
7663 cat >>conftest.$ac_ext <<_ACEOF
7664 /* end confdefs.h. */
7665 #include <wchar.h>
7666 namespace test { using ::vwscanf; }
7668 main ()
7672 return 0;
7674 _ACEOF
7675 rm -f conftest.$ac_objext
7676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7677 (eval $ac_compile) 2>conftest.er1
7678 ac_status=$?
7679 grep -v '^ *+' conftest.er1 >conftest.err
7680 rm -f conftest.er1
7681 cat conftest.err >&5
7682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683 (exit $ac_status); } &&
7684 { ac_try='test -z "$ac_cxx_werror_flag"
7685 || test ! -s conftest.err'
7686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7687 (eval $ac_try) 2>&5
7688 ac_status=$?
7689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690 (exit $ac_status); }; } &&
7691 { ac_try='test -s conftest.$ac_objext'
7692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7693 (eval $ac_try) 2>&5
7694 ac_status=$?
7695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696 (exit $ac_status); }; }; then
7698 cat >>confdefs.h <<\_ACEOF
7699 #define HAVE_VWSCANF 1
7700 _ACEOF
7702 else
7703 echo "$as_me: failed program was:" >&5
7704 sed 's/^/| /' conftest.$ac_ext >&5
7707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7709 cat >conftest.$ac_ext <<_ACEOF
7710 /* confdefs.h. */
7711 _ACEOF
7712 cat confdefs.h >>conftest.$ac_ext
7713 cat >>conftest.$ac_ext <<_ACEOF
7714 /* end confdefs.h. */
7715 #include <wchar.h>
7716 namespace test { using ::wcstof; }
7718 main ()
7722 return 0;
7724 _ACEOF
7725 rm -f conftest.$ac_objext
7726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7727 (eval $ac_compile) 2>conftest.er1
7728 ac_status=$?
7729 grep -v '^ *+' conftest.er1 >conftest.err
7730 rm -f conftest.er1
7731 cat conftest.err >&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); } &&
7734 { ac_try='test -z "$ac_cxx_werror_flag"
7735 || test ! -s conftest.err'
7736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737 (eval $ac_try) 2>&5
7738 ac_status=$?
7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 (exit $ac_status); }; } &&
7741 { ac_try='test -s conftest.$ac_objext'
7742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7743 (eval $ac_try) 2>&5
7744 ac_status=$?
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); }; }; then
7748 cat >>confdefs.h <<\_ACEOF
7749 #define HAVE_WCSTOF 1
7750 _ACEOF
7752 else
7753 echo "$as_me: failed program was:" >&5
7754 sed 's/^/| /' conftest.$ac_ext >&5
7757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7759 cat >conftest.$ac_ext <<_ACEOF
7760 /* confdefs.h. */
7761 _ACEOF
7762 cat confdefs.h >>conftest.$ac_ext
7763 cat >>conftest.$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7765 #include <wctype.h>
7767 main ()
7769 wint_t t; int i = iswblank(t);
7771 return 0;
7773 _ACEOF
7774 rm -f conftest.$ac_objext
7775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7776 (eval $ac_compile) 2>conftest.er1
7777 ac_status=$?
7778 grep -v '^ *+' conftest.er1 >conftest.err
7779 rm -f conftest.er1
7780 cat conftest.err >&5
7781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); } &&
7783 { ac_try='test -z "$ac_cxx_werror_flag"
7784 || test ! -s conftest.err'
7785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7786 (eval $ac_try) 2>&5
7787 ac_status=$?
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); }; } &&
7790 { ac_try='test -s conftest.$ac_objext'
7791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7792 (eval $ac_try) 2>&5
7793 ac_status=$?
7794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 (exit $ac_status); }; }; then
7797 cat >>confdefs.h <<\_ACEOF
7798 #define HAVE_ISWBLANK 1
7799 _ACEOF
7801 else
7802 echo "$as_me: failed program was:" >&5
7803 sed 's/^/| /' conftest.$ac_ext >&5
7806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7808 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7809 echo "${ECHO_T}$ac_c99_wchar" >&6
7812 # Option parsed, now set things appropriately.
7813 if test x"$ac_c99_math" = x"no" ||
7814 test x"$ac_c99_complex" = x"no" ||
7815 test x"$ac_c99_stdio" = x"no" ||
7816 test x"$ac_c99_stdlib" = x"no" ||
7817 test x"$ac_c99_wchar" = x"no"; then
7818 enable_c99=no;
7819 else
7821 cat >>confdefs.h <<\_ACEOF
7822 #define _GLIBCXX_USE_C99 1
7823 _ACEOF
7827 ac_ext=c
7828 ac_cpp='$CPP $CPPFLAGS'
7829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7835 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7836 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7837 echo "$as_me:$LINENO: result: $enable_c99" >&5
7838 echo "${ECHO_T}$enable_c99" >&6
7841 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7842 if test "${enable_concept_checks+set}" = set; then
7843 enableval="$enable_concept_checks"
7845 case "$enableval" in
7846 yes|no) ;;
7847 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7848 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7849 { (exit 1); exit 1; }; } ;;
7850 esac
7852 else
7853 enable_concept_checks=no
7856 if test $enable_concept_checks = yes; then
7858 cat >>confdefs.h <<\_ACEOF
7859 #define _GLIBCXX_CONCEPT_CHECKS 1
7860 _ACEOF
7865 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7866 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7867 enableval="$enable_libstdcxx_debug_flags"
7868 case "x$enable_libstdcxx_debug_flags" in
7869 xno | x) enable_libstdcxx_debug_flags= ;;
7870 x-*) ;;
7871 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7872 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7873 { (exit 1); exit 1; }; } ;;
7874 esac
7875 else
7876 enable_libstdcxx_debug_flags="-g3 -O0"
7880 # Option parsed, now set things appropriately
7881 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7884 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7885 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7888 echo "$as_me:$LINENO: checking for additional debug build" >&5
7889 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7890 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7891 if test "${enable_libstdcxx_debug+set}" = set; then
7892 enableval="$enable_libstdcxx_debug"
7894 case "$enableval" in
7895 yes|no) ;;
7896 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7897 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7898 { (exit 1); exit 1; }; } ;;
7899 esac
7901 else
7902 enable_libstdcxx_debug=no
7905 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7906 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7909 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7910 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7911 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7912 if test "${enable_cxx_flags+set}" = set; then
7913 enableval="$enable_cxx_flags"
7914 case "x$enable_cxx_flags" in
7915 xno | x) enable_cxx_flags= ;;
7916 x-*) ;;
7917 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7918 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7919 { (exit 1); exit 1; }; } ;;
7920 esac
7921 else
7922 enable_cxx_flags=
7926 # Run through flags (either default or command-line) and set anything
7927 # extra (e.g., #defines) that must accompany particular g++ options.
7928 if test -n "$enable_cxx_flags"; then
7929 for f in $enable_cxx_flags; do
7930 case "$f" in
7931 -fhonor-std) ;;
7932 -*) ;;
7933 *) # and we're trying to pass /what/ exactly?
7934 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7935 echo "$as_me: error: compiler flags start with a -" >&2;}
7936 { (exit 1); exit 1; }; } ;;
7937 esac
7938 done
7941 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7942 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7943 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7947 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7948 if test "${enable_fully_dynamic_string+set}" = set; then
7949 enableval="$enable_fully_dynamic_string"
7951 case "$enableval" in
7952 yes|no) ;;
7953 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7954 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7955 { (exit 1); exit 1; }; } ;;
7956 esac
7958 else
7959 enable_fully_dynamic_string=no
7962 if test $enable_fully_dynamic_string = yes; then
7964 cat >>confdefs.h <<\_ACEOF
7965 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7966 _ACEOF
7971 # No surprises, no surprises...
7973 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7974 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7975 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7976 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7977 echo "${ECHO_T}$target_thread_file" >&6
7979 if test $target_thread_file != single; then
7981 cat >>confdefs.h <<\_ACEOF
7982 #define HAVE_GTHR_DEFAULT 1
7983 _ACEOF
7987 glibcxx_thread_h=gthr-$target_thread_file.h
7989 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7990 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7991 enable_thread=yes
7992 else
7993 enable_thread=no
7999 echo "$as_me:$LINENO: checking for atomic builtins" >&5
8000 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
8003 ac_ext=cc
8004 ac_cpp='$CXXCPP $CPPFLAGS'
8005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8010 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
8011 cat > conftest.$ac_ext << EOF
8012 #line 8012 "configure"
8013 int main()
8015 // NB: _Atomic_word not necessarily int.
8016 typedef int atomic_type;
8017 atomic_type c1;
8018 atomic_type c2;
8019 const atomic_type c3(0);
8020 if (__sync_fetch_and_add(&c1, c2) == c3)
8022 // Do something.
8024 return 0;
8027 old_CXXFLAGS="$CXXFLAGS"
8028 CXXFLAGS="$CXXFLAGS -S"
8029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8030 (eval $ac_compile) 2>&5
8031 ac_status=$?
8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 (exit $ac_status); }; then
8034 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
8035 enable_atomic_builtins=no
8036 else
8038 cat >>confdefs.h <<\_ACEOF
8039 #define _GLIBCXX_ATOMIC_BUILTINS 1
8040 _ACEOF
8042 enable_atomic_builtins=yes
8043 atomicity_dir=cpu/generic/atomicity_builtins
8046 CXXFLAGS="$old_CXXFLAGS"
8047 rm -f conftest*
8049 # Now, if still generic, set to mutex.
8050 if test $atomicity_dir = "cpu/generic" ; then
8051 atomicity_dir=cpu/generic/atomicity_mutex
8053 ac_ext=c
8054 ac_cpp='$CPP $CPPFLAGS'
8055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8059 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
8060 echo "${ECHO_T}$enable_atomic_builtins" >&6
8062 if test $atomicity_dir = cpu/generic/atomic_mutex ; then
8063 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
8064 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8065 if test $target_thread_file = single; then
8066 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8067 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8068 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8069 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8070 else
8071 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8072 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8073 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8074 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8079 if $GLIBCXX_IS_NATIVE; then
8081 # We can do more elaborate tests that assume a working linker.
8082 CANADIAN=no
8084 # Check for available headers.
8100 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8101 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8102 sys/types.h sys/ipc.h sys/sem.h
8104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8106 echo "$as_me:$LINENO: checking for $ac_header" >&5
8107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8109 echo $ECHO_N "(cached) $ECHO_C" >&6
8111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8113 else
8114 # Is the header compilable?
8115 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8116 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8117 cat >conftest.$ac_ext <<_ACEOF
8118 /* confdefs.h. */
8119 _ACEOF
8120 cat confdefs.h >>conftest.$ac_ext
8121 cat >>conftest.$ac_ext <<_ACEOF
8122 /* end confdefs.h. */
8123 $ac_includes_default
8124 #include <$ac_header>
8125 _ACEOF
8126 rm -f conftest.$ac_objext
8127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8128 (eval $ac_compile) 2>conftest.er1
8129 ac_status=$?
8130 grep -v '^ *+' conftest.er1 >conftest.err
8131 rm -f conftest.er1
8132 cat conftest.err >&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); } &&
8135 { ac_try='test -z "$ac_c_werror_flag"
8136 || test ! -s conftest.err'
8137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 (eval $ac_try) 2>&5
8139 ac_status=$?
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); }; } &&
8142 { ac_try='test -s conftest.$ac_objext'
8143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8144 (eval $ac_try) 2>&5
8145 ac_status=$?
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); }; }; then
8148 ac_header_compiler=yes
8149 else
8150 echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.$ac_ext >&5
8153 ac_header_compiler=no
8155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8157 echo "${ECHO_T}$ac_header_compiler" >&6
8159 # Is the header present?
8160 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8161 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8162 cat >conftest.$ac_ext <<_ACEOF
8163 /* confdefs.h. */
8164 _ACEOF
8165 cat confdefs.h >>conftest.$ac_ext
8166 cat >>conftest.$ac_ext <<_ACEOF
8167 /* end confdefs.h. */
8168 #include <$ac_header>
8169 _ACEOF
8170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8172 ac_status=$?
8173 grep -v '^ *+' conftest.er1 >conftest.err
8174 rm -f conftest.er1
8175 cat conftest.err >&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); } >/dev/null; then
8178 if test -s conftest.err; then
8179 ac_cpp_err=$ac_c_preproc_warn_flag
8180 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8181 else
8182 ac_cpp_err=
8184 else
8185 ac_cpp_err=yes
8187 if test -z "$ac_cpp_err"; then
8188 ac_header_preproc=yes
8189 else
8190 echo "$as_me: failed program was:" >&5
8191 sed 's/^/| /' conftest.$ac_ext >&5
8193 ac_header_preproc=no
8195 rm -f conftest.err conftest.$ac_ext
8196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8197 echo "${ECHO_T}$ac_header_preproc" >&6
8199 # So? What about this header?
8200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8201 yes:no: )
8202 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8203 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8205 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8206 ac_header_preproc=yes
8208 no:yes:* )
8209 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8210 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8211 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8212 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8213 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8214 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8215 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8216 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8217 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8218 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8219 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8220 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8222 cat <<\_ASBOX
8223 ## ----------------------------------------- ##
8224 ## Report this to the package-unused lists. ##
8225 ## ----------------------------------------- ##
8226 _ASBOX
8228 sed "s/^/$as_me: WARNING: /" >&2
8230 esac
8231 echo "$as_me:$LINENO: checking for $ac_header" >&5
8232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8234 echo $ECHO_N "(cached) $ECHO_C" >&6
8235 else
8236 eval "$as_ac_Header=\$ac_header_preproc"
8238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8243 cat >>confdefs.h <<_ACEOF
8244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8245 _ACEOF
8249 done
8253 # All these tests are for C++; save the language and the compiler flags.
8254 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8255 # found in GLIBCXX_CONFIGURE.
8258 ac_ext=cc
8259 ac_cpp='$CXXCPP $CPPFLAGS'
8260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8264 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8265 ac_save_CXXFLAGS="$CXXFLAGS"
8267 # Check for maintainer-mode bits.
8268 if test x"$USE_MAINTAINER_MODE" = xno; then
8269 WERROR=''
8270 else
8271 WERROR='-Werror'
8274 # Check for -ffunction-sections -fdata-sections
8275 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8276 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8277 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8278 cat >conftest.$ac_ext <<_ACEOF
8279 /* confdefs.h. */
8280 _ACEOF
8281 cat confdefs.h >>conftest.$ac_ext
8282 cat >>conftest.$ac_ext <<_ACEOF
8283 /* end confdefs.h. */
8286 main ()
8288 int foo;
8290 return 0;
8292 _ACEOF
8293 rm -f conftest.$ac_objext
8294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8295 (eval $ac_compile) 2>conftest.er1
8296 ac_status=$?
8297 grep -v '^ *+' conftest.er1 >conftest.err
8298 rm -f conftest.er1
8299 cat conftest.err >&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); } &&
8302 { ac_try='test -z "$ac_cxx_werror_flag"
8303 || test ! -s conftest.err'
8304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8305 (eval $ac_try) 2>&5
8306 ac_status=$?
8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 (exit $ac_status); }; } &&
8309 { ac_try='test -s conftest.$ac_objext'
8310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8311 (eval $ac_try) 2>&5
8312 ac_status=$?
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); }; }; then
8315 ac_fdsections=yes
8316 else
8317 echo "$as_me: failed program was:" >&5
8318 sed 's/^/| /' conftest.$ac_ext >&5
8320 ac_fdsections=no
8322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8323 if test "$ac_test_CXXFLAGS" = set; then
8324 CXXFLAGS="$ac_save_CXXFLAGS"
8325 else
8326 # this is the suspicious part
8327 CXXFLAGS=''
8329 if test x"$ac_fdsections" = x"yes"; then
8330 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8332 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8333 echo "${ECHO_T}$ac_fdsections" >&6
8335 ac_ext=c
8336 ac_cpp='$CPP $CPPFLAGS'
8337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8345 # If we're not using GNU ld, then there's no point in even trying these
8346 # tests. Check for that first. We should have already tested for gld
8347 # by now (in libtool), but require it now just to be safe...
8348 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8349 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8353 # The name set by libtool depends on the version of libtool. Shame on us
8354 # for depending on an impl detail, but c'est la vie. Older versions used
8355 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8356 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8357 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8358 # set (hence we're using an older libtool), then set it.
8359 if test x${with_gnu_ld+set} != xset; then
8360 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8361 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8362 with_gnu_ld=no
8363 else
8364 with_gnu_ld=$ac_cv_prog_gnu_ld
8368 # Start by getting the version number. I think the libtool test already
8369 # does some of this, but throws away the result.
8370 echo "$as_me:$LINENO: checking for ld version" >&5
8371 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8373 ldver=`$LD --version 2>/dev/null | head -1 | \
8374 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8376 glibcxx_gnu_ld_version=`echo $ldver | \
8377 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8378 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8379 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8381 # Set --gc-sections.
8382 glibcxx_gcsections_min_ld=21602
8383 if test x"$with_gnu_ld" = x"yes" &&
8384 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8386 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
8387 # NB: This flag only works reliably after 2.16.1. Configure tests
8388 # for this are difficult, so hard wire a value that should work.
8390 # All these tests are for C++, but run with the "C" compiler driver.
8391 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8392 ac_test_CFLAGS="${CFLAGS+set}"
8393 ac_save_CFLAGS="$CFLAGS"
8394 CFLAGS='-x c++ -Wl,--gc-sections'
8396 # Check for -Wl,--gc-sections
8397 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8398 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8399 if test x$gcc_no_link = xyes; then
8400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8402 { (exit 1); exit 1; }; }
8404 cat >conftest.$ac_ext <<_ACEOF
8405 /* confdefs.h. */
8406 _ACEOF
8407 cat confdefs.h >>conftest.$ac_ext
8408 cat >>conftest.$ac_ext <<_ACEOF
8409 /* end confdefs.h. */
8410 int one(void) { return 1; }
8411 int two(void) { return 2; }
8414 main ()
8416 two();
8418 return 0;
8420 _ACEOF
8421 rm -f conftest.$ac_objext conftest$ac_exeext
8422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8423 (eval $ac_link) 2>conftest.er1
8424 ac_status=$?
8425 grep -v '^ *+' conftest.er1 >conftest.err
8426 rm -f conftest.er1
8427 cat conftest.err >&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } &&
8430 { ac_try='test -z "$ac_c_werror_flag"
8431 || test ! -s conftest.err'
8432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8433 (eval $ac_try) 2>&5
8434 ac_status=$?
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 (exit $ac_status); }; } &&
8437 { ac_try='test -s conftest$ac_exeext'
8438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8439 (eval $ac_try) 2>&5
8440 ac_status=$?
8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 (exit $ac_status); }; }; then
8443 ac_gcsections=yes
8444 else
8445 echo "$as_me: failed program was:" >&5
8446 sed 's/^/| /' conftest.$ac_ext >&5
8448 ac_gcsections=no
8450 rm -f conftest.err conftest.$ac_objext \
8451 conftest$ac_exeext conftest.$ac_ext
8452 if test "$ac_gcsections" = "yes"; then
8453 rm -f conftest.c
8454 touch conftest.c
8455 if $CC -c conftest.c; then
8456 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8457 grep "Warning: gc-sections option ignored" > /dev/null; then
8458 ac_gcsections=no
8461 rm -f conftest.c conftest.o conftest
8463 if test "$ac_gcsections" = "yes"; then
8464 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8466 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8467 echo "${ECHO_T}$ac_gcsections" >&6
8469 if test "$ac_test_CFLAGS" = set; then
8470 CFLAGS="$ac_save_CFLAGS"
8471 else
8472 # this is the suspicious part
8473 CFLAGS=''
8477 # Set -z,relro.
8478 # Note this is only for shared objects.
8479 ac_ld_relro=no
8480 if test x"$with_gnu_ld" = x"yes"; then
8481 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8482 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8483 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8484 if test -n "$cxx_z_relo"; then
8485 OPT_LDFLAGS="-Wl,-z,relro"
8486 ac_ld_relro=yes
8488 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8489 echo "${ECHO_T}$ac_ld_relro" >&6
8492 # Set linker optimization flags.
8493 if test x"$with_gnu_ld" = x"yes"; then
8494 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8501 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8502 ac_save_CXXFLAGS="$CXXFLAGS"
8503 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8505 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8506 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8507 if test "${ac_cv_lib_m_sin+set}" = set; then
8508 echo $ECHO_N "(cached) $ECHO_C" >&6
8509 else
8510 ac_check_lib_save_LIBS=$LIBS
8511 LIBS="-lm $LIBS"
8512 if test x$gcc_no_link = xyes; then
8513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8515 { (exit 1); exit 1; }; }
8517 cat >conftest.$ac_ext <<_ACEOF
8518 /* confdefs.h. */
8519 _ACEOF
8520 cat confdefs.h >>conftest.$ac_ext
8521 cat >>conftest.$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8524 /* Override any gcc2 internal prototype to avoid an error. */
8525 #ifdef __cplusplus
8526 extern "C"
8527 #endif
8528 /* We use char because int might match the return type of a gcc2
8529 builtin and then its argument prototype would still apply. */
8530 char sin ();
8532 main ()
8534 sin ();
8536 return 0;
8538 _ACEOF
8539 rm -f conftest.$ac_objext conftest$ac_exeext
8540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8541 (eval $ac_link) 2>conftest.er1
8542 ac_status=$?
8543 grep -v '^ *+' conftest.er1 >conftest.err
8544 rm -f conftest.er1
8545 cat conftest.err >&5
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 (exit $ac_status); } &&
8548 { ac_try='test -z "$ac_c_werror_flag"
8549 || test ! -s conftest.err'
8550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8551 (eval $ac_try) 2>&5
8552 ac_status=$?
8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); }; } &&
8555 { ac_try='test -s conftest$ac_exeext'
8556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8557 (eval $ac_try) 2>&5
8558 ac_status=$?
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); }; }; then
8561 ac_cv_lib_m_sin=yes
8562 else
8563 echo "$as_me: failed program was:" >&5
8564 sed 's/^/| /' conftest.$ac_ext >&5
8566 ac_cv_lib_m_sin=no
8568 rm -f conftest.err conftest.$ac_objext \
8569 conftest$ac_exeext conftest.$ac_ext
8570 LIBS=$ac_check_lib_save_LIBS
8572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8573 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8574 if test $ac_cv_lib_m_sin = yes; then
8575 libm="-lm"
8578 ac_save_LIBS="$LIBS"
8579 LIBS="$LIBS $libm"
8583 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8584 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8585 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8586 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8587 echo $ECHO_N "(cached) $ECHO_C" >&6
8588 else
8592 ac_ext=cc
8593 ac_cpp='$CXXCPP $CPPFLAGS'
8594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8598 cat >conftest.$ac_ext <<_ACEOF
8599 /* confdefs.h. */
8600 _ACEOF
8601 cat confdefs.h >>conftest.$ac_ext
8602 cat >>conftest.$ac_ext <<_ACEOF
8603 /* end confdefs.h. */
8604 #include <math.h>
8605 #ifdef HAVE_IEEEFP_H
8606 #include <ieeefp.h>
8607 #endif
8610 main ()
8612 isinf(0);
8614 return 0;
8616 _ACEOF
8617 rm -f conftest.$ac_objext
8618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8619 (eval $ac_compile) 2>conftest.er1
8620 ac_status=$?
8621 grep -v '^ *+' conftest.er1 >conftest.err
8622 rm -f conftest.er1
8623 cat conftest.err >&5
8624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625 (exit $ac_status); } &&
8626 { ac_try='test -z "$ac_cxx_werror_flag"
8627 || test ! -s conftest.err'
8628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8629 (eval $ac_try) 2>&5
8630 ac_status=$?
8631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 (exit $ac_status); }; } &&
8633 { ac_try='test -s conftest.$ac_objext'
8634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8635 (eval $ac_try) 2>&5
8636 ac_status=$?
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); }; }; then
8639 glibcxx_cv_func_isinf_use=yes
8640 else
8641 echo "$as_me: failed program was:" >&5
8642 sed 's/^/| /' conftest.$ac_ext >&5
8644 glibcxx_cv_func_isinf_use=no
8646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8647 ac_ext=c
8648 ac_cpp='$CPP $CPPFLAGS'
8649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8657 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8658 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8660 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8662 for ac_func in isinf
8664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8665 echo "$as_me:$LINENO: checking for $ac_func" >&5
8666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8667 if eval "test \"\${$as_ac_var+set}\" = set"; then
8668 echo $ECHO_N "(cached) $ECHO_C" >&6
8669 else
8670 if test x$gcc_no_link = xyes; then
8671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8673 { (exit 1); exit 1; }; }
8675 cat >conftest.$ac_ext <<_ACEOF
8676 /* confdefs.h. */
8677 _ACEOF
8678 cat confdefs.h >>conftest.$ac_ext
8679 cat >>conftest.$ac_ext <<_ACEOF
8680 /* end confdefs.h. */
8681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8683 #define $ac_func innocuous_$ac_func
8685 /* System header to define __stub macros and hopefully few prototypes,
8686 which can conflict with char $ac_func (); below.
8687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8688 <limits.h> exists even on freestanding compilers. */
8690 #ifdef __STDC__
8691 # include <limits.h>
8692 #else
8693 # include <assert.h>
8694 #endif
8696 #undef $ac_func
8698 /* Override any gcc2 internal prototype to avoid an error. */
8699 #ifdef __cplusplus
8700 extern "C"
8702 #endif
8703 /* We use char because int might match the return type of a gcc2
8704 builtin and then its argument prototype would still apply. */
8705 char $ac_func ();
8706 /* The GNU C library defines this for functions which it implements
8707 to always fail with ENOSYS. Some functions are actually named
8708 something starting with __ and the normal name is an alias. */
8709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8710 choke me
8711 #else
8712 char (*f) () = $ac_func;
8713 #endif
8714 #ifdef __cplusplus
8716 #endif
8719 main ()
8721 return f != $ac_func;
8723 return 0;
8725 _ACEOF
8726 rm -f conftest.$ac_objext conftest$ac_exeext
8727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8728 (eval $ac_link) 2>conftest.er1
8729 ac_status=$?
8730 grep -v '^ *+' conftest.er1 >conftest.err
8731 rm -f conftest.er1
8732 cat conftest.err >&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); } &&
8735 { ac_try='test -z "$ac_c_werror_flag"
8736 || test ! -s conftest.err'
8737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8738 (eval $ac_try) 2>&5
8739 ac_status=$?
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); }; } &&
8742 { ac_try='test -s conftest$ac_exeext'
8743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8744 (eval $ac_try) 2>&5
8745 ac_status=$?
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); }; }; then
8748 eval "$as_ac_var=yes"
8749 else
8750 echo "$as_me: failed program was:" >&5
8751 sed 's/^/| /' conftest.$ac_ext >&5
8753 eval "$as_ac_var=no"
8755 rm -f conftest.err conftest.$ac_objext \
8756 conftest$ac_exeext conftest.$ac_ext
8758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8760 if test `eval echo '${'$as_ac_var'}'` = yes; then
8761 cat >>confdefs.h <<_ACEOF
8762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8763 _ACEOF
8766 done
8768 else
8770 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8771 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8772 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8773 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8774 echo $ECHO_N "(cached) $ECHO_C" >&6
8775 else
8779 ac_ext=cc
8780 ac_cpp='$CXXCPP $CPPFLAGS'
8781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8785 cat >conftest.$ac_ext <<_ACEOF
8786 /* confdefs.h. */
8787 _ACEOF
8788 cat confdefs.h >>conftest.$ac_ext
8789 cat >>conftest.$ac_ext <<_ACEOF
8790 /* end confdefs.h. */
8791 #include <math.h>
8792 #ifdef HAVE_IEEEFP_H
8793 #include <ieeefp.h>
8794 #endif
8797 main ()
8799 _isinf(0);
8801 return 0;
8803 _ACEOF
8804 rm -f conftest.$ac_objext
8805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8806 (eval $ac_compile) 2>conftest.er1
8807 ac_status=$?
8808 grep -v '^ *+' conftest.er1 >conftest.err
8809 rm -f conftest.er1
8810 cat conftest.err >&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } &&
8813 { ac_try='test -z "$ac_cxx_werror_flag"
8814 || test ! -s conftest.err'
8815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8816 (eval $ac_try) 2>&5
8817 ac_status=$?
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); }; } &&
8820 { ac_try='test -s conftest.$ac_objext'
8821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8822 (eval $ac_try) 2>&5
8823 ac_status=$?
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); }; }; then
8826 glibcxx_cv_func__isinf_use=yes
8827 else
8828 echo "$as_me: failed program was:" >&5
8829 sed 's/^/| /' conftest.$ac_ext >&5
8831 glibcxx_cv_func__isinf_use=no
8833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8834 ac_ext=c
8835 ac_cpp='$CPP $CPPFLAGS'
8836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8845 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8847 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8849 for ac_func in _isinf
8851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8852 echo "$as_me:$LINENO: checking for $ac_func" >&5
8853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8854 if eval "test \"\${$as_ac_var+set}\" = set"; then
8855 echo $ECHO_N "(cached) $ECHO_C" >&6
8856 else
8857 if test x$gcc_no_link = xyes; then
8858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8860 { (exit 1); exit 1; }; }
8862 cat >conftest.$ac_ext <<_ACEOF
8863 /* confdefs.h. */
8864 _ACEOF
8865 cat confdefs.h >>conftest.$ac_ext
8866 cat >>conftest.$ac_ext <<_ACEOF
8867 /* end confdefs.h. */
8868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8870 #define $ac_func innocuous_$ac_func
8872 /* System header to define __stub macros and hopefully few prototypes,
8873 which can conflict with char $ac_func (); below.
8874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8875 <limits.h> exists even on freestanding compilers. */
8877 #ifdef __STDC__
8878 # include <limits.h>
8879 #else
8880 # include <assert.h>
8881 #endif
8883 #undef $ac_func
8885 /* Override any gcc2 internal prototype to avoid an error. */
8886 #ifdef __cplusplus
8887 extern "C"
8889 #endif
8890 /* We use char because int might match the return type of a gcc2
8891 builtin and then its argument prototype would still apply. */
8892 char $ac_func ();
8893 /* The GNU C library defines this for functions which it implements
8894 to always fail with ENOSYS. Some functions are actually named
8895 something starting with __ and the normal name is an alias. */
8896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8897 choke me
8898 #else
8899 char (*f) () = $ac_func;
8900 #endif
8901 #ifdef __cplusplus
8903 #endif
8906 main ()
8908 return f != $ac_func;
8910 return 0;
8912 _ACEOF
8913 rm -f conftest.$ac_objext conftest$ac_exeext
8914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8915 (eval $ac_link) 2>conftest.er1
8916 ac_status=$?
8917 grep -v '^ *+' conftest.er1 >conftest.err
8918 rm -f conftest.er1
8919 cat conftest.err >&5
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); } &&
8922 { ac_try='test -z "$ac_c_werror_flag"
8923 || test ! -s conftest.err'
8924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8925 (eval $ac_try) 2>&5
8926 ac_status=$?
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); }; } &&
8929 { ac_try='test -s conftest$ac_exeext'
8930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8931 (eval $ac_try) 2>&5
8932 ac_status=$?
8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934 (exit $ac_status); }; }; then
8935 eval "$as_ac_var=yes"
8936 else
8937 echo "$as_me: failed program was:" >&5
8938 sed 's/^/| /' conftest.$ac_ext >&5
8940 eval "$as_ac_var=no"
8942 rm -f conftest.err conftest.$ac_objext \
8943 conftest$ac_exeext conftest.$ac_ext
8945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8947 if test `eval echo '${'$as_ac_var'}'` = yes; then
8948 cat >>confdefs.h <<_ACEOF
8949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8950 _ACEOF
8953 done
8963 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8964 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8965 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8966 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8967 echo $ECHO_N "(cached) $ECHO_C" >&6
8968 else
8972 ac_ext=cc
8973 ac_cpp='$CXXCPP $CPPFLAGS'
8974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8978 cat >conftest.$ac_ext <<_ACEOF
8979 /* confdefs.h. */
8980 _ACEOF
8981 cat confdefs.h >>conftest.$ac_ext
8982 cat >>conftest.$ac_ext <<_ACEOF
8983 /* end confdefs.h. */
8984 #include <math.h>
8985 #ifdef HAVE_IEEEFP_H
8986 #include <ieeefp.h>
8987 #endif
8990 main ()
8992 isnan(0);
8994 return 0;
8996 _ACEOF
8997 rm -f conftest.$ac_objext
8998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8999 (eval $ac_compile) 2>conftest.er1
9000 ac_status=$?
9001 grep -v '^ *+' conftest.er1 >conftest.err
9002 rm -f conftest.er1
9003 cat conftest.err >&5
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); } &&
9006 { ac_try='test -z "$ac_cxx_werror_flag"
9007 || test ! -s conftest.err'
9008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9009 (eval $ac_try) 2>&5
9010 ac_status=$?
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); }; } &&
9013 { ac_try='test -s conftest.$ac_objext'
9014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9015 (eval $ac_try) 2>&5
9016 ac_status=$?
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); }; }; then
9019 glibcxx_cv_func_isnan_use=yes
9020 else
9021 echo "$as_me: failed program was:" >&5
9022 sed 's/^/| /' conftest.$ac_ext >&5
9024 glibcxx_cv_func_isnan_use=no
9026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9027 ac_ext=c
9028 ac_cpp='$CPP $CPPFLAGS'
9029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9037 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
9038 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
9040 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
9042 for ac_func in isnan
9044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9045 echo "$as_me:$LINENO: checking for $ac_func" >&5
9046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9047 if eval "test \"\${$as_ac_var+set}\" = set"; then
9048 echo $ECHO_N "(cached) $ECHO_C" >&6
9049 else
9050 if test x$gcc_no_link = xyes; then
9051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9053 { (exit 1); exit 1; }; }
9055 cat >conftest.$ac_ext <<_ACEOF
9056 /* confdefs.h. */
9057 _ACEOF
9058 cat confdefs.h >>conftest.$ac_ext
9059 cat >>conftest.$ac_ext <<_ACEOF
9060 /* end confdefs.h. */
9061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9063 #define $ac_func innocuous_$ac_func
9065 /* System header to define __stub macros and hopefully few prototypes,
9066 which can conflict with char $ac_func (); below.
9067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9068 <limits.h> exists even on freestanding compilers. */
9070 #ifdef __STDC__
9071 # include <limits.h>
9072 #else
9073 # include <assert.h>
9074 #endif
9076 #undef $ac_func
9078 /* Override any gcc2 internal prototype to avoid an error. */
9079 #ifdef __cplusplus
9080 extern "C"
9082 #endif
9083 /* We use char because int might match the return type of a gcc2
9084 builtin and then its argument prototype would still apply. */
9085 char $ac_func ();
9086 /* The GNU C library defines this for functions which it implements
9087 to always fail with ENOSYS. Some functions are actually named
9088 something starting with __ and the normal name is an alias. */
9089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9090 choke me
9091 #else
9092 char (*f) () = $ac_func;
9093 #endif
9094 #ifdef __cplusplus
9096 #endif
9099 main ()
9101 return f != $ac_func;
9103 return 0;
9105 _ACEOF
9106 rm -f conftest.$ac_objext conftest$ac_exeext
9107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9108 (eval $ac_link) 2>conftest.er1
9109 ac_status=$?
9110 grep -v '^ *+' conftest.er1 >conftest.err
9111 rm -f conftest.er1
9112 cat conftest.err >&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); } &&
9115 { ac_try='test -z "$ac_c_werror_flag"
9116 || test ! -s conftest.err'
9117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9118 (eval $ac_try) 2>&5
9119 ac_status=$?
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); }; } &&
9122 { ac_try='test -s conftest$ac_exeext'
9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124 (eval $ac_try) 2>&5
9125 ac_status=$?
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); }; }; then
9128 eval "$as_ac_var=yes"
9129 else
9130 echo "$as_me: failed program was:" >&5
9131 sed 's/^/| /' conftest.$ac_ext >&5
9133 eval "$as_ac_var=no"
9135 rm -f conftest.err conftest.$ac_objext \
9136 conftest$ac_exeext conftest.$ac_ext
9138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9140 if test `eval echo '${'$as_ac_var'}'` = yes; then
9141 cat >>confdefs.h <<_ACEOF
9142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9143 _ACEOF
9146 done
9148 else
9150 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9151 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9152 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9153 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9154 echo $ECHO_N "(cached) $ECHO_C" >&6
9155 else
9159 ac_ext=cc
9160 ac_cpp='$CXXCPP $CPPFLAGS'
9161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9165 cat >conftest.$ac_ext <<_ACEOF
9166 /* confdefs.h. */
9167 _ACEOF
9168 cat confdefs.h >>conftest.$ac_ext
9169 cat >>conftest.$ac_ext <<_ACEOF
9170 /* end confdefs.h. */
9171 #include <math.h>
9172 #ifdef HAVE_IEEEFP_H
9173 #include <ieeefp.h>
9174 #endif
9177 main ()
9179 _isnan(0);
9181 return 0;
9183 _ACEOF
9184 rm -f conftest.$ac_objext
9185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9186 (eval $ac_compile) 2>conftest.er1
9187 ac_status=$?
9188 grep -v '^ *+' conftest.er1 >conftest.err
9189 rm -f conftest.er1
9190 cat conftest.err >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); } &&
9193 { ac_try='test -z "$ac_cxx_werror_flag"
9194 || test ! -s conftest.err'
9195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9196 (eval $ac_try) 2>&5
9197 ac_status=$?
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 (exit $ac_status); }; } &&
9200 { ac_try='test -s conftest.$ac_objext'
9201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9202 (eval $ac_try) 2>&5
9203 ac_status=$?
9204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205 (exit $ac_status); }; }; then
9206 glibcxx_cv_func__isnan_use=yes
9207 else
9208 echo "$as_me: failed program was:" >&5
9209 sed 's/^/| /' conftest.$ac_ext >&5
9211 glibcxx_cv_func__isnan_use=no
9213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9214 ac_ext=c
9215 ac_cpp='$CPP $CPPFLAGS'
9216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9224 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9225 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9227 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9229 for ac_func in _isnan
9231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9232 echo "$as_me:$LINENO: checking for $ac_func" >&5
9233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9234 if eval "test \"\${$as_ac_var+set}\" = set"; then
9235 echo $ECHO_N "(cached) $ECHO_C" >&6
9236 else
9237 if test x$gcc_no_link = xyes; then
9238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9240 { (exit 1); exit 1; }; }
9242 cat >conftest.$ac_ext <<_ACEOF
9243 /* confdefs.h. */
9244 _ACEOF
9245 cat confdefs.h >>conftest.$ac_ext
9246 cat >>conftest.$ac_ext <<_ACEOF
9247 /* end confdefs.h. */
9248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9250 #define $ac_func innocuous_$ac_func
9252 /* System header to define __stub macros and hopefully few prototypes,
9253 which can conflict with char $ac_func (); below.
9254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9255 <limits.h> exists even on freestanding compilers. */
9257 #ifdef __STDC__
9258 # include <limits.h>
9259 #else
9260 # include <assert.h>
9261 #endif
9263 #undef $ac_func
9265 /* Override any gcc2 internal prototype to avoid an error. */
9266 #ifdef __cplusplus
9267 extern "C"
9269 #endif
9270 /* We use char because int might match the return type of a gcc2
9271 builtin and then its argument prototype would still apply. */
9272 char $ac_func ();
9273 /* The GNU C library defines this for functions which it implements
9274 to always fail with ENOSYS. Some functions are actually named
9275 something starting with __ and the normal name is an alias. */
9276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9277 choke me
9278 #else
9279 char (*f) () = $ac_func;
9280 #endif
9281 #ifdef __cplusplus
9283 #endif
9286 main ()
9288 return f != $ac_func;
9290 return 0;
9292 _ACEOF
9293 rm -f conftest.$ac_objext conftest$ac_exeext
9294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9295 (eval $ac_link) 2>conftest.er1
9296 ac_status=$?
9297 grep -v '^ *+' conftest.er1 >conftest.err
9298 rm -f conftest.er1
9299 cat conftest.err >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); } &&
9302 { ac_try='test -z "$ac_c_werror_flag"
9303 || test ! -s conftest.err'
9304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9305 (eval $ac_try) 2>&5
9306 ac_status=$?
9307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9308 (exit $ac_status); }; } &&
9309 { ac_try='test -s conftest$ac_exeext'
9310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9311 (eval $ac_try) 2>&5
9312 ac_status=$?
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 (exit $ac_status); }; }; then
9315 eval "$as_ac_var=yes"
9316 else
9317 echo "$as_me: failed program was:" >&5
9318 sed 's/^/| /' conftest.$ac_ext >&5
9320 eval "$as_ac_var=no"
9322 rm -f conftest.err conftest.$ac_objext \
9323 conftest$ac_exeext conftest.$ac_ext
9325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9327 if test `eval echo '${'$as_ac_var'}'` = yes; then
9328 cat >>confdefs.h <<_ACEOF
9329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9330 _ACEOF
9333 done
9343 echo "$as_me:$LINENO: checking for finite declaration" >&5
9344 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9345 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9346 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9347 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 else
9352 ac_ext=cc
9353 ac_cpp='$CXXCPP $CPPFLAGS'
9354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9358 cat >conftest.$ac_ext <<_ACEOF
9359 /* confdefs.h. */
9360 _ACEOF
9361 cat confdefs.h >>conftest.$ac_ext
9362 cat >>conftest.$ac_ext <<_ACEOF
9363 /* end confdefs.h. */
9364 #include <math.h>
9365 #ifdef HAVE_IEEEFP_H
9366 #include <ieeefp.h>
9367 #endif
9370 main ()
9372 finite(0);
9374 return 0;
9376 _ACEOF
9377 rm -f conftest.$ac_objext
9378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9379 (eval $ac_compile) 2>conftest.er1
9380 ac_status=$?
9381 grep -v '^ *+' conftest.er1 >conftest.err
9382 rm -f conftest.er1
9383 cat conftest.err >&5
9384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9385 (exit $ac_status); } &&
9386 { ac_try='test -z "$ac_cxx_werror_flag"
9387 || test ! -s conftest.err'
9388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9389 (eval $ac_try) 2>&5
9390 ac_status=$?
9391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9392 (exit $ac_status); }; } &&
9393 { ac_try='test -s conftest.$ac_objext'
9394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395 (eval $ac_try) 2>&5
9396 ac_status=$?
9397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 (exit $ac_status); }; }; then
9399 glibcxx_cv_func_finite_use=yes
9400 else
9401 echo "$as_me: failed program was:" >&5
9402 sed 's/^/| /' conftest.$ac_ext >&5
9404 glibcxx_cv_func_finite_use=no
9406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9407 ac_ext=c
9408 ac_cpp='$CPP $CPPFLAGS'
9409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9417 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9418 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9420 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9422 for ac_func in finite
9424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9425 echo "$as_me:$LINENO: checking for $ac_func" >&5
9426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9427 if eval "test \"\${$as_ac_var+set}\" = set"; then
9428 echo $ECHO_N "(cached) $ECHO_C" >&6
9429 else
9430 if test x$gcc_no_link = xyes; then
9431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9433 { (exit 1); exit 1; }; }
9435 cat >conftest.$ac_ext <<_ACEOF
9436 /* confdefs.h. */
9437 _ACEOF
9438 cat confdefs.h >>conftest.$ac_ext
9439 cat >>conftest.$ac_ext <<_ACEOF
9440 /* end confdefs.h. */
9441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9443 #define $ac_func innocuous_$ac_func
9445 /* System header to define __stub macros and hopefully few prototypes,
9446 which can conflict with char $ac_func (); below.
9447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9448 <limits.h> exists even on freestanding compilers. */
9450 #ifdef __STDC__
9451 # include <limits.h>
9452 #else
9453 # include <assert.h>
9454 #endif
9456 #undef $ac_func
9458 /* Override any gcc2 internal prototype to avoid an error. */
9459 #ifdef __cplusplus
9460 extern "C"
9462 #endif
9463 /* We use char because int might match the return type of a gcc2
9464 builtin and then its argument prototype would still apply. */
9465 char $ac_func ();
9466 /* The GNU C library defines this for functions which it implements
9467 to always fail with ENOSYS. Some functions are actually named
9468 something starting with __ and the normal name is an alias. */
9469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9470 choke me
9471 #else
9472 char (*f) () = $ac_func;
9473 #endif
9474 #ifdef __cplusplus
9476 #endif
9479 main ()
9481 return f != $ac_func;
9483 return 0;
9485 _ACEOF
9486 rm -f conftest.$ac_objext conftest$ac_exeext
9487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9488 (eval $ac_link) 2>conftest.er1
9489 ac_status=$?
9490 grep -v '^ *+' conftest.er1 >conftest.err
9491 rm -f conftest.er1
9492 cat conftest.err >&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); } &&
9495 { ac_try='test -z "$ac_c_werror_flag"
9496 || test ! -s conftest.err'
9497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9498 (eval $ac_try) 2>&5
9499 ac_status=$?
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); }; } &&
9502 { ac_try='test -s conftest$ac_exeext'
9503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9504 (eval $ac_try) 2>&5
9505 ac_status=$?
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }; }; then
9508 eval "$as_ac_var=yes"
9509 else
9510 echo "$as_me: failed program was:" >&5
9511 sed 's/^/| /' conftest.$ac_ext >&5
9513 eval "$as_ac_var=no"
9515 rm -f conftest.err conftest.$ac_objext \
9516 conftest$ac_exeext conftest.$ac_ext
9518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9520 if test `eval echo '${'$as_ac_var'}'` = yes; then
9521 cat >>confdefs.h <<_ACEOF
9522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9523 _ACEOF
9526 done
9528 else
9530 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9531 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9532 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9533 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9534 echo $ECHO_N "(cached) $ECHO_C" >&6
9535 else
9539 ac_ext=cc
9540 ac_cpp='$CXXCPP $CPPFLAGS'
9541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9545 cat >conftest.$ac_ext <<_ACEOF
9546 /* confdefs.h. */
9547 _ACEOF
9548 cat confdefs.h >>conftest.$ac_ext
9549 cat >>conftest.$ac_ext <<_ACEOF
9550 /* end confdefs.h. */
9551 #include <math.h>
9552 #ifdef HAVE_IEEEFP_H
9553 #include <ieeefp.h>
9554 #endif
9557 main ()
9559 _finite(0);
9561 return 0;
9563 _ACEOF
9564 rm -f conftest.$ac_objext
9565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9566 (eval $ac_compile) 2>conftest.er1
9567 ac_status=$?
9568 grep -v '^ *+' conftest.er1 >conftest.err
9569 rm -f conftest.er1
9570 cat conftest.err >&5
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); } &&
9573 { ac_try='test -z "$ac_cxx_werror_flag"
9574 || test ! -s conftest.err'
9575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9576 (eval $ac_try) 2>&5
9577 ac_status=$?
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); }; } &&
9580 { ac_try='test -s conftest.$ac_objext'
9581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9582 (eval $ac_try) 2>&5
9583 ac_status=$?
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); }; }; then
9586 glibcxx_cv_func__finite_use=yes
9587 else
9588 echo "$as_me: failed program was:" >&5
9589 sed 's/^/| /' conftest.$ac_ext >&5
9591 glibcxx_cv_func__finite_use=no
9593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9594 ac_ext=c
9595 ac_cpp='$CPP $CPPFLAGS'
9596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9604 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9605 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9607 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9609 for ac_func in _finite
9611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9612 echo "$as_me:$LINENO: checking for $ac_func" >&5
9613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9614 if eval "test \"\${$as_ac_var+set}\" = set"; then
9615 echo $ECHO_N "(cached) $ECHO_C" >&6
9616 else
9617 if test x$gcc_no_link = xyes; then
9618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9620 { (exit 1); exit 1; }; }
9622 cat >conftest.$ac_ext <<_ACEOF
9623 /* confdefs.h. */
9624 _ACEOF
9625 cat confdefs.h >>conftest.$ac_ext
9626 cat >>conftest.$ac_ext <<_ACEOF
9627 /* end confdefs.h. */
9628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9630 #define $ac_func innocuous_$ac_func
9632 /* System header to define __stub macros and hopefully few prototypes,
9633 which can conflict with char $ac_func (); below.
9634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9635 <limits.h> exists even on freestanding compilers. */
9637 #ifdef __STDC__
9638 # include <limits.h>
9639 #else
9640 # include <assert.h>
9641 #endif
9643 #undef $ac_func
9645 /* Override any gcc2 internal prototype to avoid an error. */
9646 #ifdef __cplusplus
9647 extern "C"
9649 #endif
9650 /* We use char because int might match the return type of a gcc2
9651 builtin and then its argument prototype would still apply. */
9652 char $ac_func ();
9653 /* The GNU C library defines this for functions which it implements
9654 to always fail with ENOSYS. Some functions are actually named
9655 something starting with __ and the normal name is an alias. */
9656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9657 choke me
9658 #else
9659 char (*f) () = $ac_func;
9660 #endif
9661 #ifdef __cplusplus
9663 #endif
9666 main ()
9668 return f != $ac_func;
9670 return 0;
9672 _ACEOF
9673 rm -f conftest.$ac_objext conftest$ac_exeext
9674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9675 (eval $ac_link) 2>conftest.er1
9676 ac_status=$?
9677 grep -v '^ *+' conftest.er1 >conftest.err
9678 rm -f conftest.er1
9679 cat conftest.err >&5
9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); } &&
9682 { ac_try='test -z "$ac_c_werror_flag"
9683 || test ! -s conftest.err'
9684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9685 (eval $ac_try) 2>&5
9686 ac_status=$?
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); }; } &&
9689 { ac_try='test -s conftest$ac_exeext'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 (eval $ac_try) 2>&5
9692 ac_status=$?
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; }; then
9695 eval "$as_ac_var=yes"
9696 else
9697 echo "$as_me: failed program was:" >&5
9698 sed 's/^/| /' conftest.$ac_ext >&5
9700 eval "$as_ac_var=no"
9702 rm -f conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9707 if test `eval echo '${'$as_ac_var'}'` = yes; then
9708 cat >>confdefs.h <<_ACEOF
9709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9710 _ACEOF
9713 done
9723 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9724 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9725 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9726 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9727 echo $ECHO_N "(cached) $ECHO_C" >&6
9728 else
9732 ac_ext=cc
9733 ac_cpp='$CXXCPP $CPPFLAGS'
9734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9738 cat >conftest.$ac_ext <<_ACEOF
9739 /* confdefs.h. */
9740 _ACEOF
9741 cat confdefs.h >>conftest.$ac_ext
9742 cat >>conftest.$ac_ext <<_ACEOF
9743 /* end confdefs.h. */
9744 #include <math.h>
9746 main ()
9748 copysign(0, 0);
9750 return 0;
9752 _ACEOF
9753 rm -f conftest.$ac_objext
9754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9755 (eval $ac_compile) 2>conftest.er1
9756 ac_status=$?
9757 grep -v '^ *+' conftest.er1 >conftest.err
9758 rm -f conftest.er1
9759 cat conftest.err >&5
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); } &&
9762 { ac_try='test -z "$ac_cxx_werror_flag"
9763 || test ! -s conftest.err'
9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9765 (eval $ac_try) 2>&5
9766 ac_status=$?
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); }; } &&
9769 { ac_try='test -s conftest.$ac_objext'
9770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9771 (eval $ac_try) 2>&5
9772 ac_status=$?
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); }; }; then
9775 glibcxx_cv_func_copysign_use=yes
9776 else
9777 echo "$as_me: failed program was:" >&5
9778 sed 's/^/| /' conftest.$ac_ext >&5
9780 glibcxx_cv_func_copysign_use=no
9782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9783 ac_ext=c
9784 ac_cpp='$CPP $CPPFLAGS'
9785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9793 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9794 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9796 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9798 for ac_func in copysign
9800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9801 echo "$as_me:$LINENO: checking for $ac_func" >&5
9802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9803 if eval "test \"\${$as_ac_var+set}\" = set"; then
9804 echo $ECHO_N "(cached) $ECHO_C" >&6
9805 else
9806 if test x$gcc_no_link = xyes; then
9807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9809 { (exit 1); exit 1; }; }
9811 cat >conftest.$ac_ext <<_ACEOF
9812 /* confdefs.h. */
9813 _ACEOF
9814 cat confdefs.h >>conftest.$ac_ext
9815 cat >>conftest.$ac_ext <<_ACEOF
9816 /* end confdefs.h. */
9817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9819 #define $ac_func innocuous_$ac_func
9821 /* System header to define __stub macros and hopefully few prototypes,
9822 which can conflict with char $ac_func (); below.
9823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9824 <limits.h> exists even on freestanding compilers. */
9826 #ifdef __STDC__
9827 # include <limits.h>
9828 #else
9829 # include <assert.h>
9830 #endif
9832 #undef $ac_func
9834 /* Override any gcc2 internal prototype to avoid an error. */
9835 #ifdef __cplusplus
9836 extern "C"
9838 #endif
9839 /* We use char because int might match the return type of a gcc2
9840 builtin and then its argument prototype would still apply. */
9841 char $ac_func ();
9842 /* The GNU C library defines this for functions which it implements
9843 to always fail with ENOSYS. Some functions are actually named
9844 something starting with __ and the normal name is an alias. */
9845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9846 choke me
9847 #else
9848 char (*f) () = $ac_func;
9849 #endif
9850 #ifdef __cplusplus
9852 #endif
9855 main ()
9857 return f != $ac_func;
9859 return 0;
9861 _ACEOF
9862 rm -f conftest.$ac_objext conftest$ac_exeext
9863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9864 (eval $ac_link) 2>conftest.er1
9865 ac_status=$?
9866 grep -v '^ *+' conftest.er1 >conftest.err
9867 rm -f conftest.er1
9868 cat conftest.err >&5
9869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 (exit $ac_status); } &&
9871 { ac_try='test -z "$ac_c_werror_flag"
9872 || test ! -s conftest.err'
9873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9874 (eval $ac_try) 2>&5
9875 ac_status=$?
9876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9877 (exit $ac_status); }; } &&
9878 { ac_try='test -s conftest$ac_exeext'
9879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9880 (eval $ac_try) 2>&5
9881 ac_status=$?
9882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 (exit $ac_status); }; }; then
9884 eval "$as_ac_var=yes"
9885 else
9886 echo "$as_me: failed program was:" >&5
9887 sed 's/^/| /' conftest.$ac_ext >&5
9889 eval "$as_ac_var=no"
9891 rm -f conftest.err conftest.$ac_objext \
9892 conftest$ac_exeext conftest.$ac_ext
9894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9896 if test `eval echo '${'$as_ac_var'}'` = yes; then
9897 cat >>confdefs.h <<_ACEOF
9898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9899 _ACEOF
9902 done
9904 else
9906 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9907 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9908 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9909 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9910 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 else
9915 ac_ext=cc
9916 ac_cpp='$CXXCPP $CPPFLAGS'
9917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9921 cat >conftest.$ac_ext <<_ACEOF
9922 /* confdefs.h. */
9923 _ACEOF
9924 cat confdefs.h >>conftest.$ac_ext
9925 cat >>conftest.$ac_ext <<_ACEOF
9926 /* end confdefs.h. */
9927 #include <math.h>
9929 main ()
9931 _copysign(0, 0);
9933 return 0;
9935 _ACEOF
9936 rm -f conftest.$ac_objext
9937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9938 (eval $ac_compile) 2>conftest.er1
9939 ac_status=$?
9940 grep -v '^ *+' conftest.er1 >conftest.err
9941 rm -f conftest.er1
9942 cat conftest.err >&5
9943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9944 (exit $ac_status); } &&
9945 { ac_try='test -z "$ac_cxx_werror_flag"
9946 || test ! -s conftest.err'
9947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9948 (eval $ac_try) 2>&5
9949 ac_status=$?
9950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9951 (exit $ac_status); }; } &&
9952 { ac_try='test -s conftest.$ac_objext'
9953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9954 (eval $ac_try) 2>&5
9955 ac_status=$?
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); }; }; then
9958 glibcxx_cv_func__copysign_use=yes
9959 else
9960 echo "$as_me: failed program was:" >&5
9961 sed 's/^/| /' conftest.$ac_ext >&5
9963 glibcxx_cv_func__copysign_use=no
9965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9966 ac_ext=c
9967 ac_cpp='$CPP $CPPFLAGS'
9968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9976 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9977 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9979 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9981 for ac_func in _copysign
9983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9984 echo "$as_me:$LINENO: checking for $ac_func" >&5
9985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9986 if eval "test \"\${$as_ac_var+set}\" = set"; then
9987 echo $ECHO_N "(cached) $ECHO_C" >&6
9988 else
9989 if test x$gcc_no_link = xyes; then
9990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9992 { (exit 1); exit 1; }; }
9994 cat >conftest.$ac_ext <<_ACEOF
9995 /* confdefs.h. */
9996 _ACEOF
9997 cat confdefs.h >>conftest.$ac_ext
9998 cat >>conftest.$ac_ext <<_ACEOF
9999 /* end confdefs.h. */
10000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10002 #define $ac_func innocuous_$ac_func
10004 /* System header to define __stub macros and hopefully few prototypes,
10005 which can conflict with char $ac_func (); below.
10006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10007 <limits.h> exists even on freestanding compilers. */
10009 #ifdef __STDC__
10010 # include <limits.h>
10011 #else
10012 # include <assert.h>
10013 #endif
10015 #undef $ac_func
10017 /* Override any gcc2 internal prototype to avoid an error. */
10018 #ifdef __cplusplus
10019 extern "C"
10021 #endif
10022 /* We use char because int might match the return type of a gcc2
10023 builtin and then its argument prototype would still apply. */
10024 char $ac_func ();
10025 /* The GNU C library defines this for functions which it implements
10026 to always fail with ENOSYS. Some functions are actually named
10027 something starting with __ and the normal name is an alias. */
10028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10029 choke me
10030 #else
10031 char (*f) () = $ac_func;
10032 #endif
10033 #ifdef __cplusplus
10035 #endif
10038 main ()
10040 return f != $ac_func;
10042 return 0;
10044 _ACEOF
10045 rm -f conftest.$ac_objext conftest$ac_exeext
10046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10047 (eval $ac_link) 2>conftest.er1
10048 ac_status=$?
10049 grep -v '^ *+' conftest.er1 >conftest.err
10050 rm -f conftest.er1
10051 cat conftest.err >&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 (exit $ac_status); } &&
10054 { ac_try='test -z "$ac_c_werror_flag"
10055 || test ! -s conftest.err'
10056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5
10058 ac_status=$?
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; } &&
10061 { ac_try='test -s conftest$ac_exeext'
10062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10063 (eval $ac_try) 2>&5
10064 ac_status=$?
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); }; }; then
10067 eval "$as_ac_var=yes"
10068 else
10069 echo "$as_me: failed program was:" >&5
10070 sed 's/^/| /' conftest.$ac_ext >&5
10072 eval "$as_ac_var=no"
10074 rm -f conftest.err conftest.$ac_objext \
10075 conftest$ac_exeext conftest.$ac_ext
10077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10079 if test `eval echo '${'$as_ac_var'}'` = yes; then
10080 cat >>confdefs.h <<_ACEOF
10081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10082 _ACEOF
10085 done
10095 echo "$as_me:$LINENO: checking for sincos declaration" >&5
10096 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10097 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10098 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10099 echo $ECHO_N "(cached) $ECHO_C" >&6
10100 else
10104 ac_ext=cc
10105 ac_cpp='$CXXCPP $CPPFLAGS'
10106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10110 cat >conftest.$ac_ext <<_ACEOF
10111 /* confdefs.h. */
10112 _ACEOF
10113 cat confdefs.h >>conftest.$ac_ext
10114 cat >>conftest.$ac_ext <<_ACEOF
10115 /* end confdefs.h. */
10116 #include <math.h>
10118 main ()
10120 sincos(0, 0, 0);
10122 return 0;
10124 _ACEOF
10125 rm -f conftest.$ac_objext
10126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10127 (eval $ac_compile) 2>conftest.er1
10128 ac_status=$?
10129 grep -v '^ *+' conftest.er1 >conftest.err
10130 rm -f conftest.er1
10131 cat conftest.err >&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); } &&
10134 { ac_try='test -z "$ac_cxx_werror_flag"
10135 || test ! -s conftest.err'
10136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10137 (eval $ac_try) 2>&5
10138 ac_status=$?
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); }; } &&
10141 { ac_try='test -s conftest.$ac_objext'
10142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10143 (eval $ac_try) 2>&5
10144 ac_status=$?
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }; }; then
10147 glibcxx_cv_func_sincos_use=yes
10148 else
10149 echo "$as_me: failed program was:" >&5
10150 sed 's/^/| /' conftest.$ac_ext >&5
10152 glibcxx_cv_func_sincos_use=no
10154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10155 ac_ext=c
10156 ac_cpp='$CPP $CPPFLAGS'
10157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10165 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10166 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10168 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10170 for ac_func in sincos
10172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10173 echo "$as_me:$LINENO: checking for $ac_func" >&5
10174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10175 if eval "test \"\${$as_ac_var+set}\" = set"; then
10176 echo $ECHO_N "(cached) $ECHO_C" >&6
10177 else
10178 if test x$gcc_no_link = xyes; then
10179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10181 { (exit 1); exit 1; }; }
10183 cat >conftest.$ac_ext <<_ACEOF
10184 /* confdefs.h. */
10185 _ACEOF
10186 cat confdefs.h >>conftest.$ac_ext
10187 cat >>conftest.$ac_ext <<_ACEOF
10188 /* end confdefs.h. */
10189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10191 #define $ac_func innocuous_$ac_func
10193 /* System header to define __stub macros and hopefully few prototypes,
10194 which can conflict with char $ac_func (); below.
10195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10196 <limits.h> exists even on freestanding compilers. */
10198 #ifdef __STDC__
10199 # include <limits.h>
10200 #else
10201 # include <assert.h>
10202 #endif
10204 #undef $ac_func
10206 /* Override any gcc2 internal prototype to avoid an error. */
10207 #ifdef __cplusplus
10208 extern "C"
10210 #endif
10211 /* We use char because int might match the return type of a gcc2
10212 builtin and then its argument prototype would still apply. */
10213 char $ac_func ();
10214 /* The GNU C library defines this for functions which it implements
10215 to always fail with ENOSYS. Some functions are actually named
10216 something starting with __ and the normal name is an alias. */
10217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10218 choke me
10219 #else
10220 char (*f) () = $ac_func;
10221 #endif
10222 #ifdef __cplusplus
10224 #endif
10227 main ()
10229 return f != $ac_func;
10231 return 0;
10233 _ACEOF
10234 rm -f conftest.$ac_objext conftest$ac_exeext
10235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10236 (eval $ac_link) 2>conftest.er1
10237 ac_status=$?
10238 grep -v '^ *+' conftest.er1 >conftest.err
10239 rm -f conftest.er1
10240 cat conftest.err >&5
10241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10242 (exit $ac_status); } &&
10243 { ac_try='test -z "$ac_c_werror_flag"
10244 || test ! -s conftest.err'
10245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10246 (eval $ac_try) 2>&5
10247 ac_status=$?
10248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10249 (exit $ac_status); }; } &&
10250 { ac_try='test -s conftest$ac_exeext'
10251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10252 (eval $ac_try) 2>&5
10253 ac_status=$?
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); }; }; then
10256 eval "$as_ac_var=yes"
10257 else
10258 echo "$as_me: failed program was:" >&5
10259 sed 's/^/| /' conftest.$ac_ext >&5
10261 eval "$as_ac_var=no"
10263 rm -f conftest.err conftest.$ac_objext \
10264 conftest$ac_exeext conftest.$ac_ext
10266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10268 if test `eval echo '${'$as_ac_var'}'` = yes; then
10269 cat >>confdefs.h <<_ACEOF
10270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10271 _ACEOF
10274 done
10276 else
10278 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10279 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10280 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10281 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10282 echo $ECHO_N "(cached) $ECHO_C" >&6
10283 else
10287 ac_ext=cc
10288 ac_cpp='$CXXCPP $CPPFLAGS'
10289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10293 cat >conftest.$ac_ext <<_ACEOF
10294 /* confdefs.h. */
10295 _ACEOF
10296 cat confdefs.h >>conftest.$ac_ext
10297 cat >>conftest.$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10299 #include <math.h>
10301 main ()
10303 _sincos(0, 0, 0);
10305 return 0;
10307 _ACEOF
10308 rm -f conftest.$ac_objext
10309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10310 (eval $ac_compile) 2>conftest.er1
10311 ac_status=$?
10312 grep -v '^ *+' conftest.er1 >conftest.err
10313 rm -f conftest.er1
10314 cat conftest.err >&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); } &&
10317 { ac_try='test -z "$ac_cxx_werror_flag"
10318 || test ! -s conftest.err'
10319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320 (eval $ac_try) 2>&5
10321 ac_status=$?
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; } &&
10324 { ac_try='test -s conftest.$ac_objext'
10325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326 (eval $ac_try) 2>&5
10327 ac_status=$?
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); }; }; then
10330 glibcxx_cv_func__sincos_use=yes
10331 else
10332 echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10335 glibcxx_cv_func__sincos_use=no
10337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10338 ac_ext=c
10339 ac_cpp='$CPP $CPPFLAGS'
10340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10348 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10349 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10351 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10353 for ac_func in _sincos
10355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10356 echo "$as_me:$LINENO: checking for $ac_func" >&5
10357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10358 if eval "test \"\${$as_ac_var+set}\" = set"; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10360 else
10361 if test x$gcc_no_link = xyes; then
10362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10364 { (exit 1); exit 1; }; }
10366 cat >conftest.$ac_ext <<_ACEOF
10367 /* confdefs.h. */
10368 _ACEOF
10369 cat confdefs.h >>conftest.$ac_ext
10370 cat >>conftest.$ac_ext <<_ACEOF
10371 /* end confdefs.h. */
10372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10374 #define $ac_func innocuous_$ac_func
10376 /* System header to define __stub macros and hopefully few prototypes,
10377 which can conflict with char $ac_func (); below.
10378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10379 <limits.h> exists even on freestanding compilers. */
10381 #ifdef __STDC__
10382 # include <limits.h>
10383 #else
10384 # include <assert.h>
10385 #endif
10387 #undef $ac_func
10389 /* Override any gcc2 internal prototype to avoid an error. */
10390 #ifdef __cplusplus
10391 extern "C"
10393 #endif
10394 /* We use char because int might match the return type of a gcc2
10395 builtin and then its argument prototype would still apply. */
10396 char $ac_func ();
10397 /* The GNU C library defines this for functions which it implements
10398 to always fail with ENOSYS. Some functions are actually named
10399 something starting with __ and the normal name is an alias. */
10400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10401 choke me
10402 #else
10403 char (*f) () = $ac_func;
10404 #endif
10405 #ifdef __cplusplus
10407 #endif
10410 main ()
10412 return f != $ac_func;
10414 return 0;
10416 _ACEOF
10417 rm -f conftest.$ac_objext conftest$ac_exeext
10418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10419 (eval $ac_link) 2>conftest.er1
10420 ac_status=$?
10421 grep -v '^ *+' conftest.er1 >conftest.err
10422 rm -f conftest.er1
10423 cat conftest.err >&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); } &&
10426 { ac_try='test -z "$ac_c_werror_flag"
10427 || test ! -s conftest.err'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5
10430 ac_status=$?
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; } &&
10433 { ac_try='test -s conftest$ac_exeext'
10434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10435 (eval $ac_try) 2>&5
10436 ac_status=$?
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); }; }; then
10439 eval "$as_ac_var=yes"
10440 else
10441 echo "$as_me: failed program was:" >&5
10442 sed 's/^/| /' conftest.$ac_ext >&5
10444 eval "$as_ac_var=no"
10446 rm -f conftest.err conftest.$ac_objext \
10447 conftest$ac_exeext conftest.$ac_ext
10449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10451 if test `eval echo '${'$as_ac_var'}'` = yes; then
10452 cat >>confdefs.h <<_ACEOF
10453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10454 _ACEOF
10457 done
10467 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10468 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10469 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10470 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10471 echo $ECHO_N "(cached) $ECHO_C" >&6
10472 else
10476 ac_ext=cc
10477 ac_cpp='$CXXCPP $CPPFLAGS'
10478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10482 cat >conftest.$ac_ext <<_ACEOF
10483 /* confdefs.h. */
10484 _ACEOF
10485 cat confdefs.h >>conftest.$ac_ext
10486 cat >>conftest.$ac_ext <<_ACEOF
10487 /* end confdefs.h. */
10488 #include <math.h>
10489 #ifdef HAVE_IEEEFP_H
10490 #include <ieeefp.h>
10491 #endif
10494 main ()
10496 fpclass(0);
10498 return 0;
10500 _ACEOF
10501 rm -f conftest.$ac_objext
10502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10503 (eval $ac_compile) 2>conftest.er1
10504 ac_status=$?
10505 grep -v '^ *+' conftest.er1 >conftest.err
10506 rm -f conftest.er1
10507 cat conftest.err >&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try='test -z "$ac_cxx_werror_flag"
10511 || test ! -s conftest.err'
10512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10513 (eval $ac_try) 2>&5
10514 ac_status=$?
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; } &&
10517 { ac_try='test -s conftest.$ac_objext'
10518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10519 (eval $ac_try) 2>&5
10520 ac_status=$?
10521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522 (exit $ac_status); }; }; then
10523 glibcxx_cv_func_fpclass_use=yes
10524 else
10525 echo "$as_me: failed program was:" >&5
10526 sed 's/^/| /' conftest.$ac_ext >&5
10528 glibcxx_cv_func_fpclass_use=no
10530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10531 ac_ext=c
10532 ac_cpp='$CPP $CPPFLAGS'
10533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10541 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10542 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10544 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10546 for ac_func in fpclass
10548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10549 echo "$as_me:$LINENO: checking for $ac_func" >&5
10550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10551 if eval "test \"\${$as_ac_var+set}\" = set"; then
10552 echo $ECHO_N "(cached) $ECHO_C" >&6
10553 else
10554 if test x$gcc_no_link = xyes; then
10555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10557 { (exit 1); exit 1; }; }
10559 cat >conftest.$ac_ext <<_ACEOF
10560 /* confdefs.h. */
10561 _ACEOF
10562 cat confdefs.h >>conftest.$ac_ext
10563 cat >>conftest.$ac_ext <<_ACEOF
10564 /* end confdefs.h. */
10565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10567 #define $ac_func innocuous_$ac_func
10569 /* System header to define __stub macros and hopefully few prototypes,
10570 which can conflict with char $ac_func (); below.
10571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10572 <limits.h> exists even on freestanding compilers. */
10574 #ifdef __STDC__
10575 # include <limits.h>
10576 #else
10577 # include <assert.h>
10578 #endif
10580 #undef $ac_func
10582 /* Override any gcc2 internal prototype to avoid an error. */
10583 #ifdef __cplusplus
10584 extern "C"
10586 #endif
10587 /* We use char because int might match the return type of a gcc2
10588 builtin and then its argument prototype would still apply. */
10589 char $ac_func ();
10590 /* The GNU C library defines this for functions which it implements
10591 to always fail with ENOSYS. Some functions are actually named
10592 something starting with __ and the normal name is an alias. */
10593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10594 choke me
10595 #else
10596 char (*f) () = $ac_func;
10597 #endif
10598 #ifdef __cplusplus
10600 #endif
10603 main ()
10605 return f != $ac_func;
10607 return 0;
10609 _ACEOF
10610 rm -f conftest.$ac_objext conftest$ac_exeext
10611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10612 (eval $ac_link) 2>conftest.er1
10613 ac_status=$?
10614 grep -v '^ *+' conftest.er1 >conftest.err
10615 rm -f conftest.er1
10616 cat conftest.err >&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); } &&
10619 { ac_try='test -z "$ac_c_werror_flag"
10620 || test ! -s conftest.err'
10621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10622 (eval $ac_try) 2>&5
10623 ac_status=$?
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625 (exit $ac_status); }; } &&
10626 { ac_try='test -s conftest$ac_exeext'
10627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10628 (eval $ac_try) 2>&5
10629 ac_status=$?
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); }; }; then
10632 eval "$as_ac_var=yes"
10633 else
10634 echo "$as_me: failed program was:" >&5
10635 sed 's/^/| /' conftest.$ac_ext >&5
10637 eval "$as_ac_var=no"
10639 rm -f conftest.err conftest.$ac_objext \
10640 conftest$ac_exeext conftest.$ac_ext
10642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10644 if test `eval echo '${'$as_ac_var'}'` = yes; then
10645 cat >>confdefs.h <<_ACEOF
10646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10647 _ACEOF
10650 done
10652 else
10654 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10655 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10656 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10657 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10658 echo $ECHO_N "(cached) $ECHO_C" >&6
10659 else
10663 ac_ext=cc
10664 ac_cpp='$CXXCPP $CPPFLAGS'
10665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10669 cat >conftest.$ac_ext <<_ACEOF
10670 /* confdefs.h. */
10671 _ACEOF
10672 cat confdefs.h >>conftest.$ac_ext
10673 cat >>conftest.$ac_ext <<_ACEOF
10674 /* end confdefs.h. */
10675 #include <math.h>
10676 #ifdef HAVE_IEEEFP_H
10677 #include <ieeefp.h>
10678 #endif
10681 main ()
10683 _fpclass(0);
10685 return 0;
10687 _ACEOF
10688 rm -f conftest.$ac_objext
10689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10690 (eval $ac_compile) 2>conftest.er1
10691 ac_status=$?
10692 grep -v '^ *+' conftest.er1 >conftest.err
10693 rm -f conftest.er1
10694 cat conftest.err >&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); } &&
10697 { ac_try='test -z "$ac_cxx_werror_flag"
10698 || test ! -s conftest.err'
10699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10700 (eval $ac_try) 2>&5
10701 ac_status=$?
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); }; } &&
10704 { ac_try='test -s conftest.$ac_objext'
10705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10706 (eval $ac_try) 2>&5
10707 ac_status=$?
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); }; }; then
10710 glibcxx_cv_func__fpclass_use=yes
10711 else
10712 echo "$as_me: failed program was:" >&5
10713 sed 's/^/| /' conftest.$ac_ext >&5
10715 glibcxx_cv_func__fpclass_use=no
10717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10718 ac_ext=c
10719 ac_cpp='$CPP $CPPFLAGS'
10720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10728 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10729 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10731 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10733 for ac_func in _fpclass
10735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10736 echo "$as_me:$LINENO: checking for $ac_func" >&5
10737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10738 if eval "test \"\${$as_ac_var+set}\" = set"; then
10739 echo $ECHO_N "(cached) $ECHO_C" >&6
10740 else
10741 if test x$gcc_no_link = xyes; then
10742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10744 { (exit 1); exit 1; }; }
10746 cat >conftest.$ac_ext <<_ACEOF
10747 /* confdefs.h. */
10748 _ACEOF
10749 cat confdefs.h >>conftest.$ac_ext
10750 cat >>conftest.$ac_ext <<_ACEOF
10751 /* end confdefs.h. */
10752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10754 #define $ac_func innocuous_$ac_func
10756 /* System header to define __stub macros and hopefully few prototypes,
10757 which can conflict with char $ac_func (); below.
10758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10759 <limits.h> exists even on freestanding compilers. */
10761 #ifdef __STDC__
10762 # include <limits.h>
10763 #else
10764 # include <assert.h>
10765 #endif
10767 #undef $ac_func
10769 /* Override any gcc2 internal prototype to avoid an error. */
10770 #ifdef __cplusplus
10771 extern "C"
10773 #endif
10774 /* We use char because int might match the return type of a gcc2
10775 builtin and then its argument prototype would still apply. */
10776 char $ac_func ();
10777 /* The GNU C library defines this for functions which it implements
10778 to always fail with ENOSYS. Some functions are actually named
10779 something starting with __ and the normal name is an alias. */
10780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10781 choke me
10782 #else
10783 char (*f) () = $ac_func;
10784 #endif
10785 #ifdef __cplusplus
10787 #endif
10790 main ()
10792 return f != $ac_func;
10794 return 0;
10796 _ACEOF
10797 rm -f conftest.$ac_objext conftest$ac_exeext
10798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10799 (eval $ac_link) 2>conftest.er1
10800 ac_status=$?
10801 grep -v '^ *+' conftest.er1 >conftest.err
10802 rm -f conftest.er1
10803 cat conftest.err >&5
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); } &&
10806 { ac_try='test -z "$ac_c_werror_flag"
10807 || test ! -s conftest.err'
10808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10809 (eval $ac_try) 2>&5
10810 ac_status=$?
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); }; } &&
10813 { ac_try='test -s conftest$ac_exeext'
10814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10815 (eval $ac_try) 2>&5
10816 ac_status=$?
10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818 (exit $ac_status); }; }; then
10819 eval "$as_ac_var=yes"
10820 else
10821 echo "$as_me: failed program was:" >&5
10822 sed 's/^/| /' conftest.$ac_ext >&5
10824 eval "$as_ac_var=no"
10826 rm -f conftest.err conftest.$ac_objext \
10827 conftest$ac_exeext conftest.$ac_ext
10829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10831 if test `eval echo '${'$as_ac_var'}'` = yes; then
10832 cat >>confdefs.h <<_ACEOF
10833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10834 _ACEOF
10837 done
10847 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10848 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10849 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10850 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10851 echo $ECHO_N "(cached) $ECHO_C" >&6
10852 else
10856 ac_ext=cc
10857 ac_cpp='$CXXCPP $CPPFLAGS'
10858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10862 cat >conftest.$ac_ext <<_ACEOF
10863 /* confdefs.h. */
10864 _ACEOF
10865 cat confdefs.h >>conftest.$ac_ext
10866 cat >>conftest.$ac_ext <<_ACEOF
10867 /* end confdefs.h. */
10868 #include <math.h>
10869 #ifdef HAVE_IEEEFP_H
10870 #include <ieeefp.h>
10871 #endif
10874 main ()
10876 qfpclass(0);
10878 return 0;
10880 _ACEOF
10881 rm -f conftest.$ac_objext
10882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10883 (eval $ac_compile) 2>conftest.er1
10884 ac_status=$?
10885 grep -v '^ *+' conftest.er1 >conftest.err
10886 rm -f conftest.er1
10887 cat conftest.err >&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); } &&
10890 { ac_try='test -z "$ac_cxx_werror_flag"
10891 || test ! -s conftest.err'
10892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10893 (eval $ac_try) 2>&5
10894 ac_status=$?
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; } &&
10897 { ac_try='test -s conftest.$ac_objext'
10898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10899 (eval $ac_try) 2>&5
10900 ac_status=$?
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); }; }; then
10903 glibcxx_cv_func_qfpclass_use=yes
10904 else
10905 echo "$as_me: failed program was:" >&5
10906 sed 's/^/| /' conftest.$ac_ext >&5
10908 glibcxx_cv_func_qfpclass_use=no
10910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10911 ac_ext=c
10912 ac_cpp='$CPP $CPPFLAGS'
10913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10921 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10922 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10924 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10926 for ac_func in qfpclass
10928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10929 echo "$as_me:$LINENO: checking for $ac_func" >&5
10930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10931 if eval "test \"\${$as_ac_var+set}\" = set"; then
10932 echo $ECHO_N "(cached) $ECHO_C" >&6
10933 else
10934 if test x$gcc_no_link = xyes; then
10935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10937 { (exit 1); exit 1; }; }
10939 cat >conftest.$ac_ext <<_ACEOF
10940 /* confdefs.h. */
10941 _ACEOF
10942 cat confdefs.h >>conftest.$ac_ext
10943 cat >>conftest.$ac_ext <<_ACEOF
10944 /* end confdefs.h. */
10945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10947 #define $ac_func innocuous_$ac_func
10949 /* System header to define __stub macros and hopefully few prototypes,
10950 which can conflict with char $ac_func (); below.
10951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10952 <limits.h> exists even on freestanding compilers. */
10954 #ifdef __STDC__
10955 # include <limits.h>
10956 #else
10957 # include <assert.h>
10958 #endif
10960 #undef $ac_func
10962 /* Override any gcc2 internal prototype to avoid an error. */
10963 #ifdef __cplusplus
10964 extern "C"
10966 #endif
10967 /* We use char because int might match the return type of a gcc2
10968 builtin and then its argument prototype would still apply. */
10969 char $ac_func ();
10970 /* The GNU C library defines this for functions which it implements
10971 to always fail with ENOSYS. Some functions are actually named
10972 something starting with __ and the normal name is an alias. */
10973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10974 choke me
10975 #else
10976 char (*f) () = $ac_func;
10977 #endif
10978 #ifdef __cplusplus
10980 #endif
10983 main ()
10985 return f != $ac_func;
10987 return 0;
10989 _ACEOF
10990 rm -f conftest.$ac_objext conftest$ac_exeext
10991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10992 (eval $ac_link) 2>conftest.er1
10993 ac_status=$?
10994 grep -v '^ *+' conftest.er1 >conftest.err
10995 rm -f conftest.er1
10996 cat conftest.err >&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); } &&
10999 { ac_try='test -z "$ac_c_werror_flag"
11000 || test ! -s conftest.err'
11001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11002 (eval $ac_try) 2>&5
11003 ac_status=$?
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); }; } &&
11006 { ac_try='test -s conftest$ac_exeext'
11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008 (eval $ac_try) 2>&5
11009 ac_status=$?
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }; }; then
11012 eval "$as_ac_var=yes"
11013 else
11014 echo "$as_me: failed program was:" >&5
11015 sed 's/^/| /' conftest.$ac_ext >&5
11017 eval "$as_ac_var=no"
11019 rm -f conftest.err conftest.$ac_objext \
11020 conftest$ac_exeext conftest.$ac_ext
11022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11024 if test `eval echo '${'$as_ac_var'}'` = yes; then
11025 cat >>confdefs.h <<_ACEOF
11026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11027 _ACEOF
11030 done
11032 else
11034 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
11035 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
11036 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
11037 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
11038 echo $ECHO_N "(cached) $ECHO_C" >&6
11039 else
11043 ac_ext=cc
11044 ac_cpp='$CXXCPP $CPPFLAGS'
11045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11049 cat >conftest.$ac_ext <<_ACEOF
11050 /* confdefs.h. */
11051 _ACEOF
11052 cat confdefs.h >>conftest.$ac_ext
11053 cat >>conftest.$ac_ext <<_ACEOF
11054 /* end confdefs.h. */
11055 #include <math.h>
11056 #ifdef HAVE_IEEEFP_H
11057 #include <ieeefp.h>
11058 #endif
11061 main ()
11063 _qfpclass(0);
11065 return 0;
11067 _ACEOF
11068 rm -f conftest.$ac_objext
11069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11070 (eval $ac_compile) 2>conftest.er1
11071 ac_status=$?
11072 grep -v '^ *+' conftest.er1 >conftest.err
11073 rm -f conftest.er1
11074 cat conftest.err >&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); } &&
11077 { ac_try='test -z "$ac_cxx_werror_flag"
11078 || test ! -s conftest.err'
11079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11080 (eval $ac_try) 2>&5
11081 ac_status=$?
11082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11083 (exit $ac_status); }; } &&
11084 { ac_try='test -s conftest.$ac_objext'
11085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11086 (eval $ac_try) 2>&5
11087 ac_status=$?
11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 (exit $ac_status); }; }; then
11090 glibcxx_cv_func__qfpclass_use=yes
11091 else
11092 echo "$as_me: failed program was:" >&5
11093 sed 's/^/| /' conftest.$ac_ext >&5
11095 glibcxx_cv_func__qfpclass_use=no
11097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11098 ac_ext=c
11099 ac_cpp='$CPP $CPPFLAGS'
11100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11108 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11109 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11111 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11113 for ac_func in _qfpclass
11115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11116 echo "$as_me:$LINENO: checking for $ac_func" >&5
11117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11118 if eval "test \"\${$as_ac_var+set}\" = set"; then
11119 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 else
11121 if test x$gcc_no_link = xyes; then
11122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11124 { (exit 1); exit 1; }; }
11126 cat >conftest.$ac_ext <<_ACEOF
11127 /* confdefs.h. */
11128 _ACEOF
11129 cat confdefs.h >>conftest.$ac_ext
11130 cat >>conftest.$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11134 #define $ac_func innocuous_$ac_func
11136 /* System header to define __stub macros and hopefully few prototypes,
11137 which can conflict with char $ac_func (); below.
11138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11139 <limits.h> exists even on freestanding compilers. */
11141 #ifdef __STDC__
11142 # include <limits.h>
11143 #else
11144 # include <assert.h>
11145 #endif
11147 #undef $ac_func
11149 /* Override any gcc2 internal prototype to avoid an error. */
11150 #ifdef __cplusplus
11151 extern "C"
11153 #endif
11154 /* We use char because int might match the return type of a gcc2
11155 builtin and then its argument prototype would still apply. */
11156 char $ac_func ();
11157 /* The GNU C library defines this for functions which it implements
11158 to always fail with ENOSYS. Some functions are actually named
11159 something starting with __ and the normal name is an alias. */
11160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11161 choke me
11162 #else
11163 char (*f) () = $ac_func;
11164 #endif
11165 #ifdef __cplusplus
11167 #endif
11170 main ()
11172 return f != $ac_func;
11174 return 0;
11176 _ACEOF
11177 rm -f conftest.$ac_objext conftest$ac_exeext
11178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11179 (eval $ac_link) 2>conftest.er1
11180 ac_status=$?
11181 grep -v '^ *+' conftest.er1 >conftest.err
11182 rm -f conftest.er1
11183 cat conftest.err >&5
11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); } &&
11186 { ac_try='test -z "$ac_c_werror_flag"
11187 || test ! -s conftest.err'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5
11190 ac_status=$?
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; } &&
11193 { ac_try='test -s conftest$ac_exeext'
11194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11195 (eval $ac_try) 2>&5
11196 ac_status=$?
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); }; }; then
11199 eval "$as_ac_var=yes"
11200 else
11201 echo "$as_me: failed program was:" >&5
11202 sed 's/^/| /' conftest.$ac_ext >&5
11204 eval "$as_ac_var=no"
11206 rm -f conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11211 if test `eval echo '${'$as_ac_var'}'` = yes; then
11212 cat >>confdefs.h <<_ACEOF
11213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11214 _ACEOF
11217 done
11227 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11228 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11229 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11230 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11232 else
11236 ac_ext=cc
11237 ac_cpp='$CXXCPP $CPPFLAGS'
11238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11242 cat >conftest.$ac_ext <<_ACEOF
11243 /* confdefs.h. */
11244 _ACEOF
11245 cat confdefs.h >>conftest.$ac_ext
11246 cat >>conftest.$ac_ext <<_ACEOF
11247 /* end confdefs.h. */
11248 #include <math.h>
11250 main ()
11252 hypot(0, 0);
11254 return 0;
11256 _ACEOF
11257 rm -f conftest.$ac_objext
11258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11259 (eval $ac_compile) 2>conftest.er1
11260 ac_status=$?
11261 grep -v '^ *+' conftest.er1 >conftest.err
11262 rm -f conftest.er1
11263 cat conftest.err >&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); } &&
11266 { ac_try='test -z "$ac_cxx_werror_flag"
11267 || test ! -s conftest.err'
11268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11269 (eval $ac_try) 2>&5
11270 ac_status=$?
11271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); }; } &&
11273 { ac_try='test -s conftest.$ac_objext'
11274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11275 (eval $ac_try) 2>&5
11276 ac_status=$?
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); }; }; then
11279 glibcxx_cv_func_hypot_use=yes
11280 else
11281 echo "$as_me: failed program was:" >&5
11282 sed 's/^/| /' conftest.$ac_ext >&5
11284 glibcxx_cv_func_hypot_use=no
11286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11287 ac_ext=c
11288 ac_cpp='$CPP $CPPFLAGS'
11289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11297 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11298 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11300 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11302 for ac_func in hypot
11304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11305 echo "$as_me:$LINENO: checking for $ac_func" >&5
11306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11307 if eval "test \"\${$as_ac_var+set}\" = set"; then
11308 echo $ECHO_N "(cached) $ECHO_C" >&6
11309 else
11310 if test x$gcc_no_link = xyes; then
11311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11313 { (exit 1); exit 1; }; }
11315 cat >conftest.$ac_ext <<_ACEOF
11316 /* confdefs.h. */
11317 _ACEOF
11318 cat confdefs.h >>conftest.$ac_ext
11319 cat >>conftest.$ac_ext <<_ACEOF
11320 /* end confdefs.h. */
11321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11323 #define $ac_func innocuous_$ac_func
11325 /* System header to define __stub macros and hopefully few prototypes,
11326 which can conflict with char $ac_func (); below.
11327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11328 <limits.h> exists even on freestanding compilers. */
11330 #ifdef __STDC__
11331 # include <limits.h>
11332 #else
11333 # include <assert.h>
11334 #endif
11336 #undef $ac_func
11338 /* Override any gcc2 internal prototype to avoid an error. */
11339 #ifdef __cplusplus
11340 extern "C"
11342 #endif
11343 /* We use char because int might match the return type of a gcc2
11344 builtin and then its argument prototype would still apply. */
11345 char $ac_func ();
11346 /* The GNU C library defines this for functions which it implements
11347 to always fail with ENOSYS. Some functions are actually named
11348 something starting with __ and the normal name is an alias. */
11349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11350 choke me
11351 #else
11352 char (*f) () = $ac_func;
11353 #endif
11354 #ifdef __cplusplus
11356 #endif
11359 main ()
11361 return f != $ac_func;
11363 return 0;
11365 _ACEOF
11366 rm -f conftest.$ac_objext conftest$ac_exeext
11367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11368 (eval $ac_link) 2>conftest.er1
11369 ac_status=$?
11370 grep -v '^ *+' conftest.er1 >conftest.err
11371 rm -f conftest.er1
11372 cat conftest.err >&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); } &&
11375 { ac_try='test -z "$ac_c_werror_flag"
11376 || test ! -s conftest.err'
11377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11378 (eval $ac_try) 2>&5
11379 ac_status=$?
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); }; } &&
11382 { ac_try='test -s conftest$ac_exeext'
11383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11384 (eval $ac_try) 2>&5
11385 ac_status=$?
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); }; }; then
11388 eval "$as_ac_var=yes"
11389 else
11390 echo "$as_me: failed program was:" >&5
11391 sed 's/^/| /' conftest.$ac_ext >&5
11393 eval "$as_ac_var=no"
11395 rm -f conftest.err conftest.$ac_objext \
11396 conftest$ac_exeext conftest.$ac_ext
11398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11400 if test `eval echo '${'$as_ac_var'}'` = yes; then
11401 cat >>confdefs.h <<_ACEOF
11402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11403 _ACEOF
11406 done
11408 else
11410 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11411 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11412 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11413 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11414 echo $ECHO_N "(cached) $ECHO_C" >&6
11415 else
11419 ac_ext=cc
11420 ac_cpp='$CXXCPP $CPPFLAGS'
11421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11425 cat >conftest.$ac_ext <<_ACEOF
11426 /* confdefs.h. */
11427 _ACEOF
11428 cat confdefs.h >>conftest.$ac_ext
11429 cat >>conftest.$ac_ext <<_ACEOF
11430 /* end confdefs.h. */
11431 #include <math.h>
11433 main ()
11435 _hypot(0, 0);
11437 return 0;
11439 _ACEOF
11440 rm -f conftest.$ac_objext
11441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11442 (eval $ac_compile) 2>conftest.er1
11443 ac_status=$?
11444 grep -v '^ *+' conftest.er1 >conftest.err
11445 rm -f conftest.er1
11446 cat conftest.err >&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); } &&
11449 { ac_try='test -z "$ac_cxx_werror_flag"
11450 || test ! -s conftest.err'
11451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11452 (eval $ac_try) 2>&5
11453 ac_status=$?
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); }; } &&
11456 { ac_try='test -s conftest.$ac_objext'
11457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11458 (eval $ac_try) 2>&5
11459 ac_status=$?
11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); }; }; then
11462 glibcxx_cv_func__hypot_use=yes
11463 else
11464 echo "$as_me: failed program was:" >&5
11465 sed 's/^/| /' conftest.$ac_ext >&5
11467 glibcxx_cv_func__hypot_use=no
11469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11470 ac_ext=c
11471 ac_cpp='$CPP $CPPFLAGS'
11472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11480 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11481 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11483 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11485 for ac_func in _hypot
11487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11488 echo "$as_me:$LINENO: checking for $ac_func" >&5
11489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11490 if eval "test \"\${$as_ac_var+set}\" = set"; then
11491 echo $ECHO_N "(cached) $ECHO_C" >&6
11492 else
11493 if test x$gcc_no_link = xyes; then
11494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11496 { (exit 1); exit 1; }; }
11498 cat >conftest.$ac_ext <<_ACEOF
11499 /* confdefs.h. */
11500 _ACEOF
11501 cat confdefs.h >>conftest.$ac_ext
11502 cat >>conftest.$ac_ext <<_ACEOF
11503 /* end confdefs.h. */
11504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11506 #define $ac_func innocuous_$ac_func
11508 /* System header to define __stub macros and hopefully few prototypes,
11509 which can conflict with char $ac_func (); below.
11510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11511 <limits.h> exists even on freestanding compilers. */
11513 #ifdef __STDC__
11514 # include <limits.h>
11515 #else
11516 # include <assert.h>
11517 #endif
11519 #undef $ac_func
11521 /* Override any gcc2 internal prototype to avoid an error. */
11522 #ifdef __cplusplus
11523 extern "C"
11525 #endif
11526 /* We use char because int might match the return type of a gcc2
11527 builtin and then its argument prototype would still apply. */
11528 char $ac_func ();
11529 /* The GNU C library defines this for functions which it implements
11530 to always fail with ENOSYS. Some functions are actually named
11531 something starting with __ and the normal name is an alias. */
11532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11533 choke me
11534 #else
11535 char (*f) () = $ac_func;
11536 #endif
11537 #ifdef __cplusplus
11539 #endif
11542 main ()
11544 return f != $ac_func;
11546 return 0;
11548 _ACEOF
11549 rm -f conftest.$ac_objext conftest$ac_exeext
11550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11551 (eval $ac_link) 2>conftest.er1
11552 ac_status=$?
11553 grep -v '^ *+' conftest.er1 >conftest.err
11554 rm -f conftest.er1
11555 cat conftest.err >&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); } &&
11558 { ac_try='test -z "$ac_c_werror_flag"
11559 || test ! -s conftest.err'
11560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11561 (eval $ac_try) 2>&5
11562 ac_status=$?
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); }; } &&
11565 { ac_try='test -s conftest$ac_exeext'
11566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11567 (eval $ac_try) 2>&5
11568 ac_status=$?
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); }; }; then
11571 eval "$as_ac_var=yes"
11572 else
11573 echo "$as_me: failed program was:" >&5
11574 sed 's/^/| /' conftest.$ac_ext >&5
11576 eval "$as_ac_var=no"
11578 rm -f conftest.err conftest.$ac_objext \
11579 conftest$ac_exeext conftest.$ac_ext
11581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11583 if test `eval echo '${'$as_ac_var'}'` = yes; then
11584 cat >>confdefs.h <<_ACEOF
11585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11586 _ACEOF
11589 done
11599 echo "$as_me:$LINENO: checking for float trig functions" >&5
11600 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11601 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11602 echo $ECHO_N "(cached) $ECHO_C" >&6
11603 else
11607 ac_ext=cc
11608 ac_cpp='$CXXCPP $CPPFLAGS'
11609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11613 cat >conftest.$ac_ext <<_ACEOF
11614 /* confdefs.h. */
11615 _ACEOF
11616 cat confdefs.h >>conftest.$ac_ext
11617 cat >>conftest.$ac_ext <<_ACEOF
11618 /* end confdefs.h. */
11619 #include <math.h>
11621 main ()
11623 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11625 return 0;
11627 _ACEOF
11628 rm -f conftest.$ac_objext
11629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11630 (eval $ac_compile) 2>conftest.er1
11631 ac_status=$?
11632 grep -v '^ *+' conftest.er1 >conftest.err
11633 rm -f conftest.er1
11634 cat conftest.err >&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); } &&
11637 { ac_try='test -z "$ac_cxx_werror_flag"
11638 || test ! -s conftest.err'
11639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640 (eval $ac_try) 2>&5
11641 ac_status=$?
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }; } &&
11644 { ac_try='test -s conftest.$ac_objext'
11645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11646 (eval $ac_try) 2>&5
11647 ac_status=$?
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; }; then
11650 glibcxx_cv_func_float_trig_use=yes
11651 else
11652 echo "$as_me: failed program was:" >&5
11653 sed 's/^/| /' conftest.$ac_ext >&5
11655 glibcxx_cv_func_float_trig_use=no
11657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11658 ac_ext=c
11659 ac_cpp='$CPP $CPPFLAGS'
11660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11666 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11667 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11668 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11678 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11681 echo "$as_me:$LINENO: checking for $ac_func" >&5
11682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11683 if eval "test \"\${$as_ac_var+set}\" = set"; then
11684 echo $ECHO_N "(cached) $ECHO_C" >&6
11685 else
11686 if test x$gcc_no_link = xyes; then
11687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11689 { (exit 1); exit 1; }; }
11691 cat >conftest.$ac_ext <<_ACEOF
11692 /* confdefs.h. */
11693 _ACEOF
11694 cat confdefs.h >>conftest.$ac_ext
11695 cat >>conftest.$ac_ext <<_ACEOF
11696 /* end confdefs.h. */
11697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11699 #define $ac_func innocuous_$ac_func
11701 /* System header to define __stub macros and hopefully few prototypes,
11702 which can conflict with char $ac_func (); below.
11703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11704 <limits.h> exists even on freestanding compilers. */
11706 #ifdef __STDC__
11707 # include <limits.h>
11708 #else
11709 # include <assert.h>
11710 #endif
11712 #undef $ac_func
11714 /* Override any gcc2 internal prototype to avoid an error. */
11715 #ifdef __cplusplus
11716 extern "C"
11718 #endif
11719 /* We use char because int might match the return type of a gcc2
11720 builtin and then its argument prototype would still apply. */
11721 char $ac_func ();
11722 /* The GNU C library defines this for functions which it implements
11723 to always fail with ENOSYS. Some functions are actually named
11724 something starting with __ and the normal name is an alias. */
11725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11726 choke me
11727 #else
11728 char (*f) () = $ac_func;
11729 #endif
11730 #ifdef __cplusplus
11732 #endif
11735 main ()
11737 return f != $ac_func;
11739 return 0;
11741 _ACEOF
11742 rm -f conftest.$ac_objext conftest$ac_exeext
11743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11744 (eval $ac_link) 2>conftest.er1
11745 ac_status=$?
11746 grep -v '^ *+' conftest.er1 >conftest.err
11747 rm -f conftest.er1
11748 cat conftest.err >&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); } &&
11751 { ac_try='test -z "$ac_c_werror_flag"
11752 || test ! -s conftest.err'
11753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11754 (eval $ac_try) 2>&5
11755 ac_status=$?
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); }; } &&
11758 { ac_try='test -s conftest$ac_exeext'
11759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11760 (eval $ac_try) 2>&5
11761 ac_status=$?
11762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11763 (exit $ac_status); }; }; then
11764 eval "$as_ac_var=yes"
11765 else
11766 echo "$as_me: failed program was:" >&5
11767 sed 's/^/| /' conftest.$ac_ext >&5
11769 eval "$as_ac_var=no"
11771 rm -f conftest.err conftest.$ac_objext \
11772 conftest$ac_exeext conftest.$ac_ext
11774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11776 if test `eval echo '${'$as_ac_var'}'` = yes; then
11777 cat >>confdefs.h <<_ACEOF
11778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11779 _ACEOF
11782 done
11784 else
11785 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11786 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11787 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11788 echo $ECHO_N "(cached) $ECHO_C" >&6
11789 else
11793 ac_ext=cc
11794 ac_cpp='$CXXCPP $CPPFLAGS'
11795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11799 cat >conftest.$ac_ext <<_ACEOF
11800 /* confdefs.h. */
11801 _ACEOF
11802 cat confdefs.h >>conftest.$ac_ext
11803 cat >>conftest.$ac_ext <<_ACEOF
11804 /* end confdefs.h. */
11805 #include <math.h>
11807 main ()
11809 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11811 return 0;
11813 _ACEOF
11814 rm -f conftest.$ac_objext
11815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11816 (eval $ac_compile) 2>conftest.er1
11817 ac_status=$?
11818 grep -v '^ *+' conftest.er1 >conftest.err
11819 rm -f conftest.er1
11820 cat conftest.err >&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); } &&
11823 { ac_try='test -z "$ac_cxx_werror_flag"
11824 || test ! -s conftest.err'
11825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11826 (eval $ac_try) 2>&5
11827 ac_status=$?
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); }; } &&
11830 { ac_try='test -s conftest.$ac_objext'
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832 (eval $ac_try) 2>&5
11833 ac_status=$?
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); }; }; then
11836 glibcxx_cv_func__float_trig_use=yes
11837 else
11838 echo "$as_me: failed program was:" >&5
11839 sed 's/^/| /' conftest.$ac_ext >&5
11841 glibcxx_cv_func__float_trig_use=no
11843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11844 ac_ext=c
11845 ac_cpp='$CPP $CPPFLAGS'
11846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11852 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11853 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11854 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11864 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11867 echo "$as_me:$LINENO: checking for $ac_func" >&5
11868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11869 if eval "test \"\${$as_ac_var+set}\" = set"; then
11870 echo $ECHO_N "(cached) $ECHO_C" >&6
11871 else
11872 if test x$gcc_no_link = xyes; then
11873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11875 { (exit 1); exit 1; }; }
11877 cat >conftest.$ac_ext <<_ACEOF
11878 /* confdefs.h. */
11879 _ACEOF
11880 cat confdefs.h >>conftest.$ac_ext
11881 cat >>conftest.$ac_ext <<_ACEOF
11882 /* end confdefs.h. */
11883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11885 #define $ac_func innocuous_$ac_func
11887 /* System header to define __stub macros and hopefully few prototypes,
11888 which can conflict with char $ac_func (); below.
11889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11890 <limits.h> exists even on freestanding compilers. */
11892 #ifdef __STDC__
11893 # include <limits.h>
11894 #else
11895 # include <assert.h>
11896 #endif
11898 #undef $ac_func
11900 /* Override any gcc2 internal prototype to avoid an error. */
11901 #ifdef __cplusplus
11902 extern "C"
11904 #endif
11905 /* We use char because int might match the return type of a gcc2
11906 builtin and then its argument prototype would still apply. */
11907 char $ac_func ();
11908 /* The GNU C library defines this for functions which it implements
11909 to always fail with ENOSYS. Some functions are actually named
11910 something starting with __ and the normal name is an alias. */
11911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11912 choke me
11913 #else
11914 char (*f) () = $ac_func;
11915 #endif
11916 #ifdef __cplusplus
11918 #endif
11921 main ()
11923 return f != $ac_func;
11925 return 0;
11927 _ACEOF
11928 rm -f conftest.$ac_objext conftest$ac_exeext
11929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11930 (eval $ac_link) 2>conftest.er1
11931 ac_status=$?
11932 grep -v '^ *+' conftest.er1 >conftest.err
11933 rm -f conftest.er1
11934 cat conftest.err >&5
11935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936 (exit $ac_status); } &&
11937 { ac_try='test -z "$ac_c_werror_flag"
11938 || test ! -s conftest.err'
11939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11940 (eval $ac_try) 2>&5
11941 ac_status=$?
11942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); }; } &&
11944 { ac_try='test -s conftest$ac_exeext'
11945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11946 (eval $ac_try) 2>&5
11947 ac_status=$?
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); }; }; then
11950 eval "$as_ac_var=yes"
11951 else
11952 echo "$as_me: failed program was:" >&5
11953 sed 's/^/| /' conftest.$ac_ext >&5
11955 eval "$as_ac_var=no"
11957 rm -f conftest.err conftest.$ac_objext \
11958 conftest$ac_exeext conftest.$ac_ext
11960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11962 if test `eval echo '${'$as_ac_var'}'` = yes; then
11963 cat >>confdefs.h <<_ACEOF
11964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11965 _ACEOF
11968 done
11986 echo "$as_me:$LINENO: checking for float round functions" >&5
11987 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11988 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6
11990 else
11994 ac_ext=cc
11995 ac_cpp='$CXXCPP $CPPFLAGS'
11996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12000 cat >conftest.$ac_ext <<_ACEOF
12001 /* confdefs.h. */
12002 _ACEOF
12003 cat confdefs.h >>conftest.$ac_ext
12004 cat >>conftest.$ac_ext <<_ACEOF
12005 /* end confdefs.h. */
12006 #include <math.h>
12008 main ()
12010 ceilf (0); floorf (0);
12012 return 0;
12014 _ACEOF
12015 rm -f conftest.$ac_objext
12016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12017 (eval $ac_compile) 2>conftest.er1
12018 ac_status=$?
12019 grep -v '^ *+' conftest.er1 >conftest.err
12020 rm -f conftest.er1
12021 cat conftest.err >&5
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); } &&
12024 { ac_try='test -z "$ac_cxx_werror_flag"
12025 || test ! -s conftest.err'
12026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12027 (eval $ac_try) 2>&5
12028 ac_status=$?
12029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12030 (exit $ac_status); }; } &&
12031 { ac_try='test -s conftest.$ac_objext'
12032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12033 (eval $ac_try) 2>&5
12034 ac_status=$?
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); }; }; then
12037 glibcxx_cv_func_float_round_use=yes
12038 else
12039 echo "$as_me: failed program was:" >&5
12040 sed 's/^/| /' conftest.$ac_ext >&5
12042 glibcxx_cv_func_float_round_use=no
12044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12045 ac_ext=c
12046 ac_cpp='$CPP $CPPFLAGS'
12047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12053 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
12054 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
12055 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12058 for ac_func in ceilf floorf
12060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12061 echo "$as_me:$LINENO: checking for $ac_func" >&5
12062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12063 if eval "test \"\${$as_ac_var+set}\" = set"; then
12064 echo $ECHO_N "(cached) $ECHO_C" >&6
12065 else
12066 if test x$gcc_no_link = xyes; then
12067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12069 { (exit 1); exit 1; }; }
12071 cat >conftest.$ac_ext <<_ACEOF
12072 /* confdefs.h. */
12073 _ACEOF
12074 cat confdefs.h >>conftest.$ac_ext
12075 cat >>conftest.$ac_ext <<_ACEOF
12076 /* end confdefs.h. */
12077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12079 #define $ac_func innocuous_$ac_func
12081 /* System header to define __stub macros and hopefully few prototypes,
12082 which can conflict with char $ac_func (); below.
12083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12084 <limits.h> exists even on freestanding compilers. */
12086 #ifdef __STDC__
12087 # include <limits.h>
12088 #else
12089 # include <assert.h>
12090 #endif
12092 #undef $ac_func
12094 /* Override any gcc2 internal prototype to avoid an error. */
12095 #ifdef __cplusplus
12096 extern "C"
12098 #endif
12099 /* We use char because int might match the return type of a gcc2
12100 builtin and then its argument prototype would still apply. */
12101 char $ac_func ();
12102 /* The GNU C library defines this for functions which it implements
12103 to always fail with ENOSYS. Some functions are actually named
12104 something starting with __ and the normal name is an alias. */
12105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12106 choke me
12107 #else
12108 char (*f) () = $ac_func;
12109 #endif
12110 #ifdef __cplusplus
12112 #endif
12115 main ()
12117 return f != $ac_func;
12119 return 0;
12121 _ACEOF
12122 rm -f conftest.$ac_objext conftest$ac_exeext
12123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12124 (eval $ac_link) 2>conftest.er1
12125 ac_status=$?
12126 grep -v '^ *+' conftest.er1 >conftest.err
12127 rm -f conftest.er1
12128 cat conftest.err >&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); } &&
12131 { ac_try='test -z "$ac_c_werror_flag"
12132 || test ! -s conftest.err'
12133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12134 (eval $ac_try) 2>&5
12135 ac_status=$?
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); }; } &&
12138 { ac_try='test -s conftest$ac_exeext'
12139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140 (eval $ac_try) 2>&5
12141 ac_status=$?
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); }; }; then
12144 eval "$as_ac_var=yes"
12145 else
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.$ac_ext >&5
12149 eval "$as_ac_var=no"
12151 rm -f conftest.err conftest.$ac_objext \
12152 conftest$ac_exeext conftest.$ac_ext
12154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12156 if test `eval echo '${'$as_ac_var'}'` = yes; then
12157 cat >>confdefs.h <<_ACEOF
12158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12159 _ACEOF
12162 done
12164 else
12165 echo "$as_me:$LINENO: checking for _float round functions" >&5
12166 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12167 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12169 else
12173 ac_ext=cc
12174 ac_cpp='$CXXCPP $CPPFLAGS'
12175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12179 cat >conftest.$ac_ext <<_ACEOF
12180 /* confdefs.h. */
12181 _ACEOF
12182 cat confdefs.h >>conftest.$ac_ext
12183 cat >>conftest.$ac_ext <<_ACEOF
12184 /* end confdefs.h. */
12185 #include <math.h>
12187 main ()
12189 _ceilf (0); _floorf (0);
12191 return 0;
12193 _ACEOF
12194 rm -f conftest.$ac_objext
12195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12196 (eval $ac_compile) 2>conftest.er1
12197 ac_status=$?
12198 grep -v '^ *+' conftest.er1 >conftest.err
12199 rm -f conftest.er1
12200 cat conftest.err >&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); } &&
12203 { ac_try='test -z "$ac_cxx_werror_flag"
12204 || test ! -s conftest.err'
12205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12206 (eval $ac_try) 2>&5
12207 ac_status=$?
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); }; } &&
12210 { ac_try='test -s conftest.$ac_objext'
12211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12212 (eval $ac_try) 2>&5
12213 ac_status=$?
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); }; }; then
12216 glibcxx_cv_func__float_round_use=yes
12217 else
12218 echo "$as_me: failed program was:" >&5
12219 sed 's/^/| /' conftest.$ac_ext >&5
12221 glibcxx_cv_func__float_round_use=no
12223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12224 ac_ext=c
12225 ac_cpp='$CPP $CPPFLAGS'
12226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12232 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12233 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12234 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12237 for ac_func in _ceilf _floorf
12239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12240 echo "$as_me:$LINENO: checking for $ac_func" >&5
12241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12242 if eval "test \"\${$as_ac_var+set}\" = set"; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12244 else
12245 if test x$gcc_no_link = xyes; then
12246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12248 { (exit 1); exit 1; }; }
12250 cat >conftest.$ac_ext <<_ACEOF
12251 /* confdefs.h. */
12252 _ACEOF
12253 cat confdefs.h >>conftest.$ac_ext
12254 cat >>conftest.$ac_ext <<_ACEOF
12255 /* end confdefs.h. */
12256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12258 #define $ac_func innocuous_$ac_func
12260 /* System header to define __stub macros and hopefully few prototypes,
12261 which can conflict with char $ac_func (); below.
12262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12263 <limits.h> exists even on freestanding compilers. */
12265 #ifdef __STDC__
12266 # include <limits.h>
12267 #else
12268 # include <assert.h>
12269 #endif
12271 #undef $ac_func
12273 /* Override any gcc2 internal prototype to avoid an error. */
12274 #ifdef __cplusplus
12275 extern "C"
12277 #endif
12278 /* We use char because int might match the return type of a gcc2
12279 builtin and then its argument prototype would still apply. */
12280 char $ac_func ();
12281 /* The GNU C library defines this for functions which it implements
12282 to always fail with ENOSYS. Some functions are actually named
12283 something starting with __ and the normal name is an alias. */
12284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12285 choke me
12286 #else
12287 char (*f) () = $ac_func;
12288 #endif
12289 #ifdef __cplusplus
12291 #endif
12294 main ()
12296 return f != $ac_func;
12298 return 0;
12300 _ACEOF
12301 rm -f conftest.$ac_objext conftest$ac_exeext
12302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12303 (eval $ac_link) 2>conftest.er1
12304 ac_status=$?
12305 grep -v '^ *+' conftest.er1 >conftest.err
12306 rm -f conftest.er1
12307 cat conftest.err >&5
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); } &&
12310 { ac_try='test -z "$ac_c_werror_flag"
12311 || test ! -s conftest.err'
12312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313 (eval $ac_try) 2>&5
12314 ac_status=$?
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }; } &&
12317 { ac_try='test -s conftest$ac_exeext'
12318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12319 (eval $ac_try) 2>&5
12320 ac_status=$?
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); }; }; then
12323 eval "$as_ac_var=yes"
12324 else
12325 echo "$as_me: failed program was:" >&5
12326 sed 's/^/| /' conftest.$ac_ext >&5
12328 eval "$as_ac_var=no"
12330 rm -f conftest.err conftest.$ac_objext \
12331 conftest$ac_exeext conftest.$ac_ext
12333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12335 if test `eval echo '${'$as_ac_var'}'` = yes; then
12336 cat >>confdefs.h <<_ACEOF
12337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12338 _ACEOF
12341 done
12353 echo "$as_me:$LINENO: checking for expf declaration" >&5
12354 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12355 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12356 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12358 else
12362 ac_ext=cc
12363 ac_cpp='$CXXCPP $CPPFLAGS'
12364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12368 cat >conftest.$ac_ext <<_ACEOF
12369 /* confdefs.h. */
12370 _ACEOF
12371 cat confdefs.h >>conftest.$ac_ext
12372 cat >>conftest.$ac_ext <<_ACEOF
12373 /* end confdefs.h. */
12374 #include <math.h>
12375 #ifdef HAVE_IEEEFP_H
12376 #include <ieeefp.h>
12377 #endif
12380 main ()
12382 expf(0);
12384 return 0;
12386 _ACEOF
12387 rm -f conftest.$ac_objext
12388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12389 (eval $ac_compile) 2>conftest.er1
12390 ac_status=$?
12391 grep -v '^ *+' conftest.er1 >conftest.err
12392 rm -f conftest.er1
12393 cat conftest.err >&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); } &&
12396 { ac_try='test -z "$ac_cxx_werror_flag"
12397 || test ! -s conftest.err'
12398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12399 (eval $ac_try) 2>&5
12400 ac_status=$?
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); }; } &&
12403 { ac_try='test -s conftest.$ac_objext'
12404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12405 (eval $ac_try) 2>&5
12406 ac_status=$?
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); }; }; then
12409 glibcxx_cv_func_expf_use=yes
12410 else
12411 echo "$as_me: failed program was:" >&5
12412 sed 's/^/| /' conftest.$ac_ext >&5
12414 glibcxx_cv_func_expf_use=no
12416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12417 ac_ext=c
12418 ac_cpp='$CPP $CPPFLAGS'
12419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12427 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12428 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12430 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12432 for ac_func in expf
12434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12435 echo "$as_me:$LINENO: checking for $ac_func" >&5
12436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12437 if eval "test \"\${$as_ac_var+set}\" = set"; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12439 else
12440 if test x$gcc_no_link = xyes; then
12441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12443 { (exit 1); exit 1; }; }
12445 cat >conftest.$ac_ext <<_ACEOF
12446 /* confdefs.h. */
12447 _ACEOF
12448 cat confdefs.h >>conftest.$ac_ext
12449 cat >>conftest.$ac_ext <<_ACEOF
12450 /* end confdefs.h. */
12451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12453 #define $ac_func innocuous_$ac_func
12455 /* System header to define __stub macros and hopefully few prototypes,
12456 which can conflict with char $ac_func (); below.
12457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12458 <limits.h> exists even on freestanding compilers. */
12460 #ifdef __STDC__
12461 # include <limits.h>
12462 #else
12463 # include <assert.h>
12464 #endif
12466 #undef $ac_func
12468 /* Override any gcc2 internal prototype to avoid an error. */
12469 #ifdef __cplusplus
12470 extern "C"
12472 #endif
12473 /* We use char because int might match the return type of a gcc2
12474 builtin and then its argument prototype would still apply. */
12475 char $ac_func ();
12476 /* The GNU C library defines this for functions which it implements
12477 to always fail with ENOSYS. Some functions are actually named
12478 something starting with __ and the normal name is an alias. */
12479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12480 choke me
12481 #else
12482 char (*f) () = $ac_func;
12483 #endif
12484 #ifdef __cplusplus
12486 #endif
12489 main ()
12491 return f != $ac_func;
12493 return 0;
12495 _ACEOF
12496 rm -f conftest.$ac_objext conftest$ac_exeext
12497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12498 (eval $ac_link) 2>conftest.er1
12499 ac_status=$?
12500 grep -v '^ *+' conftest.er1 >conftest.err
12501 rm -f conftest.er1
12502 cat conftest.err >&5
12503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504 (exit $ac_status); } &&
12505 { ac_try='test -z "$ac_c_werror_flag"
12506 || test ! -s conftest.err'
12507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12508 (eval $ac_try) 2>&5
12509 ac_status=$?
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); }; } &&
12512 { ac_try='test -s conftest$ac_exeext'
12513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12514 (eval $ac_try) 2>&5
12515 ac_status=$?
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); }; }; then
12518 eval "$as_ac_var=yes"
12519 else
12520 echo "$as_me: failed program was:" >&5
12521 sed 's/^/| /' conftest.$ac_ext >&5
12523 eval "$as_ac_var=no"
12525 rm -f conftest.err conftest.$ac_objext \
12526 conftest$ac_exeext conftest.$ac_ext
12528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12530 if test `eval echo '${'$as_ac_var'}'` = yes; then
12531 cat >>confdefs.h <<_ACEOF
12532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12533 _ACEOF
12536 done
12538 else
12540 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12541 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12542 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12543 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12544 echo $ECHO_N "(cached) $ECHO_C" >&6
12545 else
12549 ac_ext=cc
12550 ac_cpp='$CXXCPP $CPPFLAGS'
12551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12555 cat >conftest.$ac_ext <<_ACEOF
12556 /* confdefs.h. */
12557 _ACEOF
12558 cat confdefs.h >>conftest.$ac_ext
12559 cat >>conftest.$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12561 #include <math.h>
12562 #ifdef HAVE_IEEEFP_H
12563 #include <ieeefp.h>
12564 #endif
12567 main ()
12569 _expf(0);
12571 return 0;
12573 _ACEOF
12574 rm -f conftest.$ac_objext
12575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12576 (eval $ac_compile) 2>conftest.er1
12577 ac_status=$?
12578 grep -v '^ *+' conftest.er1 >conftest.err
12579 rm -f conftest.er1
12580 cat conftest.err >&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); } &&
12583 { ac_try='test -z "$ac_cxx_werror_flag"
12584 || test ! -s conftest.err'
12585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12586 (eval $ac_try) 2>&5
12587 ac_status=$?
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); }; } &&
12590 { ac_try='test -s conftest.$ac_objext'
12591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592 (eval $ac_try) 2>&5
12593 ac_status=$?
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); }; }; then
12596 glibcxx_cv_func__expf_use=yes
12597 else
12598 echo "$as_me: failed program was:" >&5
12599 sed 's/^/| /' conftest.$ac_ext >&5
12601 glibcxx_cv_func__expf_use=no
12603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12604 ac_ext=c
12605 ac_cpp='$CPP $CPPFLAGS'
12606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12614 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12615 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12617 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12619 for ac_func in _expf
12621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12622 echo "$as_me:$LINENO: checking for $ac_func" >&5
12623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12624 if eval "test \"\${$as_ac_var+set}\" = set"; then
12625 echo $ECHO_N "(cached) $ECHO_C" >&6
12626 else
12627 if test x$gcc_no_link = xyes; then
12628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12630 { (exit 1); exit 1; }; }
12632 cat >conftest.$ac_ext <<_ACEOF
12633 /* confdefs.h. */
12634 _ACEOF
12635 cat confdefs.h >>conftest.$ac_ext
12636 cat >>conftest.$ac_ext <<_ACEOF
12637 /* end confdefs.h. */
12638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12640 #define $ac_func innocuous_$ac_func
12642 /* System header to define __stub macros and hopefully few prototypes,
12643 which can conflict with char $ac_func (); below.
12644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12645 <limits.h> exists even on freestanding compilers. */
12647 #ifdef __STDC__
12648 # include <limits.h>
12649 #else
12650 # include <assert.h>
12651 #endif
12653 #undef $ac_func
12655 /* Override any gcc2 internal prototype to avoid an error. */
12656 #ifdef __cplusplus
12657 extern "C"
12659 #endif
12660 /* We use char because int might match the return type of a gcc2
12661 builtin and then its argument prototype would still apply. */
12662 char $ac_func ();
12663 /* The GNU C library defines this for functions which it implements
12664 to always fail with ENOSYS. Some functions are actually named
12665 something starting with __ and the normal name is an alias. */
12666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12667 choke me
12668 #else
12669 char (*f) () = $ac_func;
12670 #endif
12671 #ifdef __cplusplus
12673 #endif
12676 main ()
12678 return f != $ac_func;
12680 return 0;
12682 _ACEOF
12683 rm -f conftest.$ac_objext conftest$ac_exeext
12684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12685 (eval $ac_link) 2>conftest.er1
12686 ac_status=$?
12687 grep -v '^ *+' conftest.er1 >conftest.err
12688 rm -f conftest.er1
12689 cat conftest.err >&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); } &&
12692 { ac_try='test -z "$ac_c_werror_flag"
12693 || test ! -s conftest.err'
12694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12695 (eval $ac_try) 2>&5
12696 ac_status=$?
12697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12698 (exit $ac_status); }; } &&
12699 { ac_try='test -s conftest$ac_exeext'
12700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12701 (eval $ac_try) 2>&5
12702 ac_status=$?
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); }; }; then
12705 eval "$as_ac_var=yes"
12706 else
12707 echo "$as_me: failed program was:" >&5
12708 sed 's/^/| /' conftest.$ac_ext >&5
12710 eval "$as_ac_var=no"
12712 rm -f conftest.err conftest.$ac_objext \
12713 conftest$ac_exeext conftest.$ac_ext
12715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12717 if test `eval echo '${'$as_ac_var'}'` = yes; then
12718 cat >>confdefs.h <<_ACEOF
12719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12720 _ACEOF
12723 done
12733 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12734 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12735 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12736 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12738 else
12742 ac_ext=cc
12743 ac_cpp='$CXXCPP $CPPFLAGS'
12744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12748 cat >conftest.$ac_ext <<_ACEOF
12749 /* confdefs.h. */
12750 _ACEOF
12751 cat confdefs.h >>conftest.$ac_ext
12752 cat >>conftest.$ac_ext <<_ACEOF
12753 /* end confdefs.h. */
12754 #include <math.h>
12755 #ifdef HAVE_IEEEFP_H
12756 #include <ieeefp.h>
12757 #endif
12760 main ()
12762 isnanf(0);
12764 return 0;
12766 _ACEOF
12767 rm -f conftest.$ac_objext
12768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12769 (eval $ac_compile) 2>conftest.er1
12770 ac_status=$?
12771 grep -v '^ *+' conftest.er1 >conftest.err
12772 rm -f conftest.er1
12773 cat conftest.err >&5
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); } &&
12776 { ac_try='test -z "$ac_cxx_werror_flag"
12777 || test ! -s conftest.err'
12778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12779 (eval $ac_try) 2>&5
12780 ac_status=$?
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); }; } &&
12783 { ac_try='test -s conftest.$ac_objext'
12784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12785 (eval $ac_try) 2>&5
12786 ac_status=$?
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); }; }; then
12789 glibcxx_cv_func_isnanf_use=yes
12790 else
12791 echo "$as_me: failed program was:" >&5
12792 sed 's/^/| /' conftest.$ac_ext >&5
12794 glibcxx_cv_func_isnanf_use=no
12796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12797 ac_ext=c
12798 ac_cpp='$CPP $CPPFLAGS'
12799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12807 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12808 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12810 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12812 for ac_func in isnanf
12814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12815 echo "$as_me:$LINENO: checking for $ac_func" >&5
12816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12817 if eval "test \"\${$as_ac_var+set}\" = set"; then
12818 echo $ECHO_N "(cached) $ECHO_C" >&6
12819 else
12820 if test x$gcc_no_link = xyes; then
12821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12823 { (exit 1); exit 1; }; }
12825 cat >conftest.$ac_ext <<_ACEOF
12826 /* confdefs.h. */
12827 _ACEOF
12828 cat confdefs.h >>conftest.$ac_ext
12829 cat >>conftest.$ac_ext <<_ACEOF
12830 /* end confdefs.h. */
12831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12833 #define $ac_func innocuous_$ac_func
12835 /* System header to define __stub macros and hopefully few prototypes,
12836 which can conflict with char $ac_func (); below.
12837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12838 <limits.h> exists even on freestanding compilers. */
12840 #ifdef __STDC__
12841 # include <limits.h>
12842 #else
12843 # include <assert.h>
12844 #endif
12846 #undef $ac_func
12848 /* Override any gcc2 internal prototype to avoid an error. */
12849 #ifdef __cplusplus
12850 extern "C"
12852 #endif
12853 /* We use char because int might match the return type of a gcc2
12854 builtin and then its argument prototype would still apply. */
12855 char $ac_func ();
12856 /* The GNU C library defines this for functions which it implements
12857 to always fail with ENOSYS. Some functions are actually named
12858 something starting with __ and the normal name is an alias. */
12859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12860 choke me
12861 #else
12862 char (*f) () = $ac_func;
12863 #endif
12864 #ifdef __cplusplus
12866 #endif
12869 main ()
12871 return f != $ac_func;
12873 return 0;
12875 _ACEOF
12876 rm -f conftest.$ac_objext conftest$ac_exeext
12877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12878 (eval $ac_link) 2>conftest.er1
12879 ac_status=$?
12880 grep -v '^ *+' conftest.er1 >conftest.err
12881 rm -f conftest.er1
12882 cat conftest.err >&5
12883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884 (exit $ac_status); } &&
12885 { ac_try='test -z "$ac_c_werror_flag"
12886 || test ! -s conftest.err'
12887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12888 (eval $ac_try) 2>&5
12889 ac_status=$?
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); }; } &&
12892 { ac_try='test -s conftest$ac_exeext'
12893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12894 (eval $ac_try) 2>&5
12895 ac_status=$?
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; }; then
12898 eval "$as_ac_var=yes"
12899 else
12900 echo "$as_me: failed program was:" >&5
12901 sed 's/^/| /' conftest.$ac_ext >&5
12903 eval "$as_ac_var=no"
12905 rm -f conftest.err conftest.$ac_objext \
12906 conftest$ac_exeext conftest.$ac_ext
12908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12910 if test `eval echo '${'$as_ac_var'}'` = yes; then
12911 cat >>confdefs.h <<_ACEOF
12912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12913 _ACEOF
12916 done
12918 else
12920 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12921 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12922 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12923 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12924 echo $ECHO_N "(cached) $ECHO_C" >&6
12925 else
12929 ac_ext=cc
12930 ac_cpp='$CXXCPP $CPPFLAGS'
12931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12935 cat >conftest.$ac_ext <<_ACEOF
12936 /* confdefs.h. */
12937 _ACEOF
12938 cat confdefs.h >>conftest.$ac_ext
12939 cat >>conftest.$ac_ext <<_ACEOF
12940 /* end confdefs.h. */
12941 #include <math.h>
12942 #ifdef HAVE_IEEEFP_H
12943 #include <ieeefp.h>
12944 #endif
12947 main ()
12949 _isnanf(0);
12951 return 0;
12953 _ACEOF
12954 rm -f conftest.$ac_objext
12955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12956 (eval $ac_compile) 2>conftest.er1
12957 ac_status=$?
12958 grep -v '^ *+' conftest.er1 >conftest.err
12959 rm -f conftest.er1
12960 cat conftest.err >&5
12961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); } &&
12963 { ac_try='test -z "$ac_cxx_werror_flag"
12964 || test ! -s conftest.err'
12965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12966 (eval $ac_try) 2>&5
12967 ac_status=$?
12968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12969 (exit $ac_status); }; } &&
12970 { ac_try='test -s conftest.$ac_objext'
12971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12972 (eval $ac_try) 2>&5
12973 ac_status=$?
12974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975 (exit $ac_status); }; }; then
12976 glibcxx_cv_func__isnanf_use=yes
12977 else
12978 echo "$as_me: failed program was:" >&5
12979 sed 's/^/| /' conftest.$ac_ext >&5
12981 glibcxx_cv_func__isnanf_use=no
12983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12984 ac_ext=c
12985 ac_cpp='$CPP $CPPFLAGS'
12986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12994 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12995 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12997 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12999 for ac_func in _isnanf
13001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13002 echo "$as_me:$LINENO: checking for $ac_func" >&5
13003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13004 if eval "test \"\${$as_ac_var+set}\" = set"; then
13005 echo $ECHO_N "(cached) $ECHO_C" >&6
13006 else
13007 if test x$gcc_no_link = xyes; then
13008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13010 { (exit 1); exit 1; }; }
13012 cat >conftest.$ac_ext <<_ACEOF
13013 /* confdefs.h. */
13014 _ACEOF
13015 cat confdefs.h >>conftest.$ac_ext
13016 cat >>conftest.$ac_ext <<_ACEOF
13017 /* end confdefs.h. */
13018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13020 #define $ac_func innocuous_$ac_func
13022 /* System header to define __stub macros and hopefully few prototypes,
13023 which can conflict with char $ac_func (); below.
13024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13025 <limits.h> exists even on freestanding compilers. */
13027 #ifdef __STDC__
13028 # include <limits.h>
13029 #else
13030 # include <assert.h>
13031 #endif
13033 #undef $ac_func
13035 /* Override any gcc2 internal prototype to avoid an error. */
13036 #ifdef __cplusplus
13037 extern "C"
13039 #endif
13040 /* We use char because int might match the return type of a gcc2
13041 builtin and then its argument prototype would still apply. */
13042 char $ac_func ();
13043 /* The GNU C library defines this for functions which it implements
13044 to always fail with ENOSYS. Some functions are actually named
13045 something starting with __ and the normal name is an alias. */
13046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13047 choke me
13048 #else
13049 char (*f) () = $ac_func;
13050 #endif
13051 #ifdef __cplusplus
13053 #endif
13056 main ()
13058 return f != $ac_func;
13060 return 0;
13062 _ACEOF
13063 rm -f conftest.$ac_objext conftest$ac_exeext
13064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13065 (eval $ac_link) 2>conftest.er1
13066 ac_status=$?
13067 grep -v '^ *+' conftest.er1 >conftest.err
13068 rm -f conftest.er1
13069 cat conftest.err >&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); } &&
13072 { ac_try='test -z "$ac_c_werror_flag"
13073 || test ! -s conftest.err'
13074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13075 (eval $ac_try) 2>&5
13076 ac_status=$?
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); }; } &&
13079 { ac_try='test -s conftest$ac_exeext'
13080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13081 (eval $ac_try) 2>&5
13082 ac_status=$?
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }; }; then
13085 eval "$as_ac_var=yes"
13086 else
13087 echo "$as_me: failed program was:" >&5
13088 sed 's/^/| /' conftest.$ac_ext >&5
13090 eval "$as_ac_var=no"
13092 rm -f conftest.err conftest.$ac_objext \
13093 conftest$ac_exeext conftest.$ac_ext
13095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13097 if test `eval echo '${'$as_ac_var'}'` = yes; then
13098 cat >>confdefs.h <<_ACEOF
13099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13100 _ACEOF
13103 done
13113 echo "$as_me:$LINENO: checking for isinff declaration" >&5
13114 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13115 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13116 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13118 else
13122 ac_ext=cc
13123 ac_cpp='$CXXCPP $CPPFLAGS'
13124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13128 cat >conftest.$ac_ext <<_ACEOF
13129 /* confdefs.h. */
13130 _ACEOF
13131 cat confdefs.h >>conftest.$ac_ext
13132 cat >>conftest.$ac_ext <<_ACEOF
13133 /* end confdefs.h. */
13134 #include <math.h>
13135 #ifdef HAVE_IEEEFP_H
13136 #include <ieeefp.h>
13137 #endif
13140 main ()
13142 isinff(0);
13144 return 0;
13146 _ACEOF
13147 rm -f conftest.$ac_objext
13148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13149 (eval $ac_compile) 2>conftest.er1
13150 ac_status=$?
13151 grep -v '^ *+' conftest.er1 >conftest.err
13152 rm -f conftest.er1
13153 cat conftest.err >&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); } &&
13156 { ac_try='test -z "$ac_cxx_werror_flag"
13157 || test ! -s conftest.err'
13158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13159 (eval $ac_try) 2>&5
13160 ac_status=$?
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; } &&
13163 { ac_try='test -s conftest.$ac_objext'
13164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13165 (eval $ac_try) 2>&5
13166 ac_status=$?
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; }; then
13169 glibcxx_cv_func_isinff_use=yes
13170 else
13171 echo "$as_me: failed program was:" >&5
13172 sed 's/^/| /' conftest.$ac_ext >&5
13174 glibcxx_cv_func_isinff_use=no
13176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13177 ac_ext=c
13178 ac_cpp='$CPP $CPPFLAGS'
13179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13187 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13188 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13190 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13192 for ac_func in isinff
13194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13195 echo "$as_me:$LINENO: checking for $ac_func" >&5
13196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13197 if eval "test \"\${$as_ac_var+set}\" = set"; then
13198 echo $ECHO_N "(cached) $ECHO_C" >&6
13199 else
13200 if test x$gcc_no_link = xyes; then
13201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13203 { (exit 1); exit 1; }; }
13205 cat >conftest.$ac_ext <<_ACEOF
13206 /* confdefs.h. */
13207 _ACEOF
13208 cat confdefs.h >>conftest.$ac_ext
13209 cat >>conftest.$ac_ext <<_ACEOF
13210 /* end confdefs.h. */
13211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13213 #define $ac_func innocuous_$ac_func
13215 /* System header to define __stub macros and hopefully few prototypes,
13216 which can conflict with char $ac_func (); below.
13217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13218 <limits.h> exists even on freestanding compilers. */
13220 #ifdef __STDC__
13221 # include <limits.h>
13222 #else
13223 # include <assert.h>
13224 #endif
13226 #undef $ac_func
13228 /* Override any gcc2 internal prototype to avoid an error. */
13229 #ifdef __cplusplus
13230 extern "C"
13232 #endif
13233 /* We use char because int might match the return type of a gcc2
13234 builtin and then its argument prototype would still apply. */
13235 char $ac_func ();
13236 /* The GNU C library defines this for functions which it implements
13237 to always fail with ENOSYS. Some functions are actually named
13238 something starting with __ and the normal name is an alias. */
13239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13240 choke me
13241 #else
13242 char (*f) () = $ac_func;
13243 #endif
13244 #ifdef __cplusplus
13246 #endif
13249 main ()
13251 return f != $ac_func;
13253 return 0;
13255 _ACEOF
13256 rm -f conftest.$ac_objext conftest$ac_exeext
13257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13258 (eval $ac_link) 2>conftest.er1
13259 ac_status=$?
13260 grep -v '^ *+' conftest.er1 >conftest.err
13261 rm -f conftest.er1
13262 cat conftest.err >&5
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); } &&
13265 { ac_try='test -z "$ac_c_werror_flag"
13266 || test ! -s conftest.err'
13267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13268 (eval $ac_try) 2>&5
13269 ac_status=$?
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); }; } &&
13272 { ac_try='test -s conftest$ac_exeext'
13273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13274 (eval $ac_try) 2>&5
13275 ac_status=$?
13276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 (exit $ac_status); }; }; then
13278 eval "$as_ac_var=yes"
13279 else
13280 echo "$as_me: failed program was:" >&5
13281 sed 's/^/| /' conftest.$ac_ext >&5
13283 eval "$as_ac_var=no"
13285 rm -f conftest.err conftest.$ac_objext \
13286 conftest$ac_exeext conftest.$ac_ext
13288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13290 if test `eval echo '${'$as_ac_var'}'` = yes; then
13291 cat >>confdefs.h <<_ACEOF
13292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13293 _ACEOF
13296 done
13298 else
13300 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13301 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13302 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13303 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13305 else
13309 ac_ext=cc
13310 ac_cpp='$CXXCPP $CPPFLAGS'
13311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13315 cat >conftest.$ac_ext <<_ACEOF
13316 /* confdefs.h. */
13317 _ACEOF
13318 cat confdefs.h >>conftest.$ac_ext
13319 cat >>conftest.$ac_ext <<_ACEOF
13320 /* end confdefs.h. */
13321 #include <math.h>
13322 #ifdef HAVE_IEEEFP_H
13323 #include <ieeefp.h>
13324 #endif
13327 main ()
13329 _isinff(0);
13331 return 0;
13333 _ACEOF
13334 rm -f conftest.$ac_objext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13336 (eval $ac_compile) 2>conftest.er1
13337 ac_status=$?
13338 grep -v '^ *+' conftest.er1 >conftest.err
13339 rm -f conftest.er1
13340 cat conftest.err >&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); } &&
13343 { ac_try='test -z "$ac_cxx_werror_flag"
13344 || test ! -s conftest.err'
13345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13346 (eval $ac_try) 2>&5
13347 ac_status=$?
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; } &&
13350 { ac_try='test -s conftest.$ac_objext'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13353 ac_status=$?
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; }; then
13356 glibcxx_cv_func__isinff_use=yes
13357 else
13358 echo "$as_me: failed program was:" >&5
13359 sed 's/^/| /' conftest.$ac_ext >&5
13361 glibcxx_cv_func__isinff_use=no
13363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13364 ac_ext=c
13365 ac_cpp='$CPP $CPPFLAGS'
13366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13375 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13377 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13379 for ac_func in _isinff
13381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13382 echo "$as_me:$LINENO: checking for $ac_func" >&5
13383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13384 if eval "test \"\${$as_ac_var+set}\" = set"; then
13385 echo $ECHO_N "(cached) $ECHO_C" >&6
13386 else
13387 if test x$gcc_no_link = xyes; then
13388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13390 { (exit 1); exit 1; }; }
13392 cat >conftest.$ac_ext <<_ACEOF
13393 /* confdefs.h. */
13394 _ACEOF
13395 cat confdefs.h >>conftest.$ac_ext
13396 cat >>conftest.$ac_ext <<_ACEOF
13397 /* end confdefs.h. */
13398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13400 #define $ac_func innocuous_$ac_func
13402 /* System header to define __stub macros and hopefully few prototypes,
13403 which can conflict with char $ac_func (); below.
13404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13405 <limits.h> exists even on freestanding compilers. */
13407 #ifdef __STDC__
13408 # include <limits.h>
13409 #else
13410 # include <assert.h>
13411 #endif
13413 #undef $ac_func
13415 /* Override any gcc2 internal prototype to avoid an error. */
13416 #ifdef __cplusplus
13417 extern "C"
13419 #endif
13420 /* We use char because int might match the return type of a gcc2
13421 builtin and then its argument prototype would still apply. */
13422 char $ac_func ();
13423 /* The GNU C library defines this for functions which it implements
13424 to always fail with ENOSYS. Some functions are actually named
13425 something starting with __ and the normal name is an alias. */
13426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13427 choke me
13428 #else
13429 char (*f) () = $ac_func;
13430 #endif
13431 #ifdef __cplusplus
13433 #endif
13436 main ()
13438 return f != $ac_func;
13440 return 0;
13442 _ACEOF
13443 rm -f conftest.$ac_objext conftest$ac_exeext
13444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13445 (eval $ac_link) 2>conftest.er1
13446 ac_status=$?
13447 grep -v '^ *+' conftest.er1 >conftest.err
13448 rm -f conftest.er1
13449 cat conftest.err >&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } &&
13452 { ac_try='test -z "$ac_c_werror_flag"
13453 || test ! -s conftest.err'
13454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455 (eval $ac_try) 2>&5
13456 ac_status=$?
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; } &&
13459 { ac_try='test -s conftest$ac_exeext'
13460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461 (eval $ac_try) 2>&5
13462 ac_status=$?
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; }; then
13465 eval "$as_ac_var=yes"
13466 else
13467 echo "$as_me: failed program was:" >&5
13468 sed 's/^/| /' conftest.$ac_ext >&5
13470 eval "$as_ac_var=no"
13472 rm -f conftest.err conftest.$ac_objext \
13473 conftest$ac_exeext conftest.$ac_ext
13475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13477 if test `eval echo '${'$as_ac_var'}'` = yes; then
13478 cat >>confdefs.h <<_ACEOF
13479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13480 _ACEOF
13483 done
13493 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13494 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13495 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13496 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13497 echo $ECHO_N "(cached) $ECHO_C" >&6
13498 else
13502 ac_ext=cc
13503 ac_cpp='$CXXCPP $CPPFLAGS'
13504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13508 cat >conftest.$ac_ext <<_ACEOF
13509 /* confdefs.h. */
13510 _ACEOF
13511 cat confdefs.h >>conftest.$ac_ext
13512 cat >>conftest.$ac_ext <<_ACEOF
13513 /* end confdefs.h. */
13514 #include <math.h>
13516 main ()
13518 atan2f(0, 0);
13520 return 0;
13522 _ACEOF
13523 rm -f conftest.$ac_objext
13524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13525 (eval $ac_compile) 2>conftest.er1
13526 ac_status=$?
13527 grep -v '^ *+' conftest.er1 >conftest.err
13528 rm -f conftest.er1
13529 cat conftest.err >&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); } &&
13532 { ac_try='test -z "$ac_cxx_werror_flag"
13533 || test ! -s conftest.err'
13534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13535 (eval $ac_try) 2>&5
13536 ac_status=$?
13537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13538 (exit $ac_status); }; } &&
13539 { ac_try='test -s conftest.$ac_objext'
13540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13541 (eval $ac_try) 2>&5
13542 ac_status=$?
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); }; }; then
13545 glibcxx_cv_func_atan2f_use=yes
13546 else
13547 echo "$as_me: failed program was:" >&5
13548 sed 's/^/| /' conftest.$ac_ext >&5
13550 glibcxx_cv_func_atan2f_use=no
13552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13553 ac_ext=c
13554 ac_cpp='$CPP $CPPFLAGS'
13555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13564 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13566 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13568 for ac_func in atan2f
13570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13571 echo "$as_me:$LINENO: checking for $ac_func" >&5
13572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13573 if eval "test \"\${$as_ac_var+set}\" = set"; then
13574 echo $ECHO_N "(cached) $ECHO_C" >&6
13575 else
13576 if test x$gcc_no_link = xyes; then
13577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13579 { (exit 1); exit 1; }; }
13581 cat >conftest.$ac_ext <<_ACEOF
13582 /* confdefs.h. */
13583 _ACEOF
13584 cat confdefs.h >>conftest.$ac_ext
13585 cat >>conftest.$ac_ext <<_ACEOF
13586 /* end confdefs.h. */
13587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13589 #define $ac_func innocuous_$ac_func
13591 /* System header to define __stub macros and hopefully few prototypes,
13592 which can conflict with char $ac_func (); below.
13593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13594 <limits.h> exists even on freestanding compilers. */
13596 #ifdef __STDC__
13597 # include <limits.h>
13598 #else
13599 # include <assert.h>
13600 #endif
13602 #undef $ac_func
13604 /* Override any gcc2 internal prototype to avoid an error. */
13605 #ifdef __cplusplus
13606 extern "C"
13608 #endif
13609 /* We use char because int might match the return type of a gcc2
13610 builtin and then its argument prototype would still apply. */
13611 char $ac_func ();
13612 /* The GNU C library defines this for functions which it implements
13613 to always fail with ENOSYS. Some functions are actually named
13614 something starting with __ and the normal name is an alias. */
13615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13616 choke me
13617 #else
13618 char (*f) () = $ac_func;
13619 #endif
13620 #ifdef __cplusplus
13622 #endif
13625 main ()
13627 return f != $ac_func;
13629 return 0;
13631 _ACEOF
13632 rm -f conftest.$ac_objext conftest$ac_exeext
13633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13634 (eval $ac_link) 2>conftest.er1
13635 ac_status=$?
13636 grep -v '^ *+' conftest.er1 >conftest.err
13637 rm -f conftest.er1
13638 cat conftest.err >&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } &&
13641 { ac_try='test -z "$ac_c_werror_flag"
13642 || test ! -s conftest.err'
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 (eval $ac_try) 2>&5
13645 ac_status=$?
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; } &&
13648 { ac_try='test -s conftest$ac_exeext'
13649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13651 ac_status=$?
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }; }; then
13654 eval "$as_ac_var=yes"
13655 else
13656 echo "$as_me: failed program was:" >&5
13657 sed 's/^/| /' conftest.$ac_ext >&5
13659 eval "$as_ac_var=no"
13661 rm -f conftest.err conftest.$ac_objext \
13662 conftest$ac_exeext conftest.$ac_ext
13664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13666 if test `eval echo '${'$as_ac_var'}'` = yes; then
13667 cat >>confdefs.h <<_ACEOF
13668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13669 _ACEOF
13672 done
13674 else
13676 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13677 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13678 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13679 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13680 echo $ECHO_N "(cached) $ECHO_C" >&6
13681 else
13685 ac_ext=cc
13686 ac_cpp='$CXXCPP $CPPFLAGS'
13687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13691 cat >conftest.$ac_ext <<_ACEOF
13692 /* confdefs.h. */
13693 _ACEOF
13694 cat confdefs.h >>conftest.$ac_ext
13695 cat >>conftest.$ac_ext <<_ACEOF
13696 /* end confdefs.h. */
13697 #include <math.h>
13699 main ()
13701 _atan2f(0, 0);
13703 return 0;
13705 _ACEOF
13706 rm -f conftest.$ac_objext
13707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13708 (eval $ac_compile) 2>conftest.er1
13709 ac_status=$?
13710 grep -v '^ *+' conftest.er1 >conftest.err
13711 rm -f conftest.er1
13712 cat conftest.err >&5
13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714 (exit $ac_status); } &&
13715 { ac_try='test -z "$ac_cxx_werror_flag"
13716 || test ! -s conftest.err'
13717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13718 (eval $ac_try) 2>&5
13719 ac_status=$?
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); }; } &&
13722 { ac_try='test -s conftest.$ac_objext'
13723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724 (eval $ac_try) 2>&5
13725 ac_status=$?
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); }; }; then
13728 glibcxx_cv_func__atan2f_use=yes
13729 else
13730 echo "$as_me: failed program was:" >&5
13731 sed 's/^/| /' conftest.$ac_ext >&5
13733 glibcxx_cv_func__atan2f_use=no
13735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13736 ac_ext=c
13737 ac_cpp='$CPP $CPPFLAGS'
13738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13746 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13747 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13749 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13751 for ac_func in _atan2f
13753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13754 echo "$as_me:$LINENO: checking for $ac_func" >&5
13755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13756 if eval "test \"\${$as_ac_var+set}\" = set"; then
13757 echo $ECHO_N "(cached) $ECHO_C" >&6
13758 else
13759 if test x$gcc_no_link = xyes; then
13760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13762 { (exit 1); exit 1; }; }
13764 cat >conftest.$ac_ext <<_ACEOF
13765 /* confdefs.h. */
13766 _ACEOF
13767 cat confdefs.h >>conftest.$ac_ext
13768 cat >>conftest.$ac_ext <<_ACEOF
13769 /* end confdefs.h. */
13770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13772 #define $ac_func innocuous_$ac_func
13774 /* System header to define __stub macros and hopefully few prototypes,
13775 which can conflict with char $ac_func (); below.
13776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13777 <limits.h> exists even on freestanding compilers. */
13779 #ifdef __STDC__
13780 # include <limits.h>
13781 #else
13782 # include <assert.h>
13783 #endif
13785 #undef $ac_func
13787 /* Override any gcc2 internal prototype to avoid an error. */
13788 #ifdef __cplusplus
13789 extern "C"
13791 #endif
13792 /* We use char because int might match the return type of a gcc2
13793 builtin and then its argument prototype would still apply. */
13794 char $ac_func ();
13795 /* The GNU C library defines this for functions which it implements
13796 to always fail with ENOSYS. Some functions are actually named
13797 something starting with __ and the normal name is an alias. */
13798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13799 choke me
13800 #else
13801 char (*f) () = $ac_func;
13802 #endif
13803 #ifdef __cplusplus
13805 #endif
13808 main ()
13810 return f != $ac_func;
13812 return 0;
13814 _ACEOF
13815 rm -f conftest.$ac_objext conftest$ac_exeext
13816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13817 (eval $ac_link) 2>conftest.er1
13818 ac_status=$?
13819 grep -v '^ *+' conftest.er1 >conftest.err
13820 rm -f conftest.er1
13821 cat conftest.err >&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); } &&
13824 { ac_try='test -z "$ac_c_werror_flag"
13825 || test ! -s conftest.err'
13826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13827 (eval $ac_try) 2>&5
13828 ac_status=$?
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); }; } &&
13831 { ac_try='test -s conftest$ac_exeext'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13834 ac_status=$?
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; }; then
13837 eval "$as_ac_var=yes"
13838 else
13839 echo "$as_me: failed program was:" >&5
13840 sed 's/^/| /' conftest.$ac_ext >&5
13842 eval "$as_ac_var=no"
13844 rm -f conftest.err conftest.$ac_objext \
13845 conftest$ac_exeext conftest.$ac_ext
13847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13849 if test `eval echo '${'$as_ac_var'}'` = yes; then
13850 cat >>confdefs.h <<_ACEOF
13851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13852 _ACEOF
13855 done
13865 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13866 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13867 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13868 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13869 echo $ECHO_N "(cached) $ECHO_C" >&6
13870 else
13874 ac_ext=cc
13875 ac_cpp='$CXXCPP $CPPFLAGS'
13876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13880 cat >conftest.$ac_ext <<_ACEOF
13881 /* confdefs.h. */
13882 _ACEOF
13883 cat confdefs.h >>conftest.$ac_ext
13884 cat >>conftest.$ac_ext <<_ACEOF
13885 /* end confdefs.h. */
13886 #include <math.h>
13887 #ifdef HAVE_IEEEFP_H
13888 #include <ieeefp.h>
13889 #endif
13892 main ()
13894 fabsf(0);
13896 return 0;
13898 _ACEOF
13899 rm -f conftest.$ac_objext
13900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13901 (eval $ac_compile) 2>conftest.er1
13902 ac_status=$?
13903 grep -v '^ *+' conftest.er1 >conftest.err
13904 rm -f conftest.er1
13905 cat conftest.err >&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } &&
13908 { ac_try='test -z "$ac_cxx_werror_flag"
13909 || test ! -s conftest.err'
13910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13911 (eval $ac_try) 2>&5
13912 ac_status=$?
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; } &&
13915 { ac_try='test -s conftest.$ac_objext'
13916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917 (eval $ac_try) 2>&5
13918 ac_status=$?
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; }; then
13921 glibcxx_cv_func_fabsf_use=yes
13922 else
13923 echo "$as_me: failed program was:" >&5
13924 sed 's/^/| /' conftest.$ac_ext >&5
13926 glibcxx_cv_func_fabsf_use=no
13928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13929 ac_ext=c
13930 ac_cpp='$CPP $CPPFLAGS'
13931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13939 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13940 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13942 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13944 for ac_func in fabsf
13946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13947 echo "$as_me:$LINENO: checking for $ac_func" >&5
13948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13949 if eval "test \"\${$as_ac_var+set}\" = set"; then
13950 echo $ECHO_N "(cached) $ECHO_C" >&6
13951 else
13952 if test x$gcc_no_link = xyes; then
13953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13955 { (exit 1); exit 1; }; }
13957 cat >conftest.$ac_ext <<_ACEOF
13958 /* confdefs.h. */
13959 _ACEOF
13960 cat confdefs.h >>conftest.$ac_ext
13961 cat >>conftest.$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13965 #define $ac_func innocuous_$ac_func
13967 /* System header to define __stub macros and hopefully few prototypes,
13968 which can conflict with char $ac_func (); below.
13969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13970 <limits.h> exists even on freestanding compilers. */
13972 #ifdef __STDC__
13973 # include <limits.h>
13974 #else
13975 # include <assert.h>
13976 #endif
13978 #undef $ac_func
13980 /* Override any gcc2 internal prototype to avoid an error. */
13981 #ifdef __cplusplus
13982 extern "C"
13984 #endif
13985 /* We use char because int might match the return type of a gcc2
13986 builtin and then its argument prototype would still apply. */
13987 char $ac_func ();
13988 /* The GNU C library defines this for functions which it implements
13989 to always fail with ENOSYS. Some functions are actually named
13990 something starting with __ and the normal name is an alias. */
13991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13992 choke me
13993 #else
13994 char (*f) () = $ac_func;
13995 #endif
13996 #ifdef __cplusplus
13998 #endif
14001 main ()
14003 return f != $ac_func;
14005 return 0;
14007 _ACEOF
14008 rm -f conftest.$ac_objext conftest$ac_exeext
14009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14010 (eval $ac_link) 2>conftest.er1
14011 ac_status=$?
14012 grep -v '^ *+' conftest.er1 >conftest.err
14013 rm -f conftest.er1
14014 cat conftest.err >&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); } &&
14017 { ac_try='test -z "$ac_c_werror_flag"
14018 || test ! -s conftest.err'
14019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14020 (eval $ac_try) 2>&5
14021 ac_status=$?
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); }; } &&
14024 { ac_try='test -s conftest$ac_exeext'
14025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14026 (eval $ac_try) 2>&5
14027 ac_status=$?
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; }; then
14030 eval "$as_ac_var=yes"
14031 else
14032 echo "$as_me: failed program was:" >&5
14033 sed 's/^/| /' conftest.$ac_ext >&5
14035 eval "$as_ac_var=no"
14037 rm -f conftest.err conftest.$ac_objext \
14038 conftest$ac_exeext conftest.$ac_ext
14040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14042 if test `eval echo '${'$as_ac_var'}'` = yes; then
14043 cat >>confdefs.h <<_ACEOF
14044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14045 _ACEOF
14048 done
14050 else
14052 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
14053 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
14054 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
14055 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 else
14061 ac_ext=cc
14062 ac_cpp='$CXXCPP $CPPFLAGS'
14063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14067 cat >conftest.$ac_ext <<_ACEOF
14068 /* confdefs.h. */
14069 _ACEOF
14070 cat confdefs.h >>conftest.$ac_ext
14071 cat >>conftest.$ac_ext <<_ACEOF
14072 /* end confdefs.h. */
14073 #include <math.h>
14074 #ifdef HAVE_IEEEFP_H
14075 #include <ieeefp.h>
14076 #endif
14079 main ()
14081 _fabsf(0);
14083 return 0;
14085 _ACEOF
14086 rm -f conftest.$ac_objext
14087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14088 (eval $ac_compile) 2>conftest.er1
14089 ac_status=$?
14090 grep -v '^ *+' conftest.er1 >conftest.err
14091 rm -f conftest.er1
14092 cat conftest.err >&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } &&
14095 { ac_try='test -z "$ac_cxx_werror_flag"
14096 || test ! -s conftest.err'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14099 ac_status=$?
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; } &&
14102 { ac_try='test -s conftest.$ac_objext'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14105 ac_status=$?
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; }; then
14108 glibcxx_cv_func__fabsf_use=yes
14109 else
14110 echo "$as_me: failed program was:" >&5
14111 sed 's/^/| /' conftest.$ac_ext >&5
14113 glibcxx_cv_func__fabsf_use=no
14115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14116 ac_ext=c
14117 ac_cpp='$CPP $CPPFLAGS'
14118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14126 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14127 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14129 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14131 for ac_func in _fabsf
14133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14134 echo "$as_me:$LINENO: checking for $ac_func" >&5
14135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14136 if eval "test \"\${$as_ac_var+set}\" = set"; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 else
14139 if test x$gcc_no_link = xyes; then
14140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14142 { (exit 1); exit 1; }; }
14144 cat >conftest.$ac_ext <<_ACEOF
14145 /* confdefs.h. */
14146 _ACEOF
14147 cat confdefs.h >>conftest.$ac_ext
14148 cat >>conftest.$ac_ext <<_ACEOF
14149 /* end confdefs.h. */
14150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14152 #define $ac_func innocuous_$ac_func
14154 /* System header to define __stub macros and hopefully few prototypes,
14155 which can conflict with char $ac_func (); below.
14156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14157 <limits.h> exists even on freestanding compilers. */
14159 #ifdef __STDC__
14160 # include <limits.h>
14161 #else
14162 # include <assert.h>
14163 #endif
14165 #undef $ac_func
14167 /* Override any gcc2 internal prototype to avoid an error. */
14168 #ifdef __cplusplus
14169 extern "C"
14171 #endif
14172 /* We use char because int might match the return type of a gcc2
14173 builtin and then its argument prototype would still apply. */
14174 char $ac_func ();
14175 /* The GNU C library defines this for functions which it implements
14176 to always fail with ENOSYS. Some functions are actually named
14177 something starting with __ and the normal name is an alias. */
14178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14179 choke me
14180 #else
14181 char (*f) () = $ac_func;
14182 #endif
14183 #ifdef __cplusplus
14185 #endif
14188 main ()
14190 return f != $ac_func;
14192 return 0;
14194 _ACEOF
14195 rm -f conftest.$ac_objext conftest$ac_exeext
14196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14197 (eval $ac_link) 2>conftest.er1
14198 ac_status=$?
14199 grep -v '^ *+' conftest.er1 >conftest.err
14200 rm -f conftest.er1
14201 cat conftest.err >&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); } &&
14204 { ac_try='test -z "$ac_c_werror_flag"
14205 || test ! -s conftest.err'
14206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207 (eval $ac_try) 2>&5
14208 ac_status=$?
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; } &&
14211 { ac_try='test -s conftest$ac_exeext'
14212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213 (eval $ac_try) 2>&5
14214 ac_status=$?
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; }; then
14217 eval "$as_ac_var=yes"
14218 else
14219 echo "$as_me: failed program was:" >&5
14220 sed 's/^/| /' conftest.$ac_ext >&5
14222 eval "$as_ac_var=no"
14224 rm -f conftest.err conftest.$ac_objext \
14225 conftest$ac_exeext conftest.$ac_ext
14227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14229 if test `eval echo '${'$as_ac_var'}'` = yes; then
14230 cat >>confdefs.h <<_ACEOF
14231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14232 _ACEOF
14235 done
14245 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14246 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14247 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14248 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14249 echo $ECHO_N "(cached) $ECHO_C" >&6
14250 else
14254 ac_ext=cc
14255 ac_cpp='$CXXCPP $CPPFLAGS'
14256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14260 cat >conftest.$ac_ext <<_ACEOF
14261 /* confdefs.h. */
14262 _ACEOF
14263 cat confdefs.h >>conftest.$ac_ext
14264 cat >>conftest.$ac_ext <<_ACEOF
14265 /* end confdefs.h. */
14266 #include <math.h>
14268 main ()
14270 fmodf(0, 0);
14272 return 0;
14274 _ACEOF
14275 rm -f conftest.$ac_objext
14276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14277 (eval $ac_compile) 2>conftest.er1
14278 ac_status=$?
14279 grep -v '^ *+' conftest.er1 >conftest.err
14280 rm -f conftest.er1
14281 cat conftest.err >&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); } &&
14284 { ac_try='test -z "$ac_cxx_werror_flag"
14285 || test ! -s conftest.err'
14286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14287 (eval $ac_try) 2>&5
14288 ac_status=$?
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); }; } &&
14291 { ac_try='test -s conftest.$ac_objext'
14292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14293 (eval $ac_try) 2>&5
14294 ac_status=$?
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); }; }; then
14297 glibcxx_cv_func_fmodf_use=yes
14298 else
14299 echo "$as_me: failed program was:" >&5
14300 sed 's/^/| /' conftest.$ac_ext >&5
14302 glibcxx_cv_func_fmodf_use=no
14304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14305 ac_ext=c
14306 ac_cpp='$CPP $CPPFLAGS'
14307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14316 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14318 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14320 for ac_func in fmodf
14322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14323 echo "$as_me:$LINENO: checking for $ac_func" >&5
14324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14325 if eval "test \"\${$as_ac_var+set}\" = set"; then
14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 else
14328 if test x$gcc_no_link = xyes; then
14329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14331 { (exit 1); exit 1; }; }
14333 cat >conftest.$ac_ext <<_ACEOF
14334 /* confdefs.h. */
14335 _ACEOF
14336 cat confdefs.h >>conftest.$ac_ext
14337 cat >>conftest.$ac_ext <<_ACEOF
14338 /* end confdefs.h. */
14339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14341 #define $ac_func innocuous_$ac_func
14343 /* System header to define __stub macros and hopefully few prototypes,
14344 which can conflict with char $ac_func (); below.
14345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14346 <limits.h> exists even on freestanding compilers. */
14348 #ifdef __STDC__
14349 # include <limits.h>
14350 #else
14351 # include <assert.h>
14352 #endif
14354 #undef $ac_func
14356 /* Override any gcc2 internal prototype to avoid an error. */
14357 #ifdef __cplusplus
14358 extern "C"
14360 #endif
14361 /* We use char because int might match the return type of a gcc2
14362 builtin and then its argument prototype would still apply. */
14363 char $ac_func ();
14364 /* The GNU C library defines this for functions which it implements
14365 to always fail with ENOSYS. Some functions are actually named
14366 something starting with __ and the normal name is an alias. */
14367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14368 choke me
14369 #else
14370 char (*f) () = $ac_func;
14371 #endif
14372 #ifdef __cplusplus
14374 #endif
14377 main ()
14379 return f != $ac_func;
14381 return 0;
14383 _ACEOF
14384 rm -f conftest.$ac_objext conftest$ac_exeext
14385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14386 (eval $ac_link) 2>conftest.er1
14387 ac_status=$?
14388 grep -v '^ *+' conftest.er1 >conftest.err
14389 rm -f conftest.er1
14390 cat conftest.err >&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); } &&
14393 { ac_try='test -z "$ac_c_werror_flag"
14394 || test ! -s conftest.err'
14395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14396 (eval $ac_try) 2>&5
14397 ac_status=$?
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); }; } &&
14400 { ac_try='test -s conftest$ac_exeext'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14403 ac_status=$?
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; }; then
14406 eval "$as_ac_var=yes"
14407 else
14408 echo "$as_me: failed program was:" >&5
14409 sed 's/^/| /' conftest.$ac_ext >&5
14411 eval "$as_ac_var=no"
14413 rm -f conftest.err conftest.$ac_objext \
14414 conftest$ac_exeext conftest.$ac_ext
14416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14418 if test `eval echo '${'$as_ac_var'}'` = yes; then
14419 cat >>confdefs.h <<_ACEOF
14420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14421 _ACEOF
14424 done
14426 else
14428 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14429 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14430 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14431 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14433 else
14437 ac_ext=cc
14438 ac_cpp='$CXXCPP $CPPFLAGS'
14439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14443 cat >conftest.$ac_ext <<_ACEOF
14444 /* confdefs.h. */
14445 _ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449 #include <math.h>
14451 main ()
14453 _fmodf(0, 0);
14455 return 0;
14457 _ACEOF
14458 rm -f conftest.$ac_objext
14459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14460 (eval $ac_compile) 2>conftest.er1
14461 ac_status=$?
14462 grep -v '^ *+' conftest.er1 >conftest.err
14463 rm -f conftest.er1
14464 cat conftest.err >&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); } &&
14467 { ac_try='test -z "$ac_cxx_werror_flag"
14468 || test ! -s conftest.err'
14469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14470 (eval $ac_try) 2>&5
14471 ac_status=$?
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; } &&
14474 { ac_try='test -s conftest.$ac_objext'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14477 ac_status=$?
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; }; then
14480 glibcxx_cv_func__fmodf_use=yes
14481 else
14482 echo "$as_me: failed program was:" >&5
14483 sed 's/^/| /' conftest.$ac_ext >&5
14485 glibcxx_cv_func__fmodf_use=no
14487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14488 ac_ext=c
14489 ac_cpp='$CPP $CPPFLAGS'
14490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14499 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14501 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14503 for ac_func in _fmodf
14505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14506 echo "$as_me:$LINENO: checking for $ac_func" >&5
14507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14508 if eval "test \"\${$as_ac_var+set}\" = set"; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14510 else
14511 if test x$gcc_no_link = xyes; then
14512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14514 { (exit 1); exit 1; }; }
14516 cat >conftest.$ac_ext <<_ACEOF
14517 /* confdefs.h. */
14518 _ACEOF
14519 cat confdefs.h >>conftest.$ac_ext
14520 cat >>conftest.$ac_ext <<_ACEOF
14521 /* end confdefs.h. */
14522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14524 #define $ac_func innocuous_$ac_func
14526 /* System header to define __stub macros and hopefully few prototypes,
14527 which can conflict with char $ac_func (); below.
14528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14529 <limits.h> exists even on freestanding compilers. */
14531 #ifdef __STDC__
14532 # include <limits.h>
14533 #else
14534 # include <assert.h>
14535 #endif
14537 #undef $ac_func
14539 /* Override any gcc2 internal prototype to avoid an error. */
14540 #ifdef __cplusplus
14541 extern "C"
14543 #endif
14544 /* We use char because int might match the return type of a gcc2
14545 builtin and then its argument prototype would still apply. */
14546 char $ac_func ();
14547 /* The GNU C library defines this for functions which it implements
14548 to always fail with ENOSYS. Some functions are actually named
14549 something starting with __ and the normal name is an alias. */
14550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14551 choke me
14552 #else
14553 char (*f) () = $ac_func;
14554 #endif
14555 #ifdef __cplusplus
14557 #endif
14560 main ()
14562 return f != $ac_func;
14564 return 0;
14566 _ACEOF
14567 rm -f conftest.$ac_objext conftest$ac_exeext
14568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14569 (eval $ac_link) 2>conftest.er1
14570 ac_status=$?
14571 grep -v '^ *+' conftest.er1 >conftest.err
14572 rm -f conftest.er1
14573 cat conftest.err >&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); } &&
14576 { ac_try='test -z "$ac_c_werror_flag"
14577 || test ! -s conftest.err'
14578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14579 (eval $ac_try) 2>&5
14580 ac_status=$?
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); }; } &&
14583 { ac_try='test -s conftest$ac_exeext'
14584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14585 (eval $ac_try) 2>&5
14586 ac_status=$?
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); }; }; then
14589 eval "$as_ac_var=yes"
14590 else
14591 echo "$as_me: failed program was:" >&5
14592 sed 's/^/| /' conftest.$ac_ext >&5
14594 eval "$as_ac_var=no"
14596 rm -f conftest.err conftest.$ac_objext \
14597 conftest$ac_exeext conftest.$ac_ext
14599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14601 if test `eval echo '${'$as_ac_var'}'` = yes; then
14602 cat >>confdefs.h <<_ACEOF
14603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14604 _ACEOF
14607 done
14617 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14618 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14619 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14620 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14621 echo $ECHO_N "(cached) $ECHO_C" >&6
14622 else
14626 ac_ext=cc
14627 ac_cpp='$CXXCPP $CPPFLAGS'
14628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14632 cat >conftest.$ac_ext <<_ACEOF
14633 /* confdefs.h. */
14634 _ACEOF
14635 cat confdefs.h >>conftest.$ac_ext
14636 cat >>conftest.$ac_ext <<_ACEOF
14637 /* end confdefs.h. */
14638 #include <math.h>
14640 main ()
14642 frexpf(0, 0);
14644 return 0;
14646 _ACEOF
14647 rm -f conftest.$ac_objext
14648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14649 (eval $ac_compile) 2>conftest.er1
14650 ac_status=$?
14651 grep -v '^ *+' conftest.er1 >conftest.err
14652 rm -f conftest.er1
14653 cat conftest.err >&5
14654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 (exit $ac_status); } &&
14656 { ac_try='test -z "$ac_cxx_werror_flag"
14657 || test ! -s conftest.err'
14658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14659 (eval $ac_try) 2>&5
14660 ac_status=$?
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; } &&
14663 { ac_try='test -s conftest.$ac_objext'
14664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14665 (eval $ac_try) 2>&5
14666 ac_status=$?
14667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14668 (exit $ac_status); }; }; then
14669 glibcxx_cv_func_frexpf_use=yes
14670 else
14671 echo "$as_me: failed program was:" >&5
14672 sed 's/^/| /' conftest.$ac_ext >&5
14674 glibcxx_cv_func_frexpf_use=no
14676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14677 ac_ext=c
14678 ac_cpp='$CPP $CPPFLAGS'
14679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14687 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14688 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14690 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14692 for ac_func in frexpf
14694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14695 echo "$as_me:$LINENO: checking for $ac_func" >&5
14696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14697 if eval "test \"\${$as_ac_var+set}\" = set"; then
14698 echo $ECHO_N "(cached) $ECHO_C" >&6
14699 else
14700 if test x$gcc_no_link = xyes; then
14701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14703 { (exit 1); exit 1; }; }
14705 cat >conftest.$ac_ext <<_ACEOF
14706 /* confdefs.h. */
14707 _ACEOF
14708 cat confdefs.h >>conftest.$ac_ext
14709 cat >>conftest.$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14713 #define $ac_func innocuous_$ac_func
14715 /* System header to define __stub macros and hopefully few prototypes,
14716 which can conflict with char $ac_func (); below.
14717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14718 <limits.h> exists even on freestanding compilers. */
14720 #ifdef __STDC__
14721 # include <limits.h>
14722 #else
14723 # include <assert.h>
14724 #endif
14726 #undef $ac_func
14728 /* Override any gcc2 internal prototype to avoid an error. */
14729 #ifdef __cplusplus
14730 extern "C"
14732 #endif
14733 /* We use char because int might match the return type of a gcc2
14734 builtin and then its argument prototype would still apply. */
14735 char $ac_func ();
14736 /* The GNU C library defines this for functions which it implements
14737 to always fail with ENOSYS. Some functions are actually named
14738 something starting with __ and the normal name is an alias. */
14739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14740 choke me
14741 #else
14742 char (*f) () = $ac_func;
14743 #endif
14744 #ifdef __cplusplus
14746 #endif
14749 main ()
14751 return f != $ac_func;
14753 return 0;
14755 _ACEOF
14756 rm -f conftest.$ac_objext conftest$ac_exeext
14757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14758 (eval $ac_link) 2>conftest.er1
14759 ac_status=$?
14760 grep -v '^ *+' conftest.er1 >conftest.err
14761 rm -f conftest.er1
14762 cat conftest.err >&5
14763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764 (exit $ac_status); } &&
14765 { ac_try='test -z "$ac_c_werror_flag"
14766 || test ! -s conftest.err'
14767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14768 (eval $ac_try) 2>&5
14769 ac_status=$?
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); }; } &&
14772 { ac_try='test -s conftest$ac_exeext'
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774 (eval $ac_try) 2>&5
14775 ac_status=$?
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }; }; then
14778 eval "$as_ac_var=yes"
14779 else
14780 echo "$as_me: failed program was:" >&5
14781 sed 's/^/| /' conftest.$ac_ext >&5
14783 eval "$as_ac_var=no"
14785 rm -f conftest.err conftest.$ac_objext \
14786 conftest$ac_exeext conftest.$ac_ext
14788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14790 if test `eval echo '${'$as_ac_var'}'` = yes; then
14791 cat >>confdefs.h <<_ACEOF
14792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14793 _ACEOF
14796 done
14798 else
14800 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14801 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14802 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14803 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14804 echo $ECHO_N "(cached) $ECHO_C" >&6
14805 else
14809 ac_ext=cc
14810 ac_cpp='$CXXCPP $CPPFLAGS'
14811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14815 cat >conftest.$ac_ext <<_ACEOF
14816 /* confdefs.h. */
14817 _ACEOF
14818 cat confdefs.h >>conftest.$ac_ext
14819 cat >>conftest.$ac_ext <<_ACEOF
14820 /* end confdefs.h. */
14821 #include <math.h>
14823 main ()
14825 _frexpf(0, 0);
14827 return 0;
14829 _ACEOF
14830 rm -f conftest.$ac_objext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14832 (eval $ac_compile) 2>conftest.er1
14833 ac_status=$?
14834 grep -v '^ *+' conftest.er1 >conftest.err
14835 rm -f conftest.er1
14836 cat conftest.err >&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try='test -z "$ac_cxx_werror_flag"
14840 || test ! -s conftest.err'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14843 ac_status=$?
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; } &&
14846 { ac_try='test -s conftest.$ac_objext'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14849 ac_status=$?
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; }; then
14852 glibcxx_cv_func__frexpf_use=yes
14853 else
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14857 glibcxx_cv_func__frexpf_use=no
14859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14860 ac_ext=c
14861 ac_cpp='$CPP $CPPFLAGS'
14862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14870 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14871 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14873 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14875 for ac_func in _frexpf
14877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14878 echo "$as_me:$LINENO: checking for $ac_func" >&5
14879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14880 if eval "test \"\${$as_ac_var+set}\" = set"; then
14881 echo $ECHO_N "(cached) $ECHO_C" >&6
14882 else
14883 if test x$gcc_no_link = xyes; then
14884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14886 { (exit 1); exit 1; }; }
14888 cat >conftest.$ac_ext <<_ACEOF
14889 /* confdefs.h. */
14890 _ACEOF
14891 cat confdefs.h >>conftest.$ac_ext
14892 cat >>conftest.$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14896 #define $ac_func innocuous_$ac_func
14898 /* System header to define __stub macros and hopefully few prototypes,
14899 which can conflict with char $ac_func (); below.
14900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14901 <limits.h> exists even on freestanding compilers. */
14903 #ifdef __STDC__
14904 # include <limits.h>
14905 #else
14906 # include <assert.h>
14907 #endif
14909 #undef $ac_func
14911 /* Override any gcc2 internal prototype to avoid an error. */
14912 #ifdef __cplusplus
14913 extern "C"
14915 #endif
14916 /* We use char because int might match the return type of a gcc2
14917 builtin and then its argument prototype would still apply. */
14918 char $ac_func ();
14919 /* The GNU C library defines this for functions which it implements
14920 to always fail with ENOSYS. Some functions are actually named
14921 something starting with __ and the normal name is an alias. */
14922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14923 choke me
14924 #else
14925 char (*f) () = $ac_func;
14926 #endif
14927 #ifdef __cplusplus
14929 #endif
14932 main ()
14934 return f != $ac_func;
14936 return 0;
14938 _ACEOF
14939 rm -f conftest.$ac_objext conftest$ac_exeext
14940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14941 (eval $ac_link) 2>conftest.er1
14942 ac_status=$?
14943 grep -v '^ *+' conftest.er1 >conftest.err
14944 rm -f conftest.er1
14945 cat conftest.err >&5
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); } &&
14948 { ac_try='test -z "$ac_c_werror_flag"
14949 || test ! -s conftest.err'
14950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14951 (eval $ac_try) 2>&5
14952 ac_status=$?
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); }; } &&
14955 { ac_try='test -s conftest$ac_exeext'
14956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14957 (eval $ac_try) 2>&5
14958 ac_status=$?
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); }; }; then
14961 eval "$as_ac_var=yes"
14962 else
14963 echo "$as_me: failed program was:" >&5
14964 sed 's/^/| /' conftest.$ac_ext >&5
14966 eval "$as_ac_var=no"
14968 rm -f conftest.err conftest.$ac_objext \
14969 conftest$ac_exeext conftest.$ac_ext
14971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14973 if test `eval echo '${'$as_ac_var'}'` = yes; then
14974 cat >>confdefs.h <<_ACEOF
14975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14976 _ACEOF
14979 done
14989 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14990 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14991 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14992 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14993 echo $ECHO_N "(cached) $ECHO_C" >&6
14994 else
14998 ac_ext=cc
14999 ac_cpp='$CXXCPP $CPPFLAGS'
15000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15004 cat >conftest.$ac_ext <<_ACEOF
15005 /* confdefs.h. */
15006 _ACEOF
15007 cat confdefs.h >>conftest.$ac_ext
15008 cat >>conftest.$ac_ext <<_ACEOF
15009 /* end confdefs.h. */
15010 #include <math.h>
15012 main ()
15014 hypotf(0, 0);
15016 return 0;
15018 _ACEOF
15019 rm -f conftest.$ac_objext
15020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15021 (eval $ac_compile) 2>conftest.er1
15022 ac_status=$?
15023 grep -v '^ *+' conftest.er1 >conftest.err
15024 rm -f conftest.er1
15025 cat conftest.err >&5
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); } &&
15028 { ac_try='test -z "$ac_cxx_werror_flag"
15029 || test ! -s conftest.err'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15032 ac_status=$?
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; } &&
15035 { ac_try='test -s conftest.$ac_objext'
15036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037 (eval $ac_try) 2>&5
15038 ac_status=$?
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; }; then
15041 glibcxx_cv_func_hypotf_use=yes
15042 else
15043 echo "$as_me: failed program was:" >&5
15044 sed 's/^/| /' conftest.$ac_ext >&5
15046 glibcxx_cv_func_hypotf_use=no
15048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15049 ac_ext=c
15050 ac_cpp='$CPP $CPPFLAGS'
15051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
15060 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
15062 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
15064 for ac_func in hypotf
15066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15067 echo "$as_me:$LINENO: checking for $ac_func" >&5
15068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15069 if eval "test \"\${$as_ac_var+set}\" = set"; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 else
15072 if test x$gcc_no_link = xyes; then
15073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15075 { (exit 1); exit 1; }; }
15077 cat >conftest.$ac_ext <<_ACEOF
15078 /* confdefs.h. */
15079 _ACEOF
15080 cat confdefs.h >>conftest.$ac_ext
15081 cat >>conftest.$ac_ext <<_ACEOF
15082 /* end confdefs.h. */
15083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15085 #define $ac_func innocuous_$ac_func
15087 /* System header to define __stub macros and hopefully few prototypes,
15088 which can conflict with char $ac_func (); below.
15089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15090 <limits.h> exists even on freestanding compilers. */
15092 #ifdef __STDC__
15093 # include <limits.h>
15094 #else
15095 # include <assert.h>
15096 #endif
15098 #undef $ac_func
15100 /* Override any gcc2 internal prototype to avoid an error. */
15101 #ifdef __cplusplus
15102 extern "C"
15104 #endif
15105 /* We use char because int might match the return type of a gcc2
15106 builtin and then its argument prototype would still apply. */
15107 char $ac_func ();
15108 /* The GNU C library defines this for functions which it implements
15109 to always fail with ENOSYS. Some functions are actually named
15110 something starting with __ and the normal name is an alias. */
15111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15112 choke me
15113 #else
15114 char (*f) () = $ac_func;
15115 #endif
15116 #ifdef __cplusplus
15118 #endif
15121 main ()
15123 return f != $ac_func;
15125 return 0;
15127 _ACEOF
15128 rm -f conftest.$ac_objext conftest$ac_exeext
15129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15130 (eval $ac_link) 2>conftest.er1
15131 ac_status=$?
15132 grep -v '^ *+' conftest.er1 >conftest.err
15133 rm -f conftest.er1
15134 cat conftest.err >&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); } &&
15137 { ac_try='test -z "$ac_c_werror_flag"
15138 || test ! -s conftest.err'
15139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140 (eval $ac_try) 2>&5
15141 ac_status=$?
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); }; } &&
15144 { ac_try='test -s conftest$ac_exeext'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15147 ac_status=$?
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; }; then
15150 eval "$as_ac_var=yes"
15151 else
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.$ac_ext >&5
15155 eval "$as_ac_var=no"
15157 rm -f conftest.err conftest.$ac_objext \
15158 conftest$ac_exeext conftest.$ac_ext
15160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15162 if test `eval echo '${'$as_ac_var'}'` = yes; then
15163 cat >>confdefs.h <<_ACEOF
15164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15165 _ACEOF
15168 done
15170 else
15172 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15173 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15174 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15175 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15176 echo $ECHO_N "(cached) $ECHO_C" >&6
15177 else
15181 ac_ext=cc
15182 ac_cpp='$CXXCPP $CPPFLAGS'
15183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15187 cat >conftest.$ac_ext <<_ACEOF
15188 /* confdefs.h. */
15189 _ACEOF
15190 cat confdefs.h >>conftest.$ac_ext
15191 cat >>conftest.$ac_ext <<_ACEOF
15192 /* end confdefs.h. */
15193 #include <math.h>
15195 main ()
15197 _hypotf(0, 0);
15199 return 0;
15201 _ACEOF
15202 rm -f conftest.$ac_objext
15203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15204 (eval $ac_compile) 2>conftest.er1
15205 ac_status=$?
15206 grep -v '^ *+' conftest.er1 >conftest.err
15207 rm -f conftest.er1
15208 cat conftest.err >&5
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); } &&
15211 { ac_try='test -z "$ac_cxx_werror_flag"
15212 || test ! -s conftest.err'
15213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15214 (eval $ac_try) 2>&5
15215 ac_status=$?
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); }; } &&
15218 { ac_try='test -s conftest.$ac_objext'
15219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15220 (eval $ac_try) 2>&5
15221 ac_status=$?
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); }; }; then
15224 glibcxx_cv_func__hypotf_use=yes
15225 else
15226 echo "$as_me: failed program was:" >&5
15227 sed 's/^/| /' conftest.$ac_ext >&5
15229 glibcxx_cv_func__hypotf_use=no
15231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15232 ac_ext=c
15233 ac_cpp='$CPP $CPPFLAGS'
15234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15242 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15243 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15245 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15247 for ac_func in _hypotf
15249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15250 echo "$as_me:$LINENO: checking for $ac_func" >&5
15251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15252 if eval "test \"\${$as_ac_var+set}\" = set"; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15254 else
15255 if test x$gcc_no_link = xyes; then
15256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15258 { (exit 1); exit 1; }; }
15260 cat >conftest.$ac_ext <<_ACEOF
15261 /* confdefs.h. */
15262 _ACEOF
15263 cat confdefs.h >>conftest.$ac_ext
15264 cat >>conftest.$ac_ext <<_ACEOF
15265 /* end confdefs.h. */
15266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15268 #define $ac_func innocuous_$ac_func
15270 /* System header to define __stub macros and hopefully few prototypes,
15271 which can conflict with char $ac_func (); below.
15272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15273 <limits.h> exists even on freestanding compilers. */
15275 #ifdef __STDC__
15276 # include <limits.h>
15277 #else
15278 # include <assert.h>
15279 #endif
15281 #undef $ac_func
15283 /* Override any gcc2 internal prototype to avoid an error. */
15284 #ifdef __cplusplus
15285 extern "C"
15287 #endif
15288 /* We use char because int might match the return type of a gcc2
15289 builtin and then its argument prototype would still apply. */
15290 char $ac_func ();
15291 /* The GNU C library defines this for functions which it implements
15292 to always fail with ENOSYS. Some functions are actually named
15293 something starting with __ and the normal name is an alias. */
15294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15295 choke me
15296 #else
15297 char (*f) () = $ac_func;
15298 #endif
15299 #ifdef __cplusplus
15301 #endif
15304 main ()
15306 return f != $ac_func;
15308 return 0;
15310 _ACEOF
15311 rm -f conftest.$ac_objext conftest$ac_exeext
15312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15313 (eval $ac_link) 2>conftest.er1
15314 ac_status=$?
15315 grep -v '^ *+' conftest.er1 >conftest.err
15316 rm -f conftest.er1
15317 cat conftest.err >&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); } &&
15320 { ac_try='test -z "$ac_c_werror_flag"
15321 || test ! -s conftest.err'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15324 ac_status=$?
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; } &&
15327 { ac_try='test -s conftest$ac_exeext'
15328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329 (eval $ac_try) 2>&5
15330 ac_status=$?
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); }; }; then
15333 eval "$as_ac_var=yes"
15334 else
15335 echo "$as_me: failed program was:" >&5
15336 sed 's/^/| /' conftest.$ac_ext >&5
15338 eval "$as_ac_var=no"
15340 rm -f conftest.err conftest.$ac_objext \
15341 conftest$ac_exeext conftest.$ac_ext
15343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15345 if test `eval echo '${'$as_ac_var'}'` = yes; then
15346 cat >>confdefs.h <<_ACEOF
15347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15348 _ACEOF
15351 done
15361 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15362 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15363 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15364 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15365 echo $ECHO_N "(cached) $ECHO_C" >&6
15366 else
15370 ac_ext=cc
15371 ac_cpp='$CXXCPP $CPPFLAGS'
15372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15376 cat >conftest.$ac_ext <<_ACEOF
15377 /* confdefs.h. */
15378 _ACEOF
15379 cat confdefs.h >>conftest.$ac_ext
15380 cat >>conftest.$ac_ext <<_ACEOF
15381 /* end confdefs.h. */
15382 #include <math.h>
15384 main ()
15386 ldexpf(0, 0);
15388 return 0;
15390 _ACEOF
15391 rm -f conftest.$ac_objext
15392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15393 (eval $ac_compile) 2>conftest.er1
15394 ac_status=$?
15395 grep -v '^ *+' conftest.er1 >conftest.err
15396 rm -f conftest.er1
15397 cat conftest.err >&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); } &&
15400 { ac_try='test -z "$ac_cxx_werror_flag"
15401 || test ! -s conftest.err'
15402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15403 (eval $ac_try) 2>&5
15404 ac_status=$?
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); }; } &&
15407 { ac_try='test -s conftest.$ac_objext'
15408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15409 (eval $ac_try) 2>&5
15410 ac_status=$?
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); }; }; then
15413 glibcxx_cv_func_ldexpf_use=yes
15414 else
15415 echo "$as_me: failed program was:" >&5
15416 sed 's/^/| /' conftest.$ac_ext >&5
15418 glibcxx_cv_func_ldexpf_use=no
15420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15421 ac_ext=c
15422 ac_cpp='$CPP $CPPFLAGS'
15423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15431 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15432 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15434 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15436 for ac_func in ldexpf
15438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15439 echo "$as_me:$LINENO: checking for $ac_func" >&5
15440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15441 if eval "test \"\${$as_ac_var+set}\" = set"; then
15442 echo $ECHO_N "(cached) $ECHO_C" >&6
15443 else
15444 if test x$gcc_no_link = xyes; then
15445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15447 { (exit 1); exit 1; }; }
15449 cat >conftest.$ac_ext <<_ACEOF
15450 /* confdefs.h. */
15451 _ACEOF
15452 cat confdefs.h >>conftest.$ac_ext
15453 cat >>conftest.$ac_ext <<_ACEOF
15454 /* end confdefs.h. */
15455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15457 #define $ac_func innocuous_$ac_func
15459 /* System header to define __stub macros and hopefully few prototypes,
15460 which can conflict with char $ac_func (); below.
15461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15462 <limits.h> exists even on freestanding compilers. */
15464 #ifdef __STDC__
15465 # include <limits.h>
15466 #else
15467 # include <assert.h>
15468 #endif
15470 #undef $ac_func
15472 /* Override any gcc2 internal prototype to avoid an error. */
15473 #ifdef __cplusplus
15474 extern "C"
15476 #endif
15477 /* We use char because int might match the return type of a gcc2
15478 builtin and then its argument prototype would still apply. */
15479 char $ac_func ();
15480 /* The GNU C library defines this for functions which it implements
15481 to always fail with ENOSYS. Some functions are actually named
15482 something starting with __ and the normal name is an alias. */
15483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15484 choke me
15485 #else
15486 char (*f) () = $ac_func;
15487 #endif
15488 #ifdef __cplusplus
15490 #endif
15493 main ()
15495 return f != $ac_func;
15497 return 0;
15499 _ACEOF
15500 rm -f conftest.$ac_objext conftest$ac_exeext
15501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15502 (eval $ac_link) 2>conftest.er1
15503 ac_status=$?
15504 grep -v '^ *+' conftest.er1 >conftest.err
15505 rm -f conftest.er1
15506 cat conftest.err >&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); } &&
15509 { ac_try='test -z "$ac_c_werror_flag"
15510 || test ! -s conftest.err'
15511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15512 (eval $ac_try) 2>&5
15513 ac_status=$?
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); }; } &&
15516 { ac_try='test -s conftest$ac_exeext'
15517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518 (eval $ac_try) 2>&5
15519 ac_status=$?
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; }; then
15522 eval "$as_ac_var=yes"
15523 else
15524 echo "$as_me: failed program was:" >&5
15525 sed 's/^/| /' conftest.$ac_ext >&5
15527 eval "$as_ac_var=no"
15529 rm -f conftest.err conftest.$ac_objext \
15530 conftest$ac_exeext conftest.$ac_ext
15532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15534 if test `eval echo '${'$as_ac_var'}'` = yes; then
15535 cat >>confdefs.h <<_ACEOF
15536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15537 _ACEOF
15540 done
15542 else
15544 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15545 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15546 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15547 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15548 echo $ECHO_N "(cached) $ECHO_C" >&6
15549 else
15553 ac_ext=cc
15554 ac_cpp='$CXXCPP $CPPFLAGS'
15555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15559 cat >conftest.$ac_ext <<_ACEOF
15560 /* confdefs.h. */
15561 _ACEOF
15562 cat confdefs.h >>conftest.$ac_ext
15563 cat >>conftest.$ac_ext <<_ACEOF
15564 /* end confdefs.h. */
15565 #include <math.h>
15567 main ()
15569 _ldexpf(0, 0);
15571 return 0;
15573 _ACEOF
15574 rm -f conftest.$ac_objext
15575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15576 (eval $ac_compile) 2>conftest.er1
15577 ac_status=$?
15578 grep -v '^ *+' conftest.er1 >conftest.err
15579 rm -f conftest.er1
15580 cat conftest.err >&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); } &&
15583 { ac_try='test -z "$ac_cxx_werror_flag"
15584 || test ! -s conftest.err'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15587 ac_status=$?
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; } &&
15590 { ac_try='test -s conftest.$ac_objext'
15591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592 (eval $ac_try) 2>&5
15593 ac_status=$?
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }; }; then
15596 glibcxx_cv_func__ldexpf_use=yes
15597 else
15598 echo "$as_me: failed program was:" >&5
15599 sed 's/^/| /' conftest.$ac_ext >&5
15601 glibcxx_cv_func__ldexpf_use=no
15603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15604 ac_ext=c
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15614 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15615 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15617 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15619 for ac_func in _ldexpf
15621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15622 echo "$as_me:$LINENO: checking for $ac_func" >&5
15623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15624 if eval "test \"\${$as_ac_var+set}\" = set"; then
15625 echo $ECHO_N "(cached) $ECHO_C" >&6
15626 else
15627 if test x$gcc_no_link = xyes; then
15628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15630 { (exit 1); exit 1; }; }
15632 cat >conftest.$ac_ext <<_ACEOF
15633 /* confdefs.h. */
15634 _ACEOF
15635 cat confdefs.h >>conftest.$ac_ext
15636 cat >>conftest.$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15640 #define $ac_func innocuous_$ac_func
15642 /* System header to define __stub macros and hopefully few prototypes,
15643 which can conflict with char $ac_func (); below.
15644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15645 <limits.h> exists even on freestanding compilers. */
15647 #ifdef __STDC__
15648 # include <limits.h>
15649 #else
15650 # include <assert.h>
15651 #endif
15653 #undef $ac_func
15655 /* Override any gcc2 internal prototype to avoid an error. */
15656 #ifdef __cplusplus
15657 extern "C"
15659 #endif
15660 /* We use char because int might match the return type of a gcc2
15661 builtin and then its argument prototype would still apply. */
15662 char $ac_func ();
15663 /* The GNU C library defines this for functions which it implements
15664 to always fail with ENOSYS. Some functions are actually named
15665 something starting with __ and the normal name is an alias. */
15666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15667 choke me
15668 #else
15669 char (*f) () = $ac_func;
15670 #endif
15671 #ifdef __cplusplus
15673 #endif
15676 main ()
15678 return f != $ac_func;
15680 return 0;
15682 _ACEOF
15683 rm -f conftest.$ac_objext conftest$ac_exeext
15684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15685 (eval $ac_link) 2>conftest.er1
15686 ac_status=$?
15687 grep -v '^ *+' conftest.er1 >conftest.err
15688 rm -f conftest.er1
15689 cat conftest.err >&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } &&
15692 { ac_try='test -z "$ac_c_werror_flag"
15693 || test ! -s conftest.err'
15694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15695 (eval $ac_try) 2>&5
15696 ac_status=$?
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); }; } &&
15699 { ac_try='test -s conftest$ac_exeext'
15700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15701 (eval $ac_try) 2>&5
15702 ac_status=$?
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); }; }; then
15705 eval "$as_ac_var=yes"
15706 else
15707 echo "$as_me: failed program was:" >&5
15708 sed 's/^/| /' conftest.$ac_ext >&5
15710 eval "$as_ac_var=no"
15712 rm -f conftest.err conftest.$ac_objext \
15713 conftest$ac_exeext conftest.$ac_ext
15715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15717 if test `eval echo '${'$as_ac_var'}'` = yes; then
15718 cat >>confdefs.h <<_ACEOF
15719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15720 _ACEOF
15723 done
15733 echo "$as_me:$LINENO: checking for logf declaration" >&5
15734 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15735 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15736 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15737 echo $ECHO_N "(cached) $ECHO_C" >&6
15738 else
15742 ac_ext=cc
15743 ac_cpp='$CXXCPP $CPPFLAGS'
15744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15748 cat >conftest.$ac_ext <<_ACEOF
15749 /* confdefs.h. */
15750 _ACEOF
15751 cat confdefs.h >>conftest.$ac_ext
15752 cat >>conftest.$ac_ext <<_ACEOF
15753 /* end confdefs.h. */
15754 #include <math.h>
15755 #ifdef HAVE_IEEEFP_H
15756 #include <ieeefp.h>
15757 #endif
15760 main ()
15762 logf(0);
15764 return 0;
15766 _ACEOF
15767 rm -f conftest.$ac_objext
15768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15769 (eval $ac_compile) 2>conftest.er1
15770 ac_status=$?
15771 grep -v '^ *+' conftest.er1 >conftest.err
15772 rm -f conftest.er1
15773 cat conftest.err >&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); } &&
15776 { ac_try='test -z "$ac_cxx_werror_flag"
15777 || test ! -s conftest.err'
15778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15779 (eval $ac_try) 2>&5
15780 ac_status=$?
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); }; } &&
15783 { ac_try='test -s conftest.$ac_objext'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15786 ac_status=$?
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; }; then
15789 glibcxx_cv_func_logf_use=yes
15790 else
15791 echo "$as_me: failed program was:" >&5
15792 sed 's/^/| /' conftest.$ac_ext >&5
15794 glibcxx_cv_func_logf_use=no
15796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15797 ac_ext=c
15798 ac_cpp='$CPP $CPPFLAGS'
15799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15807 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15808 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15810 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15812 for ac_func in logf
15814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15815 echo "$as_me:$LINENO: checking for $ac_func" >&5
15816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15817 if eval "test \"\${$as_ac_var+set}\" = set"; then
15818 echo $ECHO_N "(cached) $ECHO_C" >&6
15819 else
15820 if test x$gcc_no_link = xyes; then
15821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15823 { (exit 1); exit 1; }; }
15825 cat >conftest.$ac_ext <<_ACEOF
15826 /* confdefs.h. */
15827 _ACEOF
15828 cat confdefs.h >>conftest.$ac_ext
15829 cat >>conftest.$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15833 #define $ac_func innocuous_$ac_func
15835 /* System header to define __stub macros and hopefully few prototypes,
15836 which can conflict with char $ac_func (); below.
15837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15838 <limits.h> exists even on freestanding compilers. */
15840 #ifdef __STDC__
15841 # include <limits.h>
15842 #else
15843 # include <assert.h>
15844 #endif
15846 #undef $ac_func
15848 /* Override any gcc2 internal prototype to avoid an error. */
15849 #ifdef __cplusplus
15850 extern "C"
15852 #endif
15853 /* We use char because int might match the return type of a gcc2
15854 builtin and then its argument prototype would still apply. */
15855 char $ac_func ();
15856 /* The GNU C library defines this for functions which it implements
15857 to always fail with ENOSYS. Some functions are actually named
15858 something starting with __ and the normal name is an alias. */
15859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15860 choke me
15861 #else
15862 char (*f) () = $ac_func;
15863 #endif
15864 #ifdef __cplusplus
15866 #endif
15869 main ()
15871 return f != $ac_func;
15873 return 0;
15875 _ACEOF
15876 rm -f conftest.$ac_objext conftest$ac_exeext
15877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15878 (eval $ac_link) 2>conftest.er1
15879 ac_status=$?
15880 grep -v '^ *+' conftest.er1 >conftest.err
15881 rm -f conftest.er1
15882 cat conftest.err >&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); } &&
15885 { ac_try='test -z "$ac_c_werror_flag"
15886 || test ! -s conftest.err'
15887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15888 (eval $ac_try) 2>&5
15889 ac_status=$?
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); }; } &&
15892 { ac_try='test -s conftest$ac_exeext'
15893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15894 (eval $ac_try) 2>&5
15895 ac_status=$?
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); }; }; then
15898 eval "$as_ac_var=yes"
15899 else
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.$ac_ext >&5
15903 eval "$as_ac_var=no"
15905 rm -f conftest.err conftest.$ac_objext \
15906 conftest$ac_exeext conftest.$ac_ext
15908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15910 if test `eval echo '${'$as_ac_var'}'` = yes; then
15911 cat >>confdefs.h <<_ACEOF
15912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15913 _ACEOF
15916 done
15918 else
15920 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15921 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15922 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15923 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15924 echo $ECHO_N "(cached) $ECHO_C" >&6
15925 else
15929 ac_ext=cc
15930 ac_cpp='$CXXCPP $CPPFLAGS'
15931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15935 cat >conftest.$ac_ext <<_ACEOF
15936 /* confdefs.h. */
15937 _ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15941 #include <math.h>
15942 #ifdef HAVE_IEEEFP_H
15943 #include <ieeefp.h>
15944 #endif
15947 main ()
15949 _logf(0);
15951 return 0;
15953 _ACEOF
15954 rm -f conftest.$ac_objext
15955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15956 (eval $ac_compile) 2>conftest.er1
15957 ac_status=$?
15958 grep -v '^ *+' conftest.er1 >conftest.err
15959 rm -f conftest.er1
15960 cat conftest.err >&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } &&
15963 { ac_try='test -z "$ac_cxx_werror_flag"
15964 || test ! -s conftest.err'
15965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15966 (eval $ac_try) 2>&5
15967 ac_status=$?
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); }; } &&
15970 { ac_try='test -s conftest.$ac_objext'
15971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15972 (eval $ac_try) 2>&5
15973 ac_status=$?
15974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975 (exit $ac_status); }; }; then
15976 glibcxx_cv_func__logf_use=yes
15977 else
15978 echo "$as_me: failed program was:" >&5
15979 sed 's/^/| /' conftest.$ac_ext >&5
15981 glibcxx_cv_func__logf_use=no
15983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15984 ac_ext=c
15985 ac_cpp='$CPP $CPPFLAGS'
15986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15994 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15995 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15997 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15999 for ac_func in _logf
16001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16002 echo "$as_me:$LINENO: checking for $ac_func" >&5
16003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16004 if eval "test \"\${$as_ac_var+set}\" = set"; then
16005 echo $ECHO_N "(cached) $ECHO_C" >&6
16006 else
16007 if test x$gcc_no_link = xyes; then
16008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16010 { (exit 1); exit 1; }; }
16012 cat >conftest.$ac_ext <<_ACEOF
16013 /* confdefs.h. */
16014 _ACEOF
16015 cat confdefs.h >>conftest.$ac_ext
16016 cat >>conftest.$ac_ext <<_ACEOF
16017 /* end confdefs.h. */
16018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16020 #define $ac_func innocuous_$ac_func
16022 /* System header to define __stub macros and hopefully few prototypes,
16023 which can conflict with char $ac_func (); below.
16024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16025 <limits.h> exists even on freestanding compilers. */
16027 #ifdef __STDC__
16028 # include <limits.h>
16029 #else
16030 # include <assert.h>
16031 #endif
16033 #undef $ac_func
16035 /* Override any gcc2 internal prototype to avoid an error. */
16036 #ifdef __cplusplus
16037 extern "C"
16039 #endif
16040 /* We use char because int might match the return type of a gcc2
16041 builtin and then its argument prototype would still apply. */
16042 char $ac_func ();
16043 /* The GNU C library defines this for functions which it implements
16044 to always fail with ENOSYS. Some functions are actually named
16045 something starting with __ and the normal name is an alias. */
16046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16047 choke me
16048 #else
16049 char (*f) () = $ac_func;
16050 #endif
16051 #ifdef __cplusplus
16053 #endif
16056 main ()
16058 return f != $ac_func;
16060 return 0;
16062 _ACEOF
16063 rm -f conftest.$ac_objext conftest$ac_exeext
16064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16065 (eval $ac_link) 2>conftest.er1
16066 ac_status=$?
16067 grep -v '^ *+' conftest.er1 >conftest.err
16068 rm -f conftest.er1
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } &&
16072 { ac_try='test -z "$ac_c_werror_flag"
16073 || test ! -s conftest.err'
16074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16075 (eval $ac_try) 2>&5
16076 ac_status=$?
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); }; } &&
16079 { ac_try='test -s conftest$ac_exeext'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16082 ac_status=$?
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; }; then
16085 eval "$as_ac_var=yes"
16086 else
16087 echo "$as_me: failed program was:" >&5
16088 sed 's/^/| /' conftest.$ac_ext >&5
16090 eval "$as_ac_var=no"
16092 rm -f conftest.err conftest.$ac_objext \
16093 conftest$ac_exeext conftest.$ac_ext
16095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16097 if test `eval echo '${'$as_ac_var'}'` = yes; then
16098 cat >>confdefs.h <<_ACEOF
16099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16100 _ACEOF
16103 done
16113 echo "$as_me:$LINENO: checking for log10f declaration" >&5
16114 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16115 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16116 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16117 echo $ECHO_N "(cached) $ECHO_C" >&6
16118 else
16122 ac_ext=cc
16123 ac_cpp='$CXXCPP $CPPFLAGS'
16124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16128 cat >conftest.$ac_ext <<_ACEOF
16129 /* confdefs.h. */
16130 _ACEOF
16131 cat confdefs.h >>conftest.$ac_ext
16132 cat >>conftest.$ac_ext <<_ACEOF
16133 /* end confdefs.h. */
16134 #include <math.h>
16135 #ifdef HAVE_IEEEFP_H
16136 #include <ieeefp.h>
16137 #endif
16140 main ()
16142 log10f(0);
16144 return 0;
16146 _ACEOF
16147 rm -f conftest.$ac_objext
16148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16149 (eval $ac_compile) 2>conftest.er1
16150 ac_status=$?
16151 grep -v '^ *+' conftest.er1 >conftest.err
16152 rm -f conftest.er1
16153 cat conftest.err >&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); } &&
16156 { ac_try='test -z "$ac_cxx_werror_flag"
16157 || test ! -s conftest.err'
16158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16159 (eval $ac_try) 2>&5
16160 ac_status=$?
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); }; } &&
16163 { ac_try='test -s conftest.$ac_objext'
16164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165 (eval $ac_try) 2>&5
16166 ac_status=$?
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; }; then
16169 glibcxx_cv_func_log10f_use=yes
16170 else
16171 echo "$as_me: failed program was:" >&5
16172 sed 's/^/| /' conftest.$ac_ext >&5
16174 glibcxx_cv_func_log10f_use=no
16176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16177 ac_ext=c
16178 ac_cpp='$CPP $CPPFLAGS'
16179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16187 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16188 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16190 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16192 for ac_func in log10f
16194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16195 echo "$as_me:$LINENO: checking for $ac_func" >&5
16196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16197 if eval "test \"\${$as_ac_var+set}\" = set"; then
16198 echo $ECHO_N "(cached) $ECHO_C" >&6
16199 else
16200 if test x$gcc_no_link = xyes; then
16201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16203 { (exit 1); exit 1; }; }
16205 cat >conftest.$ac_ext <<_ACEOF
16206 /* confdefs.h. */
16207 _ACEOF
16208 cat confdefs.h >>conftest.$ac_ext
16209 cat >>conftest.$ac_ext <<_ACEOF
16210 /* end confdefs.h. */
16211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16213 #define $ac_func innocuous_$ac_func
16215 /* System header to define __stub macros and hopefully few prototypes,
16216 which can conflict with char $ac_func (); below.
16217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16218 <limits.h> exists even on freestanding compilers. */
16220 #ifdef __STDC__
16221 # include <limits.h>
16222 #else
16223 # include <assert.h>
16224 #endif
16226 #undef $ac_func
16228 /* Override any gcc2 internal prototype to avoid an error. */
16229 #ifdef __cplusplus
16230 extern "C"
16232 #endif
16233 /* We use char because int might match the return type of a gcc2
16234 builtin and then its argument prototype would still apply. */
16235 char $ac_func ();
16236 /* The GNU C library defines this for functions which it implements
16237 to always fail with ENOSYS. Some functions are actually named
16238 something starting with __ and the normal name is an alias. */
16239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16240 choke me
16241 #else
16242 char (*f) () = $ac_func;
16243 #endif
16244 #ifdef __cplusplus
16246 #endif
16249 main ()
16251 return f != $ac_func;
16253 return 0;
16255 _ACEOF
16256 rm -f conftest.$ac_objext conftest$ac_exeext
16257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16258 (eval $ac_link) 2>conftest.er1
16259 ac_status=$?
16260 grep -v '^ *+' conftest.er1 >conftest.err
16261 rm -f conftest.er1
16262 cat conftest.err >&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); } &&
16265 { ac_try='test -z "$ac_c_werror_flag"
16266 || test ! -s conftest.err'
16267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16268 (eval $ac_try) 2>&5
16269 ac_status=$?
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); }; } &&
16272 { ac_try='test -s conftest$ac_exeext'
16273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16274 (eval $ac_try) 2>&5
16275 ac_status=$?
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); }; }; then
16278 eval "$as_ac_var=yes"
16279 else
16280 echo "$as_me: failed program was:" >&5
16281 sed 's/^/| /' conftest.$ac_ext >&5
16283 eval "$as_ac_var=no"
16285 rm -f conftest.err conftest.$ac_objext \
16286 conftest$ac_exeext conftest.$ac_ext
16288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16290 if test `eval echo '${'$as_ac_var'}'` = yes; then
16291 cat >>confdefs.h <<_ACEOF
16292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16293 _ACEOF
16296 done
16298 else
16300 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16301 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16302 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16303 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16304 echo $ECHO_N "(cached) $ECHO_C" >&6
16305 else
16309 ac_ext=cc
16310 ac_cpp='$CXXCPP $CPPFLAGS'
16311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16315 cat >conftest.$ac_ext <<_ACEOF
16316 /* confdefs.h. */
16317 _ACEOF
16318 cat confdefs.h >>conftest.$ac_ext
16319 cat >>conftest.$ac_ext <<_ACEOF
16320 /* end confdefs.h. */
16321 #include <math.h>
16322 #ifdef HAVE_IEEEFP_H
16323 #include <ieeefp.h>
16324 #endif
16327 main ()
16329 _log10f(0);
16331 return 0;
16333 _ACEOF
16334 rm -f conftest.$ac_objext
16335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16336 (eval $ac_compile) 2>conftest.er1
16337 ac_status=$?
16338 grep -v '^ *+' conftest.er1 >conftest.err
16339 rm -f conftest.er1
16340 cat conftest.err >&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); } &&
16343 { ac_try='test -z "$ac_cxx_werror_flag"
16344 || test ! -s conftest.err'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16347 ac_status=$?
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; } &&
16350 { ac_try='test -s conftest.$ac_objext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16353 ac_status=$?
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16356 glibcxx_cv_func__log10f_use=yes
16357 else
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.$ac_ext >&5
16361 glibcxx_cv_func__log10f_use=no
16363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16364 ac_ext=c
16365 ac_cpp='$CPP $CPPFLAGS'
16366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16375 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16377 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16379 for ac_func in _log10f
16381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16382 echo "$as_me:$LINENO: checking for $ac_func" >&5
16383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16384 if eval "test \"\${$as_ac_var+set}\" = set"; then
16385 echo $ECHO_N "(cached) $ECHO_C" >&6
16386 else
16387 if test x$gcc_no_link = xyes; then
16388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16390 { (exit 1); exit 1; }; }
16392 cat >conftest.$ac_ext <<_ACEOF
16393 /* confdefs.h. */
16394 _ACEOF
16395 cat confdefs.h >>conftest.$ac_ext
16396 cat >>conftest.$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16400 #define $ac_func innocuous_$ac_func
16402 /* System header to define __stub macros and hopefully few prototypes,
16403 which can conflict with char $ac_func (); below.
16404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16405 <limits.h> exists even on freestanding compilers. */
16407 #ifdef __STDC__
16408 # include <limits.h>
16409 #else
16410 # include <assert.h>
16411 #endif
16413 #undef $ac_func
16415 /* Override any gcc2 internal prototype to avoid an error. */
16416 #ifdef __cplusplus
16417 extern "C"
16419 #endif
16420 /* We use char because int might match the return type of a gcc2
16421 builtin and then its argument prototype would still apply. */
16422 char $ac_func ();
16423 /* The GNU C library defines this for functions which it implements
16424 to always fail with ENOSYS. Some functions are actually named
16425 something starting with __ and the normal name is an alias. */
16426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16427 choke me
16428 #else
16429 char (*f) () = $ac_func;
16430 #endif
16431 #ifdef __cplusplus
16433 #endif
16436 main ()
16438 return f != $ac_func;
16440 return 0;
16442 _ACEOF
16443 rm -f conftest.$ac_objext conftest$ac_exeext
16444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16445 (eval $ac_link) 2>conftest.er1
16446 ac_status=$?
16447 grep -v '^ *+' conftest.er1 >conftest.err
16448 rm -f conftest.er1
16449 cat conftest.err >&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); } &&
16452 { ac_try='test -z "$ac_c_werror_flag"
16453 || test ! -s conftest.err'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16456 ac_status=$?
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; } &&
16459 { ac_try='test -s conftest$ac_exeext'
16460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461 (eval $ac_try) 2>&5
16462 ac_status=$?
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; }; then
16465 eval "$as_ac_var=yes"
16466 else
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16470 eval "$as_ac_var=no"
16472 rm -f conftest.err conftest.$ac_objext \
16473 conftest$ac_exeext conftest.$ac_ext
16475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16477 if test `eval echo '${'$as_ac_var'}'` = yes; then
16478 cat >>confdefs.h <<_ACEOF
16479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16480 _ACEOF
16483 done
16493 echo "$as_me:$LINENO: checking for modff declaration" >&5
16494 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16495 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16496 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16497 echo $ECHO_N "(cached) $ECHO_C" >&6
16498 else
16502 ac_ext=cc
16503 ac_cpp='$CXXCPP $CPPFLAGS'
16504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16508 cat >conftest.$ac_ext <<_ACEOF
16509 /* confdefs.h. */
16510 _ACEOF
16511 cat confdefs.h >>conftest.$ac_ext
16512 cat >>conftest.$ac_ext <<_ACEOF
16513 /* end confdefs.h. */
16514 #include <math.h>
16516 main ()
16518 modff(0, 0);
16520 return 0;
16522 _ACEOF
16523 rm -f conftest.$ac_objext
16524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16525 (eval $ac_compile) 2>conftest.er1
16526 ac_status=$?
16527 grep -v '^ *+' conftest.er1 >conftest.err
16528 rm -f conftest.er1
16529 cat conftest.err >&5
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); } &&
16532 { ac_try='test -z "$ac_cxx_werror_flag"
16533 || test ! -s conftest.err'
16534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16535 (eval $ac_try) 2>&5
16536 ac_status=$?
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); }; } &&
16539 { ac_try='test -s conftest.$ac_objext'
16540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16541 (eval $ac_try) 2>&5
16542 ac_status=$?
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); }; }; then
16545 glibcxx_cv_func_modff_use=yes
16546 else
16547 echo "$as_me: failed program was:" >&5
16548 sed 's/^/| /' conftest.$ac_ext >&5
16550 glibcxx_cv_func_modff_use=no
16552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16553 ac_ext=c
16554 ac_cpp='$CPP $CPPFLAGS'
16555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16564 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16566 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16568 for ac_func in modff
16570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16571 echo "$as_me:$LINENO: checking for $ac_func" >&5
16572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16573 if eval "test \"\${$as_ac_var+set}\" = set"; then
16574 echo $ECHO_N "(cached) $ECHO_C" >&6
16575 else
16576 if test x$gcc_no_link = xyes; then
16577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16579 { (exit 1); exit 1; }; }
16581 cat >conftest.$ac_ext <<_ACEOF
16582 /* confdefs.h. */
16583 _ACEOF
16584 cat confdefs.h >>conftest.$ac_ext
16585 cat >>conftest.$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16589 #define $ac_func innocuous_$ac_func
16591 /* System header to define __stub macros and hopefully few prototypes,
16592 which can conflict with char $ac_func (); below.
16593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16594 <limits.h> exists even on freestanding compilers. */
16596 #ifdef __STDC__
16597 # include <limits.h>
16598 #else
16599 # include <assert.h>
16600 #endif
16602 #undef $ac_func
16604 /* Override any gcc2 internal prototype to avoid an error. */
16605 #ifdef __cplusplus
16606 extern "C"
16608 #endif
16609 /* We use char because int might match the return type of a gcc2
16610 builtin and then its argument prototype would still apply. */
16611 char $ac_func ();
16612 /* The GNU C library defines this for functions which it implements
16613 to always fail with ENOSYS. Some functions are actually named
16614 something starting with __ and the normal name is an alias. */
16615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16616 choke me
16617 #else
16618 char (*f) () = $ac_func;
16619 #endif
16620 #ifdef __cplusplus
16622 #endif
16625 main ()
16627 return f != $ac_func;
16629 return 0;
16631 _ACEOF
16632 rm -f conftest.$ac_objext conftest$ac_exeext
16633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16634 (eval $ac_link) 2>conftest.er1
16635 ac_status=$?
16636 grep -v '^ *+' conftest.er1 >conftest.err
16637 rm -f conftest.er1
16638 cat conftest.err >&5
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); } &&
16641 { ac_try='test -z "$ac_c_werror_flag"
16642 || test ! -s conftest.err'
16643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16644 (eval $ac_try) 2>&5
16645 ac_status=$?
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); }; } &&
16648 { ac_try='test -s conftest$ac_exeext'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16651 ac_status=$?
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; }; then
16654 eval "$as_ac_var=yes"
16655 else
16656 echo "$as_me: failed program was:" >&5
16657 sed 's/^/| /' conftest.$ac_ext >&5
16659 eval "$as_ac_var=no"
16661 rm -f conftest.err conftest.$ac_objext \
16662 conftest$ac_exeext conftest.$ac_ext
16664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16666 if test `eval echo '${'$as_ac_var'}'` = yes; then
16667 cat >>confdefs.h <<_ACEOF
16668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16669 _ACEOF
16672 done
16674 else
16676 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16677 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16678 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16679 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16680 echo $ECHO_N "(cached) $ECHO_C" >&6
16681 else
16685 ac_ext=cc
16686 ac_cpp='$CXXCPP $CPPFLAGS'
16687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16691 cat >conftest.$ac_ext <<_ACEOF
16692 /* confdefs.h. */
16693 _ACEOF
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 #include <math.h>
16699 main ()
16701 _modff(0, 0);
16703 return 0;
16705 _ACEOF
16706 rm -f conftest.$ac_objext
16707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16708 (eval $ac_compile) 2>conftest.er1
16709 ac_status=$?
16710 grep -v '^ *+' conftest.er1 >conftest.err
16711 rm -f conftest.er1
16712 cat conftest.err >&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); } &&
16715 { ac_try='test -z "$ac_cxx_werror_flag"
16716 || test ! -s conftest.err'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16719 ac_status=$?
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; } &&
16722 { ac_try='test -s conftest.$ac_objext'
16723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16724 (eval $ac_try) 2>&5
16725 ac_status=$?
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); }; }; then
16728 glibcxx_cv_func__modff_use=yes
16729 else
16730 echo "$as_me: failed program was:" >&5
16731 sed 's/^/| /' conftest.$ac_ext >&5
16733 glibcxx_cv_func__modff_use=no
16735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16736 ac_ext=c
16737 ac_cpp='$CPP $CPPFLAGS'
16738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16746 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16747 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16749 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16751 for ac_func in _modff
16753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16754 echo "$as_me:$LINENO: checking for $ac_func" >&5
16755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16756 if eval "test \"\${$as_ac_var+set}\" = set"; then
16757 echo $ECHO_N "(cached) $ECHO_C" >&6
16758 else
16759 if test x$gcc_no_link = xyes; then
16760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16762 { (exit 1); exit 1; }; }
16764 cat >conftest.$ac_ext <<_ACEOF
16765 /* confdefs.h. */
16766 _ACEOF
16767 cat confdefs.h >>conftest.$ac_ext
16768 cat >>conftest.$ac_ext <<_ACEOF
16769 /* end confdefs.h. */
16770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16772 #define $ac_func innocuous_$ac_func
16774 /* System header to define __stub macros and hopefully few prototypes,
16775 which can conflict with char $ac_func (); below.
16776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16777 <limits.h> exists even on freestanding compilers. */
16779 #ifdef __STDC__
16780 # include <limits.h>
16781 #else
16782 # include <assert.h>
16783 #endif
16785 #undef $ac_func
16787 /* Override any gcc2 internal prototype to avoid an error. */
16788 #ifdef __cplusplus
16789 extern "C"
16791 #endif
16792 /* We use char because int might match the return type of a gcc2
16793 builtin and then its argument prototype would still apply. */
16794 char $ac_func ();
16795 /* The GNU C library defines this for functions which it implements
16796 to always fail with ENOSYS. Some functions are actually named
16797 something starting with __ and the normal name is an alias. */
16798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16799 choke me
16800 #else
16801 char (*f) () = $ac_func;
16802 #endif
16803 #ifdef __cplusplus
16805 #endif
16808 main ()
16810 return f != $ac_func;
16812 return 0;
16814 _ACEOF
16815 rm -f conftest.$ac_objext conftest$ac_exeext
16816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16817 (eval $ac_link) 2>conftest.er1
16818 ac_status=$?
16819 grep -v '^ *+' conftest.er1 >conftest.err
16820 rm -f conftest.er1
16821 cat conftest.err >&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } &&
16824 { ac_try='test -z "$ac_c_werror_flag"
16825 || test ! -s conftest.err'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16828 ac_status=$?
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; } &&
16831 { ac_try='test -s conftest$ac_exeext'
16832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16833 (eval $ac_try) 2>&5
16834 ac_status=$?
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); }; }; then
16837 eval "$as_ac_var=yes"
16838 else
16839 echo "$as_me: failed program was:" >&5
16840 sed 's/^/| /' conftest.$ac_ext >&5
16842 eval "$as_ac_var=no"
16844 rm -f conftest.err conftest.$ac_objext \
16845 conftest$ac_exeext conftest.$ac_ext
16847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16849 if test `eval echo '${'$as_ac_var'}'` = yes; then
16850 cat >>confdefs.h <<_ACEOF
16851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16852 _ACEOF
16855 done
16865 echo "$as_me:$LINENO: checking for modf declaration" >&5
16866 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16867 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16868 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16869 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 else
16874 ac_ext=cc
16875 ac_cpp='$CXXCPP $CPPFLAGS'
16876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16880 cat >conftest.$ac_ext <<_ACEOF
16881 /* confdefs.h. */
16882 _ACEOF
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16886 #include <math.h>
16888 main ()
16890 modf(0, 0);
16892 return 0;
16894 _ACEOF
16895 rm -f conftest.$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>conftest.er1
16898 ac_status=$?
16899 grep -v '^ *+' conftest.er1 >conftest.err
16900 rm -f conftest.er1
16901 cat conftest.err >&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } &&
16904 { ac_try='test -z "$ac_cxx_werror_flag"
16905 || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16914 ac_status=$?
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 glibcxx_cv_func_modf_use=yes
16918 else
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16922 glibcxx_cv_func_modf_use=no
16924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16925 ac_ext=c
16926 ac_cpp='$CPP $CPPFLAGS'
16927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16936 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16938 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16940 for ac_func in modf
16942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16943 echo "$as_me:$LINENO: checking for $ac_func" >&5
16944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16945 if eval "test \"\${$as_ac_var+set}\" = set"; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16947 else
16948 if test x$gcc_no_link = xyes; then
16949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16951 { (exit 1); exit 1; }; }
16953 cat >conftest.$ac_ext <<_ACEOF
16954 /* confdefs.h. */
16955 _ACEOF
16956 cat confdefs.h >>conftest.$ac_ext
16957 cat >>conftest.$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16961 #define $ac_func innocuous_$ac_func
16963 /* System header to define __stub macros and hopefully few prototypes,
16964 which can conflict with char $ac_func (); below.
16965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16966 <limits.h> exists even on freestanding compilers. */
16968 #ifdef __STDC__
16969 # include <limits.h>
16970 #else
16971 # include <assert.h>
16972 #endif
16974 #undef $ac_func
16976 /* Override any gcc2 internal prototype to avoid an error. */
16977 #ifdef __cplusplus
16978 extern "C"
16980 #endif
16981 /* We use char because int might match the return type of a gcc2
16982 builtin and then its argument prototype would still apply. */
16983 char $ac_func ();
16984 /* The GNU C library defines this for functions which it implements
16985 to always fail with ENOSYS. Some functions are actually named
16986 something starting with __ and the normal name is an alias. */
16987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16988 choke me
16989 #else
16990 char (*f) () = $ac_func;
16991 #endif
16992 #ifdef __cplusplus
16994 #endif
16997 main ()
16999 return f != $ac_func;
17001 return 0;
17003 _ACEOF
17004 rm -f conftest.$ac_objext conftest$ac_exeext
17005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17006 (eval $ac_link) 2>conftest.er1
17007 ac_status=$?
17008 grep -v '^ *+' conftest.er1 >conftest.err
17009 rm -f conftest.er1
17010 cat conftest.err >&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } &&
17013 { ac_try='test -z "$ac_c_werror_flag"
17014 || test ! -s conftest.err'
17015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016 (eval $ac_try) 2>&5
17017 ac_status=$?
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; } &&
17020 { ac_try='test -s conftest$ac_exeext'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17023 ac_status=$?
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; }; then
17026 eval "$as_ac_var=yes"
17027 else
17028 echo "$as_me: failed program was:" >&5
17029 sed 's/^/| /' conftest.$ac_ext >&5
17031 eval "$as_ac_var=no"
17033 rm -f conftest.err conftest.$ac_objext \
17034 conftest$ac_exeext conftest.$ac_ext
17036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17038 if test `eval echo '${'$as_ac_var'}'` = yes; then
17039 cat >>confdefs.h <<_ACEOF
17040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17041 _ACEOF
17044 done
17046 else
17048 echo "$as_me:$LINENO: checking for _modf declaration" >&5
17049 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
17050 if test x${glibcxx_cv_func__modf_use+set} != xset; then
17051 if test "${glibcxx_cv_func__modf_use+set}" = set; then
17052 echo $ECHO_N "(cached) $ECHO_C" >&6
17053 else
17057 ac_ext=cc
17058 ac_cpp='$CXXCPP $CPPFLAGS'
17059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17063 cat >conftest.$ac_ext <<_ACEOF
17064 /* confdefs.h. */
17065 _ACEOF
17066 cat confdefs.h >>conftest.$ac_ext
17067 cat >>conftest.$ac_ext <<_ACEOF
17068 /* end confdefs.h. */
17069 #include <math.h>
17071 main ()
17073 _modf(0, 0);
17075 return 0;
17077 _ACEOF
17078 rm -f conftest.$ac_objext
17079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17080 (eval $ac_compile) 2>conftest.er1
17081 ac_status=$?
17082 grep -v '^ *+' conftest.er1 >conftest.err
17083 rm -f conftest.er1
17084 cat conftest.err >&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); } &&
17087 { ac_try='test -z "$ac_cxx_werror_flag"
17088 || test ! -s conftest.err'
17089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17090 (eval $ac_try) 2>&5
17091 ac_status=$?
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); }; } &&
17094 { ac_try='test -s conftest.$ac_objext'
17095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17096 (eval $ac_try) 2>&5
17097 ac_status=$?
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; }; then
17100 glibcxx_cv_func__modf_use=yes
17101 else
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17105 glibcxx_cv_func__modf_use=no
17107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17108 ac_ext=c
17109 ac_cpp='$CPP $CPPFLAGS'
17110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17118 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17119 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17121 if test x$glibcxx_cv_func__modf_use = x"yes"; then
17123 for ac_func in _modf
17125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17126 echo "$as_me:$LINENO: checking for $ac_func" >&5
17127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17128 if eval "test \"\${$as_ac_var+set}\" = set"; then
17129 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 else
17131 if test x$gcc_no_link = xyes; then
17132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17134 { (exit 1); exit 1; }; }
17136 cat >conftest.$ac_ext <<_ACEOF
17137 /* confdefs.h. */
17138 _ACEOF
17139 cat confdefs.h >>conftest.$ac_ext
17140 cat >>conftest.$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17144 #define $ac_func innocuous_$ac_func
17146 /* System header to define __stub macros and hopefully few prototypes,
17147 which can conflict with char $ac_func (); below.
17148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17149 <limits.h> exists even on freestanding compilers. */
17151 #ifdef __STDC__
17152 # include <limits.h>
17153 #else
17154 # include <assert.h>
17155 #endif
17157 #undef $ac_func
17159 /* Override any gcc2 internal prototype to avoid an error. */
17160 #ifdef __cplusplus
17161 extern "C"
17163 #endif
17164 /* We use char because int might match the return type of a gcc2
17165 builtin and then its argument prototype would still apply. */
17166 char $ac_func ();
17167 /* The GNU C library defines this for functions which it implements
17168 to always fail with ENOSYS. Some functions are actually named
17169 something starting with __ and the normal name is an alias. */
17170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17171 choke me
17172 #else
17173 char (*f) () = $ac_func;
17174 #endif
17175 #ifdef __cplusplus
17177 #endif
17180 main ()
17182 return f != $ac_func;
17184 return 0;
17186 _ACEOF
17187 rm -f conftest.$ac_objext conftest$ac_exeext
17188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17189 (eval $ac_link) 2>conftest.er1
17190 ac_status=$?
17191 grep -v '^ *+' conftest.er1 >conftest.err
17192 rm -f conftest.er1
17193 cat conftest.err >&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } &&
17196 { ac_try='test -z "$ac_c_werror_flag"
17197 || test ! -s conftest.err'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17200 ac_status=$?
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; } &&
17203 { ac_try='test -s conftest$ac_exeext'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17206 ac_status=$?
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; }; then
17209 eval "$as_ac_var=yes"
17210 else
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.$ac_ext >&5
17214 eval "$as_ac_var=no"
17216 rm -f conftest.err conftest.$ac_objext \
17217 conftest$ac_exeext conftest.$ac_ext
17219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17221 if test `eval echo '${'$as_ac_var'}'` = yes; then
17222 cat >>confdefs.h <<_ACEOF
17223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17224 _ACEOF
17227 done
17237 echo "$as_me:$LINENO: checking for powf declaration" >&5
17238 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17239 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17240 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17241 echo $ECHO_N "(cached) $ECHO_C" >&6
17242 else
17246 ac_ext=cc
17247 ac_cpp='$CXXCPP $CPPFLAGS'
17248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17252 cat >conftest.$ac_ext <<_ACEOF
17253 /* confdefs.h. */
17254 _ACEOF
17255 cat confdefs.h >>conftest.$ac_ext
17256 cat >>conftest.$ac_ext <<_ACEOF
17257 /* end confdefs.h. */
17258 #include <math.h>
17260 main ()
17262 powf(0, 0);
17264 return 0;
17266 _ACEOF
17267 rm -f conftest.$ac_objext
17268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17269 (eval $ac_compile) 2>conftest.er1
17270 ac_status=$?
17271 grep -v '^ *+' conftest.er1 >conftest.err
17272 rm -f conftest.er1
17273 cat conftest.err >&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } &&
17276 { ac_try='test -z "$ac_cxx_werror_flag"
17277 || test ! -s conftest.err'
17278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17279 (eval $ac_try) 2>&5
17280 ac_status=$?
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); }; } &&
17283 { ac_try='test -s conftest.$ac_objext'
17284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17285 (eval $ac_try) 2>&5
17286 ac_status=$?
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); }; }; then
17289 glibcxx_cv_func_powf_use=yes
17290 else
17291 echo "$as_me: failed program was:" >&5
17292 sed 's/^/| /' conftest.$ac_ext >&5
17294 glibcxx_cv_func_powf_use=no
17296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17297 ac_ext=c
17298 ac_cpp='$CPP $CPPFLAGS'
17299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17307 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17308 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17310 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17312 for ac_func in powf
17314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17315 echo "$as_me:$LINENO: checking for $ac_func" >&5
17316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17317 if eval "test \"\${$as_ac_var+set}\" = set"; then
17318 echo $ECHO_N "(cached) $ECHO_C" >&6
17319 else
17320 if test x$gcc_no_link = xyes; then
17321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17323 { (exit 1); exit 1; }; }
17325 cat >conftest.$ac_ext <<_ACEOF
17326 /* confdefs.h. */
17327 _ACEOF
17328 cat confdefs.h >>conftest.$ac_ext
17329 cat >>conftest.$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17333 #define $ac_func innocuous_$ac_func
17335 /* System header to define __stub macros and hopefully few prototypes,
17336 which can conflict with char $ac_func (); below.
17337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17338 <limits.h> exists even on freestanding compilers. */
17340 #ifdef __STDC__
17341 # include <limits.h>
17342 #else
17343 # include <assert.h>
17344 #endif
17346 #undef $ac_func
17348 /* Override any gcc2 internal prototype to avoid an error. */
17349 #ifdef __cplusplus
17350 extern "C"
17352 #endif
17353 /* We use char because int might match the return type of a gcc2
17354 builtin and then its argument prototype would still apply. */
17355 char $ac_func ();
17356 /* The GNU C library defines this for functions which it implements
17357 to always fail with ENOSYS. Some functions are actually named
17358 something starting with __ and the normal name is an alias. */
17359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17360 choke me
17361 #else
17362 char (*f) () = $ac_func;
17363 #endif
17364 #ifdef __cplusplus
17366 #endif
17369 main ()
17371 return f != $ac_func;
17373 return 0;
17375 _ACEOF
17376 rm -f conftest.$ac_objext conftest$ac_exeext
17377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17378 (eval $ac_link) 2>conftest.er1
17379 ac_status=$?
17380 grep -v '^ *+' conftest.er1 >conftest.err
17381 rm -f conftest.er1
17382 cat conftest.err >&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); } &&
17385 { ac_try='test -z "$ac_c_werror_flag"
17386 || test ! -s conftest.err'
17387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17388 (eval $ac_try) 2>&5
17389 ac_status=$?
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); }; } &&
17392 { ac_try='test -s conftest$ac_exeext'
17393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394 (eval $ac_try) 2>&5
17395 ac_status=$?
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; }; then
17398 eval "$as_ac_var=yes"
17399 else
17400 echo "$as_me: failed program was:" >&5
17401 sed 's/^/| /' conftest.$ac_ext >&5
17403 eval "$as_ac_var=no"
17405 rm -f conftest.err conftest.$ac_objext \
17406 conftest$ac_exeext conftest.$ac_ext
17408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17410 if test `eval echo '${'$as_ac_var'}'` = yes; then
17411 cat >>confdefs.h <<_ACEOF
17412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17413 _ACEOF
17416 done
17418 else
17420 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17421 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17422 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17423 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17424 echo $ECHO_N "(cached) $ECHO_C" >&6
17425 else
17429 ac_ext=cc
17430 ac_cpp='$CXXCPP $CPPFLAGS'
17431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17435 cat >conftest.$ac_ext <<_ACEOF
17436 /* confdefs.h. */
17437 _ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441 #include <math.h>
17443 main ()
17445 _powf(0, 0);
17447 return 0;
17449 _ACEOF
17450 rm -f conftest.$ac_objext
17451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17452 (eval $ac_compile) 2>conftest.er1
17453 ac_status=$?
17454 grep -v '^ *+' conftest.er1 >conftest.err
17455 rm -f conftest.er1
17456 cat conftest.err >&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } &&
17459 { ac_try='test -z "$ac_cxx_werror_flag"
17460 || test ! -s conftest.err'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17463 ac_status=$?
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try='test -s conftest.$ac_objext'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17469 ac_status=$?
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; }; then
17472 glibcxx_cv_func__powf_use=yes
17473 else
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.$ac_ext >&5
17477 glibcxx_cv_func__powf_use=no
17479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17480 ac_ext=c
17481 ac_cpp='$CPP $CPPFLAGS'
17482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17490 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17491 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17493 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17495 for ac_func in _powf
17497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17498 echo "$as_me:$LINENO: checking for $ac_func" >&5
17499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17500 if eval "test \"\${$as_ac_var+set}\" = set"; then
17501 echo $ECHO_N "(cached) $ECHO_C" >&6
17502 else
17503 if test x$gcc_no_link = xyes; then
17504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17506 { (exit 1); exit 1; }; }
17508 cat >conftest.$ac_ext <<_ACEOF
17509 /* confdefs.h. */
17510 _ACEOF
17511 cat confdefs.h >>conftest.$ac_ext
17512 cat >>conftest.$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17516 #define $ac_func innocuous_$ac_func
17518 /* System header to define __stub macros and hopefully few prototypes,
17519 which can conflict with char $ac_func (); below.
17520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17521 <limits.h> exists even on freestanding compilers. */
17523 #ifdef __STDC__
17524 # include <limits.h>
17525 #else
17526 # include <assert.h>
17527 #endif
17529 #undef $ac_func
17531 /* Override any gcc2 internal prototype to avoid an error. */
17532 #ifdef __cplusplus
17533 extern "C"
17535 #endif
17536 /* We use char because int might match the return type of a gcc2
17537 builtin and then its argument prototype would still apply. */
17538 char $ac_func ();
17539 /* The GNU C library defines this for functions which it implements
17540 to always fail with ENOSYS. Some functions are actually named
17541 something starting with __ and the normal name is an alias. */
17542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17543 choke me
17544 #else
17545 char (*f) () = $ac_func;
17546 #endif
17547 #ifdef __cplusplus
17549 #endif
17552 main ()
17554 return f != $ac_func;
17556 return 0;
17558 _ACEOF
17559 rm -f conftest.$ac_objext conftest$ac_exeext
17560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17561 (eval $ac_link) 2>conftest.er1
17562 ac_status=$?
17563 grep -v '^ *+' conftest.er1 >conftest.err
17564 rm -f conftest.er1
17565 cat conftest.err >&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } &&
17568 { ac_try='test -z "$ac_c_werror_flag"
17569 || test ! -s conftest.err'
17570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17571 (eval $ac_try) 2>&5
17572 ac_status=$?
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; } &&
17575 { ac_try='test -s conftest$ac_exeext'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17578 ac_status=$?
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; }; then
17581 eval "$as_ac_var=yes"
17582 else
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.$ac_ext >&5
17586 eval "$as_ac_var=no"
17588 rm -f conftest.err conftest.$ac_objext \
17589 conftest$ac_exeext conftest.$ac_ext
17591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17593 if test `eval echo '${'$as_ac_var'}'` = yes; then
17594 cat >>confdefs.h <<_ACEOF
17595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17596 _ACEOF
17599 done
17609 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17610 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17611 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17612 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17613 echo $ECHO_N "(cached) $ECHO_C" >&6
17614 else
17618 ac_ext=cc
17619 ac_cpp='$CXXCPP $CPPFLAGS'
17620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17624 cat >conftest.$ac_ext <<_ACEOF
17625 /* confdefs.h. */
17626 _ACEOF
17627 cat confdefs.h >>conftest.$ac_ext
17628 cat >>conftest.$ac_ext <<_ACEOF
17629 /* end confdefs.h. */
17630 #include <math.h>
17631 #ifdef HAVE_IEEEFP_H
17632 #include <ieeefp.h>
17633 #endif
17636 main ()
17638 sqrtf(0);
17640 return 0;
17642 _ACEOF
17643 rm -f conftest.$ac_objext
17644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17645 (eval $ac_compile) 2>conftest.er1
17646 ac_status=$?
17647 grep -v '^ *+' conftest.er1 >conftest.err
17648 rm -f conftest.er1
17649 cat conftest.err >&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } &&
17652 { ac_try='test -z "$ac_cxx_werror_flag"
17653 || test ! -s conftest.err'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17656 ac_status=$?
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; } &&
17659 { ac_try='test -s conftest.$ac_objext'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17662 ac_status=$?
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; }; then
17665 glibcxx_cv_func_sqrtf_use=yes
17666 else
17667 echo "$as_me: failed program was:" >&5
17668 sed 's/^/| /' conftest.$ac_ext >&5
17670 glibcxx_cv_func_sqrtf_use=no
17672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17673 ac_ext=c
17674 ac_cpp='$CPP $CPPFLAGS'
17675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17683 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17684 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17686 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17688 for ac_func in sqrtf
17690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17691 echo "$as_me:$LINENO: checking for $ac_func" >&5
17692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17693 if eval "test \"\${$as_ac_var+set}\" = set"; then
17694 echo $ECHO_N "(cached) $ECHO_C" >&6
17695 else
17696 if test x$gcc_no_link = xyes; then
17697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17699 { (exit 1); exit 1; }; }
17701 cat >conftest.$ac_ext <<_ACEOF
17702 /* confdefs.h. */
17703 _ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17709 #define $ac_func innocuous_$ac_func
17711 /* System header to define __stub macros and hopefully few prototypes,
17712 which can conflict with char $ac_func (); below.
17713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17714 <limits.h> exists even on freestanding compilers. */
17716 #ifdef __STDC__
17717 # include <limits.h>
17718 #else
17719 # include <assert.h>
17720 #endif
17722 #undef $ac_func
17724 /* Override any gcc2 internal prototype to avoid an error. */
17725 #ifdef __cplusplus
17726 extern "C"
17728 #endif
17729 /* We use char because int might match the return type of a gcc2
17730 builtin and then its argument prototype would still apply. */
17731 char $ac_func ();
17732 /* The GNU C library defines this for functions which it implements
17733 to always fail with ENOSYS. Some functions are actually named
17734 something starting with __ and the normal name is an alias. */
17735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17736 choke me
17737 #else
17738 char (*f) () = $ac_func;
17739 #endif
17740 #ifdef __cplusplus
17742 #endif
17745 main ()
17747 return f != $ac_func;
17749 return 0;
17751 _ACEOF
17752 rm -f conftest.$ac_objext conftest$ac_exeext
17753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17754 (eval $ac_link) 2>conftest.er1
17755 ac_status=$?
17756 grep -v '^ *+' conftest.er1 >conftest.err
17757 rm -f conftest.er1
17758 cat conftest.err >&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } &&
17761 { ac_try='test -z "$ac_c_werror_flag"
17762 || test ! -s conftest.err'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17765 ac_status=$?
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; } &&
17768 { ac_try='test -s conftest$ac_exeext'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17771 ac_status=$?
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; }; then
17774 eval "$as_ac_var=yes"
17775 else
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.$ac_ext >&5
17779 eval "$as_ac_var=no"
17781 rm -f conftest.err conftest.$ac_objext \
17782 conftest$ac_exeext conftest.$ac_ext
17784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17786 if test `eval echo '${'$as_ac_var'}'` = yes; then
17787 cat >>confdefs.h <<_ACEOF
17788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17789 _ACEOF
17792 done
17794 else
17796 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17797 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17798 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17799 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17800 echo $ECHO_N "(cached) $ECHO_C" >&6
17801 else
17805 ac_ext=cc
17806 ac_cpp='$CXXCPP $CPPFLAGS'
17807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17811 cat >conftest.$ac_ext <<_ACEOF
17812 /* confdefs.h. */
17813 _ACEOF
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17817 #include <math.h>
17818 #ifdef HAVE_IEEEFP_H
17819 #include <ieeefp.h>
17820 #endif
17823 main ()
17825 _sqrtf(0);
17827 return 0;
17829 _ACEOF
17830 rm -f conftest.$ac_objext
17831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17832 (eval $ac_compile) 2>conftest.er1
17833 ac_status=$?
17834 grep -v '^ *+' conftest.er1 >conftest.err
17835 rm -f conftest.er1
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } &&
17839 { ac_try='test -z "$ac_cxx_werror_flag"
17840 || test ! -s conftest.err'
17841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17842 (eval $ac_try) 2>&5
17843 ac_status=$?
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); }; } &&
17846 { ac_try='test -s conftest.$ac_objext'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; }; then
17852 glibcxx_cv_func__sqrtf_use=yes
17853 else
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.$ac_ext >&5
17857 glibcxx_cv_func__sqrtf_use=no
17859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17860 ac_ext=c
17861 ac_cpp='$CPP $CPPFLAGS'
17862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17870 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17871 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17873 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17875 for ac_func in _sqrtf
17877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17878 echo "$as_me:$LINENO: checking for $ac_func" >&5
17879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17880 if eval "test \"\${$as_ac_var+set}\" = set"; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17882 else
17883 if test x$gcc_no_link = xyes; then
17884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17886 { (exit 1); exit 1; }; }
17888 cat >conftest.$ac_ext <<_ACEOF
17889 /* confdefs.h. */
17890 _ACEOF
17891 cat confdefs.h >>conftest.$ac_ext
17892 cat >>conftest.$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17896 #define $ac_func innocuous_$ac_func
17898 /* System header to define __stub macros and hopefully few prototypes,
17899 which can conflict with char $ac_func (); below.
17900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17901 <limits.h> exists even on freestanding compilers. */
17903 #ifdef __STDC__
17904 # include <limits.h>
17905 #else
17906 # include <assert.h>
17907 #endif
17909 #undef $ac_func
17911 /* Override any gcc2 internal prototype to avoid an error. */
17912 #ifdef __cplusplus
17913 extern "C"
17915 #endif
17916 /* We use char because int might match the return type of a gcc2
17917 builtin and then its argument prototype would still apply. */
17918 char $ac_func ();
17919 /* The GNU C library defines this for functions which it implements
17920 to always fail with ENOSYS. Some functions are actually named
17921 something starting with __ and the normal name is an alias. */
17922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17923 choke me
17924 #else
17925 char (*f) () = $ac_func;
17926 #endif
17927 #ifdef __cplusplus
17929 #endif
17932 main ()
17934 return f != $ac_func;
17936 return 0;
17938 _ACEOF
17939 rm -f conftest.$ac_objext conftest$ac_exeext
17940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17941 (eval $ac_link) 2>conftest.er1
17942 ac_status=$?
17943 grep -v '^ *+' conftest.er1 >conftest.err
17944 rm -f conftest.er1
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } &&
17948 { ac_try='test -z "$ac_c_werror_flag"
17949 || test ! -s conftest.err'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17952 ac_status=$?
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; } &&
17955 { ac_try='test -s conftest$ac_exeext'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17958 ac_status=$?
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; }; then
17961 eval "$as_ac_var=yes"
17962 else
17963 echo "$as_me: failed program was:" >&5
17964 sed 's/^/| /' conftest.$ac_ext >&5
17966 eval "$as_ac_var=no"
17968 rm -f conftest.err conftest.$ac_objext \
17969 conftest$ac_exeext conftest.$ac_ext
17971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17973 if test `eval echo '${'$as_ac_var'}'` = yes; then
17974 cat >>confdefs.h <<_ACEOF
17975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17976 _ACEOF
17979 done
17989 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17990 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17991 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17992 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 else
17998 ac_ext=cc
17999 ac_cpp='$CXXCPP $CPPFLAGS'
18000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18004 cat >conftest.$ac_ext <<_ACEOF
18005 /* confdefs.h. */
18006 _ACEOF
18007 cat confdefs.h >>conftest.$ac_ext
18008 cat >>conftest.$ac_ext <<_ACEOF
18009 /* end confdefs.h. */
18010 #include <math.h>
18012 main ()
18014 sincosf(0, 0, 0);
18016 return 0;
18018 _ACEOF
18019 rm -f conftest.$ac_objext
18020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18021 (eval $ac_compile) 2>conftest.er1
18022 ac_status=$?
18023 grep -v '^ *+' conftest.er1 >conftest.err
18024 rm -f conftest.er1
18025 cat conftest.err >&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); } &&
18028 { ac_try='test -z "$ac_cxx_werror_flag"
18029 || test ! -s conftest.err'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18032 ac_status=$?
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; } &&
18035 { ac_try='test -s conftest.$ac_objext'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18038 ac_status=$?
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; }; then
18041 glibcxx_cv_func_sincosf_use=yes
18042 else
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18046 glibcxx_cv_func_sincosf_use=no
18048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18049 ac_ext=c
18050 ac_cpp='$CPP $CPPFLAGS'
18051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18060 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18062 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18064 for ac_func in sincosf
18066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18067 echo "$as_me:$LINENO: checking for $ac_func" >&5
18068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18069 if eval "test \"\${$as_ac_var+set}\" = set"; then
18070 echo $ECHO_N "(cached) $ECHO_C" >&6
18071 else
18072 if test x$gcc_no_link = xyes; then
18073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18075 { (exit 1); exit 1; }; }
18077 cat >conftest.$ac_ext <<_ACEOF
18078 /* confdefs.h. */
18079 _ACEOF
18080 cat confdefs.h >>conftest.$ac_ext
18081 cat >>conftest.$ac_ext <<_ACEOF
18082 /* end confdefs.h. */
18083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18085 #define $ac_func innocuous_$ac_func
18087 /* System header to define __stub macros and hopefully few prototypes,
18088 which can conflict with char $ac_func (); below.
18089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18090 <limits.h> exists even on freestanding compilers. */
18092 #ifdef __STDC__
18093 # include <limits.h>
18094 #else
18095 # include <assert.h>
18096 #endif
18098 #undef $ac_func
18100 /* Override any gcc2 internal prototype to avoid an error. */
18101 #ifdef __cplusplus
18102 extern "C"
18104 #endif
18105 /* We use char because int might match the return type of a gcc2
18106 builtin and then its argument prototype would still apply. */
18107 char $ac_func ();
18108 /* The GNU C library defines this for functions which it implements
18109 to always fail with ENOSYS. Some functions are actually named
18110 something starting with __ and the normal name is an alias. */
18111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18112 choke me
18113 #else
18114 char (*f) () = $ac_func;
18115 #endif
18116 #ifdef __cplusplus
18118 #endif
18121 main ()
18123 return f != $ac_func;
18125 return 0;
18127 _ACEOF
18128 rm -f conftest.$ac_objext conftest$ac_exeext
18129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18130 (eval $ac_link) 2>conftest.er1
18131 ac_status=$?
18132 grep -v '^ *+' conftest.er1 >conftest.err
18133 rm -f conftest.er1
18134 cat conftest.err >&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); } &&
18137 { ac_try='test -z "$ac_c_werror_flag"
18138 || test ! -s conftest.err'
18139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18140 (eval $ac_try) 2>&5
18141 ac_status=$?
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); }; } &&
18144 { ac_try='test -s conftest$ac_exeext'
18145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18146 (eval $ac_try) 2>&5
18147 ac_status=$?
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); }; }; then
18150 eval "$as_ac_var=yes"
18151 else
18152 echo "$as_me: failed program was:" >&5
18153 sed 's/^/| /' conftest.$ac_ext >&5
18155 eval "$as_ac_var=no"
18157 rm -f conftest.err conftest.$ac_objext \
18158 conftest$ac_exeext conftest.$ac_ext
18160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18162 if test `eval echo '${'$as_ac_var'}'` = yes; then
18163 cat >>confdefs.h <<_ACEOF
18164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18165 _ACEOF
18168 done
18170 else
18172 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18173 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18174 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18175 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18176 echo $ECHO_N "(cached) $ECHO_C" >&6
18177 else
18181 ac_ext=cc
18182 ac_cpp='$CXXCPP $CPPFLAGS'
18183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18187 cat >conftest.$ac_ext <<_ACEOF
18188 /* confdefs.h. */
18189 _ACEOF
18190 cat confdefs.h >>conftest.$ac_ext
18191 cat >>conftest.$ac_ext <<_ACEOF
18192 /* end confdefs.h. */
18193 #include <math.h>
18195 main ()
18197 _sincosf(0, 0, 0);
18199 return 0;
18201 _ACEOF
18202 rm -f conftest.$ac_objext
18203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18204 (eval $ac_compile) 2>conftest.er1
18205 ac_status=$?
18206 grep -v '^ *+' conftest.er1 >conftest.err
18207 rm -f conftest.er1
18208 cat conftest.err >&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); } &&
18211 { ac_try='test -z "$ac_cxx_werror_flag"
18212 || test ! -s conftest.err'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18215 ac_status=$?
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; } &&
18218 { ac_try='test -s conftest.$ac_objext'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18224 glibcxx_cv_func__sincosf_use=yes
18225 else
18226 echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.$ac_ext >&5
18229 glibcxx_cv_func__sincosf_use=no
18231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18232 ac_ext=c
18233 ac_cpp='$CPP $CPPFLAGS'
18234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18242 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18243 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18245 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18247 for ac_func in _sincosf
18249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18250 echo "$as_me:$LINENO: checking for $ac_func" >&5
18251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18252 if eval "test \"\${$as_ac_var+set}\" = set"; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 else
18255 if test x$gcc_no_link = xyes; then
18256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18258 { (exit 1); exit 1; }; }
18260 cat >conftest.$ac_ext <<_ACEOF
18261 /* confdefs.h. */
18262 _ACEOF
18263 cat confdefs.h >>conftest.$ac_ext
18264 cat >>conftest.$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18268 #define $ac_func innocuous_$ac_func
18270 /* System header to define __stub macros and hopefully few prototypes,
18271 which can conflict with char $ac_func (); below.
18272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18273 <limits.h> exists even on freestanding compilers. */
18275 #ifdef __STDC__
18276 # include <limits.h>
18277 #else
18278 # include <assert.h>
18279 #endif
18281 #undef $ac_func
18283 /* Override any gcc2 internal prototype to avoid an error. */
18284 #ifdef __cplusplus
18285 extern "C"
18287 #endif
18288 /* We use char because int might match the return type of a gcc2
18289 builtin and then its argument prototype would still apply. */
18290 char $ac_func ();
18291 /* The GNU C library defines this for functions which it implements
18292 to always fail with ENOSYS. Some functions are actually named
18293 something starting with __ and the normal name is an alias. */
18294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18295 choke me
18296 #else
18297 char (*f) () = $ac_func;
18298 #endif
18299 #ifdef __cplusplus
18301 #endif
18304 main ()
18306 return f != $ac_func;
18308 return 0;
18310 _ACEOF
18311 rm -f conftest.$ac_objext conftest$ac_exeext
18312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18313 (eval $ac_link) 2>conftest.er1
18314 ac_status=$?
18315 grep -v '^ *+' conftest.er1 >conftest.err
18316 rm -f conftest.er1
18317 cat conftest.err >&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } &&
18320 { ac_try='test -z "$ac_c_werror_flag"
18321 || test ! -s conftest.err'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18324 ac_status=$?
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; } &&
18327 { ac_try='test -s conftest$ac_exeext'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18330 ac_status=$?
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; }; then
18333 eval "$as_ac_var=yes"
18334 else
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18338 eval "$as_ac_var=no"
18340 rm -f conftest.err conftest.$ac_objext \
18341 conftest$ac_exeext conftest.$ac_ext
18343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18345 if test `eval echo '${'$as_ac_var'}'` = yes; then
18346 cat >>confdefs.h <<_ACEOF
18347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18348 _ACEOF
18351 done
18361 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18362 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18363 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18364 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18365 echo $ECHO_N "(cached) $ECHO_C" >&6
18366 else
18370 ac_ext=cc
18371 ac_cpp='$CXXCPP $CPPFLAGS'
18372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18376 cat >conftest.$ac_ext <<_ACEOF
18377 /* confdefs.h. */
18378 _ACEOF
18379 cat confdefs.h >>conftest.$ac_ext
18380 cat >>conftest.$ac_ext <<_ACEOF
18381 /* end confdefs.h. */
18382 #include <math.h>
18383 #ifdef HAVE_IEEEFP_H
18384 #include <ieeefp.h>
18385 #endif
18388 main ()
18390 finitef(0);
18392 return 0;
18394 _ACEOF
18395 rm -f conftest.$ac_objext
18396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18397 (eval $ac_compile) 2>conftest.er1
18398 ac_status=$?
18399 grep -v '^ *+' conftest.er1 >conftest.err
18400 rm -f conftest.er1
18401 cat conftest.err >&5
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); } &&
18404 { ac_try='test -z "$ac_cxx_werror_flag"
18405 || test ! -s conftest.err'
18406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18407 (eval $ac_try) 2>&5
18408 ac_status=$?
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); }; } &&
18411 { ac_try='test -s conftest.$ac_objext'
18412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18413 (eval $ac_try) 2>&5
18414 ac_status=$?
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); }; }; then
18417 glibcxx_cv_func_finitef_use=yes
18418 else
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18422 glibcxx_cv_func_finitef_use=no
18424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18425 ac_ext=c
18426 ac_cpp='$CPP $CPPFLAGS'
18427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18436 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18438 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18440 for ac_func in finitef
18442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18443 echo "$as_me:$LINENO: checking for $ac_func" >&5
18444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18445 if eval "test \"\${$as_ac_var+set}\" = set"; then
18446 echo $ECHO_N "(cached) $ECHO_C" >&6
18447 else
18448 if test x$gcc_no_link = xyes; then
18449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18451 { (exit 1); exit 1; }; }
18453 cat >conftest.$ac_ext <<_ACEOF
18454 /* confdefs.h. */
18455 _ACEOF
18456 cat confdefs.h >>conftest.$ac_ext
18457 cat >>conftest.$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18461 #define $ac_func innocuous_$ac_func
18463 /* System header to define __stub macros and hopefully few prototypes,
18464 which can conflict with char $ac_func (); below.
18465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18466 <limits.h> exists even on freestanding compilers. */
18468 #ifdef __STDC__
18469 # include <limits.h>
18470 #else
18471 # include <assert.h>
18472 #endif
18474 #undef $ac_func
18476 /* Override any gcc2 internal prototype to avoid an error. */
18477 #ifdef __cplusplus
18478 extern "C"
18480 #endif
18481 /* We use char because int might match the return type of a gcc2
18482 builtin and then its argument prototype would still apply. */
18483 char $ac_func ();
18484 /* The GNU C library defines this for functions which it implements
18485 to always fail with ENOSYS. Some functions are actually named
18486 something starting with __ and the normal name is an alias. */
18487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18488 choke me
18489 #else
18490 char (*f) () = $ac_func;
18491 #endif
18492 #ifdef __cplusplus
18494 #endif
18497 main ()
18499 return f != $ac_func;
18501 return 0;
18503 _ACEOF
18504 rm -f conftest.$ac_objext conftest$ac_exeext
18505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18506 (eval $ac_link) 2>conftest.er1
18507 ac_status=$?
18508 grep -v '^ *+' conftest.er1 >conftest.err
18509 rm -f conftest.er1
18510 cat conftest.err >&5
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); } &&
18513 { ac_try='test -z "$ac_c_werror_flag"
18514 || test ! -s conftest.err'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18517 ac_status=$?
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; } &&
18520 { ac_try='test -s conftest$ac_exeext'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18523 ac_status=$?
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; }; then
18526 eval "$as_ac_var=yes"
18527 else
18528 echo "$as_me: failed program was:" >&5
18529 sed 's/^/| /' conftest.$ac_ext >&5
18531 eval "$as_ac_var=no"
18533 rm -f conftest.err conftest.$ac_objext \
18534 conftest$ac_exeext conftest.$ac_ext
18536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18538 if test `eval echo '${'$as_ac_var'}'` = yes; then
18539 cat >>confdefs.h <<_ACEOF
18540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18541 _ACEOF
18544 done
18546 else
18548 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18549 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18550 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18551 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18553 else
18557 ac_ext=cc
18558 ac_cpp='$CXXCPP $CPPFLAGS'
18559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18563 cat >conftest.$ac_ext <<_ACEOF
18564 /* confdefs.h. */
18565 _ACEOF
18566 cat confdefs.h >>conftest.$ac_ext
18567 cat >>conftest.$ac_ext <<_ACEOF
18568 /* end confdefs.h. */
18569 #include <math.h>
18570 #ifdef HAVE_IEEEFP_H
18571 #include <ieeefp.h>
18572 #endif
18575 main ()
18577 _finitef(0);
18579 return 0;
18581 _ACEOF
18582 rm -f conftest.$ac_objext
18583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18584 (eval $ac_compile) 2>conftest.er1
18585 ac_status=$?
18586 grep -v '^ *+' conftest.er1 >conftest.err
18587 rm -f conftest.er1
18588 cat conftest.err >&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); } &&
18591 { ac_try='test -z "$ac_cxx_werror_flag"
18592 || test ! -s conftest.err'
18593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18594 (eval $ac_try) 2>&5
18595 ac_status=$?
18596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18597 (exit $ac_status); }; } &&
18598 { ac_try='test -s conftest.$ac_objext'
18599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18600 (eval $ac_try) 2>&5
18601 ac_status=$?
18602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603 (exit $ac_status); }; }; then
18604 glibcxx_cv_func__finitef_use=yes
18605 else
18606 echo "$as_me: failed program was:" >&5
18607 sed 's/^/| /' conftest.$ac_ext >&5
18609 glibcxx_cv_func__finitef_use=no
18611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18612 ac_ext=c
18613 ac_cpp='$CPP $CPPFLAGS'
18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18622 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18623 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18625 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18627 for ac_func in _finitef
18629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18630 echo "$as_me:$LINENO: checking for $ac_func" >&5
18631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18632 if eval "test \"\${$as_ac_var+set}\" = set"; then
18633 echo $ECHO_N "(cached) $ECHO_C" >&6
18634 else
18635 if test x$gcc_no_link = xyes; then
18636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18638 { (exit 1); exit 1; }; }
18640 cat >conftest.$ac_ext <<_ACEOF
18641 /* confdefs.h. */
18642 _ACEOF
18643 cat confdefs.h >>conftest.$ac_ext
18644 cat >>conftest.$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18648 #define $ac_func innocuous_$ac_func
18650 /* System header to define __stub macros and hopefully few prototypes,
18651 which can conflict with char $ac_func (); below.
18652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18653 <limits.h> exists even on freestanding compilers. */
18655 #ifdef __STDC__
18656 # include <limits.h>
18657 #else
18658 # include <assert.h>
18659 #endif
18661 #undef $ac_func
18663 /* Override any gcc2 internal prototype to avoid an error. */
18664 #ifdef __cplusplus
18665 extern "C"
18667 #endif
18668 /* We use char because int might match the return type of a gcc2
18669 builtin and then its argument prototype would still apply. */
18670 char $ac_func ();
18671 /* The GNU C library defines this for functions which it implements
18672 to always fail with ENOSYS. Some functions are actually named
18673 something starting with __ and the normal name is an alias. */
18674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18675 choke me
18676 #else
18677 char (*f) () = $ac_func;
18678 #endif
18679 #ifdef __cplusplus
18681 #endif
18684 main ()
18686 return f != $ac_func;
18688 return 0;
18690 _ACEOF
18691 rm -f conftest.$ac_objext conftest$ac_exeext
18692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18693 (eval $ac_link) 2>conftest.er1
18694 ac_status=$?
18695 grep -v '^ *+' conftest.er1 >conftest.err
18696 rm -f conftest.er1
18697 cat conftest.err >&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); } &&
18700 { ac_try='test -z "$ac_c_werror_flag"
18701 || test ! -s conftest.err'
18702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18703 (eval $ac_try) 2>&5
18704 ac_status=$?
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; } &&
18707 { ac_try='test -s conftest$ac_exeext'
18708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18709 (eval $ac_try) 2>&5
18710 ac_status=$?
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); }; }; then
18713 eval "$as_ac_var=yes"
18714 else
18715 echo "$as_me: failed program was:" >&5
18716 sed 's/^/| /' conftest.$ac_ext >&5
18718 eval "$as_ac_var=no"
18720 rm -f conftest.err conftest.$ac_objext \
18721 conftest$ac_exeext conftest.$ac_ext
18723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18725 if test `eval echo '${'$as_ac_var'}'` = yes; then
18726 cat >>confdefs.h <<_ACEOF
18727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18728 _ACEOF
18731 done
18741 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18742 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18743 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18744 echo $ECHO_N "(cached) $ECHO_C" >&6
18745 else
18749 ac_ext=cc
18750 ac_cpp='$CXXCPP $CPPFLAGS'
18751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18755 cat >conftest.$ac_ext <<_ACEOF
18756 /* confdefs.h. */
18757 _ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18761 #include <math.h>
18763 main ()
18765 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18767 return 0;
18769 _ACEOF
18770 rm -f conftest.$ac_objext
18771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18772 (eval $ac_compile) 2>conftest.er1
18773 ac_status=$?
18774 grep -v '^ *+' conftest.er1 >conftest.err
18775 rm -f conftest.er1
18776 cat conftest.err >&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } &&
18779 { ac_try='test -z "$ac_cxx_werror_flag"
18780 || test ! -s conftest.err'
18781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18782 (eval $ac_try) 2>&5
18783 ac_status=$?
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); }; } &&
18786 { ac_try='test -s conftest.$ac_objext'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18789 ac_status=$?
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; }; then
18792 glibcxx_cv_func_long_double_trig_use=yes
18793 else
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.$ac_ext >&5
18797 glibcxx_cv_func_long_double_trig_use=no
18799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18800 ac_ext=c
18801 ac_cpp='$CPP $CPPFLAGS'
18802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18809 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18810 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18820 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18823 echo "$as_me:$LINENO: checking for $ac_func" >&5
18824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18825 if eval "test \"\${$as_ac_var+set}\" = set"; then
18826 echo $ECHO_N "(cached) $ECHO_C" >&6
18827 else
18828 if test x$gcc_no_link = xyes; then
18829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18831 { (exit 1); exit 1; }; }
18833 cat >conftest.$ac_ext <<_ACEOF
18834 /* confdefs.h. */
18835 _ACEOF
18836 cat confdefs.h >>conftest.$ac_ext
18837 cat >>conftest.$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18841 #define $ac_func innocuous_$ac_func
18843 /* System header to define __stub macros and hopefully few prototypes,
18844 which can conflict with char $ac_func (); below.
18845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18846 <limits.h> exists even on freestanding compilers. */
18848 #ifdef __STDC__
18849 # include <limits.h>
18850 #else
18851 # include <assert.h>
18852 #endif
18854 #undef $ac_func
18856 /* Override any gcc2 internal prototype to avoid an error. */
18857 #ifdef __cplusplus
18858 extern "C"
18860 #endif
18861 /* We use char because int might match the return type of a gcc2
18862 builtin and then its argument prototype would still apply. */
18863 char $ac_func ();
18864 /* The GNU C library defines this for functions which it implements
18865 to always fail with ENOSYS. Some functions are actually named
18866 something starting with __ and the normal name is an alias. */
18867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18868 choke me
18869 #else
18870 char (*f) () = $ac_func;
18871 #endif
18872 #ifdef __cplusplus
18874 #endif
18877 main ()
18879 return f != $ac_func;
18881 return 0;
18883 _ACEOF
18884 rm -f conftest.$ac_objext conftest$ac_exeext
18885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18886 (eval $ac_link) 2>conftest.er1
18887 ac_status=$?
18888 grep -v '^ *+' conftest.er1 >conftest.err
18889 rm -f conftest.er1
18890 cat conftest.err >&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); } &&
18893 { ac_try='test -z "$ac_c_werror_flag"
18894 || test ! -s conftest.err'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18897 ac_status=$?
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; } &&
18900 { ac_try='test -s conftest$ac_exeext'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18903 ac_status=$?
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; }; then
18906 eval "$as_ac_var=yes"
18907 else
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.$ac_ext >&5
18911 eval "$as_ac_var=no"
18913 rm -f conftest.err conftest.$ac_objext \
18914 conftest$ac_exeext conftest.$ac_ext
18916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18918 if test `eval echo '${'$as_ac_var'}'` = yes; then
18919 cat >>confdefs.h <<_ACEOF
18920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18921 _ACEOF
18924 done
18926 else
18927 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18928 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18929 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18930 echo $ECHO_N "(cached) $ECHO_C" >&6
18931 else
18935 ac_ext=cc
18936 ac_cpp='$CXXCPP $CPPFLAGS'
18937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18941 cat >conftest.$ac_ext <<_ACEOF
18942 /* confdefs.h. */
18943 _ACEOF
18944 cat confdefs.h >>conftest.$ac_ext
18945 cat >>conftest.$ac_ext <<_ACEOF
18946 /* end confdefs.h. */
18947 #include <math.h>
18949 main ()
18951 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18953 return 0;
18955 _ACEOF
18956 rm -f conftest.$ac_objext
18957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18958 (eval $ac_compile) 2>conftest.er1
18959 ac_status=$?
18960 grep -v '^ *+' conftest.er1 >conftest.err
18961 rm -f conftest.er1
18962 cat conftest.err >&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); } &&
18965 { ac_try='test -z "$ac_cxx_werror_flag"
18966 || test ! -s conftest.err'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18969 ac_status=$?
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; } &&
18972 { ac_try='test -s conftest.$ac_objext'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18975 ac_status=$?
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; }; then
18978 glibcxx_cv_func__long_double_trig_use=yes
18979 else
18980 echo "$as_me: failed program was:" >&5
18981 sed 's/^/| /' conftest.$ac_ext >&5
18983 glibcxx_cv_func__long_double_trig_use=no
18985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18986 ac_ext=c
18987 ac_cpp='$CPP $CPPFLAGS'
18988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18994 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18995 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18996 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
19006 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
19008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19009 echo "$as_me:$LINENO: checking for $ac_func" >&5
19010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19011 if eval "test \"\${$as_ac_var+set}\" = set"; then
19012 echo $ECHO_N "(cached) $ECHO_C" >&6
19013 else
19014 if test x$gcc_no_link = xyes; then
19015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19017 { (exit 1); exit 1; }; }
19019 cat >conftest.$ac_ext <<_ACEOF
19020 /* confdefs.h. */
19021 _ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19027 #define $ac_func innocuous_$ac_func
19029 /* System header to define __stub macros and hopefully few prototypes,
19030 which can conflict with char $ac_func (); below.
19031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19032 <limits.h> exists even on freestanding compilers. */
19034 #ifdef __STDC__
19035 # include <limits.h>
19036 #else
19037 # include <assert.h>
19038 #endif
19040 #undef $ac_func
19042 /* Override any gcc2 internal prototype to avoid an error. */
19043 #ifdef __cplusplus
19044 extern "C"
19046 #endif
19047 /* We use char because int might match the return type of a gcc2
19048 builtin and then its argument prototype would still apply. */
19049 char $ac_func ();
19050 /* The GNU C library defines this for functions which it implements
19051 to always fail with ENOSYS. Some functions are actually named
19052 something starting with __ and the normal name is an alias. */
19053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19054 choke me
19055 #else
19056 char (*f) () = $ac_func;
19057 #endif
19058 #ifdef __cplusplus
19060 #endif
19063 main ()
19065 return f != $ac_func;
19067 return 0;
19069 _ACEOF
19070 rm -f conftest.$ac_objext conftest$ac_exeext
19071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19072 (eval $ac_link) 2>conftest.er1
19073 ac_status=$?
19074 grep -v '^ *+' conftest.er1 >conftest.err
19075 rm -f conftest.er1
19076 cat conftest.err >&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); } &&
19079 { ac_try='test -z "$ac_c_werror_flag"
19080 || test ! -s conftest.err'
19081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19082 (eval $ac_try) 2>&5
19083 ac_status=$?
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); }; } &&
19086 { ac_try='test -s conftest$ac_exeext'
19087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088 (eval $ac_try) 2>&5
19089 ac_status=$?
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; }; then
19092 eval "$as_ac_var=yes"
19093 else
19094 echo "$as_me: failed program was:" >&5
19095 sed 's/^/| /' conftest.$ac_ext >&5
19097 eval "$as_ac_var=no"
19099 rm -f conftest.err conftest.$ac_objext \
19100 conftest$ac_exeext conftest.$ac_ext
19102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19104 if test `eval echo '${'$as_ac_var'}'` = yes; then
19105 cat >>confdefs.h <<_ACEOF
19106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19107 _ACEOF
19110 done
19128 echo "$as_me:$LINENO: checking for long double round functions" >&5
19129 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19130 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19131 echo $ECHO_N "(cached) $ECHO_C" >&6
19132 else
19136 ac_ext=cc
19137 ac_cpp='$CXXCPP $CPPFLAGS'
19138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19142 cat >conftest.$ac_ext <<_ACEOF
19143 /* confdefs.h. */
19144 _ACEOF
19145 cat confdefs.h >>conftest.$ac_ext
19146 cat >>conftest.$ac_ext <<_ACEOF
19147 /* end confdefs.h. */
19148 #include <math.h>
19150 main ()
19152 ceill (0); floorl (0);
19154 return 0;
19156 _ACEOF
19157 rm -f conftest.$ac_objext
19158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19159 (eval $ac_compile) 2>conftest.er1
19160 ac_status=$?
19161 grep -v '^ *+' conftest.er1 >conftest.err
19162 rm -f conftest.er1
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } &&
19166 { ac_try='test -z "$ac_cxx_werror_flag"
19167 || test ! -s conftest.err'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19170 ac_status=$?
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; } &&
19173 { ac_try='test -s conftest.$ac_objext'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19176 ac_status=$?
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; }; then
19179 glibcxx_cv_func_long_double_round_use=yes
19180 else
19181 echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.$ac_ext >&5
19184 glibcxx_cv_func_long_double_round_use=no
19186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19187 ac_ext=c
19188 ac_cpp='$CPP $CPPFLAGS'
19189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19195 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19196 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19197 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19200 for ac_func in ceill floorl
19202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19203 echo "$as_me:$LINENO: checking for $ac_func" >&5
19204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19205 if eval "test \"\${$as_ac_var+set}\" = set"; then
19206 echo $ECHO_N "(cached) $ECHO_C" >&6
19207 else
19208 if test x$gcc_no_link = xyes; then
19209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19211 { (exit 1); exit 1; }; }
19213 cat >conftest.$ac_ext <<_ACEOF
19214 /* confdefs.h. */
19215 _ACEOF
19216 cat confdefs.h >>conftest.$ac_ext
19217 cat >>conftest.$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19221 #define $ac_func innocuous_$ac_func
19223 /* System header to define __stub macros and hopefully few prototypes,
19224 which can conflict with char $ac_func (); below.
19225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19226 <limits.h> exists even on freestanding compilers. */
19228 #ifdef __STDC__
19229 # include <limits.h>
19230 #else
19231 # include <assert.h>
19232 #endif
19234 #undef $ac_func
19236 /* Override any gcc2 internal prototype to avoid an error. */
19237 #ifdef __cplusplus
19238 extern "C"
19240 #endif
19241 /* We use char because int might match the return type of a gcc2
19242 builtin and then its argument prototype would still apply. */
19243 char $ac_func ();
19244 /* The GNU C library defines this for functions which it implements
19245 to always fail with ENOSYS. Some functions are actually named
19246 something starting with __ and the normal name is an alias. */
19247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19248 choke me
19249 #else
19250 char (*f) () = $ac_func;
19251 #endif
19252 #ifdef __cplusplus
19254 #endif
19257 main ()
19259 return f != $ac_func;
19261 return 0;
19263 _ACEOF
19264 rm -f conftest.$ac_objext conftest$ac_exeext
19265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19266 (eval $ac_link) 2>conftest.er1
19267 ac_status=$?
19268 grep -v '^ *+' conftest.er1 >conftest.err
19269 rm -f conftest.er1
19270 cat conftest.err >&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } &&
19273 { ac_try='test -z "$ac_c_werror_flag"
19274 || test ! -s conftest.err'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19277 ac_status=$?
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; } &&
19280 { ac_try='test -s conftest$ac_exeext'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19283 ac_status=$?
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19286 eval "$as_ac_var=yes"
19287 else
19288 echo "$as_me: failed program was:" >&5
19289 sed 's/^/| /' conftest.$ac_ext >&5
19291 eval "$as_ac_var=no"
19293 rm -f conftest.err conftest.$ac_objext \
19294 conftest$ac_exeext conftest.$ac_ext
19296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19298 if test `eval echo '${'$as_ac_var'}'` = yes; then
19299 cat >>confdefs.h <<_ACEOF
19300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19301 _ACEOF
19304 done
19306 else
19307 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19308 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19309 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19310 echo $ECHO_N "(cached) $ECHO_C" >&6
19311 else
19315 ac_ext=cc
19316 ac_cpp='$CXXCPP $CPPFLAGS'
19317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19321 cat >conftest.$ac_ext <<_ACEOF
19322 /* confdefs.h. */
19323 _ACEOF
19324 cat confdefs.h >>conftest.$ac_ext
19325 cat >>conftest.$ac_ext <<_ACEOF
19326 /* end confdefs.h. */
19327 #include <math.h>
19329 main ()
19331 _ceill (0); _floorl (0);
19333 return 0;
19335 _ACEOF
19336 rm -f conftest.$ac_objext
19337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19338 (eval $ac_compile) 2>conftest.er1
19339 ac_status=$?
19340 grep -v '^ *+' conftest.er1 >conftest.err
19341 rm -f conftest.er1
19342 cat conftest.err >&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } &&
19345 { ac_try='test -z "$ac_cxx_werror_flag"
19346 || test ! -s conftest.err'
19347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19348 (eval $ac_try) 2>&5
19349 ac_status=$?
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); }; } &&
19352 { ac_try='test -s conftest.$ac_objext'
19353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19354 (eval $ac_try) 2>&5
19355 ac_status=$?
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); }; }; then
19358 glibcxx_cv_func__long_double_round_use=yes
19359 else
19360 echo "$as_me: failed program was:" >&5
19361 sed 's/^/| /' conftest.$ac_ext >&5
19363 glibcxx_cv_func__long_double_round_use=no
19365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19366 ac_ext=c
19367 ac_cpp='$CPP $CPPFLAGS'
19368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19375 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19376 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19379 for ac_func in _ceill _floorl
19381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19382 echo "$as_me:$LINENO: checking for $ac_func" >&5
19383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19384 if eval "test \"\${$as_ac_var+set}\" = set"; then
19385 echo $ECHO_N "(cached) $ECHO_C" >&6
19386 else
19387 if test x$gcc_no_link = xyes; then
19388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19390 { (exit 1); exit 1; }; }
19392 cat >conftest.$ac_ext <<_ACEOF
19393 /* confdefs.h. */
19394 _ACEOF
19395 cat confdefs.h >>conftest.$ac_ext
19396 cat >>conftest.$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19400 #define $ac_func innocuous_$ac_func
19402 /* System header to define __stub macros and hopefully few prototypes,
19403 which can conflict with char $ac_func (); below.
19404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19405 <limits.h> exists even on freestanding compilers. */
19407 #ifdef __STDC__
19408 # include <limits.h>
19409 #else
19410 # include <assert.h>
19411 #endif
19413 #undef $ac_func
19415 /* Override any gcc2 internal prototype to avoid an error. */
19416 #ifdef __cplusplus
19417 extern "C"
19419 #endif
19420 /* We use char because int might match the return type of a gcc2
19421 builtin and then its argument prototype would still apply. */
19422 char $ac_func ();
19423 /* The GNU C library defines this for functions which it implements
19424 to always fail with ENOSYS. Some functions are actually named
19425 something starting with __ and the normal name is an alias. */
19426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19427 choke me
19428 #else
19429 char (*f) () = $ac_func;
19430 #endif
19431 #ifdef __cplusplus
19433 #endif
19436 main ()
19438 return f != $ac_func;
19440 return 0;
19442 _ACEOF
19443 rm -f conftest.$ac_objext conftest$ac_exeext
19444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19445 (eval $ac_link) 2>conftest.er1
19446 ac_status=$?
19447 grep -v '^ *+' conftest.er1 >conftest.err
19448 rm -f conftest.er1
19449 cat conftest.err >&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); } &&
19452 { ac_try='test -z "$ac_c_werror_flag"
19453 || test ! -s conftest.err'
19454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19455 (eval $ac_try) 2>&5
19456 ac_status=$?
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; } &&
19459 { ac_try='test -s conftest$ac_exeext'
19460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19461 (eval $ac_try) 2>&5
19462 ac_status=$?
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); }; }; then
19465 eval "$as_ac_var=yes"
19466 else
19467 echo "$as_me: failed program was:" >&5
19468 sed 's/^/| /' conftest.$ac_ext >&5
19470 eval "$as_ac_var=no"
19472 rm -f conftest.err conftest.$ac_objext \
19473 conftest$ac_exeext conftest.$ac_ext
19475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19477 if test `eval echo '${'$as_ac_var'}'` = yes; then
19478 cat >>confdefs.h <<_ACEOF
19479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19480 _ACEOF
19483 done
19495 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19496 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19497 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19498 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19499 echo $ECHO_N "(cached) $ECHO_C" >&6
19500 else
19504 ac_ext=cc
19505 ac_cpp='$CXXCPP $CPPFLAGS'
19506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19510 cat >conftest.$ac_ext <<_ACEOF
19511 /* confdefs.h. */
19512 _ACEOF
19513 cat confdefs.h >>conftest.$ac_ext
19514 cat >>conftest.$ac_ext <<_ACEOF
19515 /* end confdefs.h. */
19516 #include <math.h>
19517 #ifdef HAVE_IEEEFP_H
19518 #include <ieeefp.h>
19519 #endif
19522 main ()
19524 isnanl(0);
19526 return 0;
19528 _ACEOF
19529 rm -f conftest.$ac_objext
19530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19531 (eval $ac_compile) 2>conftest.er1
19532 ac_status=$?
19533 grep -v '^ *+' conftest.er1 >conftest.err
19534 rm -f conftest.er1
19535 cat conftest.err >&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); } &&
19538 { ac_try='test -z "$ac_cxx_werror_flag"
19539 || test ! -s conftest.err'
19540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19541 (eval $ac_try) 2>&5
19542 ac_status=$?
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); }; } &&
19545 { ac_try='test -s conftest.$ac_objext'
19546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19547 (eval $ac_try) 2>&5
19548 ac_status=$?
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); }; }; then
19551 glibcxx_cv_func_isnanl_use=yes
19552 else
19553 echo "$as_me: failed program was:" >&5
19554 sed 's/^/| /' conftest.$ac_ext >&5
19556 glibcxx_cv_func_isnanl_use=no
19558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19559 ac_ext=c
19560 ac_cpp='$CPP $CPPFLAGS'
19561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19569 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19570 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19572 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19574 for ac_func in isnanl
19576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19577 echo "$as_me:$LINENO: checking for $ac_func" >&5
19578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19579 if eval "test \"\${$as_ac_var+set}\" = set"; then
19580 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 else
19582 if test x$gcc_no_link = xyes; then
19583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19585 { (exit 1); exit 1; }; }
19587 cat >conftest.$ac_ext <<_ACEOF
19588 /* confdefs.h. */
19589 _ACEOF
19590 cat confdefs.h >>conftest.$ac_ext
19591 cat >>conftest.$ac_ext <<_ACEOF
19592 /* end confdefs.h. */
19593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19595 #define $ac_func innocuous_$ac_func
19597 /* System header to define __stub macros and hopefully few prototypes,
19598 which can conflict with char $ac_func (); below.
19599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19600 <limits.h> exists even on freestanding compilers. */
19602 #ifdef __STDC__
19603 # include <limits.h>
19604 #else
19605 # include <assert.h>
19606 #endif
19608 #undef $ac_func
19610 /* Override any gcc2 internal prototype to avoid an error. */
19611 #ifdef __cplusplus
19612 extern "C"
19614 #endif
19615 /* We use char because int might match the return type of a gcc2
19616 builtin and then its argument prototype would still apply. */
19617 char $ac_func ();
19618 /* The GNU C library defines this for functions which it implements
19619 to always fail with ENOSYS. Some functions are actually named
19620 something starting with __ and the normal name is an alias. */
19621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19622 choke me
19623 #else
19624 char (*f) () = $ac_func;
19625 #endif
19626 #ifdef __cplusplus
19628 #endif
19631 main ()
19633 return f != $ac_func;
19635 return 0;
19637 _ACEOF
19638 rm -f conftest.$ac_objext conftest$ac_exeext
19639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19640 (eval $ac_link) 2>conftest.er1
19641 ac_status=$?
19642 grep -v '^ *+' conftest.er1 >conftest.err
19643 rm -f conftest.er1
19644 cat conftest.err >&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } &&
19647 { ac_try='test -z "$ac_c_werror_flag"
19648 || test ! -s conftest.err'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19651 ac_status=$?
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; } &&
19654 { ac_try='test -s conftest$ac_exeext'
19655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19656 (eval $ac_try) 2>&5
19657 ac_status=$?
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); }; }; then
19660 eval "$as_ac_var=yes"
19661 else
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.$ac_ext >&5
19665 eval "$as_ac_var=no"
19667 rm -f conftest.err conftest.$ac_objext \
19668 conftest$ac_exeext conftest.$ac_ext
19670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19672 if test `eval echo '${'$as_ac_var'}'` = yes; then
19673 cat >>confdefs.h <<_ACEOF
19674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19675 _ACEOF
19678 done
19680 else
19682 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19683 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19684 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19685 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19686 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 else
19691 ac_ext=cc
19692 ac_cpp='$CXXCPP $CPPFLAGS'
19693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19697 cat >conftest.$ac_ext <<_ACEOF
19698 /* confdefs.h. */
19699 _ACEOF
19700 cat confdefs.h >>conftest.$ac_ext
19701 cat >>conftest.$ac_ext <<_ACEOF
19702 /* end confdefs.h. */
19703 #include <math.h>
19704 #ifdef HAVE_IEEEFP_H
19705 #include <ieeefp.h>
19706 #endif
19709 main ()
19711 _isnanl(0);
19713 return 0;
19715 _ACEOF
19716 rm -f conftest.$ac_objext
19717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19718 (eval $ac_compile) 2>conftest.er1
19719 ac_status=$?
19720 grep -v '^ *+' conftest.er1 >conftest.err
19721 rm -f conftest.er1
19722 cat conftest.err >&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); } &&
19725 { ac_try='test -z "$ac_cxx_werror_flag"
19726 || test ! -s conftest.err'
19727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19728 (eval $ac_try) 2>&5
19729 ac_status=$?
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); }; } &&
19732 { ac_try='test -s conftest.$ac_objext'
19733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734 (eval $ac_try) 2>&5
19735 ac_status=$?
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; }; then
19738 glibcxx_cv_func__isnanl_use=yes
19739 else
19740 echo "$as_me: failed program was:" >&5
19741 sed 's/^/| /' conftest.$ac_ext >&5
19743 glibcxx_cv_func__isnanl_use=no
19745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19746 ac_ext=c
19747 ac_cpp='$CPP $CPPFLAGS'
19748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19757 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19759 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19761 for ac_func in _isnanl
19763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19764 echo "$as_me:$LINENO: checking for $ac_func" >&5
19765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19766 if eval "test \"\${$as_ac_var+set}\" = set"; then
19767 echo $ECHO_N "(cached) $ECHO_C" >&6
19768 else
19769 if test x$gcc_no_link = xyes; then
19770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19772 { (exit 1); exit 1; }; }
19774 cat >conftest.$ac_ext <<_ACEOF
19775 /* confdefs.h. */
19776 _ACEOF
19777 cat confdefs.h >>conftest.$ac_ext
19778 cat >>conftest.$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19782 #define $ac_func innocuous_$ac_func
19784 /* System header to define __stub macros and hopefully few prototypes,
19785 which can conflict with char $ac_func (); below.
19786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19787 <limits.h> exists even on freestanding compilers. */
19789 #ifdef __STDC__
19790 # include <limits.h>
19791 #else
19792 # include <assert.h>
19793 #endif
19795 #undef $ac_func
19797 /* Override any gcc2 internal prototype to avoid an error. */
19798 #ifdef __cplusplus
19799 extern "C"
19801 #endif
19802 /* We use char because int might match the return type of a gcc2
19803 builtin and then its argument prototype would still apply. */
19804 char $ac_func ();
19805 /* The GNU C library defines this for functions which it implements
19806 to always fail with ENOSYS. Some functions are actually named
19807 something starting with __ and the normal name is an alias. */
19808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19809 choke me
19810 #else
19811 char (*f) () = $ac_func;
19812 #endif
19813 #ifdef __cplusplus
19815 #endif
19818 main ()
19820 return f != $ac_func;
19822 return 0;
19824 _ACEOF
19825 rm -f conftest.$ac_objext conftest$ac_exeext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19827 (eval $ac_link) 2>conftest.er1
19828 ac_status=$?
19829 grep -v '^ *+' conftest.er1 >conftest.err
19830 rm -f conftest.er1
19831 cat conftest.err >&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
19834 { ac_try='test -z "$ac_c_werror_flag"
19835 || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19838 ac_status=$?
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try='test -s conftest$ac_exeext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19844 ac_status=$?
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 eval "$as_ac_var=yes"
19848 else
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19852 eval "$as_ac_var=no"
19854 rm -f conftest.err conftest.$ac_objext \
19855 conftest$ac_exeext conftest.$ac_ext
19857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19859 if test `eval echo '${'$as_ac_var'}'` = yes; then
19860 cat >>confdefs.h <<_ACEOF
19861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19862 _ACEOF
19865 done
19875 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19876 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19877 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19878 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19879 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 else
19884 ac_ext=cc
19885 ac_cpp='$CXXCPP $CPPFLAGS'
19886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19890 cat >conftest.$ac_ext <<_ACEOF
19891 /* confdefs.h. */
19892 _ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 #include <math.h>
19897 #ifdef HAVE_IEEEFP_H
19898 #include <ieeefp.h>
19899 #endif
19902 main ()
19904 isinfl(0);
19906 return 0;
19908 _ACEOF
19909 rm -f conftest.$ac_objext
19910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19911 (eval $ac_compile) 2>conftest.er1
19912 ac_status=$?
19913 grep -v '^ *+' conftest.er1 >conftest.err
19914 rm -f conftest.er1
19915 cat conftest.err >&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } &&
19918 { ac_try='test -z "$ac_cxx_werror_flag"
19919 || test ! -s conftest.err'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19922 ac_status=$?
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; } &&
19925 { ac_try='test -s conftest.$ac_objext'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19928 ac_status=$?
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19931 glibcxx_cv_func_isinfl_use=yes
19932 else
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.$ac_ext >&5
19936 glibcxx_cv_func_isinfl_use=no
19938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19939 ac_ext=c
19940 ac_cpp='$CPP $CPPFLAGS'
19941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19950 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19952 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19954 for ac_func in isinfl
19956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19957 echo "$as_me:$LINENO: checking for $ac_func" >&5
19958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19959 if eval "test \"\${$as_ac_var+set}\" = set"; then
19960 echo $ECHO_N "(cached) $ECHO_C" >&6
19961 else
19962 if test x$gcc_no_link = xyes; then
19963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19965 { (exit 1); exit 1; }; }
19967 cat >conftest.$ac_ext <<_ACEOF
19968 /* confdefs.h. */
19969 _ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19975 #define $ac_func innocuous_$ac_func
19977 /* System header to define __stub macros and hopefully few prototypes,
19978 which can conflict with char $ac_func (); below.
19979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19980 <limits.h> exists even on freestanding compilers. */
19982 #ifdef __STDC__
19983 # include <limits.h>
19984 #else
19985 # include <assert.h>
19986 #endif
19988 #undef $ac_func
19990 /* Override any gcc2 internal prototype to avoid an error. */
19991 #ifdef __cplusplus
19992 extern "C"
19994 #endif
19995 /* We use char because int might match the return type of a gcc2
19996 builtin and then its argument prototype would still apply. */
19997 char $ac_func ();
19998 /* The GNU C library defines this for functions which it implements
19999 to always fail with ENOSYS. Some functions are actually named
20000 something starting with __ and the normal name is an alias. */
20001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20002 choke me
20003 #else
20004 char (*f) () = $ac_func;
20005 #endif
20006 #ifdef __cplusplus
20008 #endif
20011 main ()
20013 return f != $ac_func;
20015 return 0;
20017 _ACEOF
20018 rm -f conftest.$ac_objext conftest$ac_exeext
20019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20020 (eval $ac_link) 2>conftest.er1
20021 ac_status=$?
20022 grep -v '^ *+' conftest.er1 >conftest.err
20023 rm -f conftest.er1
20024 cat conftest.err >&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try='test -z "$ac_c_werror_flag"
20028 || test ! -s conftest.err'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 eval "$as_ac_var=yes"
20041 else
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20045 eval "$as_ac_var=no"
20047 rm -f conftest.err conftest.$ac_objext \
20048 conftest$ac_exeext conftest.$ac_ext
20050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20052 if test `eval echo '${'$as_ac_var'}'` = yes; then
20053 cat >>confdefs.h <<_ACEOF
20054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20055 _ACEOF
20058 done
20060 else
20062 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20063 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20064 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20065 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20066 echo $ECHO_N "(cached) $ECHO_C" >&6
20067 else
20071 ac_ext=cc
20072 ac_cpp='$CXXCPP $CPPFLAGS'
20073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20077 cat >conftest.$ac_ext <<_ACEOF
20078 /* confdefs.h. */
20079 _ACEOF
20080 cat confdefs.h >>conftest.$ac_ext
20081 cat >>conftest.$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20083 #include <math.h>
20084 #ifdef HAVE_IEEEFP_H
20085 #include <ieeefp.h>
20086 #endif
20089 main ()
20091 _isinfl(0);
20093 return 0;
20095 _ACEOF
20096 rm -f conftest.$ac_objext
20097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20098 (eval $ac_compile) 2>conftest.er1
20099 ac_status=$?
20100 grep -v '^ *+' conftest.er1 >conftest.err
20101 rm -f conftest.er1
20102 cat conftest.err >&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } &&
20105 { ac_try='test -z "$ac_cxx_werror_flag"
20106 || test ! -s conftest.err'
20107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20108 (eval $ac_try) 2>&5
20109 ac_status=$?
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); }; } &&
20112 { ac_try='test -s conftest.$ac_objext'
20113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20114 (eval $ac_try) 2>&5
20115 ac_status=$?
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); }; }; then
20118 glibcxx_cv_func__isinfl_use=yes
20119 else
20120 echo "$as_me: failed program was:" >&5
20121 sed 's/^/| /' conftest.$ac_ext >&5
20123 glibcxx_cv_func__isinfl_use=no
20125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20126 ac_ext=c
20127 ac_cpp='$CPP $CPPFLAGS'
20128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20137 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20139 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20141 for ac_func in _isinfl
20143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20144 echo "$as_me:$LINENO: checking for $ac_func" >&5
20145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20146 if eval "test \"\${$as_ac_var+set}\" = set"; then
20147 echo $ECHO_N "(cached) $ECHO_C" >&6
20148 else
20149 if test x$gcc_no_link = xyes; then
20150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20152 { (exit 1); exit 1; }; }
20154 cat >conftest.$ac_ext <<_ACEOF
20155 /* confdefs.h. */
20156 _ACEOF
20157 cat confdefs.h >>conftest.$ac_ext
20158 cat >>conftest.$ac_ext <<_ACEOF
20159 /* end confdefs.h. */
20160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20162 #define $ac_func innocuous_$ac_func
20164 /* System header to define __stub macros and hopefully few prototypes,
20165 which can conflict with char $ac_func (); below.
20166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20167 <limits.h> exists even on freestanding compilers. */
20169 #ifdef __STDC__
20170 # include <limits.h>
20171 #else
20172 # include <assert.h>
20173 #endif
20175 #undef $ac_func
20177 /* Override any gcc2 internal prototype to avoid an error. */
20178 #ifdef __cplusplus
20179 extern "C"
20181 #endif
20182 /* We use char because int might match the return type of a gcc2
20183 builtin and then its argument prototype would still apply. */
20184 char $ac_func ();
20185 /* The GNU C library defines this for functions which it implements
20186 to always fail with ENOSYS. Some functions are actually named
20187 something starting with __ and the normal name is an alias. */
20188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20189 choke me
20190 #else
20191 char (*f) () = $ac_func;
20192 #endif
20193 #ifdef __cplusplus
20195 #endif
20198 main ()
20200 return f != $ac_func;
20202 return 0;
20204 _ACEOF
20205 rm -f conftest.$ac_objext conftest$ac_exeext
20206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20207 (eval $ac_link) 2>conftest.er1
20208 ac_status=$?
20209 grep -v '^ *+' conftest.er1 >conftest.err
20210 rm -f conftest.er1
20211 cat conftest.err >&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } &&
20214 { ac_try='test -z "$ac_c_werror_flag"
20215 || test ! -s conftest.err'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20218 ac_status=$?
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; } &&
20221 { ac_try='test -s conftest$ac_exeext'
20222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20223 (eval $ac_try) 2>&5
20224 ac_status=$?
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); }; }; then
20227 eval "$as_ac_var=yes"
20228 else
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.$ac_ext >&5
20232 eval "$as_ac_var=no"
20234 rm -f conftest.err conftest.$ac_objext \
20235 conftest$ac_exeext conftest.$ac_ext
20237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20239 if test `eval echo '${'$as_ac_var'}'` = yes; then
20240 cat >>confdefs.h <<_ACEOF
20241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20242 _ACEOF
20245 done
20255 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20256 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20257 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20258 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20259 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 else
20264 ac_ext=cc
20265 ac_cpp='$CXXCPP $CPPFLAGS'
20266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20270 cat >conftest.$ac_ext <<_ACEOF
20271 /* confdefs.h. */
20272 _ACEOF
20273 cat confdefs.h >>conftest.$ac_ext
20274 cat >>conftest.$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20276 #include <math.h>
20278 main ()
20280 copysignl(0, 0);
20282 return 0;
20284 _ACEOF
20285 rm -f conftest.$ac_objext
20286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20287 (eval $ac_compile) 2>conftest.er1
20288 ac_status=$?
20289 grep -v '^ *+' conftest.er1 >conftest.err
20290 rm -f conftest.er1
20291 cat conftest.err >&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } &&
20294 { ac_try='test -z "$ac_cxx_werror_flag"
20295 || test ! -s conftest.err'
20296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20297 (eval $ac_try) 2>&5
20298 ac_status=$?
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); }; } &&
20301 { ac_try='test -s conftest.$ac_objext'
20302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20303 (eval $ac_try) 2>&5
20304 ac_status=$?
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); }; }; then
20307 glibcxx_cv_func_copysignl_use=yes
20308 else
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.$ac_ext >&5
20312 glibcxx_cv_func_copysignl_use=no
20314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20315 ac_ext=c
20316 ac_cpp='$CPP $CPPFLAGS'
20317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20325 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20326 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20328 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20330 for ac_func in copysignl
20332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20333 echo "$as_me:$LINENO: checking for $ac_func" >&5
20334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20335 if eval "test \"\${$as_ac_var+set}\" = set"; then
20336 echo $ECHO_N "(cached) $ECHO_C" >&6
20337 else
20338 if test x$gcc_no_link = xyes; then
20339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20341 { (exit 1); exit 1; }; }
20343 cat >conftest.$ac_ext <<_ACEOF
20344 /* confdefs.h. */
20345 _ACEOF
20346 cat confdefs.h >>conftest.$ac_ext
20347 cat >>conftest.$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20351 #define $ac_func innocuous_$ac_func
20353 /* System header to define __stub macros and hopefully few prototypes,
20354 which can conflict with char $ac_func (); below.
20355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20356 <limits.h> exists even on freestanding compilers. */
20358 #ifdef __STDC__
20359 # include <limits.h>
20360 #else
20361 # include <assert.h>
20362 #endif
20364 #undef $ac_func
20366 /* Override any gcc2 internal prototype to avoid an error. */
20367 #ifdef __cplusplus
20368 extern "C"
20370 #endif
20371 /* We use char because int might match the return type of a gcc2
20372 builtin and then its argument prototype would still apply. */
20373 char $ac_func ();
20374 /* The GNU C library defines this for functions which it implements
20375 to always fail with ENOSYS. Some functions are actually named
20376 something starting with __ and the normal name is an alias. */
20377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20378 choke me
20379 #else
20380 char (*f) () = $ac_func;
20381 #endif
20382 #ifdef __cplusplus
20384 #endif
20387 main ()
20389 return f != $ac_func;
20391 return 0;
20393 _ACEOF
20394 rm -f conftest.$ac_objext conftest$ac_exeext
20395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20396 (eval $ac_link) 2>conftest.er1
20397 ac_status=$?
20398 grep -v '^ *+' conftest.er1 >conftest.err
20399 rm -f conftest.er1
20400 cat conftest.err >&5
20401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402 (exit $ac_status); } &&
20403 { ac_try='test -z "$ac_c_werror_flag"
20404 || test ! -s conftest.err'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20407 ac_status=$?
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; } &&
20410 { ac_try='test -s conftest$ac_exeext'
20411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412 (eval $ac_try) 2>&5
20413 ac_status=$?
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); }; }; then
20416 eval "$as_ac_var=yes"
20417 else
20418 echo "$as_me: failed program was:" >&5
20419 sed 's/^/| /' conftest.$ac_ext >&5
20421 eval "$as_ac_var=no"
20423 rm -f conftest.err conftest.$ac_objext \
20424 conftest$ac_exeext conftest.$ac_ext
20426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20428 if test `eval echo '${'$as_ac_var'}'` = yes; then
20429 cat >>confdefs.h <<_ACEOF
20430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20431 _ACEOF
20434 done
20436 else
20438 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20439 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20440 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20441 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20442 echo $ECHO_N "(cached) $ECHO_C" >&6
20443 else
20447 ac_ext=cc
20448 ac_cpp='$CXXCPP $CPPFLAGS'
20449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20453 cat >conftest.$ac_ext <<_ACEOF
20454 /* confdefs.h. */
20455 _ACEOF
20456 cat confdefs.h >>conftest.$ac_ext
20457 cat >>conftest.$ac_ext <<_ACEOF
20458 /* end confdefs.h. */
20459 #include <math.h>
20461 main ()
20463 _copysignl(0, 0);
20465 return 0;
20467 _ACEOF
20468 rm -f conftest.$ac_objext
20469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20470 (eval $ac_compile) 2>conftest.er1
20471 ac_status=$?
20472 grep -v '^ *+' conftest.er1 >conftest.err
20473 rm -f conftest.er1
20474 cat conftest.err >&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); } &&
20477 { ac_try='test -z "$ac_cxx_werror_flag"
20478 || test ! -s conftest.err'
20479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20480 (eval $ac_try) 2>&5
20481 ac_status=$?
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); }; } &&
20484 { ac_try='test -s conftest.$ac_objext'
20485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486 (eval $ac_try) 2>&5
20487 ac_status=$?
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; }; then
20490 glibcxx_cv_func__copysignl_use=yes
20491 else
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.$ac_ext >&5
20495 glibcxx_cv_func__copysignl_use=no
20497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20498 ac_ext=c
20499 ac_cpp='$CPP $CPPFLAGS'
20500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20508 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20509 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20511 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20513 for ac_func in _copysignl
20515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20516 echo "$as_me:$LINENO: checking for $ac_func" >&5
20517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20518 if eval "test \"\${$as_ac_var+set}\" = set"; then
20519 echo $ECHO_N "(cached) $ECHO_C" >&6
20520 else
20521 if test x$gcc_no_link = xyes; then
20522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20524 { (exit 1); exit 1; }; }
20526 cat >conftest.$ac_ext <<_ACEOF
20527 /* confdefs.h. */
20528 _ACEOF
20529 cat confdefs.h >>conftest.$ac_ext
20530 cat >>conftest.$ac_ext <<_ACEOF
20531 /* end confdefs.h. */
20532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20534 #define $ac_func innocuous_$ac_func
20536 /* System header to define __stub macros and hopefully few prototypes,
20537 which can conflict with char $ac_func (); below.
20538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20539 <limits.h> exists even on freestanding compilers. */
20541 #ifdef __STDC__
20542 # include <limits.h>
20543 #else
20544 # include <assert.h>
20545 #endif
20547 #undef $ac_func
20549 /* Override any gcc2 internal prototype to avoid an error. */
20550 #ifdef __cplusplus
20551 extern "C"
20553 #endif
20554 /* We use char because int might match the return type of a gcc2
20555 builtin and then its argument prototype would still apply. */
20556 char $ac_func ();
20557 /* The GNU C library defines this for functions which it implements
20558 to always fail with ENOSYS. Some functions are actually named
20559 something starting with __ and the normal name is an alias. */
20560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20561 choke me
20562 #else
20563 char (*f) () = $ac_func;
20564 #endif
20565 #ifdef __cplusplus
20567 #endif
20570 main ()
20572 return f != $ac_func;
20574 return 0;
20576 _ACEOF
20577 rm -f conftest.$ac_objext conftest$ac_exeext
20578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20579 (eval $ac_link) 2>conftest.er1
20580 ac_status=$?
20581 grep -v '^ *+' conftest.er1 >conftest.err
20582 rm -f conftest.er1
20583 cat conftest.err >&5
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); } &&
20586 { ac_try='test -z "$ac_c_werror_flag"
20587 || test ! -s conftest.err'
20588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20589 (eval $ac_try) 2>&5
20590 ac_status=$?
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); }; } &&
20593 { ac_try='test -s conftest$ac_exeext'
20594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20595 (eval $ac_try) 2>&5
20596 ac_status=$?
20597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598 (exit $ac_status); }; }; then
20599 eval "$as_ac_var=yes"
20600 else
20601 echo "$as_me: failed program was:" >&5
20602 sed 's/^/| /' conftest.$ac_ext >&5
20604 eval "$as_ac_var=no"
20606 rm -f conftest.err conftest.$ac_objext \
20607 conftest$ac_exeext conftest.$ac_ext
20609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20611 if test `eval echo '${'$as_ac_var'}'` = yes; then
20612 cat >>confdefs.h <<_ACEOF
20613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20614 _ACEOF
20617 done
20627 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20628 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20629 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20630 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20631 echo $ECHO_N "(cached) $ECHO_C" >&6
20632 else
20636 ac_ext=cc
20637 ac_cpp='$CXXCPP $CPPFLAGS'
20638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20642 cat >conftest.$ac_ext <<_ACEOF
20643 /* confdefs.h. */
20644 _ACEOF
20645 cat confdefs.h >>conftest.$ac_ext
20646 cat >>conftest.$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20648 #include <math.h>
20650 main ()
20652 atan2l(0, 0);
20654 return 0;
20656 _ACEOF
20657 rm -f conftest.$ac_objext
20658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20659 (eval $ac_compile) 2>conftest.er1
20660 ac_status=$?
20661 grep -v '^ *+' conftest.er1 >conftest.err
20662 rm -f conftest.er1
20663 cat conftest.err >&5
20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665 (exit $ac_status); } &&
20666 { ac_try='test -z "$ac_cxx_werror_flag"
20667 || test ! -s conftest.err'
20668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20669 (eval $ac_try) 2>&5
20670 ac_status=$?
20671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672 (exit $ac_status); }; } &&
20673 { ac_try='test -s conftest.$ac_objext'
20674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20675 (eval $ac_try) 2>&5
20676 ac_status=$?
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); }; }; then
20679 glibcxx_cv_func_atan2l_use=yes
20680 else
20681 echo "$as_me: failed program was:" >&5
20682 sed 's/^/| /' conftest.$ac_ext >&5
20684 glibcxx_cv_func_atan2l_use=no
20686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20687 ac_ext=c
20688 ac_cpp='$CPP $CPPFLAGS'
20689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20698 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20700 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20702 for ac_func in atan2l
20704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20705 echo "$as_me:$LINENO: checking for $ac_func" >&5
20706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20707 if eval "test \"\${$as_ac_var+set}\" = set"; then
20708 echo $ECHO_N "(cached) $ECHO_C" >&6
20709 else
20710 if test x$gcc_no_link = xyes; then
20711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20713 { (exit 1); exit 1; }; }
20715 cat >conftest.$ac_ext <<_ACEOF
20716 /* confdefs.h. */
20717 _ACEOF
20718 cat confdefs.h >>conftest.$ac_ext
20719 cat >>conftest.$ac_ext <<_ACEOF
20720 /* end confdefs.h. */
20721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20723 #define $ac_func innocuous_$ac_func
20725 /* System header to define __stub macros and hopefully few prototypes,
20726 which can conflict with char $ac_func (); below.
20727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20728 <limits.h> exists even on freestanding compilers. */
20730 #ifdef __STDC__
20731 # include <limits.h>
20732 #else
20733 # include <assert.h>
20734 #endif
20736 #undef $ac_func
20738 /* Override any gcc2 internal prototype to avoid an error. */
20739 #ifdef __cplusplus
20740 extern "C"
20742 #endif
20743 /* We use char because int might match the return type of a gcc2
20744 builtin and then its argument prototype would still apply. */
20745 char $ac_func ();
20746 /* The GNU C library defines this for functions which it implements
20747 to always fail with ENOSYS. Some functions are actually named
20748 something starting with __ and the normal name is an alias. */
20749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20750 choke me
20751 #else
20752 char (*f) () = $ac_func;
20753 #endif
20754 #ifdef __cplusplus
20756 #endif
20759 main ()
20761 return f != $ac_func;
20763 return 0;
20765 _ACEOF
20766 rm -f conftest.$ac_objext conftest$ac_exeext
20767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20768 (eval $ac_link) 2>conftest.er1
20769 ac_status=$?
20770 grep -v '^ *+' conftest.er1 >conftest.err
20771 rm -f conftest.er1
20772 cat conftest.err >&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); } &&
20775 { ac_try='test -z "$ac_c_werror_flag"
20776 || test ! -s conftest.err'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20779 ac_status=$?
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; } &&
20782 { ac_try='test -s conftest$ac_exeext'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20785 ac_status=$?
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; }; then
20788 eval "$as_ac_var=yes"
20789 else
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20793 eval "$as_ac_var=no"
20795 rm -f conftest.err conftest.$ac_objext \
20796 conftest$ac_exeext conftest.$ac_ext
20798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20800 if test `eval echo '${'$as_ac_var'}'` = yes; then
20801 cat >>confdefs.h <<_ACEOF
20802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20803 _ACEOF
20806 done
20808 else
20810 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20811 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20812 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20813 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20815 else
20819 ac_ext=cc
20820 ac_cpp='$CXXCPP $CPPFLAGS'
20821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20825 cat >conftest.$ac_ext <<_ACEOF
20826 /* confdefs.h. */
20827 _ACEOF
20828 cat confdefs.h >>conftest.$ac_ext
20829 cat >>conftest.$ac_ext <<_ACEOF
20830 /* end confdefs.h. */
20831 #include <math.h>
20833 main ()
20835 _atan2l(0, 0);
20837 return 0;
20839 _ACEOF
20840 rm -f conftest.$ac_objext
20841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20842 (eval $ac_compile) 2>conftest.er1
20843 ac_status=$?
20844 grep -v '^ *+' conftest.er1 >conftest.err
20845 rm -f conftest.er1
20846 cat conftest.err >&5
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); } &&
20849 { ac_try='test -z "$ac_cxx_werror_flag"
20850 || test ! -s conftest.err'
20851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20852 (eval $ac_try) 2>&5
20853 ac_status=$?
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); }; } &&
20856 { ac_try='test -s conftest.$ac_objext'
20857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20858 (eval $ac_try) 2>&5
20859 ac_status=$?
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); }; }; then
20862 glibcxx_cv_func__atan2l_use=yes
20863 else
20864 echo "$as_me: failed program was:" >&5
20865 sed 's/^/| /' conftest.$ac_ext >&5
20867 glibcxx_cv_func__atan2l_use=no
20869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20870 ac_ext=c
20871 ac_cpp='$CPP $CPPFLAGS'
20872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20881 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20883 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20885 for ac_func in _atan2l
20887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20888 echo "$as_me:$LINENO: checking for $ac_func" >&5
20889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20890 if eval "test \"\${$as_ac_var+set}\" = set"; then
20891 echo $ECHO_N "(cached) $ECHO_C" >&6
20892 else
20893 if test x$gcc_no_link = xyes; then
20894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20896 { (exit 1); exit 1; }; }
20898 cat >conftest.$ac_ext <<_ACEOF
20899 /* confdefs.h. */
20900 _ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20906 #define $ac_func innocuous_$ac_func
20908 /* System header to define __stub macros and hopefully few prototypes,
20909 which can conflict with char $ac_func (); below.
20910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20911 <limits.h> exists even on freestanding compilers. */
20913 #ifdef __STDC__
20914 # include <limits.h>
20915 #else
20916 # include <assert.h>
20917 #endif
20919 #undef $ac_func
20921 /* Override any gcc2 internal prototype to avoid an error. */
20922 #ifdef __cplusplus
20923 extern "C"
20925 #endif
20926 /* We use char because int might match the return type of a gcc2
20927 builtin and then its argument prototype would still apply. */
20928 char $ac_func ();
20929 /* The GNU C library defines this for functions which it implements
20930 to always fail with ENOSYS. Some functions are actually named
20931 something starting with __ and the normal name is an alias. */
20932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20933 choke me
20934 #else
20935 char (*f) () = $ac_func;
20936 #endif
20937 #ifdef __cplusplus
20939 #endif
20942 main ()
20944 return f != $ac_func;
20946 return 0;
20948 _ACEOF
20949 rm -f conftest.$ac_objext conftest$ac_exeext
20950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20951 (eval $ac_link) 2>conftest.er1
20952 ac_status=$?
20953 grep -v '^ *+' conftest.er1 >conftest.err
20954 rm -f conftest.er1
20955 cat conftest.err >&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); } &&
20958 { ac_try='test -z "$ac_c_werror_flag"
20959 || test ! -s conftest.err'
20960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20961 (eval $ac_try) 2>&5
20962 ac_status=$?
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); }; } &&
20965 { ac_try='test -s conftest$ac_exeext'
20966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20967 (eval $ac_try) 2>&5
20968 ac_status=$?
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; }; then
20971 eval "$as_ac_var=yes"
20972 else
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.$ac_ext >&5
20976 eval "$as_ac_var=no"
20978 rm -f conftest.err conftest.$ac_objext \
20979 conftest$ac_exeext conftest.$ac_ext
20981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20983 if test `eval echo '${'$as_ac_var'}'` = yes; then
20984 cat >>confdefs.h <<_ACEOF
20985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20986 _ACEOF
20989 done
20999 echo "$as_me:$LINENO: checking for expl declaration" >&5
21000 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21001 if test x${glibcxx_cv_func_expl_use+set} != xset; then
21002 if test "${glibcxx_cv_func_expl_use+set}" = set; then
21003 echo $ECHO_N "(cached) $ECHO_C" >&6
21004 else
21008 ac_ext=cc
21009 ac_cpp='$CXXCPP $CPPFLAGS'
21010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21014 cat >conftest.$ac_ext <<_ACEOF
21015 /* confdefs.h. */
21016 _ACEOF
21017 cat confdefs.h >>conftest.$ac_ext
21018 cat >>conftest.$ac_ext <<_ACEOF
21019 /* end confdefs.h. */
21020 #include <math.h>
21021 #ifdef HAVE_IEEEFP_H
21022 #include <ieeefp.h>
21023 #endif
21026 main ()
21028 expl(0);
21030 return 0;
21032 _ACEOF
21033 rm -f conftest.$ac_objext
21034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21035 (eval $ac_compile) 2>conftest.er1
21036 ac_status=$?
21037 grep -v '^ *+' conftest.er1 >conftest.err
21038 rm -f conftest.er1
21039 cat conftest.err >&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); } &&
21042 { ac_try='test -z "$ac_cxx_werror_flag"
21043 || test ! -s conftest.err'
21044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21045 (eval $ac_try) 2>&5
21046 ac_status=$?
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); }; } &&
21049 { ac_try='test -s conftest.$ac_objext'
21050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21051 (eval $ac_try) 2>&5
21052 ac_status=$?
21053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054 (exit $ac_status); }; }; then
21055 glibcxx_cv_func_expl_use=yes
21056 else
21057 echo "$as_me: failed program was:" >&5
21058 sed 's/^/| /' conftest.$ac_ext >&5
21060 glibcxx_cv_func_expl_use=no
21062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21063 ac_ext=c
21064 ac_cpp='$CPP $CPPFLAGS'
21065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21073 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21074 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21076 if test x$glibcxx_cv_func_expl_use = x"yes"; then
21078 for ac_func in expl
21080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21081 echo "$as_me:$LINENO: checking for $ac_func" >&5
21082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21083 if eval "test \"\${$as_ac_var+set}\" = set"; then
21084 echo $ECHO_N "(cached) $ECHO_C" >&6
21085 else
21086 if test x$gcc_no_link = xyes; then
21087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21089 { (exit 1); exit 1; }; }
21091 cat >conftest.$ac_ext <<_ACEOF
21092 /* confdefs.h. */
21093 _ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21099 #define $ac_func innocuous_$ac_func
21101 /* System header to define __stub macros and hopefully few prototypes,
21102 which can conflict with char $ac_func (); below.
21103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21104 <limits.h> exists even on freestanding compilers. */
21106 #ifdef __STDC__
21107 # include <limits.h>
21108 #else
21109 # include <assert.h>
21110 #endif
21112 #undef $ac_func
21114 /* Override any gcc2 internal prototype to avoid an error. */
21115 #ifdef __cplusplus
21116 extern "C"
21118 #endif
21119 /* We use char because int might match the return type of a gcc2
21120 builtin and then its argument prototype would still apply. */
21121 char $ac_func ();
21122 /* The GNU C library defines this for functions which it implements
21123 to always fail with ENOSYS. Some functions are actually named
21124 something starting with __ and the normal name is an alias. */
21125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21126 choke me
21127 #else
21128 char (*f) () = $ac_func;
21129 #endif
21130 #ifdef __cplusplus
21132 #endif
21135 main ()
21137 return f != $ac_func;
21139 return 0;
21141 _ACEOF
21142 rm -f conftest.$ac_objext conftest$ac_exeext
21143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21144 (eval $ac_link) 2>conftest.er1
21145 ac_status=$?
21146 grep -v '^ *+' conftest.er1 >conftest.err
21147 rm -f conftest.er1
21148 cat conftest.err >&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); } &&
21151 { ac_try='test -z "$ac_c_werror_flag"
21152 || test ! -s conftest.err'
21153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21154 (eval $ac_try) 2>&5
21155 ac_status=$?
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; } &&
21158 { ac_try='test -s conftest$ac_exeext'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21161 ac_status=$?
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; }; then
21164 eval "$as_ac_var=yes"
21165 else
21166 echo "$as_me: failed program was:" >&5
21167 sed 's/^/| /' conftest.$ac_ext >&5
21169 eval "$as_ac_var=no"
21171 rm -f conftest.err conftest.$ac_objext \
21172 conftest$ac_exeext conftest.$ac_ext
21174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21176 if test `eval echo '${'$as_ac_var'}'` = yes; then
21177 cat >>confdefs.h <<_ACEOF
21178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21179 _ACEOF
21182 done
21184 else
21186 echo "$as_me:$LINENO: checking for _expl declaration" >&5
21187 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21188 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21189 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21190 echo $ECHO_N "(cached) $ECHO_C" >&6
21191 else
21195 ac_ext=cc
21196 ac_cpp='$CXXCPP $CPPFLAGS'
21197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21201 cat >conftest.$ac_ext <<_ACEOF
21202 /* confdefs.h. */
21203 _ACEOF
21204 cat confdefs.h >>conftest.$ac_ext
21205 cat >>conftest.$ac_ext <<_ACEOF
21206 /* end confdefs.h. */
21207 #include <math.h>
21208 #ifdef HAVE_IEEEFP_H
21209 #include <ieeefp.h>
21210 #endif
21213 main ()
21215 _expl(0);
21217 return 0;
21219 _ACEOF
21220 rm -f conftest.$ac_objext
21221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21222 (eval $ac_compile) 2>conftest.er1
21223 ac_status=$?
21224 grep -v '^ *+' conftest.er1 >conftest.err
21225 rm -f conftest.er1
21226 cat conftest.err >&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } &&
21229 { ac_try='test -z "$ac_cxx_werror_flag"
21230 || test ! -s conftest.err'
21231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232 (eval $ac_try) 2>&5
21233 ac_status=$?
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; } &&
21236 { ac_try='test -s conftest.$ac_objext'
21237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238 (eval $ac_try) 2>&5
21239 ac_status=$?
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); }; }; then
21242 glibcxx_cv_func__expl_use=yes
21243 else
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21247 glibcxx_cv_func__expl_use=no
21249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21250 ac_ext=c
21251 ac_cpp='$CPP $CPPFLAGS'
21252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21260 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21261 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21263 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21265 for ac_func in _expl
21267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21268 echo "$as_me:$LINENO: checking for $ac_func" >&5
21269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21270 if eval "test \"\${$as_ac_var+set}\" = set"; then
21271 echo $ECHO_N "(cached) $ECHO_C" >&6
21272 else
21273 if test x$gcc_no_link = xyes; then
21274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21276 { (exit 1); exit 1; }; }
21278 cat >conftest.$ac_ext <<_ACEOF
21279 /* confdefs.h. */
21280 _ACEOF
21281 cat confdefs.h >>conftest.$ac_ext
21282 cat >>conftest.$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21286 #define $ac_func innocuous_$ac_func
21288 /* System header to define __stub macros and hopefully few prototypes,
21289 which can conflict with char $ac_func (); below.
21290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21291 <limits.h> exists even on freestanding compilers. */
21293 #ifdef __STDC__
21294 # include <limits.h>
21295 #else
21296 # include <assert.h>
21297 #endif
21299 #undef $ac_func
21301 /* Override any gcc2 internal prototype to avoid an error. */
21302 #ifdef __cplusplus
21303 extern "C"
21305 #endif
21306 /* We use char because int might match the return type of a gcc2
21307 builtin and then its argument prototype would still apply. */
21308 char $ac_func ();
21309 /* The GNU C library defines this for functions which it implements
21310 to always fail with ENOSYS. Some functions are actually named
21311 something starting with __ and the normal name is an alias. */
21312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21313 choke me
21314 #else
21315 char (*f) () = $ac_func;
21316 #endif
21317 #ifdef __cplusplus
21319 #endif
21322 main ()
21324 return f != $ac_func;
21326 return 0;
21328 _ACEOF
21329 rm -f conftest.$ac_objext conftest$ac_exeext
21330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21331 (eval $ac_link) 2>conftest.er1
21332 ac_status=$?
21333 grep -v '^ *+' conftest.er1 >conftest.err
21334 rm -f conftest.er1
21335 cat conftest.err >&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } &&
21338 { ac_try='test -z "$ac_c_werror_flag"
21339 || test ! -s conftest.err'
21340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21341 (eval $ac_try) 2>&5
21342 ac_status=$?
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; } &&
21345 { ac_try='test -s conftest$ac_exeext'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21348 ac_status=$?
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; }; then
21351 eval "$as_ac_var=yes"
21352 else
21353 echo "$as_me: failed program was:" >&5
21354 sed 's/^/| /' conftest.$ac_ext >&5
21356 eval "$as_ac_var=no"
21358 rm -f conftest.err conftest.$ac_objext \
21359 conftest$ac_exeext conftest.$ac_ext
21361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21363 if test `eval echo '${'$as_ac_var'}'` = yes; then
21364 cat >>confdefs.h <<_ACEOF
21365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21366 _ACEOF
21369 done
21379 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21380 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21381 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21382 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21383 echo $ECHO_N "(cached) $ECHO_C" >&6
21384 else
21388 ac_ext=cc
21389 ac_cpp='$CXXCPP $CPPFLAGS'
21390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21394 cat >conftest.$ac_ext <<_ACEOF
21395 /* confdefs.h. */
21396 _ACEOF
21397 cat confdefs.h >>conftest.$ac_ext
21398 cat >>conftest.$ac_ext <<_ACEOF
21399 /* end confdefs.h. */
21400 #include <math.h>
21401 #ifdef HAVE_IEEEFP_H
21402 #include <ieeefp.h>
21403 #endif
21406 main ()
21408 fabsl(0);
21410 return 0;
21412 _ACEOF
21413 rm -f conftest.$ac_objext
21414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21415 (eval $ac_compile) 2>conftest.er1
21416 ac_status=$?
21417 grep -v '^ *+' conftest.er1 >conftest.err
21418 rm -f conftest.er1
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } &&
21422 { ac_try='test -z "$ac_cxx_werror_flag"
21423 || test ! -s conftest.err'
21424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21425 (eval $ac_try) 2>&5
21426 ac_status=$?
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; } &&
21429 { ac_try='test -s conftest.$ac_objext'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21432 ac_status=$?
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; }; then
21435 glibcxx_cv_func_fabsl_use=yes
21436 else
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.$ac_ext >&5
21440 glibcxx_cv_func_fabsl_use=no
21442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21443 ac_ext=c
21444 ac_cpp='$CPP $CPPFLAGS'
21445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21453 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21454 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21456 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21458 for ac_func in fabsl
21460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21461 echo "$as_me:$LINENO: checking for $ac_func" >&5
21462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21463 if eval "test \"\${$as_ac_var+set}\" = set"; then
21464 echo $ECHO_N "(cached) $ECHO_C" >&6
21465 else
21466 if test x$gcc_no_link = xyes; then
21467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21469 { (exit 1); exit 1; }; }
21471 cat >conftest.$ac_ext <<_ACEOF
21472 /* confdefs.h. */
21473 _ACEOF
21474 cat confdefs.h >>conftest.$ac_ext
21475 cat >>conftest.$ac_ext <<_ACEOF
21476 /* end confdefs.h. */
21477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21479 #define $ac_func innocuous_$ac_func
21481 /* System header to define __stub macros and hopefully few prototypes,
21482 which can conflict with char $ac_func (); below.
21483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21484 <limits.h> exists even on freestanding compilers. */
21486 #ifdef __STDC__
21487 # include <limits.h>
21488 #else
21489 # include <assert.h>
21490 #endif
21492 #undef $ac_func
21494 /* Override any gcc2 internal prototype to avoid an error. */
21495 #ifdef __cplusplus
21496 extern "C"
21498 #endif
21499 /* We use char because int might match the return type of a gcc2
21500 builtin and then its argument prototype would still apply. */
21501 char $ac_func ();
21502 /* The GNU C library defines this for functions which it implements
21503 to always fail with ENOSYS. Some functions are actually named
21504 something starting with __ and the normal name is an alias. */
21505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21506 choke me
21507 #else
21508 char (*f) () = $ac_func;
21509 #endif
21510 #ifdef __cplusplus
21512 #endif
21515 main ()
21517 return f != $ac_func;
21519 return 0;
21521 _ACEOF
21522 rm -f conftest.$ac_objext conftest$ac_exeext
21523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21524 (eval $ac_link) 2>conftest.er1
21525 ac_status=$?
21526 grep -v '^ *+' conftest.er1 >conftest.err
21527 rm -f conftest.er1
21528 cat conftest.err >&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } &&
21531 { ac_try='test -z "$ac_c_werror_flag"
21532 || test ! -s conftest.err'
21533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21534 (eval $ac_try) 2>&5
21535 ac_status=$?
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); }; } &&
21538 { ac_try='test -s conftest$ac_exeext'
21539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21540 (eval $ac_try) 2>&5
21541 ac_status=$?
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; }; then
21544 eval "$as_ac_var=yes"
21545 else
21546 echo "$as_me: failed program was:" >&5
21547 sed 's/^/| /' conftest.$ac_ext >&5
21549 eval "$as_ac_var=no"
21551 rm -f conftest.err conftest.$ac_objext \
21552 conftest$ac_exeext conftest.$ac_ext
21554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21556 if test `eval echo '${'$as_ac_var'}'` = yes; then
21557 cat >>confdefs.h <<_ACEOF
21558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21559 _ACEOF
21562 done
21564 else
21566 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21567 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21568 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21569 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21570 echo $ECHO_N "(cached) $ECHO_C" >&6
21571 else
21575 ac_ext=cc
21576 ac_cpp='$CXXCPP $CPPFLAGS'
21577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21581 cat >conftest.$ac_ext <<_ACEOF
21582 /* confdefs.h. */
21583 _ACEOF
21584 cat confdefs.h >>conftest.$ac_ext
21585 cat >>conftest.$ac_ext <<_ACEOF
21586 /* end confdefs.h. */
21587 #include <math.h>
21588 #ifdef HAVE_IEEEFP_H
21589 #include <ieeefp.h>
21590 #endif
21593 main ()
21595 _fabsl(0);
21597 return 0;
21599 _ACEOF
21600 rm -f conftest.$ac_objext
21601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21602 (eval $ac_compile) 2>conftest.er1
21603 ac_status=$?
21604 grep -v '^ *+' conftest.er1 >conftest.err
21605 rm -f conftest.er1
21606 cat conftest.err >&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); } &&
21609 { ac_try='test -z "$ac_cxx_werror_flag"
21610 || test ! -s conftest.err'
21611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21612 (eval $ac_try) 2>&5
21613 ac_status=$?
21614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); }; } &&
21616 { ac_try='test -s conftest.$ac_objext'
21617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21618 (eval $ac_try) 2>&5
21619 ac_status=$?
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); }; }; then
21622 glibcxx_cv_func__fabsl_use=yes
21623 else
21624 echo "$as_me: failed program was:" >&5
21625 sed 's/^/| /' conftest.$ac_ext >&5
21627 glibcxx_cv_func__fabsl_use=no
21629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21630 ac_ext=c
21631 ac_cpp='$CPP $CPPFLAGS'
21632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21641 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21643 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21645 for ac_func in _fabsl
21647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21648 echo "$as_me:$LINENO: checking for $ac_func" >&5
21649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21650 if eval "test \"\${$as_ac_var+set}\" = set"; then
21651 echo $ECHO_N "(cached) $ECHO_C" >&6
21652 else
21653 if test x$gcc_no_link = xyes; then
21654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21656 { (exit 1); exit 1; }; }
21658 cat >conftest.$ac_ext <<_ACEOF
21659 /* confdefs.h. */
21660 _ACEOF
21661 cat confdefs.h >>conftest.$ac_ext
21662 cat >>conftest.$ac_ext <<_ACEOF
21663 /* end confdefs.h. */
21664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21666 #define $ac_func innocuous_$ac_func
21668 /* System header to define __stub macros and hopefully few prototypes,
21669 which can conflict with char $ac_func (); below.
21670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21671 <limits.h> exists even on freestanding compilers. */
21673 #ifdef __STDC__
21674 # include <limits.h>
21675 #else
21676 # include <assert.h>
21677 #endif
21679 #undef $ac_func
21681 /* Override any gcc2 internal prototype to avoid an error. */
21682 #ifdef __cplusplus
21683 extern "C"
21685 #endif
21686 /* We use char because int might match the return type of a gcc2
21687 builtin and then its argument prototype would still apply. */
21688 char $ac_func ();
21689 /* The GNU C library defines this for functions which it implements
21690 to always fail with ENOSYS. Some functions are actually named
21691 something starting with __ and the normal name is an alias. */
21692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21693 choke me
21694 #else
21695 char (*f) () = $ac_func;
21696 #endif
21697 #ifdef __cplusplus
21699 #endif
21702 main ()
21704 return f != $ac_func;
21706 return 0;
21708 _ACEOF
21709 rm -f conftest.$ac_objext conftest$ac_exeext
21710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21711 (eval $ac_link) 2>conftest.er1
21712 ac_status=$?
21713 grep -v '^ *+' conftest.er1 >conftest.err
21714 rm -f conftest.er1
21715 cat conftest.err >&5
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); } &&
21718 { ac_try='test -z "$ac_c_werror_flag"
21719 || test ! -s conftest.err'
21720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21721 (eval $ac_try) 2>&5
21722 ac_status=$?
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); }; } &&
21725 { ac_try='test -s conftest$ac_exeext'
21726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21727 (eval $ac_try) 2>&5
21728 ac_status=$?
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); }; }; then
21731 eval "$as_ac_var=yes"
21732 else
21733 echo "$as_me: failed program was:" >&5
21734 sed 's/^/| /' conftest.$ac_ext >&5
21736 eval "$as_ac_var=no"
21738 rm -f conftest.err conftest.$ac_objext \
21739 conftest$ac_exeext conftest.$ac_ext
21741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21743 if test `eval echo '${'$as_ac_var'}'` = yes; then
21744 cat >>confdefs.h <<_ACEOF
21745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21746 _ACEOF
21749 done
21759 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21760 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21761 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21762 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21763 echo $ECHO_N "(cached) $ECHO_C" >&6
21764 else
21768 ac_ext=cc
21769 ac_cpp='$CXXCPP $CPPFLAGS'
21770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21774 cat >conftest.$ac_ext <<_ACEOF
21775 /* confdefs.h. */
21776 _ACEOF
21777 cat confdefs.h >>conftest.$ac_ext
21778 cat >>conftest.$ac_ext <<_ACEOF
21779 /* end confdefs.h. */
21780 #include <math.h>
21782 main ()
21784 fmodl(0, 0);
21786 return 0;
21788 _ACEOF
21789 rm -f conftest.$ac_objext
21790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21791 (eval $ac_compile) 2>conftest.er1
21792 ac_status=$?
21793 grep -v '^ *+' conftest.er1 >conftest.err
21794 rm -f conftest.er1
21795 cat conftest.err >&5
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); } &&
21798 { ac_try='test -z "$ac_cxx_werror_flag"
21799 || test ! -s conftest.err'
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21802 ac_status=$?
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; } &&
21805 { ac_try='test -s conftest.$ac_objext'
21806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807 (eval $ac_try) 2>&5
21808 ac_status=$?
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); }; }; then
21811 glibcxx_cv_func_fmodl_use=yes
21812 else
21813 echo "$as_me: failed program was:" >&5
21814 sed 's/^/| /' conftest.$ac_ext >&5
21816 glibcxx_cv_func_fmodl_use=no
21818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21819 ac_ext=c
21820 ac_cpp='$CPP $CPPFLAGS'
21821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21830 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21832 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21834 for ac_func in fmodl
21836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21837 echo "$as_me:$LINENO: checking for $ac_func" >&5
21838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21839 if eval "test \"\${$as_ac_var+set}\" = set"; then
21840 echo $ECHO_N "(cached) $ECHO_C" >&6
21841 else
21842 if test x$gcc_no_link = xyes; then
21843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21845 { (exit 1); exit 1; }; }
21847 cat >conftest.$ac_ext <<_ACEOF
21848 /* confdefs.h. */
21849 _ACEOF
21850 cat confdefs.h >>conftest.$ac_ext
21851 cat >>conftest.$ac_ext <<_ACEOF
21852 /* end confdefs.h. */
21853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21855 #define $ac_func innocuous_$ac_func
21857 /* System header to define __stub macros and hopefully few prototypes,
21858 which can conflict with char $ac_func (); below.
21859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21860 <limits.h> exists even on freestanding compilers. */
21862 #ifdef __STDC__
21863 # include <limits.h>
21864 #else
21865 # include <assert.h>
21866 #endif
21868 #undef $ac_func
21870 /* Override any gcc2 internal prototype to avoid an error. */
21871 #ifdef __cplusplus
21872 extern "C"
21874 #endif
21875 /* We use char because int might match the return type of a gcc2
21876 builtin and then its argument prototype would still apply. */
21877 char $ac_func ();
21878 /* The GNU C library defines this for functions which it implements
21879 to always fail with ENOSYS. Some functions are actually named
21880 something starting with __ and the normal name is an alias. */
21881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21882 choke me
21883 #else
21884 char (*f) () = $ac_func;
21885 #endif
21886 #ifdef __cplusplus
21888 #endif
21891 main ()
21893 return f != $ac_func;
21895 return 0;
21897 _ACEOF
21898 rm -f conftest.$ac_objext conftest$ac_exeext
21899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21900 (eval $ac_link) 2>conftest.er1
21901 ac_status=$?
21902 grep -v '^ *+' conftest.er1 >conftest.err
21903 rm -f conftest.er1
21904 cat conftest.err >&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); } &&
21907 { ac_try='test -z "$ac_c_werror_flag"
21908 || test ! -s conftest.err'
21909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21910 (eval $ac_try) 2>&5
21911 ac_status=$?
21912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913 (exit $ac_status); }; } &&
21914 { ac_try='test -s conftest$ac_exeext'
21915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21916 (eval $ac_try) 2>&5
21917 ac_status=$?
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); }; }; then
21920 eval "$as_ac_var=yes"
21921 else
21922 echo "$as_me: failed program was:" >&5
21923 sed 's/^/| /' conftest.$ac_ext >&5
21925 eval "$as_ac_var=no"
21927 rm -f conftest.err conftest.$ac_objext \
21928 conftest$ac_exeext conftest.$ac_ext
21930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21932 if test `eval echo '${'$as_ac_var'}'` = yes; then
21933 cat >>confdefs.h <<_ACEOF
21934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21935 _ACEOF
21938 done
21940 else
21942 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21943 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21944 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21945 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21946 echo $ECHO_N "(cached) $ECHO_C" >&6
21947 else
21951 ac_ext=cc
21952 ac_cpp='$CXXCPP $CPPFLAGS'
21953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21957 cat >conftest.$ac_ext <<_ACEOF
21958 /* confdefs.h. */
21959 _ACEOF
21960 cat confdefs.h >>conftest.$ac_ext
21961 cat >>conftest.$ac_ext <<_ACEOF
21962 /* end confdefs.h. */
21963 #include <math.h>
21965 main ()
21967 _fmodl(0, 0);
21969 return 0;
21971 _ACEOF
21972 rm -f conftest.$ac_objext
21973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21974 (eval $ac_compile) 2>conftest.er1
21975 ac_status=$?
21976 grep -v '^ *+' conftest.er1 >conftest.err
21977 rm -f conftest.er1
21978 cat conftest.err >&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } &&
21981 { ac_try='test -z "$ac_cxx_werror_flag"
21982 || test ! -s conftest.err'
21983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21984 (eval $ac_try) 2>&5
21985 ac_status=$?
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); }; } &&
21988 { ac_try='test -s conftest.$ac_objext'
21989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21990 (eval $ac_try) 2>&5
21991 ac_status=$?
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); }; }; then
21994 glibcxx_cv_func__fmodl_use=yes
21995 else
21996 echo "$as_me: failed program was:" >&5
21997 sed 's/^/| /' conftest.$ac_ext >&5
21999 glibcxx_cv_func__fmodl_use=no
22001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22002 ac_ext=c
22003 ac_cpp='$CPP $CPPFLAGS'
22004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22013 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22015 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22017 for ac_func in _fmodl
22019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22020 echo "$as_me:$LINENO: checking for $ac_func" >&5
22021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22022 if eval "test \"\${$as_ac_var+set}\" = set"; then
22023 echo $ECHO_N "(cached) $ECHO_C" >&6
22024 else
22025 if test x$gcc_no_link = xyes; then
22026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22028 { (exit 1); exit 1; }; }
22030 cat >conftest.$ac_ext <<_ACEOF
22031 /* confdefs.h. */
22032 _ACEOF
22033 cat confdefs.h >>conftest.$ac_ext
22034 cat >>conftest.$ac_ext <<_ACEOF
22035 /* end confdefs.h. */
22036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22038 #define $ac_func innocuous_$ac_func
22040 /* System header to define __stub macros and hopefully few prototypes,
22041 which can conflict with char $ac_func (); below.
22042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22043 <limits.h> exists even on freestanding compilers. */
22045 #ifdef __STDC__
22046 # include <limits.h>
22047 #else
22048 # include <assert.h>
22049 #endif
22051 #undef $ac_func
22053 /* Override any gcc2 internal prototype to avoid an error. */
22054 #ifdef __cplusplus
22055 extern "C"
22057 #endif
22058 /* We use char because int might match the return type of a gcc2
22059 builtin and then its argument prototype would still apply. */
22060 char $ac_func ();
22061 /* The GNU C library defines this for functions which it implements
22062 to always fail with ENOSYS. Some functions are actually named
22063 something starting with __ and the normal name is an alias. */
22064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22065 choke me
22066 #else
22067 char (*f) () = $ac_func;
22068 #endif
22069 #ifdef __cplusplus
22071 #endif
22074 main ()
22076 return f != $ac_func;
22078 return 0;
22080 _ACEOF
22081 rm -f conftest.$ac_objext conftest$ac_exeext
22082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22083 (eval $ac_link) 2>conftest.er1
22084 ac_status=$?
22085 grep -v '^ *+' conftest.er1 >conftest.err
22086 rm -f conftest.er1
22087 cat conftest.err >&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); } &&
22090 { ac_try='test -z "$ac_c_werror_flag"
22091 || test ! -s conftest.err'
22092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093 (eval $ac_try) 2>&5
22094 ac_status=$?
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; } &&
22097 { ac_try='test -s conftest$ac_exeext'
22098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099 (eval $ac_try) 2>&5
22100 ac_status=$?
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; }; then
22103 eval "$as_ac_var=yes"
22104 else
22105 echo "$as_me: failed program was:" >&5
22106 sed 's/^/| /' conftest.$ac_ext >&5
22108 eval "$as_ac_var=no"
22110 rm -f conftest.err conftest.$ac_objext \
22111 conftest$ac_exeext conftest.$ac_ext
22113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22115 if test `eval echo '${'$as_ac_var'}'` = yes; then
22116 cat >>confdefs.h <<_ACEOF
22117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22118 _ACEOF
22121 done
22131 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22132 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22133 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22134 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22135 echo $ECHO_N "(cached) $ECHO_C" >&6
22136 else
22140 ac_ext=cc
22141 ac_cpp='$CXXCPP $CPPFLAGS'
22142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22146 cat >conftest.$ac_ext <<_ACEOF
22147 /* confdefs.h. */
22148 _ACEOF
22149 cat confdefs.h >>conftest.$ac_ext
22150 cat >>conftest.$ac_ext <<_ACEOF
22151 /* end confdefs.h. */
22152 #include <math.h>
22154 main ()
22156 frexpl(0, 0);
22158 return 0;
22160 _ACEOF
22161 rm -f conftest.$ac_objext
22162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22163 (eval $ac_compile) 2>conftest.er1
22164 ac_status=$?
22165 grep -v '^ *+' conftest.er1 >conftest.err
22166 rm -f conftest.er1
22167 cat conftest.err >&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); } &&
22170 { ac_try='test -z "$ac_cxx_werror_flag"
22171 || test ! -s conftest.err'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22174 ac_status=$?
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; } &&
22177 { ac_try='test -s conftest.$ac_objext'
22178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22179 (eval $ac_try) 2>&5
22180 ac_status=$?
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); }; }; then
22183 glibcxx_cv_func_frexpl_use=yes
22184 else
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.$ac_ext >&5
22188 glibcxx_cv_func_frexpl_use=no
22190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22191 ac_ext=c
22192 ac_cpp='$CPP $CPPFLAGS'
22193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22202 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22204 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22206 for ac_func in frexpl
22208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22209 echo "$as_me:$LINENO: checking for $ac_func" >&5
22210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22211 if eval "test \"\${$as_ac_var+set}\" = set"; then
22212 echo $ECHO_N "(cached) $ECHO_C" >&6
22213 else
22214 if test x$gcc_no_link = xyes; then
22215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22217 { (exit 1); exit 1; }; }
22219 cat >conftest.$ac_ext <<_ACEOF
22220 /* confdefs.h. */
22221 _ACEOF
22222 cat confdefs.h >>conftest.$ac_ext
22223 cat >>conftest.$ac_ext <<_ACEOF
22224 /* end confdefs.h. */
22225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22227 #define $ac_func innocuous_$ac_func
22229 /* System header to define __stub macros and hopefully few prototypes,
22230 which can conflict with char $ac_func (); below.
22231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22232 <limits.h> exists even on freestanding compilers. */
22234 #ifdef __STDC__
22235 # include <limits.h>
22236 #else
22237 # include <assert.h>
22238 #endif
22240 #undef $ac_func
22242 /* Override any gcc2 internal prototype to avoid an error. */
22243 #ifdef __cplusplus
22244 extern "C"
22246 #endif
22247 /* We use char because int might match the return type of a gcc2
22248 builtin and then its argument prototype would still apply. */
22249 char $ac_func ();
22250 /* The GNU C library defines this for functions which it implements
22251 to always fail with ENOSYS. Some functions are actually named
22252 something starting with __ and the normal name is an alias. */
22253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22254 choke me
22255 #else
22256 char (*f) () = $ac_func;
22257 #endif
22258 #ifdef __cplusplus
22260 #endif
22263 main ()
22265 return f != $ac_func;
22267 return 0;
22269 _ACEOF
22270 rm -f conftest.$ac_objext conftest$ac_exeext
22271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22272 (eval $ac_link) 2>conftest.er1
22273 ac_status=$?
22274 grep -v '^ *+' conftest.er1 >conftest.err
22275 rm -f conftest.er1
22276 cat conftest.err >&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); } &&
22279 { ac_try='test -z "$ac_c_werror_flag"
22280 || test ! -s conftest.err'
22281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22282 (eval $ac_try) 2>&5
22283 ac_status=$?
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); }; } &&
22286 { ac_try='test -s conftest$ac_exeext'
22287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22288 (eval $ac_try) 2>&5
22289 ac_status=$?
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); }; }; then
22292 eval "$as_ac_var=yes"
22293 else
22294 echo "$as_me: failed program was:" >&5
22295 sed 's/^/| /' conftest.$ac_ext >&5
22297 eval "$as_ac_var=no"
22299 rm -f conftest.err conftest.$ac_objext \
22300 conftest$ac_exeext conftest.$ac_ext
22302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22304 if test `eval echo '${'$as_ac_var'}'` = yes; then
22305 cat >>confdefs.h <<_ACEOF
22306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22307 _ACEOF
22310 done
22312 else
22314 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22315 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22316 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22317 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22318 echo $ECHO_N "(cached) $ECHO_C" >&6
22319 else
22323 ac_ext=cc
22324 ac_cpp='$CXXCPP $CPPFLAGS'
22325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22329 cat >conftest.$ac_ext <<_ACEOF
22330 /* confdefs.h. */
22331 _ACEOF
22332 cat confdefs.h >>conftest.$ac_ext
22333 cat >>conftest.$ac_ext <<_ACEOF
22334 /* end confdefs.h. */
22335 #include <math.h>
22337 main ()
22339 _frexpl(0, 0);
22341 return 0;
22343 _ACEOF
22344 rm -f conftest.$ac_objext
22345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22346 (eval $ac_compile) 2>conftest.er1
22347 ac_status=$?
22348 grep -v '^ *+' conftest.er1 >conftest.err
22349 rm -f conftest.er1
22350 cat conftest.err >&5
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); } &&
22353 { ac_try='test -z "$ac_cxx_werror_flag"
22354 || test ! -s conftest.err'
22355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22356 (eval $ac_try) 2>&5
22357 ac_status=$?
22358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 (exit $ac_status); }; } &&
22360 { ac_try='test -s conftest.$ac_objext'
22361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22362 (eval $ac_try) 2>&5
22363 ac_status=$?
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); }; }; then
22366 glibcxx_cv_func__frexpl_use=yes
22367 else
22368 echo "$as_me: failed program was:" >&5
22369 sed 's/^/| /' conftest.$ac_ext >&5
22371 glibcxx_cv_func__frexpl_use=no
22373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22374 ac_ext=c
22375 ac_cpp='$CPP $CPPFLAGS'
22376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22384 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22385 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22387 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22389 for ac_func in _frexpl
22391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22392 echo "$as_me:$LINENO: checking for $ac_func" >&5
22393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22394 if eval "test \"\${$as_ac_var+set}\" = set"; then
22395 echo $ECHO_N "(cached) $ECHO_C" >&6
22396 else
22397 if test x$gcc_no_link = xyes; then
22398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22400 { (exit 1); exit 1; }; }
22402 cat >conftest.$ac_ext <<_ACEOF
22403 /* confdefs.h. */
22404 _ACEOF
22405 cat confdefs.h >>conftest.$ac_ext
22406 cat >>conftest.$ac_ext <<_ACEOF
22407 /* end confdefs.h. */
22408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22410 #define $ac_func innocuous_$ac_func
22412 /* System header to define __stub macros and hopefully few prototypes,
22413 which can conflict with char $ac_func (); below.
22414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22415 <limits.h> exists even on freestanding compilers. */
22417 #ifdef __STDC__
22418 # include <limits.h>
22419 #else
22420 # include <assert.h>
22421 #endif
22423 #undef $ac_func
22425 /* Override any gcc2 internal prototype to avoid an error. */
22426 #ifdef __cplusplus
22427 extern "C"
22429 #endif
22430 /* We use char because int might match the return type of a gcc2
22431 builtin and then its argument prototype would still apply. */
22432 char $ac_func ();
22433 /* The GNU C library defines this for functions which it implements
22434 to always fail with ENOSYS. Some functions are actually named
22435 something starting with __ and the normal name is an alias. */
22436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22437 choke me
22438 #else
22439 char (*f) () = $ac_func;
22440 #endif
22441 #ifdef __cplusplus
22443 #endif
22446 main ()
22448 return f != $ac_func;
22450 return 0;
22452 _ACEOF
22453 rm -f conftest.$ac_objext conftest$ac_exeext
22454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22455 (eval $ac_link) 2>conftest.er1
22456 ac_status=$?
22457 grep -v '^ *+' conftest.er1 >conftest.err
22458 rm -f conftest.er1
22459 cat conftest.err >&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); } &&
22462 { ac_try='test -z "$ac_c_werror_flag"
22463 || test ! -s conftest.err'
22464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22465 (eval $ac_try) 2>&5
22466 ac_status=$?
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); }; } &&
22469 { ac_try='test -s conftest$ac_exeext'
22470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22471 (eval $ac_try) 2>&5
22472 ac_status=$?
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); }; }; then
22475 eval "$as_ac_var=yes"
22476 else
22477 echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.$ac_ext >&5
22480 eval "$as_ac_var=no"
22482 rm -f conftest.err conftest.$ac_objext \
22483 conftest$ac_exeext conftest.$ac_ext
22485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22487 if test `eval echo '${'$as_ac_var'}'` = yes; then
22488 cat >>confdefs.h <<_ACEOF
22489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22490 _ACEOF
22493 done
22503 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22504 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22505 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22506 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22507 echo $ECHO_N "(cached) $ECHO_C" >&6
22508 else
22512 ac_ext=cc
22513 ac_cpp='$CXXCPP $CPPFLAGS'
22514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22518 cat >conftest.$ac_ext <<_ACEOF
22519 /* confdefs.h. */
22520 _ACEOF
22521 cat confdefs.h >>conftest.$ac_ext
22522 cat >>conftest.$ac_ext <<_ACEOF
22523 /* end confdefs.h. */
22524 #include <math.h>
22526 main ()
22528 hypotl(0, 0);
22530 return 0;
22532 _ACEOF
22533 rm -f conftest.$ac_objext
22534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22535 (eval $ac_compile) 2>conftest.er1
22536 ac_status=$?
22537 grep -v '^ *+' conftest.er1 >conftest.err
22538 rm -f conftest.er1
22539 cat conftest.err >&5
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); } &&
22542 { ac_try='test -z "$ac_cxx_werror_flag"
22543 || test ! -s conftest.err'
22544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22545 (eval $ac_try) 2>&5
22546 ac_status=$?
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); }; } &&
22549 { ac_try='test -s conftest.$ac_objext'
22550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22551 (eval $ac_try) 2>&5
22552 ac_status=$?
22553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22554 (exit $ac_status); }; }; then
22555 glibcxx_cv_func_hypotl_use=yes
22556 else
22557 echo "$as_me: failed program was:" >&5
22558 sed 's/^/| /' conftest.$ac_ext >&5
22560 glibcxx_cv_func_hypotl_use=no
22562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22563 ac_ext=c
22564 ac_cpp='$CPP $CPPFLAGS'
22565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22574 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22576 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22578 for ac_func in hypotl
22580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22581 echo "$as_me:$LINENO: checking for $ac_func" >&5
22582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22583 if eval "test \"\${$as_ac_var+set}\" = set"; then
22584 echo $ECHO_N "(cached) $ECHO_C" >&6
22585 else
22586 if test x$gcc_no_link = xyes; then
22587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22589 { (exit 1); exit 1; }; }
22591 cat >conftest.$ac_ext <<_ACEOF
22592 /* confdefs.h. */
22593 _ACEOF
22594 cat confdefs.h >>conftest.$ac_ext
22595 cat >>conftest.$ac_ext <<_ACEOF
22596 /* end confdefs.h. */
22597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22599 #define $ac_func innocuous_$ac_func
22601 /* System header to define __stub macros and hopefully few prototypes,
22602 which can conflict with char $ac_func (); below.
22603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22604 <limits.h> exists even on freestanding compilers. */
22606 #ifdef __STDC__
22607 # include <limits.h>
22608 #else
22609 # include <assert.h>
22610 #endif
22612 #undef $ac_func
22614 /* Override any gcc2 internal prototype to avoid an error. */
22615 #ifdef __cplusplus
22616 extern "C"
22618 #endif
22619 /* We use char because int might match the return type of a gcc2
22620 builtin and then its argument prototype would still apply. */
22621 char $ac_func ();
22622 /* The GNU C library defines this for functions which it implements
22623 to always fail with ENOSYS. Some functions are actually named
22624 something starting with __ and the normal name is an alias. */
22625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22626 choke me
22627 #else
22628 char (*f) () = $ac_func;
22629 #endif
22630 #ifdef __cplusplus
22632 #endif
22635 main ()
22637 return f != $ac_func;
22639 return 0;
22641 _ACEOF
22642 rm -f conftest.$ac_objext conftest$ac_exeext
22643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22644 (eval $ac_link) 2>conftest.er1
22645 ac_status=$?
22646 grep -v '^ *+' conftest.er1 >conftest.err
22647 rm -f conftest.er1
22648 cat conftest.err >&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); } &&
22651 { ac_try='test -z "$ac_c_werror_flag"
22652 || test ! -s conftest.err'
22653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22654 (eval $ac_try) 2>&5
22655 ac_status=$?
22656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22657 (exit $ac_status); }; } &&
22658 { ac_try='test -s conftest$ac_exeext'
22659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22660 (eval $ac_try) 2>&5
22661 ac_status=$?
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); }; }; then
22664 eval "$as_ac_var=yes"
22665 else
22666 echo "$as_me: failed program was:" >&5
22667 sed 's/^/| /' conftest.$ac_ext >&5
22669 eval "$as_ac_var=no"
22671 rm -f conftest.err conftest.$ac_objext \
22672 conftest$ac_exeext conftest.$ac_ext
22674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22676 if test `eval echo '${'$as_ac_var'}'` = yes; then
22677 cat >>confdefs.h <<_ACEOF
22678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22679 _ACEOF
22682 done
22684 else
22686 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22687 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22688 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22689 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22690 echo $ECHO_N "(cached) $ECHO_C" >&6
22691 else
22695 ac_ext=cc
22696 ac_cpp='$CXXCPP $CPPFLAGS'
22697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22701 cat >conftest.$ac_ext <<_ACEOF
22702 /* confdefs.h. */
22703 _ACEOF
22704 cat confdefs.h >>conftest.$ac_ext
22705 cat >>conftest.$ac_ext <<_ACEOF
22706 /* end confdefs.h. */
22707 #include <math.h>
22709 main ()
22711 _hypotl(0, 0);
22713 return 0;
22715 _ACEOF
22716 rm -f conftest.$ac_objext
22717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22718 (eval $ac_compile) 2>conftest.er1
22719 ac_status=$?
22720 grep -v '^ *+' conftest.er1 >conftest.err
22721 rm -f conftest.er1
22722 cat conftest.err >&5
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); } &&
22725 { ac_try='test -z "$ac_cxx_werror_flag"
22726 || test ! -s conftest.err'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22729 ac_status=$?
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; } &&
22732 { ac_try='test -s conftest.$ac_objext'
22733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22734 (eval $ac_try) 2>&5
22735 ac_status=$?
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; }; then
22738 glibcxx_cv_func__hypotl_use=yes
22739 else
22740 echo "$as_me: failed program was:" >&5
22741 sed 's/^/| /' conftest.$ac_ext >&5
22743 glibcxx_cv_func__hypotl_use=no
22745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22746 ac_ext=c
22747 ac_cpp='$CPP $CPPFLAGS'
22748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22757 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22759 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22761 for ac_func in _hypotl
22763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22764 echo "$as_me:$LINENO: checking for $ac_func" >&5
22765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22766 if eval "test \"\${$as_ac_var+set}\" = set"; then
22767 echo $ECHO_N "(cached) $ECHO_C" >&6
22768 else
22769 if test x$gcc_no_link = xyes; then
22770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22772 { (exit 1); exit 1; }; }
22774 cat >conftest.$ac_ext <<_ACEOF
22775 /* confdefs.h. */
22776 _ACEOF
22777 cat confdefs.h >>conftest.$ac_ext
22778 cat >>conftest.$ac_ext <<_ACEOF
22779 /* end confdefs.h. */
22780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22782 #define $ac_func innocuous_$ac_func
22784 /* System header to define __stub macros and hopefully few prototypes,
22785 which can conflict with char $ac_func (); below.
22786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22787 <limits.h> exists even on freestanding compilers. */
22789 #ifdef __STDC__
22790 # include <limits.h>
22791 #else
22792 # include <assert.h>
22793 #endif
22795 #undef $ac_func
22797 /* Override any gcc2 internal prototype to avoid an error. */
22798 #ifdef __cplusplus
22799 extern "C"
22801 #endif
22802 /* We use char because int might match the return type of a gcc2
22803 builtin and then its argument prototype would still apply. */
22804 char $ac_func ();
22805 /* The GNU C library defines this for functions which it implements
22806 to always fail with ENOSYS. Some functions are actually named
22807 something starting with __ and the normal name is an alias. */
22808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22809 choke me
22810 #else
22811 char (*f) () = $ac_func;
22812 #endif
22813 #ifdef __cplusplus
22815 #endif
22818 main ()
22820 return f != $ac_func;
22822 return 0;
22824 _ACEOF
22825 rm -f conftest.$ac_objext conftest$ac_exeext
22826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22827 (eval $ac_link) 2>conftest.er1
22828 ac_status=$?
22829 grep -v '^ *+' conftest.er1 >conftest.err
22830 rm -f conftest.er1
22831 cat conftest.err >&5
22832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833 (exit $ac_status); } &&
22834 { ac_try='test -z "$ac_c_werror_flag"
22835 || test ! -s conftest.err'
22836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22837 (eval $ac_try) 2>&5
22838 ac_status=$?
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); }; } &&
22841 { ac_try='test -s conftest$ac_exeext'
22842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22843 (eval $ac_try) 2>&5
22844 ac_status=$?
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); }; }; then
22847 eval "$as_ac_var=yes"
22848 else
22849 echo "$as_me: failed program was:" >&5
22850 sed 's/^/| /' conftest.$ac_ext >&5
22852 eval "$as_ac_var=no"
22854 rm -f conftest.err conftest.$ac_objext \
22855 conftest$ac_exeext conftest.$ac_ext
22857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22859 if test `eval echo '${'$as_ac_var'}'` = yes; then
22860 cat >>confdefs.h <<_ACEOF
22861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22862 _ACEOF
22865 done
22875 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22876 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22877 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22878 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22879 echo $ECHO_N "(cached) $ECHO_C" >&6
22880 else
22884 ac_ext=cc
22885 ac_cpp='$CXXCPP $CPPFLAGS'
22886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22890 cat >conftest.$ac_ext <<_ACEOF
22891 /* confdefs.h. */
22892 _ACEOF
22893 cat confdefs.h >>conftest.$ac_ext
22894 cat >>conftest.$ac_ext <<_ACEOF
22895 /* end confdefs.h. */
22896 #include <math.h>
22898 main ()
22900 ldexpl(0, 0);
22902 return 0;
22904 _ACEOF
22905 rm -f conftest.$ac_objext
22906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22907 (eval $ac_compile) 2>conftest.er1
22908 ac_status=$?
22909 grep -v '^ *+' conftest.er1 >conftest.err
22910 rm -f conftest.er1
22911 cat conftest.err >&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try='test -z "$ac_cxx_werror_flag"
22915 || test ! -s conftest.err'
22916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22917 (eval $ac_try) 2>&5
22918 ac_status=$?
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); }; } &&
22921 { ac_try='test -s conftest.$ac_objext'
22922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22923 (eval $ac_try) 2>&5
22924 ac_status=$?
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); }; }; then
22927 glibcxx_cv_func_ldexpl_use=yes
22928 else
22929 echo "$as_me: failed program was:" >&5
22930 sed 's/^/| /' conftest.$ac_ext >&5
22932 glibcxx_cv_func_ldexpl_use=no
22934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22935 ac_ext=c
22936 ac_cpp='$CPP $CPPFLAGS'
22937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22945 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22946 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22948 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22950 for ac_func in ldexpl
22952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22953 echo "$as_me:$LINENO: checking for $ac_func" >&5
22954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22955 if eval "test \"\${$as_ac_var+set}\" = set"; then
22956 echo $ECHO_N "(cached) $ECHO_C" >&6
22957 else
22958 if test x$gcc_no_link = xyes; then
22959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22961 { (exit 1); exit 1; }; }
22963 cat >conftest.$ac_ext <<_ACEOF
22964 /* confdefs.h. */
22965 _ACEOF
22966 cat confdefs.h >>conftest.$ac_ext
22967 cat >>conftest.$ac_ext <<_ACEOF
22968 /* end confdefs.h. */
22969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22971 #define $ac_func innocuous_$ac_func
22973 /* System header to define __stub macros and hopefully few prototypes,
22974 which can conflict with char $ac_func (); below.
22975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22976 <limits.h> exists even on freestanding compilers. */
22978 #ifdef __STDC__
22979 # include <limits.h>
22980 #else
22981 # include <assert.h>
22982 #endif
22984 #undef $ac_func
22986 /* Override any gcc2 internal prototype to avoid an error. */
22987 #ifdef __cplusplus
22988 extern "C"
22990 #endif
22991 /* We use char because int might match the return type of a gcc2
22992 builtin and then its argument prototype would still apply. */
22993 char $ac_func ();
22994 /* The GNU C library defines this for functions which it implements
22995 to always fail with ENOSYS. Some functions are actually named
22996 something starting with __ and the normal name is an alias. */
22997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22998 choke me
22999 #else
23000 char (*f) () = $ac_func;
23001 #endif
23002 #ifdef __cplusplus
23004 #endif
23007 main ()
23009 return f != $ac_func;
23011 return 0;
23013 _ACEOF
23014 rm -f conftest.$ac_objext conftest$ac_exeext
23015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23016 (eval $ac_link) 2>conftest.er1
23017 ac_status=$?
23018 grep -v '^ *+' conftest.er1 >conftest.err
23019 rm -f conftest.er1
23020 cat conftest.err >&5
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); } &&
23023 { ac_try='test -z "$ac_c_werror_flag"
23024 || test ! -s conftest.err'
23025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23026 (eval $ac_try) 2>&5
23027 ac_status=$?
23028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23029 (exit $ac_status); }; } &&
23030 { ac_try='test -s conftest$ac_exeext'
23031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23032 (eval $ac_try) 2>&5
23033 ac_status=$?
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); }; }; then
23036 eval "$as_ac_var=yes"
23037 else
23038 echo "$as_me: failed program was:" >&5
23039 sed 's/^/| /' conftest.$ac_ext >&5
23041 eval "$as_ac_var=no"
23043 rm -f conftest.err conftest.$ac_objext \
23044 conftest$ac_exeext conftest.$ac_ext
23046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23048 if test `eval echo '${'$as_ac_var'}'` = yes; then
23049 cat >>confdefs.h <<_ACEOF
23050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23051 _ACEOF
23054 done
23056 else
23058 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23059 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23060 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23061 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23062 echo $ECHO_N "(cached) $ECHO_C" >&6
23063 else
23067 ac_ext=cc
23068 ac_cpp='$CXXCPP $CPPFLAGS'
23069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23073 cat >conftest.$ac_ext <<_ACEOF
23074 /* confdefs.h. */
23075 _ACEOF
23076 cat confdefs.h >>conftest.$ac_ext
23077 cat >>conftest.$ac_ext <<_ACEOF
23078 /* end confdefs.h. */
23079 #include <math.h>
23081 main ()
23083 _ldexpl(0, 0);
23085 return 0;
23087 _ACEOF
23088 rm -f conftest.$ac_objext
23089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23090 (eval $ac_compile) 2>conftest.er1
23091 ac_status=$?
23092 grep -v '^ *+' conftest.er1 >conftest.err
23093 rm -f conftest.er1
23094 cat conftest.err >&5
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); } &&
23097 { ac_try='test -z "$ac_cxx_werror_flag"
23098 || test ! -s conftest.err'
23099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23100 (eval $ac_try) 2>&5
23101 ac_status=$?
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); }; } &&
23104 { ac_try='test -s conftest.$ac_objext'
23105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23106 (eval $ac_try) 2>&5
23107 ac_status=$?
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); }; }; then
23110 glibcxx_cv_func__ldexpl_use=yes
23111 else
23112 echo "$as_me: failed program was:" >&5
23113 sed 's/^/| /' conftest.$ac_ext >&5
23115 glibcxx_cv_func__ldexpl_use=no
23117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23118 ac_ext=c
23119 ac_cpp='$CPP $CPPFLAGS'
23120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23128 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23129 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23131 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23133 for ac_func in _ldexpl
23135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23136 echo "$as_me:$LINENO: checking for $ac_func" >&5
23137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23138 if eval "test \"\${$as_ac_var+set}\" = set"; then
23139 echo $ECHO_N "(cached) $ECHO_C" >&6
23140 else
23141 if test x$gcc_no_link = xyes; then
23142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23144 { (exit 1); exit 1; }; }
23146 cat >conftest.$ac_ext <<_ACEOF
23147 /* confdefs.h. */
23148 _ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23154 #define $ac_func innocuous_$ac_func
23156 /* System header to define __stub macros and hopefully few prototypes,
23157 which can conflict with char $ac_func (); below.
23158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23159 <limits.h> exists even on freestanding compilers. */
23161 #ifdef __STDC__
23162 # include <limits.h>
23163 #else
23164 # include <assert.h>
23165 #endif
23167 #undef $ac_func
23169 /* Override any gcc2 internal prototype to avoid an error. */
23170 #ifdef __cplusplus
23171 extern "C"
23173 #endif
23174 /* We use char because int might match the return type of a gcc2
23175 builtin and then its argument prototype would still apply. */
23176 char $ac_func ();
23177 /* The GNU C library defines this for functions which it implements
23178 to always fail with ENOSYS. Some functions are actually named
23179 something starting with __ and the normal name is an alias. */
23180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23181 choke me
23182 #else
23183 char (*f) () = $ac_func;
23184 #endif
23185 #ifdef __cplusplus
23187 #endif
23190 main ()
23192 return f != $ac_func;
23194 return 0;
23196 _ACEOF
23197 rm -f conftest.$ac_objext conftest$ac_exeext
23198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23199 (eval $ac_link) 2>conftest.er1
23200 ac_status=$?
23201 grep -v '^ *+' conftest.er1 >conftest.err
23202 rm -f conftest.er1
23203 cat conftest.err >&5
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); } &&
23206 { ac_try='test -z "$ac_c_werror_flag"
23207 || test ! -s conftest.err'
23208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23209 (eval $ac_try) 2>&5
23210 ac_status=$?
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); }; } &&
23213 { ac_try='test -s conftest$ac_exeext'
23214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215 (eval $ac_try) 2>&5
23216 ac_status=$?
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; }; then
23219 eval "$as_ac_var=yes"
23220 else
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.$ac_ext >&5
23224 eval "$as_ac_var=no"
23226 rm -f conftest.err conftest.$ac_objext \
23227 conftest$ac_exeext conftest.$ac_ext
23229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23231 if test `eval echo '${'$as_ac_var'}'` = yes; then
23232 cat >>confdefs.h <<_ACEOF
23233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23234 _ACEOF
23237 done
23247 echo "$as_me:$LINENO: checking for logl declaration" >&5
23248 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23249 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23250 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23251 echo $ECHO_N "(cached) $ECHO_C" >&6
23252 else
23256 ac_ext=cc
23257 ac_cpp='$CXXCPP $CPPFLAGS'
23258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23262 cat >conftest.$ac_ext <<_ACEOF
23263 /* confdefs.h. */
23264 _ACEOF
23265 cat confdefs.h >>conftest.$ac_ext
23266 cat >>conftest.$ac_ext <<_ACEOF
23267 /* end confdefs.h. */
23268 #include <math.h>
23269 #ifdef HAVE_IEEEFP_H
23270 #include <ieeefp.h>
23271 #endif
23274 main ()
23276 logl(0);
23278 return 0;
23280 _ACEOF
23281 rm -f conftest.$ac_objext
23282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23283 (eval $ac_compile) 2>conftest.er1
23284 ac_status=$?
23285 grep -v '^ *+' conftest.er1 >conftest.err
23286 rm -f conftest.er1
23287 cat conftest.err >&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); } &&
23290 { ac_try='test -z "$ac_cxx_werror_flag"
23291 || test ! -s conftest.err'
23292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23293 (eval $ac_try) 2>&5
23294 ac_status=$?
23295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296 (exit $ac_status); }; } &&
23297 { ac_try='test -s conftest.$ac_objext'
23298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23299 (eval $ac_try) 2>&5
23300 ac_status=$?
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); }; }; then
23303 glibcxx_cv_func_logl_use=yes
23304 else
23305 echo "$as_me: failed program was:" >&5
23306 sed 's/^/| /' conftest.$ac_ext >&5
23308 glibcxx_cv_func_logl_use=no
23310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23311 ac_ext=c
23312 ac_cpp='$CPP $CPPFLAGS'
23313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23321 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23322 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23324 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23326 for ac_func in logl
23328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23329 echo "$as_me:$LINENO: checking for $ac_func" >&5
23330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23331 if eval "test \"\${$as_ac_var+set}\" = set"; then
23332 echo $ECHO_N "(cached) $ECHO_C" >&6
23333 else
23334 if test x$gcc_no_link = xyes; then
23335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23337 { (exit 1); exit 1; }; }
23339 cat >conftest.$ac_ext <<_ACEOF
23340 /* confdefs.h. */
23341 _ACEOF
23342 cat confdefs.h >>conftest.$ac_ext
23343 cat >>conftest.$ac_ext <<_ACEOF
23344 /* end confdefs.h. */
23345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23347 #define $ac_func innocuous_$ac_func
23349 /* System header to define __stub macros and hopefully few prototypes,
23350 which can conflict with char $ac_func (); below.
23351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23352 <limits.h> exists even on freestanding compilers. */
23354 #ifdef __STDC__
23355 # include <limits.h>
23356 #else
23357 # include <assert.h>
23358 #endif
23360 #undef $ac_func
23362 /* Override any gcc2 internal prototype to avoid an error. */
23363 #ifdef __cplusplus
23364 extern "C"
23366 #endif
23367 /* We use char because int might match the return type of a gcc2
23368 builtin and then its argument prototype would still apply. */
23369 char $ac_func ();
23370 /* The GNU C library defines this for functions which it implements
23371 to always fail with ENOSYS. Some functions are actually named
23372 something starting with __ and the normal name is an alias. */
23373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23374 choke me
23375 #else
23376 char (*f) () = $ac_func;
23377 #endif
23378 #ifdef __cplusplus
23380 #endif
23383 main ()
23385 return f != $ac_func;
23387 return 0;
23389 _ACEOF
23390 rm -f conftest.$ac_objext conftest$ac_exeext
23391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23392 (eval $ac_link) 2>conftest.er1
23393 ac_status=$?
23394 grep -v '^ *+' conftest.er1 >conftest.err
23395 rm -f conftest.er1
23396 cat conftest.err >&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); } &&
23399 { ac_try='test -z "$ac_c_werror_flag"
23400 || test ! -s conftest.err'
23401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23402 (eval $ac_try) 2>&5
23403 ac_status=$?
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); }; } &&
23406 { ac_try='test -s conftest$ac_exeext'
23407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23408 (eval $ac_try) 2>&5
23409 ac_status=$?
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; }; then
23412 eval "$as_ac_var=yes"
23413 else
23414 echo "$as_me: failed program was:" >&5
23415 sed 's/^/| /' conftest.$ac_ext >&5
23417 eval "$as_ac_var=no"
23419 rm -f conftest.err conftest.$ac_objext \
23420 conftest$ac_exeext conftest.$ac_ext
23422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23424 if test `eval echo '${'$as_ac_var'}'` = yes; then
23425 cat >>confdefs.h <<_ACEOF
23426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23427 _ACEOF
23430 done
23432 else
23434 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23435 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23436 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23437 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23438 echo $ECHO_N "(cached) $ECHO_C" >&6
23439 else
23443 ac_ext=cc
23444 ac_cpp='$CXXCPP $CPPFLAGS'
23445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23449 cat >conftest.$ac_ext <<_ACEOF
23450 /* confdefs.h. */
23451 _ACEOF
23452 cat confdefs.h >>conftest.$ac_ext
23453 cat >>conftest.$ac_ext <<_ACEOF
23454 /* end confdefs.h. */
23455 #include <math.h>
23456 #ifdef HAVE_IEEEFP_H
23457 #include <ieeefp.h>
23458 #endif
23461 main ()
23463 _logl(0);
23465 return 0;
23467 _ACEOF
23468 rm -f conftest.$ac_objext
23469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23470 (eval $ac_compile) 2>conftest.er1
23471 ac_status=$?
23472 grep -v '^ *+' conftest.er1 >conftest.err
23473 rm -f conftest.er1
23474 cat conftest.err >&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); } &&
23477 { ac_try='test -z "$ac_cxx_werror_flag"
23478 || test ! -s conftest.err'
23479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23480 (eval $ac_try) 2>&5
23481 ac_status=$?
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); }; } &&
23484 { ac_try='test -s conftest.$ac_objext'
23485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23486 (eval $ac_try) 2>&5
23487 ac_status=$?
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); }; }; then
23490 glibcxx_cv_func__logl_use=yes
23491 else
23492 echo "$as_me: failed program was:" >&5
23493 sed 's/^/| /' conftest.$ac_ext >&5
23495 glibcxx_cv_func__logl_use=no
23497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23498 ac_ext=c
23499 ac_cpp='$CPP $CPPFLAGS'
23500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23508 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23509 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23511 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23513 for ac_func in _logl
23515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23516 echo "$as_me:$LINENO: checking for $ac_func" >&5
23517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23518 if eval "test \"\${$as_ac_var+set}\" = set"; then
23519 echo $ECHO_N "(cached) $ECHO_C" >&6
23520 else
23521 if test x$gcc_no_link = xyes; then
23522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23524 { (exit 1); exit 1; }; }
23526 cat >conftest.$ac_ext <<_ACEOF
23527 /* confdefs.h. */
23528 _ACEOF
23529 cat confdefs.h >>conftest.$ac_ext
23530 cat >>conftest.$ac_ext <<_ACEOF
23531 /* end confdefs.h. */
23532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23534 #define $ac_func innocuous_$ac_func
23536 /* System header to define __stub macros and hopefully few prototypes,
23537 which can conflict with char $ac_func (); below.
23538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23539 <limits.h> exists even on freestanding compilers. */
23541 #ifdef __STDC__
23542 # include <limits.h>
23543 #else
23544 # include <assert.h>
23545 #endif
23547 #undef $ac_func
23549 /* Override any gcc2 internal prototype to avoid an error. */
23550 #ifdef __cplusplus
23551 extern "C"
23553 #endif
23554 /* We use char because int might match the return type of a gcc2
23555 builtin and then its argument prototype would still apply. */
23556 char $ac_func ();
23557 /* The GNU C library defines this for functions which it implements
23558 to always fail with ENOSYS. Some functions are actually named
23559 something starting with __ and the normal name is an alias. */
23560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23561 choke me
23562 #else
23563 char (*f) () = $ac_func;
23564 #endif
23565 #ifdef __cplusplus
23567 #endif
23570 main ()
23572 return f != $ac_func;
23574 return 0;
23576 _ACEOF
23577 rm -f conftest.$ac_objext conftest$ac_exeext
23578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23579 (eval $ac_link) 2>conftest.er1
23580 ac_status=$?
23581 grep -v '^ *+' conftest.er1 >conftest.err
23582 rm -f conftest.er1
23583 cat conftest.err >&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); } &&
23586 { ac_try='test -z "$ac_c_werror_flag"
23587 || test ! -s conftest.err'
23588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23589 (eval $ac_try) 2>&5
23590 ac_status=$?
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); }; } &&
23593 { ac_try='test -s conftest$ac_exeext'
23594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23595 (eval $ac_try) 2>&5
23596 ac_status=$?
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); }; }; then
23599 eval "$as_ac_var=yes"
23600 else
23601 echo "$as_me: failed program was:" >&5
23602 sed 's/^/| /' conftest.$ac_ext >&5
23604 eval "$as_ac_var=no"
23606 rm -f conftest.err conftest.$ac_objext \
23607 conftest$ac_exeext conftest.$ac_ext
23609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23611 if test `eval echo '${'$as_ac_var'}'` = yes; then
23612 cat >>confdefs.h <<_ACEOF
23613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23614 _ACEOF
23617 done
23627 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23628 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23629 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23630 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23631 echo $ECHO_N "(cached) $ECHO_C" >&6
23632 else
23636 ac_ext=cc
23637 ac_cpp='$CXXCPP $CPPFLAGS'
23638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23642 cat >conftest.$ac_ext <<_ACEOF
23643 /* confdefs.h. */
23644 _ACEOF
23645 cat confdefs.h >>conftest.$ac_ext
23646 cat >>conftest.$ac_ext <<_ACEOF
23647 /* end confdefs.h. */
23648 #include <math.h>
23649 #ifdef HAVE_IEEEFP_H
23650 #include <ieeefp.h>
23651 #endif
23654 main ()
23656 log10l(0);
23658 return 0;
23660 _ACEOF
23661 rm -f conftest.$ac_objext
23662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23663 (eval $ac_compile) 2>conftest.er1
23664 ac_status=$?
23665 grep -v '^ *+' conftest.er1 >conftest.err
23666 rm -f conftest.er1
23667 cat conftest.err >&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } &&
23670 { ac_try='test -z "$ac_cxx_werror_flag"
23671 || test ! -s conftest.err'
23672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23673 (eval $ac_try) 2>&5
23674 ac_status=$?
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); }; } &&
23677 { ac_try='test -s conftest.$ac_objext'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23680 ac_status=$?
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; }; then
23683 glibcxx_cv_func_log10l_use=yes
23684 else
23685 echo "$as_me: failed program was:" >&5
23686 sed 's/^/| /' conftest.$ac_ext >&5
23688 glibcxx_cv_func_log10l_use=no
23690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23691 ac_ext=c
23692 ac_cpp='$CPP $CPPFLAGS'
23693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23701 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23702 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23704 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23706 for ac_func in log10l
23708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23709 echo "$as_me:$LINENO: checking for $ac_func" >&5
23710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23711 if eval "test \"\${$as_ac_var+set}\" = set"; then
23712 echo $ECHO_N "(cached) $ECHO_C" >&6
23713 else
23714 if test x$gcc_no_link = xyes; then
23715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23717 { (exit 1); exit 1; }; }
23719 cat >conftest.$ac_ext <<_ACEOF
23720 /* confdefs.h. */
23721 _ACEOF
23722 cat confdefs.h >>conftest.$ac_ext
23723 cat >>conftest.$ac_ext <<_ACEOF
23724 /* end confdefs.h. */
23725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23727 #define $ac_func innocuous_$ac_func
23729 /* System header to define __stub macros and hopefully few prototypes,
23730 which can conflict with char $ac_func (); below.
23731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23732 <limits.h> exists even on freestanding compilers. */
23734 #ifdef __STDC__
23735 # include <limits.h>
23736 #else
23737 # include <assert.h>
23738 #endif
23740 #undef $ac_func
23742 /* Override any gcc2 internal prototype to avoid an error. */
23743 #ifdef __cplusplus
23744 extern "C"
23746 #endif
23747 /* We use char because int might match the return type of a gcc2
23748 builtin and then its argument prototype would still apply. */
23749 char $ac_func ();
23750 /* The GNU C library defines this for functions which it implements
23751 to always fail with ENOSYS. Some functions are actually named
23752 something starting with __ and the normal name is an alias. */
23753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23754 choke me
23755 #else
23756 char (*f) () = $ac_func;
23757 #endif
23758 #ifdef __cplusplus
23760 #endif
23763 main ()
23765 return f != $ac_func;
23767 return 0;
23769 _ACEOF
23770 rm -f conftest.$ac_objext conftest$ac_exeext
23771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23772 (eval $ac_link) 2>conftest.er1
23773 ac_status=$?
23774 grep -v '^ *+' conftest.er1 >conftest.err
23775 rm -f conftest.er1
23776 cat conftest.err >&5
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); } &&
23779 { ac_try='test -z "$ac_c_werror_flag"
23780 || test ! -s conftest.err'
23781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23782 (eval $ac_try) 2>&5
23783 ac_status=$?
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); }; } &&
23786 { ac_try='test -s conftest$ac_exeext'
23787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23788 (eval $ac_try) 2>&5
23789 ac_status=$?
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); }; }; then
23792 eval "$as_ac_var=yes"
23793 else
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.$ac_ext >&5
23797 eval "$as_ac_var=no"
23799 rm -f conftest.err conftest.$ac_objext \
23800 conftest$ac_exeext conftest.$ac_ext
23802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23804 if test `eval echo '${'$as_ac_var'}'` = yes; then
23805 cat >>confdefs.h <<_ACEOF
23806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23807 _ACEOF
23810 done
23812 else
23814 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23815 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23816 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23817 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23818 echo $ECHO_N "(cached) $ECHO_C" >&6
23819 else
23823 ac_ext=cc
23824 ac_cpp='$CXXCPP $CPPFLAGS'
23825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23829 cat >conftest.$ac_ext <<_ACEOF
23830 /* confdefs.h. */
23831 _ACEOF
23832 cat confdefs.h >>conftest.$ac_ext
23833 cat >>conftest.$ac_ext <<_ACEOF
23834 /* end confdefs.h. */
23835 #include <math.h>
23836 #ifdef HAVE_IEEEFP_H
23837 #include <ieeefp.h>
23838 #endif
23841 main ()
23843 _log10l(0);
23845 return 0;
23847 _ACEOF
23848 rm -f conftest.$ac_objext
23849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23850 (eval $ac_compile) 2>conftest.er1
23851 ac_status=$?
23852 grep -v '^ *+' conftest.er1 >conftest.err
23853 rm -f conftest.er1
23854 cat conftest.err >&5
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); } &&
23857 { ac_try='test -z "$ac_cxx_werror_flag"
23858 || test ! -s conftest.err'
23859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23860 (eval $ac_try) 2>&5
23861 ac_status=$?
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); }; } &&
23864 { ac_try='test -s conftest.$ac_objext'
23865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23866 (eval $ac_try) 2>&5
23867 ac_status=$?
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); }; }; then
23870 glibcxx_cv_func__log10l_use=yes
23871 else
23872 echo "$as_me: failed program was:" >&5
23873 sed 's/^/| /' conftest.$ac_ext >&5
23875 glibcxx_cv_func__log10l_use=no
23877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23878 ac_ext=c
23879 ac_cpp='$CPP $CPPFLAGS'
23880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23888 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23889 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23891 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23893 for ac_func in _log10l
23895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23896 echo "$as_me:$LINENO: checking for $ac_func" >&5
23897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23898 if eval "test \"\${$as_ac_var+set}\" = set"; then
23899 echo $ECHO_N "(cached) $ECHO_C" >&6
23900 else
23901 if test x$gcc_no_link = xyes; then
23902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23904 { (exit 1); exit 1; }; }
23906 cat >conftest.$ac_ext <<_ACEOF
23907 /* confdefs.h. */
23908 _ACEOF
23909 cat confdefs.h >>conftest.$ac_ext
23910 cat >>conftest.$ac_ext <<_ACEOF
23911 /* end confdefs.h. */
23912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23914 #define $ac_func innocuous_$ac_func
23916 /* System header to define __stub macros and hopefully few prototypes,
23917 which can conflict with char $ac_func (); below.
23918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23919 <limits.h> exists even on freestanding compilers. */
23921 #ifdef __STDC__
23922 # include <limits.h>
23923 #else
23924 # include <assert.h>
23925 #endif
23927 #undef $ac_func
23929 /* Override any gcc2 internal prototype to avoid an error. */
23930 #ifdef __cplusplus
23931 extern "C"
23933 #endif
23934 /* We use char because int might match the return type of a gcc2
23935 builtin and then its argument prototype would still apply. */
23936 char $ac_func ();
23937 /* The GNU C library defines this for functions which it implements
23938 to always fail with ENOSYS. Some functions are actually named
23939 something starting with __ and the normal name is an alias. */
23940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23941 choke me
23942 #else
23943 char (*f) () = $ac_func;
23944 #endif
23945 #ifdef __cplusplus
23947 #endif
23950 main ()
23952 return f != $ac_func;
23954 return 0;
23956 _ACEOF
23957 rm -f conftest.$ac_objext conftest$ac_exeext
23958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23959 (eval $ac_link) 2>conftest.er1
23960 ac_status=$?
23961 grep -v '^ *+' conftest.er1 >conftest.err
23962 rm -f conftest.er1
23963 cat conftest.err >&5
23964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965 (exit $ac_status); } &&
23966 { ac_try='test -z "$ac_c_werror_flag"
23967 || test ! -s conftest.err'
23968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23969 (eval $ac_try) 2>&5
23970 ac_status=$?
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); }; } &&
23973 { ac_try='test -s conftest$ac_exeext'
23974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23975 (eval $ac_try) 2>&5
23976 ac_status=$?
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); }; }; then
23979 eval "$as_ac_var=yes"
23980 else
23981 echo "$as_me: failed program was:" >&5
23982 sed 's/^/| /' conftest.$ac_ext >&5
23984 eval "$as_ac_var=no"
23986 rm -f conftest.err conftest.$ac_objext \
23987 conftest$ac_exeext conftest.$ac_ext
23989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23991 if test `eval echo '${'$as_ac_var'}'` = yes; then
23992 cat >>confdefs.h <<_ACEOF
23993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23994 _ACEOF
23997 done
24007 echo "$as_me:$LINENO: checking for modfl declaration" >&5
24008 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24009 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24010 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24011 echo $ECHO_N "(cached) $ECHO_C" >&6
24012 else
24016 ac_ext=cc
24017 ac_cpp='$CXXCPP $CPPFLAGS'
24018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24022 cat >conftest.$ac_ext <<_ACEOF
24023 /* confdefs.h. */
24024 _ACEOF
24025 cat confdefs.h >>conftest.$ac_ext
24026 cat >>conftest.$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24028 #include <math.h>
24030 main ()
24032 modfl(0, 0);
24034 return 0;
24036 _ACEOF
24037 rm -f conftest.$ac_objext
24038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24039 (eval $ac_compile) 2>conftest.er1
24040 ac_status=$?
24041 grep -v '^ *+' conftest.er1 >conftest.err
24042 rm -f conftest.er1
24043 cat conftest.err >&5
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); } &&
24046 { ac_try='test -z "$ac_cxx_werror_flag"
24047 || test ! -s conftest.err'
24048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24049 (eval $ac_try) 2>&5
24050 ac_status=$?
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); }; } &&
24053 { ac_try='test -s conftest.$ac_objext'
24054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24055 (eval $ac_try) 2>&5
24056 ac_status=$?
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); }; }; then
24059 glibcxx_cv_func_modfl_use=yes
24060 else
24061 echo "$as_me: failed program was:" >&5
24062 sed 's/^/| /' conftest.$ac_ext >&5
24064 glibcxx_cv_func_modfl_use=no
24066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24067 ac_ext=c
24068 ac_cpp='$CPP $CPPFLAGS'
24069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24077 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24078 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24080 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24082 for ac_func in modfl
24084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24085 echo "$as_me:$LINENO: checking for $ac_func" >&5
24086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24087 if eval "test \"\${$as_ac_var+set}\" = set"; then
24088 echo $ECHO_N "(cached) $ECHO_C" >&6
24089 else
24090 if test x$gcc_no_link = xyes; then
24091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24093 { (exit 1); exit 1; }; }
24095 cat >conftest.$ac_ext <<_ACEOF
24096 /* confdefs.h. */
24097 _ACEOF
24098 cat confdefs.h >>conftest.$ac_ext
24099 cat >>conftest.$ac_ext <<_ACEOF
24100 /* end confdefs.h. */
24101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24103 #define $ac_func innocuous_$ac_func
24105 /* System header to define __stub macros and hopefully few prototypes,
24106 which can conflict with char $ac_func (); below.
24107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24108 <limits.h> exists even on freestanding compilers. */
24110 #ifdef __STDC__
24111 # include <limits.h>
24112 #else
24113 # include <assert.h>
24114 #endif
24116 #undef $ac_func
24118 /* Override any gcc2 internal prototype to avoid an error. */
24119 #ifdef __cplusplus
24120 extern "C"
24122 #endif
24123 /* We use char because int might match the return type of a gcc2
24124 builtin and then its argument prototype would still apply. */
24125 char $ac_func ();
24126 /* The GNU C library defines this for functions which it implements
24127 to always fail with ENOSYS. Some functions are actually named
24128 something starting with __ and the normal name is an alias. */
24129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24130 choke me
24131 #else
24132 char (*f) () = $ac_func;
24133 #endif
24134 #ifdef __cplusplus
24136 #endif
24139 main ()
24141 return f != $ac_func;
24143 return 0;
24145 _ACEOF
24146 rm -f conftest.$ac_objext conftest$ac_exeext
24147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24148 (eval $ac_link) 2>conftest.er1
24149 ac_status=$?
24150 grep -v '^ *+' conftest.er1 >conftest.err
24151 rm -f conftest.er1
24152 cat conftest.err >&5
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); } &&
24155 { ac_try='test -z "$ac_c_werror_flag"
24156 || test ! -s conftest.err'
24157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24158 (eval $ac_try) 2>&5
24159 ac_status=$?
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); }; } &&
24162 { ac_try='test -s conftest$ac_exeext'
24163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24164 (eval $ac_try) 2>&5
24165 ac_status=$?
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); }; }; then
24168 eval "$as_ac_var=yes"
24169 else
24170 echo "$as_me: failed program was:" >&5
24171 sed 's/^/| /' conftest.$ac_ext >&5
24173 eval "$as_ac_var=no"
24175 rm -f conftest.err conftest.$ac_objext \
24176 conftest$ac_exeext conftest.$ac_ext
24178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24180 if test `eval echo '${'$as_ac_var'}'` = yes; then
24181 cat >>confdefs.h <<_ACEOF
24182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24183 _ACEOF
24186 done
24188 else
24190 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24191 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24192 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24193 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24194 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 else
24199 ac_ext=cc
24200 ac_cpp='$CXXCPP $CPPFLAGS'
24201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24205 cat >conftest.$ac_ext <<_ACEOF
24206 /* confdefs.h. */
24207 _ACEOF
24208 cat confdefs.h >>conftest.$ac_ext
24209 cat >>conftest.$ac_ext <<_ACEOF
24210 /* end confdefs.h. */
24211 #include <math.h>
24213 main ()
24215 _modfl(0, 0);
24217 return 0;
24219 _ACEOF
24220 rm -f conftest.$ac_objext
24221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24222 (eval $ac_compile) 2>conftest.er1
24223 ac_status=$?
24224 grep -v '^ *+' conftest.er1 >conftest.err
24225 rm -f conftest.er1
24226 cat conftest.err >&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); } &&
24229 { ac_try='test -z "$ac_cxx_werror_flag"
24230 || test ! -s conftest.err'
24231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24232 (eval $ac_try) 2>&5
24233 ac_status=$?
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); }; } &&
24236 { ac_try='test -s conftest.$ac_objext'
24237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24238 (eval $ac_try) 2>&5
24239 ac_status=$?
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); }; }; then
24242 glibcxx_cv_func__modfl_use=yes
24243 else
24244 echo "$as_me: failed program was:" >&5
24245 sed 's/^/| /' conftest.$ac_ext >&5
24247 glibcxx_cv_func__modfl_use=no
24249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24250 ac_ext=c
24251 ac_cpp='$CPP $CPPFLAGS'
24252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24260 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24261 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24263 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24265 for ac_func in _modfl
24267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24268 echo "$as_me:$LINENO: checking for $ac_func" >&5
24269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24270 if eval "test \"\${$as_ac_var+set}\" = set"; then
24271 echo $ECHO_N "(cached) $ECHO_C" >&6
24272 else
24273 if test x$gcc_no_link = xyes; then
24274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24276 { (exit 1); exit 1; }; }
24278 cat >conftest.$ac_ext <<_ACEOF
24279 /* confdefs.h. */
24280 _ACEOF
24281 cat confdefs.h >>conftest.$ac_ext
24282 cat >>conftest.$ac_ext <<_ACEOF
24283 /* end confdefs.h. */
24284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24286 #define $ac_func innocuous_$ac_func
24288 /* System header to define __stub macros and hopefully few prototypes,
24289 which can conflict with char $ac_func (); below.
24290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24291 <limits.h> exists even on freestanding compilers. */
24293 #ifdef __STDC__
24294 # include <limits.h>
24295 #else
24296 # include <assert.h>
24297 #endif
24299 #undef $ac_func
24301 /* Override any gcc2 internal prototype to avoid an error. */
24302 #ifdef __cplusplus
24303 extern "C"
24305 #endif
24306 /* We use char because int might match the return type of a gcc2
24307 builtin and then its argument prototype would still apply. */
24308 char $ac_func ();
24309 /* The GNU C library defines this for functions which it implements
24310 to always fail with ENOSYS. Some functions are actually named
24311 something starting with __ and the normal name is an alias. */
24312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24313 choke me
24314 #else
24315 char (*f) () = $ac_func;
24316 #endif
24317 #ifdef __cplusplus
24319 #endif
24322 main ()
24324 return f != $ac_func;
24326 return 0;
24328 _ACEOF
24329 rm -f conftest.$ac_objext conftest$ac_exeext
24330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24331 (eval $ac_link) 2>conftest.er1
24332 ac_status=$?
24333 grep -v '^ *+' conftest.er1 >conftest.err
24334 rm -f conftest.er1
24335 cat conftest.err >&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); } &&
24338 { ac_try='test -z "$ac_c_werror_flag"
24339 || test ! -s conftest.err'
24340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24341 (eval $ac_try) 2>&5
24342 ac_status=$?
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); }; } &&
24345 { ac_try='test -s conftest$ac_exeext'
24346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24347 (eval $ac_try) 2>&5
24348 ac_status=$?
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); }; }; then
24351 eval "$as_ac_var=yes"
24352 else
24353 echo "$as_me: failed program was:" >&5
24354 sed 's/^/| /' conftest.$ac_ext >&5
24356 eval "$as_ac_var=no"
24358 rm -f conftest.err conftest.$ac_objext \
24359 conftest$ac_exeext conftest.$ac_ext
24361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24363 if test `eval echo '${'$as_ac_var'}'` = yes; then
24364 cat >>confdefs.h <<_ACEOF
24365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24366 _ACEOF
24369 done
24379 echo "$as_me:$LINENO: checking for powl declaration" >&5
24380 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24381 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24382 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24383 echo $ECHO_N "(cached) $ECHO_C" >&6
24384 else
24388 ac_ext=cc
24389 ac_cpp='$CXXCPP $CPPFLAGS'
24390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24394 cat >conftest.$ac_ext <<_ACEOF
24395 /* confdefs.h. */
24396 _ACEOF
24397 cat confdefs.h >>conftest.$ac_ext
24398 cat >>conftest.$ac_ext <<_ACEOF
24399 /* end confdefs.h. */
24400 #include <math.h>
24402 main ()
24404 powl(0, 0);
24406 return 0;
24408 _ACEOF
24409 rm -f conftest.$ac_objext
24410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24411 (eval $ac_compile) 2>conftest.er1
24412 ac_status=$?
24413 grep -v '^ *+' conftest.er1 >conftest.err
24414 rm -f conftest.er1
24415 cat conftest.err >&5
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); } &&
24418 { ac_try='test -z "$ac_cxx_werror_flag"
24419 || test ! -s conftest.err'
24420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24421 (eval $ac_try) 2>&5
24422 ac_status=$?
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); }; } &&
24425 { ac_try='test -s conftest.$ac_objext'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24428 ac_status=$?
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; }; then
24431 glibcxx_cv_func_powl_use=yes
24432 else
24433 echo "$as_me: failed program was:" >&5
24434 sed 's/^/| /' conftest.$ac_ext >&5
24436 glibcxx_cv_func_powl_use=no
24438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24439 ac_ext=c
24440 ac_cpp='$CPP $CPPFLAGS'
24441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24449 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24450 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24452 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24454 for ac_func in powl
24456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24457 echo "$as_me:$LINENO: checking for $ac_func" >&5
24458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24459 if eval "test \"\${$as_ac_var+set}\" = set"; then
24460 echo $ECHO_N "(cached) $ECHO_C" >&6
24461 else
24462 if test x$gcc_no_link = xyes; then
24463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24465 { (exit 1); exit 1; }; }
24467 cat >conftest.$ac_ext <<_ACEOF
24468 /* confdefs.h. */
24469 _ACEOF
24470 cat confdefs.h >>conftest.$ac_ext
24471 cat >>conftest.$ac_ext <<_ACEOF
24472 /* end confdefs.h. */
24473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24475 #define $ac_func innocuous_$ac_func
24477 /* System header to define __stub macros and hopefully few prototypes,
24478 which can conflict with char $ac_func (); below.
24479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24480 <limits.h> exists even on freestanding compilers. */
24482 #ifdef __STDC__
24483 # include <limits.h>
24484 #else
24485 # include <assert.h>
24486 #endif
24488 #undef $ac_func
24490 /* Override any gcc2 internal prototype to avoid an error. */
24491 #ifdef __cplusplus
24492 extern "C"
24494 #endif
24495 /* We use char because int might match the return type of a gcc2
24496 builtin and then its argument prototype would still apply. */
24497 char $ac_func ();
24498 /* The GNU C library defines this for functions which it implements
24499 to always fail with ENOSYS. Some functions are actually named
24500 something starting with __ and the normal name is an alias. */
24501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24502 choke me
24503 #else
24504 char (*f) () = $ac_func;
24505 #endif
24506 #ifdef __cplusplus
24508 #endif
24511 main ()
24513 return f != $ac_func;
24515 return 0;
24517 _ACEOF
24518 rm -f conftest.$ac_objext conftest$ac_exeext
24519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24520 (eval $ac_link) 2>conftest.er1
24521 ac_status=$?
24522 grep -v '^ *+' conftest.er1 >conftest.err
24523 rm -f conftest.er1
24524 cat conftest.err >&5
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526 (exit $ac_status); } &&
24527 { ac_try='test -z "$ac_c_werror_flag"
24528 || test ! -s conftest.err'
24529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24530 (eval $ac_try) 2>&5
24531 ac_status=$?
24532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); }; } &&
24534 { ac_try='test -s conftest$ac_exeext'
24535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24536 (eval $ac_try) 2>&5
24537 ac_status=$?
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); }; }; then
24540 eval "$as_ac_var=yes"
24541 else
24542 echo "$as_me: failed program was:" >&5
24543 sed 's/^/| /' conftest.$ac_ext >&5
24545 eval "$as_ac_var=no"
24547 rm -f conftest.err conftest.$ac_objext \
24548 conftest$ac_exeext conftest.$ac_ext
24550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24552 if test `eval echo '${'$as_ac_var'}'` = yes; then
24553 cat >>confdefs.h <<_ACEOF
24554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24555 _ACEOF
24558 done
24560 else
24562 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24563 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24564 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24565 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24566 echo $ECHO_N "(cached) $ECHO_C" >&6
24567 else
24571 ac_ext=cc
24572 ac_cpp='$CXXCPP $CPPFLAGS'
24573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24577 cat >conftest.$ac_ext <<_ACEOF
24578 /* confdefs.h. */
24579 _ACEOF
24580 cat confdefs.h >>conftest.$ac_ext
24581 cat >>conftest.$ac_ext <<_ACEOF
24582 /* end confdefs.h. */
24583 #include <math.h>
24585 main ()
24587 _powl(0, 0);
24589 return 0;
24591 _ACEOF
24592 rm -f conftest.$ac_objext
24593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24594 (eval $ac_compile) 2>conftest.er1
24595 ac_status=$?
24596 grep -v '^ *+' conftest.er1 >conftest.err
24597 rm -f conftest.er1
24598 cat conftest.err >&5
24599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600 (exit $ac_status); } &&
24601 { ac_try='test -z "$ac_cxx_werror_flag"
24602 || test ! -s conftest.err'
24603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24604 (eval $ac_try) 2>&5
24605 ac_status=$?
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); }; } &&
24608 { ac_try='test -s conftest.$ac_objext'
24609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24610 (eval $ac_try) 2>&5
24611 ac_status=$?
24612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613 (exit $ac_status); }; }; then
24614 glibcxx_cv_func__powl_use=yes
24615 else
24616 echo "$as_me: failed program was:" >&5
24617 sed 's/^/| /' conftest.$ac_ext >&5
24619 glibcxx_cv_func__powl_use=no
24621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24622 ac_ext=c
24623 ac_cpp='$CPP $CPPFLAGS'
24624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24632 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24633 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24635 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24637 for ac_func in _powl
24639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24640 echo "$as_me:$LINENO: checking for $ac_func" >&5
24641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24642 if eval "test \"\${$as_ac_var+set}\" = set"; then
24643 echo $ECHO_N "(cached) $ECHO_C" >&6
24644 else
24645 if test x$gcc_no_link = xyes; then
24646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24648 { (exit 1); exit 1; }; }
24650 cat >conftest.$ac_ext <<_ACEOF
24651 /* confdefs.h. */
24652 _ACEOF
24653 cat confdefs.h >>conftest.$ac_ext
24654 cat >>conftest.$ac_ext <<_ACEOF
24655 /* end confdefs.h. */
24656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24658 #define $ac_func innocuous_$ac_func
24660 /* System header to define __stub macros and hopefully few prototypes,
24661 which can conflict with char $ac_func (); below.
24662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24663 <limits.h> exists even on freestanding compilers. */
24665 #ifdef __STDC__
24666 # include <limits.h>
24667 #else
24668 # include <assert.h>
24669 #endif
24671 #undef $ac_func
24673 /* Override any gcc2 internal prototype to avoid an error. */
24674 #ifdef __cplusplus
24675 extern "C"
24677 #endif
24678 /* We use char because int might match the return type of a gcc2
24679 builtin and then its argument prototype would still apply. */
24680 char $ac_func ();
24681 /* The GNU C library defines this for functions which it implements
24682 to always fail with ENOSYS. Some functions are actually named
24683 something starting with __ and the normal name is an alias. */
24684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24685 choke me
24686 #else
24687 char (*f) () = $ac_func;
24688 #endif
24689 #ifdef __cplusplus
24691 #endif
24694 main ()
24696 return f != $ac_func;
24698 return 0;
24700 _ACEOF
24701 rm -f conftest.$ac_objext conftest$ac_exeext
24702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24703 (eval $ac_link) 2>conftest.er1
24704 ac_status=$?
24705 grep -v '^ *+' conftest.er1 >conftest.err
24706 rm -f conftest.er1
24707 cat conftest.err >&5
24708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24709 (exit $ac_status); } &&
24710 { ac_try='test -z "$ac_c_werror_flag"
24711 || test ! -s conftest.err'
24712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24713 (eval $ac_try) 2>&5
24714 ac_status=$?
24715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24716 (exit $ac_status); }; } &&
24717 { ac_try='test -s conftest$ac_exeext'
24718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24719 (eval $ac_try) 2>&5
24720 ac_status=$?
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722 (exit $ac_status); }; }; then
24723 eval "$as_ac_var=yes"
24724 else
24725 echo "$as_me: failed program was:" >&5
24726 sed 's/^/| /' conftest.$ac_ext >&5
24728 eval "$as_ac_var=no"
24730 rm -f conftest.err conftest.$ac_objext \
24731 conftest$ac_exeext conftest.$ac_ext
24733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24735 if test `eval echo '${'$as_ac_var'}'` = yes; then
24736 cat >>confdefs.h <<_ACEOF
24737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24738 _ACEOF
24741 done
24751 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24752 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24753 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24754 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24755 echo $ECHO_N "(cached) $ECHO_C" >&6
24756 else
24760 ac_ext=cc
24761 ac_cpp='$CXXCPP $CPPFLAGS'
24762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24766 cat >conftest.$ac_ext <<_ACEOF
24767 /* confdefs.h. */
24768 _ACEOF
24769 cat confdefs.h >>conftest.$ac_ext
24770 cat >>conftest.$ac_ext <<_ACEOF
24771 /* end confdefs.h. */
24772 #include <math.h>
24773 #ifdef HAVE_IEEEFP_H
24774 #include <ieeefp.h>
24775 #endif
24778 main ()
24780 sqrtl(0);
24782 return 0;
24784 _ACEOF
24785 rm -f conftest.$ac_objext
24786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24787 (eval $ac_compile) 2>conftest.er1
24788 ac_status=$?
24789 grep -v '^ *+' conftest.er1 >conftest.err
24790 rm -f conftest.er1
24791 cat conftest.err >&5
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); } &&
24794 { ac_try='test -z "$ac_cxx_werror_flag"
24795 || test ! -s conftest.err'
24796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24797 (eval $ac_try) 2>&5
24798 ac_status=$?
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); }; } &&
24801 { ac_try='test -s conftest.$ac_objext'
24802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803 (eval $ac_try) 2>&5
24804 ac_status=$?
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); }; }; then
24807 glibcxx_cv_func_sqrtl_use=yes
24808 else
24809 echo "$as_me: failed program was:" >&5
24810 sed 's/^/| /' conftest.$ac_ext >&5
24812 glibcxx_cv_func_sqrtl_use=no
24814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24815 ac_ext=c
24816 ac_cpp='$CPP $CPPFLAGS'
24817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24826 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24828 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24830 for ac_func in sqrtl
24832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24833 echo "$as_me:$LINENO: checking for $ac_func" >&5
24834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24835 if eval "test \"\${$as_ac_var+set}\" = set"; then
24836 echo $ECHO_N "(cached) $ECHO_C" >&6
24837 else
24838 if test x$gcc_no_link = xyes; then
24839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24841 { (exit 1); exit 1; }; }
24843 cat >conftest.$ac_ext <<_ACEOF
24844 /* confdefs.h. */
24845 _ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24851 #define $ac_func innocuous_$ac_func
24853 /* System header to define __stub macros and hopefully few prototypes,
24854 which can conflict with char $ac_func (); below.
24855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24856 <limits.h> exists even on freestanding compilers. */
24858 #ifdef __STDC__
24859 # include <limits.h>
24860 #else
24861 # include <assert.h>
24862 #endif
24864 #undef $ac_func
24866 /* Override any gcc2 internal prototype to avoid an error. */
24867 #ifdef __cplusplus
24868 extern "C"
24870 #endif
24871 /* We use char because int might match the return type of a gcc2
24872 builtin and then its argument prototype would still apply. */
24873 char $ac_func ();
24874 /* The GNU C library defines this for functions which it implements
24875 to always fail with ENOSYS. Some functions are actually named
24876 something starting with __ and the normal name is an alias. */
24877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24878 choke me
24879 #else
24880 char (*f) () = $ac_func;
24881 #endif
24882 #ifdef __cplusplus
24884 #endif
24887 main ()
24889 return f != $ac_func;
24891 return 0;
24893 _ACEOF
24894 rm -f conftest.$ac_objext conftest$ac_exeext
24895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24896 (eval $ac_link) 2>conftest.er1
24897 ac_status=$?
24898 grep -v '^ *+' conftest.er1 >conftest.err
24899 rm -f conftest.er1
24900 cat conftest.err >&5
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); } &&
24903 { ac_try='test -z "$ac_c_werror_flag"
24904 || test ! -s conftest.err'
24905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24906 (eval $ac_try) 2>&5
24907 ac_status=$?
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); }; } &&
24910 { ac_try='test -s conftest$ac_exeext'
24911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912 (eval $ac_try) 2>&5
24913 ac_status=$?
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; }; then
24916 eval "$as_ac_var=yes"
24917 else
24918 echo "$as_me: failed program was:" >&5
24919 sed 's/^/| /' conftest.$ac_ext >&5
24921 eval "$as_ac_var=no"
24923 rm -f conftest.err conftest.$ac_objext \
24924 conftest$ac_exeext conftest.$ac_ext
24926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24928 if test `eval echo '${'$as_ac_var'}'` = yes; then
24929 cat >>confdefs.h <<_ACEOF
24930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24931 _ACEOF
24934 done
24936 else
24938 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24939 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24940 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24941 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24942 echo $ECHO_N "(cached) $ECHO_C" >&6
24943 else
24947 ac_ext=cc
24948 ac_cpp='$CXXCPP $CPPFLAGS'
24949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24953 cat >conftest.$ac_ext <<_ACEOF
24954 /* confdefs.h. */
24955 _ACEOF
24956 cat confdefs.h >>conftest.$ac_ext
24957 cat >>conftest.$ac_ext <<_ACEOF
24958 /* end confdefs.h. */
24959 #include <math.h>
24960 #ifdef HAVE_IEEEFP_H
24961 #include <ieeefp.h>
24962 #endif
24965 main ()
24967 _sqrtl(0);
24969 return 0;
24971 _ACEOF
24972 rm -f conftest.$ac_objext
24973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24974 (eval $ac_compile) 2>conftest.er1
24975 ac_status=$?
24976 grep -v '^ *+' conftest.er1 >conftest.err
24977 rm -f conftest.er1
24978 cat conftest.err >&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); } &&
24981 { ac_try='test -z "$ac_cxx_werror_flag"
24982 || test ! -s conftest.err'
24983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24984 (eval $ac_try) 2>&5
24985 ac_status=$?
24986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24987 (exit $ac_status); }; } &&
24988 { ac_try='test -s conftest.$ac_objext'
24989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24990 (eval $ac_try) 2>&5
24991 ac_status=$?
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); }; }; then
24994 glibcxx_cv_func__sqrtl_use=yes
24995 else
24996 echo "$as_me: failed program was:" >&5
24997 sed 's/^/| /' conftest.$ac_ext >&5
24999 glibcxx_cv_func__sqrtl_use=no
25001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25002 ac_ext=c
25003 ac_cpp='$CPP $CPPFLAGS'
25004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25013 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25015 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25017 for ac_func in _sqrtl
25019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25020 echo "$as_me:$LINENO: checking for $ac_func" >&5
25021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25022 if eval "test \"\${$as_ac_var+set}\" = set"; then
25023 echo $ECHO_N "(cached) $ECHO_C" >&6
25024 else
25025 if test x$gcc_no_link = xyes; then
25026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25028 { (exit 1); exit 1; }; }
25030 cat >conftest.$ac_ext <<_ACEOF
25031 /* confdefs.h. */
25032 _ACEOF
25033 cat confdefs.h >>conftest.$ac_ext
25034 cat >>conftest.$ac_ext <<_ACEOF
25035 /* end confdefs.h. */
25036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25038 #define $ac_func innocuous_$ac_func
25040 /* System header to define __stub macros and hopefully few prototypes,
25041 which can conflict with char $ac_func (); below.
25042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25043 <limits.h> exists even on freestanding compilers. */
25045 #ifdef __STDC__
25046 # include <limits.h>
25047 #else
25048 # include <assert.h>
25049 #endif
25051 #undef $ac_func
25053 /* Override any gcc2 internal prototype to avoid an error. */
25054 #ifdef __cplusplus
25055 extern "C"
25057 #endif
25058 /* We use char because int might match the return type of a gcc2
25059 builtin and then its argument prototype would still apply. */
25060 char $ac_func ();
25061 /* The GNU C library defines this for functions which it implements
25062 to always fail with ENOSYS. Some functions are actually named
25063 something starting with __ and the normal name is an alias. */
25064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25065 choke me
25066 #else
25067 char (*f) () = $ac_func;
25068 #endif
25069 #ifdef __cplusplus
25071 #endif
25074 main ()
25076 return f != $ac_func;
25078 return 0;
25080 _ACEOF
25081 rm -f conftest.$ac_objext conftest$ac_exeext
25082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25083 (eval $ac_link) 2>conftest.er1
25084 ac_status=$?
25085 grep -v '^ *+' conftest.er1 >conftest.err
25086 rm -f conftest.er1
25087 cat conftest.err >&5
25088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25089 (exit $ac_status); } &&
25090 { ac_try='test -z "$ac_c_werror_flag"
25091 || test ! -s conftest.err'
25092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25093 (eval $ac_try) 2>&5
25094 ac_status=$?
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); }; } &&
25097 { ac_try='test -s conftest$ac_exeext'
25098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25099 (eval $ac_try) 2>&5
25100 ac_status=$?
25101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102 (exit $ac_status); }; }; then
25103 eval "$as_ac_var=yes"
25104 else
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.$ac_ext >&5
25108 eval "$as_ac_var=no"
25110 rm -f conftest.err conftest.$ac_objext \
25111 conftest$ac_exeext conftest.$ac_ext
25113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25115 if test `eval echo '${'$as_ac_var'}'` = yes; then
25116 cat >>confdefs.h <<_ACEOF
25117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25118 _ACEOF
25121 done
25131 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25132 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25133 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25134 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25135 echo $ECHO_N "(cached) $ECHO_C" >&6
25136 else
25140 ac_ext=cc
25141 ac_cpp='$CXXCPP $CPPFLAGS'
25142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25146 cat >conftest.$ac_ext <<_ACEOF
25147 /* confdefs.h. */
25148 _ACEOF
25149 cat confdefs.h >>conftest.$ac_ext
25150 cat >>conftest.$ac_ext <<_ACEOF
25151 /* end confdefs.h. */
25152 #include <math.h>
25154 main ()
25156 sincosl(0, 0, 0);
25158 return 0;
25160 _ACEOF
25161 rm -f conftest.$ac_objext
25162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25163 (eval $ac_compile) 2>conftest.er1
25164 ac_status=$?
25165 grep -v '^ *+' conftest.er1 >conftest.err
25166 rm -f conftest.er1
25167 cat conftest.err >&5
25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169 (exit $ac_status); } &&
25170 { ac_try='test -z "$ac_cxx_werror_flag"
25171 || test ! -s conftest.err'
25172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25173 (eval $ac_try) 2>&5
25174 ac_status=$?
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); }; } &&
25177 { ac_try='test -s conftest.$ac_objext'
25178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25179 (eval $ac_try) 2>&5
25180 ac_status=$?
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; }; then
25183 glibcxx_cv_func_sincosl_use=yes
25184 else
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.$ac_ext >&5
25188 glibcxx_cv_func_sincosl_use=no
25190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25191 ac_ext=c
25192 ac_cpp='$CPP $CPPFLAGS'
25193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25202 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25204 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25206 for ac_func in sincosl
25208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25209 echo "$as_me:$LINENO: checking for $ac_func" >&5
25210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25211 if eval "test \"\${$as_ac_var+set}\" = set"; then
25212 echo $ECHO_N "(cached) $ECHO_C" >&6
25213 else
25214 if test x$gcc_no_link = xyes; then
25215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25217 { (exit 1); exit 1; }; }
25219 cat >conftest.$ac_ext <<_ACEOF
25220 /* confdefs.h. */
25221 _ACEOF
25222 cat confdefs.h >>conftest.$ac_ext
25223 cat >>conftest.$ac_ext <<_ACEOF
25224 /* end confdefs.h. */
25225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25227 #define $ac_func innocuous_$ac_func
25229 /* System header to define __stub macros and hopefully few prototypes,
25230 which can conflict with char $ac_func (); below.
25231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25232 <limits.h> exists even on freestanding compilers. */
25234 #ifdef __STDC__
25235 # include <limits.h>
25236 #else
25237 # include <assert.h>
25238 #endif
25240 #undef $ac_func
25242 /* Override any gcc2 internal prototype to avoid an error. */
25243 #ifdef __cplusplus
25244 extern "C"
25246 #endif
25247 /* We use char because int might match the return type of a gcc2
25248 builtin and then its argument prototype would still apply. */
25249 char $ac_func ();
25250 /* The GNU C library defines this for functions which it implements
25251 to always fail with ENOSYS. Some functions are actually named
25252 something starting with __ and the normal name is an alias. */
25253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25254 choke me
25255 #else
25256 char (*f) () = $ac_func;
25257 #endif
25258 #ifdef __cplusplus
25260 #endif
25263 main ()
25265 return f != $ac_func;
25267 return 0;
25269 _ACEOF
25270 rm -f conftest.$ac_objext conftest$ac_exeext
25271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25272 (eval $ac_link) 2>conftest.er1
25273 ac_status=$?
25274 grep -v '^ *+' conftest.er1 >conftest.err
25275 rm -f conftest.er1
25276 cat conftest.err >&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); } &&
25279 { ac_try='test -z "$ac_c_werror_flag"
25280 || test ! -s conftest.err'
25281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25282 (eval $ac_try) 2>&5
25283 ac_status=$?
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); }; } &&
25286 { ac_try='test -s conftest$ac_exeext'
25287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25288 (eval $ac_try) 2>&5
25289 ac_status=$?
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); }; }; then
25292 eval "$as_ac_var=yes"
25293 else
25294 echo "$as_me: failed program was:" >&5
25295 sed 's/^/| /' conftest.$ac_ext >&5
25297 eval "$as_ac_var=no"
25299 rm -f conftest.err conftest.$ac_objext \
25300 conftest$ac_exeext conftest.$ac_ext
25302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25304 if test `eval echo '${'$as_ac_var'}'` = yes; then
25305 cat >>confdefs.h <<_ACEOF
25306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25307 _ACEOF
25310 done
25312 else
25314 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25315 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25316 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25317 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25318 echo $ECHO_N "(cached) $ECHO_C" >&6
25319 else
25323 ac_ext=cc
25324 ac_cpp='$CXXCPP $CPPFLAGS'
25325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25329 cat >conftest.$ac_ext <<_ACEOF
25330 /* confdefs.h. */
25331 _ACEOF
25332 cat confdefs.h >>conftest.$ac_ext
25333 cat >>conftest.$ac_ext <<_ACEOF
25334 /* end confdefs.h. */
25335 #include <math.h>
25337 main ()
25339 _sincosl(0, 0, 0);
25341 return 0;
25343 _ACEOF
25344 rm -f conftest.$ac_objext
25345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25346 (eval $ac_compile) 2>conftest.er1
25347 ac_status=$?
25348 grep -v '^ *+' conftest.er1 >conftest.err
25349 rm -f conftest.er1
25350 cat conftest.err >&5
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); } &&
25353 { ac_try='test -z "$ac_cxx_werror_flag"
25354 || test ! -s conftest.err'
25355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25356 (eval $ac_try) 2>&5
25357 ac_status=$?
25358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25359 (exit $ac_status); }; } &&
25360 { ac_try='test -s conftest.$ac_objext'
25361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25362 (eval $ac_try) 2>&5
25363 ac_status=$?
25364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365 (exit $ac_status); }; }; then
25366 glibcxx_cv_func__sincosl_use=yes
25367 else
25368 echo "$as_me: failed program was:" >&5
25369 sed 's/^/| /' conftest.$ac_ext >&5
25371 glibcxx_cv_func__sincosl_use=no
25373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25374 ac_ext=c
25375 ac_cpp='$CPP $CPPFLAGS'
25376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25384 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25385 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25387 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25389 for ac_func in _sincosl
25391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25392 echo "$as_me:$LINENO: checking for $ac_func" >&5
25393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25394 if eval "test \"\${$as_ac_var+set}\" = set"; then
25395 echo $ECHO_N "(cached) $ECHO_C" >&6
25396 else
25397 if test x$gcc_no_link = xyes; then
25398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25400 { (exit 1); exit 1; }; }
25402 cat >conftest.$ac_ext <<_ACEOF
25403 /* confdefs.h. */
25404 _ACEOF
25405 cat confdefs.h >>conftest.$ac_ext
25406 cat >>conftest.$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25410 #define $ac_func innocuous_$ac_func
25412 /* System header to define __stub macros and hopefully few prototypes,
25413 which can conflict with char $ac_func (); below.
25414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25415 <limits.h> exists even on freestanding compilers. */
25417 #ifdef __STDC__
25418 # include <limits.h>
25419 #else
25420 # include <assert.h>
25421 #endif
25423 #undef $ac_func
25425 /* Override any gcc2 internal prototype to avoid an error. */
25426 #ifdef __cplusplus
25427 extern "C"
25429 #endif
25430 /* We use char because int might match the return type of a gcc2
25431 builtin and then its argument prototype would still apply. */
25432 char $ac_func ();
25433 /* The GNU C library defines this for functions which it implements
25434 to always fail with ENOSYS. Some functions are actually named
25435 something starting with __ and the normal name is an alias. */
25436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25437 choke me
25438 #else
25439 char (*f) () = $ac_func;
25440 #endif
25441 #ifdef __cplusplus
25443 #endif
25446 main ()
25448 return f != $ac_func;
25450 return 0;
25452 _ACEOF
25453 rm -f conftest.$ac_objext conftest$ac_exeext
25454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25455 (eval $ac_link) 2>conftest.er1
25456 ac_status=$?
25457 grep -v '^ *+' conftest.er1 >conftest.err
25458 rm -f conftest.er1
25459 cat conftest.err >&5
25460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461 (exit $ac_status); } &&
25462 { ac_try='test -z "$ac_c_werror_flag"
25463 || test ! -s conftest.err'
25464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25465 (eval $ac_try) 2>&5
25466 ac_status=$?
25467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468 (exit $ac_status); }; } &&
25469 { ac_try='test -s conftest$ac_exeext'
25470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25471 (eval $ac_try) 2>&5
25472 ac_status=$?
25473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474 (exit $ac_status); }; }; then
25475 eval "$as_ac_var=yes"
25476 else
25477 echo "$as_me: failed program was:" >&5
25478 sed 's/^/| /' conftest.$ac_ext >&5
25480 eval "$as_ac_var=no"
25482 rm -f conftest.err conftest.$ac_objext \
25483 conftest$ac_exeext conftest.$ac_ext
25485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25487 if test `eval echo '${'$as_ac_var'}'` = yes; then
25488 cat >>confdefs.h <<_ACEOF
25489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25490 _ACEOF
25493 done
25503 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25504 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25505 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25506 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25507 echo $ECHO_N "(cached) $ECHO_C" >&6
25508 else
25512 ac_ext=cc
25513 ac_cpp='$CXXCPP $CPPFLAGS'
25514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25518 cat >conftest.$ac_ext <<_ACEOF
25519 /* confdefs.h. */
25520 _ACEOF
25521 cat confdefs.h >>conftest.$ac_ext
25522 cat >>conftest.$ac_ext <<_ACEOF
25523 /* end confdefs.h. */
25524 #include <math.h>
25525 #ifdef HAVE_IEEEFP_H
25526 #include <ieeefp.h>
25527 #endif
25530 main ()
25532 finitel(0);
25534 return 0;
25536 _ACEOF
25537 rm -f conftest.$ac_objext
25538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25539 (eval $ac_compile) 2>conftest.er1
25540 ac_status=$?
25541 grep -v '^ *+' conftest.er1 >conftest.err
25542 rm -f conftest.er1
25543 cat conftest.err >&5
25544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25545 (exit $ac_status); } &&
25546 { ac_try='test -z "$ac_cxx_werror_flag"
25547 || test ! -s conftest.err'
25548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25549 (eval $ac_try) 2>&5
25550 ac_status=$?
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552 (exit $ac_status); }; } &&
25553 { ac_try='test -s conftest.$ac_objext'
25554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25555 (eval $ac_try) 2>&5
25556 ac_status=$?
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); }; }; then
25559 glibcxx_cv_func_finitel_use=yes
25560 else
25561 echo "$as_me: failed program was:" >&5
25562 sed 's/^/| /' conftest.$ac_ext >&5
25564 glibcxx_cv_func_finitel_use=no
25566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25567 ac_ext=c
25568 ac_cpp='$CPP $CPPFLAGS'
25569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25578 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25580 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25582 for ac_func in finitel
25584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25585 echo "$as_me:$LINENO: checking for $ac_func" >&5
25586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25587 if eval "test \"\${$as_ac_var+set}\" = set"; then
25588 echo $ECHO_N "(cached) $ECHO_C" >&6
25589 else
25590 if test x$gcc_no_link = xyes; then
25591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25593 { (exit 1); exit 1; }; }
25595 cat >conftest.$ac_ext <<_ACEOF
25596 /* confdefs.h. */
25597 _ACEOF
25598 cat confdefs.h >>conftest.$ac_ext
25599 cat >>conftest.$ac_ext <<_ACEOF
25600 /* end confdefs.h. */
25601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25603 #define $ac_func innocuous_$ac_func
25605 /* System header to define __stub macros and hopefully few prototypes,
25606 which can conflict with char $ac_func (); below.
25607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25608 <limits.h> exists even on freestanding compilers. */
25610 #ifdef __STDC__
25611 # include <limits.h>
25612 #else
25613 # include <assert.h>
25614 #endif
25616 #undef $ac_func
25618 /* Override any gcc2 internal prototype to avoid an error. */
25619 #ifdef __cplusplus
25620 extern "C"
25622 #endif
25623 /* We use char because int might match the return type of a gcc2
25624 builtin and then its argument prototype would still apply. */
25625 char $ac_func ();
25626 /* The GNU C library defines this for functions which it implements
25627 to always fail with ENOSYS. Some functions are actually named
25628 something starting with __ and the normal name is an alias. */
25629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25630 choke me
25631 #else
25632 char (*f) () = $ac_func;
25633 #endif
25634 #ifdef __cplusplus
25636 #endif
25639 main ()
25641 return f != $ac_func;
25643 return 0;
25645 _ACEOF
25646 rm -f conftest.$ac_objext conftest$ac_exeext
25647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25648 (eval $ac_link) 2>conftest.er1
25649 ac_status=$?
25650 grep -v '^ *+' conftest.er1 >conftest.err
25651 rm -f conftest.er1
25652 cat conftest.err >&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); } &&
25655 { ac_try='test -z "$ac_c_werror_flag"
25656 || test ! -s conftest.err'
25657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25658 (eval $ac_try) 2>&5
25659 ac_status=$?
25660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661 (exit $ac_status); }; } &&
25662 { ac_try='test -s conftest$ac_exeext'
25663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25664 (eval $ac_try) 2>&5
25665 ac_status=$?
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); }; }; then
25668 eval "$as_ac_var=yes"
25669 else
25670 echo "$as_me: failed program was:" >&5
25671 sed 's/^/| /' conftest.$ac_ext >&5
25673 eval "$as_ac_var=no"
25675 rm -f conftest.err conftest.$ac_objext \
25676 conftest$ac_exeext conftest.$ac_ext
25678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25680 if test `eval echo '${'$as_ac_var'}'` = yes; then
25681 cat >>confdefs.h <<_ACEOF
25682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25683 _ACEOF
25686 done
25688 else
25690 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25691 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25692 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25693 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25694 echo $ECHO_N "(cached) $ECHO_C" >&6
25695 else
25699 ac_ext=cc
25700 ac_cpp='$CXXCPP $CPPFLAGS'
25701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25705 cat >conftest.$ac_ext <<_ACEOF
25706 /* confdefs.h. */
25707 _ACEOF
25708 cat confdefs.h >>conftest.$ac_ext
25709 cat >>conftest.$ac_ext <<_ACEOF
25710 /* end confdefs.h. */
25711 #include <math.h>
25712 #ifdef HAVE_IEEEFP_H
25713 #include <ieeefp.h>
25714 #endif
25717 main ()
25719 _finitel(0);
25721 return 0;
25723 _ACEOF
25724 rm -f conftest.$ac_objext
25725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25726 (eval $ac_compile) 2>conftest.er1
25727 ac_status=$?
25728 grep -v '^ *+' conftest.er1 >conftest.err
25729 rm -f conftest.er1
25730 cat conftest.err >&5
25731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732 (exit $ac_status); } &&
25733 { ac_try='test -z "$ac_cxx_werror_flag"
25734 || test ! -s conftest.err'
25735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25736 (eval $ac_try) 2>&5
25737 ac_status=$?
25738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25739 (exit $ac_status); }; } &&
25740 { ac_try='test -s conftest.$ac_objext'
25741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25742 (eval $ac_try) 2>&5
25743 ac_status=$?
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); }; }; then
25746 glibcxx_cv_func__finitel_use=yes
25747 else
25748 echo "$as_me: failed program was:" >&5
25749 sed 's/^/| /' conftest.$ac_ext >&5
25751 glibcxx_cv_func__finitel_use=no
25753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25754 ac_ext=c
25755 ac_cpp='$CPP $CPPFLAGS'
25756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25765 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25767 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25769 for ac_func in _finitel
25771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25772 echo "$as_me:$LINENO: checking for $ac_func" >&5
25773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25774 if eval "test \"\${$as_ac_var+set}\" = set"; then
25775 echo $ECHO_N "(cached) $ECHO_C" >&6
25776 else
25777 if test x$gcc_no_link = xyes; then
25778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25780 { (exit 1); exit 1; }; }
25782 cat >conftest.$ac_ext <<_ACEOF
25783 /* confdefs.h. */
25784 _ACEOF
25785 cat confdefs.h >>conftest.$ac_ext
25786 cat >>conftest.$ac_ext <<_ACEOF
25787 /* end confdefs.h. */
25788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25790 #define $ac_func innocuous_$ac_func
25792 /* System header to define __stub macros and hopefully few prototypes,
25793 which can conflict with char $ac_func (); below.
25794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25795 <limits.h> exists even on freestanding compilers. */
25797 #ifdef __STDC__
25798 # include <limits.h>
25799 #else
25800 # include <assert.h>
25801 #endif
25803 #undef $ac_func
25805 /* Override any gcc2 internal prototype to avoid an error. */
25806 #ifdef __cplusplus
25807 extern "C"
25809 #endif
25810 /* We use char because int might match the return type of a gcc2
25811 builtin and then its argument prototype would still apply. */
25812 char $ac_func ();
25813 /* The GNU C library defines this for functions which it implements
25814 to always fail with ENOSYS. Some functions are actually named
25815 something starting with __ and the normal name is an alias. */
25816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25817 choke me
25818 #else
25819 char (*f) () = $ac_func;
25820 #endif
25821 #ifdef __cplusplus
25823 #endif
25826 main ()
25828 return f != $ac_func;
25830 return 0;
25832 _ACEOF
25833 rm -f conftest.$ac_objext conftest$ac_exeext
25834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25835 (eval $ac_link) 2>conftest.er1
25836 ac_status=$?
25837 grep -v '^ *+' conftest.er1 >conftest.err
25838 rm -f conftest.er1
25839 cat conftest.err >&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); } &&
25842 { ac_try='test -z "$ac_c_werror_flag"
25843 || test ! -s conftest.err'
25844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25845 (eval $ac_try) 2>&5
25846 ac_status=$?
25847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848 (exit $ac_status); }; } &&
25849 { ac_try='test -s conftest$ac_exeext'
25850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25851 (eval $ac_try) 2>&5
25852 ac_status=$?
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); }; }; then
25855 eval "$as_ac_var=yes"
25856 else
25857 echo "$as_me: failed program was:" >&5
25858 sed 's/^/| /' conftest.$ac_ext >&5
25860 eval "$as_ac_var=no"
25862 rm -f conftest.err conftest.$ac_objext \
25863 conftest$ac_exeext conftest.$ac_ext
25865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25867 if test `eval echo '${'$as_ac_var'}'` = yes; then
25868 cat >>confdefs.h <<_ACEOF
25869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25870 _ACEOF
25873 done
25882 LIBS="$ac_save_LIBS"
25883 CXXFLAGS="$ac_save_CXXFLAGS"
25887 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25888 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25889 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25890 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25891 echo $ECHO_N "(cached) $ECHO_C" >&6
25892 else
25896 ac_ext=cc
25897 ac_cpp='$CXXCPP $CPPFLAGS'
25898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25902 cat >conftest.$ac_ext <<_ACEOF
25903 /* confdefs.h. */
25904 _ACEOF
25905 cat confdefs.h >>conftest.$ac_ext
25906 cat >>conftest.$ac_ext <<_ACEOF
25907 /* end confdefs.h. */
25908 #include <math.h>
25910 main ()
25912 __builtin_abs(0);
25914 return 0;
25916 _ACEOF
25917 rm -f conftest.$ac_objext
25918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25919 (eval $ac_compile) 2>conftest.er1
25920 ac_status=$?
25921 grep -v '^ *+' conftest.er1 >conftest.err
25922 rm -f conftest.er1
25923 cat conftest.err >&5
25924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25925 (exit $ac_status); } &&
25926 { ac_try='test -z "$ac_cxx_werror_flag"
25927 || test ! -s conftest.err'
25928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25929 (eval $ac_try) 2>&5
25930 ac_status=$?
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); }; } &&
25933 { ac_try='test -s conftest.$ac_objext'
25934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25935 (eval $ac_try) 2>&5
25936 ac_status=$?
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); }; }; then
25939 glibcxx_cv_func___builtin_abs_use=yes
25940 else
25941 echo "$as_me: failed program was:" >&5
25942 sed 's/^/| /' conftest.$ac_ext >&5
25944 glibcxx_cv_func___builtin_abs_use=no
25946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25947 ac_ext=c
25948 ac_cpp='$CPP $CPPFLAGS'
25949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25957 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25958 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25959 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25960 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25961 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25962 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25963 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25964 echo $ECHO_N "(cached) $ECHO_C" >&6
25965 else
25967 if test x$gcc_no_link = xyes; then
25968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25970 { (exit 1); exit 1; }; }
25972 cat >conftest.$ac_ext <<_ACEOF
25973 /* confdefs.h. */
25974 _ACEOF
25975 cat confdefs.h >>conftest.$ac_ext
25976 cat >>conftest.$ac_ext <<_ACEOF
25977 /* end confdefs.h. */
25978 #include <math.h>
25980 main ()
25982 __builtin_abs(0);
25984 return 0;
25986 _ACEOF
25987 rm -f conftest.$ac_objext conftest$ac_exeext
25988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25989 (eval $ac_link) 2>conftest.er1
25990 ac_status=$?
25991 grep -v '^ *+' conftest.er1 >conftest.err
25992 rm -f conftest.er1
25993 cat conftest.err >&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); } &&
25996 { ac_try='test -z "$ac_c_werror_flag"
25997 || test ! -s conftest.err'
25998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25999 (eval $ac_try) 2>&5
26000 ac_status=$?
26001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002 (exit $ac_status); }; } &&
26003 { ac_try='test -s conftest$ac_exeext'
26004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26005 (eval $ac_try) 2>&5
26006 ac_status=$?
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); }; }; then
26009 glibcxx_cv_func___builtin_abs_link=yes
26010 else
26011 echo "$as_me: failed program was:" >&5
26012 sed 's/^/| /' conftest.$ac_ext >&5
26014 glibcxx_cv_func___builtin_abs_link=no
26016 rm -f conftest.err conftest.$ac_objext \
26017 conftest$ac_exeext conftest.$ac_ext
26022 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26023 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26025 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26027 cat >>confdefs.h <<\_ACEOF
26028 #define HAVE___BUILTIN_ABS 1
26029 _ACEOF
26036 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26037 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
26038 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
26039 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
26040 echo $ECHO_N "(cached) $ECHO_C" >&6
26041 else
26045 ac_ext=cc
26046 ac_cpp='$CXXCPP $CPPFLAGS'
26047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26051 cat >conftest.$ac_ext <<_ACEOF
26052 /* confdefs.h. */
26053 _ACEOF
26054 cat confdefs.h >>conftest.$ac_ext
26055 cat >>conftest.$ac_ext <<_ACEOF
26056 /* end confdefs.h. */
26057 #include <math.h>
26059 main ()
26061 __builtin_fabsf(0);
26063 return 0;
26065 _ACEOF
26066 rm -f conftest.$ac_objext
26067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26068 (eval $ac_compile) 2>conftest.er1
26069 ac_status=$?
26070 grep -v '^ *+' conftest.er1 >conftest.err
26071 rm -f conftest.er1
26072 cat conftest.err >&5
26073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26074 (exit $ac_status); } &&
26075 { ac_try='test -z "$ac_cxx_werror_flag"
26076 || test ! -s conftest.err'
26077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26078 (eval $ac_try) 2>&5
26079 ac_status=$?
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); }; } &&
26082 { ac_try='test -s conftest.$ac_objext'
26083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26084 (eval $ac_try) 2>&5
26085 ac_status=$?
26086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087 (exit $ac_status); }; }; then
26088 glibcxx_cv_func___builtin_fabsf_use=yes
26089 else
26090 echo "$as_me: failed program was:" >&5
26091 sed 's/^/| /' conftest.$ac_ext >&5
26093 glibcxx_cv_func___builtin_fabsf_use=no
26095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26096 ac_ext=c
26097 ac_cpp='$CPP $CPPFLAGS'
26098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26106 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26107 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26108 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26109 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26110 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26111 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26112 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26113 echo $ECHO_N "(cached) $ECHO_C" >&6
26114 else
26116 if test x$gcc_no_link = xyes; then
26117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26119 { (exit 1); exit 1; }; }
26121 cat >conftest.$ac_ext <<_ACEOF
26122 /* confdefs.h. */
26123 _ACEOF
26124 cat confdefs.h >>conftest.$ac_ext
26125 cat >>conftest.$ac_ext <<_ACEOF
26126 /* end confdefs.h. */
26127 #include <math.h>
26129 main ()
26131 __builtin_fabsf(0);
26133 return 0;
26135 _ACEOF
26136 rm -f conftest.$ac_objext conftest$ac_exeext
26137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26138 (eval $ac_link) 2>conftest.er1
26139 ac_status=$?
26140 grep -v '^ *+' conftest.er1 >conftest.err
26141 rm -f conftest.er1
26142 cat conftest.err >&5
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); } &&
26145 { ac_try='test -z "$ac_c_werror_flag"
26146 || test ! -s conftest.err'
26147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26148 (eval $ac_try) 2>&5
26149 ac_status=$?
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; } &&
26152 { ac_try='test -s conftest$ac_exeext'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26155 ac_status=$?
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; }; then
26158 glibcxx_cv_func___builtin_fabsf_link=yes
26159 else
26160 echo "$as_me: failed program was:" >&5
26161 sed 's/^/| /' conftest.$ac_ext >&5
26163 glibcxx_cv_func___builtin_fabsf_link=no
26165 rm -f conftest.err conftest.$ac_objext \
26166 conftest$ac_exeext conftest.$ac_ext
26171 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26172 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26174 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26176 cat >>confdefs.h <<\_ACEOF
26177 #define HAVE___BUILTIN_FABSF 1
26178 _ACEOF
26185 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26186 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26187 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26188 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26189 echo $ECHO_N "(cached) $ECHO_C" >&6
26190 else
26194 ac_ext=cc
26195 ac_cpp='$CXXCPP $CPPFLAGS'
26196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26200 cat >conftest.$ac_ext <<_ACEOF
26201 /* confdefs.h. */
26202 _ACEOF
26203 cat confdefs.h >>conftest.$ac_ext
26204 cat >>conftest.$ac_ext <<_ACEOF
26205 /* end confdefs.h. */
26206 #include <math.h>
26208 main ()
26210 __builtin_fabs(0);
26212 return 0;
26214 _ACEOF
26215 rm -f conftest.$ac_objext
26216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26217 (eval $ac_compile) 2>conftest.er1
26218 ac_status=$?
26219 grep -v '^ *+' conftest.er1 >conftest.err
26220 rm -f conftest.er1
26221 cat conftest.err >&5
26222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223 (exit $ac_status); } &&
26224 { ac_try='test -z "$ac_cxx_werror_flag"
26225 || test ! -s conftest.err'
26226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26227 (eval $ac_try) 2>&5
26228 ac_status=$?
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); }; } &&
26231 { ac_try='test -s conftest.$ac_objext'
26232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26233 (eval $ac_try) 2>&5
26234 ac_status=$?
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); }; }; then
26237 glibcxx_cv_func___builtin_fabs_use=yes
26238 else
26239 echo "$as_me: failed program was:" >&5
26240 sed 's/^/| /' conftest.$ac_ext >&5
26242 glibcxx_cv_func___builtin_fabs_use=no
26244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26245 ac_ext=c
26246 ac_cpp='$CPP $CPPFLAGS'
26247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26255 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26256 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26257 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26258 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26259 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26260 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26261 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26262 echo $ECHO_N "(cached) $ECHO_C" >&6
26263 else
26265 if test x$gcc_no_link = xyes; then
26266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26268 { (exit 1); exit 1; }; }
26270 cat >conftest.$ac_ext <<_ACEOF
26271 /* confdefs.h. */
26272 _ACEOF
26273 cat confdefs.h >>conftest.$ac_ext
26274 cat >>conftest.$ac_ext <<_ACEOF
26275 /* end confdefs.h. */
26276 #include <math.h>
26278 main ()
26280 __builtin_fabs(0);
26282 return 0;
26284 _ACEOF
26285 rm -f conftest.$ac_objext conftest$ac_exeext
26286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26287 (eval $ac_link) 2>conftest.er1
26288 ac_status=$?
26289 grep -v '^ *+' conftest.er1 >conftest.err
26290 rm -f conftest.er1
26291 cat conftest.err >&5
26292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26293 (exit $ac_status); } &&
26294 { ac_try='test -z "$ac_c_werror_flag"
26295 || test ! -s conftest.err'
26296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26297 (eval $ac_try) 2>&5
26298 ac_status=$?
26299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300 (exit $ac_status); }; } &&
26301 { ac_try='test -s conftest$ac_exeext'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26304 ac_status=$?
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; }; then
26307 glibcxx_cv_func___builtin_fabs_link=yes
26308 else
26309 echo "$as_me: failed program was:" >&5
26310 sed 's/^/| /' conftest.$ac_ext >&5
26312 glibcxx_cv_func___builtin_fabs_link=no
26314 rm -f conftest.err conftest.$ac_objext \
26315 conftest$ac_exeext conftest.$ac_ext
26320 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26321 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26323 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26325 cat >>confdefs.h <<\_ACEOF
26326 #define HAVE___BUILTIN_FABS 1
26327 _ACEOF
26334 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26335 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26336 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26337 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26338 echo $ECHO_N "(cached) $ECHO_C" >&6
26339 else
26343 ac_ext=cc
26344 ac_cpp='$CXXCPP $CPPFLAGS'
26345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26349 cat >conftest.$ac_ext <<_ACEOF
26350 /* confdefs.h. */
26351 _ACEOF
26352 cat confdefs.h >>conftest.$ac_ext
26353 cat >>conftest.$ac_ext <<_ACEOF
26354 /* end confdefs.h. */
26355 #include <math.h>
26357 main ()
26359 __builtin_fabsl(0);
26361 return 0;
26363 _ACEOF
26364 rm -f conftest.$ac_objext
26365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26366 (eval $ac_compile) 2>conftest.er1
26367 ac_status=$?
26368 grep -v '^ *+' conftest.er1 >conftest.err
26369 rm -f conftest.er1
26370 cat conftest.err >&5
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); } &&
26373 { ac_try='test -z "$ac_cxx_werror_flag"
26374 || test ! -s conftest.err'
26375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26376 (eval $ac_try) 2>&5
26377 ac_status=$?
26378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26379 (exit $ac_status); }; } &&
26380 { ac_try='test -s conftest.$ac_objext'
26381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26382 (eval $ac_try) 2>&5
26383 ac_status=$?
26384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385 (exit $ac_status); }; }; then
26386 glibcxx_cv_func___builtin_fabsl_use=yes
26387 else
26388 echo "$as_me: failed program was:" >&5
26389 sed 's/^/| /' conftest.$ac_ext >&5
26391 glibcxx_cv_func___builtin_fabsl_use=no
26393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26394 ac_ext=c
26395 ac_cpp='$CPP $CPPFLAGS'
26396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26404 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26405 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26406 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26407 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26408 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26409 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26410 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26411 echo $ECHO_N "(cached) $ECHO_C" >&6
26412 else
26414 if test x$gcc_no_link = xyes; then
26415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26417 { (exit 1); exit 1; }; }
26419 cat >conftest.$ac_ext <<_ACEOF
26420 /* confdefs.h. */
26421 _ACEOF
26422 cat confdefs.h >>conftest.$ac_ext
26423 cat >>conftest.$ac_ext <<_ACEOF
26424 /* end confdefs.h. */
26425 #include <math.h>
26427 main ()
26429 __builtin_fabsl(0);
26431 return 0;
26433 _ACEOF
26434 rm -f conftest.$ac_objext conftest$ac_exeext
26435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26436 (eval $ac_link) 2>conftest.er1
26437 ac_status=$?
26438 grep -v '^ *+' conftest.er1 >conftest.err
26439 rm -f conftest.er1
26440 cat conftest.err >&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); } &&
26443 { ac_try='test -z "$ac_c_werror_flag"
26444 || test ! -s conftest.err'
26445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26446 (eval $ac_try) 2>&5
26447 ac_status=$?
26448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26449 (exit $ac_status); }; } &&
26450 { ac_try='test -s conftest$ac_exeext'
26451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26452 (eval $ac_try) 2>&5
26453 ac_status=$?
26454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26455 (exit $ac_status); }; }; then
26456 glibcxx_cv_func___builtin_fabsl_link=yes
26457 else
26458 echo "$as_me: failed program was:" >&5
26459 sed 's/^/| /' conftest.$ac_ext >&5
26461 glibcxx_cv_func___builtin_fabsl_link=no
26463 rm -f conftest.err conftest.$ac_objext \
26464 conftest$ac_exeext conftest.$ac_ext
26469 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26470 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26472 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26474 cat >>confdefs.h <<\_ACEOF
26475 #define HAVE___BUILTIN_FABSL 1
26476 _ACEOF
26483 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26484 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26485 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26486 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26487 echo $ECHO_N "(cached) $ECHO_C" >&6
26488 else
26492 ac_ext=cc
26493 ac_cpp='$CXXCPP $CPPFLAGS'
26494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26498 cat >conftest.$ac_ext <<_ACEOF
26499 /* confdefs.h. */
26500 _ACEOF
26501 cat confdefs.h >>conftest.$ac_ext
26502 cat >>conftest.$ac_ext <<_ACEOF
26503 /* end confdefs.h. */
26504 #include <math.h>
26506 main ()
26508 __builtin_labs(0);
26510 return 0;
26512 _ACEOF
26513 rm -f conftest.$ac_objext
26514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26515 (eval $ac_compile) 2>conftest.er1
26516 ac_status=$?
26517 grep -v '^ *+' conftest.er1 >conftest.err
26518 rm -f conftest.er1
26519 cat conftest.err >&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); } &&
26522 { ac_try='test -z "$ac_cxx_werror_flag"
26523 || test ! -s conftest.err'
26524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26525 (eval $ac_try) 2>&5
26526 ac_status=$?
26527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528 (exit $ac_status); }; } &&
26529 { ac_try='test -s conftest.$ac_objext'
26530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26531 (eval $ac_try) 2>&5
26532 ac_status=$?
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); }; }; then
26535 glibcxx_cv_func___builtin_labs_use=yes
26536 else
26537 echo "$as_me: failed program was:" >&5
26538 sed 's/^/| /' conftest.$ac_ext >&5
26540 glibcxx_cv_func___builtin_labs_use=no
26542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26543 ac_ext=c
26544 ac_cpp='$CPP $CPPFLAGS'
26545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26553 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26554 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26555 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26556 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26557 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26558 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26559 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26560 echo $ECHO_N "(cached) $ECHO_C" >&6
26561 else
26563 if test x$gcc_no_link = xyes; then
26564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26566 { (exit 1); exit 1; }; }
26568 cat >conftest.$ac_ext <<_ACEOF
26569 /* confdefs.h. */
26570 _ACEOF
26571 cat confdefs.h >>conftest.$ac_ext
26572 cat >>conftest.$ac_ext <<_ACEOF
26573 /* end confdefs.h. */
26574 #include <math.h>
26576 main ()
26578 __builtin_labs(0);
26580 return 0;
26582 _ACEOF
26583 rm -f conftest.$ac_objext conftest$ac_exeext
26584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26585 (eval $ac_link) 2>conftest.er1
26586 ac_status=$?
26587 grep -v '^ *+' conftest.er1 >conftest.err
26588 rm -f conftest.er1
26589 cat conftest.err >&5
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); } &&
26592 { ac_try='test -z "$ac_c_werror_flag"
26593 || test ! -s conftest.err'
26594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26595 (eval $ac_try) 2>&5
26596 ac_status=$?
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); }; } &&
26599 { ac_try='test -s conftest$ac_exeext'
26600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26601 (eval $ac_try) 2>&5
26602 ac_status=$?
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); }; }; then
26605 glibcxx_cv_func___builtin_labs_link=yes
26606 else
26607 echo "$as_me: failed program was:" >&5
26608 sed 's/^/| /' conftest.$ac_ext >&5
26610 glibcxx_cv_func___builtin_labs_link=no
26612 rm -f conftest.err conftest.$ac_objext \
26613 conftest$ac_exeext conftest.$ac_ext
26618 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26619 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26621 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26623 cat >>confdefs.h <<\_ACEOF
26624 #define HAVE___BUILTIN_LABS 1
26625 _ACEOF
26633 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26634 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26635 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26636 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26637 echo $ECHO_N "(cached) $ECHO_C" >&6
26638 else
26642 ac_ext=cc
26643 ac_cpp='$CXXCPP $CPPFLAGS'
26644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26648 cat >conftest.$ac_ext <<_ACEOF
26649 /* confdefs.h. */
26650 _ACEOF
26651 cat confdefs.h >>conftest.$ac_ext
26652 cat >>conftest.$ac_ext <<_ACEOF
26653 /* end confdefs.h. */
26654 #include <math.h>
26656 main ()
26658 __builtin_sqrtf(0);
26660 return 0;
26662 _ACEOF
26663 rm -f conftest.$ac_objext
26664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26665 (eval $ac_compile) 2>conftest.er1
26666 ac_status=$?
26667 grep -v '^ *+' conftest.er1 >conftest.err
26668 rm -f conftest.er1
26669 cat conftest.err >&5
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); } &&
26672 { ac_try='test -z "$ac_cxx_werror_flag"
26673 || test ! -s conftest.err'
26674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26675 (eval $ac_try) 2>&5
26676 ac_status=$?
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); }; } &&
26679 { ac_try='test -s conftest.$ac_objext'
26680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681 (eval $ac_try) 2>&5
26682 ac_status=$?
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); }; }; then
26685 glibcxx_cv_func___builtin_sqrtf_use=yes
26686 else
26687 echo "$as_me: failed program was:" >&5
26688 sed 's/^/| /' conftest.$ac_ext >&5
26690 glibcxx_cv_func___builtin_sqrtf_use=no
26692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26693 ac_ext=c
26694 ac_cpp='$CPP $CPPFLAGS'
26695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26703 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26704 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26705 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26706 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26707 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26708 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26709 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26710 echo $ECHO_N "(cached) $ECHO_C" >&6
26711 else
26713 if test x$gcc_no_link = xyes; then
26714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26716 { (exit 1); exit 1; }; }
26718 cat >conftest.$ac_ext <<_ACEOF
26719 /* confdefs.h. */
26720 _ACEOF
26721 cat confdefs.h >>conftest.$ac_ext
26722 cat >>conftest.$ac_ext <<_ACEOF
26723 /* end confdefs.h. */
26724 #include <math.h>
26726 main ()
26728 __builtin_sqrtf(0);
26730 return 0;
26732 _ACEOF
26733 rm -f conftest.$ac_objext conftest$ac_exeext
26734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26735 (eval $ac_link) 2>conftest.er1
26736 ac_status=$?
26737 grep -v '^ *+' conftest.er1 >conftest.err
26738 rm -f conftest.er1
26739 cat conftest.err >&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } &&
26742 { ac_try='test -z "$ac_c_werror_flag"
26743 || test ! -s conftest.err'
26744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745 (eval $ac_try) 2>&5
26746 ac_status=$?
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); }; } &&
26749 { ac_try='test -s conftest$ac_exeext'
26750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26751 (eval $ac_try) 2>&5
26752 ac_status=$?
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); }; }; then
26755 glibcxx_cv_func___builtin_sqrtf_link=yes
26756 else
26757 echo "$as_me: failed program was:" >&5
26758 sed 's/^/| /' conftest.$ac_ext >&5
26760 glibcxx_cv_func___builtin_sqrtf_link=no
26762 rm -f conftest.err conftest.$ac_objext \
26763 conftest$ac_exeext conftest.$ac_ext
26768 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26769 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26771 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26773 cat >>confdefs.h <<\_ACEOF
26774 #define HAVE___BUILTIN_SQRTF 1
26775 _ACEOF
26782 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26783 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26784 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26785 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26787 else
26791 ac_ext=cc
26792 ac_cpp='$CXXCPP $CPPFLAGS'
26793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26797 cat >conftest.$ac_ext <<_ACEOF
26798 /* confdefs.h. */
26799 _ACEOF
26800 cat confdefs.h >>conftest.$ac_ext
26801 cat >>conftest.$ac_ext <<_ACEOF
26802 /* end confdefs.h. */
26803 #include <math.h>
26805 main ()
26807 __builtin_sqrt(0);
26809 return 0;
26811 _ACEOF
26812 rm -f conftest.$ac_objext
26813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26814 (eval $ac_compile) 2>conftest.er1
26815 ac_status=$?
26816 grep -v '^ *+' conftest.er1 >conftest.err
26817 rm -f conftest.er1
26818 cat conftest.err >&5
26819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 (exit $ac_status); } &&
26821 { ac_try='test -z "$ac_cxx_werror_flag"
26822 || test ! -s conftest.err'
26823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26824 (eval $ac_try) 2>&5
26825 ac_status=$?
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); }; } &&
26828 { ac_try='test -s conftest.$ac_objext'
26829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26830 (eval $ac_try) 2>&5
26831 ac_status=$?
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); }; }; then
26834 glibcxx_cv_func___builtin_sqrt_use=yes
26835 else
26836 echo "$as_me: failed program was:" >&5
26837 sed 's/^/| /' conftest.$ac_ext >&5
26839 glibcxx_cv_func___builtin_sqrt_use=no
26841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26842 ac_ext=c
26843 ac_cpp='$CPP $CPPFLAGS'
26844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26852 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26853 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26854 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26855 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26856 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26857 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26858 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26859 echo $ECHO_N "(cached) $ECHO_C" >&6
26860 else
26862 if test x$gcc_no_link = xyes; then
26863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26865 { (exit 1); exit 1; }; }
26867 cat >conftest.$ac_ext <<_ACEOF
26868 /* confdefs.h. */
26869 _ACEOF
26870 cat confdefs.h >>conftest.$ac_ext
26871 cat >>conftest.$ac_ext <<_ACEOF
26872 /* end confdefs.h. */
26873 #include <math.h>
26875 main ()
26877 __builtin_sqrt(0);
26879 return 0;
26881 _ACEOF
26882 rm -f conftest.$ac_objext conftest$ac_exeext
26883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26884 (eval $ac_link) 2>conftest.er1
26885 ac_status=$?
26886 grep -v '^ *+' conftest.er1 >conftest.err
26887 rm -f conftest.er1
26888 cat conftest.err >&5
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); } &&
26891 { ac_try='test -z "$ac_c_werror_flag"
26892 || test ! -s conftest.err'
26893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26894 (eval $ac_try) 2>&5
26895 ac_status=$?
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); }; } &&
26898 { ac_try='test -s conftest$ac_exeext'
26899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26900 (eval $ac_try) 2>&5
26901 ac_status=$?
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); }; }; then
26904 glibcxx_cv_func___builtin_sqrt_link=yes
26905 else
26906 echo "$as_me: failed program was:" >&5
26907 sed 's/^/| /' conftest.$ac_ext >&5
26909 glibcxx_cv_func___builtin_sqrt_link=no
26911 rm -f conftest.err conftest.$ac_objext \
26912 conftest$ac_exeext conftest.$ac_ext
26917 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26918 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26920 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26922 cat >>confdefs.h <<\_ACEOF
26923 #define HAVE___BUILTIN_SQRT 1
26924 _ACEOF
26931 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26932 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26933 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26934 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26935 echo $ECHO_N "(cached) $ECHO_C" >&6
26936 else
26940 ac_ext=cc
26941 ac_cpp='$CXXCPP $CPPFLAGS'
26942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26946 cat >conftest.$ac_ext <<_ACEOF
26947 /* confdefs.h. */
26948 _ACEOF
26949 cat confdefs.h >>conftest.$ac_ext
26950 cat >>conftest.$ac_ext <<_ACEOF
26951 /* end confdefs.h. */
26952 #include <math.h>
26954 main ()
26956 __builtin_sqrtl(0);
26958 return 0;
26960 _ACEOF
26961 rm -f conftest.$ac_objext
26962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26963 (eval $ac_compile) 2>conftest.er1
26964 ac_status=$?
26965 grep -v '^ *+' conftest.er1 >conftest.err
26966 rm -f conftest.er1
26967 cat conftest.err >&5
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); } &&
26970 { ac_try='test -z "$ac_cxx_werror_flag"
26971 || test ! -s conftest.err'
26972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26973 (eval $ac_try) 2>&5
26974 ac_status=$?
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); }; } &&
26977 { ac_try='test -s conftest.$ac_objext'
26978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26979 (eval $ac_try) 2>&5
26980 ac_status=$?
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); }; }; then
26983 glibcxx_cv_func___builtin_sqrtl_use=yes
26984 else
26985 echo "$as_me: failed program was:" >&5
26986 sed 's/^/| /' conftest.$ac_ext >&5
26988 glibcxx_cv_func___builtin_sqrtl_use=no
26990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26991 ac_ext=c
26992 ac_cpp='$CPP $CPPFLAGS'
26993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27001 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27002 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27003 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27004 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27005 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27006 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27007 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27008 echo $ECHO_N "(cached) $ECHO_C" >&6
27009 else
27011 if test x$gcc_no_link = xyes; then
27012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27014 { (exit 1); exit 1; }; }
27016 cat >conftest.$ac_ext <<_ACEOF
27017 /* confdefs.h. */
27018 _ACEOF
27019 cat confdefs.h >>conftest.$ac_ext
27020 cat >>conftest.$ac_ext <<_ACEOF
27021 /* end confdefs.h. */
27022 #include <math.h>
27024 main ()
27026 __builtin_sqrtl(0);
27028 return 0;
27030 _ACEOF
27031 rm -f conftest.$ac_objext conftest$ac_exeext
27032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27033 (eval $ac_link) 2>conftest.er1
27034 ac_status=$?
27035 grep -v '^ *+' conftest.er1 >conftest.err
27036 rm -f conftest.er1
27037 cat conftest.err >&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); } &&
27040 { ac_try='test -z "$ac_c_werror_flag"
27041 || test ! -s conftest.err'
27042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27043 (eval $ac_try) 2>&5
27044 ac_status=$?
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); }; } &&
27047 { ac_try='test -s conftest$ac_exeext'
27048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27049 (eval $ac_try) 2>&5
27050 ac_status=$?
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); }; }; then
27053 glibcxx_cv_func___builtin_sqrtl_link=yes
27054 else
27055 echo "$as_me: failed program was:" >&5
27056 sed 's/^/| /' conftest.$ac_ext >&5
27058 glibcxx_cv_func___builtin_sqrtl_link=no
27060 rm -f conftest.err conftest.$ac_objext \
27061 conftest$ac_exeext conftest.$ac_ext
27066 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27067 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27069 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27071 cat >>confdefs.h <<\_ACEOF
27072 #define HAVE___BUILTIN_SQRTL 1
27073 _ACEOF
27081 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27082 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27083 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27084 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27085 echo $ECHO_N "(cached) $ECHO_C" >&6
27086 else
27090 ac_ext=cc
27091 ac_cpp='$CXXCPP $CPPFLAGS'
27092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27096 cat >conftest.$ac_ext <<_ACEOF
27097 /* confdefs.h. */
27098 _ACEOF
27099 cat confdefs.h >>conftest.$ac_ext
27100 cat >>conftest.$ac_ext <<_ACEOF
27101 /* end confdefs.h. */
27102 #include <math.h>
27104 main ()
27106 __builtin_sinf(0);
27108 return 0;
27110 _ACEOF
27111 rm -f conftest.$ac_objext
27112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27113 (eval $ac_compile) 2>conftest.er1
27114 ac_status=$?
27115 grep -v '^ *+' conftest.er1 >conftest.err
27116 rm -f conftest.er1
27117 cat conftest.err >&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); } &&
27120 { ac_try='test -z "$ac_cxx_werror_flag"
27121 || test ! -s conftest.err'
27122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27123 (eval $ac_try) 2>&5
27124 ac_status=$?
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); }; } &&
27127 { ac_try='test -s conftest.$ac_objext'
27128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27129 (eval $ac_try) 2>&5
27130 ac_status=$?
27131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27132 (exit $ac_status); }; }; then
27133 glibcxx_cv_func___builtin_sinf_use=yes
27134 else
27135 echo "$as_me: failed program was:" >&5
27136 sed 's/^/| /' conftest.$ac_ext >&5
27138 glibcxx_cv_func___builtin_sinf_use=no
27140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27141 ac_ext=c
27142 ac_cpp='$CPP $CPPFLAGS'
27143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27151 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27152 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27153 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27154 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27155 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27156 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27157 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27158 echo $ECHO_N "(cached) $ECHO_C" >&6
27159 else
27161 if test x$gcc_no_link = xyes; then
27162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27164 { (exit 1); exit 1; }; }
27166 cat >conftest.$ac_ext <<_ACEOF
27167 /* confdefs.h. */
27168 _ACEOF
27169 cat confdefs.h >>conftest.$ac_ext
27170 cat >>conftest.$ac_ext <<_ACEOF
27171 /* end confdefs.h. */
27172 #include <math.h>
27174 main ()
27176 __builtin_sinf(0);
27178 return 0;
27180 _ACEOF
27181 rm -f conftest.$ac_objext conftest$ac_exeext
27182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27183 (eval $ac_link) 2>conftest.er1
27184 ac_status=$?
27185 grep -v '^ *+' conftest.er1 >conftest.err
27186 rm -f conftest.er1
27187 cat conftest.err >&5
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); } &&
27190 { ac_try='test -z "$ac_c_werror_flag"
27191 || test ! -s conftest.err'
27192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27193 (eval $ac_try) 2>&5
27194 ac_status=$?
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); }; } &&
27197 { ac_try='test -s conftest$ac_exeext'
27198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199 (eval $ac_try) 2>&5
27200 ac_status=$?
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; }; then
27203 glibcxx_cv_func___builtin_sinf_link=yes
27204 else
27205 echo "$as_me: failed program was:" >&5
27206 sed 's/^/| /' conftest.$ac_ext >&5
27208 glibcxx_cv_func___builtin_sinf_link=no
27210 rm -f conftest.err conftest.$ac_objext \
27211 conftest$ac_exeext conftest.$ac_ext
27216 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27217 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27219 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27221 cat >>confdefs.h <<\_ACEOF
27222 #define HAVE___BUILTIN_SINF 1
27223 _ACEOF
27230 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27231 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27232 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27233 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27234 echo $ECHO_N "(cached) $ECHO_C" >&6
27235 else
27239 ac_ext=cc
27240 ac_cpp='$CXXCPP $CPPFLAGS'
27241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27245 cat >conftest.$ac_ext <<_ACEOF
27246 /* confdefs.h. */
27247 _ACEOF
27248 cat confdefs.h >>conftest.$ac_ext
27249 cat >>conftest.$ac_ext <<_ACEOF
27250 /* end confdefs.h. */
27251 #include <math.h>
27253 main ()
27255 __builtin_sin(0);
27257 return 0;
27259 _ACEOF
27260 rm -f conftest.$ac_objext
27261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27262 (eval $ac_compile) 2>conftest.er1
27263 ac_status=$?
27264 grep -v '^ *+' conftest.er1 >conftest.err
27265 rm -f conftest.er1
27266 cat conftest.err >&5
27267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27268 (exit $ac_status); } &&
27269 { ac_try='test -z "$ac_cxx_werror_flag"
27270 || test ! -s conftest.err'
27271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27272 (eval $ac_try) 2>&5
27273 ac_status=$?
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); }; } &&
27276 { ac_try='test -s conftest.$ac_objext'
27277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27278 (eval $ac_try) 2>&5
27279 ac_status=$?
27280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281 (exit $ac_status); }; }; then
27282 glibcxx_cv_func___builtin_sin_use=yes
27283 else
27284 echo "$as_me: failed program was:" >&5
27285 sed 's/^/| /' conftest.$ac_ext >&5
27287 glibcxx_cv_func___builtin_sin_use=no
27289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27290 ac_ext=c
27291 ac_cpp='$CPP $CPPFLAGS'
27292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27300 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27301 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27302 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27303 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27304 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27305 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27306 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27307 echo $ECHO_N "(cached) $ECHO_C" >&6
27308 else
27310 if test x$gcc_no_link = xyes; then
27311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27313 { (exit 1); exit 1; }; }
27315 cat >conftest.$ac_ext <<_ACEOF
27316 /* confdefs.h. */
27317 _ACEOF
27318 cat confdefs.h >>conftest.$ac_ext
27319 cat >>conftest.$ac_ext <<_ACEOF
27320 /* end confdefs.h. */
27321 #include <math.h>
27323 main ()
27325 __builtin_sin(0);
27327 return 0;
27329 _ACEOF
27330 rm -f conftest.$ac_objext conftest$ac_exeext
27331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27332 (eval $ac_link) 2>conftest.er1
27333 ac_status=$?
27334 grep -v '^ *+' conftest.er1 >conftest.err
27335 rm -f conftest.er1
27336 cat conftest.err >&5
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); } &&
27339 { ac_try='test -z "$ac_c_werror_flag"
27340 || test ! -s conftest.err'
27341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27342 (eval $ac_try) 2>&5
27343 ac_status=$?
27344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345 (exit $ac_status); }; } &&
27346 { ac_try='test -s conftest$ac_exeext'
27347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27348 (eval $ac_try) 2>&5
27349 ac_status=$?
27350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27351 (exit $ac_status); }; }; then
27352 glibcxx_cv_func___builtin_sin_link=yes
27353 else
27354 echo "$as_me: failed program was:" >&5
27355 sed 's/^/| /' conftest.$ac_ext >&5
27357 glibcxx_cv_func___builtin_sin_link=no
27359 rm -f conftest.err conftest.$ac_objext \
27360 conftest$ac_exeext conftest.$ac_ext
27365 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27366 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27368 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27370 cat >>confdefs.h <<\_ACEOF
27371 #define HAVE___BUILTIN_SIN 1
27372 _ACEOF
27379 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27380 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27381 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27382 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27383 echo $ECHO_N "(cached) $ECHO_C" >&6
27384 else
27388 ac_ext=cc
27389 ac_cpp='$CXXCPP $CPPFLAGS'
27390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27394 cat >conftest.$ac_ext <<_ACEOF
27395 /* confdefs.h. */
27396 _ACEOF
27397 cat confdefs.h >>conftest.$ac_ext
27398 cat >>conftest.$ac_ext <<_ACEOF
27399 /* end confdefs.h. */
27400 #include <math.h>
27402 main ()
27404 __builtin_sinl(0);
27406 return 0;
27408 _ACEOF
27409 rm -f conftest.$ac_objext
27410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27411 (eval $ac_compile) 2>conftest.er1
27412 ac_status=$?
27413 grep -v '^ *+' conftest.er1 >conftest.err
27414 rm -f conftest.er1
27415 cat conftest.err >&5
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); } &&
27418 { ac_try='test -z "$ac_cxx_werror_flag"
27419 || test ! -s conftest.err'
27420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27421 (eval $ac_try) 2>&5
27422 ac_status=$?
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); }; } &&
27425 { ac_try='test -s conftest.$ac_objext'
27426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27427 (eval $ac_try) 2>&5
27428 ac_status=$?
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); }; }; then
27431 glibcxx_cv_func___builtin_sinl_use=yes
27432 else
27433 echo "$as_me: failed program was:" >&5
27434 sed 's/^/| /' conftest.$ac_ext >&5
27436 glibcxx_cv_func___builtin_sinl_use=no
27438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27439 ac_ext=c
27440 ac_cpp='$CPP $CPPFLAGS'
27441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27449 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27450 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27451 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27452 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27453 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27454 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27455 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27456 echo $ECHO_N "(cached) $ECHO_C" >&6
27457 else
27459 if test x$gcc_no_link = xyes; then
27460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27462 { (exit 1); exit 1; }; }
27464 cat >conftest.$ac_ext <<_ACEOF
27465 /* confdefs.h. */
27466 _ACEOF
27467 cat confdefs.h >>conftest.$ac_ext
27468 cat >>conftest.$ac_ext <<_ACEOF
27469 /* end confdefs.h. */
27470 #include <math.h>
27472 main ()
27474 __builtin_sinl(0);
27476 return 0;
27478 _ACEOF
27479 rm -f conftest.$ac_objext conftest$ac_exeext
27480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27481 (eval $ac_link) 2>conftest.er1
27482 ac_status=$?
27483 grep -v '^ *+' conftest.er1 >conftest.err
27484 rm -f conftest.er1
27485 cat conftest.err >&5
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); } &&
27488 { ac_try='test -z "$ac_c_werror_flag"
27489 || test ! -s conftest.err'
27490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27491 (eval $ac_try) 2>&5
27492 ac_status=$?
27493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27494 (exit $ac_status); }; } &&
27495 { ac_try='test -s conftest$ac_exeext'
27496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27497 (eval $ac_try) 2>&5
27498 ac_status=$?
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); }; }; then
27501 glibcxx_cv_func___builtin_sinl_link=yes
27502 else
27503 echo "$as_me: failed program was:" >&5
27504 sed 's/^/| /' conftest.$ac_ext >&5
27506 glibcxx_cv_func___builtin_sinl_link=no
27508 rm -f conftest.err conftest.$ac_objext \
27509 conftest$ac_exeext conftest.$ac_ext
27514 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27515 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27517 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27519 cat >>confdefs.h <<\_ACEOF
27520 #define HAVE___BUILTIN_SINL 1
27521 _ACEOF
27529 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27530 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27531 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27532 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27533 echo $ECHO_N "(cached) $ECHO_C" >&6
27534 else
27538 ac_ext=cc
27539 ac_cpp='$CXXCPP $CPPFLAGS'
27540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27544 cat >conftest.$ac_ext <<_ACEOF
27545 /* confdefs.h. */
27546 _ACEOF
27547 cat confdefs.h >>conftest.$ac_ext
27548 cat >>conftest.$ac_ext <<_ACEOF
27549 /* end confdefs.h. */
27550 #include <math.h>
27552 main ()
27554 __builtin_cosf(0);
27556 return 0;
27558 _ACEOF
27559 rm -f conftest.$ac_objext
27560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27561 (eval $ac_compile) 2>conftest.er1
27562 ac_status=$?
27563 grep -v '^ *+' conftest.er1 >conftest.err
27564 rm -f conftest.er1
27565 cat conftest.err >&5
27566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27567 (exit $ac_status); } &&
27568 { ac_try='test -z "$ac_cxx_werror_flag"
27569 || test ! -s conftest.err'
27570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27571 (eval $ac_try) 2>&5
27572 ac_status=$?
27573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27574 (exit $ac_status); }; } &&
27575 { ac_try='test -s conftest.$ac_objext'
27576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27577 (eval $ac_try) 2>&5
27578 ac_status=$?
27579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580 (exit $ac_status); }; }; then
27581 glibcxx_cv_func___builtin_cosf_use=yes
27582 else
27583 echo "$as_me: failed program was:" >&5
27584 sed 's/^/| /' conftest.$ac_ext >&5
27586 glibcxx_cv_func___builtin_cosf_use=no
27588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27589 ac_ext=c
27590 ac_cpp='$CPP $CPPFLAGS'
27591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27599 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27600 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27601 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27602 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27603 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27604 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27605 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27606 echo $ECHO_N "(cached) $ECHO_C" >&6
27607 else
27609 if test x$gcc_no_link = xyes; then
27610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27612 { (exit 1); exit 1; }; }
27614 cat >conftest.$ac_ext <<_ACEOF
27615 /* confdefs.h. */
27616 _ACEOF
27617 cat confdefs.h >>conftest.$ac_ext
27618 cat >>conftest.$ac_ext <<_ACEOF
27619 /* end confdefs.h. */
27620 #include <math.h>
27622 main ()
27624 __builtin_cosf(0);
27626 return 0;
27628 _ACEOF
27629 rm -f conftest.$ac_objext conftest$ac_exeext
27630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27631 (eval $ac_link) 2>conftest.er1
27632 ac_status=$?
27633 grep -v '^ *+' conftest.er1 >conftest.err
27634 rm -f conftest.er1
27635 cat conftest.err >&5
27636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27637 (exit $ac_status); } &&
27638 { ac_try='test -z "$ac_c_werror_flag"
27639 || test ! -s conftest.err'
27640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27641 (eval $ac_try) 2>&5
27642 ac_status=$?
27643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27644 (exit $ac_status); }; } &&
27645 { ac_try='test -s conftest$ac_exeext'
27646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27647 (eval $ac_try) 2>&5
27648 ac_status=$?
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); }; }; then
27651 glibcxx_cv_func___builtin_cosf_link=yes
27652 else
27653 echo "$as_me: failed program was:" >&5
27654 sed 's/^/| /' conftest.$ac_ext >&5
27656 glibcxx_cv_func___builtin_cosf_link=no
27658 rm -f conftest.err conftest.$ac_objext \
27659 conftest$ac_exeext conftest.$ac_ext
27664 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27665 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27667 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27669 cat >>confdefs.h <<\_ACEOF
27670 #define HAVE___BUILTIN_COSF 1
27671 _ACEOF
27678 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27679 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27680 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27681 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27682 echo $ECHO_N "(cached) $ECHO_C" >&6
27683 else
27687 ac_ext=cc
27688 ac_cpp='$CXXCPP $CPPFLAGS'
27689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27693 cat >conftest.$ac_ext <<_ACEOF
27694 /* confdefs.h. */
27695 _ACEOF
27696 cat confdefs.h >>conftest.$ac_ext
27697 cat >>conftest.$ac_ext <<_ACEOF
27698 /* end confdefs.h. */
27699 #include <math.h>
27701 main ()
27703 __builtin_cos(0);
27705 return 0;
27707 _ACEOF
27708 rm -f conftest.$ac_objext
27709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27710 (eval $ac_compile) 2>conftest.er1
27711 ac_status=$?
27712 grep -v '^ *+' conftest.er1 >conftest.err
27713 rm -f conftest.er1
27714 cat conftest.err >&5
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); } &&
27717 { ac_try='test -z "$ac_cxx_werror_flag"
27718 || test ! -s conftest.err'
27719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27720 (eval $ac_try) 2>&5
27721 ac_status=$?
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); }; } &&
27724 { ac_try='test -s conftest.$ac_objext'
27725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27726 (eval $ac_try) 2>&5
27727 ac_status=$?
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); }; }; then
27730 glibcxx_cv_func___builtin_cos_use=yes
27731 else
27732 echo "$as_me: failed program was:" >&5
27733 sed 's/^/| /' conftest.$ac_ext >&5
27735 glibcxx_cv_func___builtin_cos_use=no
27737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27738 ac_ext=c
27739 ac_cpp='$CPP $CPPFLAGS'
27740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27748 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27749 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27750 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27751 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27752 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27753 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27754 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27755 echo $ECHO_N "(cached) $ECHO_C" >&6
27756 else
27758 if test x$gcc_no_link = xyes; then
27759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27761 { (exit 1); exit 1; }; }
27763 cat >conftest.$ac_ext <<_ACEOF
27764 /* confdefs.h. */
27765 _ACEOF
27766 cat confdefs.h >>conftest.$ac_ext
27767 cat >>conftest.$ac_ext <<_ACEOF
27768 /* end confdefs.h. */
27769 #include <math.h>
27771 main ()
27773 __builtin_cos(0);
27775 return 0;
27777 _ACEOF
27778 rm -f conftest.$ac_objext conftest$ac_exeext
27779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27780 (eval $ac_link) 2>conftest.er1
27781 ac_status=$?
27782 grep -v '^ *+' conftest.er1 >conftest.err
27783 rm -f conftest.er1
27784 cat conftest.err >&5
27785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27786 (exit $ac_status); } &&
27787 { ac_try='test -z "$ac_c_werror_flag"
27788 || test ! -s conftest.err'
27789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27790 (eval $ac_try) 2>&5
27791 ac_status=$?
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); }; } &&
27794 { ac_try='test -s conftest$ac_exeext'
27795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27796 (eval $ac_try) 2>&5
27797 ac_status=$?
27798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27799 (exit $ac_status); }; }; then
27800 glibcxx_cv_func___builtin_cos_link=yes
27801 else
27802 echo "$as_me: failed program was:" >&5
27803 sed 's/^/| /' conftest.$ac_ext >&5
27805 glibcxx_cv_func___builtin_cos_link=no
27807 rm -f conftest.err conftest.$ac_objext \
27808 conftest$ac_exeext conftest.$ac_ext
27813 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27814 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27816 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27818 cat >>confdefs.h <<\_ACEOF
27819 #define HAVE___BUILTIN_COS 1
27820 _ACEOF
27827 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27828 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27829 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27830 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27831 echo $ECHO_N "(cached) $ECHO_C" >&6
27832 else
27836 ac_ext=cc
27837 ac_cpp='$CXXCPP $CPPFLAGS'
27838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27842 cat >conftest.$ac_ext <<_ACEOF
27843 /* confdefs.h. */
27844 _ACEOF
27845 cat confdefs.h >>conftest.$ac_ext
27846 cat >>conftest.$ac_ext <<_ACEOF
27847 /* end confdefs.h. */
27848 #include <math.h>
27850 main ()
27852 __builtin_cosl(0);
27854 return 0;
27856 _ACEOF
27857 rm -f conftest.$ac_objext
27858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27859 (eval $ac_compile) 2>conftest.er1
27860 ac_status=$?
27861 grep -v '^ *+' conftest.er1 >conftest.err
27862 rm -f conftest.er1
27863 cat conftest.err >&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); } &&
27866 { ac_try='test -z "$ac_cxx_werror_flag"
27867 || test ! -s conftest.err'
27868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27869 (eval $ac_try) 2>&5
27870 ac_status=$?
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); }; } &&
27873 { ac_try='test -s conftest.$ac_objext'
27874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875 (eval $ac_try) 2>&5
27876 ac_status=$?
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); }; }; then
27879 glibcxx_cv_func___builtin_cosl_use=yes
27880 else
27881 echo "$as_me: failed program was:" >&5
27882 sed 's/^/| /' conftest.$ac_ext >&5
27884 glibcxx_cv_func___builtin_cosl_use=no
27886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27887 ac_ext=c
27888 ac_cpp='$CPP $CPPFLAGS'
27889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27897 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27898 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27899 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27900 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27901 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27902 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27903 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27904 echo $ECHO_N "(cached) $ECHO_C" >&6
27905 else
27907 if test x$gcc_no_link = xyes; then
27908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27910 { (exit 1); exit 1; }; }
27912 cat >conftest.$ac_ext <<_ACEOF
27913 /* confdefs.h. */
27914 _ACEOF
27915 cat confdefs.h >>conftest.$ac_ext
27916 cat >>conftest.$ac_ext <<_ACEOF
27917 /* end confdefs.h. */
27918 #include <math.h>
27920 main ()
27922 __builtin_cosl(0);
27924 return 0;
27926 _ACEOF
27927 rm -f conftest.$ac_objext conftest$ac_exeext
27928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27929 (eval $ac_link) 2>conftest.er1
27930 ac_status=$?
27931 grep -v '^ *+' conftest.er1 >conftest.err
27932 rm -f conftest.er1
27933 cat conftest.err >&5
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); } &&
27936 { ac_try='test -z "$ac_c_werror_flag"
27937 || test ! -s conftest.err'
27938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27939 (eval $ac_try) 2>&5
27940 ac_status=$?
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); }; } &&
27943 { ac_try='test -s conftest$ac_exeext'
27944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27945 (eval $ac_try) 2>&5
27946 ac_status=$?
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); }; }; then
27949 glibcxx_cv_func___builtin_cosl_link=yes
27950 else
27951 echo "$as_me: failed program was:" >&5
27952 sed 's/^/| /' conftest.$ac_ext >&5
27954 glibcxx_cv_func___builtin_cosl_link=no
27956 rm -f conftest.err conftest.$ac_objext \
27957 conftest$ac_exeext conftest.$ac_ext
27962 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27963 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27965 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27967 cat >>confdefs.h <<\_ACEOF
27968 #define HAVE___BUILTIN_COSL 1
27969 _ACEOF
27978 echo "$as_me:$LINENO: checking for main in -lm" >&5
27979 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27980 if test "${ac_cv_lib_m_main+set}" = set; then
27981 echo $ECHO_N "(cached) $ECHO_C" >&6
27982 else
27983 ac_check_lib_save_LIBS=$LIBS
27984 LIBS="-lm $LIBS"
27985 if test x$gcc_no_link = xyes; then
27986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27988 { (exit 1); exit 1; }; }
27990 cat >conftest.$ac_ext <<_ACEOF
27991 /* confdefs.h. */
27992 _ACEOF
27993 cat confdefs.h >>conftest.$ac_ext
27994 cat >>conftest.$ac_ext <<_ACEOF
27995 /* end confdefs.h. */
27999 main ()
28001 main ();
28003 return 0;
28005 _ACEOF
28006 rm -f conftest.$ac_objext conftest$ac_exeext
28007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28008 (eval $ac_link) 2>conftest.er1
28009 ac_status=$?
28010 grep -v '^ *+' conftest.er1 >conftest.err
28011 rm -f conftest.er1
28012 cat conftest.err >&5
28013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28014 (exit $ac_status); } &&
28015 { ac_try='test -z "$ac_c_werror_flag"
28016 || test ! -s conftest.err'
28017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28018 (eval $ac_try) 2>&5
28019 ac_status=$?
28020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021 (exit $ac_status); }; } &&
28022 { ac_try='test -s conftest$ac_exeext'
28023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28024 (eval $ac_try) 2>&5
28025 ac_status=$?
28026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28027 (exit $ac_status); }; }; then
28028 ac_cv_lib_m_main=yes
28029 else
28030 echo "$as_me: failed program was:" >&5
28031 sed 's/^/| /' conftest.$ac_ext >&5
28033 ac_cv_lib_m_main=no
28035 rm -f conftest.err conftest.$ac_objext \
28036 conftest$ac_exeext conftest.$ac_ext
28037 LIBS=$ac_check_lib_save_LIBS
28039 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28040 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28041 if test $ac_cv_lib_m_main = yes; then
28042 cat >>confdefs.h <<_ACEOF
28043 #define HAVE_LIBM 1
28044 _ACEOF
28046 LIBS="-lm $LIBS"
28051 for ac_func in copysignf
28053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28054 echo "$as_me:$LINENO: checking for $ac_func" >&5
28055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28056 if eval "test \"\${$as_ac_var+set}\" = set"; then
28057 echo $ECHO_N "(cached) $ECHO_C" >&6
28058 else
28059 if test x$gcc_no_link = xyes; then
28060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28062 { (exit 1); exit 1; }; }
28064 cat >conftest.$ac_ext <<_ACEOF
28065 /* confdefs.h. */
28066 _ACEOF
28067 cat confdefs.h >>conftest.$ac_ext
28068 cat >>conftest.$ac_ext <<_ACEOF
28069 /* end confdefs.h. */
28070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28072 #define $ac_func innocuous_$ac_func
28074 /* System header to define __stub macros and hopefully few prototypes,
28075 which can conflict with char $ac_func (); below.
28076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28077 <limits.h> exists even on freestanding compilers. */
28079 #ifdef __STDC__
28080 # include <limits.h>
28081 #else
28082 # include <assert.h>
28083 #endif
28085 #undef $ac_func
28087 /* Override any gcc2 internal prototype to avoid an error. */
28088 #ifdef __cplusplus
28089 extern "C"
28091 #endif
28092 /* We use char because int might match the return type of a gcc2
28093 builtin and then its argument prototype would still apply. */
28094 char $ac_func ();
28095 /* The GNU C library defines this for functions which it implements
28096 to always fail with ENOSYS. Some functions are actually named
28097 something starting with __ and the normal name is an alias. */
28098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28099 choke me
28100 #else
28101 char (*f) () = $ac_func;
28102 #endif
28103 #ifdef __cplusplus
28105 #endif
28108 main ()
28110 return f != $ac_func;
28112 return 0;
28114 _ACEOF
28115 rm -f conftest.$ac_objext conftest$ac_exeext
28116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28117 (eval $ac_link) 2>conftest.er1
28118 ac_status=$?
28119 grep -v '^ *+' conftest.er1 >conftest.err
28120 rm -f conftest.er1
28121 cat conftest.err >&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } &&
28124 { ac_try='test -z "$ac_c_werror_flag"
28125 || test ! -s conftest.err'
28126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28127 (eval $ac_try) 2>&5
28128 ac_status=$?
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); }; } &&
28131 { ac_try='test -s conftest$ac_exeext'
28132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28133 (eval $ac_try) 2>&5
28134 ac_status=$?
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); }; }; then
28137 eval "$as_ac_var=yes"
28138 else
28139 echo "$as_me: failed program was:" >&5
28140 sed 's/^/| /' conftest.$ac_ext >&5
28142 eval "$as_ac_var=no"
28144 rm -f conftest.err conftest.$ac_objext \
28145 conftest$ac_exeext conftest.$ac_ext
28147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28149 if test `eval echo '${'$as_ac_var'}'` = yes; then
28150 cat >>confdefs.h <<_ACEOF
28151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28152 _ACEOF
28154 else
28155 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28157 done
28161 for ac_func in __signbit
28163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28164 echo "$as_me:$LINENO: checking for $ac_func" >&5
28165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28166 if eval "test \"\${$as_ac_var+set}\" = set"; then
28167 echo $ECHO_N "(cached) $ECHO_C" >&6
28168 else
28169 if test x$gcc_no_link = xyes; then
28170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28172 { (exit 1); exit 1; }; }
28174 cat >conftest.$ac_ext <<_ACEOF
28175 /* confdefs.h. */
28176 _ACEOF
28177 cat confdefs.h >>conftest.$ac_ext
28178 cat >>conftest.$ac_ext <<_ACEOF
28179 /* end confdefs.h. */
28180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28182 #define $ac_func innocuous_$ac_func
28184 /* System header to define __stub macros and hopefully few prototypes,
28185 which can conflict with char $ac_func (); below.
28186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28187 <limits.h> exists even on freestanding compilers. */
28189 #ifdef __STDC__
28190 # include <limits.h>
28191 #else
28192 # include <assert.h>
28193 #endif
28195 #undef $ac_func
28197 /* Override any gcc2 internal prototype to avoid an error. */
28198 #ifdef __cplusplus
28199 extern "C"
28201 #endif
28202 /* We use char because int might match the return type of a gcc2
28203 builtin and then its argument prototype would still apply. */
28204 char $ac_func ();
28205 /* The GNU C library defines this for functions which it implements
28206 to always fail with ENOSYS. Some functions are actually named
28207 something starting with __ and the normal name is an alias. */
28208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28209 choke me
28210 #else
28211 char (*f) () = $ac_func;
28212 #endif
28213 #ifdef __cplusplus
28215 #endif
28218 main ()
28220 return f != $ac_func;
28222 return 0;
28224 _ACEOF
28225 rm -f conftest.$ac_objext conftest$ac_exeext
28226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28227 (eval $ac_link) 2>conftest.er1
28228 ac_status=$?
28229 grep -v '^ *+' conftest.er1 >conftest.err
28230 rm -f conftest.er1
28231 cat conftest.err >&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); } &&
28234 { ac_try='test -z "$ac_c_werror_flag"
28235 || test ! -s conftest.err'
28236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28237 (eval $ac_try) 2>&5
28238 ac_status=$?
28239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28240 (exit $ac_status); }; } &&
28241 { ac_try='test -s conftest$ac_exeext'
28242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28243 (eval $ac_try) 2>&5
28244 ac_status=$?
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); }; }; then
28247 eval "$as_ac_var=yes"
28248 else
28249 echo "$as_me: failed program was:" >&5
28250 sed 's/^/| /' conftest.$ac_ext >&5
28252 eval "$as_ac_var=no"
28254 rm -f conftest.err conftest.$ac_objext \
28255 conftest$ac_exeext conftest.$ac_ext
28257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28259 if test `eval echo '${'$as_ac_var'}'` = yes; then
28260 cat >>confdefs.h <<_ACEOF
28261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28262 _ACEOF
28264 else
28265 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28267 done
28271 for ac_func in __signbitf
28273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28274 echo "$as_me:$LINENO: checking for $ac_func" >&5
28275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28276 if eval "test \"\${$as_ac_var+set}\" = set"; then
28277 echo $ECHO_N "(cached) $ECHO_C" >&6
28278 else
28279 if test x$gcc_no_link = xyes; then
28280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28282 { (exit 1); exit 1; }; }
28284 cat >conftest.$ac_ext <<_ACEOF
28285 /* confdefs.h. */
28286 _ACEOF
28287 cat confdefs.h >>conftest.$ac_ext
28288 cat >>conftest.$ac_ext <<_ACEOF
28289 /* end confdefs.h. */
28290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28292 #define $ac_func innocuous_$ac_func
28294 /* System header to define __stub macros and hopefully few prototypes,
28295 which can conflict with char $ac_func (); below.
28296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28297 <limits.h> exists even on freestanding compilers. */
28299 #ifdef __STDC__
28300 # include <limits.h>
28301 #else
28302 # include <assert.h>
28303 #endif
28305 #undef $ac_func
28307 /* Override any gcc2 internal prototype to avoid an error. */
28308 #ifdef __cplusplus
28309 extern "C"
28311 #endif
28312 /* We use char because int might match the return type of a gcc2
28313 builtin and then its argument prototype would still apply. */
28314 char $ac_func ();
28315 /* The GNU C library defines this for functions which it implements
28316 to always fail with ENOSYS. Some functions are actually named
28317 something starting with __ and the normal name is an alias. */
28318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28319 choke me
28320 #else
28321 char (*f) () = $ac_func;
28322 #endif
28323 #ifdef __cplusplus
28325 #endif
28328 main ()
28330 return f != $ac_func;
28332 return 0;
28334 _ACEOF
28335 rm -f conftest.$ac_objext conftest$ac_exeext
28336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28337 (eval $ac_link) 2>conftest.er1
28338 ac_status=$?
28339 grep -v '^ *+' conftest.er1 >conftest.err
28340 rm -f conftest.er1
28341 cat conftest.err >&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); } &&
28344 { ac_try='test -z "$ac_c_werror_flag"
28345 || test ! -s conftest.err'
28346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28347 (eval $ac_try) 2>&5
28348 ac_status=$?
28349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350 (exit $ac_status); }; } &&
28351 { ac_try='test -s conftest$ac_exeext'
28352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28353 (eval $ac_try) 2>&5
28354 ac_status=$?
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); }; }; then
28357 eval "$as_ac_var=yes"
28358 else
28359 echo "$as_me: failed program was:" >&5
28360 sed 's/^/| /' conftest.$ac_ext >&5
28362 eval "$as_ac_var=no"
28364 rm -f conftest.err conftest.$ac_objext \
28365 conftest$ac_exeext conftest.$ac_ext
28367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28369 if test `eval echo '${'$as_ac_var'}'` = yes; then
28370 cat >>confdefs.h <<_ACEOF
28371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28372 _ACEOF
28374 else
28375 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28377 done
28380 if test x$ac_cv_func_copysignl = x"yes"; then
28382 for ac_func in __signbitl
28384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28385 echo "$as_me:$LINENO: checking for $ac_func" >&5
28386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28387 if eval "test \"\${$as_ac_var+set}\" = set"; then
28388 echo $ECHO_N "(cached) $ECHO_C" >&6
28389 else
28390 if test x$gcc_no_link = xyes; then
28391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28393 { (exit 1); exit 1; }; }
28395 cat >conftest.$ac_ext <<_ACEOF
28396 /* confdefs.h. */
28397 _ACEOF
28398 cat confdefs.h >>conftest.$ac_ext
28399 cat >>conftest.$ac_ext <<_ACEOF
28400 /* end confdefs.h. */
28401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28403 #define $ac_func innocuous_$ac_func
28405 /* System header to define __stub macros and hopefully few prototypes,
28406 which can conflict with char $ac_func (); below.
28407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28408 <limits.h> exists even on freestanding compilers. */
28410 #ifdef __STDC__
28411 # include <limits.h>
28412 #else
28413 # include <assert.h>
28414 #endif
28416 #undef $ac_func
28418 /* Override any gcc2 internal prototype to avoid an error. */
28419 #ifdef __cplusplus
28420 extern "C"
28422 #endif
28423 /* We use char because int might match the return type of a gcc2
28424 builtin and then its argument prototype would still apply. */
28425 char $ac_func ();
28426 /* The GNU C library defines this for functions which it implements
28427 to always fail with ENOSYS. Some functions are actually named
28428 something starting with __ and the normal name is an alias. */
28429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28430 choke me
28431 #else
28432 char (*f) () = $ac_func;
28433 #endif
28434 #ifdef __cplusplus
28436 #endif
28439 main ()
28441 return f != $ac_func;
28443 return 0;
28445 _ACEOF
28446 rm -f conftest.$ac_objext conftest$ac_exeext
28447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28448 (eval $ac_link) 2>conftest.er1
28449 ac_status=$?
28450 grep -v '^ *+' conftest.er1 >conftest.err
28451 rm -f conftest.er1
28452 cat conftest.err >&5
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); } &&
28455 { ac_try='test -z "$ac_c_werror_flag"
28456 || test ! -s conftest.err'
28457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28458 (eval $ac_try) 2>&5
28459 ac_status=$?
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); }; } &&
28462 { ac_try='test -s conftest$ac_exeext'
28463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28464 (eval $ac_try) 2>&5
28465 ac_status=$?
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); }; }; then
28468 eval "$as_ac_var=yes"
28469 else
28470 echo "$as_me: failed program was:" >&5
28471 sed 's/^/| /' conftest.$ac_ext >&5
28473 eval "$as_ac_var=no"
28475 rm -f conftest.err conftest.$ac_objext \
28476 conftest$ac_exeext conftest.$ac_ext
28478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28480 if test `eval echo '${'$as_ac_var'}'` = yes; then
28481 cat >>confdefs.h <<_ACEOF
28482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28483 _ACEOF
28485 else
28486 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28488 done
28492 # Used in libmath/Makefile.am.
28493 if test -n "$LIBMATHOBJS"; then
28494 need_libmath=yes
28500 enable_iconv=no
28501 # Only continue checking if the ISO C99 headers exist and support is on.
28502 if test x"$enable_wchar_t" = xyes; then
28504 # Use iconv for wchar_t to char conversions. As such, check for
28505 # X/Open Portability Guide, version 2 features (XPG2).
28506 if test "${ac_cv_header_iconv_h+set}" = set; then
28507 echo "$as_me:$LINENO: checking for iconv.h" >&5
28508 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28509 if test "${ac_cv_header_iconv_h+set}" = set; then
28510 echo $ECHO_N "(cached) $ECHO_C" >&6
28512 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28513 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28514 else
28515 # Is the header compilable?
28516 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28517 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28518 cat >conftest.$ac_ext <<_ACEOF
28519 /* confdefs.h. */
28520 _ACEOF
28521 cat confdefs.h >>conftest.$ac_ext
28522 cat >>conftest.$ac_ext <<_ACEOF
28523 /* end confdefs.h. */
28524 $ac_includes_default
28525 #include <iconv.h>
28526 _ACEOF
28527 rm -f conftest.$ac_objext
28528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28529 (eval $ac_compile) 2>conftest.er1
28530 ac_status=$?
28531 grep -v '^ *+' conftest.er1 >conftest.err
28532 rm -f conftest.er1
28533 cat conftest.err >&5
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); } &&
28536 { ac_try='test -z "$ac_c_werror_flag"
28537 || test ! -s conftest.err'
28538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28539 (eval $ac_try) 2>&5
28540 ac_status=$?
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); }; } &&
28543 { ac_try='test -s conftest.$ac_objext'
28544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28545 (eval $ac_try) 2>&5
28546 ac_status=$?
28547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28548 (exit $ac_status); }; }; then
28549 ac_header_compiler=yes
28550 else
28551 echo "$as_me: failed program was:" >&5
28552 sed 's/^/| /' conftest.$ac_ext >&5
28554 ac_header_compiler=no
28556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28557 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28558 echo "${ECHO_T}$ac_header_compiler" >&6
28560 # Is the header present?
28561 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28562 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28563 cat >conftest.$ac_ext <<_ACEOF
28564 /* confdefs.h. */
28565 _ACEOF
28566 cat confdefs.h >>conftest.$ac_ext
28567 cat >>conftest.$ac_ext <<_ACEOF
28568 /* end confdefs.h. */
28569 #include <iconv.h>
28570 _ACEOF
28571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28572 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28573 ac_status=$?
28574 grep -v '^ *+' conftest.er1 >conftest.err
28575 rm -f conftest.er1
28576 cat conftest.err >&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); } >/dev/null; then
28579 if test -s conftest.err; then
28580 ac_cpp_err=$ac_c_preproc_warn_flag
28581 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28582 else
28583 ac_cpp_err=
28585 else
28586 ac_cpp_err=yes
28588 if test -z "$ac_cpp_err"; then
28589 ac_header_preproc=yes
28590 else
28591 echo "$as_me: failed program was:" >&5
28592 sed 's/^/| /' conftest.$ac_ext >&5
28594 ac_header_preproc=no
28596 rm -f conftest.err conftest.$ac_ext
28597 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28598 echo "${ECHO_T}$ac_header_preproc" >&6
28600 # So? What about this header?
28601 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28602 yes:no: )
28603 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28604 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28605 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28606 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28607 ac_header_preproc=yes
28609 no:yes:* )
28610 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28611 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28612 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28613 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28614 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28615 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28616 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28617 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28618 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28619 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28620 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28621 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28623 cat <<\_ASBOX
28624 ## ----------------------------------------- ##
28625 ## Report this to the package-unused lists. ##
28626 ## ----------------------------------------- ##
28627 _ASBOX
28629 sed "s/^/$as_me: WARNING: /" >&2
28631 esac
28632 echo "$as_me:$LINENO: checking for iconv.h" >&5
28633 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28634 if test "${ac_cv_header_iconv_h+set}" = set; then
28635 echo $ECHO_N "(cached) $ECHO_C" >&6
28636 else
28637 ac_cv_header_iconv_h=$ac_header_preproc
28639 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28640 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28643 if test $ac_cv_header_iconv_h = yes; then
28644 ac_has_iconv_h=yes
28645 else
28646 ac_has_iconv_h=no
28650 if test "${ac_cv_header_langinfo_h+set}" = set; then
28651 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28652 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28653 if test "${ac_cv_header_langinfo_h+set}" = set; then
28654 echo $ECHO_N "(cached) $ECHO_C" >&6
28656 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28657 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28658 else
28659 # Is the header compilable?
28660 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28661 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28662 cat >conftest.$ac_ext <<_ACEOF
28663 /* confdefs.h. */
28664 _ACEOF
28665 cat confdefs.h >>conftest.$ac_ext
28666 cat >>conftest.$ac_ext <<_ACEOF
28667 /* end confdefs.h. */
28668 $ac_includes_default
28669 #include <langinfo.h>
28670 _ACEOF
28671 rm -f conftest.$ac_objext
28672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28673 (eval $ac_compile) 2>conftest.er1
28674 ac_status=$?
28675 grep -v '^ *+' conftest.er1 >conftest.err
28676 rm -f conftest.er1
28677 cat conftest.err >&5
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); } &&
28680 { ac_try='test -z "$ac_c_werror_flag"
28681 || test ! -s conftest.err'
28682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28683 (eval $ac_try) 2>&5
28684 ac_status=$?
28685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686 (exit $ac_status); }; } &&
28687 { ac_try='test -s conftest.$ac_objext'
28688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28689 (eval $ac_try) 2>&5
28690 ac_status=$?
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); }; }; then
28693 ac_header_compiler=yes
28694 else
28695 echo "$as_me: failed program was:" >&5
28696 sed 's/^/| /' conftest.$ac_ext >&5
28698 ac_header_compiler=no
28700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28702 echo "${ECHO_T}$ac_header_compiler" >&6
28704 # Is the header present?
28705 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28706 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28707 cat >conftest.$ac_ext <<_ACEOF
28708 /* confdefs.h. */
28709 _ACEOF
28710 cat confdefs.h >>conftest.$ac_ext
28711 cat >>conftest.$ac_ext <<_ACEOF
28712 /* end confdefs.h. */
28713 #include <langinfo.h>
28714 _ACEOF
28715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28717 ac_status=$?
28718 grep -v '^ *+' conftest.er1 >conftest.err
28719 rm -f conftest.er1
28720 cat conftest.err >&5
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); } >/dev/null; then
28723 if test -s conftest.err; then
28724 ac_cpp_err=$ac_c_preproc_warn_flag
28725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28726 else
28727 ac_cpp_err=
28729 else
28730 ac_cpp_err=yes
28732 if test -z "$ac_cpp_err"; then
28733 ac_header_preproc=yes
28734 else
28735 echo "$as_me: failed program was:" >&5
28736 sed 's/^/| /' conftest.$ac_ext >&5
28738 ac_header_preproc=no
28740 rm -f conftest.err conftest.$ac_ext
28741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28742 echo "${ECHO_T}$ac_header_preproc" >&6
28744 # So? What about this header?
28745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28746 yes:no: )
28747 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28748 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28749 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28750 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28751 ac_header_preproc=yes
28753 no:yes:* )
28754 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28755 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28756 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28757 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28758 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28759 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28760 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28761 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28762 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28763 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28764 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28765 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28767 cat <<\_ASBOX
28768 ## ----------------------------------------- ##
28769 ## Report this to the package-unused lists. ##
28770 ## ----------------------------------------- ##
28771 _ASBOX
28773 sed "s/^/$as_me: WARNING: /" >&2
28775 esac
28776 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28777 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28778 if test "${ac_cv_header_langinfo_h+set}" = set; then
28779 echo $ECHO_N "(cached) $ECHO_C" >&6
28780 else
28781 ac_cv_header_langinfo_h=$ac_header_preproc
28783 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28784 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28787 if test $ac_cv_header_langinfo_h = yes; then
28788 ac_has_langinfo_h=yes
28789 else
28790 ac_has_langinfo_h=no
28795 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28796 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28797 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28798 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28799 echo $ECHO_N "(cached) $ECHO_C" >&6
28800 else
28801 ac_check_lib_save_LIBS=$LIBS
28802 LIBS="-liconv $LIBS"
28803 if test x$gcc_no_link = xyes; then
28804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28806 { (exit 1); exit 1; }; }
28808 cat >conftest.$ac_ext <<_ACEOF
28809 /* confdefs.h. */
28810 _ACEOF
28811 cat confdefs.h >>conftest.$ac_ext
28812 cat >>conftest.$ac_ext <<_ACEOF
28813 /* end confdefs.h. */
28815 /* Override any gcc2 internal prototype to avoid an error. */
28816 #ifdef __cplusplus
28817 extern "C"
28818 #endif
28819 /* We use char because int might match the return type of a gcc2
28820 builtin and then its argument prototype would still apply. */
28821 char iconv ();
28823 main ()
28825 iconv ();
28827 return 0;
28829 _ACEOF
28830 rm -f conftest.$ac_objext conftest$ac_exeext
28831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28832 (eval $ac_link) 2>conftest.er1
28833 ac_status=$?
28834 grep -v '^ *+' conftest.er1 >conftest.err
28835 rm -f conftest.er1
28836 cat conftest.err >&5
28837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 (exit $ac_status); } &&
28839 { ac_try='test -z "$ac_c_werror_flag"
28840 || test ! -s conftest.err'
28841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28842 (eval $ac_try) 2>&5
28843 ac_status=$?
28844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 (exit $ac_status); }; } &&
28846 { ac_try='test -s conftest$ac_exeext'
28847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848 (eval $ac_try) 2>&5
28849 ac_status=$?
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); }; }; then
28852 ac_cv_lib_iconv_iconv=yes
28853 else
28854 echo "$as_me: failed program was:" >&5
28855 sed 's/^/| /' conftest.$ac_ext >&5
28857 ac_cv_lib_iconv_iconv=no
28859 rm -f conftest.err conftest.$ac_objext \
28860 conftest$ac_exeext conftest.$ac_ext
28861 LIBS=$ac_check_lib_save_LIBS
28863 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28864 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28865 if test $ac_cv_lib_iconv_iconv = yes; then
28866 LIBICONV="-liconv"
28869 ac_save_LIBS="$LIBS"
28870 LIBS="$LIBS $LIBICONV"
28877 for ac_func in iconv_open iconv_close iconv nl_langinfo
28879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28880 echo "$as_me:$LINENO: checking for $ac_func" >&5
28881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28882 if eval "test \"\${$as_ac_var+set}\" = set"; then
28883 echo $ECHO_N "(cached) $ECHO_C" >&6
28884 else
28885 if test x$gcc_no_link = xyes; then
28886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28888 { (exit 1); exit 1; }; }
28890 cat >conftest.$ac_ext <<_ACEOF
28891 /* confdefs.h. */
28892 _ACEOF
28893 cat confdefs.h >>conftest.$ac_ext
28894 cat >>conftest.$ac_ext <<_ACEOF
28895 /* end confdefs.h. */
28896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28898 #define $ac_func innocuous_$ac_func
28900 /* System header to define __stub macros and hopefully few prototypes,
28901 which can conflict with char $ac_func (); below.
28902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28903 <limits.h> exists even on freestanding compilers. */
28905 #ifdef __STDC__
28906 # include <limits.h>
28907 #else
28908 # include <assert.h>
28909 #endif
28911 #undef $ac_func
28913 /* Override any gcc2 internal prototype to avoid an error. */
28914 #ifdef __cplusplus
28915 extern "C"
28917 #endif
28918 /* We use char because int might match the return type of a gcc2
28919 builtin and then its argument prototype would still apply. */
28920 char $ac_func ();
28921 /* The GNU C library defines this for functions which it implements
28922 to always fail with ENOSYS. Some functions are actually named
28923 something starting with __ and the normal name is an alias. */
28924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28925 choke me
28926 #else
28927 char (*f) () = $ac_func;
28928 #endif
28929 #ifdef __cplusplus
28931 #endif
28934 main ()
28936 return f != $ac_func;
28938 return 0;
28940 _ACEOF
28941 rm -f conftest.$ac_objext conftest$ac_exeext
28942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28943 (eval $ac_link) 2>conftest.er1
28944 ac_status=$?
28945 grep -v '^ *+' conftest.er1 >conftest.err
28946 rm -f conftest.er1
28947 cat conftest.err >&5
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); } &&
28950 { ac_try='test -z "$ac_c_werror_flag"
28951 || test ! -s conftest.err'
28952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28953 (eval $ac_try) 2>&5
28954 ac_status=$?
28955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28956 (exit $ac_status); }; } &&
28957 { ac_try='test -s conftest$ac_exeext'
28958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28959 (eval $ac_try) 2>&5
28960 ac_status=$?
28961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28962 (exit $ac_status); }; }; then
28963 eval "$as_ac_var=yes"
28964 else
28965 echo "$as_me: failed program was:" >&5
28966 sed 's/^/| /' conftest.$ac_ext >&5
28968 eval "$as_ac_var=no"
28970 rm -f conftest.err conftest.$ac_objext \
28971 conftest$ac_exeext conftest.$ac_ext
28973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28975 if test `eval echo '${'$as_ac_var'}'` = yes; then
28976 cat >>confdefs.h <<_ACEOF
28977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28978 _ACEOF
28979 ac_XPG2funcs=yes
28980 else
28981 ac_XPG2funcs=no
28983 done
28986 LIBS="$ac_save_LIBS"
28988 if test x"$ac_has_iconv_h" = xyes &&
28989 test x"$ac_has_langinfo_h" = xyes &&
28990 test x"$ac_XPG2funcs" = xyes;
28991 then
28993 cat >>confdefs.h <<\_ACEOF
28994 #define _GLIBCXX_USE_ICONV 1
28995 _ACEOF
28997 enable_iconv=yes
29000 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
29001 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
29002 echo "$as_me:$LINENO: result: $enable_iconv" >&5
29003 echo "${ECHO_T}$enable_iconv" >&6
29006 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29007 ac_save_CXXFLAGS="$CXXFLAGS"
29008 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29011 echo "$as_me:$LINENO: checking for strtold declaration" >&5
29012 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29013 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29014 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29015 echo $ECHO_N "(cached) $ECHO_C" >&6
29016 else
29020 ac_ext=cc
29021 ac_cpp='$CXXCPP $CPPFLAGS'
29022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29026 cat >conftest.$ac_ext <<_ACEOF
29027 /* confdefs.h. */
29028 _ACEOF
29029 cat confdefs.h >>conftest.$ac_ext
29030 cat >>conftest.$ac_ext <<_ACEOF
29031 /* end confdefs.h. */
29032 #include <stdlib.h>
29034 main ()
29036 strtold(0, 0);
29038 return 0;
29040 _ACEOF
29041 rm -f conftest.$ac_objext
29042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29043 (eval $ac_compile) 2>conftest.er1
29044 ac_status=$?
29045 grep -v '^ *+' conftest.er1 >conftest.err
29046 rm -f conftest.er1
29047 cat conftest.err >&5
29048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29049 (exit $ac_status); } &&
29050 { ac_try='test -z "$ac_cxx_werror_flag"
29051 || test ! -s conftest.err'
29052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29053 (eval $ac_try) 2>&5
29054 ac_status=$?
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); }; } &&
29057 { ac_try='test -s conftest.$ac_objext'
29058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29059 (eval $ac_try) 2>&5
29060 ac_status=$?
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); }; }; then
29063 glibcxx_cv_func_strtold_use=yes
29064 else
29065 echo "$as_me: failed program was:" >&5
29066 sed 's/^/| /' conftest.$ac_ext >&5
29068 glibcxx_cv_func_strtold_use=no
29070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29071 ac_ext=c
29072 ac_cpp='$CPP $CPPFLAGS'
29073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29081 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29082 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29083 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29085 for ac_func in strtold
29087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29088 echo "$as_me:$LINENO: checking for $ac_func" >&5
29089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29090 if eval "test \"\${$as_ac_var+set}\" = set"; then
29091 echo $ECHO_N "(cached) $ECHO_C" >&6
29092 else
29093 if test x$gcc_no_link = xyes; then
29094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29096 { (exit 1); exit 1; }; }
29098 cat >conftest.$ac_ext <<_ACEOF
29099 /* confdefs.h. */
29100 _ACEOF
29101 cat confdefs.h >>conftest.$ac_ext
29102 cat >>conftest.$ac_ext <<_ACEOF
29103 /* end confdefs.h. */
29104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29106 #define $ac_func innocuous_$ac_func
29108 /* System header to define __stub macros and hopefully few prototypes,
29109 which can conflict with char $ac_func (); below.
29110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29111 <limits.h> exists even on freestanding compilers. */
29113 #ifdef __STDC__
29114 # include <limits.h>
29115 #else
29116 # include <assert.h>
29117 #endif
29119 #undef $ac_func
29121 /* Override any gcc2 internal prototype to avoid an error. */
29122 #ifdef __cplusplus
29123 extern "C"
29125 #endif
29126 /* We use char because int might match the return type of a gcc2
29127 builtin and then its argument prototype would still apply. */
29128 char $ac_func ();
29129 /* The GNU C library defines this for functions which it implements
29130 to always fail with ENOSYS. Some functions are actually named
29131 something starting with __ and the normal name is an alias. */
29132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29133 choke me
29134 #else
29135 char (*f) () = $ac_func;
29136 #endif
29137 #ifdef __cplusplus
29139 #endif
29142 main ()
29144 return f != $ac_func;
29146 return 0;
29148 _ACEOF
29149 rm -f conftest.$ac_objext conftest$ac_exeext
29150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29151 (eval $ac_link) 2>conftest.er1
29152 ac_status=$?
29153 grep -v '^ *+' conftest.er1 >conftest.err
29154 rm -f conftest.er1
29155 cat conftest.err >&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); } &&
29158 { ac_try='test -z "$ac_c_werror_flag"
29159 || test ! -s conftest.err'
29160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29161 (eval $ac_try) 2>&5
29162 ac_status=$?
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); }; } &&
29165 { ac_try='test -s conftest$ac_exeext'
29166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29167 (eval $ac_try) 2>&5
29168 ac_status=$?
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); }; }; then
29171 eval "$as_ac_var=yes"
29172 else
29173 echo "$as_me: failed program was:" >&5
29174 sed 's/^/| /' conftest.$ac_ext >&5
29176 eval "$as_ac_var=no"
29178 rm -f conftest.err conftest.$ac_objext \
29179 conftest$ac_exeext conftest.$ac_ext
29181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29183 if test `eval echo '${'$as_ac_var'}'` = yes; then
29184 cat >>confdefs.h <<_ACEOF
29185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29186 _ACEOF
29189 done
29197 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29198 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29199 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29200 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29201 echo $ECHO_N "(cached) $ECHO_C" >&6
29202 else
29206 ac_ext=cc
29207 ac_cpp='$CXXCPP $CPPFLAGS'
29208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29212 cat >conftest.$ac_ext <<_ACEOF
29213 /* confdefs.h. */
29214 _ACEOF
29215 cat confdefs.h >>conftest.$ac_ext
29216 cat >>conftest.$ac_ext <<_ACEOF
29217 /* end confdefs.h. */
29218 #include <stdlib.h>
29220 main ()
29222 strtof(0, 0);
29224 return 0;
29226 _ACEOF
29227 rm -f conftest.$ac_objext
29228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29229 (eval $ac_compile) 2>conftest.er1
29230 ac_status=$?
29231 grep -v '^ *+' conftest.er1 >conftest.err
29232 rm -f conftest.er1
29233 cat conftest.err >&5
29234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29235 (exit $ac_status); } &&
29236 { ac_try='test -z "$ac_cxx_werror_flag"
29237 || test ! -s conftest.err'
29238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29239 (eval $ac_try) 2>&5
29240 ac_status=$?
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); }; } &&
29243 { ac_try='test -s conftest.$ac_objext'
29244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245 (eval $ac_try) 2>&5
29246 ac_status=$?
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; }; then
29249 glibcxx_cv_func_strtof_use=yes
29250 else
29251 echo "$as_me: failed program was:" >&5
29252 sed 's/^/| /' conftest.$ac_ext >&5
29254 glibcxx_cv_func_strtof_use=no
29256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29257 ac_ext=c
29258 ac_cpp='$CPP $CPPFLAGS'
29259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29268 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29269 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29271 for ac_func in strtof
29273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29274 echo "$as_me:$LINENO: checking for $ac_func" >&5
29275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29276 if eval "test \"\${$as_ac_var+set}\" = set"; then
29277 echo $ECHO_N "(cached) $ECHO_C" >&6
29278 else
29279 if test x$gcc_no_link = xyes; then
29280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29282 { (exit 1); exit 1; }; }
29284 cat >conftest.$ac_ext <<_ACEOF
29285 /* confdefs.h. */
29286 _ACEOF
29287 cat confdefs.h >>conftest.$ac_ext
29288 cat >>conftest.$ac_ext <<_ACEOF
29289 /* end confdefs.h. */
29290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29292 #define $ac_func innocuous_$ac_func
29294 /* System header to define __stub macros and hopefully few prototypes,
29295 which can conflict with char $ac_func (); below.
29296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29297 <limits.h> exists even on freestanding compilers. */
29299 #ifdef __STDC__
29300 # include <limits.h>
29301 #else
29302 # include <assert.h>
29303 #endif
29305 #undef $ac_func
29307 /* Override any gcc2 internal prototype to avoid an error. */
29308 #ifdef __cplusplus
29309 extern "C"
29311 #endif
29312 /* We use char because int might match the return type of a gcc2
29313 builtin and then its argument prototype would still apply. */
29314 char $ac_func ();
29315 /* The GNU C library defines this for functions which it implements
29316 to always fail with ENOSYS. Some functions are actually named
29317 something starting with __ and the normal name is an alias. */
29318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29319 choke me
29320 #else
29321 char (*f) () = $ac_func;
29322 #endif
29323 #ifdef __cplusplus
29325 #endif
29328 main ()
29330 return f != $ac_func;
29332 return 0;
29334 _ACEOF
29335 rm -f conftest.$ac_objext conftest$ac_exeext
29336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29337 (eval $ac_link) 2>conftest.er1
29338 ac_status=$?
29339 grep -v '^ *+' conftest.er1 >conftest.err
29340 rm -f conftest.er1
29341 cat conftest.err >&5
29342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29343 (exit $ac_status); } &&
29344 { ac_try='test -z "$ac_c_werror_flag"
29345 || test ! -s conftest.err'
29346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29347 (eval $ac_try) 2>&5
29348 ac_status=$?
29349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29350 (exit $ac_status); }; } &&
29351 { ac_try='test -s conftest$ac_exeext'
29352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29353 (eval $ac_try) 2>&5
29354 ac_status=$?
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); }; }; then
29357 eval "$as_ac_var=yes"
29358 else
29359 echo "$as_me: failed program was:" >&5
29360 sed 's/^/| /' conftest.$ac_ext >&5
29362 eval "$as_ac_var=no"
29364 rm -f conftest.err conftest.$ac_objext \
29365 conftest$ac_exeext conftest.$ac_ext
29367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29369 if test `eval echo '${'$as_ac_var'}'` = yes; then
29370 cat >>confdefs.h <<_ACEOF
29371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29372 _ACEOF
29375 done
29383 CXXFLAGS="$ac_save_CXXFLAGS"
29386 # For showmanyc_helper().
29389 for ac_header in sys/ioctl.h sys/filio.h
29391 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29393 echo "$as_me:$LINENO: checking for $ac_header" >&5
29394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29396 echo $ECHO_N "(cached) $ECHO_C" >&6
29398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29399 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29400 else
29401 # Is the header compilable?
29402 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29403 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29404 cat >conftest.$ac_ext <<_ACEOF
29405 /* confdefs.h. */
29406 _ACEOF
29407 cat confdefs.h >>conftest.$ac_ext
29408 cat >>conftest.$ac_ext <<_ACEOF
29409 /* end confdefs.h. */
29410 $ac_includes_default
29411 #include <$ac_header>
29412 _ACEOF
29413 rm -f conftest.$ac_objext
29414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29415 (eval $ac_compile) 2>conftest.er1
29416 ac_status=$?
29417 grep -v '^ *+' conftest.er1 >conftest.err
29418 rm -f conftest.er1
29419 cat conftest.err >&5
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); } &&
29422 { ac_try='test -z "$ac_c_werror_flag"
29423 || test ! -s conftest.err'
29424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29425 (eval $ac_try) 2>&5
29426 ac_status=$?
29427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428 (exit $ac_status); }; } &&
29429 { ac_try='test -s conftest.$ac_objext'
29430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29431 (eval $ac_try) 2>&5
29432 ac_status=$?
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); }; }; then
29435 ac_header_compiler=yes
29436 else
29437 echo "$as_me: failed program was:" >&5
29438 sed 's/^/| /' conftest.$ac_ext >&5
29440 ac_header_compiler=no
29442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29443 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29444 echo "${ECHO_T}$ac_header_compiler" >&6
29446 # Is the header present?
29447 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29448 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29449 cat >conftest.$ac_ext <<_ACEOF
29450 /* confdefs.h. */
29451 _ACEOF
29452 cat confdefs.h >>conftest.$ac_ext
29453 cat >>conftest.$ac_ext <<_ACEOF
29454 /* end confdefs.h. */
29455 #include <$ac_header>
29456 _ACEOF
29457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29459 ac_status=$?
29460 grep -v '^ *+' conftest.er1 >conftest.err
29461 rm -f conftest.er1
29462 cat conftest.err >&5
29463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29464 (exit $ac_status); } >/dev/null; then
29465 if test -s conftest.err; then
29466 ac_cpp_err=$ac_c_preproc_warn_flag
29467 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29468 else
29469 ac_cpp_err=
29471 else
29472 ac_cpp_err=yes
29474 if test -z "$ac_cpp_err"; then
29475 ac_header_preproc=yes
29476 else
29477 echo "$as_me: failed program was:" >&5
29478 sed 's/^/| /' conftest.$ac_ext >&5
29480 ac_header_preproc=no
29482 rm -f conftest.err conftest.$ac_ext
29483 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29484 echo "${ECHO_T}$ac_header_preproc" >&6
29486 # So? What about this header?
29487 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29488 yes:no: )
29489 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29490 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29492 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29493 ac_header_preproc=yes
29495 no:yes:* )
29496 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29497 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29498 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29499 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29500 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29501 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29502 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29503 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29506 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29507 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29509 cat <<\_ASBOX
29510 ## ----------------------------------------- ##
29511 ## Report this to the package-unused lists. ##
29512 ## ----------------------------------------- ##
29513 _ASBOX
29515 sed "s/^/$as_me: WARNING: /" >&2
29517 esac
29518 echo "$as_me:$LINENO: checking for $ac_header" >&5
29519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29521 echo $ECHO_N "(cached) $ECHO_C" >&6
29522 else
29523 eval "$as_ac_Header=\$ac_header_preproc"
29525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29530 cat >>confdefs.h <<_ACEOF
29531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29532 _ACEOF
29536 done
29539 echo "$as_me:$LINENO: checking for poll" >&5
29540 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29541 if test "${glibcxx_cv_POLL+set}" = set; then
29542 echo $ECHO_N "(cached) $ECHO_C" >&6
29543 else
29545 if test x$gcc_no_link = xyes; then
29546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29548 { (exit 1); exit 1; }; }
29550 cat >conftest.$ac_ext <<_ACEOF
29551 /* confdefs.h. */
29552 _ACEOF
29553 cat confdefs.h >>conftest.$ac_ext
29554 cat >>conftest.$ac_ext <<_ACEOF
29555 /* end confdefs.h. */
29556 #include <poll.h>
29558 main ()
29560 struct pollfd pfd[1];
29561 pfd[0].events = POLLIN;
29562 poll(pfd, 1, 0);
29564 return 0;
29566 _ACEOF
29567 rm -f conftest.$ac_objext conftest$ac_exeext
29568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29569 (eval $ac_link) 2>conftest.er1
29570 ac_status=$?
29571 grep -v '^ *+' conftest.er1 >conftest.err
29572 rm -f conftest.er1
29573 cat conftest.err >&5
29574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29575 (exit $ac_status); } &&
29576 { ac_try='test -z "$ac_c_werror_flag"
29577 || test ! -s conftest.err'
29578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29579 (eval $ac_try) 2>&5
29580 ac_status=$?
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); }; } &&
29583 { ac_try='test -s conftest$ac_exeext'
29584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29585 (eval $ac_try) 2>&5
29586 ac_status=$?
29587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29588 (exit $ac_status); }; }; then
29589 glibcxx_cv_POLL=yes
29590 else
29591 echo "$as_me: failed program was:" >&5
29592 sed 's/^/| /' conftest.$ac_ext >&5
29594 glibcxx_cv_POLL=no
29596 rm -f conftest.err conftest.$ac_objext \
29597 conftest$ac_exeext conftest.$ac_ext
29601 if test $glibcxx_cv_POLL = yes; then
29603 cat >>confdefs.h <<\_ACEOF
29604 #define HAVE_POLL 1
29605 _ACEOF
29608 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29609 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29612 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29613 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29614 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29615 echo $ECHO_N "(cached) $ECHO_C" >&6
29616 else
29618 if test x$gcc_no_link = xyes; then
29619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29621 { (exit 1); exit 1; }; }
29623 cat >conftest.$ac_ext <<_ACEOF
29624 /* confdefs.h. */
29625 _ACEOF
29626 cat confdefs.h >>conftest.$ac_ext
29627 cat >>conftest.$ac_ext <<_ACEOF
29628 /* end confdefs.h. */
29629 #include <sys/stat.h>
29631 main ()
29633 struct stat buffer;
29634 fstat(0, &buffer);
29635 S_ISREG(buffer.st_mode);
29637 return 0;
29639 _ACEOF
29640 rm -f conftest.$ac_objext conftest$ac_exeext
29641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29642 (eval $ac_link) 2>conftest.er1
29643 ac_status=$?
29644 grep -v '^ *+' conftest.er1 >conftest.err
29645 rm -f conftest.er1
29646 cat conftest.err >&5
29647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29648 (exit $ac_status); } &&
29649 { ac_try='test -z "$ac_c_werror_flag"
29650 || test ! -s conftest.err'
29651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29652 (eval $ac_try) 2>&5
29653 ac_status=$?
29654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29655 (exit $ac_status); }; } &&
29656 { ac_try='test -s conftest$ac_exeext'
29657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29658 (eval $ac_try) 2>&5
29659 ac_status=$?
29660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661 (exit $ac_status); }; }; then
29662 glibcxx_cv_S_ISREG=yes
29663 else
29664 echo "$as_me: failed program was:" >&5
29665 sed 's/^/| /' conftest.$ac_ext >&5
29667 glibcxx_cv_S_ISREG=no
29669 rm -f conftest.err conftest.$ac_objext \
29670 conftest$ac_exeext conftest.$ac_ext
29674 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29675 echo $ECHO_N "(cached) $ECHO_C" >&6
29676 else
29678 if test x$gcc_no_link = xyes; then
29679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29681 { (exit 1); exit 1; }; }
29683 cat >conftest.$ac_ext <<_ACEOF
29684 /* confdefs.h. */
29685 _ACEOF
29686 cat confdefs.h >>conftest.$ac_ext
29687 cat >>conftest.$ac_ext <<_ACEOF
29688 /* end confdefs.h. */
29689 #include <sys/stat.h>
29691 main ()
29693 struct stat buffer;
29694 fstat(0, &buffer);
29695 S_IFREG & buffer.st_mode;
29697 return 0;
29699 _ACEOF
29700 rm -f conftest.$ac_objext conftest$ac_exeext
29701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29702 (eval $ac_link) 2>conftest.er1
29703 ac_status=$?
29704 grep -v '^ *+' conftest.er1 >conftest.err
29705 rm -f conftest.er1
29706 cat conftest.err >&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); } &&
29709 { ac_try='test -z "$ac_c_werror_flag"
29710 || test ! -s conftest.err'
29711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29712 (eval $ac_try) 2>&5
29713 ac_status=$?
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); }; } &&
29716 { ac_try='test -s conftest$ac_exeext'
29717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29718 (eval $ac_try) 2>&5
29719 ac_status=$?
29720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721 (exit $ac_status); }; }; then
29722 glibcxx_cv_S_IFREG=yes
29723 else
29724 echo "$as_me: failed program was:" >&5
29725 sed 's/^/| /' conftest.$ac_ext >&5
29727 glibcxx_cv_S_IFREG=no
29729 rm -f conftest.err conftest.$ac_objext \
29730 conftest$ac_exeext conftest.$ac_ext
29734 res=no
29735 if test $glibcxx_cv_S_ISREG = yes; then
29737 cat >>confdefs.h <<\_ACEOF
29738 #define HAVE_S_ISREG 1
29739 _ACEOF
29741 res=S_ISREG
29742 elif test $glibcxx_cv_S_IFREG = yes; then
29744 cat >>confdefs.h <<\_ACEOF
29745 #define HAVE_S_IFREG 1
29746 _ACEOF
29748 res=S_IFREG
29750 echo "$as_me:$LINENO: result: $res" >&5
29751 echo "${ECHO_T}$res" >&6
29754 # For xsputn_2().
29756 for ac_header in sys/uio.h
29758 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29760 echo "$as_me:$LINENO: checking for $ac_header" >&5
29761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29763 echo $ECHO_N "(cached) $ECHO_C" >&6
29765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29767 else
29768 # Is the header compilable?
29769 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29770 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29771 cat >conftest.$ac_ext <<_ACEOF
29772 /* confdefs.h. */
29773 _ACEOF
29774 cat confdefs.h >>conftest.$ac_ext
29775 cat >>conftest.$ac_ext <<_ACEOF
29776 /* end confdefs.h. */
29777 $ac_includes_default
29778 #include <$ac_header>
29779 _ACEOF
29780 rm -f conftest.$ac_objext
29781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29782 (eval $ac_compile) 2>conftest.er1
29783 ac_status=$?
29784 grep -v '^ *+' conftest.er1 >conftest.err
29785 rm -f conftest.er1
29786 cat conftest.err >&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); } &&
29789 { ac_try='test -z "$ac_c_werror_flag"
29790 || test ! -s conftest.err'
29791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29792 (eval $ac_try) 2>&5
29793 ac_status=$?
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); }; } &&
29796 { ac_try='test -s conftest.$ac_objext'
29797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29798 (eval $ac_try) 2>&5
29799 ac_status=$?
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); }; }; then
29802 ac_header_compiler=yes
29803 else
29804 echo "$as_me: failed program was:" >&5
29805 sed 's/^/| /' conftest.$ac_ext >&5
29807 ac_header_compiler=no
29809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29811 echo "${ECHO_T}$ac_header_compiler" >&6
29813 # Is the header present?
29814 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29816 cat >conftest.$ac_ext <<_ACEOF
29817 /* confdefs.h. */
29818 _ACEOF
29819 cat confdefs.h >>conftest.$ac_ext
29820 cat >>conftest.$ac_ext <<_ACEOF
29821 /* end confdefs.h. */
29822 #include <$ac_header>
29823 _ACEOF
29824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29825 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29826 ac_status=$?
29827 grep -v '^ *+' conftest.er1 >conftest.err
29828 rm -f conftest.er1
29829 cat conftest.err >&5
29830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29831 (exit $ac_status); } >/dev/null; then
29832 if test -s conftest.err; then
29833 ac_cpp_err=$ac_c_preproc_warn_flag
29834 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29835 else
29836 ac_cpp_err=
29838 else
29839 ac_cpp_err=yes
29841 if test -z "$ac_cpp_err"; then
29842 ac_header_preproc=yes
29843 else
29844 echo "$as_me: failed program was:" >&5
29845 sed 's/^/| /' conftest.$ac_ext >&5
29847 ac_header_preproc=no
29849 rm -f conftest.err conftest.$ac_ext
29850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29851 echo "${ECHO_T}$ac_header_preproc" >&6
29853 # So? What about this header?
29854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29855 yes:no: )
29856 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29857 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29859 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29860 ac_header_preproc=yes
29862 no:yes:* )
29863 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29864 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29865 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29866 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29867 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29868 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29869 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29870 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29872 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29873 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29874 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29876 cat <<\_ASBOX
29877 ## ----------------------------------------- ##
29878 ## Report this to the package-unused lists. ##
29879 ## ----------------------------------------- ##
29880 _ASBOX
29882 sed "s/^/$as_me: WARNING: /" >&2
29884 esac
29885 echo "$as_me:$LINENO: checking for $ac_header" >&5
29886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29888 echo $ECHO_N "(cached) $ECHO_C" >&6
29889 else
29890 eval "$as_ac_Header=\$ac_header_preproc"
29892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29897 cat >>confdefs.h <<_ACEOF
29898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29899 _ACEOF
29903 done
29906 echo "$as_me:$LINENO: checking for writev" >&5
29907 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29908 if test "${glibcxx_cv_WRITEV+set}" = set; then
29909 echo $ECHO_N "(cached) $ECHO_C" >&6
29910 else
29912 if test x$gcc_no_link = xyes; then
29913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29915 { (exit 1); exit 1; }; }
29917 cat >conftest.$ac_ext <<_ACEOF
29918 /* confdefs.h. */
29919 _ACEOF
29920 cat confdefs.h >>conftest.$ac_ext
29921 cat >>conftest.$ac_ext <<_ACEOF
29922 /* end confdefs.h. */
29923 #include <sys/uio.h>
29925 main ()
29927 struct iovec iov[2];
29928 writev(0, iov, 0);
29930 return 0;
29932 _ACEOF
29933 rm -f conftest.$ac_objext conftest$ac_exeext
29934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29935 (eval $ac_link) 2>conftest.er1
29936 ac_status=$?
29937 grep -v '^ *+' conftest.er1 >conftest.err
29938 rm -f conftest.er1
29939 cat conftest.err >&5
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); } &&
29942 { ac_try='test -z "$ac_c_werror_flag"
29943 || test ! -s conftest.err'
29944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29945 (eval $ac_try) 2>&5
29946 ac_status=$?
29947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29948 (exit $ac_status); }; } &&
29949 { ac_try='test -s conftest$ac_exeext'
29950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29951 (eval $ac_try) 2>&5
29952 ac_status=$?
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); }; }; then
29955 glibcxx_cv_WRITEV=yes
29956 else
29957 echo "$as_me: failed program was:" >&5
29958 sed 's/^/| /' conftest.$ac_ext >&5
29960 glibcxx_cv_WRITEV=no
29962 rm -f conftest.err conftest.$ac_objext \
29963 conftest$ac_exeext conftest.$ac_ext
29967 if test $glibcxx_cv_WRITEV = yes; then
29969 cat >>confdefs.h <<\_ACEOF
29970 #define HAVE_WRITEV 1
29971 _ACEOF
29974 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29975 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29978 # For the __streamoff_base_type typedef.
29980 echo "$as_me:$LINENO: checking for int64_t" >&5
29981 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29982 if test "${glibcxx_cv_INT64_T+set}" = set; then
29983 echo $ECHO_N "(cached) $ECHO_C" >&6
29984 else
29986 cat >conftest.$ac_ext <<_ACEOF
29987 /* confdefs.h. */
29988 _ACEOF
29989 cat confdefs.h >>conftest.$ac_ext
29990 cat >>conftest.$ac_ext <<_ACEOF
29991 /* end confdefs.h. */
29992 #include <stdint.h>
29994 main ()
29996 int64_t var;
29998 return 0;
30000 _ACEOF
30001 rm -f conftest.$ac_objext
30002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30003 (eval $ac_compile) 2>conftest.er1
30004 ac_status=$?
30005 grep -v '^ *+' conftest.er1 >conftest.err
30006 rm -f conftest.er1
30007 cat conftest.err >&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); } &&
30010 { ac_try='test -z "$ac_c_werror_flag"
30011 || test ! -s conftest.err'
30012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30013 (eval $ac_try) 2>&5
30014 ac_status=$?
30015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30016 (exit $ac_status); }; } &&
30017 { ac_try='test -s conftest.$ac_objext'
30018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30019 (eval $ac_try) 2>&5
30020 ac_status=$?
30021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30022 (exit $ac_status); }; }; then
30023 glibcxx_cv_INT64_T=yes
30024 else
30025 echo "$as_me: failed program was:" >&5
30026 sed 's/^/| /' conftest.$ac_ext >&5
30028 glibcxx_cv_INT64_T=no
30030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30034 if test $glibcxx_cv_INT64_T = yes; then
30036 cat >>confdefs.h <<\_ACEOF
30037 #define HAVE_INT64_T 1
30038 _ACEOF
30041 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
30042 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
30045 # For LFS support.
30049 ac_ext=cc
30050 ac_cpp='$CXXCPP $CPPFLAGS'
30051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30055 ac_save_CXXFLAGS="$CXXFLAGS"
30056 CXXFLAGS="$CXXFLAGS -fno-exceptions"
30057 echo "$as_me:$LINENO: checking for LFS support" >&5
30058 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
30059 if test "${glibcxx_cv_LFS+set}" = set; then
30060 echo $ECHO_N "(cached) $ECHO_C" >&6
30061 else
30063 if test x$gcc_no_link = xyes; then
30064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30066 { (exit 1); exit 1; }; }
30068 cat >conftest.$ac_ext <<_ACEOF
30069 /* confdefs.h. */
30070 _ACEOF
30071 cat confdefs.h >>conftest.$ac_ext
30072 cat >>conftest.$ac_ext <<_ACEOF
30073 /* end confdefs.h. */
30074 #include <unistd.h>
30075 #include <stdio.h>
30076 #include <sys/stat.h>
30079 main ()
30081 FILE* fp;
30082 fopen64("t", "w");
30083 fseeko64(fp, 0, SEEK_CUR);
30084 ftello64(fp);
30085 lseek64(1, 0, SEEK_CUR);
30086 struct stat64 buf;
30087 fstat64(1, &buf);
30089 return 0;
30091 _ACEOF
30092 rm -f conftest.$ac_objext conftest$ac_exeext
30093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30094 (eval $ac_link) 2>conftest.er1
30095 ac_status=$?
30096 grep -v '^ *+' conftest.er1 >conftest.err
30097 rm -f conftest.er1
30098 cat conftest.err >&5
30099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100 (exit $ac_status); } &&
30101 { ac_try='test -z "$ac_cxx_werror_flag"
30102 || test ! -s conftest.err'
30103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30104 (eval $ac_try) 2>&5
30105 ac_status=$?
30106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107 (exit $ac_status); }; } &&
30108 { ac_try='test -s conftest$ac_exeext'
30109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30110 (eval $ac_try) 2>&5
30111 ac_status=$?
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); }; }; then
30114 glibcxx_cv_LFS=yes
30115 else
30116 echo "$as_me: failed program was:" >&5
30117 sed 's/^/| /' conftest.$ac_ext >&5
30119 glibcxx_cv_LFS=no
30121 rm -f conftest.err conftest.$ac_objext \
30122 conftest$ac_exeext conftest.$ac_ext
30126 if test $glibcxx_cv_LFS = yes; then
30128 cat >>confdefs.h <<\_ACEOF
30129 #define _GLIBCXX_USE_LFS 1
30130 _ACEOF
30133 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
30134 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
30135 CXXFLAGS="$ac_save_CXXFLAGS"
30136 ac_ext=c
30137 ac_cpp='$CPP $CPPFLAGS'
30138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30144 # For C99 support to TR1.
30149 ac_ext=cc
30150 ac_cpp='$CXXCPP $CPPFLAGS'
30151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30156 # Check for the existence of <complex.h> complex math functions used
30157 # by tr1/complex.
30159 for ac_header in complex.h
30161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30163 echo "$as_me:$LINENO: checking for $ac_header" >&5
30164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30166 echo $ECHO_N "(cached) $ECHO_C" >&6
30168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30170 else
30171 # Is the header compilable?
30172 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30173 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30174 cat >conftest.$ac_ext <<_ACEOF
30175 /* confdefs.h. */
30176 _ACEOF
30177 cat confdefs.h >>conftest.$ac_ext
30178 cat >>conftest.$ac_ext <<_ACEOF
30179 /* end confdefs.h. */
30180 $ac_includes_default
30181 #include <$ac_header>
30182 _ACEOF
30183 rm -f conftest.$ac_objext
30184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30185 (eval $ac_compile) 2>conftest.er1
30186 ac_status=$?
30187 grep -v '^ *+' conftest.er1 >conftest.err
30188 rm -f conftest.er1
30189 cat conftest.err >&5
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); } &&
30192 { ac_try='test -z "$ac_cxx_werror_flag"
30193 || test ! -s conftest.err'
30194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30195 (eval $ac_try) 2>&5
30196 ac_status=$?
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); }; } &&
30199 { ac_try='test -s conftest.$ac_objext'
30200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30201 (eval $ac_try) 2>&5
30202 ac_status=$?
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); }; }; then
30205 ac_header_compiler=yes
30206 else
30207 echo "$as_me: failed program was:" >&5
30208 sed 's/^/| /' conftest.$ac_ext >&5
30210 ac_header_compiler=no
30212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30214 echo "${ECHO_T}$ac_header_compiler" >&6
30216 # Is the header present?
30217 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30218 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30219 cat >conftest.$ac_ext <<_ACEOF
30220 /* confdefs.h. */
30221 _ACEOF
30222 cat confdefs.h >>conftest.$ac_ext
30223 cat >>conftest.$ac_ext <<_ACEOF
30224 /* end confdefs.h. */
30225 #include <$ac_header>
30226 _ACEOF
30227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30229 ac_status=$?
30230 grep -v '^ *+' conftest.er1 >conftest.err
30231 rm -f conftest.er1
30232 cat conftest.err >&5
30233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30234 (exit $ac_status); } >/dev/null; then
30235 if test -s conftest.err; then
30236 ac_cpp_err=$ac_cxx_preproc_warn_flag
30237 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30238 else
30239 ac_cpp_err=
30241 else
30242 ac_cpp_err=yes
30244 if test -z "$ac_cpp_err"; then
30245 ac_header_preproc=yes
30246 else
30247 echo "$as_me: failed program was:" >&5
30248 sed 's/^/| /' conftest.$ac_ext >&5
30250 ac_header_preproc=no
30252 rm -f conftest.err conftest.$ac_ext
30253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30254 echo "${ECHO_T}$ac_header_preproc" >&6
30256 # So? What about this header?
30257 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30258 yes:no: )
30259 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30262 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30263 ac_header_preproc=yes
30265 no:yes:* )
30266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30270 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30271 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30272 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30273 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30275 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30276 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30277 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30279 cat <<\_ASBOX
30280 ## ----------------------------------------- ##
30281 ## Report this to the package-unused lists. ##
30282 ## ----------------------------------------- ##
30283 _ASBOX
30285 sed "s/^/$as_me: WARNING: /" >&2
30287 esac
30288 echo "$as_me:$LINENO: checking for $ac_header" >&5
30289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30291 echo $ECHO_N "(cached) $ECHO_C" >&6
30292 else
30293 eval "$as_ac_Header=\$ac_header_preproc"
30295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30300 cat >>confdefs.h <<_ACEOF
30301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30302 _ACEOF
30303 ac_has_complex_h=yes
30304 else
30305 ac_has_complex_h=no
30308 done
30310 ac_c99_complex_tr1=no;
30311 if test x"$ac_has_complex_h" = x"yes"; then
30312 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
30313 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
30314 cat >conftest.$ac_ext <<_ACEOF
30315 /* confdefs.h. */
30316 _ACEOF
30317 cat confdefs.h >>conftest.$ac_ext
30318 cat >>conftest.$ac_ext <<_ACEOF
30319 /* end confdefs.h. */
30320 #include <complex.h>
30322 main ()
30324 typedef __complex__ float float_type; float_type tmpf;
30325 cacosf(tmpf);
30326 casinf(tmpf);
30327 catanf(tmpf);
30328 cacoshf(tmpf);
30329 casinhf(tmpf);
30330 catanhf(tmpf);
30331 typedef __complex__ double double_type; double_type tmpd;
30332 cacos(tmpd);
30333 casin(tmpd);
30334 catan(tmpd);
30335 cacosh(tmpd);
30336 casinh(tmpd);
30337 catanh(tmpd);
30338 typedef __complex__ long double ld_type; ld_type tmpld;
30339 cacosl(tmpld);
30340 casinl(tmpld);
30341 catanl(tmpld);
30342 cacoshl(tmpld);
30343 casinhl(tmpld);
30344 catanhl(tmpld);
30347 return 0;
30349 _ACEOF
30350 rm -f conftest.$ac_objext
30351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30352 (eval $ac_compile) 2>conftest.er1
30353 ac_status=$?
30354 grep -v '^ *+' conftest.er1 >conftest.err
30355 rm -f conftest.er1
30356 cat conftest.err >&5
30357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30358 (exit $ac_status); } &&
30359 { ac_try='test -z "$ac_cxx_werror_flag"
30360 || test ! -s conftest.err'
30361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30362 (eval $ac_try) 2>&5
30363 ac_status=$?
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); }; } &&
30366 { ac_try='test -s conftest.$ac_objext'
30367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30368 (eval $ac_try) 2>&5
30369 ac_status=$?
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); }; }; then
30372 ac_c99_complex_tr1=yes
30373 else
30374 echo "$as_me: failed program was:" >&5
30375 sed 's/^/| /' conftest.$ac_ext >&5
30377 ac_c99_complex_tr1=no
30379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30381 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30382 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30383 if test x"$ac_c99_complex_tr1" = x"yes"; then
30385 cat >>confdefs.h <<\_ACEOF
30386 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30387 _ACEOF
30391 # Check for the existence of <ctype.h> functions.
30392 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30393 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30394 if test "${ac_c99_ctype_tr1+set}" = set; then
30395 echo $ECHO_N "(cached) $ECHO_C" >&6
30396 else
30398 cat >conftest.$ac_ext <<_ACEOF
30399 /* confdefs.h. */
30400 _ACEOF
30401 cat confdefs.h >>conftest.$ac_ext
30402 cat >>conftest.$ac_ext <<_ACEOF
30403 /* end confdefs.h. */
30404 #include <ctype.h>
30406 main ()
30408 int ch;
30409 int ret;
30410 ret = isblank(ch);
30413 return 0;
30415 _ACEOF
30416 rm -f conftest.$ac_objext
30417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30418 (eval $ac_compile) 2>conftest.er1
30419 ac_status=$?
30420 grep -v '^ *+' conftest.er1 >conftest.err
30421 rm -f conftest.er1
30422 cat conftest.err >&5
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); } &&
30425 { ac_try='test -z "$ac_cxx_werror_flag"
30426 || test ! -s conftest.err'
30427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30428 (eval $ac_try) 2>&5
30429 ac_status=$?
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); }; } &&
30432 { ac_try='test -s conftest.$ac_objext'
30433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30434 (eval $ac_try) 2>&5
30435 ac_status=$?
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); }; }; then
30438 ac_c99_ctype_tr1=yes
30439 else
30440 echo "$as_me: failed program was:" >&5
30441 sed 's/^/| /' conftest.$ac_ext >&5
30443 ac_c99_ctype_tr1=no
30445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30449 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30450 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30451 if test x"$ac_c99_ctype_tr1" = x"yes"; then
30453 cat >>confdefs.h <<\_ACEOF
30454 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
30455 _ACEOF
30459 # Check for the existence of <fenv.h> functions.
30461 for ac_header in fenv.h
30463 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30465 echo "$as_me:$LINENO: checking for $ac_header" >&5
30466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30468 echo $ECHO_N "(cached) $ECHO_C" >&6
30470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30472 else
30473 # Is the header compilable?
30474 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30475 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30476 cat >conftest.$ac_ext <<_ACEOF
30477 /* confdefs.h. */
30478 _ACEOF
30479 cat confdefs.h >>conftest.$ac_ext
30480 cat >>conftest.$ac_ext <<_ACEOF
30481 /* end confdefs.h. */
30482 $ac_includes_default
30483 #include <$ac_header>
30484 _ACEOF
30485 rm -f conftest.$ac_objext
30486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30487 (eval $ac_compile) 2>conftest.er1
30488 ac_status=$?
30489 grep -v '^ *+' conftest.er1 >conftest.err
30490 rm -f conftest.er1
30491 cat conftest.err >&5
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); } &&
30494 { ac_try='test -z "$ac_cxx_werror_flag"
30495 || test ! -s conftest.err'
30496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30497 (eval $ac_try) 2>&5
30498 ac_status=$?
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); }; } &&
30501 { ac_try='test -s conftest.$ac_objext'
30502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30503 (eval $ac_try) 2>&5
30504 ac_status=$?
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); }; }; then
30507 ac_header_compiler=yes
30508 else
30509 echo "$as_me: failed program was:" >&5
30510 sed 's/^/| /' conftest.$ac_ext >&5
30512 ac_header_compiler=no
30514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30516 echo "${ECHO_T}$ac_header_compiler" >&6
30518 # Is the header present?
30519 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30520 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30521 cat >conftest.$ac_ext <<_ACEOF
30522 /* confdefs.h. */
30523 _ACEOF
30524 cat confdefs.h >>conftest.$ac_ext
30525 cat >>conftest.$ac_ext <<_ACEOF
30526 /* end confdefs.h. */
30527 #include <$ac_header>
30528 _ACEOF
30529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30530 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30531 ac_status=$?
30532 grep -v '^ *+' conftest.er1 >conftest.err
30533 rm -f conftest.er1
30534 cat conftest.err >&5
30535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 (exit $ac_status); } >/dev/null; then
30537 if test -s conftest.err; then
30538 ac_cpp_err=$ac_cxx_preproc_warn_flag
30539 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30540 else
30541 ac_cpp_err=
30543 else
30544 ac_cpp_err=yes
30546 if test -z "$ac_cpp_err"; then
30547 ac_header_preproc=yes
30548 else
30549 echo "$as_me: failed program was:" >&5
30550 sed 's/^/| /' conftest.$ac_ext >&5
30552 ac_header_preproc=no
30554 rm -f conftest.err conftest.$ac_ext
30555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30556 echo "${ECHO_T}$ac_header_preproc" >&6
30558 # So? What about this header?
30559 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30560 yes:no: )
30561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30565 ac_header_preproc=yes
30567 no:yes:* )
30568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30581 cat <<\_ASBOX
30582 ## ----------------------------------------- ##
30583 ## Report this to the package-unused lists. ##
30584 ## ----------------------------------------- ##
30585 _ASBOX
30587 sed "s/^/$as_me: WARNING: /" >&2
30589 esac
30590 echo "$as_me:$LINENO: checking for $ac_header" >&5
30591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30593 echo $ECHO_N "(cached) $ECHO_C" >&6
30594 else
30595 eval "$as_ac_Header=\$ac_header_preproc"
30597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30602 cat >>confdefs.h <<_ACEOF
30603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30604 _ACEOF
30605 ac_has_fenv_h=yes
30606 else
30607 ac_has_fenv_h=no
30610 done
30612 ac_c99_fenv_tr1=no;
30613 if test x"$ac_has_fenv_h" = x"yes"; then
30614 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30615 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30616 cat >conftest.$ac_ext <<_ACEOF
30617 /* confdefs.h. */
30618 _ACEOF
30619 cat confdefs.h >>conftest.$ac_ext
30620 cat >>conftest.$ac_ext <<_ACEOF
30621 /* end confdefs.h. */
30622 #include <fenv.h>
30624 main ()
30626 int except, mode;
30627 fexcept_t* pflag;
30628 fenv_t* penv;
30629 int ret;
30630 ret = feclearexcept(except);
30631 ret = fegetexceptflag(pflag, except);
30632 ret = feraiseexcept(except);
30633 ret = fesetexceptflag(pflag, except);
30634 ret = fetestexcept(except);
30635 ret = fegetround();
30636 ret = fesetround(mode);
30637 ret = fegetenv(penv);
30638 ret = feholdexcept(penv);
30639 ret = fesetenv(penv);
30640 ret = feupdateenv(penv);
30643 return 0;
30645 _ACEOF
30646 rm -f conftest.$ac_objext
30647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30648 (eval $ac_compile) 2>conftest.er1
30649 ac_status=$?
30650 grep -v '^ *+' conftest.er1 >conftest.err
30651 rm -f conftest.er1
30652 cat conftest.err >&5
30653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30654 (exit $ac_status); } &&
30655 { ac_try='test -z "$ac_cxx_werror_flag"
30656 || test ! -s conftest.err'
30657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30658 (eval $ac_try) 2>&5
30659 ac_status=$?
30660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30661 (exit $ac_status); }; } &&
30662 { ac_try='test -s conftest.$ac_objext'
30663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30664 (eval $ac_try) 2>&5
30665 ac_status=$?
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); }; }; then
30668 ac_c99_fenv_tr1=yes
30669 else
30670 echo "$as_me: failed program was:" >&5
30671 sed 's/^/| /' conftest.$ac_ext >&5
30673 ac_c99_fenv_tr1=no
30675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30677 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30678 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30679 if test x"$ac_c99_fenv_tr1" = x"yes"; then
30681 cat >>confdefs.h <<\_ACEOF
30682 #define _GLIBCXX_USE_C99_FENV_TR1 1
30683 _ACEOF
30687 # Check for the existence of <stdint.h> types.
30688 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30689 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30690 if test "${ac_c99_stdint_tr1+set}" = set; then
30691 echo $ECHO_N "(cached) $ECHO_C" >&6
30692 else
30694 cat >conftest.$ac_ext <<_ACEOF
30695 /* confdefs.h. */
30696 _ACEOF
30697 cat confdefs.h >>conftest.$ac_ext
30698 cat >>conftest.$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30700 #include <stdint.h>
30702 main ()
30704 typedef int8_t my_int8_t;
30705 typedef int16_t my_int16_t;
30706 typedef int32_t my_int32_t;
30707 typedef int64_t my_int64_t;
30708 typedef int_fast8_t my_int_fast8_t;
30709 typedef int_fast16_t my_int_fast16_t;
30710 typedef int_fast32_t my_int_fast32_t;
30711 typedef int_fast64_t my_int_fast64_t;
30712 typedef int_least8_t my_int_least8_t;
30713 typedef int_least16_t my_int_least16_t;
30714 typedef int_least32_t my_int_least32_t;
30715 typedef int_least64_t my_int_least64_t;
30716 typedef intmax_t my_intmax_t;
30717 typedef intptr_t my_intptr_t;
30718 typedef uint8_t my_uint8_t;
30719 typedef uint16_t my_uint16_t;
30720 typedef uint32_t my_uint32_t;
30721 typedef uint64_t my_uint64_t;
30722 typedef uint_fast8_t my_uint_fast8_t;
30723 typedef uint_fast16_t my_uint_fast16_t;
30724 typedef uint_fast32_t my_uint_fast32_t;
30725 typedef uint_fast64_t my_uint_fast64_t;
30726 typedef uint_least8_t my_uint_least8_t;
30727 typedef uint_least16_t my_uint_least16_t;
30728 typedef uint_least32_t my_uint_least32_t;
30729 typedef uint_least64_t my_uint_least64_t;
30730 typedef uintmax_t my_uintmax_t;
30731 typedef uintptr_t my_uintptr_t;
30734 return 0;
30736 _ACEOF
30737 rm -f conftest.$ac_objext
30738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30739 (eval $ac_compile) 2>conftest.er1
30740 ac_status=$?
30741 grep -v '^ *+' conftest.er1 >conftest.err
30742 rm -f conftest.er1
30743 cat conftest.err >&5
30744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30745 (exit $ac_status); } &&
30746 { ac_try='test -z "$ac_cxx_werror_flag"
30747 || test ! -s conftest.err'
30748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30749 (eval $ac_try) 2>&5
30750 ac_status=$?
30751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30752 (exit $ac_status); }; } &&
30753 { ac_try='test -s conftest.$ac_objext'
30754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30755 (eval $ac_try) 2>&5
30756 ac_status=$?
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); }; }; then
30759 ac_c99_stdint_tr1=yes
30760 else
30761 echo "$as_me: failed program was:" >&5
30762 sed 's/^/| /' conftest.$ac_ext >&5
30764 ac_c99_stdint_tr1=no
30766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30770 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30771 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30772 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30774 cat >>confdefs.h <<\_ACEOF
30775 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30776 _ACEOF
30780 # Check for the existence of <math.h> functions.
30781 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30782 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30783 if test "${ac_c99_math_tr1+set}" = set; then
30784 echo $ECHO_N "(cached) $ECHO_C" >&6
30785 else
30787 cat >conftest.$ac_ext <<_ACEOF
30788 /* confdefs.h. */
30789 _ACEOF
30790 cat confdefs.h >>conftest.$ac_ext
30791 cat >>conftest.$ac_ext <<_ACEOF
30792 /* end confdefs.h. */
30793 #include <math.h>
30795 main ()
30797 typedef double_t my_double_t;
30798 typedef float_t my_float_t;
30799 acosh(0.0);
30800 acoshf(0.0f);
30801 acoshl(0.0l);
30802 asinh(0.0);
30803 asinhf(0.0f);
30804 asinhl(0.0l);
30805 atanh(0.0);
30806 atanhf(0.0f);
30807 atanhl(0.0l);
30808 cbrt(0.0);
30809 cbrtf(0.0f);
30810 cbrtl(0.0l);
30811 copysign(0.0, 0.0);
30812 copysignf(0.0f, 0.0f);
30813 copysignl(0.0l, 0.0l);
30814 erf(0.0);
30815 erff(0.0f);
30816 erfl(0.0l);
30817 erfc(0.0);
30818 erfcf(0.0f);
30819 erfcl(0.0l);
30820 exp2(0.0);
30821 exp2f(0.0f);
30822 exp2l(0.0l);
30823 expm1(0.0);
30824 expm1f(0.0f);
30825 expm1l(0.0l);
30826 fdim(0.0, 0.0);
30827 fdimf(0.0f, 0.0f);
30828 fdiml(0.0l, 0.0l);
30829 fma(0.0, 0.0, 0.0);
30830 fmaf(0.0f, 0.0f, 0.0f);
30831 fmal(0.0l, 0.0l, 0.0l);
30832 fmax(0.0, 0.0);
30833 fmaxf(0.0f, 0.0f);
30834 fmaxl(0.0l, 0.0l);
30835 fmin(0.0, 0.0);
30836 fminf(0.0f, 0.0f);
30837 fminl(0.0l, 0.0l);
30838 hypot(0.0, 0.0);
30839 hypotf(0.0f, 0.0f);
30840 hypotl(0.0l, 0.0l);
30841 ilogb(0.0);
30842 ilogbf(0.0f);
30843 ilogbl(0.0l);
30844 lgamma(0.0);
30845 lgammaf(0.0f);
30846 lgammal(0.0l);
30847 llrint(0.0);
30848 llrintf(0.0f);
30849 llrintl(0.0l);
30850 llround(0.0);
30851 llroundf(0.0f);
30852 llroundl(0.0l);
30853 log1p(0.0);
30854 log1pf(0.0f);
30855 log1pl(0.0l);
30856 log2(0.0);
30857 log2f(0.0f);
30858 log2l(0.0l);
30859 logb(0.0);
30860 logbf(0.0f);
30861 logbl(0.0l);
30862 lrint(0.0);
30863 lrintf(0.0f);
30864 lrintl(0.0l);
30865 lround(0.0);
30866 lroundf(0.0f);
30867 lroundl(0.0l);
30868 nan(0);
30869 nanf(0);
30870 nanl(0);
30871 nearbyint(0.0);
30872 nearbyintf(0.0f);
30873 nearbyintl(0.0l);
30874 nextafter(0.0, 0.0);
30875 nextafterf(0.0f, 0.0f);
30876 nextafterl(0.0l, 0.0l);
30877 nexttoward(0.0, 0.0);
30878 nexttowardf(0.0f, 0.0f);
30879 nexttowardl(0.0l, 0.0l);
30880 remainder(0.0, 0.0);
30881 remainderf(0.0f, 0.0f);
30882 remainderl(0.0l, 0.0l);
30883 remquo(0.0, 0.0, 0);
30884 remquo(0.0f, 0.0f, 0);
30885 remquo(0.0l, 0.0l, 0);
30886 rint(0.0);
30887 rintf(0.0f);
30888 rintl(0.0l);
30889 round(0.0);
30890 roundf(0.0f);
30891 roundl(0.0l);
30892 scalbln(0.0, 0l);
30893 scalblnf(0.0f, 0l);
30894 scalblnl(0.0l, 0l);
30895 scalbn(0.0, 0);
30896 scalbnf(0.0f, 0);
30897 scalbnl(0.0l, 0);
30898 tgamma(0.0);
30899 tgammaf(0.0f);
30900 tgammal(0.0l);
30901 trunc(0.0);
30902 truncf(0.0f);
30903 truncl(0.0l);
30906 return 0;
30908 _ACEOF
30909 rm -f conftest.$ac_objext
30910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30911 (eval $ac_compile) 2>conftest.er1
30912 ac_status=$?
30913 grep -v '^ *+' conftest.er1 >conftest.err
30914 rm -f conftest.er1
30915 cat conftest.err >&5
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); } &&
30918 { ac_try='test -z "$ac_cxx_werror_flag"
30919 || test ! -s conftest.err'
30920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30921 (eval $ac_try) 2>&5
30922 ac_status=$?
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); }; } &&
30925 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
30931 ac_c99_math_tr1=yes
30932 else
30933 echo "$as_me: failed program was:" >&5
30934 sed 's/^/| /' conftest.$ac_ext >&5
30936 ac_c99_math_tr1=no
30938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30942 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
30943 echo "${ECHO_T}$ac_c99_math_tr1" >&6
30944 if test x"$ac_c99_math_tr1" = x"yes"; then
30946 cat >>confdefs.h <<\_ACEOF
30947 #define _GLIBCXX_USE_C99_MATH_TR1 1
30948 _ACEOF
30952 # Check for the existence of <inttypes.h> functions (NB: doesn't make
30953 # sense if the previous check fails, per C99, 7.8/1).
30954 ac_c99_inttypes_tr1=no;
30955 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30956 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30957 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30958 cat >conftest.$ac_ext <<_ACEOF
30959 /* confdefs.h. */
30960 _ACEOF
30961 cat confdefs.h >>conftest.$ac_ext
30962 cat >>conftest.$ac_ext <<_ACEOF
30963 /* end confdefs.h. */
30964 #include <inttypes.h>
30966 main ()
30968 intmax_t i, numer, denom, base;
30969 const char* s;
30970 char** endptr;
30971 intmax_t ret = imaxabs(i);
30972 imaxdiv_t dret = imaxdiv(numer, denom);
30973 ret = strtoimax(s, endptr, base);
30974 uintmax_t uret = strtoumax(s, endptr, base);
30977 return 0;
30979 _ACEOF
30980 rm -f conftest.$ac_objext
30981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30982 (eval $ac_compile) 2>conftest.er1
30983 ac_status=$?
30984 grep -v '^ *+' conftest.er1 >conftest.err
30985 rm -f conftest.er1
30986 cat conftest.err >&5
30987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988 (exit $ac_status); } &&
30989 { ac_try='test -z "$ac_cxx_werror_flag"
30990 || test ! -s conftest.err'
30991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30992 (eval $ac_try) 2>&5
30993 ac_status=$?
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); }; } &&
30996 { ac_try='test -s conftest.$ac_objext'
30997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30998 (eval $ac_try) 2>&5
30999 ac_status=$?
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); }; }; then
31002 ac_c99_inttypes_tr1=yes
31003 else
31004 echo "$as_me: failed program was:" >&5
31005 sed 's/^/| /' conftest.$ac_ext >&5
31007 ac_c99_inttypes_tr1=no
31009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31011 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
31012 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
31013 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
31015 cat >>confdefs.h <<\_ACEOF
31016 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
31017 _ACEOF
31021 # Check for the existence of the <stdbool.h> header.
31023 for ac_header in stdbool.h
31025 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31027 echo "$as_me:$LINENO: checking for $ac_header" >&5
31028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31030 echo $ECHO_N "(cached) $ECHO_C" >&6
31032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31034 else
31035 # Is the header compilable?
31036 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31037 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31038 cat >conftest.$ac_ext <<_ACEOF
31039 /* confdefs.h. */
31040 _ACEOF
31041 cat confdefs.h >>conftest.$ac_ext
31042 cat >>conftest.$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31044 $ac_includes_default
31045 #include <$ac_header>
31046 _ACEOF
31047 rm -f conftest.$ac_objext
31048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31049 (eval $ac_compile) 2>conftest.er1
31050 ac_status=$?
31051 grep -v '^ *+' conftest.er1 >conftest.err
31052 rm -f conftest.er1
31053 cat conftest.err >&5
31054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31055 (exit $ac_status); } &&
31056 { ac_try='test -z "$ac_cxx_werror_flag"
31057 || test ! -s conftest.err'
31058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31059 (eval $ac_try) 2>&5
31060 ac_status=$?
31061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062 (exit $ac_status); }; } &&
31063 { ac_try='test -s conftest.$ac_objext'
31064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31065 (eval $ac_try) 2>&5
31066 ac_status=$?
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); }; }; then
31069 ac_header_compiler=yes
31070 else
31071 echo "$as_me: failed program was:" >&5
31072 sed 's/^/| /' conftest.$ac_ext >&5
31074 ac_header_compiler=no
31076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31077 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31078 echo "${ECHO_T}$ac_header_compiler" >&6
31080 # Is the header present?
31081 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31083 cat >conftest.$ac_ext <<_ACEOF
31084 /* confdefs.h. */
31085 _ACEOF
31086 cat confdefs.h >>conftest.$ac_ext
31087 cat >>conftest.$ac_ext <<_ACEOF
31088 /* end confdefs.h. */
31089 #include <$ac_header>
31090 _ACEOF
31091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31093 ac_status=$?
31094 grep -v '^ *+' conftest.er1 >conftest.err
31095 rm -f conftest.er1
31096 cat conftest.err >&5
31097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31098 (exit $ac_status); } >/dev/null; then
31099 if test -s conftest.err; then
31100 ac_cpp_err=$ac_cxx_preproc_warn_flag
31101 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31102 else
31103 ac_cpp_err=
31105 else
31106 ac_cpp_err=yes
31108 if test -z "$ac_cpp_err"; then
31109 ac_header_preproc=yes
31110 else
31111 echo "$as_me: failed program was:" >&5
31112 sed 's/^/| /' conftest.$ac_ext >&5
31114 ac_header_preproc=no
31116 rm -f conftest.err conftest.$ac_ext
31117 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31118 echo "${ECHO_T}$ac_header_preproc" >&6
31120 # So? What about this header?
31121 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31122 yes:no: )
31123 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31124 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31126 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31127 ac_header_preproc=yes
31129 no:yes:* )
31130 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31132 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31134 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31135 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31136 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31137 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31140 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31141 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31143 cat <<\_ASBOX
31144 ## ----------------------------------------- ##
31145 ## Report this to the package-unused lists. ##
31146 ## ----------------------------------------- ##
31147 _ASBOX
31149 sed "s/^/$as_me: WARNING: /" >&2
31151 esac
31152 echo "$as_me:$LINENO: checking for $ac_header" >&5
31153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31155 echo $ECHO_N "(cached) $ECHO_C" >&6
31156 else
31157 eval "$as_ac_Header=\$ac_header_preproc"
31159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31164 cat >>confdefs.h <<_ACEOF
31165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31166 _ACEOF
31170 done
31173 ac_ext=c
31174 ac_cpp='$CPP $CPPFLAGS'
31175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31181 # For dev/random and dev/urandom for TR1.
31184 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
31185 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
31186 if test "${ac_random_tr1+set}" = set; then
31187 echo $ECHO_N "(cached) $ECHO_C" >&6
31188 else
31190 if test "$cross_compiling" = yes; then
31191 ac_random_tr1=no
31192 else
31193 cat >conftest.$ac_ext <<_ACEOF
31194 /* confdefs.h. */
31195 _ACEOF
31196 cat confdefs.h >>conftest.$ac_ext
31197 cat >>conftest.$ac_ext <<_ACEOF
31198 /* end confdefs.h. */
31199 #include <stdio.h>
31200 int main()
31202 return !(fopen("/dev/random", "r")
31203 && fopen("/dev/urandom", "r"));
31206 _ACEOF
31207 rm -f conftest$ac_exeext
31208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31209 (eval $ac_link) 2>&5
31210 ac_status=$?
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31214 (eval $ac_try) 2>&5
31215 ac_status=$?
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); }; }; then
31218 ac_random_tr1=yes
31219 else
31220 echo "$as_me: program exited with status $ac_status" >&5
31221 echo "$as_me: failed program was:" >&5
31222 sed 's/^/| /' conftest.$ac_ext >&5
31224 ( exit $ac_status )
31225 ac_random_tr1=no
31227 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31232 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
31233 echo "${ECHO_T}$ac_random_tr1" >&6
31234 if test x"$ac_random_tr1" = x"yes"; then
31236 cat >>confdefs.h <<\_ACEOF
31237 #define _GLIBCXX_USE_RANDOM_TR1 1
31238 _ACEOF
31244 # For TLS support.
31246 # Check whether --enable-tls or --disable-tls was given.
31247 if test "${enable_tls+set}" = set; then
31248 enableval="$enable_tls"
31250 case "$enableval" in
31251 yes|no) ;;
31252 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
31253 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
31254 { (exit 1); exit 1; }; } ;;
31255 esac
31257 else
31258 enable_tls=yes
31261 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
31262 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
31263 if test "${have_tls+set}" = set; then
31264 echo $ECHO_N "(cached) $ECHO_C" >&6
31265 else
31267 if test "$cross_compiling" = yes; then
31268 cat >conftest.$ac_ext <<_ACEOF
31269 __thread int foo;
31270 _ACEOF
31271 rm -f conftest.$ac_objext
31272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31273 (eval $ac_compile) 2>conftest.er1
31274 ac_status=$?
31275 grep -v '^ *+' conftest.er1 >conftest.err
31276 rm -f conftest.er1
31277 cat conftest.err >&5
31278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31279 (exit $ac_status); } &&
31280 { ac_try='test -z "$ac_c_werror_flag"
31281 || test ! -s conftest.err'
31282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31283 (eval $ac_try) 2>&5
31284 ac_status=$?
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); }; } &&
31287 { ac_try='test -s conftest.$ac_objext'
31288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31289 (eval $ac_try) 2>&5
31290 ac_status=$?
31291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31292 (exit $ac_status); }; }; then
31293 have_tls=yes
31294 else
31295 echo "$as_me: failed program was:" >&5
31296 sed 's/^/| /' conftest.$ac_ext >&5
31298 have_tls=no
31300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31302 else
31303 cat >conftest.$ac_ext <<_ACEOF
31304 __thread int a; int b; int main() { return a = b; }
31305 _ACEOF
31306 rm -f conftest$ac_exeext
31307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31308 (eval $ac_link) 2>&5
31309 ac_status=$?
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31313 (eval $ac_try) 2>&5
31314 ac_status=$?
31315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31316 (exit $ac_status); }; }; then
31317 save_LDFLAGS="$LDFLAGS"
31318 LDFLAGS="-static $LDFLAGS"
31319 if test "$cross_compiling" = yes; then
31320 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
31321 See \`config.log' for more details." >&5
31322 echo "$as_me: error: cannot run test program while cross compiling
31323 See \`config.log' for more details." >&2;}
31324 { (exit 1); exit 1; }; }
31325 else
31326 cat >conftest.$ac_ext <<_ACEOF
31327 __thread int a; int b; int main() { return a = b; }
31328 _ACEOF
31329 rm -f conftest$ac_exeext
31330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31331 (eval $ac_link) 2>&5
31332 ac_status=$?
31333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31336 (eval $ac_try) 2>&5
31337 ac_status=$?
31338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31339 (exit $ac_status); }; }; then
31340 have_tls=yes
31341 else
31342 echo "$as_me: program exited with status $ac_status" >&5
31343 echo "$as_me: failed program was:" >&5
31344 sed 's/^/| /' conftest.$ac_ext >&5
31346 ( exit $ac_status )
31347 have_tls=no
31349 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31351 LDFLAGS="$save_LDFLAGS"
31352 else
31353 echo "$as_me: program exited with status $ac_status" >&5
31354 echo "$as_me: failed program was:" >&5
31355 sed 's/^/| /' conftest.$ac_ext >&5
31357 ( exit $ac_status )
31358 have_tls=no
31360 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31363 echo "$as_me:$LINENO: result: $have_tls" >&5
31364 echo "${ECHO_T}$have_tls" >&6
31365 if test "$enable_tls $have_tls" = "yes yes"; then
31367 cat >>confdefs.h <<\_ACEOF
31368 #define HAVE_TLS 1
31369 _ACEOF
31373 # For _Unwind_GetIPInfo.
31377 ac_ext=cc
31378 ac_cpp='$CXXCPP $CPPFLAGS'
31379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31383 ac_save_CXXFLAGS="$CXXFLAGS"
31384 CXXFLAGS="$CXXFLAGS -fno-exceptions"
31385 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
31386 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
31387 if test "${gcc_cv_getipinfo+set}" = set; then
31388 echo $ECHO_N "(cached) $ECHO_C" >&6
31389 else
31391 if test x$gcc_no_link = xyes; then
31392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31394 { (exit 1); exit 1; }; }
31396 cat >conftest.$ac_ext <<_ACEOF
31397 /* confdefs.h. */
31398 _ACEOF
31399 cat confdefs.h >>conftest.$ac_ext
31400 cat >>conftest.$ac_ext <<_ACEOF
31401 /* end confdefs.h. */
31402 extern "C" { extern void _Unwind_GetIPInfo(); }
31404 main ()
31406 _Unwind_GetIPInfo();
31408 return 0;
31410 _ACEOF
31411 rm -f conftest.$ac_objext conftest$ac_exeext
31412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31413 (eval $ac_link) 2>conftest.er1
31414 ac_status=$?
31415 grep -v '^ *+' conftest.er1 >conftest.err
31416 rm -f conftest.er1
31417 cat conftest.err >&5
31418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31419 (exit $ac_status); } &&
31420 { ac_try='test -z "$ac_cxx_werror_flag"
31421 || test ! -s conftest.err'
31422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31423 (eval $ac_try) 2>&5
31424 ac_status=$?
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); }; } &&
31427 { ac_try='test -s conftest$ac_exeext'
31428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31429 (eval $ac_try) 2>&5
31430 ac_status=$?
31431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432 (exit $ac_status); }; }; then
31433 gcc_cv_getipinfo=yes
31434 else
31435 echo "$as_me: failed program was:" >&5
31436 sed 's/^/| /' conftest.$ac_ext >&5
31438 gcc_cv_getipinfo=no
31440 rm -f conftest.err conftest.$ac_objext \
31441 conftest$ac_exeext conftest.$ac_ext
31445 if test $gcc_cv_getipinfo = yes; then
31447 cat >>confdefs.h <<\_ACEOF
31448 #define HAVE_GETIPINFO 1
31449 _ACEOF
31452 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
31453 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
31454 CXXFLAGS="$ac_save_CXXFLAGS"
31455 ac_ext=c
31456 ac_cpp='$CPP $CPPFLAGS'
31457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31464 if test "${ac_cv_header_locale_h+set}" = set; then
31465 echo "$as_me:$LINENO: checking for locale.h" >&5
31466 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31467 if test "${ac_cv_header_locale_h+set}" = set; then
31468 echo $ECHO_N "(cached) $ECHO_C" >&6
31470 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31471 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31472 else
31473 # Is the header compilable?
31474 echo "$as_me:$LINENO: checking locale.h usability" >&5
31475 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31476 cat >conftest.$ac_ext <<_ACEOF
31477 /* confdefs.h. */
31478 _ACEOF
31479 cat confdefs.h >>conftest.$ac_ext
31480 cat >>conftest.$ac_ext <<_ACEOF
31481 /* end confdefs.h. */
31482 $ac_includes_default
31483 #include <locale.h>
31484 _ACEOF
31485 rm -f conftest.$ac_objext
31486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31487 (eval $ac_compile) 2>conftest.er1
31488 ac_status=$?
31489 grep -v '^ *+' conftest.er1 >conftest.err
31490 rm -f conftest.er1
31491 cat conftest.err >&5
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); } &&
31494 { ac_try='test -z "$ac_c_werror_flag"
31495 || test ! -s conftest.err'
31496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31497 (eval $ac_try) 2>&5
31498 ac_status=$?
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); }; } &&
31501 { ac_try='test -s conftest.$ac_objext'
31502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31503 (eval $ac_try) 2>&5
31504 ac_status=$?
31505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506 (exit $ac_status); }; }; then
31507 ac_header_compiler=yes
31508 else
31509 echo "$as_me: failed program was:" >&5
31510 sed 's/^/| /' conftest.$ac_ext >&5
31512 ac_header_compiler=no
31514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31516 echo "${ECHO_T}$ac_header_compiler" >&6
31518 # Is the header present?
31519 echo "$as_me:$LINENO: checking locale.h presence" >&5
31520 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31521 cat >conftest.$ac_ext <<_ACEOF
31522 /* confdefs.h. */
31523 _ACEOF
31524 cat confdefs.h >>conftest.$ac_ext
31525 cat >>conftest.$ac_ext <<_ACEOF
31526 /* end confdefs.h. */
31527 #include <locale.h>
31528 _ACEOF
31529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31530 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31531 ac_status=$?
31532 grep -v '^ *+' conftest.er1 >conftest.err
31533 rm -f conftest.er1
31534 cat conftest.err >&5
31535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31536 (exit $ac_status); } >/dev/null; then
31537 if test -s conftest.err; then
31538 ac_cpp_err=$ac_c_preproc_warn_flag
31539 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31540 else
31541 ac_cpp_err=
31543 else
31544 ac_cpp_err=yes
31546 if test -z "$ac_cpp_err"; then
31547 ac_header_preproc=yes
31548 else
31549 echo "$as_me: failed program was:" >&5
31550 sed 's/^/| /' conftest.$ac_ext >&5
31552 ac_header_preproc=no
31554 rm -f conftest.err conftest.$ac_ext
31555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31556 echo "${ECHO_T}$ac_header_preproc" >&6
31558 # So? What about this header?
31559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31560 yes:no: )
31561 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31562 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31563 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31564 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31565 ac_header_preproc=yes
31567 no:yes:* )
31568 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31569 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31570 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
31571 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
31572 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31573 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31574 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
31575 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
31576 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31577 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31578 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31579 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31581 cat <<\_ASBOX
31582 ## ----------------------------------------- ##
31583 ## Report this to the package-unused lists. ##
31584 ## ----------------------------------------- ##
31585 _ASBOX
31587 sed "s/^/$as_me: WARNING: /" >&2
31589 esac
31590 echo "$as_me:$LINENO: checking for locale.h" >&5
31591 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31592 if test "${ac_cv_header_locale_h+set}" = set; then
31593 echo $ECHO_N "(cached) $ECHO_C" >&6
31594 else
31595 ac_cv_header_locale_h=$ac_header_preproc
31597 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31598 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31601 if test $ac_cv_header_locale_h = yes; then
31603 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31604 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31605 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31606 echo $ECHO_N "(cached) $ECHO_C" >&6
31607 else
31608 if test x$gcc_no_link = xyes; then
31609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31611 { (exit 1); exit 1; }; }
31613 cat >conftest.$ac_ext <<_ACEOF
31614 /* confdefs.h. */
31615 _ACEOF
31616 cat confdefs.h >>conftest.$ac_ext
31617 cat >>conftest.$ac_ext <<_ACEOF
31618 /* end confdefs.h. */
31619 #include <locale.h>
31621 main ()
31623 return LC_MESSAGES
31625 return 0;
31627 _ACEOF
31628 rm -f conftest.$ac_objext conftest$ac_exeext
31629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31630 (eval $ac_link) 2>conftest.er1
31631 ac_status=$?
31632 grep -v '^ *+' conftest.er1 >conftest.err
31633 rm -f conftest.er1
31634 cat conftest.err >&5
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); } &&
31637 { ac_try='test -z "$ac_c_werror_flag"
31638 || test ! -s conftest.err'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31641 ac_status=$?
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; } &&
31644 { ac_try='test -s conftest$ac_exeext'
31645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31646 (eval $ac_try) 2>&5
31647 ac_status=$?
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); }; }; then
31650 ac_cv_val_LC_MESSAGES=yes
31651 else
31652 echo "$as_me: failed program was:" >&5
31653 sed 's/^/| /' conftest.$ac_ext >&5
31655 ac_cv_val_LC_MESSAGES=no
31657 rm -f conftest.err conftest.$ac_objext \
31658 conftest$ac_exeext conftest.$ac_ext
31660 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31661 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31662 if test $ac_cv_val_LC_MESSAGES = yes; then
31664 cat >>confdefs.h <<\_ACEOF
31665 #define HAVE_LC_MESSAGES 1
31666 _ACEOF
31675 cat >conftest.$ac_ext <<_ACEOF
31676 /* confdefs.h. */
31677 _ACEOF
31678 cat confdefs.h >>conftest.$ac_ext
31679 cat >>conftest.$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31681 #include <setjmp.h>
31683 main ()
31685 sigjmp_buf env;
31686 while (! sigsetjmp (env, 1))
31687 siglongjmp (env, 1);
31690 return 0;
31692 _ACEOF
31693 rm -f conftest.$ac_objext
31694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31695 (eval $ac_compile) 2>conftest.er1
31696 ac_status=$?
31697 grep -v '^ *+' conftest.er1 >conftest.err
31698 rm -f conftest.er1
31699 cat conftest.err >&5
31700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31701 (exit $ac_status); } &&
31702 { ac_try='test -z "$ac_c_werror_flag"
31703 || test ! -s conftest.err'
31704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31705 (eval $ac_try) 2>&5
31706 ac_status=$?
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); }; } &&
31709 { ac_try='test -s conftest.$ac_objext'
31710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31711 (eval $ac_try) 2>&5
31712 ac_status=$?
31713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714 (exit $ac_status); }; }; then
31716 cat >>confdefs.h <<\_ACEOF
31717 #define HAVE_SIGSETJMP 1
31718 _ACEOF
31720 else
31721 echo "$as_me: failed program was:" >&5
31722 sed 's/^/| /' conftest.$ac_ext >&5
31725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31727 if test x$gcc_no_link = xyes; then
31728 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31729 ac_cv_func_mmap_fixed_mapped=no
31732 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31735 for ac_header in stdlib.h unistd.h
31737 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31739 echo "$as_me:$LINENO: checking for $ac_header" >&5
31740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31742 echo $ECHO_N "(cached) $ECHO_C" >&6
31744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31746 else
31747 # Is the header compilable?
31748 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31749 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31750 cat >conftest.$ac_ext <<_ACEOF
31751 /* confdefs.h. */
31752 _ACEOF
31753 cat confdefs.h >>conftest.$ac_ext
31754 cat >>conftest.$ac_ext <<_ACEOF
31755 /* end confdefs.h. */
31756 $ac_includes_default
31757 #include <$ac_header>
31758 _ACEOF
31759 rm -f conftest.$ac_objext
31760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31761 (eval $ac_compile) 2>conftest.er1
31762 ac_status=$?
31763 grep -v '^ *+' conftest.er1 >conftest.err
31764 rm -f conftest.er1
31765 cat conftest.err >&5
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); } &&
31768 { ac_try='test -z "$ac_c_werror_flag"
31769 || test ! -s conftest.err'
31770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31771 (eval $ac_try) 2>&5
31772 ac_status=$?
31773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774 (exit $ac_status); }; } &&
31775 { ac_try='test -s conftest.$ac_objext'
31776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31777 (eval $ac_try) 2>&5
31778 ac_status=$?
31779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31780 (exit $ac_status); }; }; then
31781 ac_header_compiler=yes
31782 else
31783 echo "$as_me: failed program was:" >&5
31784 sed 's/^/| /' conftest.$ac_ext >&5
31786 ac_header_compiler=no
31788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31790 echo "${ECHO_T}$ac_header_compiler" >&6
31792 # Is the header present?
31793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31795 cat >conftest.$ac_ext <<_ACEOF
31796 /* confdefs.h. */
31797 _ACEOF
31798 cat confdefs.h >>conftest.$ac_ext
31799 cat >>conftest.$ac_ext <<_ACEOF
31800 /* end confdefs.h. */
31801 #include <$ac_header>
31802 _ACEOF
31803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31804 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31805 ac_status=$?
31806 grep -v '^ *+' conftest.er1 >conftest.err
31807 rm -f conftest.er1
31808 cat conftest.err >&5
31809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31810 (exit $ac_status); } >/dev/null; then
31811 if test -s conftest.err; then
31812 ac_cpp_err=$ac_c_preproc_warn_flag
31813 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31814 else
31815 ac_cpp_err=
31817 else
31818 ac_cpp_err=yes
31820 if test -z "$ac_cpp_err"; then
31821 ac_header_preproc=yes
31822 else
31823 echo "$as_me: failed program was:" >&5
31824 sed 's/^/| /' conftest.$ac_ext >&5
31826 ac_header_preproc=no
31828 rm -f conftest.err conftest.$ac_ext
31829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31830 echo "${ECHO_T}$ac_header_preproc" >&6
31832 # So? What about this header?
31833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31834 yes:no: )
31835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31838 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31839 ac_header_preproc=yes
31841 no:yes:* )
31842 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31843 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31844 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31845 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31846 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31847 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31848 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31849 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31852 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31853 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31855 cat <<\_ASBOX
31856 ## ----------------------------------------- ##
31857 ## Report this to the package-unused lists. ##
31858 ## ----------------------------------------- ##
31859 _ASBOX
31861 sed "s/^/$as_me: WARNING: /" >&2
31863 esac
31864 echo "$as_me:$LINENO: checking for $ac_header" >&5
31865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31867 echo $ECHO_N "(cached) $ECHO_C" >&6
31868 else
31869 eval "$as_ac_Header=\$ac_header_preproc"
31871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31876 cat >>confdefs.h <<_ACEOF
31877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31878 _ACEOF
31882 done
31885 for ac_func in getpagesize
31887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31888 echo "$as_me:$LINENO: checking for $ac_func" >&5
31889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31890 if eval "test \"\${$as_ac_var+set}\" = set"; then
31891 echo $ECHO_N "(cached) $ECHO_C" >&6
31892 else
31893 if test x$gcc_no_link = xyes; then
31894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31896 { (exit 1); exit 1; }; }
31898 cat >conftest.$ac_ext <<_ACEOF
31899 /* confdefs.h. */
31900 _ACEOF
31901 cat confdefs.h >>conftest.$ac_ext
31902 cat >>conftest.$ac_ext <<_ACEOF
31903 /* end confdefs.h. */
31904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31906 #define $ac_func innocuous_$ac_func
31908 /* System header to define __stub macros and hopefully few prototypes,
31909 which can conflict with char $ac_func (); below.
31910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31911 <limits.h> exists even on freestanding compilers. */
31913 #ifdef __STDC__
31914 # include <limits.h>
31915 #else
31916 # include <assert.h>
31917 #endif
31919 #undef $ac_func
31921 /* Override any gcc2 internal prototype to avoid an error. */
31922 #ifdef __cplusplus
31923 extern "C"
31925 #endif
31926 /* We use char because int might match the return type of a gcc2
31927 builtin and then its argument prototype would still apply. */
31928 char $ac_func ();
31929 /* The GNU C library defines this for functions which it implements
31930 to always fail with ENOSYS. Some functions are actually named
31931 something starting with __ and the normal name is an alias. */
31932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31933 choke me
31934 #else
31935 char (*f) () = $ac_func;
31936 #endif
31937 #ifdef __cplusplus
31939 #endif
31942 main ()
31944 return f != $ac_func;
31946 return 0;
31948 _ACEOF
31949 rm -f conftest.$ac_objext conftest$ac_exeext
31950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31951 (eval $ac_link) 2>conftest.er1
31952 ac_status=$?
31953 grep -v '^ *+' conftest.er1 >conftest.err
31954 rm -f conftest.er1
31955 cat conftest.err >&5
31956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31957 (exit $ac_status); } &&
31958 { ac_try='test -z "$ac_c_werror_flag"
31959 || test ! -s conftest.err'
31960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31961 (eval $ac_try) 2>&5
31962 ac_status=$?
31963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31964 (exit $ac_status); }; } &&
31965 { ac_try='test -s conftest$ac_exeext'
31966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31967 (eval $ac_try) 2>&5
31968 ac_status=$?
31969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31970 (exit $ac_status); }; }; then
31971 eval "$as_ac_var=yes"
31972 else
31973 echo "$as_me: failed program was:" >&5
31974 sed 's/^/| /' conftest.$ac_ext >&5
31976 eval "$as_ac_var=no"
31978 rm -f conftest.err conftest.$ac_objext \
31979 conftest$ac_exeext conftest.$ac_ext
31981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31983 if test `eval echo '${'$as_ac_var'}'` = yes; then
31984 cat >>confdefs.h <<_ACEOF
31985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31986 _ACEOF
31989 done
31991 echo "$as_me:$LINENO: checking for working mmap" >&5
31992 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
31993 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
31994 echo $ECHO_N "(cached) $ECHO_C" >&6
31995 else
31996 if test "$cross_compiling" = yes; then
31997 ac_cv_func_mmap_fixed_mapped=no
31998 else
31999 cat >conftest.$ac_ext <<_ACEOF
32000 /* confdefs.h. */
32001 _ACEOF
32002 cat confdefs.h >>conftest.$ac_ext
32003 cat >>conftest.$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32005 $ac_includes_default
32006 /* malloc might have been renamed as rpl_malloc. */
32007 #undef malloc
32009 /* Thanks to Mike Haertel and Jim Avera for this test.
32010 Here is a matrix of mmap possibilities:
32011 mmap private not fixed
32012 mmap private fixed at somewhere currently unmapped
32013 mmap private fixed at somewhere already mapped
32014 mmap shared not fixed
32015 mmap shared fixed at somewhere currently unmapped
32016 mmap shared fixed at somewhere already mapped
32017 For private mappings, we should verify that changes cannot be read()
32018 back from the file, nor mmap's back from the file at a different
32019 address. (There have been systems where private was not correctly
32020 implemented like the infamous i386 svr4.0, and systems where the
32021 VM page cache was not coherent with the file system buffer cache
32022 like early versions of FreeBSD and possibly contemporary NetBSD.)
32023 For shared mappings, we should conversely verify that changes get
32024 propagated back to all the places they're supposed to be.
32026 Grep wants private fixed already mapped.
32027 The main things grep needs to know about mmap are:
32028 * does it exist and is it safe to write into the mmap'd area
32029 * how to use it (BSD variants) */
32031 #include <fcntl.h>
32032 #include <sys/mman.h>
32034 #if !STDC_HEADERS && !HAVE_STDLIB_H
32035 char *malloc ();
32036 #endif
32038 /* This mess was copied from the GNU getpagesize.h. */
32039 #if !HAVE_GETPAGESIZE
32040 /* Assume that all systems that can run configure have sys/param.h. */
32041 # if !HAVE_SYS_PARAM_H
32042 # define HAVE_SYS_PARAM_H 1
32043 # endif
32045 # ifdef _SC_PAGESIZE
32046 # define getpagesize() sysconf(_SC_PAGESIZE)
32047 # else /* no _SC_PAGESIZE */
32048 # if HAVE_SYS_PARAM_H
32049 # include <sys/param.h>
32050 # ifdef EXEC_PAGESIZE
32051 # define getpagesize() EXEC_PAGESIZE
32052 # else /* no EXEC_PAGESIZE */
32053 # ifdef NBPG
32054 # define getpagesize() NBPG * CLSIZE
32055 # ifndef CLSIZE
32056 # define CLSIZE 1
32057 # endif /* no CLSIZE */
32058 # else /* no NBPG */
32059 # ifdef NBPC
32060 # define getpagesize() NBPC
32061 # else /* no NBPC */
32062 # ifdef PAGESIZE
32063 # define getpagesize() PAGESIZE
32064 # endif /* PAGESIZE */
32065 # endif /* no NBPC */
32066 # endif /* no NBPG */
32067 # endif /* no EXEC_PAGESIZE */
32068 # else /* no HAVE_SYS_PARAM_H */
32069 # define getpagesize() 8192 /* punt totally */
32070 # endif /* no HAVE_SYS_PARAM_H */
32071 # endif /* no _SC_PAGESIZE */
32073 #endif /* no HAVE_GETPAGESIZE */
32076 main ()
32078 char *data, *data2, *data3;
32079 int i, pagesize;
32080 int fd;
32082 pagesize = getpagesize ();
32084 /* First, make a file with some known garbage in it. */
32085 data = (char *) malloc (pagesize);
32086 if (!data)
32087 exit (1);
32088 for (i = 0; i < pagesize; ++i)
32089 *(data + i) = rand ();
32090 umask (0);
32091 fd = creat ("conftest.mmap", 0600);
32092 if (fd < 0)
32093 exit (1);
32094 if (write (fd, data, pagesize) != pagesize)
32095 exit (1);
32096 close (fd);
32098 /* Next, try to mmap the file at a fixed address which already has
32099 something else allocated at it. If we can, also make sure that
32100 we see the same garbage. */
32101 fd = open ("conftest.mmap", O_RDWR);
32102 if (fd < 0)
32103 exit (1);
32104 data2 = (char *) malloc (2 * pagesize);
32105 if (!data2)
32106 exit (1);
32107 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
32108 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
32109 MAP_PRIVATE | MAP_FIXED, fd, 0L))
32110 exit (1);
32111 for (i = 0; i < pagesize; ++i)
32112 if (*(data + i) != *(data2 + i))
32113 exit (1);
32115 /* Finally, make sure that changes to the mapped area do not
32116 percolate back to the file as seen by read(). (This is a bug on
32117 some variants of i386 svr4.0.) */
32118 for (i = 0; i < pagesize; ++i)
32119 *(data2 + i) = *(data2 + i) + 1;
32120 data3 = (char *) malloc (pagesize);
32121 if (!data3)
32122 exit (1);
32123 if (read (fd, data3, pagesize) != pagesize)
32124 exit (1);
32125 for (i = 0; i < pagesize; ++i)
32126 if (*(data + i) != *(data3 + i))
32127 exit (1);
32128 close (fd);
32129 exit (0);
32131 _ACEOF
32132 rm -f conftest$ac_exeext
32133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32134 (eval $ac_link) 2>&5
32135 ac_status=$?
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32139 (eval $ac_try) 2>&5
32140 ac_status=$?
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); }; }; then
32143 ac_cv_func_mmap_fixed_mapped=yes
32144 else
32145 echo "$as_me: program exited with status $ac_status" >&5
32146 echo "$as_me: failed program was:" >&5
32147 sed 's/^/| /' conftest.$ac_ext >&5
32149 ( exit $ac_status )
32150 ac_cv_func_mmap_fixed_mapped=no
32152 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32155 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
32156 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
32157 if test $ac_cv_func_mmap_fixed_mapped = yes; then
32159 cat >>confdefs.h <<\_ACEOF
32160 #define HAVE_MMAP 1
32161 _ACEOF
32164 rm -f conftest.mmap
32168 else
32170 # This lets us hard-code the functionality we know we'll have in the cross
32171 # target environment. "Let" is a sugar-coated word placed on an especially
32172 # dull and tedious hack, actually.
32174 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32175 # that involve linking, can't be used:
32176 # "cannot open sim-crt0.o"
32177 # "cannot open crt0.o"
32178 # etc. All this is because there currently exists no unified, consistent
32179 # way for top level CC information to be passed down to target directories:
32180 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32181 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32182 # crosses can be removed.
32184 # If Canadian cross, then don't pick up tools from the build directory.
32185 # Used only in GLIBCXX_EXPORT_INCLUDES.
32186 if test -n "$with_cross_host" &&
32187 test x"$build_alias" != x"$with_cross_host" &&
32188 test x"$build" != x"$target";
32189 then
32190 CANADIAN=yes
32191 else
32192 CANADIAN=no
32195 # Construct crosses by hand, eliminating bits that need ld...
32196 # GLIBCXX_CHECK_COMPILER_FEATURES
32197 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32198 # GLIBCXX_CHECK_MATH_SUPPORT
32200 # First, test for "known" system libraries. We may be using newlib even
32201 # on a hosted environment.
32202 if test "x${with_newlib}" = "xyes"; then
32203 os_include_dir="os/newlib"
32204 cat >>confdefs.h <<\_ACEOF
32205 #define HAVE_HYPOT 1
32206 _ACEOF
32209 # GLIBCXX_CHECK_STDLIB_SUPPORT
32210 cat >>confdefs.h <<\_ACEOF
32211 #define HAVE_STRTOF 1
32212 _ACEOF
32214 # AC_FUNC_MMAP
32215 cat >>confdefs.h <<\_ACEOF
32216 #define HAVE_MMAP 1
32217 _ACEOF
32220 cat >>confdefs.h <<\_ACEOF
32221 #define HAVE_ACOSF 1
32222 _ACEOF
32224 cat >>confdefs.h <<\_ACEOF
32225 #define HAVE_ASINF 1
32226 _ACEOF
32228 cat >>confdefs.h <<\_ACEOF
32229 #define HAVE_ATAN2F 1
32230 _ACEOF
32232 cat >>confdefs.h <<\_ACEOF
32233 #define HAVE_ATANF 1
32234 _ACEOF
32236 cat >>confdefs.h <<\_ACEOF
32237 #define HAVE_CEILF 1
32238 _ACEOF
32240 cat >>confdefs.h <<\_ACEOF
32241 #define HAVE_COPYSIGN 1
32242 _ACEOF
32244 cat >>confdefs.h <<\_ACEOF
32245 #define HAVE_COPYSIGNF 1
32246 _ACEOF
32248 cat >>confdefs.h <<\_ACEOF
32249 #define HAVE_COSF 1
32250 _ACEOF
32252 cat >>confdefs.h <<\_ACEOF
32253 #define HAVE_COSHF 1
32254 _ACEOF
32256 cat >>confdefs.h <<\_ACEOF
32257 #define HAVE_EXPF 1
32258 _ACEOF
32260 cat >>confdefs.h <<\_ACEOF
32261 #define HAVE_FABSF 1
32262 _ACEOF
32264 cat >>confdefs.h <<\_ACEOF
32265 #define HAVE_FLOORF 1
32266 _ACEOF
32268 cat >>confdefs.h <<\_ACEOF
32269 #define HAVE_FMODF 1
32270 _ACEOF
32272 cat >>confdefs.h <<\_ACEOF
32273 #define HAVE_FREXPF 1
32274 _ACEOF
32276 cat >>confdefs.h <<\_ACEOF
32277 #define HAVE_LDEXPF 1
32278 _ACEOF
32280 cat >>confdefs.h <<\_ACEOF
32281 #define HAVE_LOG10F 1
32282 _ACEOF
32284 cat >>confdefs.h <<\_ACEOF
32285 #define HAVE_LOGF 1
32286 _ACEOF
32288 cat >>confdefs.h <<\_ACEOF
32289 #define HAVE_MODFF 1
32290 _ACEOF
32292 cat >>confdefs.h <<\_ACEOF
32293 #define HAVE_POWF 1
32294 _ACEOF
32296 cat >>confdefs.h <<\_ACEOF
32297 #define HAVE_SINF 1
32298 _ACEOF
32300 cat >>confdefs.h <<\_ACEOF
32301 #define HAVE_SINHF 1
32302 _ACEOF
32304 cat >>confdefs.h <<\_ACEOF
32305 #define HAVE_SQRTF 1
32306 _ACEOF
32308 cat >>confdefs.h <<\_ACEOF
32309 #define HAVE_TANF 1
32310 _ACEOF
32312 cat >>confdefs.h <<\_ACEOF
32313 #define HAVE_TANHF 1
32314 _ACEOF
32317 cat >>confdefs.h <<\_ACEOF
32318 #define HAVE_S_ISREG 1
32319 _ACEOF
32321 cat >>confdefs.h <<\_ACEOF
32322 #define HAVE_S_IFREG 1
32323 _ACEOF
32325 else
32327 # Base decisions on target environment.
32328 case "${host}" in
32329 arm*-*-symbianelf*)
32330 # This is a freestanding configuration; there is nothing to do here.
32333 *-darwin*)
32334 # Darwin versions vary, but the linker should work in a cross environment,
32335 # so we just check for all the features here.
32336 # Check for available headers.
32350 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32351 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32352 sys/types.h
32354 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32356 echo "$as_me:$LINENO: checking for $ac_header" >&5
32357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32359 echo $ECHO_N "(cached) $ECHO_C" >&6
32361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32363 else
32364 # Is the header compilable?
32365 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32366 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32367 cat >conftest.$ac_ext <<_ACEOF
32368 /* confdefs.h. */
32369 _ACEOF
32370 cat confdefs.h >>conftest.$ac_ext
32371 cat >>conftest.$ac_ext <<_ACEOF
32372 /* end confdefs.h. */
32373 $ac_includes_default
32374 #include <$ac_header>
32375 _ACEOF
32376 rm -f conftest.$ac_objext
32377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32378 (eval $ac_compile) 2>conftest.er1
32379 ac_status=$?
32380 grep -v '^ *+' conftest.er1 >conftest.err
32381 rm -f conftest.er1
32382 cat conftest.err >&5
32383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384 (exit $ac_status); } &&
32385 { ac_try='test -z "$ac_c_werror_flag"
32386 || test ! -s conftest.err'
32387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32388 (eval $ac_try) 2>&5
32389 ac_status=$?
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); }; } &&
32392 { ac_try='test -s conftest.$ac_objext'
32393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32394 (eval $ac_try) 2>&5
32395 ac_status=$?
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); }; }; then
32398 ac_header_compiler=yes
32399 else
32400 echo "$as_me: failed program was:" >&5
32401 sed 's/^/| /' conftest.$ac_ext >&5
32403 ac_header_compiler=no
32405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32406 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32407 echo "${ECHO_T}$ac_header_compiler" >&6
32409 # Is the header present?
32410 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32411 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32412 cat >conftest.$ac_ext <<_ACEOF
32413 /* confdefs.h. */
32414 _ACEOF
32415 cat confdefs.h >>conftest.$ac_ext
32416 cat >>conftest.$ac_ext <<_ACEOF
32417 /* end confdefs.h. */
32418 #include <$ac_header>
32419 _ACEOF
32420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32421 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32422 ac_status=$?
32423 grep -v '^ *+' conftest.er1 >conftest.err
32424 rm -f conftest.er1
32425 cat conftest.err >&5
32426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32427 (exit $ac_status); } >/dev/null; then
32428 if test -s conftest.err; then
32429 ac_cpp_err=$ac_c_preproc_warn_flag
32430 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32431 else
32432 ac_cpp_err=
32434 else
32435 ac_cpp_err=yes
32437 if test -z "$ac_cpp_err"; then
32438 ac_header_preproc=yes
32439 else
32440 echo "$as_me: failed program was:" >&5
32441 sed 's/^/| /' conftest.$ac_ext >&5
32443 ac_header_preproc=no
32445 rm -f conftest.err conftest.$ac_ext
32446 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32447 echo "${ECHO_T}$ac_header_preproc" >&6
32449 # So? What about this header?
32450 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32451 yes:no: )
32452 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32453 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32455 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32456 ac_header_preproc=yes
32458 no:yes:* )
32459 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32460 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32461 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32462 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32463 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32464 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32465 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32466 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32468 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32469 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32470 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32472 cat <<\_ASBOX
32473 ## ----------------------------------------- ##
32474 ## Report this to the package-unused lists. ##
32475 ## ----------------------------------------- ##
32476 _ASBOX
32478 sed "s/^/$as_me: WARNING: /" >&2
32480 esac
32481 echo "$as_me:$LINENO: checking for $ac_header" >&5
32482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32484 echo $ECHO_N "(cached) $ECHO_C" >&6
32485 else
32486 eval "$as_ac_Header=\$ac_header_preproc"
32488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32493 cat >>confdefs.h <<_ACEOF
32494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32495 _ACEOF
32499 done
32503 # All these tests are for C++; save the language and the compiler flags.
32504 # The CXXFLAGS thing is suspicious, but based on similar bits previously
32505 # found in GLIBCXX_CONFIGURE.
32508 ac_ext=cc
32509 ac_cpp='$CXXCPP $CPPFLAGS'
32510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32514 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32515 ac_save_CXXFLAGS="$CXXFLAGS"
32517 # Check for maintainer-mode bits.
32518 if test x"$USE_MAINTAINER_MODE" = xno; then
32519 WERROR=''
32520 else
32521 WERROR='-Werror'
32524 # Check for -ffunction-sections -fdata-sections
32525 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
32526 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
32527 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
32528 cat >conftest.$ac_ext <<_ACEOF
32529 /* confdefs.h. */
32530 _ACEOF
32531 cat confdefs.h >>conftest.$ac_ext
32532 cat >>conftest.$ac_ext <<_ACEOF
32533 /* end confdefs.h. */
32536 main ()
32538 int foo;
32540 return 0;
32542 _ACEOF
32543 rm -f conftest.$ac_objext
32544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32545 (eval $ac_compile) 2>conftest.er1
32546 ac_status=$?
32547 grep -v '^ *+' conftest.er1 >conftest.err
32548 rm -f conftest.er1
32549 cat conftest.err >&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); } &&
32552 { ac_try='test -z "$ac_cxx_werror_flag"
32553 || test ! -s conftest.err'
32554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32555 (eval $ac_try) 2>&5
32556 ac_status=$?
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); }; } &&
32559 { ac_try='test -s conftest.$ac_objext'
32560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32561 (eval $ac_try) 2>&5
32562 ac_status=$?
32563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32564 (exit $ac_status); }; }; then
32565 ac_fdsections=yes
32566 else
32567 echo "$as_me: failed program was:" >&5
32568 sed 's/^/| /' conftest.$ac_ext >&5
32570 ac_fdsections=no
32572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32573 if test "$ac_test_CXXFLAGS" = set; then
32574 CXXFLAGS="$ac_save_CXXFLAGS"
32575 else
32576 # this is the suspicious part
32577 CXXFLAGS=''
32579 if test x"$ac_fdsections" = x"yes"; then
32580 SECTION_FLAGS='-ffunction-sections -fdata-sections'
32582 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
32583 echo "${ECHO_T}$ac_fdsections" >&6
32585 ac_ext=c
32586 ac_cpp='$CPP $CPPFLAGS'
32587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32594 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32596 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32597 ac_save_CXXFLAGS="$CXXFLAGS"
32598 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32600 echo "$as_me:$LINENO: checking for sin in -lm" >&5
32601 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32602 if test "${ac_cv_lib_m_sin+set}" = set; then
32603 echo $ECHO_N "(cached) $ECHO_C" >&6
32604 else
32605 ac_check_lib_save_LIBS=$LIBS
32606 LIBS="-lm $LIBS"
32607 if test x$gcc_no_link = xyes; then
32608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32610 { (exit 1); exit 1; }; }
32612 cat >conftest.$ac_ext <<_ACEOF
32613 /* confdefs.h. */
32614 _ACEOF
32615 cat confdefs.h >>conftest.$ac_ext
32616 cat >>conftest.$ac_ext <<_ACEOF
32617 /* end confdefs.h. */
32619 /* Override any gcc2 internal prototype to avoid an error. */
32620 #ifdef __cplusplus
32621 extern "C"
32622 #endif
32623 /* We use char because int might match the return type of a gcc2
32624 builtin and then its argument prototype would still apply. */
32625 char sin ();
32627 main ()
32629 sin ();
32631 return 0;
32633 _ACEOF
32634 rm -f conftest.$ac_objext conftest$ac_exeext
32635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32636 (eval $ac_link) 2>conftest.er1
32637 ac_status=$?
32638 grep -v '^ *+' conftest.er1 >conftest.err
32639 rm -f conftest.er1
32640 cat conftest.err >&5
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); } &&
32643 { ac_try='test -z "$ac_c_werror_flag"
32644 || test ! -s conftest.err'
32645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32646 (eval $ac_try) 2>&5
32647 ac_status=$?
32648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32649 (exit $ac_status); }; } &&
32650 { ac_try='test -s conftest$ac_exeext'
32651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32652 (eval $ac_try) 2>&5
32653 ac_status=$?
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); }; }; then
32656 ac_cv_lib_m_sin=yes
32657 else
32658 echo "$as_me: failed program was:" >&5
32659 sed 's/^/| /' conftest.$ac_ext >&5
32661 ac_cv_lib_m_sin=no
32663 rm -f conftest.err conftest.$ac_objext \
32664 conftest$ac_exeext conftest.$ac_ext
32665 LIBS=$ac_check_lib_save_LIBS
32667 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
32668 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
32669 if test $ac_cv_lib_m_sin = yes; then
32670 libm="-lm"
32673 ac_save_LIBS="$LIBS"
32674 LIBS="$LIBS $libm"
32678 echo "$as_me:$LINENO: checking for isinf declaration" >&5
32679 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
32680 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32681 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
32682 echo $ECHO_N "(cached) $ECHO_C" >&6
32683 else
32687 ac_ext=cc
32688 ac_cpp='$CXXCPP $CPPFLAGS'
32689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32693 cat >conftest.$ac_ext <<_ACEOF
32694 /* confdefs.h. */
32695 _ACEOF
32696 cat confdefs.h >>conftest.$ac_ext
32697 cat >>conftest.$ac_ext <<_ACEOF
32698 /* end confdefs.h. */
32699 #include <math.h>
32700 #ifdef HAVE_IEEEFP_H
32701 #include <ieeefp.h>
32702 #endif
32705 main ()
32707 isinf(0);
32709 return 0;
32711 _ACEOF
32712 rm -f conftest.$ac_objext
32713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32714 (eval $ac_compile) 2>conftest.er1
32715 ac_status=$?
32716 grep -v '^ *+' conftest.er1 >conftest.err
32717 rm -f conftest.er1
32718 cat conftest.err >&5
32719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32720 (exit $ac_status); } &&
32721 { ac_try='test -z "$ac_cxx_werror_flag"
32722 || test ! -s conftest.err'
32723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32724 (eval $ac_try) 2>&5
32725 ac_status=$?
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); }; } &&
32728 { ac_try='test -s conftest.$ac_objext'
32729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32730 (eval $ac_try) 2>&5
32731 ac_status=$?
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); }; }; then
32734 glibcxx_cv_func_isinf_use=yes
32735 else
32736 echo "$as_me: failed program was:" >&5
32737 sed 's/^/| /' conftest.$ac_ext >&5
32739 glibcxx_cv_func_isinf_use=no
32741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32742 ac_ext=c
32743 ac_cpp='$CPP $CPPFLAGS'
32744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32752 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
32753 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
32755 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32757 for ac_func in isinf
32759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32760 echo "$as_me:$LINENO: checking for $ac_func" >&5
32761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32762 if eval "test \"\${$as_ac_var+set}\" = set"; then
32763 echo $ECHO_N "(cached) $ECHO_C" >&6
32764 else
32765 if test x$gcc_no_link = xyes; then
32766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32768 { (exit 1); exit 1; }; }
32770 cat >conftest.$ac_ext <<_ACEOF
32771 /* confdefs.h. */
32772 _ACEOF
32773 cat confdefs.h >>conftest.$ac_ext
32774 cat >>conftest.$ac_ext <<_ACEOF
32775 /* end confdefs.h. */
32776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32778 #define $ac_func innocuous_$ac_func
32780 /* System header to define __stub macros and hopefully few prototypes,
32781 which can conflict with char $ac_func (); below.
32782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32783 <limits.h> exists even on freestanding compilers. */
32785 #ifdef __STDC__
32786 # include <limits.h>
32787 #else
32788 # include <assert.h>
32789 #endif
32791 #undef $ac_func
32793 /* Override any gcc2 internal prototype to avoid an error. */
32794 #ifdef __cplusplus
32795 extern "C"
32797 #endif
32798 /* We use char because int might match the return type of a gcc2
32799 builtin and then its argument prototype would still apply. */
32800 char $ac_func ();
32801 /* The GNU C library defines this for functions which it implements
32802 to always fail with ENOSYS. Some functions are actually named
32803 something starting with __ and the normal name is an alias. */
32804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32805 choke me
32806 #else
32807 char (*f) () = $ac_func;
32808 #endif
32809 #ifdef __cplusplus
32811 #endif
32814 main ()
32816 return f != $ac_func;
32818 return 0;
32820 _ACEOF
32821 rm -f conftest.$ac_objext conftest$ac_exeext
32822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32823 (eval $ac_link) 2>conftest.er1
32824 ac_status=$?
32825 grep -v '^ *+' conftest.er1 >conftest.err
32826 rm -f conftest.er1
32827 cat conftest.err >&5
32828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32829 (exit $ac_status); } &&
32830 { ac_try='test -z "$ac_c_werror_flag"
32831 || test ! -s conftest.err'
32832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32833 (eval $ac_try) 2>&5
32834 ac_status=$?
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); }; } &&
32837 { ac_try='test -s conftest$ac_exeext'
32838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32839 (eval $ac_try) 2>&5
32840 ac_status=$?
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); }; }; then
32843 eval "$as_ac_var=yes"
32844 else
32845 echo "$as_me: failed program was:" >&5
32846 sed 's/^/| /' conftest.$ac_ext >&5
32848 eval "$as_ac_var=no"
32850 rm -f conftest.err conftest.$ac_objext \
32851 conftest$ac_exeext conftest.$ac_ext
32853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32855 if test `eval echo '${'$as_ac_var'}'` = yes; then
32856 cat >>confdefs.h <<_ACEOF
32857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32858 _ACEOF
32861 done
32863 else
32865 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
32866 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
32867 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32868 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
32869 echo $ECHO_N "(cached) $ECHO_C" >&6
32870 else
32874 ac_ext=cc
32875 ac_cpp='$CXXCPP $CPPFLAGS'
32876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32880 cat >conftest.$ac_ext <<_ACEOF
32881 /* confdefs.h. */
32882 _ACEOF
32883 cat confdefs.h >>conftest.$ac_ext
32884 cat >>conftest.$ac_ext <<_ACEOF
32885 /* end confdefs.h. */
32886 #include <math.h>
32887 #ifdef HAVE_IEEEFP_H
32888 #include <ieeefp.h>
32889 #endif
32892 main ()
32894 _isinf(0);
32896 return 0;
32898 _ACEOF
32899 rm -f conftest.$ac_objext
32900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32901 (eval $ac_compile) 2>conftest.er1
32902 ac_status=$?
32903 grep -v '^ *+' conftest.er1 >conftest.err
32904 rm -f conftest.er1
32905 cat conftest.err >&5
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); } &&
32908 { ac_try='test -z "$ac_cxx_werror_flag"
32909 || test ! -s conftest.err'
32910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32911 (eval $ac_try) 2>&5
32912 ac_status=$?
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); }; } &&
32915 { ac_try='test -s conftest.$ac_objext'
32916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32917 (eval $ac_try) 2>&5
32918 ac_status=$?
32919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32920 (exit $ac_status); }; }; then
32921 glibcxx_cv_func__isinf_use=yes
32922 else
32923 echo "$as_me: failed program was:" >&5
32924 sed 's/^/| /' conftest.$ac_ext >&5
32926 glibcxx_cv_func__isinf_use=no
32928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32929 ac_ext=c
32930 ac_cpp='$CPP $CPPFLAGS'
32931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32939 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
32940 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
32942 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32944 for ac_func in _isinf
32946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32947 echo "$as_me:$LINENO: checking for $ac_func" >&5
32948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32949 if eval "test \"\${$as_ac_var+set}\" = set"; then
32950 echo $ECHO_N "(cached) $ECHO_C" >&6
32951 else
32952 if test x$gcc_no_link = xyes; then
32953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32955 { (exit 1); exit 1; }; }
32957 cat >conftest.$ac_ext <<_ACEOF
32958 /* confdefs.h. */
32959 _ACEOF
32960 cat confdefs.h >>conftest.$ac_ext
32961 cat >>conftest.$ac_ext <<_ACEOF
32962 /* end confdefs.h. */
32963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32965 #define $ac_func innocuous_$ac_func
32967 /* System header to define __stub macros and hopefully few prototypes,
32968 which can conflict with char $ac_func (); below.
32969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32970 <limits.h> exists even on freestanding compilers. */
32972 #ifdef __STDC__
32973 # include <limits.h>
32974 #else
32975 # include <assert.h>
32976 #endif
32978 #undef $ac_func
32980 /* Override any gcc2 internal prototype to avoid an error. */
32981 #ifdef __cplusplus
32982 extern "C"
32984 #endif
32985 /* We use char because int might match the return type of a gcc2
32986 builtin and then its argument prototype would still apply. */
32987 char $ac_func ();
32988 /* The GNU C library defines this for functions which it implements
32989 to always fail with ENOSYS. Some functions are actually named
32990 something starting with __ and the normal name is an alias. */
32991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32992 choke me
32993 #else
32994 char (*f) () = $ac_func;
32995 #endif
32996 #ifdef __cplusplus
32998 #endif
33001 main ()
33003 return f != $ac_func;
33005 return 0;
33007 _ACEOF
33008 rm -f conftest.$ac_objext conftest$ac_exeext
33009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33010 (eval $ac_link) 2>conftest.er1
33011 ac_status=$?
33012 grep -v '^ *+' conftest.er1 >conftest.err
33013 rm -f conftest.er1
33014 cat conftest.err >&5
33015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33016 (exit $ac_status); } &&
33017 { ac_try='test -z "$ac_c_werror_flag"
33018 || test ! -s conftest.err'
33019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33020 (eval $ac_try) 2>&5
33021 ac_status=$?
33022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33023 (exit $ac_status); }; } &&
33024 { ac_try='test -s conftest$ac_exeext'
33025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33026 (eval $ac_try) 2>&5
33027 ac_status=$?
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); }; }; then
33030 eval "$as_ac_var=yes"
33031 else
33032 echo "$as_me: failed program was:" >&5
33033 sed 's/^/| /' conftest.$ac_ext >&5
33035 eval "$as_ac_var=no"
33037 rm -f conftest.err conftest.$ac_objext \
33038 conftest$ac_exeext conftest.$ac_ext
33040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33042 if test `eval echo '${'$as_ac_var'}'` = yes; then
33043 cat >>confdefs.h <<_ACEOF
33044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33045 _ACEOF
33048 done
33058 echo "$as_me:$LINENO: checking for isnan declaration" >&5
33059 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
33060 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33061 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
33062 echo $ECHO_N "(cached) $ECHO_C" >&6
33063 else
33067 ac_ext=cc
33068 ac_cpp='$CXXCPP $CPPFLAGS'
33069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33073 cat >conftest.$ac_ext <<_ACEOF
33074 /* confdefs.h. */
33075 _ACEOF
33076 cat confdefs.h >>conftest.$ac_ext
33077 cat >>conftest.$ac_ext <<_ACEOF
33078 /* end confdefs.h. */
33079 #include <math.h>
33080 #ifdef HAVE_IEEEFP_H
33081 #include <ieeefp.h>
33082 #endif
33085 main ()
33087 isnan(0);
33089 return 0;
33091 _ACEOF
33092 rm -f conftest.$ac_objext
33093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33094 (eval $ac_compile) 2>conftest.er1
33095 ac_status=$?
33096 grep -v '^ *+' conftest.er1 >conftest.err
33097 rm -f conftest.er1
33098 cat conftest.err >&5
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); } &&
33101 { ac_try='test -z "$ac_cxx_werror_flag"
33102 || test ! -s conftest.err'
33103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33104 (eval $ac_try) 2>&5
33105 ac_status=$?
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); }; } &&
33108 { ac_try='test -s conftest.$ac_objext'
33109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33110 (eval $ac_try) 2>&5
33111 ac_status=$?
33112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113 (exit $ac_status); }; }; then
33114 glibcxx_cv_func_isnan_use=yes
33115 else
33116 echo "$as_me: failed program was:" >&5
33117 sed 's/^/| /' conftest.$ac_ext >&5
33119 glibcxx_cv_func_isnan_use=no
33121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33122 ac_ext=c
33123 ac_cpp='$CPP $CPPFLAGS'
33124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33132 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33133 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33135 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33137 for ac_func in isnan
33139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33140 echo "$as_me:$LINENO: checking for $ac_func" >&5
33141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33142 if eval "test \"\${$as_ac_var+set}\" = set"; then
33143 echo $ECHO_N "(cached) $ECHO_C" >&6
33144 else
33145 if test x$gcc_no_link = xyes; then
33146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33148 { (exit 1); exit 1; }; }
33150 cat >conftest.$ac_ext <<_ACEOF
33151 /* confdefs.h. */
33152 _ACEOF
33153 cat confdefs.h >>conftest.$ac_ext
33154 cat >>conftest.$ac_ext <<_ACEOF
33155 /* end confdefs.h. */
33156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33158 #define $ac_func innocuous_$ac_func
33160 /* System header to define __stub macros and hopefully few prototypes,
33161 which can conflict with char $ac_func (); below.
33162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33163 <limits.h> exists even on freestanding compilers. */
33165 #ifdef __STDC__
33166 # include <limits.h>
33167 #else
33168 # include <assert.h>
33169 #endif
33171 #undef $ac_func
33173 /* Override any gcc2 internal prototype to avoid an error. */
33174 #ifdef __cplusplus
33175 extern "C"
33177 #endif
33178 /* We use char because int might match the return type of a gcc2
33179 builtin and then its argument prototype would still apply. */
33180 char $ac_func ();
33181 /* The GNU C library defines this for functions which it implements
33182 to always fail with ENOSYS. Some functions are actually named
33183 something starting with __ and the normal name is an alias. */
33184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33185 choke me
33186 #else
33187 char (*f) () = $ac_func;
33188 #endif
33189 #ifdef __cplusplus
33191 #endif
33194 main ()
33196 return f != $ac_func;
33198 return 0;
33200 _ACEOF
33201 rm -f conftest.$ac_objext conftest$ac_exeext
33202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33203 (eval $ac_link) 2>conftest.er1
33204 ac_status=$?
33205 grep -v '^ *+' conftest.er1 >conftest.err
33206 rm -f conftest.er1
33207 cat conftest.err >&5
33208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209 (exit $ac_status); } &&
33210 { ac_try='test -z "$ac_c_werror_flag"
33211 || test ! -s conftest.err'
33212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33213 (eval $ac_try) 2>&5
33214 ac_status=$?
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); }; } &&
33217 { ac_try='test -s conftest$ac_exeext'
33218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219 (eval $ac_try) 2>&5
33220 ac_status=$?
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); }; }; then
33223 eval "$as_ac_var=yes"
33224 else
33225 echo "$as_me: failed program was:" >&5
33226 sed 's/^/| /' conftest.$ac_ext >&5
33228 eval "$as_ac_var=no"
33230 rm -f conftest.err conftest.$ac_objext \
33231 conftest$ac_exeext conftest.$ac_ext
33233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33235 if test `eval echo '${'$as_ac_var'}'` = yes; then
33236 cat >>confdefs.h <<_ACEOF
33237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33238 _ACEOF
33241 done
33243 else
33245 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33246 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33247 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33248 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33249 echo $ECHO_N "(cached) $ECHO_C" >&6
33250 else
33254 ac_ext=cc
33255 ac_cpp='$CXXCPP $CPPFLAGS'
33256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33260 cat >conftest.$ac_ext <<_ACEOF
33261 /* confdefs.h. */
33262 _ACEOF
33263 cat confdefs.h >>conftest.$ac_ext
33264 cat >>conftest.$ac_ext <<_ACEOF
33265 /* end confdefs.h. */
33266 #include <math.h>
33267 #ifdef HAVE_IEEEFP_H
33268 #include <ieeefp.h>
33269 #endif
33272 main ()
33274 _isnan(0);
33276 return 0;
33278 _ACEOF
33279 rm -f conftest.$ac_objext
33280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33281 (eval $ac_compile) 2>conftest.er1
33282 ac_status=$?
33283 grep -v '^ *+' conftest.er1 >conftest.err
33284 rm -f conftest.er1
33285 cat conftest.err >&5
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); } &&
33288 { ac_try='test -z "$ac_cxx_werror_flag"
33289 || test ! -s conftest.err'
33290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33291 (eval $ac_try) 2>&5
33292 ac_status=$?
33293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33294 (exit $ac_status); }; } &&
33295 { ac_try='test -s conftest.$ac_objext'
33296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33297 (eval $ac_try) 2>&5
33298 ac_status=$?
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); }; }; then
33301 glibcxx_cv_func__isnan_use=yes
33302 else
33303 echo "$as_me: failed program was:" >&5
33304 sed 's/^/| /' conftest.$ac_ext >&5
33306 glibcxx_cv_func__isnan_use=no
33308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33309 ac_ext=c
33310 ac_cpp='$CPP $CPPFLAGS'
33311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33319 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33320 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33322 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33324 for ac_func in _isnan
33326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33327 echo "$as_me:$LINENO: checking for $ac_func" >&5
33328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33329 if eval "test \"\${$as_ac_var+set}\" = set"; then
33330 echo $ECHO_N "(cached) $ECHO_C" >&6
33331 else
33332 if test x$gcc_no_link = xyes; then
33333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33335 { (exit 1); exit 1; }; }
33337 cat >conftest.$ac_ext <<_ACEOF
33338 /* confdefs.h. */
33339 _ACEOF
33340 cat confdefs.h >>conftest.$ac_ext
33341 cat >>conftest.$ac_ext <<_ACEOF
33342 /* end confdefs.h. */
33343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33345 #define $ac_func innocuous_$ac_func
33347 /* System header to define __stub macros and hopefully few prototypes,
33348 which can conflict with char $ac_func (); below.
33349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33350 <limits.h> exists even on freestanding compilers. */
33352 #ifdef __STDC__
33353 # include <limits.h>
33354 #else
33355 # include <assert.h>
33356 #endif
33358 #undef $ac_func
33360 /* Override any gcc2 internal prototype to avoid an error. */
33361 #ifdef __cplusplus
33362 extern "C"
33364 #endif
33365 /* We use char because int might match the return type of a gcc2
33366 builtin and then its argument prototype would still apply. */
33367 char $ac_func ();
33368 /* The GNU C library defines this for functions which it implements
33369 to always fail with ENOSYS. Some functions are actually named
33370 something starting with __ and the normal name is an alias. */
33371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33372 choke me
33373 #else
33374 char (*f) () = $ac_func;
33375 #endif
33376 #ifdef __cplusplus
33378 #endif
33381 main ()
33383 return f != $ac_func;
33385 return 0;
33387 _ACEOF
33388 rm -f conftest.$ac_objext conftest$ac_exeext
33389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33390 (eval $ac_link) 2>conftest.er1
33391 ac_status=$?
33392 grep -v '^ *+' conftest.er1 >conftest.err
33393 rm -f conftest.er1
33394 cat conftest.err >&5
33395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33396 (exit $ac_status); } &&
33397 { ac_try='test -z "$ac_c_werror_flag"
33398 || test ! -s conftest.err'
33399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33400 (eval $ac_try) 2>&5
33401 ac_status=$?
33402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403 (exit $ac_status); }; } &&
33404 { ac_try='test -s conftest$ac_exeext'
33405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33406 (eval $ac_try) 2>&5
33407 ac_status=$?
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); }; }; then
33410 eval "$as_ac_var=yes"
33411 else
33412 echo "$as_me: failed program was:" >&5
33413 sed 's/^/| /' conftest.$ac_ext >&5
33415 eval "$as_ac_var=no"
33417 rm -f conftest.err conftest.$ac_objext \
33418 conftest$ac_exeext conftest.$ac_ext
33420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33422 if test `eval echo '${'$as_ac_var'}'` = yes; then
33423 cat >>confdefs.h <<_ACEOF
33424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33425 _ACEOF
33428 done
33438 echo "$as_me:$LINENO: checking for finite declaration" >&5
33439 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33440 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33441 if test "${glibcxx_cv_func_finite_use+set}" = set; then
33442 echo $ECHO_N "(cached) $ECHO_C" >&6
33443 else
33447 ac_ext=cc
33448 ac_cpp='$CXXCPP $CPPFLAGS'
33449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33453 cat >conftest.$ac_ext <<_ACEOF
33454 /* confdefs.h. */
33455 _ACEOF
33456 cat confdefs.h >>conftest.$ac_ext
33457 cat >>conftest.$ac_ext <<_ACEOF
33458 /* end confdefs.h. */
33459 #include <math.h>
33460 #ifdef HAVE_IEEEFP_H
33461 #include <ieeefp.h>
33462 #endif
33465 main ()
33467 finite(0);
33469 return 0;
33471 _ACEOF
33472 rm -f conftest.$ac_objext
33473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33474 (eval $ac_compile) 2>conftest.er1
33475 ac_status=$?
33476 grep -v '^ *+' conftest.er1 >conftest.err
33477 rm -f conftest.er1
33478 cat conftest.err >&5
33479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 (exit $ac_status); } &&
33481 { ac_try='test -z "$ac_cxx_werror_flag"
33482 || test ! -s conftest.err'
33483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33484 (eval $ac_try) 2>&5
33485 ac_status=$?
33486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33487 (exit $ac_status); }; } &&
33488 { ac_try='test -s conftest.$ac_objext'
33489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33490 (eval $ac_try) 2>&5
33491 ac_status=$?
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); }; }; then
33494 glibcxx_cv_func_finite_use=yes
33495 else
33496 echo "$as_me: failed program was:" >&5
33497 sed 's/^/| /' conftest.$ac_ext >&5
33499 glibcxx_cv_func_finite_use=no
33501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33502 ac_ext=c
33503 ac_cpp='$CPP $CPPFLAGS'
33504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33513 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33515 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33517 for ac_func in finite
33519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33520 echo "$as_me:$LINENO: checking for $ac_func" >&5
33521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33522 if eval "test \"\${$as_ac_var+set}\" = set"; then
33523 echo $ECHO_N "(cached) $ECHO_C" >&6
33524 else
33525 if test x$gcc_no_link = xyes; then
33526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33528 { (exit 1); exit 1; }; }
33530 cat >conftest.$ac_ext <<_ACEOF
33531 /* confdefs.h. */
33532 _ACEOF
33533 cat confdefs.h >>conftest.$ac_ext
33534 cat >>conftest.$ac_ext <<_ACEOF
33535 /* end confdefs.h. */
33536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33538 #define $ac_func innocuous_$ac_func
33540 /* System header to define __stub macros and hopefully few prototypes,
33541 which can conflict with char $ac_func (); below.
33542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33543 <limits.h> exists even on freestanding compilers. */
33545 #ifdef __STDC__
33546 # include <limits.h>
33547 #else
33548 # include <assert.h>
33549 #endif
33551 #undef $ac_func
33553 /* Override any gcc2 internal prototype to avoid an error. */
33554 #ifdef __cplusplus
33555 extern "C"
33557 #endif
33558 /* We use char because int might match the return type of a gcc2
33559 builtin and then its argument prototype would still apply. */
33560 char $ac_func ();
33561 /* The GNU C library defines this for functions which it implements
33562 to always fail with ENOSYS. Some functions are actually named
33563 something starting with __ and the normal name is an alias. */
33564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33565 choke me
33566 #else
33567 char (*f) () = $ac_func;
33568 #endif
33569 #ifdef __cplusplus
33571 #endif
33574 main ()
33576 return f != $ac_func;
33578 return 0;
33580 _ACEOF
33581 rm -f conftest.$ac_objext conftest$ac_exeext
33582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33583 (eval $ac_link) 2>conftest.er1
33584 ac_status=$?
33585 grep -v '^ *+' conftest.er1 >conftest.err
33586 rm -f conftest.er1
33587 cat conftest.err >&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); } &&
33590 { ac_try='test -z "$ac_c_werror_flag"
33591 || test ! -s conftest.err'
33592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33593 (eval $ac_try) 2>&5
33594 ac_status=$?
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); }; } &&
33597 { ac_try='test -s conftest$ac_exeext'
33598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33599 (eval $ac_try) 2>&5
33600 ac_status=$?
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); }; }; then
33603 eval "$as_ac_var=yes"
33604 else
33605 echo "$as_me: failed program was:" >&5
33606 sed 's/^/| /' conftest.$ac_ext >&5
33608 eval "$as_ac_var=no"
33610 rm -f conftest.err conftest.$ac_objext \
33611 conftest$ac_exeext conftest.$ac_ext
33613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33615 if test `eval echo '${'$as_ac_var'}'` = yes; then
33616 cat >>confdefs.h <<_ACEOF
33617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33618 _ACEOF
33621 done
33623 else
33625 echo "$as_me:$LINENO: checking for _finite declaration" >&5
33626 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
33627 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33628 if test "${glibcxx_cv_func__finite_use+set}" = set; then
33629 echo $ECHO_N "(cached) $ECHO_C" >&6
33630 else
33634 ac_ext=cc
33635 ac_cpp='$CXXCPP $CPPFLAGS'
33636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33640 cat >conftest.$ac_ext <<_ACEOF
33641 /* confdefs.h. */
33642 _ACEOF
33643 cat confdefs.h >>conftest.$ac_ext
33644 cat >>conftest.$ac_ext <<_ACEOF
33645 /* end confdefs.h. */
33646 #include <math.h>
33647 #ifdef HAVE_IEEEFP_H
33648 #include <ieeefp.h>
33649 #endif
33652 main ()
33654 _finite(0);
33656 return 0;
33658 _ACEOF
33659 rm -f conftest.$ac_objext
33660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33661 (eval $ac_compile) 2>conftest.er1
33662 ac_status=$?
33663 grep -v '^ *+' conftest.er1 >conftest.err
33664 rm -f conftest.er1
33665 cat conftest.err >&5
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); } &&
33668 { ac_try='test -z "$ac_cxx_werror_flag"
33669 || test ! -s conftest.err'
33670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33671 (eval $ac_try) 2>&5
33672 ac_status=$?
33673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674 (exit $ac_status); }; } &&
33675 { ac_try='test -s conftest.$ac_objext'
33676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33677 (eval $ac_try) 2>&5
33678 ac_status=$?
33679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680 (exit $ac_status); }; }; then
33681 glibcxx_cv_func__finite_use=yes
33682 else
33683 echo "$as_me: failed program was:" >&5
33684 sed 's/^/| /' conftest.$ac_ext >&5
33686 glibcxx_cv_func__finite_use=no
33688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33689 ac_ext=c
33690 ac_cpp='$CPP $CPPFLAGS'
33691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33699 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
33700 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
33702 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33704 for ac_func in _finite
33706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33707 echo "$as_me:$LINENO: checking for $ac_func" >&5
33708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33709 if eval "test \"\${$as_ac_var+set}\" = set"; then
33710 echo $ECHO_N "(cached) $ECHO_C" >&6
33711 else
33712 if test x$gcc_no_link = xyes; then
33713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33715 { (exit 1); exit 1; }; }
33717 cat >conftest.$ac_ext <<_ACEOF
33718 /* confdefs.h. */
33719 _ACEOF
33720 cat confdefs.h >>conftest.$ac_ext
33721 cat >>conftest.$ac_ext <<_ACEOF
33722 /* end confdefs.h. */
33723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33725 #define $ac_func innocuous_$ac_func
33727 /* System header to define __stub macros and hopefully few prototypes,
33728 which can conflict with char $ac_func (); below.
33729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33730 <limits.h> exists even on freestanding compilers. */
33732 #ifdef __STDC__
33733 # include <limits.h>
33734 #else
33735 # include <assert.h>
33736 #endif
33738 #undef $ac_func
33740 /* Override any gcc2 internal prototype to avoid an error. */
33741 #ifdef __cplusplus
33742 extern "C"
33744 #endif
33745 /* We use char because int might match the return type of a gcc2
33746 builtin and then its argument prototype would still apply. */
33747 char $ac_func ();
33748 /* The GNU C library defines this for functions which it implements
33749 to always fail with ENOSYS. Some functions are actually named
33750 something starting with __ and the normal name is an alias. */
33751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33752 choke me
33753 #else
33754 char (*f) () = $ac_func;
33755 #endif
33756 #ifdef __cplusplus
33758 #endif
33761 main ()
33763 return f != $ac_func;
33765 return 0;
33767 _ACEOF
33768 rm -f conftest.$ac_objext conftest$ac_exeext
33769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33770 (eval $ac_link) 2>conftest.er1
33771 ac_status=$?
33772 grep -v '^ *+' conftest.er1 >conftest.err
33773 rm -f conftest.er1
33774 cat conftest.err >&5
33775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 (exit $ac_status); } &&
33777 { ac_try='test -z "$ac_c_werror_flag"
33778 || test ! -s conftest.err'
33779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33780 (eval $ac_try) 2>&5
33781 ac_status=$?
33782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33783 (exit $ac_status); }; } &&
33784 { ac_try='test -s conftest$ac_exeext'
33785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33786 (eval $ac_try) 2>&5
33787 ac_status=$?
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); }; }; then
33790 eval "$as_ac_var=yes"
33791 else
33792 echo "$as_me: failed program was:" >&5
33793 sed 's/^/| /' conftest.$ac_ext >&5
33795 eval "$as_ac_var=no"
33797 rm -f conftest.err conftest.$ac_objext \
33798 conftest$ac_exeext conftest.$ac_ext
33800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33802 if test `eval echo '${'$as_ac_var'}'` = yes; then
33803 cat >>confdefs.h <<_ACEOF
33804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33805 _ACEOF
33808 done
33818 echo "$as_me:$LINENO: checking for copysign declaration" >&5
33819 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
33820 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
33821 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
33822 echo $ECHO_N "(cached) $ECHO_C" >&6
33823 else
33827 ac_ext=cc
33828 ac_cpp='$CXXCPP $CPPFLAGS'
33829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33833 cat >conftest.$ac_ext <<_ACEOF
33834 /* confdefs.h. */
33835 _ACEOF
33836 cat confdefs.h >>conftest.$ac_ext
33837 cat >>conftest.$ac_ext <<_ACEOF
33838 /* end confdefs.h. */
33839 #include <math.h>
33841 main ()
33843 copysign(0, 0);
33845 return 0;
33847 _ACEOF
33848 rm -f conftest.$ac_objext
33849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33850 (eval $ac_compile) 2>conftest.er1
33851 ac_status=$?
33852 grep -v '^ *+' conftest.er1 >conftest.err
33853 rm -f conftest.er1
33854 cat conftest.err >&5
33855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856 (exit $ac_status); } &&
33857 { ac_try='test -z "$ac_cxx_werror_flag"
33858 || test ! -s conftest.err'
33859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33860 (eval $ac_try) 2>&5
33861 ac_status=$?
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); }; } &&
33864 { ac_try='test -s conftest.$ac_objext'
33865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33866 (eval $ac_try) 2>&5
33867 ac_status=$?
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); }; }; then
33870 glibcxx_cv_func_copysign_use=yes
33871 else
33872 echo "$as_me: failed program was:" >&5
33873 sed 's/^/| /' conftest.$ac_ext >&5
33875 glibcxx_cv_func_copysign_use=no
33877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33878 ac_ext=c
33879 ac_cpp='$CPP $CPPFLAGS'
33880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33888 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
33889 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
33891 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
33893 for ac_func in copysign
33895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33896 echo "$as_me:$LINENO: checking for $ac_func" >&5
33897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33898 if eval "test \"\${$as_ac_var+set}\" = set"; then
33899 echo $ECHO_N "(cached) $ECHO_C" >&6
33900 else
33901 if test x$gcc_no_link = xyes; then
33902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33904 { (exit 1); exit 1; }; }
33906 cat >conftest.$ac_ext <<_ACEOF
33907 /* confdefs.h. */
33908 _ACEOF
33909 cat confdefs.h >>conftest.$ac_ext
33910 cat >>conftest.$ac_ext <<_ACEOF
33911 /* end confdefs.h. */
33912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33914 #define $ac_func innocuous_$ac_func
33916 /* System header to define __stub macros and hopefully few prototypes,
33917 which can conflict with char $ac_func (); below.
33918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33919 <limits.h> exists even on freestanding compilers. */
33921 #ifdef __STDC__
33922 # include <limits.h>
33923 #else
33924 # include <assert.h>
33925 #endif
33927 #undef $ac_func
33929 /* Override any gcc2 internal prototype to avoid an error. */
33930 #ifdef __cplusplus
33931 extern "C"
33933 #endif
33934 /* We use char because int might match the return type of a gcc2
33935 builtin and then its argument prototype would still apply. */
33936 char $ac_func ();
33937 /* The GNU C library defines this for functions which it implements
33938 to always fail with ENOSYS. Some functions are actually named
33939 something starting with __ and the normal name is an alias. */
33940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33941 choke me
33942 #else
33943 char (*f) () = $ac_func;
33944 #endif
33945 #ifdef __cplusplus
33947 #endif
33950 main ()
33952 return f != $ac_func;
33954 return 0;
33956 _ACEOF
33957 rm -f conftest.$ac_objext conftest$ac_exeext
33958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33959 (eval $ac_link) 2>conftest.er1
33960 ac_status=$?
33961 grep -v '^ *+' conftest.er1 >conftest.err
33962 rm -f conftest.er1
33963 cat conftest.err >&5
33964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965 (exit $ac_status); } &&
33966 { ac_try='test -z "$ac_c_werror_flag"
33967 || test ! -s conftest.err'
33968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33969 (eval $ac_try) 2>&5
33970 ac_status=$?
33971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33972 (exit $ac_status); }; } &&
33973 { ac_try='test -s conftest$ac_exeext'
33974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33975 (eval $ac_try) 2>&5
33976 ac_status=$?
33977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978 (exit $ac_status); }; }; then
33979 eval "$as_ac_var=yes"
33980 else
33981 echo "$as_me: failed program was:" >&5
33982 sed 's/^/| /' conftest.$ac_ext >&5
33984 eval "$as_ac_var=no"
33986 rm -f conftest.err conftest.$ac_objext \
33987 conftest$ac_exeext conftest.$ac_ext
33989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33991 if test `eval echo '${'$as_ac_var'}'` = yes; then
33992 cat >>confdefs.h <<_ACEOF
33993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33994 _ACEOF
33997 done
33999 else
34001 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
34002 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
34003 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
34004 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
34005 echo $ECHO_N "(cached) $ECHO_C" >&6
34006 else
34010 ac_ext=cc
34011 ac_cpp='$CXXCPP $CPPFLAGS'
34012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34016 cat >conftest.$ac_ext <<_ACEOF
34017 /* confdefs.h. */
34018 _ACEOF
34019 cat confdefs.h >>conftest.$ac_ext
34020 cat >>conftest.$ac_ext <<_ACEOF
34021 /* end confdefs.h. */
34022 #include <math.h>
34024 main ()
34026 _copysign(0, 0);
34028 return 0;
34030 _ACEOF
34031 rm -f conftest.$ac_objext
34032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34033 (eval $ac_compile) 2>conftest.er1
34034 ac_status=$?
34035 grep -v '^ *+' conftest.er1 >conftest.err
34036 rm -f conftest.er1
34037 cat conftest.err >&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); } &&
34040 { ac_try='test -z "$ac_cxx_werror_flag"
34041 || test ! -s conftest.err'
34042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34043 (eval $ac_try) 2>&5
34044 ac_status=$?
34045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34046 (exit $ac_status); }; } &&
34047 { ac_try='test -s conftest.$ac_objext'
34048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34049 (eval $ac_try) 2>&5
34050 ac_status=$?
34051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34052 (exit $ac_status); }; }; then
34053 glibcxx_cv_func__copysign_use=yes
34054 else
34055 echo "$as_me: failed program was:" >&5
34056 sed 's/^/| /' conftest.$ac_ext >&5
34058 glibcxx_cv_func__copysign_use=no
34060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34061 ac_ext=c
34062 ac_cpp='$CPP $CPPFLAGS'
34063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34071 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
34072 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
34074 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
34076 for ac_func in _copysign
34078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34079 echo "$as_me:$LINENO: checking for $ac_func" >&5
34080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34081 if eval "test \"\${$as_ac_var+set}\" = set"; then
34082 echo $ECHO_N "(cached) $ECHO_C" >&6
34083 else
34084 if test x$gcc_no_link = xyes; then
34085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34087 { (exit 1); exit 1; }; }
34089 cat >conftest.$ac_ext <<_ACEOF
34090 /* confdefs.h. */
34091 _ACEOF
34092 cat confdefs.h >>conftest.$ac_ext
34093 cat >>conftest.$ac_ext <<_ACEOF
34094 /* end confdefs.h. */
34095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34097 #define $ac_func innocuous_$ac_func
34099 /* System header to define __stub macros and hopefully few prototypes,
34100 which can conflict with char $ac_func (); below.
34101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34102 <limits.h> exists even on freestanding compilers. */
34104 #ifdef __STDC__
34105 # include <limits.h>
34106 #else
34107 # include <assert.h>
34108 #endif
34110 #undef $ac_func
34112 /* Override any gcc2 internal prototype to avoid an error. */
34113 #ifdef __cplusplus
34114 extern "C"
34116 #endif
34117 /* We use char because int might match the return type of a gcc2
34118 builtin and then its argument prototype would still apply. */
34119 char $ac_func ();
34120 /* The GNU C library defines this for functions which it implements
34121 to always fail with ENOSYS. Some functions are actually named
34122 something starting with __ and the normal name is an alias. */
34123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34124 choke me
34125 #else
34126 char (*f) () = $ac_func;
34127 #endif
34128 #ifdef __cplusplus
34130 #endif
34133 main ()
34135 return f != $ac_func;
34137 return 0;
34139 _ACEOF
34140 rm -f conftest.$ac_objext conftest$ac_exeext
34141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34142 (eval $ac_link) 2>conftest.er1
34143 ac_status=$?
34144 grep -v '^ *+' conftest.er1 >conftest.err
34145 rm -f conftest.er1
34146 cat conftest.err >&5
34147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34148 (exit $ac_status); } &&
34149 { ac_try='test -z "$ac_c_werror_flag"
34150 || test ! -s conftest.err'
34151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34152 (eval $ac_try) 2>&5
34153 ac_status=$?
34154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34155 (exit $ac_status); }; } &&
34156 { ac_try='test -s conftest$ac_exeext'
34157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34158 (eval $ac_try) 2>&5
34159 ac_status=$?
34160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161 (exit $ac_status); }; }; then
34162 eval "$as_ac_var=yes"
34163 else
34164 echo "$as_me: failed program was:" >&5
34165 sed 's/^/| /' conftest.$ac_ext >&5
34167 eval "$as_ac_var=no"
34169 rm -f conftest.err conftest.$ac_objext \
34170 conftest$ac_exeext conftest.$ac_ext
34172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34174 if test `eval echo '${'$as_ac_var'}'` = yes; then
34175 cat >>confdefs.h <<_ACEOF
34176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34177 _ACEOF
34180 done
34190 echo "$as_me:$LINENO: checking for sincos declaration" >&5
34191 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34192 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34193 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34194 echo $ECHO_N "(cached) $ECHO_C" >&6
34195 else
34199 ac_ext=cc
34200 ac_cpp='$CXXCPP $CPPFLAGS'
34201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34205 cat >conftest.$ac_ext <<_ACEOF
34206 /* confdefs.h. */
34207 _ACEOF
34208 cat confdefs.h >>conftest.$ac_ext
34209 cat >>conftest.$ac_ext <<_ACEOF
34210 /* end confdefs.h. */
34211 #include <math.h>
34213 main ()
34215 sincos(0, 0, 0);
34217 return 0;
34219 _ACEOF
34220 rm -f conftest.$ac_objext
34221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34222 (eval $ac_compile) 2>conftest.er1
34223 ac_status=$?
34224 grep -v '^ *+' conftest.er1 >conftest.err
34225 rm -f conftest.er1
34226 cat conftest.err >&5
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); } &&
34229 { ac_try='test -z "$ac_cxx_werror_flag"
34230 || test ! -s conftest.err'
34231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34232 (eval $ac_try) 2>&5
34233 ac_status=$?
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); }; } &&
34236 { ac_try='test -s conftest.$ac_objext'
34237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34238 (eval $ac_try) 2>&5
34239 ac_status=$?
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); }; }; then
34242 glibcxx_cv_func_sincos_use=yes
34243 else
34244 echo "$as_me: failed program was:" >&5
34245 sed 's/^/| /' conftest.$ac_ext >&5
34247 glibcxx_cv_func_sincos_use=no
34249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34250 ac_ext=c
34251 ac_cpp='$CPP $CPPFLAGS'
34252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34261 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34263 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34265 for ac_func in sincos
34267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34268 echo "$as_me:$LINENO: checking for $ac_func" >&5
34269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34270 if eval "test \"\${$as_ac_var+set}\" = set"; then
34271 echo $ECHO_N "(cached) $ECHO_C" >&6
34272 else
34273 if test x$gcc_no_link = xyes; then
34274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34276 { (exit 1); exit 1; }; }
34278 cat >conftest.$ac_ext <<_ACEOF
34279 /* confdefs.h. */
34280 _ACEOF
34281 cat confdefs.h >>conftest.$ac_ext
34282 cat >>conftest.$ac_ext <<_ACEOF
34283 /* end confdefs.h. */
34284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34286 #define $ac_func innocuous_$ac_func
34288 /* System header to define __stub macros and hopefully few prototypes,
34289 which can conflict with char $ac_func (); below.
34290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34291 <limits.h> exists even on freestanding compilers. */
34293 #ifdef __STDC__
34294 # include <limits.h>
34295 #else
34296 # include <assert.h>
34297 #endif
34299 #undef $ac_func
34301 /* Override any gcc2 internal prototype to avoid an error. */
34302 #ifdef __cplusplus
34303 extern "C"
34305 #endif
34306 /* We use char because int might match the return type of a gcc2
34307 builtin and then its argument prototype would still apply. */
34308 char $ac_func ();
34309 /* The GNU C library defines this for functions which it implements
34310 to always fail with ENOSYS. Some functions are actually named
34311 something starting with __ and the normal name is an alias. */
34312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34313 choke me
34314 #else
34315 char (*f) () = $ac_func;
34316 #endif
34317 #ifdef __cplusplus
34319 #endif
34322 main ()
34324 return f != $ac_func;
34326 return 0;
34328 _ACEOF
34329 rm -f conftest.$ac_objext conftest$ac_exeext
34330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34331 (eval $ac_link) 2>conftest.er1
34332 ac_status=$?
34333 grep -v '^ *+' conftest.er1 >conftest.err
34334 rm -f conftest.er1
34335 cat conftest.err >&5
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); } &&
34338 { ac_try='test -z "$ac_c_werror_flag"
34339 || test ! -s conftest.err'
34340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34341 (eval $ac_try) 2>&5
34342 ac_status=$?
34343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34344 (exit $ac_status); }; } &&
34345 { ac_try='test -s conftest$ac_exeext'
34346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34347 (eval $ac_try) 2>&5
34348 ac_status=$?
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); }; }; then
34351 eval "$as_ac_var=yes"
34352 else
34353 echo "$as_me: failed program was:" >&5
34354 sed 's/^/| /' conftest.$ac_ext >&5
34356 eval "$as_ac_var=no"
34358 rm -f conftest.err conftest.$ac_objext \
34359 conftest$ac_exeext conftest.$ac_ext
34361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34363 if test `eval echo '${'$as_ac_var'}'` = yes; then
34364 cat >>confdefs.h <<_ACEOF
34365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34366 _ACEOF
34369 done
34371 else
34373 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34374 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34375 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34376 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34377 echo $ECHO_N "(cached) $ECHO_C" >&6
34378 else
34382 ac_ext=cc
34383 ac_cpp='$CXXCPP $CPPFLAGS'
34384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34388 cat >conftest.$ac_ext <<_ACEOF
34389 /* confdefs.h. */
34390 _ACEOF
34391 cat confdefs.h >>conftest.$ac_ext
34392 cat >>conftest.$ac_ext <<_ACEOF
34393 /* end confdefs.h. */
34394 #include <math.h>
34396 main ()
34398 _sincos(0, 0, 0);
34400 return 0;
34402 _ACEOF
34403 rm -f conftest.$ac_objext
34404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34405 (eval $ac_compile) 2>conftest.er1
34406 ac_status=$?
34407 grep -v '^ *+' conftest.er1 >conftest.err
34408 rm -f conftest.er1
34409 cat conftest.err >&5
34410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34411 (exit $ac_status); } &&
34412 { ac_try='test -z "$ac_cxx_werror_flag"
34413 || test ! -s conftest.err'
34414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34415 (eval $ac_try) 2>&5
34416 ac_status=$?
34417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34418 (exit $ac_status); }; } &&
34419 { ac_try='test -s conftest.$ac_objext'
34420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34421 (eval $ac_try) 2>&5
34422 ac_status=$?
34423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424 (exit $ac_status); }; }; then
34425 glibcxx_cv_func__sincos_use=yes
34426 else
34427 echo "$as_me: failed program was:" >&5
34428 sed 's/^/| /' conftest.$ac_ext >&5
34430 glibcxx_cv_func__sincos_use=no
34432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34433 ac_ext=c
34434 ac_cpp='$CPP $CPPFLAGS'
34435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34444 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34446 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34448 for ac_func in _sincos
34450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34451 echo "$as_me:$LINENO: checking for $ac_func" >&5
34452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34453 if eval "test \"\${$as_ac_var+set}\" = set"; then
34454 echo $ECHO_N "(cached) $ECHO_C" >&6
34455 else
34456 if test x$gcc_no_link = xyes; then
34457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34459 { (exit 1); exit 1; }; }
34461 cat >conftest.$ac_ext <<_ACEOF
34462 /* confdefs.h. */
34463 _ACEOF
34464 cat confdefs.h >>conftest.$ac_ext
34465 cat >>conftest.$ac_ext <<_ACEOF
34466 /* end confdefs.h. */
34467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34469 #define $ac_func innocuous_$ac_func
34471 /* System header to define __stub macros and hopefully few prototypes,
34472 which can conflict with char $ac_func (); below.
34473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34474 <limits.h> exists even on freestanding compilers. */
34476 #ifdef __STDC__
34477 # include <limits.h>
34478 #else
34479 # include <assert.h>
34480 #endif
34482 #undef $ac_func
34484 /* Override any gcc2 internal prototype to avoid an error. */
34485 #ifdef __cplusplus
34486 extern "C"
34488 #endif
34489 /* We use char because int might match the return type of a gcc2
34490 builtin and then its argument prototype would still apply. */
34491 char $ac_func ();
34492 /* The GNU C library defines this for functions which it implements
34493 to always fail with ENOSYS. Some functions are actually named
34494 something starting with __ and the normal name is an alias. */
34495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34496 choke me
34497 #else
34498 char (*f) () = $ac_func;
34499 #endif
34500 #ifdef __cplusplus
34502 #endif
34505 main ()
34507 return f != $ac_func;
34509 return 0;
34511 _ACEOF
34512 rm -f conftest.$ac_objext conftest$ac_exeext
34513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34514 (eval $ac_link) 2>conftest.er1
34515 ac_status=$?
34516 grep -v '^ *+' conftest.er1 >conftest.err
34517 rm -f conftest.er1
34518 cat conftest.err >&5
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); } &&
34521 { ac_try='test -z "$ac_c_werror_flag"
34522 || test ! -s conftest.err'
34523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34524 (eval $ac_try) 2>&5
34525 ac_status=$?
34526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527 (exit $ac_status); }; } &&
34528 { ac_try='test -s conftest$ac_exeext'
34529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34530 (eval $ac_try) 2>&5
34531 ac_status=$?
34532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34533 (exit $ac_status); }; }; then
34534 eval "$as_ac_var=yes"
34535 else
34536 echo "$as_me: failed program was:" >&5
34537 sed 's/^/| /' conftest.$ac_ext >&5
34539 eval "$as_ac_var=no"
34541 rm -f conftest.err conftest.$ac_objext \
34542 conftest$ac_exeext conftest.$ac_ext
34544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34546 if test `eval echo '${'$as_ac_var'}'` = yes; then
34547 cat >>confdefs.h <<_ACEOF
34548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34549 _ACEOF
34552 done
34562 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34563 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34564 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34565 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34566 echo $ECHO_N "(cached) $ECHO_C" >&6
34567 else
34571 ac_ext=cc
34572 ac_cpp='$CXXCPP $CPPFLAGS'
34573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34577 cat >conftest.$ac_ext <<_ACEOF
34578 /* confdefs.h. */
34579 _ACEOF
34580 cat confdefs.h >>conftest.$ac_ext
34581 cat >>conftest.$ac_ext <<_ACEOF
34582 /* end confdefs.h. */
34583 #include <math.h>
34584 #ifdef HAVE_IEEEFP_H
34585 #include <ieeefp.h>
34586 #endif
34589 main ()
34591 fpclass(0);
34593 return 0;
34595 _ACEOF
34596 rm -f conftest.$ac_objext
34597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34598 (eval $ac_compile) 2>conftest.er1
34599 ac_status=$?
34600 grep -v '^ *+' conftest.er1 >conftest.err
34601 rm -f conftest.er1
34602 cat conftest.err >&5
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 (exit $ac_status); } &&
34605 { ac_try='test -z "$ac_cxx_werror_flag"
34606 || test ! -s conftest.err'
34607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34608 (eval $ac_try) 2>&5
34609 ac_status=$?
34610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34611 (exit $ac_status); }; } &&
34612 { ac_try='test -s conftest.$ac_objext'
34613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34614 (eval $ac_try) 2>&5
34615 ac_status=$?
34616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34617 (exit $ac_status); }; }; then
34618 glibcxx_cv_func_fpclass_use=yes
34619 else
34620 echo "$as_me: failed program was:" >&5
34621 sed 's/^/| /' conftest.$ac_ext >&5
34623 glibcxx_cv_func_fpclass_use=no
34625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34626 ac_ext=c
34627 ac_cpp='$CPP $CPPFLAGS'
34628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34636 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
34637 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
34639 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34641 for ac_func in fpclass
34643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34644 echo "$as_me:$LINENO: checking for $ac_func" >&5
34645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34646 if eval "test \"\${$as_ac_var+set}\" = set"; then
34647 echo $ECHO_N "(cached) $ECHO_C" >&6
34648 else
34649 if test x$gcc_no_link = xyes; then
34650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34652 { (exit 1); exit 1; }; }
34654 cat >conftest.$ac_ext <<_ACEOF
34655 /* confdefs.h. */
34656 _ACEOF
34657 cat confdefs.h >>conftest.$ac_ext
34658 cat >>conftest.$ac_ext <<_ACEOF
34659 /* end confdefs.h. */
34660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34662 #define $ac_func innocuous_$ac_func
34664 /* System header to define __stub macros and hopefully few prototypes,
34665 which can conflict with char $ac_func (); below.
34666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34667 <limits.h> exists even on freestanding compilers. */
34669 #ifdef __STDC__
34670 # include <limits.h>
34671 #else
34672 # include <assert.h>
34673 #endif
34675 #undef $ac_func
34677 /* Override any gcc2 internal prototype to avoid an error. */
34678 #ifdef __cplusplus
34679 extern "C"
34681 #endif
34682 /* We use char because int might match the return type of a gcc2
34683 builtin and then its argument prototype would still apply. */
34684 char $ac_func ();
34685 /* The GNU C library defines this for functions which it implements
34686 to always fail with ENOSYS. Some functions are actually named
34687 something starting with __ and the normal name is an alias. */
34688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34689 choke me
34690 #else
34691 char (*f) () = $ac_func;
34692 #endif
34693 #ifdef __cplusplus
34695 #endif
34698 main ()
34700 return f != $ac_func;
34702 return 0;
34704 _ACEOF
34705 rm -f conftest.$ac_objext conftest$ac_exeext
34706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34707 (eval $ac_link) 2>conftest.er1
34708 ac_status=$?
34709 grep -v '^ *+' conftest.er1 >conftest.err
34710 rm -f conftest.er1
34711 cat conftest.err >&5
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); } &&
34714 { ac_try='test -z "$ac_c_werror_flag"
34715 || test ! -s conftest.err'
34716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34717 (eval $ac_try) 2>&5
34718 ac_status=$?
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); }; } &&
34721 { ac_try='test -s conftest$ac_exeext'
34722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34723 (eval $ac_try) 2>&5
34724 ac_status=$?
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); }; }; then
34727 eval "$as_ac_var=yes"
34728 else
34729 echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.$ac_ext >&5
34732 eval "$as_ac_var=no"
34734 rm -f conftest.err conftest.$ac_objext \
34735 conftest$ac_exeext conftest.$ac_ext
34737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34739 if test `eval echo '${'$as_ac_var'}'` = yes; then
34740 cat >>confdefs.h <<_ACEOF
34741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34742 _ACEOF
34745 done
34747 else
34749 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
34750 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
34751 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34752 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
34753 echo $ECHO_N "(cached) $ECHO_C" >&6
34754 else
34758 ac_ext=cc
34759 ac_cpp='$CXXCPP $CPPFLAGS'
34760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34764 cat >conftest.$ac_ext <<_ACEOF
34765 /* confdefs.h. */
34766 _ACEOF
34767 cat confdefs.h >>conftest.$ac_ext
34768 cat >>conftest.$ac_ext <<_ACEOF
34769 /* end confdefs.h. */
34770 #include <math.h>
34771 #ifdef HAVE_IEEEFP_H
34772 #include <ieeefp.h>
34773 #endif
34776 main ()
34778 _fpclass(0);
34780 return 0;
34782 _ACEOF
34783 rm -f conftest.$ac_objext
34784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34785 (eval $ac_compile) 2>conftest.er1
34786 ac_status=$?
34787 grep -v '^ *+' conftest.er1 >conftest.err
34788 rm -f conftest.er1
34789 cat conftest.err >&5
34790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34791 (exit $ac_status); } &&
34792 { ac_try='test -z "$ac_cxx_werror_flag"
34793 || test ! -s conftest.err'
34794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34795 (eval $ac_try) 2>&5
34796 ac_status=$?
34797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34798 (exit $ac_status); }; } &&
34799 { ac_try='test -s conftest.$ac_objext'
34800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34801 (eval $ac_try) 2>&5
34802 ac_status=$?
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); }; }; then
34805 glibcxx_cv_func__fpclass_use=yes
34806 else
34807 echo "$as_me: failed program was:" >&5
34808 sed 's/^/| /' conftest.$ac_ext >&5
34810 glibcxx_cv_func__fpclass_use=no
34812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34813 ac_ext=c
34814 ac_cpp='$CPP $CPPFLAGS'
34815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34823 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
34824 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
34826 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34828 for ac_func in _fpclass
34830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34831 echo "$as_me:$LINENO: checking for $ac_func" >&5
34832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34833 if eval "test \"\${$as_ac_var+set}\" = set"; then
34834 echo $ECHO_N "(cached) $ECHO_C" >&6
34835 else
34836 if test x$gcc_no_link = xyes; then
34837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34839 { (exit 1); exit 1; }; }
34841 cat >conftest.$ac_ext <<_ACEOF
34842 /* confdefs.h. */
34843 _ACEOF
34844 cat confdefs.h >>conftest.$ac_ext
34845 cat >>conftest.$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34849 #define $ac_func innocuous_$ac_func
34851 /* System header to define __stub macros and hopefully few prototypes,
34852 which can conflict with char $ac_func (); below.
34853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34854 <limits.h> exists even on freestanding compilers. */
34856 #ifdef __STDC__
34857 # include <limits.h>
34858 #else
34859 # include <assert.h>
34860 #endif
34862 #undef $ac_func
34864 /* Override any gcc2 internal prototype to avoid an error. */
34865 #ifdef __cplusplus
34866 extern "C"
34868 #endif
34869 /* We use char because int might match the return type of a gcc2
34870 builtin and then its argument prototype would still apply. */
34871 char $ac_func ();
34872 /* The GNU C library defines this for functions which it implements
34873 to always fail with ENOSYS. Some functions are actually named
34874 something starting with __ and the normal name is an alias. */
34875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34876 choke me
34877 #else
34878 char (*f) () = $ac_func;
34879 #endif
34880 #ifdef __cplusplus
34882 #endif
34885 main ()
34887 return f != $ac_func;
34889 return 0;
34891 _ACEOF
34892 rm -f conftest.$ac_objext conftest$ac_exeext
34893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34894 (eval $ac_link) 2>conftest.er1
34895 ac_status=$?
34896 grep -v '^ *+' conftest.er1 >conftest.err
34897 rm -f conftest.er1
34898 cat conftest.err >&5
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); } &&
34901 { ac_try='test -z "$ac_c_werror_flag"
34902 || test ! -s conftest.err'
34903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34904 (eval $ac_try) 2>&5
34905 ac_status=$?
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); }; } &&
34908 { ac_try='test -s conftest$ac_exeext'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34911 ac_status=$?
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; }; then
34914 eval "$as_ac_var=yes"
34915 else
34916 echo "$as_me: failed program was:" >&5
34917 sed 's/^/| /' conftest.$ac_ext >&5
34919 eval "$as_ac_var=no"
34921 rm -f conftest.err conftest.$ac_objext \
34922 conftest$ac_exeext conftest.$ac_ext
34924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34926 if test `eval echo '${'$as_ac_var'}'` = yes; then
34927 cat >>confdefs.h <<_ACEOF
34928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34929 _ACEOF
34932 done
34942 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
34943 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
34944 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34945 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
34946 echo $ECHO_N "(cached) $ECHO_C" >&6
34947 else
34951 ac_ext=cc
34952 ac_cpp='$CXXCPP $CPPFLAGS'
34953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34957 cat >conftest.$ac_ext <<_ACEOF
34958 /* confdefs.h. */
34959 _ACEOF
34960 cat confdefs.h >>conftest.$ac_ext
34961 cat >>conftest.$ac_ext <<_ACEOF
34962 /* end confdefs.h. */
34963 #include <math.h>
34964 #ifdef HAVE_IEEEFP_H
34965 #include <ieeefp.h>
34966 #endif
34969 main ()
34971 qfpclass(0);
34973 return 0;
34975 _ACEOF
34976 rm -f conftest.$ac_objext
34977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34978 (eval $ac_compile) 2>conftest.er1
34979 ac_status=$?
34980 grep -v '^ *+' conftest.er1 >conftest.err
34981 rm -f conftest.er1
34982 cat conftest.err >&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); } &&
34985 { ac_try='test -z "$ac_cxx_werror_flag"
34986 || test ! -s conftest.err'
34987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988 (eval $ac_try) 2>&5
34989 ac_status=$?
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; } &&
34992 { ac_try='test -s conftest.$ac_objext'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34995 ac_status=$?
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; }; then
34998 glibcxx_cv_func_qfpclass_use=yes
34999 else
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.$ac_ext >&5
35003 glibcxx_cv_func_qfpclass_use=no
35005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35006 ac_ext=c
35007 ac_cpp='$CPP $CPPFLAGS'
35008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35016 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
35017 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
35019 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35021 for ac_func in qfpclass
35023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35024 echo "$as_me:$LINENO: checking for $ac_func" >&5
35025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35026 if eval "test \"\${$as_ac_var+set}\" = set"; then
35027 echo $ECHO_N "(cached) $ECHO_C" >&6
35028 else
35029 if test x$gcc_no_link = xyes; then
35030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35032 { (exit 1); exit 1; }; }
35034 cat >conftest.$ac_ext <<_ACEOF
35035 /* confdefs.h. */
35036 _ACEOF
35037 cat confdefs.h >>conftest.$ac_ext
35038 cat >>conftest.$ac_ext <<_ACEOF
35039 /* end confdefs.h. */
35040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35042 #define $ac_func innocuous_$ac_func
35044 /* System header to define __stub macros and hopefully few prototypes,
35045 which can conflict with char $ac_func (); below.
35046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35047 <limits.h> exists even on freestanding compilers. */
35049 #ifdef __STDC__
35050 # include <limits.h>
35051 #else
35052 # include <assert.h>
35053 #endif
35055 #undef $ac_func
35057 /* Override any gcc2 internal prototype to avoid an error. */
35058 #ifdef __cplusplus
35059 extern "C"
35061 #endif
35062 /* We use char because int might match the return type of a gcc2
35063 builtin and then its argument prototype would still apply. */
35064 char $ac_func ();
35065 /* The GNU C library defines this for functions which it implements
35066 to always fail with ENOSYS. Some functions are actually named
35067 something starting with __ and the normal name is an alias. */
35068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35069 choke me
35070 #else
35071 char (*f) () = $ac_func;
35072 #endif
35073 #ifdef __cplusplus
35075 #endif
35078 main ()
35080 return f != $ac_func;
35082 return 0;
35084 _ACEOF
35085 rm -f conftest.$ac_objext conftest$ac_exeext
35086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35087 (eval $ac_link) 2>conftest.er1
35088 ac_status=$?
35089 grep -v '^ *+' conftest.er1 >conftest.err
35090 rm -f conftest.er1
35091 cat conftest.err >&5
35092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35093 (exit $ac_status); } &&
35094 { ac_try='test -z "$ac_c_werror_flag"
35095 || test ! -s conftest.err'
35096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35097 (eval $ac_try) 2>&5
35098 ac_status=$?
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); }; } &&
35101 { ac_try='test -s conftest$ac_exeext'
35102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35103 (eval $ac_try) 2>&5
35104 ac_status=$?
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); }; }; then
35107 eval "$as_ac_var=yes"
35108 else
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.$ac_ext >&5
35112 eval "$as_ac_var=no"
35114 rm -f conftest.err conftest.$ac_objext \
35115 conftest$ac_exeext conftest.$ac_ext
35117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35119 if test `eval echo '${'$as_ac_var'}'` = yes; then
35120 cat >>confdefs.h <<_ACEOF
35121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35122 _ACEOF
35125 done
35127 else
35129 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35130 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35131 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35132 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35133 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 else
35138 ac_ext=cc
35139 ac_cpp='$CXXCPP $CPPFLAGS'
35140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35144 cat >conftest.$ac_ext <<_ACEOF
35145 /* confdefs.h. */
35146 _ACEOF
35147 cat confdefs.h >>conftest.$ac_ext
35148 cat >>conftest.$ac_ext <<_ACEOF
35149 /* end confdefs.h. */
35150 #include <math.h>
35151 #ifdef HAVE_IEEEFP_H
35152 #include <ieeefp.h>
35153 #endif
35156 main ()
35158 _qfpclass(0);
35160 return 0;
35162 _ACEOF
35163 rm -f conftest.$ac_objext
35164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35165 (eval $ac_compile) 2>conftest.er1
35166 ac_status=$?
35167 grep -v '^ *+' conftest.er1 >conftest.err
35168 rm -f conftest.er1
35169 cat conftest.err >&5
35170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35171 (exit $ac_status); } &&
35172 { ac_try='test -z "$ac_cxx_werror_flag"
35173 || test ! -s conftest.err'
35174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35175 (eval $ac_try) 2>&5
35176 ac_status=$?
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); }; } &&
35179 { ac_try='test -s conftest.$ac_objext'
35180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35181 (eval $ac_try) 2>&5
35182 ac_status=$?
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); }; }; then
35185 glibcxx_cv_func__qfpclass_use=yes
35186 else
35187 echo "$as_me: failed program was:" >&5
35188 sed 's/^/| /' conftest.$ac_ext >&5
35190 glibcxx_cv_func__qfpclass_use=no
35192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35193 ac_ext=c
35194 ac_cpp='$CPP $CPPFLAGS'
35195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35203 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35204 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35206 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35208 for ac_func in _qfpclass
35210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35211 echo "$as_me:$LINENO: checking for $ac_func" >&5
35212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35213 if eval "test \"\${$as_ac_var+set}\" = set"; then
35214 echo $ECHO_N "(cached) $ECHO_C" >&6
35215 else
35216 if test x$gcc_no_link = xyes; then
35217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35219 { (exit 1); exit 1; }; }
35221 cat >conftest.$ac_ext <<_ACEOF
35222 /* confdefs.h. */
35223 _ACEOF
35224 cat confdefs.h >>conftest.$ac_ext
35225 cat >>conftest.$ac_ext <<_ACEOF
35226 /* end confdefs.h. */
35227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35229 #define $ac_func innocuous_$ac_func
35231 /* System header to define __stub macros and hopefully few prototypes,
35232 which can conflict with char $ac_func (); below.
35233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35234 <limits.h> exists even on freestanding compilers. */
35236 #ifdef __STDC__
35237 # include <limits.h>
35238 #else
35239 # include <assert.h>
35240 #endif
35242 #undef $ac_func
35244 /* Override any gcc2 internal prototype to avoid an error. */
35245 #ifdef __cplusplus
35246 extern "C"
35248 #endif
35249 /* We use char because int might match the return type of a gcc2
35250 builtin and then its argument prototype would still apply. */
35251 char $ac_func ();
35252 /* The GNU C library defines this for functions which it implements
35253 to always fail with ENOSYS. Some functions are actually named
35254 something starting with __ and the normal name is an alias. */
35255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35256 choke me
35257 #else
35258 char (*f) () = $ac_func;
35259 #endif
35260 #ifdef __cplusplus
35262 #endif
35265 main ()
35267 return f != $ac_func;
35269 return 0;
35271 _ACEOF
35272 rm -f conftest.$ac_objext conftest$ac_exeext
35273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35274 (eval $ac_link) 2>conftest.er1
35275 ac_status=$?
35276 grep -v '^ *+' conftest.er1 >conftest.err
35277 rm -f conftest.er1
35278 cat conftest.err >&5
35279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35280 (exit $ac_status); } &&
35281 { ac_try='test -z "$ac_c_werror_flag"
35282 || test ! -s conftest.err'
35283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35284 (eval $ac_try) 2>&5
35285 ac_status=$?
35286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35287 (exit $ac_status); }; } &&
35288 { ac_try='test -s conftest$ac_exeext'
35289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35290 (eval $ac_try) 2>&5
35291 ac_status=$?
35292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35293 (exit $ac_status); }; }; then
35294 eval "$as_ac_var=yes"
35295 else
35296 echo "$as_me: failed program was:" >&5
35297 sed 's/^/| /' conftest.$ac_ext >&5
35299 eval "$as_ac_var=no"
35301 rm -f conftest.err conftest.$ac_objext \
35302 conftest$ac_exeext conftest.$ac_ext
35304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35306 if test `eval echo '${'$as_ac_var'}'` = yes; then
35307 cat >>confdefs.h <<_ACEOF
35308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35309 _ACEOF
35312 done
35322 echo "$as_me:$LINENO: checking for hypot declaration" >&5
35323 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35324 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35325 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35326 echo $ECHO_N "(cached) $ECHO_C" >&6
35327 else
35331 ac_ext=cc
35332 ac_cpp='$CXXCPP $CPPFLAGS'
35333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35337 cat >conftest.$ac_ext <<_ACEOF
35338 /* confdefs.h. */
35339 _ACEOF
35340 cat confdefs.h >>conftest.$ac_ext
35341 cat >>conftest.$ac_ext <<_ACEOF
35342 /* end confdefs.h. */
35343 #include <math.h>
35345 main ()
35347 hypot(0, 0);
35349 return 0;
35351 _ACEOF
35352 rm -f conftest.$ac_objext
35353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35354 (eval $ac_compile) 2>conftest.er1
35355 ac_status=$?
35356 grep -v '^ *+' conftest.er1 >conftest.err
35357 rm -f conftest.er1
35358 cat conftest.err >&5
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); } &&
35361 { ac_try='test -z "$ac_cxx_werror_flag"
35362 || test ! -s conftest.err'
35363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35364 (eval $ac_try) 2>&5
35365 ac_status=$?
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); }; } &&
35368 { ac_try='test -s conftest.$ac_objext'
35369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35370 (eval $ac_try) 2>&5
35371 ac_status=$?
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); }; }; then
35374 glibcxx_cv_func_hypot_use=yes
35375 else
35376 echo "$as_me: failed program was:" >&5
35377 sed 's/^/| /' conftest.$ac_ext >&5
35379 glibcxx_cv_func_hypot_use=no
35381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35382 ac_ext=c
35383 ac_cpp='$CPP $CPPFLAGS'
35384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35392 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35393 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35395 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35397 for ac_func in hypot
35399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35400 echo "$as_me:$LINENO: checking for $ac_func" >&5
35401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35402 if eval "test \"\${$as_ac_var+set}\" = set"; then
35403 echo $ECHO_N "(cached) $ECHO_C" >&6
35404 else
35405 if test x$gcc_no_link = xyes; then
35406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35408 { (exit 1); exit 1; }; }
35410 cat >conftest.$ac_ext <<_ACEOF
35411 /* confdefs.h. */
35412 _ACEOF
35413 cat confdefs.h >>conftest.$ac_ext
35414 cat >>conftest.$ac_ext <<_ACEOF
35415 /* end confdefs.h. */
35416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35418 #define $ac_func innocuous_$ac_func
35420 /* System header to define __stub macros and hopefully few prototypes,
35421 which can conflict with char $ac_func (); below.
35422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35423 <limits.h> exists even on freestanding compilers. */
35425 #ifdef __STDC__
35426 # include <limits.h>
35427 #else
35428 # include <assert.h>
35429 #endif
35431 #undef $ac_func
35433 /* Override any gcc2 internal prototype to avoid an error. */
35434 #ifdef __cplusplus
35435 extern "C"
35437 #endif
35438 /* We use char because int might match the return type of a gcc2
35439 builtin and then its argument prototype would still apply. */
35440 char $ac_func ();
35441 /* The GNU C library defines this for functions which it implements
35442 to always fail with ENOSYS. Some functions are actually named
35443 something starting with __ and the normal name is an alias. */
35444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35445 choke me
35446 #else
35447 char (*f) () = $ac_func;
35448 #endif
35449 #ifdef __cplusplus
35451 #endif
35454 main ()
35456 return f != $ac_func;
35458 return 0;
35460 _ACEOF
35461 rm -f conftest.$ac_objext conftest$ac_exeext
35462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35463 (eval $ac_link) 2>conftest.er1
35464 ac_status=$?
35465 grep -v '^ *+' conftest.er1 >conftest.err
35466 rm -f conftest.er1
35467 cat conftest.err >&5
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); } &&
35470 { ac_try='test -z "$ac_c_werror_flag"
35471 || test ! -s conftest.err'
35472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35473 (eval $ac_try) 2>&5
35474 ac_status=$?
35475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35476 (exit $ac_status); }; } &&
35477 { ac_try='test -s conftest$ac_exeext'
35478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35479 (eval $ac_try) 2>&5
35480 ac_status=$?
35481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35482 (exit $ac_status); }; }; then
35483 eval "$as_ac_var=yes"
35484 else
35485 echo "$as_me: failed program was:" >&5
35486 sed 's/^/| /' conftest.$ac_ext >&5
35488 eval "$as_ac_var=no"
35490 rm -f conftest.err conftest.$ac_objext \
35491 conftest$ac_exeext conftest.$ac_ext
35493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35495 if test `eval echo '${'$as_ac_var'}'` = yes; then
35496 cat >>confdefs.h <<_ACEOF
35497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35498 _ACEOF
35501 done
35503 else
35505 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35506 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35507 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35508 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35509 echo $ECHO_N "(cached) $ECHO_C" >&6
35510 else
35514 ac_ext=cc
35515 ac_cpp='$CXXCPP $CPPFLAGS'
35516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35520 cat >conftest.$ac_ext <<_ACEOF
35521 /* confdefs.h. */
35522 _ACEOF
35523 cat confdefs.h >>conftest.$ac_ext
35524 cat >>conftest.$ac_ext <<_ACEOF
35525 /* end confdefs.h. */
35526 #include <math.h>
35528 main ()
35530 _hypot(0, 0);
35532 return 0;
35534 _ACEOF
35535 rm -f conftest.$ac_objext
35536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35537 (eval $ac_compile) 2>conftest.er1
35538 ac_status=$?
35539 grep -v '^ *+' conftest.er1 >conftest.err
35540 rm -f conftest.er1
35541 cat conftest.err >&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); } &&
35544 { ac_try='test -z "$ac_cxx_werror_flag"
35545 || test ! -s conftest.err'
35546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35547 (eval $ac_try) 2>&5
35548 ac_status=$?
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); }; } &&
35551 { ac_try='test -s conftest.$ac_objext'
35552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35553 (eval $ac_try) 2>&5
35554 ac_status=$?
35555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556 (exit $ac_status); }; }; then
35557 glibcxx_cv_func__hypot_use=yes
35558 else
35559 echo "$as_me: failed program was:" >&5
35560 sed 's/^/| /' conftest.$ac_ext >&5
35562 glibcxx_cv_func__hypot_use=no
35564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35565 ac_ext=c
35566 ac_cpp='$CPP $CPPFLAGS'
35567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35575 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35576 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35578 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35580 for ac_func in _hypot
35582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35583 echo "$as_me:$LINENO: checking for $ac_func" >&5
35584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35585 if eval "test \"\${$as_ac_var+set}\" = set"; then
35586 echo $ECHO_N "(cached) $ECHO_C" >&6
35587 else
35588 if test x$gcc_no_link = xyes; then
35589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35591 { (exit 1); exit 1; }; }
35593 cat >conftest.$ac_ext <<_ACEOF
35594 /* confdefs.h. */
35595 _ACEOF
35596 cat confdefs.h >>conftest.$ac_ext
35597 cat >>conftest.$ac_ext <<_ACEOF
35598 /* end confdefs.h. */
35599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35601 #define $ac_func innocuous_$ac_func
35603 /* System header to define __stub macros and hopefully few prototypes,
35604 which can conflict with char $ac_func (); below.
35605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35606 <limits.h> exists even on freestanding compilers. */
35608 #ifdef __STDC__
35609 # include <limits.h>
35610 #else
35611 # include <assert.h>
35612 #endif
35614 #undef $ac_func
35616 /* Override any gcc2 internal prototype to avoid an error. */
35617 #ifdef __cplusplus
35618 extern "C"
35620 #endif
35621 /* We use char because int might match the return type of a gcc2
35622 builtin and then its argument prototype would still apply. */
35623 char $ac_func ();
35624 /* The GNU C library defines this for functions which it implements
35625 to always fail with ENOSYS. Some functions are actually named
35626 something starting with __ and the normal name is an alias. */
35627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35628 choke me
35629 #else
35630 char (*f) () = $ac_func;
35631 #endif
35632 #ifdef __cplusplus
35634 #endif
35637 main ()
35639 return f != $ac_func;
35641 return 0;
35643 _ACEOF
35644 rm -f conftest.$ac_objext conftest$ac_exeext
35645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35646 (eval $ac_link) 2>conftest.er1
35647 ac_status=$?
35648 grep -v '^ *+' conftest.er1 >conftest.err
35649 rm -f conftest.er1
35650 cat conftest.err >&5
35651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35652 (exit $ac_status); } &&
35653 { ac_try='test -z "$ac_c_werror_flag"
35654 || test ! -s conftest.err'
35655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35656 (eval $ac_try) 2>&5
35657 ac_status=$?
35658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35659 (exit $ac_status); }; } &&
35660 { ac_try='test -s conftest$ac_exeext'
35661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35662 (eval $ac_try) 2>&5
35663 ac_status=$?
35664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665 (exit $ac_status); }; }; then
35666 eval "$as_ac_var=yes"
35667 else
35668 echo "$as_me: failed program was:" >&5
35669 sed 's/^/| /' conftest.$ac_ext >&5
35671 eval "$as_ac_var=no"
35673 rm -f conftest.err conftest.$ac_objext \
35674 conftest$ac_exeext conftest.$ac_ext
35676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35678 if test `eval echo '${'$as_ac_var'}'` = yes; then
35679 cat >>confdefs.h <<_ACEOF
35680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35681 _ACEOF
35684 done
35694 echo "$as_me:$LINENO: checking for float trig functions" >&5
35695 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
35696 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
35697 echo $ECHO_N "(cached) $ECHO_C" >&6
35698 else
35702 ac_ext=cc
35703 ac_cpp='$CXXCPP $CPPFLAGS'
35704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35708 cat >conftest.$ac_ext <<_ACEOF
35709 /* confdefs.h. */
35710 _ACEOF
35711 cat confdefs.h >>conftest.$ac_ext
35712 cat >>conftest.$ac_ext <<_ACEOF
35713 /* end confdefs.h. */
35714 #include <math.h>
35716 main ()
35718 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35720 return 0;
35722 _ACEOF
35723 rm -f conftest.$ac_objext
35724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35725 (eval $ac_compile) 2>conftest.er1
35726 ac_status=$?
35727 grep -v '^ *+' conftest.er1 >conftest.err
35728 rm -f conftest.er1
35729 cat conftest.err >&5
35730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35731 (exit $ac_status); } &&
35732 { ac_try='test -z "$ac_cxx_werror_flag"
35733 || test ! -s conftest.err'
35734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35735 (eval $ac_try) 2>&5
35736 ac_status=$?
35737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35738 (exit $ac_status); }; } &&
35739 { ac_try='test -s conftest.$ac_objext'
35740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35741 (eval $ac_try) 2>&5
35742 ac_status=$?
35743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744 (exit $ac_status); }; }; then
35745 glibcxx_cv_func_float_trig_use=yes
35746 else
35747 echo "$as_me: failed program was:" >&5
35748 sed 's/^/| /' conftest.$ac_ext >&5
35750 glibcxx_cv_func_float_trig_use=no
35752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35753 ac_ext=c
35754 ac_cpp='$CPP $CPPFLAGS'
35755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35761 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
35762 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
35763 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35773 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35776 echo "$as_me:$LINENO: checking for $ac_func" >&5
35777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35778 if eval "test \"\${$as_ac_var+set}\" = set"; then
35779 echo $ECHO_N "(cached) $ECHO_C" >&6
35780 else
35781 if test x$gcc_no_link = xyes; then
35782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35784 { (exit 1); exit 1; }; }
35786 cat >conftest.$ac_ext <<_ACEOF
35787 /* confdefs.h. */
35788 _ACEOF
35789 cat confdefs.h >>conftest.$ac_ext
35790 cat >>conftest.$ac_ext <<_ACEOF
35791 /* end confdefs.h. */
35792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35794 #define $ac_func innocuous_$ac_func
35796 /* System header to define __stub macros and hopefully few prototypes,
35797 which can conflict with char $ac_func (); below.
35798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35799 <limits.h> exists even on freestanding compilers. */
35801 #ifdef __STDC__
35802 # include <limits.h>
35803 #else
35804 # include <assert.h>
35805 #endif
35807 #undef $ac_func
35809 /* Override any gcc2 internal prototype to avoid an error. */
35810 #ifdef __cplusplus
35811 extern "C"
35813 #endif
35814 /* We use char because int might match the return type of a gcc2
35815 builtin and then its argument prototype would still apply. */
35816 char $ac_func ();
35817 /* The GNU C library defines this for functions which it implements
35818 to always fail with ENOSYS. Some functions are actually named
35819 something starting with __ and the normal name is an alias. */
35820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35821 choke me
35822 #else
35823 char (*f) () = $ac_func;
35824 #endif
35825 #ifdef __cplusplus
35827 #endif
35830 main ()
35832 return f != $ac_func;
35834 return 0;
35836 _ACEOF
35837 rm -f conftest.$ac_objext conftest$ac_exeext
35838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35839 (eval $ac_link) 2>conftest.er1
35840 ac_status=$?
35841 grep -v '^ *+' conftest.er1 >conftest.err
35842 rm -f conftest.er1
35843 cat conftest.err >&5
35844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35845 (exit $ac_status); } &&
35846 { ac_try='test -z "$ac_c_werror_flag"
35847 || test ! -s conftest.err'
35848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35849 (eval $ac_try) 2>&5
35850 ac_status=$?
35851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35852 (exit $ac_status); }; } &&
35853 { ac_try='test -s conftest$ac_exeext'
35854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35855 (eval $ac_try) 2>&5
35856 ac_status=$?
35857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35858 (exit $ac_status); }; }; then
35859 eval "$as_ac_var=yes"
35860 else
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.$ac_ext >&5
35864 eval "$as_ac_var=no"
35866 rm -f conftest.err conftest.$ac_objext \
35867 conftest$ac_exeext conftest.$ac_ext
35869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35871 if test `eval echo '${'$as_ac_var'}'` = yes; then
35872 cat >>confdefs.h <<_ACEOF
35873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35874 _ACEOF
35877 done
35879 else
35880 echo "$as_me:$LINENO: checking for _float trig functions" >&5
35881 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
35882 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
35883 echo $ECHO_N "(cached) $ECHO_C" >&6
35884 else
35888 ac_ext=cc
35889 ac_cpp='$CXXCPP $CPPFLAGS'
35890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35894 cat >conftest.$ac_ext <<_ACEOF
35895 /* confdefs.h. */
35896 _ACEOF
35897 cat confdefs.h >>conftest.$ac_ext
35898 cat >>conftest.$ac_ext <<_ACEOF
35899 /* end confdefs.h. */
35900 #include <math.h>
35902 main ()
35904 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35906 return 0;
35908 _ACEOF
35909 rm -f conftest.$ac_objext
35910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35911 (eval $ac_compile) 2>conftest.er1
35912 ac_status=$?
35913 grep -v '^ *+' conftest.er1 >conftest.err
35914 rm -f conftest.er1
35915 cat conftest.err >&5
35916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35917 (exit $ac_status); } &&
35918 { ac_try='test -z "$ac_cxx_werror_flag"
35919 || test ! -s conftest.err'
35920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35921 (eval $ac_try) 2>&5
35922 ac_status=$?
35923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 (exit $ac_status); }; } &&
35925 { ac_try='test -s conftest.$ac_objext'
35926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35927 (eval $ac_try) 2>&5
35928 ac_status=$?
35929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930 (exit $ac_status); }; }; then
35931 glibcxx_cv_func__float_trig_use=yes
35932 else
35933 echo "$as_me: failed program was:" >&5
35934 sed 's/^/| /' conftest.$ac_ext >&5
35936 glibcxx_cv_func__float_trig_use=no
35938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35939 ac_ext=c
35940 ac_cpp='$CPP $CPPFLAGS'
35941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
35948 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
35949 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35959 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35962 echo "$as_me:$LINENO: checking for $ac_func" >&5
35963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35964 if eval "test \"\${$as_ac_var+set}\" = set"; then
35965 echo $ECHO_N "(cached) $ECHO_C" >&6
35966 else
35967 if test x$gcc_no_link = xyes; then
35968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35970 { (exit 1); exit 1; }; }
35972 cat >conftest.$ac_ext <<_ACEOF
35973 /* confdefs.h. */
35974 _ACEOF
35975 cat confdefs.h >>conftest.$ac_ext
35976 cat >>conftest.$ac_ext <<_ACEOF
35977 /* end confdefs.h. */
35978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35980 #define $ac_func innocuous_$ac_func
35982 /* System header to define __stub macros and hopefully few prototypes,
35983 which can conflict with char $ac_func (); below.
35984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35985 <limits.h> exists even on freestanding compilers. */
35987 #ifdef __STDC__
35988 # include <limits.h>
35989 #else
35990 # include <assert.h>
35991 #endif
35993 #undef $ac_func
35995 /* Override any gcc2 internal prototype to avoid an error. */
35996 #ifdef __cplusplus
35997 extern "C"
35999 #endif
36000 /* We use char because int might match the return type of a gcc2
36001 builtin and then its argument prototype would still apply. */
36002 char $ac_func ();
36003 /* The GNU C library defines this for functions which it implements
36004 to always fail with ENOSYS. Some functions are actually named
36005 something starting with __ and the normal name is an alias. */
36006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36007 choke me
36008 #else
36009 char (*f) () = $ac_func;
36010 #endif
36011 #ifdef __cplusplus
36013 #endif
36016 main ()
36018 return f != $ac_func;
36020 return 0;
36022 _ACEOF
36023 rm -f conftest.$ac_objext conftest$ac_exeext
36024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36025 (eval $ac_link) 2>conftest.er1
36026 ac_status=$?
36027 grep -v '^ *+' conftest.er1 >conftest.err
36028 rm -f conftest.er1
36029 cat conftest.err >&5
36030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031 (exit $ac_status); } &&
36032 { ac_try='test -z "$ac_c_werror_flag"
36033 || test ! -s conftest.err'
36034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36035 (eval $ac_try) 2>&5
36036 ac_status=$?
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); }; } &&
36039 { ac_try='test -s conftest$ac_exeext'
36040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36041 (eval $ac_try) 2>&5
36042 ac_status=$?
36043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36044 (exit $ac_status); }; }; then
36045 eval "$as_ac_var=yes"
36046 else
36047 echo "$as_me: failed program was:" >&5
36048 sed 's/^/| /' conftest.$ac_ext >&5
36050 eval "$as_ac_var=no"
36052 rm -f conftest.err conftest.$ac_objext \
36053 conftest$ac_exeext conftest.$ac_ext
36055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36057 if test `eval echo '${'$as_ac_var'}'` = yes; then
36058 cat >>confdefs.h <<_ACEOF
36059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36060 _ACEOF
36063 done
36081 echo "$as_me:$LINENO: checking for float round functions" >&5
36082 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
36083 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
36084 echo $ECHO_N "(cached) $ECHO_C" >&6
36085 else
36089 ac_ext=cc
36090 ac_cpp='$CXXCPP $CPPFLAGS'
36091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36095 cat >conftest.$ac_ext <<_ACEOF
36096 /* confdefs.h. */
36097 _ACEOF
36098 cat confdefs.h >>conftest.$ac_ext
36099 cat >>conftest.$ac_ext <<_ACEOF
36100 /* end confdefs.h. */
36101 #include <math.h>
36103 main ()
36105 ceilf (0); floorf (0);
36107 return 0;
36109 _ACEOF
36110 rm -f conftest.$ac_objext
36111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36112 (eval $ac_compile) 2>conftest.er1
36113 ac_status=$?
36114 grep -v '^ *+' conftest.er1 >conftest.err
36115 rm -f conftest.er1
36116 cat conftest.err >&5
36117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36118 (exit $ac_status); } &&
36119 { ac_try='test -z "$ac_cxx_werror_flag"
36120 || test ! -s conftest.err'
36121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36122 (eval $ac_try) 2>&5
36123 ac_status=$?
36124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36125 (exit $ac_status); }; } &&
36126 { ac_try='test -s conftest.$ac_objext'
36127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36128 (eval $ac_try) 2>&5
36129 ac_status=$?
36130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36131 (exit $ac_status); }; }; then
36132 glibcxx_cv_func_float_round_use=yes
36133 else
36134 echo "$as_me: failed program was:" >&5
36135 sed 's/^/| /' conftest.$ac_ext >&5
36137 glibcxx_cv_func_float_round_use=no
36139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36140 ac_ext=c
36141 ac_cpp='$CPP $CPPFLAGS'
36142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36148 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36149 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36150 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36153 for ac_func in ceilf floorf
36155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36156 echo "$as_me:$LINENO: checking for $ac_func" >&5
36157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36158 if eval "test \"\${$as_ac_var+set}\" = set"; then
36159 echo $ECHO_N "(cached) $ECHO_C" >&6
36160 else
36161 if test x$gcc_no_link = xyes; then
36162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36164 { (exit 1); exit 1; }; }
36166 cat >conftest.$ac_ext <<_ACEOF
36167 /* confdefs.h. */
36168 _ACEOF
36169 cat confdefs.h >>conftest.$ac_ext
36170 cat >>conftest.$ac_ext <<_ACEOF
36171 /* end confdefs.h. */
36172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36174 #define $ac_func innocuous_$ac_func
36176 /* System header to define __stub macros and hopefully few prototypes,
36177 which can conflict with char $ac_func (); below.
36178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36179 <limits.h> exists even on freestanding compilers. */
36181 #ifdef __STDC__
36182 # include <limits.h>
36183 #else
36184 # include <assert.h>
36185 #endif
36187 #undef $ac_func
36189 /* Override any gcc2 internal prototype to avoid an error. */
36190 #ifdef __cplusplus
36191 extern "C"
36193 #endif
36194 /* We use char because int might match the return type of a gcc2
36195 builtin and then its argument prototype would still apply. */
36196 char $ac_func ();
36197 /* The GNU C library defines this for functions which it implements
36198 to always fail with ENOSYS. Some functions are actually named
36199 something starting with __ and the normal name is an alias. */
36200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36201 choke me
36202 #else
36203 char (*f) () = $ac_func;
36204 #endif
36205 #ifdef __cplusplus
36207 #endif
36210 main ()
36212 return f != $ac_func;
36214 return 0;
36216 _ACEOF
36217 rm -f conftest.$ac_objext conftest$ac_exeext
36218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36219 (eval $ac_link) 2>conftest.er1
36220 ac_status=$?
36221 grep -v '^ *+' conftest.er1 >conftest.err
36222 rm -f conftest.er1
36223 cat conftest.err >&5
36224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36225 (exit $ac_status); } &&
36226 { ac_try='test -z "$ac_c_werror_flag"
36227 || test ! -s conftest.err'
36228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36229 (eval $ac_try) 2>&5
36230 ac_status=$?
36231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36232 (exit $ac_status); }; } &&
36233 { ac_try='test -s conftest$ac_exeext'
36234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36235 (eval $ac_try) 2>&5
36236 ac_status=$?
36237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238 (exit $ac_status); }; }; then
36239 eval "$as_ac_var=yes"
36240 else
36241 echo "$as_me: failed program was:" >&5
36242 sed 's/^/| /' conftest.$ac_ext >&5
36244 eval "$as_ac_var=no"
36246 rm -f conftest.err conftest.$ac_objext \
36247 conftest$ac_exeext conftest.$ac_ext
36249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36251 if test `eval echo '${'$as_ac_var'}'` = yes; then
36252 cat >>confdefs.h <<_ACEOF
36253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36254 _ACEOF
36257 done
36259 else
36260 echo "$as_me:$LINENO: checking for _float round functions" >&5
36261 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36262 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36263 echo $ECHO_N "(cached) $ECHO_C" >&6
36264 else
36268 ac_ext=cc
36269 ac_cpp='$CXXCPP $CPPFLAGS'
36270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36274 cat >conftest.$ac_ext <<_ACEOF
36275 /* confdefs.h. */
36276 _ACEOF
36277 cat confdefs.h >>conftest.$ac_ext
36278 cat >>conftest.$ac_ext <<_ACEOF
36279 /* end confdefs.h. */
36280 #include <math.h>
36282 main ()
36284 _ceilf (0); _floorf (0);
36286 return 0;
36288 _ACEOF
36289 rm -f conftest.$ac_objext
36290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36291 (eval $ac_compile) 2>conftest.er1
36292 ac_status=$?
36293 grep -v '^ *+' conftest.er1 >conftest.err
36294 rm -f conftest.er1
36295 cat conftest.err >&5
36296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36297 (exit $ac_status); } &&
36298 { ac_try='test -z "$ac_cxx_werror_flag"
36299 || test ! -s conftest.err'
36300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36301 (eval $ac_try) 2>&5
36302 ac_status=$?
36303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36304 (exit $ac_status); }; } &&
36305 { ac_try='test -s conftest.$ac_objext'
36306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36307 (eval $ac_try) 2>&5
36308 ac_status=$?
36309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310 (exit $ac_status); }; }; then
36311 glibcxx_cv_func__float_round_use=yes
36312 else
36313 echo "$as_me: failed program was:" >&5
36314 sed 's/^/| /' conftest.$ac_ext >&5
36316 glibcxx_cv_func__float_round_use=no
36318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36319 ac_ext=c
36320 ac_cpp='$CPP $CPPFLAGS'
36321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36327 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36328 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36329 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36332 for ac_func in _ceilf _floorf
36334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36335 echo "$as_me:$LINENO: checking for $ac_func" >&5
36336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36337 if eval "test \"\${$as_ac_var+set}\" = set"; then
36338 echo $ECHO_N "(cached) $ECHO_C" >&6
36339 else
36340 if test x$gcc_no_link = xyes; then
36341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36343 { (exit 1); exit 1; }; }
36345 cat >conftest.$ac_ext <<_ACEOF
36346 /* confdefs.h. */
36347 _ACEOF
36348 cat confdefs.h >>conftest.$ac_ext
36349 cat >>conftest.$ac_ext <<_ACEOF
36350 /* end confdefs.h. */
36351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36353 #define $ac_func innocuous_$ac_func
36355 /* System header to define __stub macros and hopefully few prototypes,
36356 which can conflict with char $ac_func (); below.
36357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36358 <limits.h> exists even on freestanding compilers. */
36360 #ifdef __STDC__
36361 # include <limits.h>
36362 #else
36363 # include <assert.h>
36364 #endif
36366 #undef $ac_func
36368 /* Override any gcc2 internal prototype to avoid an error. */
36369 #ifdef __cplusplus
36370 extern "C"
36372 #endif
36373 /* We use char because int might match the return type of a gcc2
36374 builtin and then its argument prototype would still apply. */
36375 char $ac_func ();
36376 /* The GNU C library defines this for functions which it implements
36377 to always fail with ENOSYS. Some functions are actually named
36378 something starting with __ and the normal name is an alias. */
36379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36380 choke me
36381 #else
36382 char (*f) () = $ac_func;
36383 #endif
36384 #ifdef __cplusplus
36386 #endif
36389 main ()
36391 return f != $ac_func;
36393 return 0;
36395 _ACEOF
36396 rm -f conftest.$ac_objext conftest$ac_exeext
36397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36398 (eval $ac_link) 2>conftest.er1
36399 ac_status=$?
36400 grep -v '^ *+' conftest.er1 >conftest.err
36401 rm -f conftest.er1
36402 cat conftest.err >&5
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); } &&
36405 { ac_try='test -z "$ac_c_werror_flag"
36406 || test ! -s conftest.err'
36407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36408 (eval $ac_try) 2>&5
36409 ac_status=$?
36410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36411 (exit $ac_status); }; } &&
36412 { ac_try='test -s conftest$ac_exeext'
36413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36414 (eval $ac_try) 2>&5
36415 ac_status=$?
36416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36417 (exit $ac_status); }; }; then
36418 eval "$as_ac_var=yes"
36419 else
36420 echo "$as_me: failed program was:" >&5
36421 sed 's/^/| /' conftest.$ac_ext >&5
36423 eval "$as_ac_var=no"
36425 rm -f conftest.err conftest.$ac_objext \
36426 conftest$ac_exeext conftest.$ac_ext
36428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36430 if test `eval echo '${'$as_ac_var'}'` = yes; then
36431 cat >>confdefs.h <<_ACEOF
36432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36433 _ACEOF
36436 done
36448 echo "$as_me:$LINENO: checking for expf declaration" >&5
36449 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36450 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36451 if test "${glibcxx_cv_func_expf_use+set}" = set; then
36452 echo $ECHO_N "(cached) $ECHO_C" >&6
36453 else
36457 ac_ext=cc
36458 ac_cpp='$CXXCPP $CPPFLAGS'
36459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36463 cat >conftest.$ac_ext <<_ACEOF
36464 /* confdefs.h. */
36465 _ACEOF
36466 cat confdefs.h >>conftest.$ac_ext
36467 cat >>conftest.$ac_ext <<_ACEOF
36468 /* end confdefs.h. */
36469 #include <math.h>
36470 #ifdef HAVE_IEEEFP_H
36471 #include <ieeefp.h>
36472 #endif
36475 main ()
36477 expf(0);
36479 return 0;
36481 _ACEOF
36482 rm -f conftest.$ac_objext
36483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36484 (eval $ac_compile) 2>conftest.er1
36485 ac_status=$?
36486 grep -v '^ *+' conftest.er1 >conftest.err
36487 rm -f conftest.er1
36488 cat conftest.err >&5
36489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36490 (exit $ac_status); } &&
36491 { ac_try='test -z "$ac_cxx_werror_flag"
36492 || test ! -s conftest.err'
36493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36494 (eval $ac_try) 2>&5
36495 ac_status=$?
36496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36497 (exit $ac_status); }; } &&
36498 { ac_try='test -s conftest.$ac_objext'
36499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36500 (eval $ac_try) 2>&5
36501 ac_status=$?
36502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36503 (exit $ac_status); }; }; then
36504 glibcxx_cv_func_expf_use=yes
36505 else
36506 echo "$as_me: failed program was:" >&5
36507 sed 's/^/| /' conftest.$ac_ext >&5
36509 glibcxx_cv_func_expf_use=no
36511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36512 ac_ext=c
36513 ac_cpp='$CPP $CPPFLAGS'
36514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36523 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36525 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36527 for ac_func in expf
36529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36530 echo "$as_me:$LINENO: checking for $ac_func" >&5
36531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36532 if eval "test \"\${$as_ac_var+set}\" = set"; then
36533 echo $ECHO_N "(cached) $ECHO_C" >&6
36534 else
36535 if test x$gcc_no_link = xyes; then
36536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36538 { (exit 1); exit 1; }; }
36540 cat >conftest.$ac_ext <<_ACEOF
36541 /* confdefs.h. */
36542 _ACEOF
36543 cat confdefs.h >>conftest.$ac_ext
36544 cat >>conftest.$ac_ext <<_ACEOF
36545 /* end confdefs.h. */
36546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36548 #define $ac_func innocuous_$ac_func
36550 /* System header to define __stub macros and hopefully few prototypes,
36551 which can conflict with char $ac_func (); below.
36552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36553 <limits.h> exists even on freestanding compilers. */
36555 #ifdef __STDC__
36556 # include <limits.h>
36557 #else
36558 # include <assert.h>
36559 #endif
36561 #undef $ac_func
36563 /* Override any gcc2 internal prototype to avoid an error. */
36564 #ifdef __cplusplus
36565 extern "C"
36567 #endif
36568 /* We use char because int might match the return type of a gcc2
36569 builtin and then its argument prototype would still apply. */
36570 char $ac_func ();
36571 /* The GNU C library defines this for functions which it implements
36572 to always fail with ENOSYS. Some functions are actually named
36573 something starting with __ and the normal name is an alias. */
36574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36575 choke me
36576 #else
36577 char (*f) () = $ac_func;
36578 #endif
36579 #ifdef __cplusplus
36581 #endif
36584 main ()
36586 return f != $ac_func;
36588 return 0;
36590 _ACEOF
36591 rm -f conftest.$ac_objext conftest$ac_exeext
36592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36593 (eval $ac_link) 2>conftest.er1
36594 ac_status=$?
36595 grep -v '^ *+' conftest.er1 >conftest.err
36596 rm -f conftest.er1
36597 cat conftest.err >&5
36598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36599 (exit $ac_status); } &&
36600 { ac_try='test -z "$ac_c_werror_flag"
36601 || test ! -s conftest.err'
36602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36603 (eval $ac_try) 2>&5
36604 ac_status=$?
36605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 (exit $ac_status); }; } &&
36607 { ac_try='test -s conftest$ac_exeext'
36608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36609 (eval $ac_try) 2>&5
36610 ac_status=$?
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); }; }; then
36613 eval "$as_ac_var=yes"
36614 else
36615 echo "$as_me: failed program was:" >&5
36616 sed 's/^/| /' conftest.$ac_ext >&5
36618 eval "$as_ac_var=no"
36620 rm -f conftest.err conftest.$ac_objext \
36621 conftest$ac_exeext conftest.$ac_ext
36623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36625 if test `eval echo '${'$as_ac_var'}'` = yes; then
36626 cat >>confdefs.h <<_ACEOF
36627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36628 _ACEOF
36631 done
36633 else
36635 echo "$as_me:$LINENO: checking for _expf declaration" >&5
36636 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36637 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36638 if test "${glibcxx_cv_func__expf_use+set}" = set; then
36639 echo $ECHO_N "(cached) $ECHO_C" >&6
36640 else
36644 ac_ext=cc
36645 ac_cpp='$CXXCPP $CPPFLAGS'
36646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36650 cat >conftest.$ac_ext <<_ACEOF
36651 /* confdefs.h. */
36652 _ACEOF
36653 cat confdefs.h >>conftest.$ac_ext
36654 cat >>conftest.$ac_ext <<_ACEOF
36655 /* end confdefs.h. */
36656 #include <math.h>
36657 #ifdef HAVE_IEEEFP_H
36658 #include <ieeefp.h>
36659 #endif
36662 main ()
36664 _expf(0);
36666 return 0;
36668 _ACEOF
36669 rm -f conftest.$ac_objext
36670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36671 (eval $ac_compile) 2>conftest.er1
36672 ac_status=$?
36673 grep -v '^ *+' conftest.er1 >conftest.err
36674 rm -f conftest.er1
36675 cat conftest.err >&5
36676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36677 (exit $ac_status); } &&
36678 { ac_try='test -z "$ac_cxx_werror_flag"
36679 || test ! -s conftest.err'
36680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36681 (eval $ac_try) 2>&5
36682 ac_status=$?
36683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36684 (exit $ac_status); }; } &&
36685 { ac_try='test -s conftest.$ac_objext'
36686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36687 (eval $ac_try) 2>&5
36688 ac_status=$?
36689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36690 (exit $ac_status); }; }; then
36691 glibcxx_cv_func__expf_use=yes
36692 else
36693 echo "$as_me: failed program was:" >&5
36694 sed 's/^/| /' conftest.$ac_ext >&5
36696 glibcxx_cv_func__expf_use=no
36698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36699 ac_ext=c
36700 ac_cpp='$CPP $CPPFLAGS'
36701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36709 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36710 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36712 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36714 for ac_func in _expf
36716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36717 echo "$as_me:$LINENO: checking for $ac_func" >&5
36718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36719 if eval "test \"\${$as_ac_var+set}\" = set"; then
36720 echo $ECHO_N "(cached) $ECHO_C" >&6
36721 else
36722 if test x$gcc_no_link = xyes; then
36723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36725 { (exit 1); exit 1; }; }
36727 cat >conftest.$ac_ext <<_ACEOF
36728 /* confdefs.h. */
36729 _ACEOF
36730 cat confdefs.h >>conftest.$ac_ext
36731 cat >>conftest.$ac_ext <<_ACEOF
36732 /* end confdefs.h. */
36733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36735 #define $ac_func innocuous_$ac_func
36737 /* System header to define __stub macros and hopefully few prototypes,
36738 which can conflict with char $ac_func (); below.
36739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36740 <limits.h> exists even on freestanding compilers. */
36742 #ifdef __STDC__
36743 # include <limits.h>
36744 #else
36745 # include <assert.h>
36746 #endif
36748 #undef $ac_func
36750 /* Override any gcc2 internal prototype to avoid an error. */
36751 #ifdef __cplusplus
36752 extern "C"
36754 #endif
36755 /* We use char because int might match the return type of a gcc2
36756 builtin and then its argument prototype would still apply. */
36757 char $ac_func ();
36758 /* The GNU C library defines this for functions which it implements
36759 to always fail with ENOSYS. Some functions are actually named
36760 something starting with __ and the normal name is an alias. */
36761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36762 choke me
36763 #else
36764 char (*f) () = $ac_func;
36765 #endif
36766 #ifdef __cplusplus
36768 #endif
36771 main ()
36773 return f != $ac_func;
36775 return 0;
36777 _ACEOF
36778 rm -f conftest.$ac_objext conftest$ac_exeext
36779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36780 (eval $ac_link) 2>conftest.er1
36781 ac_status=$?
36782 grep -v '^ *+' conftest.er1 >conftest.err
36783 rm -f conftest.er1
36784 cat conftest.err >&5
36785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36786 (exit $ac_status); } &&
36787 { ac_try='test -z "$ac_c_werror_flag"
36788 || test ! -s conftest.err'
36789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36790 (eval $ac_try) 2>&5
36791 ac_status=$?
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); }; } &&
36794 { ac_try='test -s conftest$ac_exeext'
36795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36796 (eval $ac_try) 2>&5
36797 ac_status=$?
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); }; }; then
36800 eval "$as_ac_var=yes"
36801 else
36802 echo "$as_me: failed program was:" >&5
36803 sed 's/^/| /' conftest.$ac_ext >&5
36805 eval "$as_ac_var=no"
36807 rm -f conftest.err conftest.$ac_objext \
36808 conftest$ac_exeext conftest.$ac_ext
36810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36812 if test `eval echo '${'$as_ac_var'}'` = yes; then
36813 cat >>confdefs.h <<_ACEOF
36814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36815 _ACEOF
36818 done
36828 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36829 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36830 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36831 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36832 echo $ECHO_N "(cached) $ECHO_C" >&6
36833 else
36837 ac_ext=cc
36838 ac_cpp='$CXXCPP $CPPFLAGS'
36839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36843 cat >conftest.$ac_ext <<_ACEOF
36844 /* confdefs.h. */
36845 _ACEOF
36846 cat confdefs.h >>conftest.$ac_ext
36847 cat >>conftest.$ac_ext <<_ACEOF
36848 /* end confdefs.h. */
36849 #include <math.h>
36850 #ifdef HAVE_IEEEFP_H
36851 #include <ieeefp.h>
36852 #endif
36855 main ()
36857 isnanf(0);
36859 return 0;
36861 _ACEOF
36862 rm -f conftest.$ac_objext
36863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36864 (eval $ac_compile) 2>conftest.er1
36865 ac_status=$?
36866 grep -v '^ *+' conftest.er1 >conftest.err
36867 rm -f conftest.er1
36868 cat conftest.err >&5
36869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36870 (exit $ac_status); } &&
36871 { ac_try='test -z "$ac_cxx_werror_flag"
36872 || test ! -s conftest.err'
36873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36874 (eval $ac_try) 2>&5
36875 ac_status=$?
36876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36877 (exit $ac_status); }; } &&
36878 { ac_try='test -s conftest.$ac_objext'
36879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36880 (eval $ac_try) 2>&5
36881 ac_status=$?
36882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883 (exit $ac_status); }; }; then
36884 glibcxx_cv_func_isnanf_use=yes
36885 else
36886 echo "$as_me: failed program was:" >&5
36887 sed 's/^/| /' conftest.$ac_ext >&5
36889 glibcxx_cv_func_isnanf_use=no
36891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36892 ac_ext=c
36893 ac_cpp='$CPP $CPPFLAGS'
36894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36902 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
36903 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
36905 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36907 for ac_func in isnanf
36909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36910 echo "$as_me:$LINENO: checking for $ac_func" >&5
36911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36912 if eval "test \"\${$as_ac_var+set}\" = set"; then
36913 echo $ECHO_N "(cached) $ECHO_C" >&6
36914 else
36915 if test x$gcc_no_link = xyes; then
36916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36918 { (exit 1); exit 1; }; }
36920 cat >conftest.$ac_ext <<_ACEOF
36921 /* confdefs.h. */
36922 _ACEOF
36923 cat confdefs.h >>conftest.$ac_ext
36924 cat >>conftest.$ac_ext <<_ACEOF
36925 /* end confdefs.h. */
36926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36928 #define $ac_func innocuous_$ac_func
36930 /* System header to define __stub macros and hopefully few prototypes,
36931 which can conflict with char $ac_func (); below.
36932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36933 <limits.h> exists even on freestanding compilers. */
36935 #ifdef __STDC__
36936 # include <limits.h>
36937 #else
36938 # include <assert.h>
36939 #endif
36941 #undef $ac_func
36943 /* Override any gcc2 internal prototype to avoid an error. */
36944 #ifdef __cplusplus
36945 extern "C"
36947 #endif
36948 /* We use char because int might match the return type of a gcc2
36949 builtin and then its argument prototype would still apply. */
36950 char $ac_func ();
36951 /* The GNU C library defines this for functions which it implements
36952 to always fail with ENOSYS. Some functions are actually named
36953 something starting with __ and the normal name is an alias. */
36954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36955 choke me
36956 #else
36957 char (*f) () = $ac_func;
36958 #endif
36959 #ifdef __cplusplus
36961 #endif
36964 main ()
36966 return f != $ac_func;
36968 return 0;
36970 _ACEOF
36971 rm -f conftest.$ac_objext conftest$ac_exeext
36972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36973 (eval $ac_link) 2>conftest.er1
36974 ac_status=$?
36975 grep -v '^ *+' conftest.er1 >conftest.err
36976 rm -f conftest.er1
36977 cat conftest.err >&5
36978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979 (exit $ac_status); } &&
36980 { ac_try='test -z "$ac_c_werror_flag"
36981 || test ! -s conftest.err'
36982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36983 (eval $ac_try) 2>&5
36984 ac_status=$?
36985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36986 (exit $ac_status); }; } &&
36987 { ac_try='test -s conftest$ac_exeext'
36988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36989 (eval $ac_try) 2>&5
36990 ac_status=$?
36991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992 (exit $ac_status); }; }; then
36993 eval "$as_ac_var=yes"
36994 else
36995 echo "$as_me: failed program was:" >&5
36996 sed 's/^/| /' conftest.$ac_ext >&5
36998 eval "$as_ac_var=no"
37000 rm -f conftest.err conftest.$ac_objext \
37001 conftest$ac_exeext conftest.$ac_ext
37003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37005 if test `eval echo '${'$as_ac_var'}'` = yes; then
37006 cat >>confdefs.h <<_ACEOF
37007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37008 _ACEOF
37011 done
37013 else
37015 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
37016 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
37017 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37018 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
37019 echo $ECHO_N "(cached) $ECHO_C" >&6
37020 else
37024 ac_ext=cc
37025 ac_cpp='$CXXCPP $CPPFLAGS'
37026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37030 cat >conftest.$ac_ext <<_ACEOF
37031 /* confdefs.h. */
37032 _ACEOF
37033 cat confdefs.h >>conftest.$ac_ext
37034 cat >>conftest.$ac_ext <<_ACEOF
37035 /* end confdefs.h. */
37036 #include <math.h>
37037 #ifdef HAVE_IEEEFP_H
37038 #include <ieeefp.h>
37039 #endif
37042 main ()
37044 _isnanf(0);
37046 return 0;
37048 _ACEOF
37049 rm -f conftest.$ac_objext
37050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37051 (eval $ac_compile) 2>conftest.er1
37052 ac_status=$?
37053 grep -v '^ *+' conftest.er1 >conftest.err
37054 rm -f conftest.er1
37055 cat conftest.err >&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); } &&
37058 { ac_try='test -z "$ac_cxx_werror_flag"
37059 || test ! -s conftest.err'
37060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37061 (eval $ac_try) 2>&5
37062 ac_status=$?
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); }; } &&
37065 { ac_try='test -s conftest.$ac_objext'
37066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37067 (eval $ac_try) 2>&5
37068 ac_status=$?
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); }; }; then
37071 glibcxx_cv_func__isnanf_use=yes
37072 else
37073 echo "$as_me: failed program was:" >&5
37074 sed 's/^/| /' conftest.$ac_ext >&5
37076 glibcxx_cv_func__isnanf_use=no
37078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37079 ac_ext=c
37080 ac_cpp='$CPP $CPPFLAGS'
37081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
37090 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
37092 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37094 for ac_func in _isnanf
37096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37097 echo "$as_me:$LINENO: checking for $ac_func" >&5
37098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37099 if eval "test \"\${$as_ac_var+set}\" = set"; then
37100 echo $ECHO_N "(cached) $ECHO_C" >&6
37101 else
37102 if test x$gcc_no_link = xyes; then
37103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37105 { (exit 1); exit 1; }; }
37107 cat >conftest.$ac_ext <<_ACEOF
37108 /* confdefs.h. */
37109 _ACEOF
37110 cat confdefs.h >>conftest.$ac_ext
37111 cat >>conftest.$ac_ext <<_ACEOF
37112 /* end confdefs.h. */
37113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37115 #define $ac_func innocuous_$ac_func
37117 /* System header to define __stub macros and hopefully few prototypes,
37118 which can conflict with char $ac_func (); below.
37119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37120 <limits.h> exists even on freestanding compilers. */
37122 #ifdef __STDC__
37123 # include <limits.h>
37124 #else
37125 # include <assert.h>
37126 #endif
37128 #undef $ac_func
37130 /* Override any gcc2 internal prototype to avoid an error. */
37131 #ifdef __cplusplus
37132 extern "C"
37134 #endif
37135 /* We use char because int might match the return type of a gcc2
37136 builtin and then its argument prototype would still apply. */
37137 char $ac_func ();
37138 /* The GNU C library defines this for functions which it implements
37139 to always fail with ENOSYS. Some functions are actually named
37140 something starting with __ and the normal name is an alias. */
37141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37142 choke me
37143 #else
37144 char (*f) () = $ac_func;
37145 #endif
37146 #ifdef __cplusplus
37148 #endif
37151 main ()
37153 return f != $ac_func;
37155 return 0;
37157 _ACEOF
37158 rm -f conftest.$ac_objext conftest$ac_exeext
37159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37160 (eval $ac_link) 2>conftest.er1
37161 ac_status=$?
37162 grep -v '^ *+' conftest.er1 >conftest.err
37163 rm -f conftest.er1
37164 cat conftest.err >&5
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); } &&
37167 { ac_try='test -z "$ac_c_werror_flag"
37168 || test ! -s conftest.err'
37169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37170 (eval $ac_try) 2>&5
37171 ac_status=$?
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); }; } &&
37174 { ac_try='test -s conftest$ac_exeext'
37175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37176 (eval $ac_try) 2>&5
37177 ac_status=$?
37178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179 (exit $ac_status); }; }; then
37180 eval "$as_ac_var=yes"
37181 else
37182 echo "$as_me: failed program was:" >&5
37183 sed 's/^/| /' conftest.$ac_ext >&5
37185 eval "$as_ac_var=no"
37187 rm -f conftest.err conftest.$ac_objext \
37188 conftest$ac_exeext conftest.$ac_ext
37190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37192 if test `eval echo '${'$as_ac_var'}'` = yes; then
37193 cat >>confdefs.h <<_ACEOF
37194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37195 _ACEOF
37198 done
37208 echo "$as_me:$LINENO: checking for isinff declaration" >&5
37209 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37210 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37211 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37212 echo $ECHO_N "(cached) $ECHO_C" >&6
37213 else
37217 ac_ext=cc
37218 ac_cpp='$CXXCPP $CPPFLAGS'
37219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37223 cat >conftest.$ac_ext <<_ACEOF
37224 /* confdefs.h. */
37225 _ACEOF
37226 cat confdefs.h >>conftest.$ac_ext
37227 cat >>conftest.$ac_ext <<_ACEOF
37228 /* end confdefs.h. */
37229 #include <math.h>
37230 #ifdef HAVE_IEEEFP_H
37231 #include <ieeefp.h>
37232 #endif
37235 main ()
37237 isinff(0);
37239 return 0;
37241 _ACEOF
37242 rm -f conftest.$ac_objext
37243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37244 (eval $ac_compile) 2>conftest.er1
37245 ac_status=$?
37246 grep -v '^ *+' conftest.er1 >conftest.err
37247 rm -f conftest.er1
37248 cat conftest.err >&5
37249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37250 (exit $ac_status); } &&
37251 { ac_try='test -z "$ac_cxx_werror_flag"
37252 || test ! -s conftest.err'
37253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37254 (eval $ac_try) 2>&5
37255 ac_status=$?
37256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37257 (exit $ac_status); }; } &&
37258 { ac_try='test -s conftest.$ac_objext'
37259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37260 (eval $ac_try) 2>&5
37261 ac_status=$?
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); }; }; then
37264 glibcxx_cv_func_isinff_use=yes
37265 else
37266 echo "$as_me: failed program was:" >&5
37267 sed 's/^/| /' conftest.$ac_ext >&5
37269 glibcxx_cv_func_isinff_use=no
37271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37272 ac_ext=c
37273 ac_cpp='$CPP $CPPFLAGS'
37274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37282 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37283 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37285 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37287 for ac_func in isinff
37289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37290 echo "$as_me:$LINENO: checking for $ac_func" >&5
37291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37292 if eval "test \"\${$as_ac_var+set}\" = set"; then
37293 echo $ECHO_N "(cached) $ECHO_C" >&6
37294 else
37295 if test x$gcc_no_link = xyes; then
37296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37298 { (exit 1); exit 1; }; }
37300 cat >conftest.$ac_ext <<_ACEOF
37301 /* confdefs.h. */
37302 _ACEOF
37303 cat confdefs.h >>conftest.$ac_ext
37304 cat >>conftest.$ac_ext <<_ACEOF
37305 /* end confdefs.h. */
37306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37308 #define $ac_func innocuous_$ac_func
37310 /* System header to define __stub macros and hopefully few prototypes,
37311 which can conflict with char $ac_func (); below.
37312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37313 <limits.h> exists even on freestanding compilers. */
37315 #ifdef __STDC__
37316 # include <limits.h>
37317 #else
37318 # include <assert.h>
37319 #endif
37321 #undef $ac_func
37323 /* Override any gcc2 internal prototype to avoid an error. */
37324 #ifdef __cplusplus
37325 extern "C"
37327 #endif
37328 /* We use char because int might match the return type of a gcc2
37329 builtin and then its argument prototype would still apply. */
37330 char $ac_func ();
37331 /* The GNU C library defines this for functions which it implements
37332 to always fail with ENOSYS. Some functions are actually named
37333 something starting with __ and the normal name is an alias. */
37334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37335 choke me
37336 #else
37337 char (*f) () = $ac_func;
37338 #endif
37339 #ifdef __cplusplus
37341 #endif
37344 main ()
37346 return f != $ac_func;
37348 return 0;
37350 _ACEOF
37351 rm -f conftest.$ac_objext conftest$ac_exeext
37352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37353 (eval $ac_link) 2>conftest.er1
37354 ac_status=$?
37355 grep -v '^ *+' conftest.er1 >conftest.err
37356 rm -f conftest.er1
37357 cat conftest.err >&5
37358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37359 (exit $ac_status); } &&
37360 { ac_try='test -z "$ac_c_werror_flag"
37361 || test ! -s conftest.err'
37362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37363 (eval $ac_try) 2>&5
37364 ac_status=$?
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); }; } &&
37367 { ac_try='test -s conftest$ac_exeext'
37368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37369 (eval $ac_try) 2>&5
37370 ac_status=$?
37371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372 (exit $ac_status); }; }; then
37373 eval "$as_ac_var=yes"
37374 else
37375 echo "$as_me: failed program was:" >&5
37376 sed 's/^/| /' conftest.$ac_ext >&5
37378 eval "$as_ac_var=no"
37380 rm -f conftest.err conftest.$ac_objext \
37381 conftest$ac_exeext conftest.$ac_ext
37383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37385 if test `eval echo '${'$as_ac_var'}'` = yes; then
37386 cat >>confdefs.h <<_ACEOF
37387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37388 _ACEOF
37391 done
37393 else
37395 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37396 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37397 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37398 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37399 echo $ECHO_N "(cached) $ECHO_C" >&6
37400 else
37404 ac_ext=cc
37405 ac_cpp='$CXXCPP $CPPFLAGS'
37406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37410 cat >conftest.$ac_ext <<_ACEOF
37411 /* confdefs.h. */
37412 _ACEOF
37413 cat confdefs.h >>conftest.$ac_ext
37414 cat >>conftest.$ac_ext <<_ACEOF
37415 /* end confdefs.h. */
37416 #include <math.h>
37417 #ifdef HAVE_IEEEFP_H
37418 #include <ieeefp.h>
37419 #endif
37422 main ()
37424 _isinff(0);
37426 return 0;
37428 _ACEOF
37429 rm -f conftest.$ac_objext
37430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37431 (eval $ac_compile) 2>conftest.er1
37432 ac_status=$?
37433 grep -v '^ *+' conftest.er1 >conftest.err
37434 rm -f conftest.er1
37435 cat conftest.err >&5
37436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37437 (exit $ac_status); } &&
37438 { ac_try='test -z "$ac_cxx_werror_flag"
37439 || test ! -s conftest.err'
37440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37441 (eval $ac_try) 2>&5
37442 ac_status=$?
37443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37444 (exit $ac_status); }; } &&
37445 { ac_try='test -s conftest.$ac_objext'
37446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37447 (eval $ac_try) 2>&5
37448 ac_status=$?
37449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37450 (exit $ac_status); }; }; then
37451 glibcxx_cv_func__isinff_use=yes
37452 else
37453 echo "$as_me: failed program was:" >&5
37454 sed 's/^/| /' conftest.$ac_ext >&5
37456 glibcxx_cv_func__isinff_use=no
37458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37459 ac_ext=c
37460 ac_cpp='$CPP $CPPFLAGS'
37461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37469 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37470 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37472 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37474 for ac_func in _isinff
37476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37477 echo "$as_me:$LINENO: checking for $ac_func" >&5
37478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37479 if eval "test \"\${$as_ac_var+set}\" = set"; then
37480 echo $ECHO_N "(cached) $ECHO_C" >&6
37481 else
37482 if test x$gcc_no_link = xyes; then
37483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37485 { (exit 1); exit 1; }; }
37487 cat >conftest.$ac_ext <<_ACEOF
37488 /* confdefs.h. */
37489 _ACEOF
37490 cat confdefs.h >>conftest.$ac_ext
37491 cat >>conftest.$ac_ext <<_ACEOF
37492 /* end confdefs.h. */
37493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37495 #define $ac_func innocuous_$ac_func
37497 /* System header to define __stub macros and hopefully few prototypes,
37498 which can conflict with char $ac_func (); below.
37499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37500 <limits.h> exists even on freestanding compilers. */
37502 #ifdef __STDC__
37503 # include <limits.h>
37504 #else
37505 # include <assert.h>
37506 #endif
37508 #undef $ac_func
37510 /* Override any gcc2 internal prototype to avoid an error. */
37511 #ifdef __cplusplus
37512 extern "C"
37514 #endif
37515 /* We use char because int might match the return type of a gcc2
37516 builtin and then its argument prototype would still apply. */
37517 char $ac_func ();
37518 /* The GNU C library defines this for functions which it implements
37519 to always fail with ENOSYS. Some functions are actually named
37520 something starting with __ and the normal name is an alias. */
37521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37522 choke me
37523 #else
37524 char (*f) () = $ac_func;
37525 #endif
37526 #ifdef __cplusplus
37528 #endif
37531 main ()
37533 return f != $ac_func;
37535 return 0;
37537 _ACEOF
37538 rm -f conftest.$ac_objext conftest$ac_exeext
37539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37540 (eval $ac_link) 2>conftest.er1
37541 ac_status=$?
37542 grep -v '^ *+' conftest.er1 >conftest.err
37543 rm -f conftest.er1
37544 cat conftest.err >&5
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); } &&
37547 { ac_try='test -z "$ac_c_werror_flag"
37548 || test ! -s conftest.err'
37549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37550 (eval $ac_try) 2>&5
37551 ac_status=$?
37552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553 (exit $ac_status); }; } &&
37554 { ac_try='test -s conftest$ac_exeext'
37555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556 (eval $ac_try) 2>&5
37557 ac_status=$?
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; }; then
37560 eval "$as_ac_var=yes"
37561 else
37562 echo "$as_me: failed program was:" >&5
37563 sed 's/^/| /' conftest.$ac_ext >&5
37565 eval "$as_ac_var=no"
37567 rm -f conftest.err conftest.$ac_objext \
37568 conftest$ac_exeext conftest.$ac_ext
37570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37572 if test `eval echo '${'$as_ac_var'}'` = yes; then
37573 cat >>confdefs.h <<_ACEOF
37574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37575 _ACEOF
37578 done
37588 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37589 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37590 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37591 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37592 echo $ECHO_N "(cached) $ECHO_C" >&6
37593 else
37597 ac_ext=cc
37598 ac_cpp='$CXXCPP $CPPFLAGS'
37599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37603 cat >conftest.$ac_ext <<_ACEOF
37604 /* confdefs.h. */
37605 _ACEOF
37606 cat confdefs.h >>conftest.$ac_ext
37607 cat >>conftest.$ac_ext <<_ACEOF
37608 /* end confdefs.h. */
37609 #include <math.h>
37611 main ()
37613 atan2f(0, 0);
37615 return 0;
37617 _ACEOF
37618 rm -f conftest.$ac_objext
37619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37620 (eval $ac_compile) 2>conftest.er1
37621 ac_status=$?
37622 grep -v '^ *+' conftest.er1 >conftest.err
37623 rm -f conftest.er1
37624 cat conftest.err >&5
37625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37626 (exit $ac_status); } &&
37627 { ac_try='test -z "$ac_cxx_werror_flag"
37628 || test ! -s conftest.err'
37629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37630 (eval $ac_try) 2>&5
37631 ac_status=$?
37632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37633 (exit $ac_status); }; } &&
37634 { ac_try='test -s conftest.$ac_objext'
37635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37636 (eval $ac_try) 2>&5
37637 ac_status=$?
37638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37639 (exit $ac_status); }; }; then
37640 glibcxx_cv_func_atan2f_use=yes
37641 else
37642 echo "$as_me: failed program was:" >&5
37643 sed 's/^/| /' conftest.$ac_ext >&5
37645 glibcxx_cv_func_atan2f_use=no
37647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37648 ac_ext=c
37649 ac_cpp='$CPP $CPPFLAGS'
37650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37658 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37659 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37661 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37663 for ac_func in atan2f
37665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37666 echo "$as_me:$LINENO: checking for $ac_func" >&5
37667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37668 if eval "test \"\${$as_ac_var+set}\" = set"; then
37669 echo $ECHO_N "(cached) $ECHO_C" >&6
37670 else
37671 if test x$gcc_no_link = xyes; then
37672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37674 { (exit 1); exit 1; }; }
37676 cat >conftest.$ac_ext <<_ACEOF
37677 /* confdefs.h. */
37678 _ACEOF
37679 cat confdefs.h >>conftest.$ac_ext
37680 cat >>conftest.$ac_ext <<_ACEOF
37681 /* end confdefs.h. */
37682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37684 #define $ac_func innocuous_$ac_func
37686 /* System header to define __stub macros and hopefully few prototypes,
37687 which can conflict with char $ac_func (); below.
37688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37689 <limits.h> exists even on freestanding compilers. */
37691 #ifdef __STDC__
37692 # include <limits.h>
37693 #else
37694 # include <assert.h>
37695 #endif
37697 #undef $ac_func
37699 /* Override any gcc2 internal prototype to avoid an error. */
37700 #ifdef __cplusplus
37701 extern "C"
37703 #endif
37704 /* We use char because int might match the return type of a gcc2
37705 builtin and then its argument prototype would still apply. */
37706 char $ac_func ();
37707 /* The GNU C library defines this for functions which it implements
37708 to always fail with ENOSYS. Some functions are actually named
37709 something starting with __ and the normal name is an alias. */
37710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37711 choke me
37712 #else
37713 char (*f) () = $ac_func;
37714 #endif
37715 #ifdef __cplusplus
37717 #endif
37720 main ()
37722 return f != $ac_func;
37724 return 0;
37726 _ACEOF
37727 rm -f conftest.$ac_objext conftest$ac_exeext
37728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37729 (eval $ac_link) 2>conftest.er1
37730 ac_status=$?
37731 grep -v '^ *+' conftest.er1 >conftest.err
37732 rm -f conftest.er1
37733 cat conftest.err >&5
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); } &&
37736 { ac_try='test -z "$ac_c_werror_flag"
37737 || test ! -s conftest.err'
37738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37739 (eval $ac_try) 2>&5
37740 ac_status=$?
37741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37742 (exit $ac_status); }; } &&
37743 { ac_try='test -s conftest$ac_exeext'
37744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37745 (eval $ac_try) 2>&5
37746 ac_status=$?
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); }; }; then
37749 eval "$as_ac_var=yes"
37750 else
37751 echo "$as_me: failed program was:" >&5
37752 sed 's/^/| /' conftest.$ac_ext >&5
37754 eval "$as_ac_var=no"
37756 rm -f conftest.err conftest.$ac_objext \
37757 conftest$ac_exeext conftest.$ac_ext
37759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37761 if test `eval echo '${'$as_ac_var'}'` = yes; then
37762 cat >>confdefs.h <<_ACEOF
37763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37764 _ACEOF
37767 done
37769 else
37771 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37772 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37773 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37774 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37775 echo $ECHO_N "(cached) $ECHO_C" >&6
37776 else
37780 ac_ext=cc
37781 ac_cpp='$CXXCPP $CPPFLAGS'
37782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37786 cat >conftest.$ac_ext <<_ACEOF
37787 /* confdefs.h. */
37788 _ACEOF
37789 cat confdefs.h >>conftest.$ac_ext
37790 cat >>conftest.$ac_ext <<_ACEOF
37791 /* end confdefs.h. */
37792 #include <math.h>
37794 main ()
37796 _atan2f(0, 0);
37798 return 0;
37800 _ACEOF
37801 rm -f conftest.$ac_objext
37802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37803 (eval $ac_compile) 2>conftest.er1
37804 ac_status=$?
37805 grep -v '^ *+' conftest.er1 >conftest.err
37806 rm -f conftest.er1
37807 cat conftest.err >&5
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); } &&
37810 { ac_try='test -z "$ac_cxx_werror_flag"
37811 || test ! -s conftest.err'
37812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37813 (eval $ac_try) 2>&5
37814 ac_status=$?
37815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37816 (exit $ac_status); }; } &&
37817 { ac_try='test -s conftest.$ac_objext'
37818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37819 (eval $ac_try) 2>&5
37820 ac_status=$?
37821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37822 (exit $ac_status); }; }; then
37823 glibcxx_cv_func__atan2f_use=yes
37824 else
37825 echo "$as_me: failed program was:" >&5
37826 sed 's/^/| /' conftest.$ac_ext >&5
37828 glibcxx_cv_func__atan2f_use=no
37830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37831 ac_ext=c
37832 ac_cpp='$CPP $CPPFLAGS'
37833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37841 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37842 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37844 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37846 for ac_func in _atan2f
37848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37849 echo "$as_me:$LINENO: checking for $ac_func" >&5
37850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37851 if eval "test \"\${$as_ac_var+set}\" = set"; then
37852 echo $ECHO_N "(cached) $ECHO_C" >&6
37853 else
37854 if test x$gcc_no_link = xyes; then
37855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37857 { (exit 1); exit 1; }; }
37859 cat >conftest.$ac_ext <<_ACEOF
37860 /* confdefs.h. */
37861 _ACEOF
37862 cat confdefs.h >>conftest.$ac_ext
37863 cat >>conftest.$ac_ext <<_ACEOF
37864 /* end confdefs.h. */
37865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37867 #define $ac_func innocuous_$ac_func
37869 /* System header to define __stub macros and hopefully few prototypes,
37870 which can conflict with char $ac_func (); below.
37871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37872 <limits.h> exists even on freestanding compilers. */
37874 #ifdef __STDC__
37875 # include <limits.h>
37876 #else
37877 # include <assert.h>
37878 #endif
37880 #undef $ac_func
37882 /* Override any gcc2 internal prototype to avoid an error. */
37883 #ifdef __cplusplus
37884 extern "C"
37886 #endif
37887 /* We use char because int might match the return type of a gcc2
37888 builtin and then its argument prototype would still apply. */
37889 char $ac_func ();
37890 /* The GNU C library defines this for functions which it implements
37891 to always fail with ENOSYS. Some functions are actually named
37892 something starting with __ and the normal name is an alias. */
37893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37894 choke me
37895 #else
37896 char (*f) () = $ac_func;
37897 #endif
37898 #ifdef __cplusplus
37900 #endif
37903 main ()
37905 return f != $ac_func;
37907 return 0;
37909 _ACEOF
37910 rm -f conftest.$ac_objext conftest$ac_exeext
37911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37912 (eval $ac_link) 2>conftest.er1
37913 ac_status=$?
37914 grep -v '^ *+' conftest.er1 >conftest.err
37915 rm -f conftest.er1
37916 cat conftest.err >&5
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); } &&
37919 { ac_try='test -z "$ac_c_werror_flag"
37920 || test ! -s conftest.err'
37921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37922 (eval $ac_try) 2>&5
37923 ac_status=$?
37924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37925 (exit $ac_status); }; } &&
37926 { ac_try='test -s conftest$ac_exeext'
37927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37928 (eval $ac_try) 2>&5
37929 ac_status=$?
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); }; }; then
37932 eval "$as_ac_var=yes"
37933 else
37934 echo "$as_me: failed program was:" >&5
37935 sed 's/^/| /' conftest.$ac_ext >&5
37937 eval "$as_ac_var=no"
37939 rm -f conftest.err conftest.$ac_objext \
37940 conftest$ac_exeext conftest.$ac_ext
37942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37944 if test `eval echo '${'$as_ac_var'}'` = yes; then
37945 cat >>confdefs.h <<_ACEOF
37946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37947 _ACEOF
37950 done
37960 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
37961 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
37962 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37963 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
37964 echo $ECHO_N "(cached) $ECHO_C" >&6
37965 else
37969 ac_ext=cc
37970 ac_cpp='$CXXCPP $CPPFLAGS'
37971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37975 cat >conftest.$ac_ext <<_ACEOF
37976 /* confdefs.h. */
37977 _ACEOF
37978 cat confdefs.h >>conftest.$ac_ext
37979 cat >>conftest.$ac_ext <<_ACEOF
37980 /* end confdefs.h. */
37981 #include <math.h>
37982 #ifdef HAVE_IEEEFP_H
37983 #include <ieeefp.h>
37984 #endif
37987 main ()
37989 fabsf(0);
37991 return 0;
37993 _ACEOF
37994 rm -f conftest.$ac_objext
37995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37996 (eval $ac_compile) 2>conftest.er1
37997 ac_status=$?
37998 grep -v '^ *+' conftest.er1 >conftest.err
37999 rm -f conftest.er1
38000 cat conftest.err >&5
38001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38002 (exit $ac_status); } &&
38003 { ac_try='test -z "$ac_cxx_werror_flag"
38004 || test ! -s conftest.err'
38005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38006 (eval $ac_try) 2>&5
38007 ac_status=$?
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); }; } &&
38010 { ac_try='test -s conftest.$ac_objext'
38011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38012 (eval $ac_try) 2>&5
38013 ac_status=$?
38014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38015 (exit $ac_status); }; }; then
38016 glibcxx_cv_func_fabsf_use=yes
38017 else
38018 echo "$as_me: failed program was:" >&5
38019 sed 's/^/| /' conftest.$ac_ext >&5
38021 glibcxx_cv_func_fabsf_use=no
38023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38024 ac_ext=c
38025 ac_cpp='$CPP $CPPFLAGS'
38026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38034 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
38035 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
38037 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
38039 for ac_func in fabsf
38041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38042 echo "$as_me:$LINENO: checking for $ac_func" >&5
38043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38044 if eval "test \"\${$as_ac_var+set}\" = set"; then
38045 echo $ECHO_N "(cached) $ECHO_C" >&6
38046 else
38047 if test x$gcc_no_link = xyes; then
38048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38050 { (exit 1); exit 1; }; }
38052 cat >conftest.$ac_ext <<_ACEOF
38053 /* confdefs.h. */
38054 _ACEOF
38055 cat confdefs.h >>conftest.$ac_ext
38056 cat >>conftest.$ac_ext <<_ACEOF
38057 /* end confdefs.h. */
38058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38060 #define $ac_func innocuous_$ac_func
38062 /* System header to define __stub macros and hopefully few prototypes,
38063 which can conflict with char $ac_func (); below.
38064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38065 <limits.h> exists even on freestanding compilers. */
38067 #ifdef __STDC__
38068 # include <limits.h>
38069 #else
38070 # include <assert.h>
38071 #endif
38073 #undef $ac_func
38075 /* Override any gcc2 internal prototype to avoid an error. */
38076 #ifdef __cplusplus
38077 extern "C"
38079 #endif
38080 /* We use char because int might match the return type of a gcc2
38081 builtin and then its argument prototype would still apply. */
38082 char $ac_func ();
38083 /* The GNU C library defines this for functions which it implements
38084 to always fail with ENOSYS. Some functions are actually named
38085 something starting with __ and the normal name is an alias. */
38086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38087 choke me
38088 #else
38089 char (*f) () = $ac_func;
38090 #endif
38091 #ifdef __cplusplus
38093 #endif
38096 main ()
38098 return f != $ac_func;
38100 return 0;
38102 _ACEOF
38103 rm -f conftest.$ac_objext conftest$ac_exeext
38104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38105 (eval $ac_link) 2>conftest.er1
38106 ac_status=$?
38107 grep -v '^ *+' conftest.er1 >conftest.err
38108 rm -f conftest.er1
38109 cat conftest.err >&5
38110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38111 (exit $ac_status); } &&
38112 { ac_try='test -z "$ac_c_werror_flag"
38113 || test ! -s conftest.err'
38114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38115 (eval $ac_try) 2>&5
38116 ac_status=$?
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); }; } &&
38119 { ac_try='test -s conftest$ac_exeext'
38120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38121 (eval $ac_try) 2>&5
38122 ac_status=$?
38123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38124 (exit $ac_status); }; }; then
38125 eval "$as_ac_var=yes"
38126 else
38127 echo "$as_me: failed program was:" >&5
38128 sed 's/^/| /' conftest.$ac_ext >&5
38130 eval "$as_ac_var=no"
38132 rm -f conftest.err conftest.$ac_objext \
38133 conftest$ac_exeext conftest.$ac_ext
38135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38137 if test `eval echo '${'$as_ac_var'}'` = yes; then
38138 cat >>confdefs.h <<_ACEOF
38139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38140 _ACEOF
38143 done
38145 else
38147 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38148 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38149 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38150 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38151 echo $ECHO_N "(cached) $ECHO_C" >&6
38152 else
38156 ac_ext=cc
38157 ac_cpp='$CXXCPP $CPPFLAGS'
38158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38162 cat >conftest.$ac_ext <<_ACEOF
38163 /* confdefs.h. */
38164 _ACEOF
38165 cat confdefs.h >>conftest.$ac_ext
38166 cat >>conftest.$ac_ext <<_ACEOF
38167 /* end confdefs.h. */
38168 #include <math.h>
38169 #ifdef HAVE_IEEEFP_H
38170 #include <ieeefp.h>
38171 #endif
38174 main ()
38176 _fabsf(0);
38178 return 0;
38180 _ACEOF
38181 rm -f conftest.$ac_objext
38182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38183 (eval $ac_compile) 2>conftest.er1
38184 ac_status=$?
38185 grep -v '^ *+' conftest.er1 >conftest.err
38186 rm -f conftest.er1
38187 cat conftest.err >&5
38188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38189 (exit $ac_status); } &&
38190 { ac_try='test -z "$ac_cxx_werror_flag"
38191 || test ! -s conftest.err'
38192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38193 (eval $ac_try) 2>&5
38194 ac_status=$?
38195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38196 (exit $ac_status); }; } &&
38197 { ac_try='test -s conftest.$ac_objext'
38198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38199 (eval $ac_try) 2>&5
38200 ac_status=$?
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); }; }; then
38203 glibcxx_cv_func__fabsf_use=yes
38204 else
38205 echo "$as_me: failed program was:" >&5
38206 sed 's/^/| /' conftest.$ac_ext >&5
38208 glibcxx_cv_func__fabsf_use=no
38210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38211 ac_ext=c
38212 ac_cpp='$CPP $CPPFLAGS'
38213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38221 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38222 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38224 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38226 for ac_func in _fabsf
38228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38229 echo "$as_me:$LINENO: checking for $ac_func" >&5
38230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38231 if eval "test \"\${$as_ac_var+set}\" = set"; then
38232 echo $ECHO_N "(cached) $ECHO_C" >&6
38233 else
38234 if test x$gcc_no_link = xyes; then
38235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38237 { (exit 1); exit 1; }; }
38239 cat >conftest.$ac_ext <<_ACEOF
38240 /* confdefs.h. */
38241 _ACEOF
38242 cat confdefs.h >>conftest.$ac_ext
38243 cat >>conftest.$ac_ext <<_ACEOF
38244 /* end confdefs.h. */
38245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38247 #define $ac_func innocuous_$ac_func
38249 /* System header to define __stub macros and hopefully few prototypes,
38250 which can conflict with char $ac_func (); below.
38251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38252 <limits.h> exists even on freestanding compilers. */
38254 #ifdef __STDC__
38255 # include <limits.h>
38256 #else
38257 # include <assert.h>
38258 #endif
38260 #undef $ac_func
38262 /* Override any gcc2 internal prototype to avoid an error. */
38263 #ifdef __cplusplus
38264 extern "C"
38266 #endif
38267 /* We use char because int might match the return type of a gcc2
38268 builtin and then its argument prototype would still apply. */
38269 char $ac_func ();
38270 /* The GNU C library defines this for functions which it implements
38271 to always fail with ENOSYS. Some functions are actually named
38272 something starting with __ and the normal name is an alias. */
38273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38274 choke me
38275 #else
38276 char (*f) () = $ac_func;
38277 #endif
38278 #ifdef __cplusplus
38280 #endif
38283 main ()
38285 return f != $ac_func;
38287 return 0;
38289 _ACEOF
38290 rm -f conftest.$ac_objext conftest$ac_exeext
38291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38292 (eval $ac_link) 2>conftest.er1
38293 ac_status=$?
38294 grep -v '^ *+' conftest.er1 >conftest.err
38295 rm -f conftest.er1
38296 cat conftest.err >&5
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); } &&
38299 { ac_try='test -z "$ac_c_werror_flag"
38300 || test ! -s conftest.err'
38301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38302 (eval $ac_try) 2>&5
38303 ac_status=$?
38304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38305 (exit $ac_status); }; } &&
38306 { ac_try='test -s conftest$ac_exeext'
38307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38308 (eval $ac_try) 2>&5
38309 ac_status=$?
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); }; }; then
38312 eval "$as_ac_var=yes"
38313 else
38314 echo "$as_me: failed program was:" >&5
38315 sed 's/^/| /' conftest.$ac_ext >&5
38317 eval "$as_ac_var=no"
38319 rm -f conftest.err conftest.$ac_objext \
38320 conftest$ac_exeext conftest.$ac_ext
38322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38324 if test `eval echo '${'$as_ac_var'}'` = yes; then
38325 cat >>confdefs.h <<_ACEOF
38326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38327 _ACEOF
38330 done
38340 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38341 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38342 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38343 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38344 echo $ECHO_N "(cached) $ECHO_C" >&6
38345 else
38349 ac_ext=cc
38350 ac_cpp='$CXXCPP $CPPFLAGS'
38351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38355 cat >conftest.$ac_ext <<_ACEOF
38356 /* confdefs.h. */
38357 _ACEOF
38358 cat confdefs.h >>conftest.$ac_ext
38359 cat >>conftest.$ac_ext <<_ACEOF
38360 /* end confdefs.h. */
38361 #include <math.h>
38363 main ()
38365 fmodf(0, 0);
38367 return 0;
38369 _ACEOF
38370 rm -f conftest.$ac_objext
38371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38372 (eval $ac_compile) 2>conftest.er1
38373 ac_status=$?
38374 grep -v '^ *+' conftest.er1 >conftest.err
38375 rm -f conftest.er1
38376 cat conftest.err >&5
38377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38378 (exit $ac_status); } &&
38379 { ac_try='test -z "$ac_cxx_werror_flag"
38380 || test ! -s conftest.err'
38381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38382 (eval $ac_try) 2>&5
38383 ac_status=$?
38384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385 (exit $ac_status); }; } &&
38386 { ac_try='test -s conftest.$ac_objext'
38387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38388 (eval $ac_try) 2>&5
38389 ac_status=$?
38390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38391 (exit $ac_status); }; }; then
38392 glibcxx_cv_func_fmodf_use=yes
38393 else
38394 echo "$as_me: failed program was:" >&5
38395 sed 's/^/| /' conftest.$ac_ext >&5
38397 glibcxx_cv_func_fmodf_use=no
38399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38400 ac_ext=c
38401 ac_cpp='$CPP $CPPFLAGS'
38402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38410 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38411 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38413 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38415 for ac_func in fmodf
38417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38418 echo "$as_me:$LINENO: checking for $ac_func" >&5
38419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38420 if eval "test \"\${$as_ac_var+set}\" = set"; then
38421 echo $ECHO_N "(cached) $ECHO_C" >&6
38422 else
38423 if test x$gcc_no_link = xyes; then
38424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38426 { (exit 1); exit 1; }; }
38428 cat >conftest.$ac_ext <<_ACEOF
38429 /* confdefs.h. */
38430 _ACEOF
38431 cat confdefs.h >>conftest.$ac_ext
38432 cat >>conftest.$ac_ext <<_ACEOF
38433 /* end confdefs.h. */
38434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38436 #define $ac_func innocuous_$ac_func
38438 /* System header to define __stub macros and hopefully few prototypes,
38439 which can conflict with char $ac_func (); below.
38440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38441 <limits.h> exists even on freestanding compilers. */
38443 #ifdef __STDC__
38444 # include <limits.h>
38445 #else
38446 # include <assert.h>
38447 #endif
38449 #undef $ac_func
38451 /* Override any gcc2 internal prototype to avoid an error. */
38452 #ifdef __cplusplus
38453 extern "C"
38455 #endif
38456 /* We use char because int might match the return type of a gcc2
38457 builtin and then its argument prototype would still apply. */
38458 char $ac_func ();
38459 /* The GNU C library defines this for functions which it implements
38460 to always fail with ENOSYS. Some functions are actually named
38461 something starting with __ and the normal name is an alias. */
38462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38463 choke me
38464 #else
38465 char (*f) () = $ac_func;
38466 #endif
38467 #ifdef __cplusplus
38469 #endif
38472 main ()
38474 return f != $ac_func;
38476 return 0;
38478 _ACEOF
38479 rm -f conftest.$ac_objext conftest$ac_exeext
38480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38481 (eval $ac_link) 2>conftest.er1
38482 ac_status=$?
38483 grep -v '^ *+' conftest.er1 >conftest.err
38484 rm -f conftest.er1
38485 cat conftest.err >&5
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); } &&
38488 { ac_try='test -z "$ac_c_werror_flag"
38489 || test ! -s conftest.err'
38490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38491 (eval $ac_try) 2>&5
38492 ac_status=$?
38493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38494 (exit $ac_status); }; } &&
38495 { ac_try='test -s conftest$ac_exeext'
38496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38497 (eval $ac_try) 2>&5
38498 ac_status=$?
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); }; }; then
38501 eval "$as_ac_var=yes"
38502 else
38503 echo "$as_me: failed program was:" >&5
38504 sed 's/^/| /' conftest.$ac_ext >&5
38506 eval "$as_ac_var=no"
38508 rm -f conftest.err conftest.$ac_objext \
38509 conftest$ac_exeext conftest.$ac_ext
38511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38513 if test `eval echo '${'$as_ac_var'}'` = yes; then
38514 cat >>confdefs.h <<_ACEOF
38515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38516 _ACEOF
38519 done
38521 else
38523 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38524 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38525 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38526 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38527 echo $ECHO_N "(cached) $ECHO_C" >&6
38528 else
38532 ac_ext=cc
38533 ac_cpp='$CXXCPP $CPPFLAGS'
38534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38538 cat >conftest.$ac_ext <<_ACEOF
38539 /* confdefs.h. */
38540 _ACEOF
38541 cat confdefs.h >>conftest.$ac_ext
38542 cat >>conftest.$ac_ext <<_ACEOF
38543 /* end confdefs.h. */
38544 #include <math.h>
38546 main ()
38548 _fmodf(0, 0);
38550 return 0;
38552 _ACEOF
38553 rm -f conftest.$ac_objext
38554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38555 (eval $ac_compile) 2>conftest.er1
38556 ac_status=$?
38557 grep -v '^ *+' conftest.er1 >conftest.err
38558 rm -f conftest.er1
38559 cat conftest.err >&5
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); } &&
38562 { ac_try='test -z "$ac_cxx_werror_flag"
38563 || test ! -s conftest.err'
38564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38565 (eval $ac_try) 2>&5
38566 ac_status=$?
38567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38568 (exit $ac_status); }; } &&
38569 { ac_try='test -s conftest.$ac_objext'
38570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38571 (eval $ac_try) 2>&5
38572 ac_status=$?
38573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38574 (exit $ac_status); }; }; then
38575 glibcxx_cv_func__fmodf_use=yes
38576 else
38577 echo "$as_me: failed program was:" >&5
38578 sed 's/^/| /' conftest.$ac_ext >&5
38580 glibcxx_cv_func__fmodf_use=no
38582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38583 ac_ext=c
38584 ac_cpp='$CPP $CPPFLAGS'
38585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38593 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38594 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38596 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38598 for ac_func in _fmodf
38600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38601 echo "$as_me:$LINENO: checking for $ac_func" >&5
38602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38603 if eval "test \"\${$as_ac_var+set}\" = set"; then
38604 echo $ECHO_N "(cached) $ECHO_C" >&6
38605 else
38606 if test x$gcc_no_link = xyes; then
38607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38609 { (exit 1); exit 1; }; }
38611 cat >conftest.$ac_ext <<_ACEOF
38612 /* confdefs.h. */
38613 _ACEOF
38614 cat confdefs.h >>conftest.$ac_ext
38615 cat >>conftest.$ac_ext <<_ACEOF
38616 /* end confdefs.h. */
38617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38619 #define $ac_func innocuous_$ac_func
38621 /* System header to define __stub macros and hopefully few prototypes,
38622 which can conflict with char $ac_func (); below.
38623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38624 <limits.h> exists even on freestanding compilers. */
38626 #ifdef __STDC__
38627 # include <limits.h>
38628 #else
38629 # include <assert.h>
38630 #endif
38632 #undef $ac_func
38634 /* Override any gcc2 internal prototype to avoid an error. */
38635 #ifdef __cplusplus
38636 extern "C"
38638 #endif
38639 /* We use char because int might match the return type of a gcc2
38640 builtin and then its argument prototype would still apply. */
38641 char $ac_func ();
38642 /* The GNU C library defines this for functions which it implements
38643 to always fail with ENOSYS. Some functions are actually named
38644 something starting with __ and the normal name is an alias. */
38645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38646 choke me
38647 #else
38648 char (*f) () = $ac_func;
38649 #endif
38650 #ifdef __cplusplus
38652 #endif
38655 main ()
38657 return f != $ac_func;
38659 return 0;
38661 _ACEOF
38662 rm -f conftest.$ac_objext conftest$ac_exeext
38663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38664 (eval $ac_link) 2>conftest.er1
38665 ac_status=$?
38666 grep -v '^ *+' conftest.er1 >conftest.err
38667 rm -f conftest.er1
38668 cat conftest.err >&5
38669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38670 (exit $ac_status); } &&
38671 { ac_try='test -z "$ac_c_werror_flag"
38672 || test ! -s conftest.err'
38673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38674 (eval $ac_try) 2>&5
38675 ac_status=$?
38676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38677 (exit $ac_status); }; } &&
38678 { ac_try='test -s conftest$ac_exeext'
38679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38680 (eval $ac_try) 2>&5
38681 ac_status=$?
38682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38683 (exit $ac_status); }; }; then
38684 eval "$as_ac_var=yes"
38685 else
38686 echo "$as_me: failed program was:" >&5
38687 sed 's/^/| /' conftest.$ac_ext >&5
38689 eval "$as_ac_var=no"
38691 rm -f conftest.err conftest.$ac_objext \
38692 conftest$ac_exeext conftest.$ac_ext
38694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38696 if test `eval echo '${'$as_ac_var'}'` = yes; then
38697 cat >>confdefs.h <<_ACEOF
38698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38699 _ACEOF
38702 done
38712 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38713 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38714 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38715 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38716 echo $ECHO_N "(cached) $ECHO_C" >&6
38717 else
38721 ac_ext=cc
38722 ac_cpp='$CXXCPP $CPPFLAGS'
38723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38727 cat >conftest.$ac_ext <<_ACEOF
38728 /* confdefs.h. */
38729 _ACEOF
38730 cat confdefs.h >>conftest.$ac_ext
38731 cat >>conftest.$ac_ext <<_ACEOF
38732 /* end confdefs.h. */
38733 #include <math.h>
38735 main ()
38737 frexpf(0, 0);
38739 return 0;
38741 _ACEOF
38742 rm -f conftest.$ac_objext
38743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38744 (eval $ac_compile) 2>conftest.er1
38745 ac_status=$?
38746 grep -v '^ *+' conftest.er1 >conftest.err
38747 rm -f conftest.er1
38748 cat conftest.err >&5
38749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38750 (exit $ac_status); } &&
38751 { ac_try='test -z "$ac_cxx_werror_flag"
38752 || test ! -s conftest.err'
38753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38754 (eval $ac_try) 2>&5
38755 ac_status=$?
38756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757 (exit $ac_status); }; } &&
38758 { ac_try='test -s conftest.$ac_objext'
38759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38760 (eval $ac_try) 2>&5
38761 ac_status=$?
38762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763 (exit $ac_status); }; }; then
38764 glibcxx_cv_func_frexpf_use=yes
38765 else
38766 echo "$as_me: failed program was:" >&5
38767 sed 's/^/| /' conftest.$ac_ext >&5
38769 glibcxx_cv_func_frexpf_use=no
38771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38772 ac_ext=c
38773 ac_cpp='$CPP $CPPFLAGS'
38774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38782 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38783 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38785 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38787 for ac_func in frexpf
38789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38790 echo "$as_me:$LINENO: checking for $ac_func" >&5
38791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38792 if eval "test \"\${$as_ac_var+set}\" = set"; then
38793 echo $ECHO_N "(cached) $ECHO_C" >&6
38794 else
38795 if test x$gcc_no_link = xyes; then
38796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38798 { (exit 1); exit 1; }; }
38800 cat >conftest.$ac_ext <<_ACEOF
38801 /* confdefs.h. */
38802 _ACEOF
38803 cat confdefs.h >>conftest.$ac_ext
38804 cat >>conftest.$ac_ext <<_ACEOF
38805 /* end confdefs.h. */
38806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38808 #define $ac_func innocuous_$ac_func
38810 /* System header to define __stub macros and hopefully few prototypes,
38811 which can conflict with char $ac_func (); below.
38812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38813 <limits.h> exists even on freestanding compilers. */
38815 #ifdef __STDC__
38816 # include <limits.h>
38817 #else
38818 # include <assert.h>
38819 #endif
38821 #undef $ac_func
38823 /* Override any gcc2 internal prototype to avoid an error. */
38824 #ifdef __cplusplus
38825 extern "C"
38827 #endif
38828 /* We use char because int might match the return type of a gcc2
38829 builtin and then its argument prototype would still apply. */
38830 char $ac_func ();
38831 /* The GNU C library defines this for functions which it implements
38832 to always fail with ENOSYS. Some functions are actually named
38833 something starting with __ and the normal name is an alias. */
38834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38835 choke me
38836 #else
38837 char (*f) () = $ac_func;
38838 #endif
38839 #ifdef __cplusplus
38841 #endif
38844 main ()
38846 return f != $ac_func;
38848 return 0;
38850 _ACEOF
38851 rm -f conftest.$ac_objext conftest$ac_exeext
38852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38853 (eval $ac_link) 2>conftest.er1
38854 ac_status=$?
38855 grep -v '^ *+' conftest.er1 >conftest.err
38856 rm -f conftest.er1
38857 cat conftest.err >&5
38858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38859 (exit $ac_status); } &&
38860 { ac_try='test -z "$ac_c_werror_flag"
38861 || test ! -s conftest.err'
38862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38863 (eval $ac_try) 2>&5
38864 ac_status=$?
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); }; } &&
38867 { ac_try='test -s conftest$ac_exeext'
38868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38869 (eval $ac_try) 2>&5
38870 ac_status=$?
38871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38872 (exit $ac_status); }; }; then
38873 eval "$as_ac_var=yes"
38874 else
38875 echo "$as_me: failed program was:" >&5
38876 sed 's/^/| /' conftest.$ac_ext >&5
38878 eval "$as_ac_var=no"
38880 rm -f conftest.err conftest.$ac_objext \
38881 conftest$ac_exeext conftest.$ac_ext
38883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38885 if test `eval echo '${'$as_ac_var'}'` = yes; then
38886 cat >>confdefs.h <<_ACEOF
38887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38888 _ACEOF
38891 done
38893 else
38895 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
38896 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
38897 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38898 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
38899 echo $ECHO_N "(cached) $ECHO_C" >&6
38900 else
38904 ac_ext=cc
38905 ac_cpp='$CXXCPP $CPPFLAGS'
38906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38910 cat >conftest.$ac_ext <<_ACEOF
38911 /* confdefs.h. */
38912 _ACEOF
38913 cat confdefs.h >>conftest.$ac_ext
38914 cat >>conftest.$ac_ext <<_ACEOF
38915 /* end confdefs.h. */
38916 #include <math.h>
38918 main ()
38920 _frexpf(0, 0);
38922 return 0;
38924 _ACEOF
38925 rm -f conftest.$ac_objext
38926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38927 (eval $ac_compile) 2>conftest.er1
38928 ac_status=$?
38929 grep -v '^ *+' conftest.er1 >conftest.err
38930 rm -f conftest.er1
38931 cat conftest.err >&5
38932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38933 (exit $ac_status); } &&
38934 { ac_try='test -z "$ac_cxx_werror_flag"
38935 || test ! -s conftest.err'
38936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38937 (eval $ac_try) 2>&5
38938 ac_status=$?
38939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38940 (exit $ac_status); }; } &&
38941 { ac_try='test -s conftest.$ac_objext'
38942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38943 (eval $ac_try) 2>&5
38944 ac_status=$?
38945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38946 (exit $ac_status); }; }; then
38947 glibcxx_cv_func__frexpf_use=yes
38948 else
38949 echo "$as_me: failed program was:" >&5
38950 sed 's/^/| /' conftest.$ac_ext >&5
38952 glibcxx_cv_func__frexpf_use=no
38954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38955 ac_ext=c
38956 ac_cpp='$CPP $CPPFLAGS'
38957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38965 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
38966 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
38968 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38970 for ac_func in _frexpf
38972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38973 echo "$as_me:$LINENO: checking for $ac_func" >&5
38974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38975 if eval "test \"\${$as_ac_var+set}\" = set"; then
38976 echo $ECHO_N "(cached) $ECHO_C" >&6
38977 else
38978 if test x$gcc_no_link = xyes; then
38979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38981 { (exit 1); exit 1; }; }
38983 cat >conftest.$ac_ext <<_ACEOF
38984 /* confdefs.h. */
38985 _ACEOF
38986 cat confdefs.h >>conftest.$ac_ext
38987 cat >>conftest.$ac_ext <<_ACEOF
38988 /* end confdefs.h. */
38989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38991 #define $ac_func innocuous_$ac_func
38993 /* System header to define __stub macros and hopefully few prototypes,
38994 which can conflict with char $ac_func (); below.
38995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38996 <limits.h> exists even on freestanding compilers. */
38998 #ifdef __STDC__
38999 # include <limits.h>
39000 #else
39001 # include <assert.h>
39002 #endif
39004 #undef $ac_func
39006 /* Override any gcc2 internal prototype to avoid an error. */
39007 #ifdef __cplusplus
39008 extern "C"
39010 #endif
39011 /* We use char because int might match the return type of a gcc2
39012 builtin and then its argument prototype would still apply. */
39013 char $ac_func ();
39014 /* The GNU C library defines this for functions which it implements
39015 to always fail with ENOSYS. Some functions are actually named
39016 something starting with __ and the normal name is an alias. */
39017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39018 choke me
39019 #else
39020 char (*f) () = $ac_func;
39021 #endif
39022 #ifdef __cplusplus
39024 #endif
39027 main ()
39029 return f != $ac_func;
39031 return 0;
39033 _ACEOF
39034 rm -f conftest.$ac_objext conftest$ac_exeext
39035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39036 (eval $ac_link) 2>conftest.er1
39037 ac_status=$?
39038 grep -v '^ *+' conftest.er1 >conftest.err
39039 rm -f conftest.er1
39040 cat conftest.err >&5
39041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39042 (exit $ac_status); } &&
39043 { ac_try='test -z "$ac_c_werror_flag"
39044 || test ! -s conftest.err'
39045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39046 (eval $ac_try) 2>&5
39047 ac_status=$?
39048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39049 (exit $ac_status); }; } &&
39050 { ac_try='test -s conftest$ac_exeext'
39051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39052 (eval $ac_try) 2>&5
39053 ac_status=$?
39054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39055 (exit $ac_status); }; }; then
39056 eval "$as_ac_var=yes"
39057 else
39058 echo "$as_me: failed program was:" >&5
39059 sed 's/^/| /' conftest.$ac_ext >&5
39061 eval "$as_ac_var=no"
39063 rm -f conftest.err conftest.$ac_objext \
39064 conftest$ac_exeext conftest.$ac_ext
39066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39068 if test `eval echo '${'$as_ac_var'}'` = yes; then
39069 cat >>confdefs.h <<_ACEOF
39070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39071 _ACEOF
39074 done
39084 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
39085 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
39086 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39087 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
39088 echo $ECHO_N "(cached) $ECHO_C" >&6
39089 else
39093 ac_ext=cc
39094 ac_cpp='$CXXCPP $CPPFLAGS'
39095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39099 cat >conftest.$ac_ext <<_ACEOF
39100 /* confdefs.h. */
39101 _ACEOF
39102 cat confdefs.h >>conftest.$ac_ext
39103 cat >>conftest.$ac_ext <<_ACEOF
39104 /* end confdefs.h. */
39105 #include <math.h>
39107 main ()
39109 hypotf(0, 0);
39111 return 0;
39113 _ACEOF
39114 rm -f conftest.$ac_objext
39115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39116 (eval $ac_compile) 2>conftest.er1
39117 ac_status=$?
39118 grep -v '^ *+' conftest.er1 >conftest.err
39119 rm -f conftest.er1
39120 cat conftest.err >&5
39121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39122 (exit $ac_status); } &&
39123 { ac_try='test -z "$ac_cxx_werror_flag"
39124 || test ! -s conftest.err'
39125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39126 (eval $ac_try) 2>&5
39127 ac_status=$?
39128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39129 (exit $ac_status); }; } &&
39130 { ac_try='test -s conftest.$ac_objext'
39131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39132 (eval $ac_try) 2>&5
39133 ac_status=$?
39134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); }; }; then
39136 glibcxx_cv_func_hypotf_use=yes
39137 else
39138 echo "$as_me: failed program was:" >&5
39139 sed 's/^/| /' conftest.$ac_ext >&5
39141 glibcxx_cv_func_hypotf_use=no
39143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39144 ac_ext=c
39145 ac_cpp='$CPP $CPPFLAGS'
39146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39154 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39155 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39157 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39159 for ac_func in hypotf
39161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39162 echo "$as_me:$LINENO: checking for $ac_func" >&5
39163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39164 if eval "test \"\${$as_ac_var+set}\" = set"; then
39165 echo $ECHO_N "(cached) $ECHO_C" >&6
39166 else
39167 if test x$gcc_no_link = xyes; then
39168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39170 { (exit 1); exit 1; }; }
39172 cat >conftest.$ac_ext <<_ACEOF
39173 /* confdefs.h. */
39174 _ACEOF
39175 cat confdefs.h >>conftest.$ac_ext
39176 cat >>conftest.$ac_ext <<_ACEOF
39177 /* end confdefs.h. */
39178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39180 #define $ac_func innocuous_$ac_func
39182 /* System header to define __stub macros and hopefully few prototypes,
39183 which can conflict with char $ac_func (); below.
39184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39185 <limits.h> exists even on freestanding compilers. */
39187 #ifdef __STDC__
39188 # include <limits.h>
39189 #else
39190 # include <assert.h>
39191 #endif
39193 #undef $ac_func
39195 /* Override any gcc2 internal prototype to avoid an error. */
39196 #ifdef __cplusplus
39197 extern "C"
39199 #endif
39200 /* We use char because int might match the return type of a gcc2
39201 builtin and then its argument prototype would still apply. */
39202 char $ac_func ();
39203 /* The GNU C library defines this for functions which it implements
39204 to always fail with ENOSYS. Some functions are actually named
39205 something starting with __ and the normal name is an alias. */
39206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39207 choke me
39208 #else
39209 char (*f) () = $ac_func;
39210 #endif
39211 #ifdef __cplusplus
39213 #endif
39216 main ()
39218 return f != $ac_func;
39220 return 0;
39222 _ACEOF
39223 rm -f conftest.$ac_objext conftest$ac_exeext
39224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39225 (eval $ac_link) 2>conftest.er1
39226 ac_status=$?
39227 grep -v '^ *+' conftest.er1 >conftest.err
39228 rm -f conftest.er1
39229 cat conftest.err >&5
39230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39231 (exit $ac_status); } &&
39232 { ac_try='test -z "$ac_c_werror_flag"
39233 || test ! -s conftest.err'
39234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39235 (eval $ac_try) 2>&5
39236 ac_status=$?
39237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39238 (exit $ac_status); }; } &&
39239 { ac_try='test -s conftest$ac_exeext'
39240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39241 (eval $ac_try) 2>&5
39242 ac_status=$?
39243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39244 (exit $ac_status); }; }; then
39245 eval "$as_ac_var=yes"
39246 else
39247 echo "$as_me: failed program was:" >&5
39248 sed 's/^/| /' conftest.$ac_ext >&5
39250 eval "$as_ac_var=no"
39252 rm -f conftest.err conftest.$ac_objext \
39253 conftest$ac_exeext conftest.$ac_ext
39255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39257 if test `eval echo '${'$as_ac_var'}'` = yes; then
39258 cat >>confdefs.h <<_ACEOF
39259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39260 _ACEOF
39263 done
39265 else
39267 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39268 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39269 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39270 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39271 echo $ECHO_N "(cached) $ECHO_C" >&6
39272 else
39276 ac_ext=cc
39277 ac_cpp='$CXXCPP $CPPFLAGS'
39278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39282 cat >conftest.$ac_ext <<_ACEOF
39283 /* confdefs.h. */
39284 _ACEOF
39285 cat confdefs.h >>conftest.$ac_ext
39286 cat >>conftest.$ac_ext <<_ACEOF
39287 /* end confdefs.h. */
39288 #include <math.h>
39290 main ()
39292 _hypotf(0, 0);
39294 return 0;
39296 _ACEOF
39297 rm -f conftest.$ac_objext
39298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39299 (eval $ac_compile) 2>conftest.er1
39300 ac_status=$?
39301 grep -v '^ *+' conftest.er1 >conftest.err
39302 rm -f conftest.er1
39303 cat conftest.err >&5
39304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39305 (exit $ac_status); } &&
39306 { ac_try='test -z "$ac_cxx_werror_flag"
39307 || test ! -s conftest.err'
39308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39309 (eval $ac_try) 2>&5
39310 ac_status=$?
39311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312 (exit $ac_status); }; } &&
39313 { ac_try='test -s conftest.$ac_objext'
39314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39315 (eval $ac_try) 2>&5
39316 ac_status=$?
39317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39318 (exit $ac_status); }; }; then
39319 glibcxx_cv_func__hypotf_use=yes
39320 else
39321 echo "$as_me: failed program was:" >&5
39322 sed 's/^/| /' conftest.$ac_ext >&5
39324 glibcxx_cv_func__hypotf_use=no
39326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39327 ac_ext=c
39328 ac_cpp='$CPP $CPPFLAGS'
39329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39337 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39338 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39340 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39342 for ac_func in _hypotf
39344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39345 echo "$as_me:$LINENO: checking for $ac_func" >&5
39346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39347 if eval "test \"\${$as_ac_var+set}\" = set"; then
39348 echo $ECHO_N "(cached) $ECHO_C" >&6
39349 else
39350 if test x$gcc_no_link = xyes; then
39351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39353 { (exit 1); exit 1; }; }
39355 cat >conftest.$ac_ext <<_ACEOF
39356 /* confdefs.h. */
39357 _ACEOF
39358 cat confdefs.h >>conftest.$ac_ext
39359 cat >>conftest.$ac_ext <<_ACEOF
39360 /* end confdefs.h. */
39361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39363 #define $ac_func innocuous_$ac_func
39365 /* System header to define __stub macros and hopefully few prototypes,
39366 which can conflict with char $ac_func (); below.
39367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39368 <limits.h> exists even on freestanding compilers. */
39370 #ifdef __STDC__
39371 # include <limits.h>
39372 #else
39373 # include <assert.h>
39374 #endif
39376 #undef $ac_func
39378 /* Override any gcc2 internal prototype to avoid an error. */
39379 #ifdef __cplusplus
39380 extern "C"
39382 #endif
39383 /* We use char because int might match the return type of a gcc2
39384 builtin and then its argument prototype would still apply. */
39385 char $ac_func ();
39386 /* The GNU C library defines this for functions which it implements
39387 to always fail with ENOSYS. Some functions are actually named
39388 something starting with __ and the normal name is an alias. */
39389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39390 choke me
39391 #else
39392 char (*f) () = $ac_func;
39393 #endif
39394 #ifdef __cplusplus
39396 #endif
39399 main ()
39401 return f != $ac_func;
39403 return 0;
39405 _ACEOF
39406 rm -f conftest.$ac_objext conftest$ac_exeext
39407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39408 (eval $ac_link) 2>conftest.er1
39409 ac_status=$?
39410 grep -v '^ *+' conftest.er1 >conftest.err
39411 rm -f conftest.er1
39412 cat conftest.err >&5
39413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39414 (exit $ac_status); } &&
39415 { ac_try='test -z "$ac_c_werror_flag"
39416 || test ! -s conftest.err'
39417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39418 (eval $ac_try) 2>&5
39419 ac_status=$?
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); }; } &&
39422 { ac_try='test -s conftest$ac_exeext'
39423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39424 (eval $ac_try) 2>&5
39425 ac_status=$?
39426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39427 (exit $ac_status); }; }; then
39428 eval "$as_ac_var=yes"
39429 else
39430 echo "$as_me: failed program was:" >&5
39431 sed 's/^/| /' conftest.$ac_ext >&5
39433 eval "$as_ac_var=no"
39435 rm -f conftest.err conftest.$ac_objext \
39436 conftest$ac_exeext conftest.$ac_ext
39438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39440 if test `eval echo '${'$as_ac_var'}'` = yes; then
39441 cat >>confdefs.h <<_ACEOF
39442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39443 _ACEOF
39446 done
39456 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39457 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39458 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39459 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39460 echo $ECHO_N "(cached) $ECHO_C" >&6
39461 else
39465 ac_ext=cc
39466 ac_cpp='$CXXCPP $CPPFLAGS'
39467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39471 cat >conftest.$ac_ext <<_ACEOF
39472 /* confdefs.h. */
39473 _ACEOF
39474 cat confdefs.h >>conftest.$ac_ext
39475 cat >>conftest.$ac_ext <<_ACEOF
39476 /* end confdefs.h. */
39477 #include <math.h>
39479 main ()
39481 ldexpf(0, 0);
39483 return 0;
39485 _ACEOF
39486 rm -f conftest.$ac_objext
39487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39488 (eval $ac_compile) 2>conftest.er1
39489 ac_status=$?
39490 grep -v '^ *+' conftest.er1 >conftest.err
39491 rm -f conftest.er1
39492 cat conftest.err >&5
39493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39494 (exit $ac_status); } &&
39495 { ac_try='test -z "$ac_cxx_werror_flag"
39496 || test ! -s conftest.err'
39497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39498 (eval $ac_try) 2>&5
39499 ac_status=$?
39500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39501 (exit $ac_status); }; } &&
39502 { ac_try='test -s conftest.$ac_objext'
39503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39504 (eval $ac_try) 2>&5
39505 ac_status=$?
39506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39507 (exit $ac_status); }; }; then
39508 glibcxx_cv_func_ldexpf_use=yes
39509 else
39510 echo "$as_me: failed program was:" >&5
39511 sed 's/^/| /' conftest.$ac_ext >&5
39513 glibcxx_cv_func_ldexpf_use=no
39515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39516 ac_ext=c
39517 ac_cpp='$CPP $CPPFLAGS'
39518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39526 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39527 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39529 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39531 for ac_func in ldexpf
39533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39534 echo "$as_me:$LINENO: checking for $ac_func" >&5
39535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39536 if eval "test \"\${$as_ac_var+set}\" = set"; then
39537 echo $ECHO_N "(cached) $ECHO_C" >&6
39538 else
39539 if test x$gcc_no_link = xyes; then
39540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39542 { (exit 1); exit 1; }; }
39544 cat >conftest.$ac_ext <<_ACEOF
39545 /* confdefs.h. */
39546 _ACEOF
39547 cat confdefs.h >>conftest.$ac_ext
39548 cat >>conftest.$ac_ext <<_ACEOF
39549 /* end confdefs.h. */
39550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39552 #define $ac_func innocuous_$ac_func
39554 /* System header to define __stub macros and hopefully few prototypes,
39555 which can conflict with char $ac_func (); below.
39556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39557 <limits.h> exists even on freestanding compilers. */
39559 #ifdef __STDC__
39560 # include <limits.h>
39561 #else
39562 # include <assert.h>
39563 #endif
39565 #undef $ac_func
39567 /* Override any gcc2 internal prototype to avoid an error. */
39568 #ifdef __cplusplus
39569 extern "C"
39571 #endif
39572 /* We use char because int might match the return type of a gcc2
39573 builtin and then its argument prototype would still apply. */
39574 char $ac_func ();
39575 /* The GNU C library defines this for functions which it implements
39576 to always fail with ENOSYS. Some functions are actually named
39577 something starting with __ and the normal name is an alias. */
39578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39579 choke me
39580 #else
39581 char (*f) () = $ac_func;
39582 #endif
39583 #ifdef __cplusplus
39585 #endif
39588 main ()
39590 return f != $ac_func;
39592 return 0;
39594 _ACEOF
39595 rm -f conftest.$ac_objext conftest$ac_exeext
39596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39597 (eval $ac_link) 2>conftest.er1
39598 ac_status=$?
39599 grep -v '^ *+' conftest.er1 >conftest.err
39600 rm -f conftest.er1
39601 cat conftest.err >&5
39602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603 (exit $ac_status); } &&
39604 { ac_try='test -z "$ac_c_werror_flag"
39605 || test ! -s conftest.err'
39606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39607 (eval $ac_try) 2>&5
39608 ac_status=$?
39609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39610 (exit $ac_status); }; } &&
39611 { ac_try='test -s conftest$ac_exeext'
39612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39613 (eval $ac_try) 2>&5
39614 ac_status=$?
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); }; }; then
39617 eval "$as_ac_var=yes"
39618 else
39619 echo "$as_me: failed program was:" >&5
39620 sed 's/^/| /' conftest.$ac_ext >&5
39622 eval "$as_ac_var=no"
39624 rm -f conftest.err conftest.$ac_objext \
39625 conftest$ac_exeext conftest.$ac_ext
39627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39629 if test `eval echo '${'$as_ac_var'}'` = yes; then
39630 cat >>confdefs.h <<_ACEOF
39631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39632 _ACEOF
39635 done
39637 else
39639 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39640 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39641 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39642 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39643 echo $ECHO_N "(cached) $ECHO_C" >&6
39644 else
39648 ac_ext=cc
39649 ac_cpp='$CXXCPP $CPPFLAGS'
39650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39654 cat >conftest.$ac_ext <<_ACEOF
39655 /* confdefs.h. */
39656 _ACEOF
39657 cat confdefs.h >>conftest.$ac_ext
39658 cat >>conftest.$ac_ext <<_ACEOF
39659 /* end confdefs.h. */
39660 #include <math.h>
39662 main ()
39664 _ldexpf(0, 0);
39666 return 0;
39668 _ACEOF
39669 rm -f conftest.$ac_objext
39670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39671 (eval $ac_compile) 2>conftest.er1
39672 ac_status=$?
39673 grep -v '^ *+' conftest.er1 >conftest.err
39674 rm -f conftest.er1
39675 cat conftest.err >&5
39676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39677 (exit $ac_status); } &&
39678 { ac_try='test -z "$ac_cxx_werror_flag"
39679 || test ! -s conftest.err'
39680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39681 (eval $ac_try) 2>&5
39682 ac_status=$?
39683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39684 (exit $ac_status); }; } &&
39685 { ac_try='test -s conftest.$ac_objext'
39686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39687 (eval $ac_try) 2>&5
39688 ac_status=$?
39689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690 (exit $ac_status); }; }; then
39691 glibcxx_cv_func__ldexpf_use=yes
39692 else
39693 echo "$as_me: failed program was:" >&5
39694 sed 's/^/| /' conftest.$ac_ext >&5
39696 glibcxx_cv_func__ldexpf_use=no
39698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39699 ac_ext=c
39700 ac_cpp='$CPP $CPPFLAGS'
39701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39709 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39710 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39712 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39714 for ac_func in _ldexpf
39716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39717 echo "$as_me:$LINENO: checking for $ac_func" >&5
39718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39719 if eval "test \"\${$as_ac_var+set}\" = set"; then
39720 echo $ECHO_N "(cached) $ECHO_C" >&6
39721 else
39722 if test x$gcc_no_link = xyes; then
39723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39725 { (exit 1); exit 1; }; }
39727 cat >conftest.$ac_ext <<_ACEOF
39728 /* confdefs.h. */
39729 _ACEOF
39730 cat confdefs.h >>conftest.$ac_ext
39731 cat >>conftest.$ac_ext <<_ACEOF
39732 /* end confdefs.h. */
39733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39735 #define $ac_func innocuous_$ac_func
39737 /* System header to define __stub macros and hopefully few prototypes,
39738 which can conflict with char $ac_func (); below.
39739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39740 <limits.h> exists even on freestanding compilers. */
39742 #ifdef __STDC__
39743 # include <limits.h>
39744 #else
39745 # include <assert.h>
39746 #endif
39748 #undef $ac_func
39750 /* Override any gcc2 internal prototype to avoid an error. */
39751 #ifdef __cplusplus
39752 extern "C"
39754 #endif
39755 /* We use char because int might match the return type of a gcc2
39756 builtin and then its argument prototype would still apply. */
39757 char $ac_func ();
39758 /* The GNU C library defines this for functions which it implements
39759 to always fail with ENOSYS. Some functions are actually named
39760 something starting with __ and the normal name is an alias. */
39761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39762 choke me
39763 #else
39764 char (*f) () = $ac_func;
39765 #endif
39766 #ifdef __cplusplus
39768 #endif
39771 main ()
39773 return f != $ac_func;
39775 return 0;
39777 _ACEOF
39778 rm -f conftest.$ac_objext conftest$ac_exeext
39779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39780 (eval $ac_link) 2>conftest.er1
39781 ac_status=$?
39782 grep -v '^ *+' conftest.er1 >conftest.err
39783 rm -f conftest.er1
39784 cat conftest.err >&5
39785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39786 (exit $ac_status); } &&
39787 { ac_try='test -z "$ac_c_werror_flag"
39788 || test ! -s conftest.err'
39789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39790 (eval $ac_try) 2>&5
39791 ac_status=$?
39792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39793 (exit $ac_status); }; } &&
39794 { ac_try='test -s conftest$ac_exeext'
39795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39796 (eval $ac_try) 2>&5
39797 ac_status=$?
39798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39799 (exit $ac_status); }; }; then
39800 eval "$as_ac_var=yes"
39801 else
39802 echo "$as_me: failed program was:" >&5
39803 sed 's/^/| /' conftest.$ac_ext >&5
39805 eval "$as_ac_var=no"
39807 rm -f conftest.err conftest.$ac_objext \
39808 conftest$ac_exeext conftest.$ac_ext
39810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39812 if test `eval echo '${'$as_ac_var'}'` = yes; then
39813 cat >>confdefs.h <<_ACEOF
39814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39815 _ACEOF
39818 done
39828 echo "$as_me:$LINENO: checking for logf declaration" >&5
39829 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39830 if test x${glibcxx_cv_func_logf_use+set} != xset; then
39831 if test "${glibcxx_cv_func_logf_use+set}" = set; then
39832 echo $ECHO_N "(cached) $ECHO_C" >&6
39833 else
39837 ac_ext=cc
39838 ac_cpp='$CXXCPP $CPPFLAGS'
39839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39843 cat >conftest.$ac_ext <<_ACEOF
39844 /* confdefs.h. */
39845 _ACEOF
39846 cat confdefs.h >>conftest.$ac_ext
39847 cat >>conftest.$ac_ext <<_ACEOF
39848 /* end confdefs.h. */
39849 #include <math.h>
39850 #ifdef HAVE_IEEEFP_H
39851 #include <ieeefp.h>
39852 #endif
39855 main ()
39857 logf(0);
39859 return 0;
39861 _ACEOF
39862 rm -f conftest.$ac_objext
39863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39864 (eval $ac_compile) 2>conftest.er1
39865 ac_status=$?
39866 grep -v '^ *+' conftest.er1 >conftest.err
39867 rm -f conftest.er1
39868 cat conftest.err >&5
39869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39870 (exit $ac_status); } &&
39871 { ac_try='test -z "$ac_cxx_werror_flag"
39872 || test ! -s conftest.err'
39873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39874 (eval $ac_try) 2>&5
39875 ac_status=$?
39876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39877 (exit $ac_status); }; } &&
39878 { ac_try='test -s conftest.$ac_objext'
39879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39880 (eval $ac_try) 2>&5
39881 ac_status=$?
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); }; }; then
39884 glibcxx_cv_func_logf_use=yes
39885 else
39886 echo "$as_me: failed program was:" >&5
39887 sed 's/^/| /' conftest.$ac_ext >&5
39889 glibcxx_cv_func_logf_use=no
39891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39892 ac_ext=c
39893 ac_cpp='$CPP $CPPFLAGS'
39894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39902 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
39903 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
39905 if test x$glibcxx_cv_func_logf_use = x"yes"; then
39907 for ac_func in logf
39909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39910 echo "$as_me:$LINENO: checking for $ac_func" >&5
39911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39912 if eval "test \"\${$as_ac_var+set}\" = set"; then
39913 echo $ECHO_N "(cached) $ECHO_C" >&6
39914 else
39915 if test x$gcc_no_link = xyes; then
39916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39918 { (exit 1); exit 1; }; }
39920 cat >conftest.$ac_ext <<_ACEOF
39921 /* confdefs.h. */
39922 _ACEOF
39923 cat confdefs.h >>conftest.$ac_ext
39924 cat >>conftest.$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39928 #define $ac_func innocuous_$ac_func
39930 /* System header to define __stub macros and hopefully few prototypes,
39931 which can conflict with char $ac_func (); below.
39932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39933 <limits.h> exists even on freestanding compilers. */
39935 #ifdef __STDC__
39936 # include <limits.h>
39937 #else
39938 # include <assert.h>
39939 #endif
39941 #undef $ac_func
39943 /* Override any gcc2 internal prototype to avoid an error. */
39944 #ifdef __cplusplus
39945 extern "C"
39947 #endif
39948 /* We use char because int might match the return type of a gcc2
39949 builtin and then its argument prototype would still apply. */
39950 char $ac_func ();
39951 /* The GNU C library defines this for functions which it implements
39952 to always fail with ENOSYS. Some functions are actually named
39953 something starting with __ and the normal name is an alias. */
39954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39955 choke me
39956 #else
39957 char (*f) () = $ac_func;
39958 #endif
39959 #ifdef __cplusplus
39961 #endif
39964 main ()
39966 return f != $ac_func;
39968 return 0;
39970 _ACEOF
39971 rm -f conftest.$ac_objext conftest$ac_exeext
39972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39973 (eval $ac_link) 2>conftest.er1
39974 ac_status=$?
39975 grep -v '^ *+' conftest.er1 >conftest.err
39976 rm -f conftest.er1
39977 cat conftest.err >&5
39978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39979 (exit $ac_status); } &&
39980 { ac_try='test -z "$ac_c_werror_flag"
39981 || test ! -s conftest.err'
39982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39983 (eval $ac_try) 2>&5
39984 ac_status=$?
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); }; } &&
39987 { ac_try='test -s conftest$ac_exeext'
39988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39989 (eval $ac_try) 2>&5
39990 ac_status=$?
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); }; }; then
39993 eval "$as_ac_var=yes"
39994 else
39995 echo "$as_me: failed program was:" >&5
39996 sed 's/^/| /' conftest.$ac_ext >&5
39998 eval "$as_ac_var=no"
40000 rm -f conftest.err conftest.$ac_objext \
40001 conftest$ac_exeext conftest.$ac_ext
40003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40005 if test `eval echo '${'$as_ac_var'}'` = yes; then
40006 cat >>confdefs.h <<_ACEOF
40007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40008 _ACEOF
40011 done
40013 else
40015 echo "$as_me:$LINENO: checking for _logf declaration" >&5
40016 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
40017 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40018 if test "${glibcxx_cv_func__logf_use+set}" = set; then
40019 echo $ECHO_N "(cached) $ECHO_C" >&6
40020 else
40024 ac_ext=cc
40025 ac_cpp='$CXXCPP $CPPFLAGS'
40026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40030 cat >conftest.$ac_ext <<_ACEOF
40031 /* confdefs.h. */
40032 _ACEOF
40033 cat confdefs.h >>conftest.$ac_ext
40034 cat >>conftest.$ac_ext <<_ACEOF
40035 /* end confdefs.h. */
40036 #include <math.h>
40037 #ifdef HAVE_IEEEFP_H
40038 #include <ieeefp.h>
40039 #endif
40042 main ()
40044 _logf(0);
40046 return 0;
40048 _ACEOF
40049 rm -f conftest.$ac_objext
40050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40051 (eval $ac_compile) 2>conftest.er1
40052 ac_status=$?
40053 grep -v '^ *+' conftest.er1 >conftest.err
40054 rm -f conftest.er1
40055 cat conftest.err >&5
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); } &&
40058 { ac_try='test -z "$ac_cxx_werror_flag"
40059 || test ! -s conftest.err'
40060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40061 (eval $ac_try) 2>&5
40062 ac_status=$?
40063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40064 (exit $ac_status); }; } &&
40065 { ac_try='test -s conftest.$ac_objext'
40066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40067 (eval $ac_try) 2>&5
40068 ac_status=$?
40069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40070 (exit $ac_status); }; }; then
40071 glibcxx_cv_func__logf_use=yes
40072 else
40073 echo "$as_me: failed program was:" >&5
40074 sed 's/^/| /' conftest.$ac_ext >&5
40076 glibcxx_cv_func__logf_use=no
40078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40079 ac_ext=c
40080 ac_cpp='$CPP $CPPFLAGS'
40081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
40090 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
40092 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40094 for ac_func in _logf
40096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40097 echo "$as_me:$LINENO: checking for $ac_func" >&5
40098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40099 if eval "test \"\${$as_ac_var+set}\" = set"; then
40100 echo $ECHO_N "(cached) $ECHO_C" >&6
40101 else
40102 if test x$gcc_no_link = xyes; then
40103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40105 { (exit 1); exit 1; }; }
40107 cat >conftest.$ac_ext <<_ACEOF
40108 /* confdefs.h. */
40109 _ACEOF
40110 cat confdefs.h >>conftest.$ac_ext
40111 cat >>conftest.$ac_ext <<_ACEOF
40112 /* end confdefs.h. */
40113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40115 #define $ac_func innocuous_$ac_func
40117 /* System header to define __stub macros and hopefully few prototypes,
40118 which can conflict with char $ac_func (); below.
40119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40120 <limits.h> exists even on freestanding compilers. */
40122 #ifdef __STDC__
40123 # include <limits.h>
40124 #else
40125 # include <assert.h>
40126 #endif
40128 #undef $ac_func
40130 /* Override any gcc2 internal prototype to avoid an error. */
40131 #ifdef __cplusplus
40132 extern "C"
40134 #endif
40135 /* We use char because int might match the return type of a gcc2
40136 builtin and then its argument prototype would still apply. */
40137 char $ac_func ();
40138 /* The GNU C library defines this for functions which it implements
40139 to always fail with ENOSYS. Some functions are actually named
40140 something starting with __ and the normal name is an alias. */
40141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40142 choke me
40143 #else
40144 char (*f) () = $ac_func;
40145 #endif
40146 #ifdef __cplusplus
40148 #endif
40151 main ()
40153 return f != $ac_func;
40155 return 0;
40157 _ACEOF
40158 rm -f conftest.$ac_objext conftest$ac_exeext
40159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40160 (eval $ac_link) 2>conftest.er1
40161 ac_status=$?
40162 grep -v '^ *+' conftest.er1 >conftest.err
40163 rm -f conftest.er1
40164 cat conftest.err >&5
40165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40166 (exit $ac_status); } &&
40167 { ac_try='test -z "$ac_c_werror_flag"
40168 || test ! -s conftest.err'
40169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40170 (eval $ac_try) 2>&5
40171 ac_status=$?
40172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40173 (exit $ac_status); }; } &&
40174 { ac_try='test -s conftest$ac_exeext'
40175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40176 (eval $ac_try) 2>&5
40177 ac_status=$?
40178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40179 (exit $ac_status); }; }; then
40180 eval "$as_ac_var=yes"
40181 else
40182 echo "$as_me: failed program was:" >&5
40183 sed 's/^/| /' conftest.$ac_ext >&5
40185 eval "$as_ac_var=no"
40187 rm -f conftest.err conftest.$ac_objext \
40188 conftest$ac_exeext conftest.$ac_ext
40190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40192 if test `eval echo '${'$as_ac_var'}'` = yes; then
40193 cat >>confdefs.h <<_ACEOF
40194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40195 _ACEOF
40198 done
40208 echo "$as_me:$LINENO: checking for log10f declaration" >&5
40209 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40210 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40211 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40212 echo $ECHO_N "(cached) $ECHO_C" >&6
40213 else
40217 ac_ext=cc
40218 ac_cpp='$CXXCPP $CPPFLAGS'
40219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40223 cat >conftest.$ac_ext <<_ACEOF
40224 /* confdefs.h. */
40225 _ACEOF
40226 cat confdefs.h >>conftest.$ac_ext
40227 cat >>conftest.$ac_ext <<_ACEOF
40228 /* end confdefs.h. */
40229 #include <math.h>
40230 #ifdef HAVE_IEEEFP_H
40231 #include <ieeefp.h>
40232 #endif
40235 main ()
40237 log10f(0);
40239 return 0;
40241 _ACEOF
40242 rm -f conftest.$ac_objext
40243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40244 (eval $ac_compile) 2>conftest.er1
40245 ac_status=$?
40246 grep -v '^ *+' conftest.er1 >conftest.err
40247 rm -f conftest.er1
40248 cat conftest.err >&5
40249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250 (exit $ac_status); } &&
40251 { ac_try='test -z "$ac_cxx_werror_flag"
40252 || test ! -s conftest.err'
40253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40254 (eval $ac_try) 2>&5
40255 ac_status=$?
40256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40257 (exit $ac_status); }; } &&
40258 { ac_try='test -s conftest.$ac_objext'
40259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40260 (eval $ac_try) 2>&5
40261 ac_status=$?
40262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263 (exit $ac_status); }; }; then
40264 glibcxx_cv_func_log10f_use=yes
40265 else
40266 echo "$as_me: failed program was:" >&5
40267 sed 's/^/| /' conftest.$ac_ext >&5
40269 glibcxx_cv_func_log10f_use=no
40271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40272 ac_ext=c
40273 ac_cpp='$CPP $CPPFLAGS'
40274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40282 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40283 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40285 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40287 for ac_func in log10f
40289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40290 echo "$as_me:$LINENO: checking for $ac_func" >&5
40291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40292 if eval "test \"\${$as_ac_var+set}\" = set"; then
40293 echo $ECHO_N "(cached) $ECHO_C" >&6
40294 else
40295 if test x$gcc_no_link = xyes; then
40296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40298 { (exit 1); exit 1; }; }
40300 cat >conftest.$ac_ext <<_ACEOF
40301 /* confdefs.h. */
40302 _ACEOF
40303 cat confdefs.h >>conftest.$ac_ext
40304 cat >>conftest.$ac_ext <<_ACEOF
40305 /* end confdefs.h. */
40306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40308 #define $ac_func innocuous_$ac_func
40310 /* System header to define __stub macros and hopefully few prototypes,
40311 which can conflict with char $ac_func (); below.
40312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40313 <limits.h> exists even on freestanding compilers. */
40315 #ifdef __STDC__
40316 # include <limits.h>
40317 #else
40318 # include <assert.h>
40319 #endif
40321 #undef $ac_func
40323 /* Override any gcc2 internal prototype to avoid an error. */
40324 #ifdef __cplusplus
40325 extern "C"
40327 #endif
40328 /* We use char because int might match the return type of a gcc2
40329 builtin and then its argument prototype would still apply. */
40330 char $ac_func ();
40331 /* The GNU C library defines this for functions which it implements
40332 to always fail with ENOSYS. Some functions are actually named
40333 something starting with __ and the normal name is an alias. */
40334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40335 choke me
40336 #else
40337 char (*f) () = $ac_func;
40338 #endif
40339 #ifdef __cplusplus
40341 #endif
40344 main ()
40346 return f != $ac_func;
40348 return 0;
40350 _ACEOF
40351 rm -f conftest.$ac_objext conftest$ac_exeext
40352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40353 (eval $ac_link) 2>conftest.er1
40354 ac_status=$?
40355 grep -v '^ *+' conftest.er1 >conftest.err
40356 rm -f conftest.er1
40357 cat conftest.err >&5
40358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40359 (exit $ac_status); } &&
40360 { ac_try='test -z "$ac_c_werror_flag"
40361 || test ! -s conftest.err'
40362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40363 (eval $ac_try) 2>&5
40364 ac_status=$?
40365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40366 (exit $ac_status); }; } &&
40367 { ac_try='test -s conftest$ac_exeext'
40368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40369 (eval $ac_try) 2>&5
40370 ac_status=$?
40371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372 (exit $ac_status); }; }; then
40373 eval "$as_ac_var=yes"
40374 else
40375 echo "$as_me: failed program was:" >&5
40376 sed 's/^/| /' conftest.$ac_ext >&5
40378 eval "$as_ac_var=no"
40380 rm -f conftest.err conftest.$ac_objext \
40381 conftest$ac_exeext conftest.$ac_ext
40383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40385 if test `eval echo '${'$as_ac_var'}'` = yes; then
40386 cat >>confdefs.h <<_ACEOF
40387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40388 _ACEOF
40391 done
40393 else
40395 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40396 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40397 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40398 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40399 echo $ECHO_N "(cached) $ECHO_C" >&6
40400 else
40404 ac_ext=cc
40405 ac_cpp='$CXXCPP $CPPFLAGS'
40406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40410 cat >conftest.$ac_ext <<_ACEOF
40411 /* confdefs.h. */
40412 _ACEOF
40413 cat confdefs.h >>conftest.$ac_ext
40414 cat >>conftest.$ac_ext <<_ACEOF
40415 /* end confdefs.h. */
40416 #include <math.h>
40417 #ifdef HAVE_IEEEFP_H
40418 #include <ieeefp.h>
40419 #endif
40422 main ()
40424 _log10f(0);
40426 return 0;
40428 _ACEOF
40429 rm -f conftest.$ac_objext
40430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40431 (eval $ac_compile) 2>conftest.er1
40432 ac_status=$?
40433 grep -v '^ *+' conftest.er1 >conftest.err
40434 rm -f conftest.er1
40435 cat conftest.err >&5
40436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40437 (exit $ac_status); } &&
40438 { ac_try='test -z "$ac_cxx_werror_flag"
40439 || test ! -s conftest.err'
40440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40441 (eval $ac_try) 2>&5
40442 ac_status=$?
40443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40444 (exit $ac_status); }; } &&
40445 { ac_try='test -s conftest.$ac_objext'
40446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40447 (eval $ac_try) 2>&5
40448 ac_status=$?
40449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450 (exit $ac_status); }; }; then
40451 glibcxx_cv_func__log10f_use=yes
40452 else
40453 echo "$as_me: failed program was:" >&5
40454 sed 's/^/| /' conftest.$ac_ext >&5
40456 glibcxx_cv_func__log10f_use=no
40458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40459 ac_ext=c
40460 ac_cpp='$CPP $CPPFLAGS'
40461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40469 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40470 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40472 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40474 for ac_func in _log10f
40476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40477 echo "$as_me:$LINENO: checking for $ac_func" >&5
40478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40479 if eval "test \"\${$as_ac_var+set}\" = set"; then
40480 echo $ECHO_N "(cached) $ECHO_C" >&6
40481 else
40482 if test x$gcc_no_link = xyes; then
40483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40485 { (exit 1); exit 1; }; }
40487 cat >conftest.$ac_ext <<_ACEOF
40488 /* confdefs.h. */
40489 _ACEOF
40490 cat confdefs.h >>conftest.$ac_ext
40491 cat >>conftest.$ac_ext <<_ACEOF
40492 /* end confdefs.h. */
40493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40495 #define $ac_func innocuous_$ac_func
40497 /* System header to define __stub macros and hopefully few prototypes,
40498 which can conflict with char $ac_func (); below.
40499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40500 <limits.h> exists even on freestanding compilers. */
40502 #ifdef __STDC__
40503 # include <limits.h>
40504 #else
40505 # include <assert.h>
40506 #endif
40508 #undef $ac_func
40510 /* Override any gcc2 internal prototype to avoid an error. */
40511 #ifdef __cplusplus
40512 extern "C"
40514 #endif
40515 /* We use char because int might match the return type of a gcc2
40516 builtin and then its argument prototype would still apply. */
40517 char $ac_func ();
40518 /* The GNU C library defines this for functions which it implements
40519 to always fail with ENOSYS. Some functions are actually named
40520 something starting with __ and the normal name is an alias. */
40521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40522 choke me
40523 #else
40524 char (*f) () = $ac_func;
40525 #endif
40526 #ifdef __cplusplus
40528 #endif
40531 main ()
40533 return f != $ac_func;
40535 return 0;
40537 _ACEOF
40538 rm -f conftest.$ac_objext conftest$ac_exeext
40539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40540 (eval $ac_link) 2>conftest.er1
40541 ac_status=$?
40542 grep -v '^ *+' conftest.er1 >conftest.err
40543 rm -f conftest.er1
40544 cat conftest.err >&5
40545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40546 (exit $ac_status); } &&
40547 { ac_try='test -z "$ac_c_werror_flag"
40548 || test ! -s conftest.err'
40549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40550 (eval $ac_try) 2>&5
40551 ac_status=$?
40552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40553 (exit $ac_status); }; } &&
40554 { ac_try='test -s conftest$ac_exeext'
40555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40556 (eval $ac_try) 2>&5
40557 ac_status=$?
40558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40559 (exit $ac_status); }; }; then
40560 eval "$as_ac_var=yes"
40561 else
40562 echo "$as_me: failed program was:" >&5
40563 sed 's/^/| /' conftest.$ac_ext >&5
40565 eval "$as_ac_var=no"
40567 rm -f conftest.err conftest.$ac_objext \
40568 conftest$ac_exeext conftest.$ac_ext
40570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40572 if test `eval echo '${'$as_ac_var'}'` = yes; then
40573 cat >>confdefs.h <<_ACEOF
40574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40575 _ACEOF
40578 done
40588 echo "$as_me:$LINENO: checking for modff declaration" >&5
40589 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40590 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40591 if test "${glibcxx_cv_func_modff_use+set}" = set; then
40592 echo $ECHO_N "(cached) $ECHO_C" >&6
40593 else
40597 ac_ext=cc
40598 ac_cpp='$CXXCPP $CPPFLAGS'
40599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40603 cat >conftest.$ac_ext <<_ACEOF
40604 /* confdefs.h. */
40605 _ACEOF
40606 cat confdefs.h >>conftest.$ac_ext
40607 cat >>conftest.$ac_ext <<_ACEOF
40608 /* end confdefs.h. */
40609 #include <math.h>
40611 main ()
40613 modff(0, 0);
40615 return 0;
40617 _ACEOF
40618 rm -f conftest.$ac_objext
40619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40620 (eval $ac_compile) 2>conftest.er1
40621 ac_status=$?
40622 grep -v '^ *+' conftest.er1 >conftest.err
40623 rm -f conftest.er1
40624 cat conftest.err >&5
40625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626 (exit $ac_status); } &&
40627 { ac_try='test -z "$ac_cxx_werror_flag"
40628 || test ! -s conftest.err'
40629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40630 (eval $ac_try) 2>&5
40631 ac_status=$?
40632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 (exit $ac_status); }; } &&
40634 { ac_try='test -s conftest.$ac_objext'
40635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40636 (eval $ac_try) 2>&5
40637 ac_status=$?
40638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40639 (exit $ac_status); }; }; then
40640 glibcxx_cv_func_modff_use=yes
40641 else
40642 echo "$as_me: failed program was:" >&5
40643 sed 's/^/| /' conftest.$ac_ext >&5
40645 glibcxx_cv_func_modff_use=no
40647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40648 ac_ext=c
40649 ac_cpp='$CPP $CPPFLAGS'
40650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40658 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40659 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40661 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40663 for ac_func in modff
40665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40666 echo "$as_me:$LINENO: checking for $ac_func" >&5
40667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40668 if eval "test \"\${$as_ac_var+set}\" = set"; then
40669 echo $ECHO_N "(cached) $ECHO_C" >&6
40670 else
40671 if test x$gcc_no_link = xyes; then
40672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40674 { (exit 1); exit 1; }; }
40676 cat >conftest.$ac_ext <<_ACEOF
40677 /* confdefs.h. */
40678 _ACEOF
40679 cat confdefs.h >>conftest.$ac_ext
40680 cat >>conftest.$ac_ext <<_ACEOF
40681 /* end confdefs.h. */
40682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40684 #define $ac_func innocuous_$ac_func
40686 /* System header to define __stub macros and hopefully few prototypes,
40687 which can conflict with char $ac_func (); below.
40688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40689 <limits.h> exists even on freestanding compilers. */
40691 #ifdef __STDC__
40692 # include <limits.h>
40693 #else
40694 # include <assert.h>
40695 #endif
40697 #undef $ac_func
40699 /* Override any gcc2 internal prototype to avoid an error. */
40700 #ifdef __cplusplus
40701 extern "C"
40703 #endif
40704 /* We use char because int might match the return type of a gcc2
40705 builtin and then its argument prototype would still apply. */
40706 char $ac_func ();
40707 /* The GNU C library defines this for functions which it implements
40708 to always fail with ENOSYS. Some functions are actually named
40709 something starting with __ and the normal name is an alias. */
40710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40711 choke me
40712 #else
40713 char (*f) () = $ac_func;
40714 #endif
40715 #ifdef __cplusplus
40717 #endif
40720 main ()
40722 return f != $ac_func;
40724 return 0;
40726 _ACEOF
40727 rm -f conftest.$ac_objext conftest$ac_exeext
40728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40729 (eval $ac_link) 2>conftest.er1
40730 ac_status=$?
40731 grep -v '^ *+' conftest.er1 >conftest.err
40732 rm -f conftest.er1
40733 cat conftest.err >&5
40734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40735 (exit $ac_status); } &&
40736 { ac_try='test -z "$ac_c_werror_flag"
40737 || test ! -s conftest.err'
40738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40739 (eval $ac_try) 2>&5
40740 ac_status=$?
40741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40742 (exit $ac_status); }; } &&
40743 { ac_try='test -s conftest$ac_exeext'
40744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40745 (eval $ac_try) 2>&5
40746 ac_status=$?
40747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40748 (exit $ac_status); }; }; then
40749 eval "$as_ac_var=yes"
40750 else
40751 echo "$as_me: failed program was:" >&5
40752 sed 's/^/| /' conftest.$ac_ext >&5
40754 eval "$as_ac_var=no"
40756 rm -f conftest.err conftest.$ac_objext \
40757 conftest$ac_exeext conftest.$ac_ext
40759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40761 if test `eval echo '${'$as_ac_var'}'` = yes; then
40762 cat >>confdefs.h <<_ACEOF
40763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40764 _ACEOF
40767 done
40769 else
40771 echo "$as_me:$LINENO: checking for _modff declaration" >&5
40772 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40773 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40774 if test "${glibcxx_cv_func__modff_use+set}" = set; then
40775 echo $ECHO_N "(cached) $ECHO_C" >&6
40776 else
40780 ac_ext=cc
40781 ac_cpp='$CXXCPP $CPPFLAGS'
40782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40786 cat >conftest.$ac_ext <<_ACEOF
40787 /* confdefs.h. */
40788 _ACEOF
40789 cat confdefs.h >>conftest.$ac_ext
40790 cat >>conftest.$ac_ext <<_ACEOF
40791 /* end confdefs.h. */
40792 #include <math.h>
40794 main ()
40796 _modff(0, 0);
40798 return 0;
40800 _ACEOF
40801 rm -f conftest.$ac_objext
40802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40803 (eval $ac_compile) 2>conftest.er1
40804 ac_status=$?
40805 grep -v '^ *+' conftest.er1 >conftest.err
40806 rm -f conftest.er1
40807 cat conftest.err >&5
40808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809 (exit $ac_status); } &&
40810 { ac_try='test -z "$ac_cxx_werror_flag"
40811 || test ! -s conftest.err'
40812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40813 (eval $ac_try) 2>&5
40814 ac_status=$?
40815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40816 (exit $ac_status); }; } &&
40817 { ac_try='test -s conftest.$ac_objext'
40818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40819 (eval $ac_try) 2>&5
40820 ac_status=$?
40821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40822 (exit $ac_status); }; }; then
40823 glibcxx_cv_func__modff_use=yes
40824 else
40825 echo "$as_me: failed program was:" >&5
40826 sed 's/^/| /' conftest.$ac_ext >&5
40828 glibcxx_cv_func__modff_use=no
40830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40831 ac_ext=c
40832 ac_cpp='$CPP $CPPFLAGS'
40833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40841 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40842 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40844 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40846 for ac_func in _modff
40848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40849 echo "$as_me:$LINENO: checking for $ac_func" >&5
40850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40851 if eval "test \"\${$as_ac_var+set}\" = set"; then
40852 echo $ECHO_N "(cached) $ECHO_C" >&6
40853 else
40854 if test x$gcc_no_link = xyes; then
40855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40857 { (exit 1); exit 1; }; }
40859 cat >conftest.$ac_ext <<_ACEOF
40860 /* confdefs.h. */
40861 _ACEOF
40862 cat confdefs.h >>conftest.$ac_ext
40863 cat >>conftest.$ac_ext <<_ACEOF
40864 /* end confdefs.h. */
40865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40867 #define $ac_func innocuous_$ac_func
40869 /* System header to define __stub macros and hopefully few prototypes,
40870 which can conflict with char $ac_func (); below.
40871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40872 <limits.h> exists even on freestanding compilers. */
40874 #ifdef __STDC__
40875 # include <limits.h>
40876 #else
40877 # include <assert.h>
40878 #endif
40880 #undef $ac_func
40882 /* Override any gcc2 internal prototype to avoid an error. */
40883 #ifdef __cplusplus
40884 extern "C"
40886 #endif
40887 /* We use char because int might match the return type of a gcc2
40888 builtin and then its argument prototype would still apply. */
40889 char $ac_func ();
40890 /* The GNU C library defines this for functions which it implements
40891 to always fail with ENOSYS. Some functions are actually named
40892 something starting with __ and the normal name is an alias. */
40893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40894 choke me
40895 #else
40896 char (*f) () = $ac_func;
40897 #endif
40898 #ifdef __cplusplus
40900 #endif
40903 main ()
40905 return f != $ac_func;
40907 return 0;
40909 _ACEOF
40910 rm -f conftest.$ac_objext conftest$ac_exeext
40911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40912 (eval $ac_link) 2>conftest.er1
40913 ac_status=$?
40914 grep -v '^ *+' conftest.er1 >conftest.err
40915 rm -f conftest.er1
40916 cat conftest.err >&5
40917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40918 (exit $ac_status); } &&
40919 { ac_try='test -z "$ac_c_werror_flag"
40920 || test ! -s conftest.err'
40921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40922 (eval $ac_try) 2>&5
40923 ac_status=$?
40924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40925 (exit $ac_status); }; } &&
40926 { ac_try='test -s conftest$ac_exeext'
40927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40928 (eval $ac_try) 2>&5
40929 ac_status=$?
40930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40931 (exit $ac_status); }; }; then
40932 eval "$as_ac_var=yes"
40933 else
40934 echo "$as_me: failed program was:" >&5
40935 sed 's/^/| /' conftest.$ac_ext >&5
40937 eval "$as_ac_var=no"
40939 rm -f conftest.err conftest.$ac_objext \
40940 conftest$ac_exeext conftest.$ac_ext
40942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40944 if test `eval echo '${'$as_ac_var'}'` = yes; then
40945 cat >>confdefs.h <<_ACEOF
40946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40947 _ACEOF
40950 done
40960 echo "$as_me:$LINENO: checking for modf declaration" >&5
40961 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
40962 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40963 if test "${glibcxx_cv_func_modf_use+set}" = set; then
40964 echo $ECHO_N "(cached) $ECHO_C" >&6
40965 else
40969 ac_ext=cc
40970 ac_cpp='$CXXCPP $CPPFLAGS'
40971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40975 cat >conftest.$ac_ext <<_ACEOF
40976 /* confdefs.h. */
40977 _ACEOF
40978 cat confdefs.h >>conftest.$ac_ext
40979 cat >>conftest.$ac_ext <<_ACEOF
40980 /* end confdefs.h. */
40981 #include <math.h>
40983 main ()
40985 modf(0, 0);
40987 return 0;
40989 _ACEOF
40990 rm -f conftest.$ac_objext
40991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40992 (eval $ac_compile) 2>conftest.er1
40993 ac_status=$?
40994 grep -v '^ *+' conftest.er1 >conftest.err
40995 rm -f conftest.er1
40996 cat conftest.err >&5
40997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40998 (exit $ac_status); } &&
40999 { ac_try='test -z "$ac_cxx_werror_flag"
41000 || test ! -s conftest.err'
41001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41002 (eval $ac_try) 2>&5
41003 ac_status=$?
41004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41005 (exit $ac_status); }; } &&
41006 { ac_try='test -s conftest.$ac_objext'
41007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41008 (eval $ac_try) 2>&5
41009 ac_status=$?
41010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011 (exit $ac_status); }; }; then
41012 glibcxx_cv_func_modf_use=yes
41013 else
41014 echo "$as_me: failed program was:" >&5
41015 sed 's/^/| /' conftest.$ac_ext >&5
41017 glibcxx_cv_func_modf_use=no
41019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41020 ac_ext=c
41021 ac_cpp='$CPP $CPPFLAGS'
41022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41030 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
41031 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
41033 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41035 for ac_func in modf
41037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41038 echo "$as_me:$LINENO: checking for $ac_func" >&5
41039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41040 if eval "test \"\${$as_ac_var+set}\" = set"; then
41041 echo $ECHO_N "(cached) $ECHO_C" >&6
41042 else
41043 if test x$gcc_no_link = xyes; then
41044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41046 { (exit 1); exit 1; }; }
41048 cat >conftest.$ac_ext <<_ACEOF
41049 /* confdefs.h. */
41050 _ACEOF
41051 cat confdefs.h >>conftest.$ac_ext
41052 cat >>conftest.$ac_ext <<_ACEOF
41053 /* end confdefs.h. */
41054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41056 #define $ac_func innocuous_$ac_func
41058 /* System header to define __stub macros and hopefully few prototypes,
41059 which can conflict with char $ac_func (); below.
41060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41061 <limits.h> exists even on freestanding compilers. */
41063 #ifdef __STDC__
41064 # include <limits.h>
41065 #else
41066 # include <assert.h>
41067 #endif
41069 #undef $ac_func
41071 /* Override any gcc2 internal prototype to avoid an error. */
41072 #ifdef __cplusplus
41073 extern "C"
41075 #endif
41076 /* We use char because int might match the return type of a gcc2
41077 builtin and then its argument prototype would still apply. */
41078 char $ac_func ();
41079 /* The GNU C library defines this for functions which it implements
41080 to always fail with ENOSYS. Some functions are actually named
41081 something starting with __ and the normal name is an alias. */
41082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41083 choke me
41084 #else
41085 char (*f) () = $ac_func;
41086 #endif
41087 #ifdef __cplusplus
41089 #endif
41092 main ()
41094 return f != $ac_func;
41096 return 0;
41098 _ACEOF
41099 rm -f conftest.$ac_objext conftest$ac_exeext
41100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41101 (eval $ac_link) 2>conftest.er1
41102 ac_status=$?
41103 grep -v '^ *+' conftest.er1 >conftest.err
41104 rm -f conftest.er1
41105 cat conftest.err >&5
41106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41107 (exit $ac_status); } &&
41108 { ac_try='test -z "$ac_c_werror_flag"
41109 || test ! -s conftest.err'
41110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41111 (eval $ac_try) 2>&5
41112 ac_status=$?
41113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41114 (exit $ac_status); }; } &&
41115 { ac_try='test -s conftest$ac_exeext'
41116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41117 (eval $ac_try) 2>&5
41118 ac_status=$?
41119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120 (exit $ac_status); }; }; then
41121 eval "$as_ac_var=yes"
41122 else
41123 echo "$as_me: failed program was:" >&5
41124 sed 's/^/| /' conftest.$ac_ext >&5
41126 eval "$as_ac_var=no"
41128 rm -f conftest.err conftest.$ac_objext \
41129 conftest$ac_exeext conftest.$ac_ext
41131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41133 if test `eval echo '${'$as_ac_var'}'` = yes; then
41134 cat >>confdefs.h <<_ACEOF
41135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41136 _ACEOF
41139 done
41141 else
41143 echo "$as_me:$LINENO: checking for _modf declaration" >&5
41144 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
41145 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41146 if test "${glibcxx_cv_func__modf_use+set}" = set; then
41147 echo $ECHO_N "(cached) $ECHO_C" >&6
41148 else
41152 ac_ext=cc
41153 ac_cpp='$CXXCPP $CPPFLAGS'
41154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41158 cat >conftest.$ac_ext <<_ACEOF
41159 /* confdefs.h. */
41160 _ACEOF
41161 cat confdefs.h >>conftest.$ac_ext
41162 cat >>conftest.$ac_ext <<_ACEOF
41163 /* end confdefs.h. */
41164 #include <math.h>
41166 main ()
41168 _modf(0, 0);
41170 return 0;
41172 _ACEOF
41173 rm -f conftest.$ac_objext
41174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41175 (eval $ac_compile) 2>conftest.er1
41176 ac_status=$?
41177 grep -v '^ *+' conftest.er1 >conftest.err
41178 rm -f conftest.er1
41179 cat conftest.err >&5
41180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41181 (exit $ac_status); } &&
41182 { ac_try='test -z "$ac_cxx_werror_flag"
41183 || test ! -s conftest.err'
41184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41185 (eval $ac_try) 2>&5
41186 ac_status=$?
41187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41188 (exit $ac_status); }; } &&
41189 { ac_try='test -s conftest.$ac_objext'
41190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41191 (eval $ac_try) 2>&5
41192 ac_status=$?
41193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41194 (exit $ac_status); }; }; then
41195 glibcxx_cv_func__modf_use=yes
41196 else
41197 echo "$as_me: failed program was:" >&5
41198 sed 's/^/| /' conftest.$ac_ext >&5
41200 glibcxx_cv_func__modf_use=no
41202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41203 ac_ext=c
41204 ac_cpp='$CPP $CPPFLAGS'
41205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41213 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
41214 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
41216 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41218 for ac_func in _modf
41220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41221 echo "$as_me:$LINENO: checking for $ac_func" >&5
41222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41223 if eval "test \"\${$as_ac_var+set}\" = set"; then
41224 echo $ECHO_N "(cached) $ECHO_C" >&6
41225 else
41226 if test x$gcc_no_link = xyes; then
41227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41229 { (exit 1); exit 1; }; }
41231 cat >conftest.$ac_ext <<_ACEOF
41232 /* confdefs.h. */
41233 _ACEOF
41234 cat confdefs.h >>conftest.$ac_ext
41235 cat >>conftest.$ac_ext <<_ACEOF
41236 /* end confdefs.h. */
41237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41239 #define $ac_func innocuous_$ac_func
41241 /* System header to define __stub macros and hopefully few prototypes,
41242 which can conflict with char $ac_func (); below.
41243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41244 <limits.h> exists even on freestanding compilers. */
41246 #ifdef __STDC__
41247 # include <limits.h>
41248 #else
41249 # include <assert.h>
41250 #endif
41252 #undef $ac_func
41254 /* Override any gcc2 internal prototype to avoid an error. */
41255 #ifdef __cplusplus
41256 extern "C"
41258 #endif
41259 /* We use char because int might match the return type of a gcc2
41260 builtin and then its argument prototype would still apply. */
41261 char $ac_func ();
41262 /* The GNU C library defines this for functions which it implements
41263 to always fail with ENOSYS. Some functions are actually named
41264 something starting with __ and the normal name is an alias. */
41265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41266 choke me
41267 #else
41268 char (*f) () = $ac_func;
41269 #endif
41270 #ifdef __cplusplus
41272 #endif
41275 main ()
41277 return f != $ac_func;
41279 return 0;
41281 _ACEOF
41282 rm -f conftest.$ac_objext conftest$ac_exeext
41283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41284 (eval $ac_link) 2>conftest.er1
41285 ac_status=$?
41286 grep -v '^ *+' conftest.er1 >conftest.err
41287 rm -f conftest.er1
41288 cat conftest.err >&5
41289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41290 (exit $ac_status); } &&
41291 { ac_try='test -z "$ac_c_werror_flag"
41292 || test ! -s conftest.err'
41293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41294 (eval $ac_try) 2>&5
41295 ac_status=$?
41296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41297 (exit $ac_status); }; } &&
41298 { ac_try='test -s conftest$ac_exeext'
41299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41300 (eval $ac_try) 2>&5
41301 ac_status=$?
41302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41303 (exit $ac_status); }; }; then
41304 eval "$as_ac_var=yes"
41305 else
41306 echo "$as_me: failed program was:" >&5
41307 sed 's/^/| /' conftest.$ac_ext >&5
41309 eval "$as_ac_var=no"
41311 rm -f conftest.err conftest.$ac_objext \
41312 conftest$ac_exeext conftest.$ac_ext
41314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41316 if test `eval echo '${'$as_ac_var'}'` = yes; then
41317 cat >>confdefs.h <<_ACEOF
41318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41319 _ACEOF
41322 done
41332 echo "$as_me:$LINENO: checking for powf declaration" >&5
41333 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41334 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41335 if test "${glibcxx_cv_func_powf_use+set}" = set; then
41336 echo $ECHO_N "(cached) $ECHO_C" >&6
41337 else
41341 ac_ext=cc
41342 ac_cpp='$CXXCPP $CPPFLAGS'
41343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41347 cat >conftest.$ac_ext <<_ACEOF
41348 /* confdefs.h. */
41349 _ACEOF
41350 cat confdefs.h >>conftest.$ac_ext
41351 cat >>conftest.$ac_ext <<_ACEOF
41352 /* end confdefs.h. */
41353 #include <math.h>
41355 main ()
41357 powf(0, 0);
41359 return 0;
41361 _ACEOF
41362 rm -f conftest.$ac_objext
41363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41364 (eval $ac_compile) 2>conftest.er1
41365 ac_status=$?
41366 grep -v '^ *+' conftest.er1 >conftest.err
41367 rm -f conftest.er1
41368 cat conftest.err >&5
41369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41370 (exit $ac_status); } &&
41371 { ac_try='test -z "$ac_cxx_werror_flag"
41372 || test ! -s conftest.err'
41373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41374 (eval $ac_try) 2>&5
41375 ac_status=$?
41376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41377 (exit $ac_status); }; } &&
41378 { ac_try='test -s conftest.$ac_objext'
41379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41380 (eval $ac_try) 2>&5
41381 ac_status=$?
41382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41383 (exit $ac_status); }; }; then
41384 glibcxx_cv_func_powf_use=yes
41385 else
41386 echo "$as_me: failed program was:" >&5
41387 sed 's/^/| /' conftest.$ac_ext >&5
41389 glibcxx_cv_func_powf_use=no
41391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41392 ac_ext=c
41393 ac_cpp='$CPP $CPPFLAGS'
41394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41403 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41405 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41407 for ac_func in powf
41409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41410 echo "$as_me:$LINENO: checking for $ac_func" >&5
41411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41412 if eval "test \"\${$as_ac_var+set}\" = set"; then
41413 echo $ECHO_N "(cached) $ECHO_C" >&6
41414 else
41415 if test x$gcc_no_link = xyes; then
41416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41418 { (exit 1); exit 1; }; }
41420 cat >conftest.$ac_ext <<_ACEOF
41421 /* confdefs.h. */
41422 _ACEOF
41423 cat confdefs.h >>conftest.$ac_ext
41424 cat >>conftest.$ac_ext <<_ACEOF
41425 /* end confdefs.h. */
41426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41428 #define $ac_func innocuous_$ac_func
41430 /* System header to define __stub macros and hopefully few prototypes,
41431 which can conflict with char $ac_func (); below.
41432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41433 <limits.h> exists even on freestanding compilers. */
41435 #ifdef __STDC__
41436 # include <limits.h>
41437 #else
41438 # include <assert.h>
41439 #endif
41441 #undef $ac_func
41443 /* Override any gcc2 internal prototype to avoid an error. */
41444 #ifdef __cplusplus
41445 extern "C"
41447 #endif
41448 /* We use char because int might match the return type of a gcc2
41449 builtin and then its argument prototype would still apply. */
41450 char $ac_func ();
41451 /* The GNU C library defines this for functions which it implements
41452 to always fail with ENOSYS. Some functions are actually named
41453 something starting with __ and the normal name is an alias. */
41454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41455 choke me
41456 #else
41457 char (*f) () = $ac_func;
41458 #endif
41459 #ifdef __cplusplus
41461 #endif
41464 main ()
41466 return f != $ac_func;
41468 return 0;
41470 _ACEOF
41471 rm -f conftest.$ac_objext conftest$ac_exeext
41472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41473 (eval $ac_link) 2>conftest.er1
41474 ac_status=$?
41475 grep -v '^ *+' conftest.er1 >conftest.err
41476 rm -f conftest.er1
41477 cat conftest.err >&5
41478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41479 (exit $ac_status); } &&
41480 { ac_try='test -z "$ac_c_werror_flag"
41481 || test ! -s conftest.err'
41482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41483 (eval $ac_try) 2>&5
41484 ac_status=$?
41485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41486 (exit $ac_status); }; } &&
41487 { ac_try='test -s conftest$ac_exeext'
41488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41489 (eval $ac_try) 2>&5
41490 ac_status=$?
41491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41492 (exit $ac_status); }; }; then
41493 eval "$as_ac_var=yes"
41494 else
41495 echo "$as_me: failed program was:" >&5
41496 sed 's/^/| /' conftest.$ac_ext >&5
41498 eval "$as_ac_var=no"
41500 rm -f conftest.err conftest.$ac_objext \
41501 conftest$ac_exeext conftest.$ac_ext
41503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41505 if test `eval echo '${'$as_ac_var'}'` = yes; then
41506 cat >>confdefs.h <<_ACEOF
41507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41508 _ACEOF
41511 done
41513 else
41515 echo "$as_me:$LINENO: checking for _powf declaration" >&5
41516 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41517 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41518 if test "${glibcxx_cv_func__powf_use+set}" = set; then
41519 echo $ECHO_N "(cached) $ECHO_C" >&6
41520 else
41524 ac_ext=cc
41525 ac_cpp='$CXXCPP $CPPFLAGS'
41526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41530 cat >conftest.$ac_ext <<_ACEOF
41531 /* confdefs.h. */
41532 _ACEOF
41533 cat confdefs.h >>conftest.$ac_ext
41534 cat >>conftest.$ac_ext <<_ACEOF
41535 /* end confdefs.h. */
41536 #include <math.h>
41538 main ()
41540 _powf(0, 0);
41542 return 0;
41544 _ACEOF
41545 rm -f conftest.$ac_objext
41546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41547 (eval $ac_compile) 2>conftest.er1
41548 ac_status=$?
41549 grep -v '^ *+' conftest.er1 >conftest.err
41550 rm -f conftest.er1
41551 cat conftest.err >&5
41552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41553 (exit $ac_status); } &&
41554 { ac_try='test -z "$ac_cxx_werror_flag"
41555 || test ! -s conftest.err'
41556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41557 (eval $ac_try) 2>&5
41558 ac_status=$?
41559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560 (exit $ac_status); }; } &&
41561 { ac_try='test -s conftest.$ac_objext'
41562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41563 (eval $ac_try) 2>&5
41564 ac_status=$?
41565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41566 (exit $ac_status); }; }; then
41567 glibcxx_cv_func__powf_use=yes
41568 else
41569 echo "$as_me: failed program was:" >&5
41570 sed 's/^/| /' conftest.$ac_ext >&5
41572 glibcxx_cv_func__powf_use=no
41574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41575 ac_ext=c
41576 ac_cpp='$CPP $CPPFLAGS'
41577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41585 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41586 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41588 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41590 for ac_func in _powf
41592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41593 echo "$as_me:$LINENO: checking for $ac_func" >&5
41594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41595 if eval "test \"\${$as_ac_var+set}\" = set"; then
41596 echo $ECHO_N "(cached) $ECHO_C" >&6
41597 else
41598 if test x$gcc_no_link = xyes; then
41599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41601 { (exit 1); exit 1; }; }
41603 cat >conftest.$ac_ext <<_ACEOF
41604 /* confdefs.h. */
41605 _ACEOF
41606 cat confdefs.h >>conftest.$ac_ext
41607 cat >>conftest.$ac_ext <<_ACEOF
41608 /* end confdefs.h. */
41609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41611 #define $ac_func innocuous_$ac_func
41613 /* System header to define __stub macros and hopefully few prototypes,
41614 which can conflict with char $ac_func (); below.
41615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41616 <limits.h> exists even on freestanding compilers. */
41618 #ifdef __STDC__
41619 # include <limits.h>
41620 #else
41621 # include <assert.h>
41622 #endif
41624 #undef $ac_func
41626 /* Override any gcc2 internal prototype to avoid an error. */
41627 #ifdef __cplusplus
41628 extern "C"
41630 #endif
41631 /* We use char because int might match the return type of a gcc2
41632 builtin and then its argument prototype would still apply. */
41633 char $ac_func ();
41634 /* The GNU C library defines this for functions which it implements
41635 to always fail with ENOSYS. Some functions are actually named
41636 something starting with __ and the normal name is an alias. */
41637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41638 choke me
41639 #else
41640 char (*f) () = $ac_func;
41641 #endif
41642 #ifdef __cplusplus
41644 #endif
41647 main ()
41649 return f != $ac_func;
41651 return 0;
41653 _ACEOF
41654 rm -f conftest.$ac_objext conftest$ac_exeext
41655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41656 (eval $ac_link) 2>conftest.er1
41657 ac_status=$?
41658 grep -v '^ *+' conftest.er1 >conftest.err
41659 rm -f conftest.er1
41660 cat conftest.err >&5
41661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41662 (exit $ac_status); } &&
41663 { ac_try='test -z "$ac_c_werror_flag"
41664 || test ! -s conftest.err'
41665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41666 (eval $ac_try) 2>&5
41667 ac_status=$?
41668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41669 (exit $ac_status); }; } &&
41670 { ac_try='test -s conftest$ac_exeext'
41671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41672 (eval $ac_try) 2>&5
41673 ac_status=$?
41674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41675 (exit $ac_status); }; }; then
41676 eval "$as_ac_var=yes"
41677 else
41678 echo "$as_me: failed program was:" >&5
41679 sed 's/^/| /' conftest.$ac_ext >&5
41681 eval "$as_ac_var=no"
41683 rm -f conftest.err conftest.$ac_objext \
41684 conftest$ac_exeext conftest.$ac_ext
41686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41688 if test `eval echo '${'$as_ac_var'}'` = yes; then
41689 cat >>confdefs.h <<_ACEOF
41690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41691 _ACEOF
41694 done
41704 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41705 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41706 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41707 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41708 echo $ECHO_N "(cached) $ECHO_C" >&6
41709 else
41713 ac_ext=cc
41714 ac_cpp='$CXXCPP $CPPFLAGS'
41715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41719 cat >conftest.$ac_ext <<_ACEOF
41720 /* confdefs.h. */
41721 _ACEOF
41722 cat confdefs.h >>conftest.$ac_ext
41723 cat >>conftest.$ac_ext <<_ACEOF
41724 /* end confdefs.h. */
41725 #include <math.h>
41726 #ifdef HAVE_IEEEFP_H
41727 #include <ieeefp.h>
41728 #endif
41731 main ()
41733 sqrtf(0);
41735 return 0;
41737 _ACEOF
41738 rm -f conftest.$ac_objext
41739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41740 (eval $ac_compile) 2>conftest.er1
41741 ac_status=$?
41742 grep -v '^ *+' conftest.er1 >conftest.err
41743 rm -f conftest.er1
41744 cat conftest.err >&5
41745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41746 (exit $ac_status); } &&
41747 { ac_try='test -z "$ac_cxx_werror_flag"
41748 || test ! -s conftest.err'
41749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41750 (eval $ac_try) 2>&5
41751 ac_status=$?
41752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753 (exit $ac_status); }; } &&
41754 { ac_try='test -s conftest.$ac_objext'
41755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41756 (eval $ac_try) 2>&5
41757 ac_status=$?
41758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41759 (exit $ac_status); }; }; then
41760 glibcxx_cv_func_sqrtf_use=yes
41761 else
41762 echo "$as_me: failed program was:" >&5
41763 sed 's/^/| /' conftest.$ac_ext >&5
41765 glibcxx_cv_func_sqrtf_use=no
41767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41768 ac_ext=c
41769 ac_cpp='$CPP $CPPFLAGS'
41770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41779 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41781 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41783 for ac_func in sqrtf
41785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41786 echo "$as_me:$LINENO: checking for $ac_func" >&5
41787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41788 if eval "test \"\${$as_ac_var+set}\" = set"; then
41789 echo $ECHO_N "(cached) $ECHO_C" >&6
41790 else
41791 if test x$gcc_no_link = xyes; then
41792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41794 { (exit 1); exit 1; }; }
41796 cat >conftest.$ac_ext <<_ACEOF
41797 /* confdefs.h. */
41798 _ACEOF
41799 cat confdefs.h >>conftest.$ac_ext
41800 cat >>conftest.$ac_ext <<_ACEOF
41801 /* end confdefs.h. */
41802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41804 #define $ac_func innocuous_$ac_func
41806 /* System header to define __stub macros and hopefully few prototypes,
41807 which can conflict with char $ac_func (); below.
41808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41809 <limits.h> exists even on freestanding compilers. */
41811 #ifdef __STDC__
41812 # include <limits.h>
41813 #else
41814 # include <assert.h>
41815 #endif
41817 #undef $ac_func
41819 /* Override any gcc2 internal prototype to avoid an error. */
41820 #ifdef __cplusplus
41821 extern "C"
41823 #endif
41824 /* We use char because int might match the return type of a gcc2
41825 builtin and then its argument prototype would still apply. */
41826 char $ac_func ();
41827 /* The GNU C library defines this for functions which it implements
41828 to always fail with ENOSYS. Some functions are actually named
41829 something starting with __ and the normal name is an alias. */
41830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41831 choke me
41832 #else
41833 char (*f) () = $ac_func;
41834 #endif
41835 #ifdef __cplusplus
41837 #endif
41840 main ()
41842 return f != $ac_func;
41844 return 0;
41846 _ACEOF
41847 rm -f conftest.$ac_objext conftest$ac_exeext
41848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41849 (eval $ac_link) 2>conftest.er1
41850 ac_status=$?
41851 grep -v '^ *+' conftest.er1 >conftest.err
41852 rm -f conftest.er1
41853 cat conftest.err >&5
41854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855 (exit $ac_status); } &&
41856 { ac_try='test -z "$ac_c_werror_flag"
41857 || test ! -s conftest.err'
41858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41859 (eval $ac_try) 2>&5
41860 ac_status=$?
41861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41862 (exit $ac_status); }; } &&
41863 { ac_try='test -s conftest$ac_exeext'
41864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41865 (eval $ac_try) 2>&5
41866 ac_status=$?
41867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41868 (exit $ac_status); }; }; then
41869 eval "$as_ac_var=yes"
41870 else
41871 echo "$as_me: failed program was:" >&5
41872 sed 's/^/| /' conftest.$ac_ext >&5
41874 eval "$as_ac_var=no"
41876 rm -f conftest.err conftest.$ac_objext \
41877 conftest$ac_exeext conftest.$ac_ext
41879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41881 if test `eval echo '${'$as_ac_var'}'` = yes; then
41882 cat >>confdefs.h <<_ACEOF
41883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41884 _ACEOF
41887 done
41889 else
41891 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
41892 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
41893 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41894 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
41895 echo $ECHO_N "(cached) $ECHO_C" >&6
41896 else
41900 ac_ext=cc
41901 ac_cpp='$CXXCPP $CPPFLAGS'
41902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41906 cat >conftest.$ac_ext <<_ACEOF
41907 /* confdefs.h. */
41908 _ACEOF
41909 cat confdefs.h >>conftest.$ac_ext
41910 cat >>conftest.$ac_ext <<_ACEOF
41911 /* end confdefs.h. */
41912 #include <math.h>
41913 #ifdef HAVE_IEEEFP_H
41914 #include <ieeefp.h>
41915 #endif
41918 main ()
41920 _sqrtf(0);
41922 return 0;
41924 _ACEOF
41925 rm -f conftest.$ac_objext
41926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41927 (eval $ac_compile) 2>conftest.er1
41928 ac_status=$?
41929 grep -v '^ *+' conftest.er1 >conftest.err
41930 rm -f conftest.er1
41931 cat conftest.err >&5
41932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41933 (exit $ac_status); } &&
41934 { ac_try='test -z "$ac_cxx_werror_flag"
41935 || test ! -s conftest.err'
41936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41937 (eval $ac_try) 2>&5
41938 ac_status=$?
41939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41940 (exit $ac_status); }; } &&
41941 { ac_try='test -s conftest.$ac_objext'
41942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41943 (eval $ac_try) 2>&5
41944 ac_status=$?
41945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946 (exit $ac_status); }; }; then
41947 glibcxx_cv_func__sqrtf_use=yes
41948 else
41949 echo "$as_me: failed program was:" >&5
41950 sed 's/^/| /' conftest.$ac_ext >&5
41952 glibcxx_cv_func__sqrtf_use=no
41954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41955 ac_ext=c
41956 ac_cpp='$CPP $CPPFLAGS'
41957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41965 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
41966 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
41968 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41970 for ac_func in _sqrtf
41972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41973 echo "$as_me:$LINENO: checking for $ac_func" >&5
41974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41975 if eval "test \"\${$as_ac_var+set}\" = set"; then
41976 echo $ECHO_N "(cached) $ECHO_C" >&6
41977 else
41978 if test x$gcc_no_link = xyes; then
41979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41981 { (exit 1); exit 1; }; }
41983 cat >conftest.$ac_ext <<_ACEOF
41984 /* confdefs.h. */
41985 _ACEOF
41986 cat confdefs.h >>conftest.$ac_ext
41987 cat >>conftest.$ac_ext <<_ACEOF
41988 /* end confdefs.h. */
41989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41991 #define $ac_func innocuous_$ac_func
41993 /* System header to define __stub macros and hopefully few prototypes,
41994 which can conflict with char $ac_func (); below.
41995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41996 <limits.h> exists even on freestanding compilers. */
41998 #ifdef __STDC__
41999 # include <limits.h>
42000 #else
42001 # include <assert.h>
42002 #endif
42004 #undef $ac_func
42006 /* Override any gcc2 internal prototype to avoid an error. */
42007 #ifdef __cplusplus
42008 extern "C"
42010 #endif
42011 /* We use char because int might match the return type of a gcc2
42012 builtin and then its argument prototype would still apply. */
42013 char $ac_func ();
42014 /* The GNU C library defines this for functions which it implements
42015 to always fail with ENOSYS. Some functions are actually named
42016 something starting with __ and the normal name is an alias. */
42017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42018 choke me
42019 #else
42020 char (*f) () = $ac_func;
42021 #endif
42022 #ifdef __cplusplus
42024 #endif
42027 main ()
42029 return f != $ac_func;
42031 return 0;
42033 _ACEOF
42034 rm -f conftest.$ac_objext conftest$ac_exeext
42035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42036 (eval $ac_link) 2>conftest.er1
42037 ac_status=$?
42038 grep -v '^ *+' conftest.er1 >conftest.err
42039 rm -f conftest.er1
42040 cat conftest.err >&5
42041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42042 (exit $ac_status); } &&
42043 { ac_try='test -z "$ac_c_werror_flag"
42044 || test ! -s conftest.err'
42045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42046 (eval $ac_try) 2>&5
42047 ac_status=$?
42048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42049 (exit $ac_status); }; } &&
42050 { ac_try='test -s conftest$ac_exeext'
42051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42052 (eval $ac_try) 2>&5
42053 ac_status=$?
42054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42055 (exit $ac_status); }; }; then
42056 eval "$as_ac_var=yes"
42057 else
42058 echo "$as_me: failed program was:" >&5
42059 sed 's/^/| /' conftest.$ac_ext >&5
42061 eval "$as_ac_var=no"
42063 rm -f conftest.err conftest.$ac_objext \
42064 conftest$ac_exeext conftest.$ac_ext
42066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42068 if test `eval echo '${'$as_ac_var'}'` = yes; then
42069 cat >>confdefs.h <<_ACEOF
42070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42071 _ACEOF
42074 done
42084 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
42085 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
42086 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42087 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
42088 echo $ECHO_N "(cached) $ECHO_C" >&6
42089 else
42093 ac_ext=cc
42094 ac_cpp='$CXXCPP $CPPFLAGS'
42095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42099 cat >conftest.$ac_ext <<_ACEOF
42100 /* confdefs.h. */
42101 _ACEOF
42102 cat confdefs.h >>conftest.$ac_ext
42103 cat >>conftest.$ac_ext <<_ACEOF
42104 /* end confdefs.h. */
42105 #include <math.h>
42107 main ()
42109 sincosf(0, 0, 0);
42111 return 0;
42113 _ACEOF
42114 rm -f conftest.$ac_objext
42115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42116 (eval $ac_compile) 2>conftest.er1
42117 ac_status=$?
42118 grep -v '^ *+' conftest.er1 >conftest.err
42119 rm -f conftest.er1
42120 cat conftest.err >&5
42121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42122 (exit $ac_status); } &&
42123 { ac_try='test -z "$ac_cxx_werror_flag"
42124 || test ! -s conftest.err'
42125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42126 (eval $ac_try) 2>&5
42127 ac_status=$?
42128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42129 (exit $ac_status); }; } &&
42130 { ac_try='test -s conftest.$ac_objext'
42131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42132 (eval $ac_try) 2>&5
42133 ac_status=$?
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); }; }; then
42136 glibcxx_cv_func_sincosf_use=yes
42137 else
42138 echo "$as_me: failed program was:" >&5
42139 sed 's/^/| /' conftest.$ac_ext >&5
42141 glibcxx_cv_func_sincosf_use=no
42143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42144 ac_ext=c
42145 ac_cpp='$CPP $CPPFLAGS'
42146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42154 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
42155 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
42157 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42159 for ac_func in sincosf
42161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42162 echo "$as_me:$LINENO: checking for $ac_func" >&5
42163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42164 if eval "test \"\${$as_ac_var+set}\" = set"; then
42165 echo $ECHO_N "(cached) $ECHO_C" >&6
42166 else
42167 if test x$gcc_no_link = xyes; then
42168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42170 { (exit 1); exit 1; }; }
42172 cat >conftest.$ac_ext <<_ACEOF
42173 /* confdefs.h. */
42174 _ACEOF
42175 cat confdefs.h >>conftest.$ac_ext
42176 cat >>conftest.$ac_ext <<_ACEOF
42177 /* end confdefs.h. */
42178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42180 #define $ac_func innocuous_$ac_func
42182 /* System header to define __stub macros and hopefully few prototypes,
42183 which can conflict with char $ac_func (); below.
42184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42185 <limits.h> exists even on freestanding compilers. */
42187 #ifdef __STDC__
42188 # include <limits.h>
42189 #else
42190 # include <assert.h>
42191 #endif
42193 #undef $ac_func
42195 /* Override any gcc2 internal prototype to avoid an error. */
42196 #ifdef __cplusplus
42197 extern "C"
42199 #endif
42200 /* We use char because int might match the return type of a gcc2
42201 builtin and then its argument prototype would still apply. */
42202 char $ac_func ();
42203 /* The GNU C library defines this for functions which it implements
42204 to always fail with ENOSYS. Some functions are actually named
42205 something starting with __ and the normal name is an alias. */
42206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42207 choke me
42208 #else
42209 char (*f) () = $ac_func;
42210 #endif
42211 #ifdef __cplusplus
42213 #endif
42216 main ()
42218 return f != $ac_func;
42220 return 0;
42222 _ACEOF
42223 rm -f conftest.$ac_objext conftest$ac_exeext
42224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42225 (eval $ac_link) 2>conftest.er1
42226 ac_status=$?
42227 grep -v '^ *+' conftest.er1 >conftest.err
42228 rm -f conftest.er1
42229 cat conftest.err >&5
42230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231 (exit $ac_status); } &&
42232 { ac_try='test -z "$ac_c_werror_flag"
42233 || test ! -s conftest.err'
42234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42235 (eval $ac_try) 2>&5
42236 ac_status=$?
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); }; } &&
42239 { ac_try='test -s conftest$ac_exeext'
42240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42241 (eval $ac_try) 2>&5
42242 ac_status=$?
42243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42244 (exit $ac_status); }; }; then
42245 eval "$as_ac_var=yes"
42246 else
42247 echo "$as_me: failed program was:" >&5
42248 sed 's/^/| /' conftest.$ac_ext >&5
42250 eval "$as_ac_var=no"
42252 rm -f conftest.err conftest.$ac_objext \
42253 conftest$ac_exeext conftest.$ac_ext
42255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42257 if test `eval echo '${'$as_ac_var'}'` = yes; then
42258 cat >>confdefs.h <<_ACEOF
42259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42260 _ACEOF
42263 done
42265 else
42267 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42268 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42269 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42270 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42271 echo $ECHO_N "(cached) $ECHO_C" >&6
42272 else
42276 ac_ext=cc
42277 ac_cpp='$CXXCPP $CPPFLAGS'
42278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42282 cat >conftest.$ac_ext <<_ACEOF
42283 /* confdefs.h. */
42284 _ACEOF
42285 cat confdefs.h >>conftest.$ac_ext
42286 cat >>conftest.$ac_ext <<_ACEOF
42287 /* end confdefs.h. */
42288 #include <math.h>
42290 main ()
42292 _sincosf(0, 0, 0);
42294 return 0;
42296 _ACEOF
42297 rm -f conftest.$ac_objext
42298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42299 (eval $ac_compile) 2>conftest.er1
42300 ac_status=$?
42301 grep -v '^ *+' conftest.er1 >conftest.err
42302 rm -f conftest.er1
42303 cat conftest.err >&5
42304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42305 (exit $ac_status); } &&
42306 { ac_try='test -z "$ac_cxx_werror_flag"
42307 || test ! -s conftest.err'
42308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42309 (eval $ac_try) 2>&5
42310 ac_status=$?
42311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42312 (exit $ac_status); }; } &&
42313 { ac_try='test -s conftest.$ac_objext'
42314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42315 (eval $ac_try) 2>&5
42316 ac_status=$?
42317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318 (exit $ac_status); }; }; then
42319 glibcxx_cv_func__sincosf_use=yes
42320 else
42321 echo "$as_me: failed program was:" >&5
42322 sed 's/^/| /' conftest.$ac_ext >&5
42324 glibcxx_cv_func__sincosf_use=no
42326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42327 ac_ext=c
42328 ac_cpp='$CPP $CPPFLAGS'
42329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42337 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42338 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42340 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42342 for ac_func in _sincosf
42344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42345 echo "$as_me:$LINENO: checking for $ac_func" >&5
42346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42347 if eval "test \"\${$as_ac_var+set}\" = set"; then
42348 echo $ECHO_N "(cached) $ECHO_C" >&6
42349 else
42350 if test x$gcc_no_link = xyes; then
42351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42353 { (exit 1); exit 1; }; }
42355 cat >conftest.$ac_ext <<_ACEOF
42356 /* confdefs.h. */
42357 _ACEOF
42358 cat confdefs.h >>conftest.$ac_ext
42359 cat >>conftest.$ac_ext <<_ACEOF
42360 /* end confdefs.h. */
42361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42363 #define $ac_func innocuous_$ac_func
42365 /* System header to define __stub macros and hopefully few prototypes,
42366 which can conflict with char $ac_func (); below.
42367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42368 <limits.h> exists even on freestanding compilers. */
42370 #ifdef __STDC__
42371 # include <limits.h>
42372 #else
42373 # include <assert.h>
42374 #endif
42376 #undef $ac_func
42378 /* Override any gcc2 internal prototype to avoid an error. */
42379 #ifdef __cplusplus
42380 extern "C"
42382 #endif
42383 /* We use char because int might match the return type of a gcc2
42384 builtin and then its argument prototype would still apply. */
42385 char $ac_func ();
42386 /* The GNU C library defines this for functions which it implements
42387 to always fail with ENOSYS. Some functions are actually named
42388 something starting with __ and the normal name is an alias. */
42389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42390 choke me
42391 #else
42392 char (*f) () = $ac_func;
42393 #endif
42394 #ifdef __cplusplus
42396 #endif
42399 main ()
42401 return f != $ac_func;
42403 return 0;
42405 _ACEOF
42406 rm -f conftest.$ac_objext conftest$ac_exeext
42407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42408 (eval $ac_link) 2>conftest.er1
42409 ac_status=$?
42410 grep -v '^ *+' conftest.er1 >conftest.err
42411 rm -f conftest.er1
42412 cat conftest.err >&5
42413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42414 (exit $ac_status); } &&
42415 { ac_try='test -z "$ac_c_werror_flag"
42416 || test ! -s conftest.err'
42417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42418 (eval $ac_try) 2>&5
42419 ac_status=$?
42420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42421 (exit $ac_status); }; } &&
42422 { ac_try='test -s conftest$ac_exeext'
42423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42424 (eval $ac_try) 2>&5
42425 ac_status=$?
42426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42427 (exit $ac_status); }; }; then
42428 eval "$as_ac_var=yes"
42429 else
42430 echo "$as_me: failed program was:" >&5
42431 sed 's/^/| /' conftest.$ac_ext >&5
42433 eval "$as_ac_var=no"
42435 rm -f conftest.err conftest.$ac_objext \
42436 conftest$ac_exeext conftest.$ac_ext
42438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42440 if test `eval echo '${'$as_ac_var'}'` = yes; then
42441 cat >>confdefs.h <<_ACEOF
42442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42443 _ACEOF
42446 done
42456 echo "$as_me:$LINENO: checking for finitef declaration" >&5
42457 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42458 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42459 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42460 echo $ECHO_N "(cached) $ECHO_C" >&6
42461 else
42465 ac_ext=cc
42466 ac_cpp='$CXXCPP $CPPFLAGS'
42467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42471 cat >conftest.$ac_ext <<_ACEOF
42472 /* confdefs.h. */
42473 _ACEOF
42474 cat confdefs.h >>conftest.$ac_ext
42475 cat >>conftest.$ac_ext <<_ACEOF
42476 /* end confdefs.h. */
42477 #include <math.h>
42478 #ifdef HAVE_IEEEFP_H
42479 #include <ieeefp.h>
42480 #endif
42483 main ()
42485 finitef(0);
42487 return 0;
42489 _ACEOF
42490 rm -f conftest.$ac_objext
42491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42492 (eval $ac_compile) 2>conftest.er1
42493 ac_status=$?
42494 grep -v '^ *+' conftest.er1 >conftest.err
42495 rm -f conftest.er1
42496 cat conftest.err >&5
42497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42498 (exit $ac_status); } &&
42499 { ac_try='test -z "$ac_cxx_werror_flag"
42500 || test ! -s conftest.err'
42501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42502 (eval $ac_try) 2>&5
42503 ac_status=$?
42504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42505 (exit $ac_status); }; } &&
42506 { ac_try='test -s conftest.$ac_objext'
42507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42508 (eval $ac_try) 2>&5
42509 ac_status=$?
42510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42511 (exit $ac_status); }; }; then
42512 glibcxx_cv_func_finitef_use=yes
42513 else
42514 echo "$as_me: failed program was:" >&5
42515 sed 's/^/| /' conftest.$ac_ext >&5
42517 glibcxx_cv_func_finitef_use=no
42519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42520 ac_ext=c
42521 ac_cpp='$CPP $CPPFLAGS'
42522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42530 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42531 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42533 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42535 for ac_func in finitef
42537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42538 echo "$as_me:$LINENO: checking for $ac_func" >&5
42539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42540 if eval "test \"\${$as_ac_var+set}\" = set"; then
42541 echo $ECHO_N "(cached) $ECHO_C" >&6
42542 else
42543 if test x$gcc_no_link = xyes; then
42544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42546 { (exit 1); exit 1; }; }
42548 cat >conftest.$ac_ext <<_ACEOF
42549 /* confdefs.h. */
42550 _ACEOF
42551 cat confdefs.h >>conftest.$ac_ext
42552 cat >>conftest.$ac_ext <<_ACEOF
42553 /* end confdefs.h. */
42554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42556 #define $ac_func innocuous_$ac_func
42558 /* System header to define __stub macros and hopefully few prototypes,
42559 which can conflict with char $ac_func (); below.
42560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42561 <limits.h> exists even on freestanding compilers. */
42563 #ifdef __STDC__
42564 # include <limits.h>
42565 #else
42566 # include <assert.h>
42567 #endif
42569 #undef $ac_func
42571 /* Override any gcc2 internal prototype to avoid an error. */
42572 #ifdef __cplusplus
42573 extern "C"
42575 #endif
42576 /* We use char because int might match the return type of a gcc2
42577 builtin and then its argument prototype would still apply. */
42578 char $ac_func ();
42579 /* The GNU C library defines this for functions which it implements
42580 to always fail with ENOSYS. Some functions are actually named
42581 something starting with __ and the normal name is an alias. */
42582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42583 choke me
42584 #else
42585 char (*f) () = $ac_func;
42586 #endif
42587 #ifdef __cplusplus
42589 #endif
42592 main ()
42594 return f != $ac_func;
42596 return 0;
42598 _ACEOF
42599 rm -f conftest.$ac_objext conftest$ac_exeext
42600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42601 (eval $ac_link) 2>conftest.er1
42602 ac_status=$?
42603 grep -v '^ *+' conftest.er1 >conftest.err
42604 rm -f conftest.er1
42605 cat conftest.err >&5
42606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42607 (exit $ac_status); } &&
42608 { ac_try='test -z "$ac_c_werror_flag"
42609 || test ! -s conftest.err'
42610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42611 (eval $ac_try) 2>&5
42612 ac_status=$?
42613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42614 (exit $ac_status); }; } &&
42615 { ac_try='test -s conftest$ac_exeext'
42616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42617 (eval $ac_try) 2>&5
42618 ac_status=$?
42619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42620 (exit $ac_status); }; }; then
42621 eval "$as_ac_var=yes"
42622 else
42623 echo "$as_me: failed program was:" >&5
42624 sed 's/^/| /' conftest.$ac_ext >&5
42626 eval "$as_ac_var=no"
42628 rm -f conftest.err conftest.$ac_objext \
42629 conftest$ac_exeext conftest.$ac_ext
42631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42633 if test `eval echo '${'$as_ac_var'}'` = yes; then
42634 cat >>confdefs.h <<_ACEOF
42635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42636 _ACEOF
42639 done
42641 else
42643 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42644 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42645 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42646 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42647 echo $ECHO_N "(cached) $ECHO_C" >&6
42648 else
42652 ac_ext=cc
42653 ac_cpp='$CXXCPP $CPPFLAGS'
42654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42658 cat >conftest.$ac_ext <<_ACEOF
42659 /* confdefs.h. */
42660 _ACEOF
42661 cat confdefs.h >>conftest.$ac_ext
42662 cat >>conftest.$ac_ext <<_ACEOF
42663 /* end confdefs.h. */
42664 #include <math.h>
42665 #ifdef HAVE_IEEEFP_H
42666 #include <ieeefp.h>
42667 #endif
42670 main ()
42672 _finitef(0);
42674 return 0;
42676 _ACEOF
42677 rm -f conftest.$ac_objext
42678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42679 (eval $ac_compile) 2>conftest.er1
42680 ac_status=$?
42681 grep -v '^ *+' conftest.er1 >conftest.err
42682 rm -f conftest.er1
42683 cat conftest.err >&5
42684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42685 (exit $ac_status); } &&
42686 { ac_try='test -z "$ac_cxx_werror_flag"
42687 || test ! -s conftest.err'
42688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42689 (eval $ac_try) 2>&5
42690 ac_status=$?
42691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42692 (exit $ac_status); }; } &&
42693 { ac_try='test -s conftest.$ac_objext'
42694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42695 (eval $ac_try) 2>&5
42696 ac_status=$?
42697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42698 (exit $ac_status); }; }; then
42699 glibcxx_cv_func__finitef_use=yes
42700 else
42701 echo "$as_me: failed program was:" >&5
42702 sed 's/^/| /' conftest.$ac_ext >&5
42704 glibcxx_cv_func__finitef_use=no
42706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42707 ac_ext=c
42708 ac_cpp='$CPP $CPPFLAGS'
42709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42717 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42718 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42720 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42722 for ac_func in _finitef
42724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42725 echo "$as_me:$LINENO: checking for $ac_func" >&5
42726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42727 if eval "test \"\${$as_ac_var+set}\" = set"; then
42728 echo $ECHO_N "(cached) $ECHO_C" >&6
42729 else
42730 if test x$gcc_no_link = xyes; then
42731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42733 { (exit 1); exit 1; }; }
42735 cat >conftest.$ac_ext <<_ACEOF
42736 /* confdefs.h. */
42737 _ACEOF
42738 cat confdefs.h >>conftest.$ac_ext
42739 cat >>conftest.$ac_ext <<_ACEOF
42740 /* end confdefs.h. */
42741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42743 #define $ac_func innocuous_$ac_func
42745 /* System header to define __stub macros and hopefully few prototypes,
42746 which can conflict with char $ac_func (); below.
42747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42748 <limits.h> exists even on freestanding compilers. */
42750 #ifdef __STDC__
42751 # include <limits.h>
42752 #else
42753 # include <assert.h>
42754 #endif
42756 #undef $ac_func
42758 /* Override any gcc2 internal prototype to avoid an error. */
42759 #ifdef __cplusplus
42760 extern "C"
42762 #endif
42763 /* We use char because int might match the return type of a gcc2
42764 builtin and then its argument prototype would still apply. */
42765 char $ac_func ();
42766 /* The GNU C library defines this for functions which it implements
42767 to always fail with ENOSYS. Some functions are actually named
42768 something starting with __ and the normal name is an alias. */
42769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42770 choke me
42771 #else
42772 char (*f) () = $ac_func;
42773 #endif
42774 #ifdef __cplusplus
42776 #endif
42779 main ()
42781 return f != $ac_func;
42783 return 0;
42785 _ACEOF
42786 rm -f conftest.$ac_objext conftest$ac_exeext
42787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42788 (eval $ac_link) 2>conftest.er1
42789 ac_status=$?
42790 grep -v '^ *+' conftest.er1 >conftest.err
42791 rm -f conftest.er1
42792 cat conftest.err >&5
42793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42794 (exit $ac_status); } &&
42795 { ac_try='test -z "$ac_c_werror_flag"
42796 || test ! -s conftest.err'
42797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42798 (eval $ac_try) 2>&5
42799 ac_status=$?
42800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42801 (exit $ac_status); }; } &&
42802 { ac_try='test -s conftest$ac_exeext'
42803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42804 (eval $ac_try) 2>&5
42805 ac_status=$?
42806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42807 (exit $ac_status); }; }; then
42808 eval "$as_ac_var=yes"
42809 else
42810 echo "$as_me: failed program was:" >&5
42811 sed 's/^/| /' conftest.$ac_ext >&5
42813 eval "$as_ac_var=no"
42815 rm -f conftest.err conftest.$ac_objext \
42816 conftest$ac_exeext conftest.$ac_ext
42818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42820 if test `eval echo '${'$as_ac_var'}'` = yes; then
42821 cat >>confdefs.h <<_ACEOF
42822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42823 _ACEOF
42826 done
42836 echo "$as_me:$LINENO: checking for long double trig functions" >&5
42837 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42838 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42839 echo $ECHO_N "(cached) $ECHO_C" >&6
42840 else
42844 ac_ext=cc
42845 ac_cpp='$CXXCPP $CPPFLAGS'
42846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42850 cat >conftest.$ac_ext <<_ACEOF
42851 /* confdefs.h. */
42852 _ACEOF
42853 cat confdefs.h >>conftest.$ac_ext
42854 cat >>conftest.$ac_ext <<_ACEOF
42855 /* end confdefs.h. */
42856 #include <math.h>
42858 main ()
42860 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42862 return 0;
42864 _ACEOF
42865 rm -f conftest.$ac_objext
42866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42867 (eval $ac_compile) 2>conftest.er1
42868 ac_status=$?
42869 grep -v '^ *+' conftest.er1 >conftest.err
42870 rm -f conftest.er1
42871 cat conftest.err >&5
42872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42873 (exit $ac_status); } &&
42874 { ac_try='test -z "$ac_cxx_werror_flag"
42875 || test ! -s conftest.err'
42876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42877 (eval $ac_try) 2>&5
42878 ac_status=$?
42879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42880 (exit $ac_status); }; } &&
42881 { ac_try='test -s conftest.$ac_objext'
42882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42883 (eval $ac_try) 2>&5
42884 ac_status=$?
42885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42886 (exit $ac_status); }; }; then
42887 glibcxx_cv_func_long_double_trig_use=yes
42888 else
42889 echo "$as_me: failed program was:" >&5
42890 sed 's/^/| /' conftest.$ac_ext >&5
42892 glibcxx_cv_func_long_double_trig_use=no
42894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42895 ac_ext=c
42896 ac_cpp='$CPP $CPPFLAGS'
42897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42903 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
42904 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
42905 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42915 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42918 echo "$as_me:$LINENO: checking for $ac_func" >&5
42919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42920 if eval "test \"\${$as_ac_var+set}\" = set"; then
42921 echo $ECHO_N "(cached) $ECHO_C" >&6
42922 else
42923 if test x$gcc_no_link = xyes; then
42924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42926 { (exit 1); exit 1; }; }
42928 cat >conftest.$ac_ext <<_ACEOF
42929 /* confdefs.h. */
42930 _ACEOF
42931 cat confdefs.h >>conftest.$ac_ext
42932 cat >>conftest.$ac_ext <<_ACEOF
42933 /* end confdefs.h. */
42934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42936 #define $ac_func innocuous_$ac_func
42938 /* System header to define __stub macros and hopefully few prototypes,
42939 which can conflict with char $ac_func (); below.
42940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42941 <limits.h> exists even on freestanding compilers. */
42943 #ifdef __STDC__
42944 # include <limits.h>
42945 #else
42946 # include <assert.h>
42947 #endif
42949 #undef $ac_func
42951 /* Override any gcc2 internal prototype to avoid an error. */
42952 #ifdef __cplusplus
42953 extern "C"
42955 #endif
42956 /* We use char because int might match the return type of a gcc2
42957 builtin and then its argument prototype would still apply. */
42958 char $ac_func ();
42959 /* The GNU C library defines this for functions which it implements
42960 to always fail with ENOSYS. Some functions are actually named
42961 something starting with __ and the normal name is an alias. */
42962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42963 choke me
42964 #else
42965 char (*f) () = $ac_func;
42966 #endif
42967 #ifdef __cplusplus
42969 #endif
42972 main ()
42974 return f != $ac_func;
42976 return 0;
42978 _ACEOF
42979 rm -f conftest.$ac_objext conftest$ac_exeext
42980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42981 (eval $ac_link) 2>conftest.er1
42982 ac_status=$?
42983 grep -v '^ *+' conftest.er1 >conftest.err
42984 rm -f conftest.er1
42985 cat conftest.err >&5
42986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42987 (exit $ac_status); } &&
42988 { ac_try='test -z "$ac_c_werror_flag"
42989 || test ! -s conftest.err'
42990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42991 (eval $ac_try) 2>&5
42992 ac_status=$?
42993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42994 (exit $ac_status); }; } &&
42995 { ac_try='test -s conftest$ac_exeext'
42996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42997 (eval $ac_try) 2>&5
42998 ac_status=$?
42999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43000 (exit $ac_status); }; }; then
43001 eval "$as_ac_var=yes"
43002 else
43003 echo "$as_me: failed program was:" >&5
43004 sed 's/^/| /' conftest.$ac_ext >&5
43006 eval "$as_ac_var=no"
43008 rm -f conftest.err conftest.$ac_objext \
43009 conftest$ac_exeext conftest.$ac_ext
43011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43013 if test `eval echo '${'$as_ac_var'}'` = yes; then
43014 cat >>confdefs.h <<_ACEOF
43015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43016 _ACEOF
43019 done
43021 else
43022 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
43023 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
43024 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
43025 echo $ECHO_N "(cached) $ECHO_C" >&6
43026 else
43030 ac_ext=cc
43031 ac_cpp='$CXXCPP $CPPFLAGS'
43032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43036 cat >conftest.$ac_ext <<_ACEOF
43037 /* confdefs.h. */
43038 _ACEOF
43039 cat confdefs.h >>conftest.$ac_ext
43040 cat >>conftest.$ac_ext <<_ACEOF
43041 /* end confdefs.h. */
43042 #include <math.h>
43044 main ()
43046 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43048 return 0;
43050 _ACEOF
43051 rm -f conftest.$ac_objext
43052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43053 (eval $ac_compile) 2>conftest.er1
43054 ac_status=$?
43055 grep -v '^ *+' conftest.er1 >conftest.err
43056 rm -f conftest.er1
43057 cat conftest.err >&5
43058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43059 (exit $ac_status); } &&
43060 { ac_try='test -z "$ac_cxx_werror_flag"
43061 || test ! -s conftest.err'
43062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43063 (eval $ac_try) 2>&5
43064 ac_status=$?
43065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066 (exit $ac_status); }; } &&
43067 { ac_try='test -s conftest.$ac_objext'
43068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43069 (eval $ac_try) 2>&5
43070 ac_status=$?
43071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43072 (exit $ac_status); }; }; then
43073 glibcxx_cv_func__long_double_trig_use=yes
43074 else
43075 echo "$as_me: failed program was:" >&5
43076 sed 's/^/| /' conftest.$ac_ext >&5
43078 glibcxx_cv_func__long_double_trig_use=no
43080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43081 ac_ext=c
43082 ac_cpp='$CPP $CPPFLAGS'
43083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
43090 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
43091 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43101 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43104 echo "$as_me:$LINENO: checking for $ac_func" >&5
43105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43106 if eval "test \"\${$as_ac_var+set}\" = set"; then
43107 echo $ECHO_N "(cached) $ECHO_C" >&6
43108 else
43109 if test x$gcc_no_link = xyes; then
43110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43112 { (exit 1); exit 1; }; }
43114 cat >conftest.$ac_ext <<_ACEOF
43115 /* confdefs.h. */
43116 _ACEOF
43117 cat confdefs.h >>conftest.$ac_ext
43118 cat >>conftest.$ac_ext <<_ACEOF
43119 /* end confdefs.h. */
43120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43122 #define $ac_func innocuous_$ac_func
43124 /* System header to define __stub macros and hopefully few prototypes,
43125 which can conflict with char $ac_func (); below.
43126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43127 <limits.h> exists even on freestanding compilers. */
43129 #ifdef __STDC__
43130 # include <limits.h>
43131 #else
43132 # include <assert.h>
43133 #endif
43135 #undef $ac_func
43137 /* Override any gcc2 internal prototype to avoid an error. */
43138 #ifdef __cplusplus
43139 extern "C"
43141 #endif
43142 /* We use char because int might match the return type of a gcc2
43143 builtin and then its argument prototype would still apply. */
43144 char $ac_func ();
43145 /* The GNU C library defines this for functions which it implements
43146 to always fail with ENOSYS. Some functions are actually named
43147 something starting with __ and the normal name is an alias. */
43148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43149 choke me
43150 #else
43151 char (*f) () = $ac_func;
43152 #endif
43153 #ifdef __cplusplus
43155 #endif
43158 main ()
43160 return f != $ac_func;
43162 return 0;
43164 _ACEOF
43165 rm -f conftest.$ac_objext conftest$ac_exeext
43166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43167 (eval $ac_link) 2>conftest.er1
43168 ac_status=$?
43169 grep -v '^ *+' conftest.er1 >conftest.err
43170 rm -f conftest.er1
43171 cat conftest.err >&5
43172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43173 (exit $ac_status); } &&
43174 { ac_try='test -z "$ac_c_werror_flag"
43175 || test ! -s conftest.err'
43176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43177 (eval $ac_try) 2>&5
43178 ac_status=$?
43179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43180 (exit $ac_status); }; } &&
43181 { ac_try='test -s conftest$ac_exeext'
43182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43183 (eval $ac_try) 2>&5
43184 ac_status=$?
43185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43186 (exit $ac_status); }; }; then
43187 eval "$as_ac_var=yes"
43188 else
43189 echo "$as_me: failed program was:" >&5
43190 sed 's/^/| /' conftest.$ac_ext >&5
43192 eval "$as_ac_var=no"
43194 rm -f conftest.err conftest.$ac_objext \
43195 conftest$ac_exeext conftest.$ac_ext
43197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43199 if test `eval echo '${'$as_ac_var'}'` = yes; then
43200 cat >>confdefs.h <<_ACEOF
43201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43202 _ACEOF
43205 done
43223 echo "$as_me:$LINENO: checking for long double round functions" >&5
43224 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43225 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43226 echo $ECHO_N "(cached) $ECHO_C" >&6
43227 else
43231 ac_ext=cc
43232 ac_cpp='$CXXCPP $CPPFLAGS'
43233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43237 cat >conftest.$ac_ext <<_ACEOF
43238 /* confdefs.h. */
43239 _ACEOF
43240 cat confdefs.h >>conftest.$ac_ext
43241 cat >>conftest.$ac_ext <<_ACEOF
43242 /* end confdefs.h. */
43243 #include <math.h>
43245 main ()
43247 ceill (0); floorl (0);
43249 return 0;
43251 _ACEOF
43252 rm -f conftest.$ac_objext
43253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43254 (eval $ac_compile) 2>conftest.er1
43255 ac_status=$?
43256 grep -v '^ *+' conftest.er1 >conftest.err
43257 rm -f conftest.er1
43258 cat conftest.err >&5
43259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43260 (exit $ac_status); } &&
43261 { ac_try='test -z "$ac_cxx_werror_flag"
43262 || test ! -s conftest.err'
43263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43264 (eval $ac_try) 2>&5
43265 ac_status=$?
43266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43267 (exit $ac_status); }; } &&
43268 { ac_try='test -s conftest.$ac_objext'
43269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43270 (eval $ac_try) 2>&5
43271 ac_status=$?
43272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43273 (exit $ac_status); }; }; then
43274 glibcxx_cv_func_long_double_round_use=yes
43275 else
43276 echo "$as_me: failed program was:" >&5
43277 sed 's/^/| /' conftest.$ac_ext >&5
43279 glibcxx_cv_func_long_double_round_use=no
43281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43282 ac_ext=c
43283 ac_cpp='$CPP $CPPFLAGS'
43284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43291 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43292 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43295 for ac_func in ceill floorl
43297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43298 echo "$as_me:$LINENO: checking for $ac_func" >&5
43299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43300 if eval "test \"\${$as_ac_var+set}\" = set"; then
43301 echo $ECHO_N "(cached) $ECHO_C" >&6
43302 else
43303 if test x$gcc_no_link = xyes; then
43304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43306 { (exit 1); exit 1; }; }
43308 cat >conftest.$ac_ext <<_ACEOF
43309 /* confdefs.h. */
43310 _ACEOF
43311 cat confdefs.h >>conftest.$ac_ext
43312 cat >>conftest.$ac_ext <<_ACEOF
43313 /* end confdefs.h. */
43314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43316 #define $ac_func innocuous_$ac_func
43318 /* System header to define __stub macros and hopefully few prototypes,
43319 which can conflict with char $ac_func (); below.
43320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43321 <limits.h> exists even on freestanding compilers. */
43323 #ifdef __STDC__
43324 # include <limits.h>
43325 #else
43326 # include <assert.h>
43327 #endif
43329 #undef $ac_func
43331 /* Override any gcc2 internal prototype to avoid an error. */
43332 #ifdef __cplusplus
43333 extern "C"
43335 #endif
43336 /* We use char because int might match the return type of a gcc2
43337 builtin and then its argument prototype would still apply. */
43338 char $ac_func ();
43339 /* The GNU C library defines this for functions which it implements
43340 to always fail with ENOSYS. Some functions are actually named
43341 something starting with __ and the normal name is an alias. */
43342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43343 choke me
43344 #else
43345 char (*f) () = $ac_func;
43346 #endif
43347 #ifdef __cplusplus
43349 #endif
43352 main ()
43354 return f != $ac_func;
43356 return 0;
43358 _ACEOF
43359 rm -f conftest.$ac_objext conftest$ac_exeext
43360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43361 (eval $ac_link) 2>conftest.er1
43362 ac_status=$?
43363 grep -v '^ *+' conftest.er1 >conftest.err
43364 rm -f conftest.er1
43365 cat conftest.err >&5
43366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43367 (exit $ac_status); } &&
43368 { ac_try='test -z "$ac_c_werror_flag"
43369 || test ! -s conftest.err'
43370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43371 (eval $ac_try) 2>&5
43372 ac_status=$?
43373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43374 (exit $ac_status); }; } &&
43375 { ac_try='test -s conftest$ac_exeext'
43376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43377 (eval $ac_try) 2>&5
43378 ac_status=$?
43379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43380 (exit $ac_status); }; }; then
43381 eval "$as_ac_var=yes"
43382 else
43383 echo "$as_me: failed program was:" >&5
43384 sed 's/^/| /' conftest.$ac_ext >&5
43386 eval "$as_ac_var=no"
43388 rm -f conftest.err conftest.$ac_objext \
43389 conftest$ac_exeext conftest.$ac_ext
43391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43393 if test `eval echo '${'$as_ac_var'}'` = yes; then
43394 cat >>confdefs.h <<_ACEOF
43395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43396 _ACEOF
43399 done
43401 else
43402 echo "$as_me:$LINENO: checking for _long double round functions" >&5
43403 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43404 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43405 echo $ECHO_N "(cached) $ECHO_C" >&6
43406 else
43410 ac_ext=cc
43411 ac_cpp='$CXXCPP $CPPFLAGS'
43412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43416 cat >conftest.$ac_ext <<_ACEOF
43417 /* confdefs.h. */
43418 _ACEOF
43419 cat confdefs.h >>conftest.$ac_ext
43420 cat >>conftest.$ac_ext <<_ACEOF
43421 /* end confdefs.h. */
43422 #include <math.h>
43424 main ()
43426 _ceill (0); _floorl (0);
43428 return 0;
43430 _ACEOF
43431 rm -f conftest.$ac_objext
43432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43433 (eval $ac_compile) 2>conftest.er1
43434 ac_status=$?
43435 grep -v '^ *+' conftest.er1 >conftest.err
43436 rm -f conftest.er1
43437 cat conftest.err >&5
43438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43439 (exit $ac_status); } &&
43440 { ac_try='test -z "$ac_cxx_werror_flag"
43441 || test ! -s conftest.err'
43442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43443 (eval $ac_try) 2>&5
43444 ac_status=$?
43445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43446 (exit $ac_status); }; } &&
43447 { ac_try='test -s conftest.$ac_objext'
43448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43449 (eval $ac_try) 2>&5
43450 ac_status=$?
43451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43452 (exit $ac_status); }; }; then
43453 glibcxx_cv_func__long_double_round_use=yes
43454 else
43455 echo "$as_me: failed program was:" >&5
43456 sed 's/^/| /' conftest.$ac_ext >&5
43458 glibcxx_cv_func__long_double_round_use=no
43460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43461 ac_ext=c
43462 ac_cpp='$CPP $CPPFLAGS'
43463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43469 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
43470 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
43471 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43474 for ac_func in _ceill _floorl
43476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43477 echo "$as_me:$LINENO: checking for $ac_func" >&5
43478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43479 if eval "test \"\${$as_ac_var+set}\" = set"; then
43480 echo $ECHO_N "(cached) $ECHO_C" >&6
43481 else
43482 if test x$gcc_no_link = xyes; then
43483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43485 { (exit 1); exit 1; }; }
43487 cat >conftest.$ac_ext <<_ACEOF
43488 /* confdefs.h. */
43489 _ACEOF
43490 cat confdefs.h >>conftest.$ac_ext
43491 cat >>conftest.$ac_ext <<_ACEOF
43492 /* end confdefs.h. */
43493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43495 #define $ac_func innocuous_$ac_func
43497 /* System header to define __stub macros and hopefully few prototypes,
43498 which can conflict with char $ac_func (); below.
43499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43500 <limits.h> exists even on freestanding compilers. */
43502 #ifdef __STDC__
43503 # include <limits.h>
43504 #else
43505 # include <assert.h>
43506 #endif
43508 #undef $ac_func
43510 /* Override any gcc2 internal prototype to avoid an error. */
43511 #ifdef __cplusplus
43512 extern "C"
43514 #endif
43515 /* We use char because int might match the return type of a gcc2
43516 builtin and then its argument prototype would still apply. */
43517 char $ac_func ();
43518 /* The GNU C library defines this for functions which it implements
43519 to always fail with ENOSYS. Some functions are actually named
43520 something starting with __ and the normal name is an alias. */
43521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43522 choke me
43523 #else
43524 char (*f) () = $ac_func;
43525 #endif
43526 #ifdef __cplusplus
43528 #endif
43531 main ()
43533 return f != $ac_func;
43535 return 0;
43537 _ACEOF
43538 rm -f conftest.$ac_objext conftest$ac_exeext
43539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43540 (eval $ac_link) 2>conftest.er1
43541 ac_status=$?
43542 grep -v '^ *+' conftest.er1 >conftest.err
43543 rm -f conftest.er1
43544 cat conftest.err >&5
43545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43546 (exit $ac_status); } &&
43547 { ac_try='test -z "$ac_c_werror_flag"
43548 || test ! -s conftest.err'
43549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43550 (eval $ac_try) 2>&5
43551 ac_status=$?
43552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43553 (exit $ac_status); }; } &&
43554 { ac_try='test -s conftest$ac_exeext'
43555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43556 (eval $ac_try) 2>&5
43557 ac_status=$?
43558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559 (exit $ac_status); }; }; then
43560 eval "$as_ac_var=yes"
43561 else
43562 echo "$as_me: failed program was:" >&5
43563 sed 's/^/| /' conftest.$ac_ext >&5
43565 eval "$as_ac_var=no"
43567 rm -f conftest.err conftest.$ac_objext \
43568 conftest$ac_exeext conftest.$ac_ext
43570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43572 if test `eval echo '${'$as_ac_var'}'` = yes; then
43573 cat >>confdefs.h <<_ACEOF
43574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43575 _ACEOF
43578 done
43590 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43591 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43592 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43593 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43594 echo $ECHO_N "(cached) $ECHO_C" >&6
43595 else
43599 ac_ext=cc
43600 ac_cpp='$CXXCPP $CPPFLAGS'
43601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43605 cat >conftest.$ac_ext <<_ACEOF
43606 /* confdefs.h. */
43607 _ACEOF
43608 cat confdefs.h >>conftest.$ac_ext
43609 cat >>conftest.$ac_ext <<_ACEOF
43610 /* end confdefs.h. */
43611 #include <math.h>
43612 #ifdef HAVE_IEEEFP_H
43613 #include <ieeefp.h>
43614 #endif
43617 main ()
43619 isnanl(0);
43621 return 0;
43623 _ACEOF
43624 rm -f conftest.$ac_objext
43625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43626 (eval $ac_compile) 2>conftest.er1
43627 ac_status=$?
43628 grep -v '^ *+' conftest.er1 >conftest.err
43629 rm -f conftest.er1
43630 cat conftest.err >&5
43631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43632 (exit $ac_status); } &&
43633 { ac_try='test -z "$ac_cxx_werror_flag"
43634 || test ! -s conftest.err'
43635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43636 (eval $ac_try) 2>&5
43637 ac_status=$?
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); }; } &&
43640 { ac_try='test -s conftest.$ac_objext'
43641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43642 (eval $ac_try) 2>&5
43643 ac_status=$?
43644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43645 (exit $ac_status); }; }; then
43646 glibcxx_cv_func_isnanl_use=yes
43647 else
43648 echo "$as_me: failed program was:" >&5
43649 sed 's/^/| /' conftest.$ac_ext >&5
43651 glibcxx_cv_func_isnanl_use=no
43653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43654 ac_ext=c
43655 ac_cpp='$CPP $CPPFLAGS'
43656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43664 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
43665 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
43667 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43669 for ac_func in isnanl
43671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43672 echo "$as_me:$LINENO: checking for $ac_func" >&5
43673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43674 if eval "test \"\${$as_ac_var+set}\" = set"; then
43675 echo $ECHO_N "(cached) $ECHO_C" >&6
43676 else
43677 if test x$gcc_no_link = xyes; then
43678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43680 { (exit 1); exit 1; }; }
43682 cat >conftest.$ac_ext <<_ACEOF
43683 /* confdefs.h. */
43684 _ACEOF
43685 cat confdefs.h >>conftest.$ac_ext
43686 cat >>conftest.$ac_ext <<_ACEOF
43687 /* end confdefs.h. */
43688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43690 #define $ac_func innocuous_$ac_func
43692 /* System header to define __stub macros and hopefully few prototypes,
43693 which can conflict with char $ac_func (); below.
43694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43695 <limits.h> exists even on freestanding compilers. */
43697 #ifdef __STDC__
43698 # include <limits.h>
43699 #else
43700 # include <assert.h>
43701 #endif
43703 #undef $ac_func
43705 /* Override any gcc2 internal prototype to avoid an error. */
43706 #ifdef __cplusplus
43707 extern "C"
43709 #endif
43710 /* We use char because int might match the return type of a gcc2
43711 builtin and then its argument prototype would still apply. */
43712 char $ac_func ();
43713 /* The GNU C library defines this for functions which it implements
43714 to always fail with ENOSYS. Some functions are actually named
43715 something starting with __ and the normal name is an alias. */
43716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43717 choke me
43718 #else
43719 char (*f) () = $ac_func;
43720 #endif
43721 #ifdef __cplusplus
43723 #endif
43726 main ()
43728 return f != $ac_func;
43730 return 0;
43732 _ACEOF
43733 rm -f conftest.$ac_objext conftest$ac_exeext
43734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43735 (eval $ac_link) 2>conftest.er1
43736 ac_status=$?
43737 grep -v '^ *+' conftest.er1 >conftest.err
43738 rm -f conftest.er1
43739 cat conftest.err >&5
43740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43741 (exit $ac_status); } &&
43742 { ac_try='test -z "$ac_c_werror_flag"
43743 || test ! -s conftest.err'
43744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43745 (eval $ac_try) 2>&5
43746 ac_status=$?
43747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43748 (exit $ac_status); }; } &&
43749 { ac_try='test -s conftest$ac_exeext'
43750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43751 (eval $ac_try) 2>&5
43752 ac_status=$?
43753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43754 (exit $ac_status); }; }; then
43755 eval "$as_ac_var=yes"
43756 else
43757 echo "$as_me: failed program was:" >&5
43758 sed 's/^/| /' conftest.$ac_ext >&5
43760 eval "$as_ac_var=no"
43762 rm -f conftest.err conftest.$ac_objext \
43763 conftest$ac_exeext conftest.$ac_ext
43765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43767 if test `eval echo '${'$as_ac_var'}'` = yes; then
43768 cat >>confdefs.h <<_ACEOF
43769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43770 _ACEOF
43773 done
43775 else
43777 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
43778 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43779 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43780 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
43781 echo $ECHO_N "(cached) $ECHO_C" >&6
43782 else
43786 ac_ext=cc
43787 ac_cpp='$CXXCPP $CPPFLAGS'
43788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43792 cat >conftest.$ac_ext <<_ACEOF
43793 /* confdefs.h. */
43794 _ACEOF
43795 cat confdefs.h >>conftest.$ac_ext
43796 cat >>conftest.$ac_ext <<_ACEOF
43797 /* end confdefs.h. */
43798 #include <math.h>
43799 #ifdef HAVE_IEEEFP_H
43800 #include <ieeefp.h>
43801 #endif
43804 main ()
43806 _isnanl(0);
43808 return 0;
43810 _ACEOF
43811 rm -f conftest.$ac_objext
43812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43813 (eval $ac_compile) 2>conftest.er1
43814 ac_status=$?
43815 grep -v '^ *+' conftest.er1 >conftest.err
43816 rm -f conftest.er1
43817 cat conftest.err >&5
43818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43819 (exit $ac_status); } &&
43820 { ac_try='test -z "$ac_cxx_werror_flag"
43821 || test ! -s conftest.err'
43822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43823 (eval $ac_try) 2>&5
43824 ac_status=$?
43825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43826 (exit $ac_status); }; } &&
43827 { ac_try='test -s conftest.$ac_objext'
43828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43829 (eval $ac_try) 2>&5
43830 ac_status=$?
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); }; }; then
43833 glibcxx_cv_func__isnanl_use=yes
43834 else
43835 echo "$as_me: failed program was:" >&5
43836 sed 's/^/| /' conftest.$ac_ext >&5
43838 glibcxx_cv_func__isnanl_use=no
43840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43841 ac_ext=c
43842 ac_cpp='$CPP $CPPFLAGS'
43843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43852 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43854 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43856 for ac_func in _isnanl
43858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43859 echo "$as_me:$LINENO: checking for $ac_func" >&5
43860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43861 if eval "test \"\${$as_ac_var+set}\" = set"; then
43862 echo $ECHO_N "(cached) $ECHO_C" >&6
43863 else
43864 if test x$gcc_no_link = xyes; then
43865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43867 { (exit 1); exit 1; }; }
43869 cat >conftest.$ac_ext <<_ACEOF
43870 /* confdefs.h. */
43871 _ACEOF
43872 cat confdefs.h >>conftest.$ac_ext
43873 cat >>conftest.$ac_ext <<_ACEOF
43874 /* end confdefs.h. */
43875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43877 #define $ac_func innocuous_$ac_func
43879 /* System header to define __stub macros and hopefully few prototypes,
43880 which can conflict with char $ac_func (); below.
43881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43882 <limits.h> exists even on freestanding compilers. */
43884 #ifdef __STDC__
43885 # include <limits.h>
43886 #else
43887 # include <assert.h>
43888 #endif
43890 #undef $ac_func
43892 /* Override any gcc2 internal prototype to avoid an error. */
43893 #ifdef __cplusplus
43894 extern "C"
43896 #endif
43897 /* We use char because int might match the return type of a gcc2
43898 builtin and then its argument prototype would still apply. */
43899 char $ac_func ();
43900 /* The GNU C library defines this for functions which it implements
43901 to always fail with ENOSYS. Some functions are actually named
43902 something starting with __ and the normal name is an alias. */
43903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43904 choke me
43905 #else
43906 char (*f) () = $ac_func;
43907 #endif
43908 #ifdef __cplusplus
43910 #endif
43913 main ()
43915 return f != $ac_func;
43917 return 0;
43919 _ACEOF
43920 rm -f conftest.$ac_objext conftest$ac_exeext
43921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43922 (eval $ac_link) 2>conftest.er1
43923 ac_status=$?
43924 grep -v '^ *+' conftest.er1 >conftest.err
43925 rm -f conftest.er1
43926 cat conftest.err >&5
43927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43928 (exit $ac_status); } &&
43929 { ac_try='test -z "$ac_c_werror_flag"
43930 || test ! -s conftest.err'
43931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43932 (eval $ac_try) 2>&5
43933 ac_status=$?
43934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43935 (exit $ac_status); }; } &&
43936 { ac_try='test -s conftest$ac_exeext'
43937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43938 (eval $ac_try) 2>&5
43939 ac_status=$?
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); }; }; then
43942 eval "$as_ac_var=yes"
43943 else
43944 echo "$as_me: failed program was:" >&5
43945 sed 's/^/| /' conftest.$ac_ext >&5
43947 eval "$as_ac_var=no"
43949 rm -f conftest.err conftest.$ac_objext \
43950 conftest$ac_exeext conftest.$ac_ext
43952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43954 if test `eval echo '${'$as_ac_var'}'` = yes; then
43955 cat >>confdefs.h <<_ACEOF
43956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43957 _ACEOF
43960 done
43970 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
43971 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
43972 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43973 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
43974 echo $ECHO_N "(cached) $ECHO_C" >&6
43975 else
43979 ac_ext=cc
43980 ac_cpp='$CXXCPP $CPPFLAGS'
43981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43985 cat >conftest.$ac_ext <<_ACEOF
43986 /* confdefs.h. */
43987 _ACEOF
43988 cat confdefs.h >>conftest.$ac_ext
43989 cat >>conftest.$ac_ext <<_ACEOF
43990 /* end confdefs.h. */
43991 #include <math.h>
43992 #ifdef HAVE_IEEEFP_H
43993 #include <ieeefp.h>
43994 #endif
43997 main ()
43999 isinfl(0);
44001 return 0;
44003 _ACEOF
44004 rm -f conftest.$ac_objext
44005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44006 (eval $ac_compile) 2>conftest.er1
44007 ac_status=$?
44008 grep -v '^ *+' conftest.er1 >conftest.err
44009 rm -f conftest.er1
44010 cat conftest.err >&5
44011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44012 (exit $ac_status); } &&
44013 { ac_try='test -z "$ac_cxx_werror_flag"
44014 || test ! -s conftest.err'
44015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44016 (eval $ac_try) 2>&5
44017 ac_status=$?
44018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44019 (exit $ac_status); }; } &&
44020 { ac_try='test -s conftest.$ac_objext'
44021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44022 (eval $ac_try) 2>&5
44023 ac_status=$?
44024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44025 (exit $ac_status); }; }; then
44026 glibcxx_cv_func_isinfl_use=yes
44027 else
44028 echo "$as_me: failed program was:" >&5
44029 sed 's/^/| /' conftest.$ac_ext >&5
44031 glibcxx_cv_func_isinfl_use=no
44033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44034 ac_ext=c
44035 ac_cpp='$CPP $CPPFLAGS'
44036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
44045 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
44047 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44049 for ac_func in isinfl
44051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44052 echo "$as_me:$LINENO: checking for $ac_func" >&5
44053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44054 if eval "test \"\${$as_ac_var+set}\" = set"; then
44055 echo $ECHO_N "(cached) $ECHO_C" >&6
44056 else
44057 if test x$gcc_no_link = xyes; then
44058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44060 { (exit 1); exit 1; }; }
44062 cat >conftest.$ac_ext <<_ACEOF
44063 /* confdefs.h. */
44064 _ACEOF
44065 cat confdefs.h >>conftest.$ac_ext
44066 cat >>conftest.$ac_ext <<_ACEOF
44067 /* end confdefs.h. */
44068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44070 #define $ac_func innocuous_$ac_func
44072 /* System header to define __stub macros and hopefully few prototypes,
44073 which can conflict with char $ac_func (); below.
44074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44075 <limits.h> exists even on freestanding compilers. */
44077 #ifdef __STDC__
44078 # include <limits.h>
44079 #else
44080 # include <assert.h>
44081 #endif
44083 #undef $ac_func
44085 /* Override any gcc2 internal prototype to avoid an error. */
44086 #ifdef __cplusplus
44087 extern "C"
44089 #endif
44090 /* We use char because int might match the return type of a gcc2
44091 builtin and then its argument prototype would still apply. */
44092 char $ac_func ();
44093 /* The GNU C library defines this for functions which it implements
44094 to always fail with ENOSYS. Some functions are actually named
44095 something starting with __ and the normal name is an alias. */
44096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44097 choke me
44098 #else
44099 char (*f) () = $ac_func;
44100 #endif
44101 #ifdef __cplusplus
44103 #endif
44106 main ()
44108 return f != $ac_func;
44110 return 0;
44112 _ACEOF
44113 rm -f conftest.$ac_objext conftest$ac_exeext
44114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44115 (eval $ac_link) 2>conftest.er1
44116 ac_status=$?
44117 grep -v '^ *+' conftest.er1 >conftest.err
44118 rm -f conftest.er1
44119 cat conftest.err >&5
44120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44121 (exit $ac_status); } &&
44122 { ac_try='test -z "$ac_c_werror_flag"
44123 || test ! -s conftest.err'
44124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44125 (eval $ac_try) 2>&5
44126 ac_status=$?
44127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44128 (exit $ac_status); }; } &&
44129 { ac_try='test -s conftest$ac_exeext'
44130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44131 (eval $ac_try) 2>&5
44132 ac_status=$?
44133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44134 (exit $ac_status); }; }; then
44135 eval "$as_ac_var=yes"
44136 else
44137 echo "$as_me: failed program was:" >&5
44138 sed 's/^/| /' conftest.$ac_ext >&5
44140 eval "$as_ac_var=no"
44142 rm -f conftest.err conftest.$ac_objext \
44143 conftest$ac_exeext conftest.$ac_ext
44145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44147 if test `eval echo '${'$as_ac_var'}'` = yes; then
44148 cat >>confdefs.h <<_ACEOF
44149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44150 _ACEOF
44153 done
44155 else
44157 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
44158 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
44159 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44160 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
44161 echo $ECHO_N "(cached) $ECHO_C" >&6
44162 else
44166 ac_ext=cc
44167 ac_cpp='$CXXCPP $CPPFLAGS'
44168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44172 cat >conftest.$ac_ext <<_ACEOF
44173 /* confdefs.h. */
44174 _ACEOF
44175 cat confdefs.h >>conftest.$ac_ext
44176 cat >>conftest.$ac_ext <<_ACEOF
44177 /* end confdefs.h. */
44178 #include <math.h>
44179 #ifdef HAVE_IEEEFP_H
44180 #include <ieeefp.h>
44181 #endif
44184 main ()
44186 _isinfl(0);
44188 return 0;
44190 _ACEOF
44191 rm -f conftest.$ac_objext
44192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44193 (eval $ac_compile) 2>conftest.er1
44194 ac_status=$?
44195 grep -v '^ *+' conftest.er1 >conftest.err
44196 rm -f conftest.er1
44197 cat conftest.err >&5
44198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44199 (exit $ac_status); } &&
44200 { ac_try='test -z "$ac_cxx_werror_flag"
44201 || test ! -s conftest.err'
44202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44203 (eval $ac_try) 2>&5
44204 ac_status=$?
44205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44206 (exit $ac_status); }; } &&
44207 { ac_try='test -s conftest.$ac_objext'
44208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44209 (eval $ac_try) 2>&5
44210 ac_status=$?
44211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44212 (exit $ac_status); }; }; then
44213 glibcxx_cv_func__isinfl_use=yes
44214 else
44215 echo "$as_me: failed program was:" >&5
44216 sed 's/^/| /' conftest.$ac_ext >&5
44218 glibcxx_cv_func__isinfl_use=no
44220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44221 ac_ext=c
44222 ac_cpp='$CPP $CPPFLAGS'
44223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44231 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44232 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44234 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44236 for ac_func in _isinfl
44238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44239 echo "$as_me:$LINENO: checking for $ac_func" >&5
44240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44241 if eval "test \"\${$as_ac_var+set}\" = set"; then
44242 echo $ECHO_N "(cached) $ECHO_C" >&6
44243 else
44244 if test x$gcc_no_link = xyes; then
44245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44247 { (exit 1); exit 1; }; }
44249 cat >conftest.$ac_ext <<_ACEOF
44250 /* confdefs.h. */
44251 _ACEOF
44252 cat confdefs.h >>conftest.$ac_ext
44253 cat >>conftest.$ac_ext <<_ACEOF
44254 /* end confdefs.h. */
44255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44257 #define $ac_func innocuous_$ac_func
44259 /* System header to define __stub macros and hopefully few prototypes,
44260 which can conflict with char $ac_func (); below.
44261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44262 <limits.h> exists even on freestanding compilers. */
44264 #ifdef __STDC__
44265 # include <limits.h>
44266 #else
44267 # include <assert.h>
44268 #endif
44270 #undef $ac_func
44272 /* Override any gcc2 internal prototype to avoid an error. */
44273 #ifdef __cplusplus
44274 extern "C"
44276 #endif
44277 /* We use char because int might match the return type of a gcc2
44278 builtin and then its argument prototype would still apply. */
44279 char $ac_func ();
44280 /* The GNU C library defines this for functions which it implements
44281 to always fail with ENOSYS. Some functions are actually named
44282 something starting with __ and the normal name is an alias. */
44283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44284 choke me
44285 #else
44286 char (*f) () = $ac_func;
44287 #endif
44288 #ifdef __cplusplus
44290 #endif
44293 main ()
44295 return f != $ac_func;
44297 return 0;
44299 _ACEOF
44300 rm -f conftest.$ac_objext conftest$ac_exeext
44301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44302 (eval $ac_link) 2>conftest.er1
44303 ac_status=$?
44304 grep -v '^ *+' conftest.er1 >conftest.err
44305 rm -f conftest.er1
44306 cat conftest.err >&5
44307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44308 (exit $ac_status); } &&
44309 { ac_try='test -z "$ac_c_werror_flag"
44310 || test ! -s conftest.err'
44311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44312 (eval $ac_try) 2>&5
44313 ac_status=$?
44314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44315 (exit $ac_status); }; } &&
44316 { ac_try='test -s conftest$ac_exeext'
44317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44318 (eval $ac_try) 2>&5
44319 ac_status=$?
44320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321 (exit $ac_status); }; }; then
44322 eval "$as_ac_var=yes"
44323 else
44324 echo "$as_me: failed program was:" >&5
44325 sed 's/^/| /' conftest.$ac_ext >&5
44327 eval "$as_ac_var=no"
44329 rm -f conftest.err conftest.$ac_objext \
44330 conftest$ac_exeext conftest.$ac_ext
44332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44334 if test `eval echo '${'$as_ac_var'}'` = yes; then
44335 cat >>confdefs.h <<_ACEOF
44336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44337 _ACEOF
44340 done
44350 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44351 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44352 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44353 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44354 echo $ECHO_N "(cached) $ECHO_C" >&6
44355 else
44359 ac_ext=cc
44360 ac_cpp='$CXXCPP $CPPFLAGS'
44361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44365 cat >conftest.$ac_ext <<_ACEOF
44366 /* confdefs.h. */
44367 _ACEOF
44368 cat confdefs.h >>conftest.$ac_ext
44369 cat >>conftest.$ac_ext <<_ACEOF
44370 /* end confdefs.h. */
44371 #include <math.h>
44373 main ()
44375 copysignl(0, 0);
44377 return 0;
44379 _ACEOF
44380 rm -f conftest.$ac_objext
44381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44382 (eval $ac_compile) 2>conftest.er1
44383 ac_status=$?
44384 grep -v '^ *+' conftest.er1 >conftest.err
44385 rm -f conftest.er1
44386 cat conftest.err >&5
44387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44388 (exit $ac_status); } &&
44389 { ac_try='test -z "$ac_cxx_werror_flag"
44390 || test ! -s conftest.err'
44391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44392 (eval $ac_try) 2>&5
44393 ac_status=$?
44394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44395 (exit $ac_status); }; } &&
44396 { ac_try='test -s conftest.$ac_objext'
44397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44398 (eval $ac_try) 2>&5
44399 ac_status=$?
44400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44401 (exit $ac_status); }; }; then
44402 glibcxx_cv_func_copysignl_use=yes
44403 else
44404 echo "$as_me: failed program was:" >&5
44405 sed 's/^/| /' conftest.$ac_ext >&5
44407 glibcxx_cv_func_copysignl_use=no
44409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44410 ac_ext=c
44411 ac_cpp='$CPP $CPPFLAGS'
44412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44420 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44421 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44423 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44425 for ac_func in copysignl
44427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44428 echo "$as_me:$LINENO: checking for $ac_func" >&5
44429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44430 if eval "test \"\${$as_ac_var+set}\" = set"; then
44431 echo $ECHO_N "(cached) $ECHO_C" >&6
44432 else
44433 if test x$gcc_no_link = xyes; then
44434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44436 { (exit 1); exit 1; }; }
44438 cat >conftest.$ac_ext <<_ACEOF
44439 /* confdefs.h. */
44440 _ACEOF
44441 cat confdefs.h >>conftest.$ac_ext
44442 cat >>conftest.$ac_ext <<_ACEOF
44443 /* end confdefs.h. */
44444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44446 #define $ac_func innocuous_$ac_func
44448 /* System header to define __stub macros and hopefully few prototypes,
44449 which can conflict with char $ac_func (); below.
44450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44451 <limits.h> exists even on freestanding compilers. */
44453 #ifdef __STDC__
44454 # include <limits.h>
44455 #else
44456 # include <assert.h>
44457 #endif
44459 #undef $ac_func
44461 /* Override any gcc2 internal prototype to avoid an error. */
44462 #ifdef __cplusplus
44463 extern "C"
44465 #endif
44466 /* We use char because int might match the return type of a gcc2
44467 builtin and then its argument prototype would still apply. */
44468 char $ac_func ();
44469 /* The GNU C library defines this for functions which it implements
44470 to always fail with ENOSYS. Some functions are actually named
44471 something starting with __ and the normal name is an alias. */
44472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44473 choke me
44474 #else
44475 char (*f) () = $ac_func;
44476 #endif
44477 #ifdef __cplusplus
44479 #endif
44482 main ()
44484 return f != $ac_func;
44486 return 0;
44488 _ACEOF
44489 rm -f conftest.$ac_objext conftest$ac_exeext
44490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44491 (eval $ac_link) 2>conftest.er1
44492 ac_status=$?
44493 grep -v '^ *+' conftest.er1 >conftest.err
44494 rm -f conftest.er1
44495 cat conftest.err >&5
44496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44497 (exit $ac_status); } &&
44498 { ac_try='test -z "$ac_c_werror_flag"
44499 || test ! -s conftest.err'
44500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44501 (eval $ac_try) 2>&5
44502 ac_status=$?
44503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44504 (exit $ac_status); }; } &&
44505 { ac_try='test -s conftest$ac_exeext'
44506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44507 (eval $ac_try) 2>&5
44508 ac_status=$?
44509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44510 (exit $ac_status); }; }; then
44511 eval "$as_ac_var=yes"
44512 else
44513 echo "$as_me: failed program was:" >&5
44514 sed 's/^/| /' conftest.$ac_ext >&5
44516 eval "$as_ac_var=no"
44518 rm -f conftest.err conftest.$ac_objext \
44519 conftest$ac_exeext conftest.$ac_ext
44521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44523 if test `eval echo '${'$as_ac_var'}'` = yes; then
44524 cat >>confdefs.h <<_ACEOF
44525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44526 _ACEOF
44529 done
44531 else
44533 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44534 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44535 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44536 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44537 echo $ECHO_N "(cached) $ECHO_C" >&6
44538 else
44542 ac_ext=cc
44543 ac_cpp='$CXXCPP $CPPFLAGS'
44544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44548 cat >conftest.$ac_ext <<_ACEOF
44549 /* confdefs.h. */
44550 _ACEOF
44551 cat confdefs.h >>conftest.$ac_ext
44552 cat >>conftest.$ac_ext <<_ACEOF
44553 /* end confdefs.h. */
44554 #include <math.h>
44556 main ()
44558 _copysignl(0, 0);
44560 return 0;
44562 _ACEOF
44563 rm -f conftest.$ac_objext
44564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44565 (eval $ac_compile) 2>conftest.er1
44566 ac_status=$?
44567 grep -v '^ *+' conftest.er1 >conftest.err
44568 rm -f conftest.er1
44569 cat conftest.err >&5
44570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44571 (exit $ac_status); } &&
44572 { ac_try='test -z "$ac_cxx_werror_flag"
44573 || test ! -s conftest.err'
44574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44575 (eval $ac_try) 2>&5
44576 ac_status=$?
44577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44578 (exit $ac_status); }; } &&
44579 { ac_try='test -s conftest.$ac_objext'
44580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44581 (eval $ac_try) 2>&5
44582 ac_status=$?
44583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44584 (exit $ac_status); }; }; then
44585 glibcxx_cv_func__copysignl_use=yes
44586 else
44587 echo "$as_me: failed program was:" >&5
44588 sed 's/^/| /' conftest.$ac_ext >&5
44590 glibcxx_cv_func__copysignl_use=no
44592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44593 ac_ext=c
44594 ac_cpp='$CPP $CPPFLAGS'
44595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44603 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44604 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44606 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44608 for ac_func in _copysignl
44610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44611 echo "$as_me:$LINENO: checking for $ac_func" >&5
44612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44613 if eval "test \"\${$as_ac_var+set}\" = set"; then
44614 echo $ECHO_N "(cached) $ECHO_C" >&6
44615 else
44616 if test x$gcc_no_link = xyes; then
44617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44619 { (exit 1); exit 1; }; }
44621 cat >conftest.$ac_ext <<_ACEOF
44622 /* confdefs.h. */
44623 _ACEOF
44624 cat confdefs.h >>conftest.$ac_ext
44625 cat >>conftest.$ac_ext <<_ACEOF
44626 /* end confdefs.h. */
44627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44629 #define $ac_func innocuous_$ac_func
44631 /* System header to define __stub macros and hopefully few prototypes,
44632 which can conflict with char $ac_func (); below.
44633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44634 <limits.h> exists even on freestanding compilers. */
44636 #ifdef __STDC__
44637 # include <limits.h>
44638 #else
44639 # include <assert.h>
44640 #endif
44642 #undef $ac_func
44644 /* Override any gcc2 internal prototype to avoid an error. */
44645 #ifdef __cplusplus
44646 extern "C"
44648 #endif
44649 /* We use char because int might match the return type of a gcc2
44650 builtin and then its argument prototype would still apply. */
44651 char $ac_func ();
44652 /* The GNU C library defines this for functions which it implements
44653 to always fail with ENOSYS. Some functions are actually named
44654 something starting with __ and the normal name is an alias. */
44655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44656 choke me
44657 #else
44658 char (*f) () = $ac_func;
44659 #endif
44660 #ifdef __cplusplus
44662 #endif
44665 main ()
44667 return f != $ac_func;
44669 return 0;
44671 _ACEOF
44672 rm -f conftest.$ac_objext conftest$ac_exeext
44673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44674 (eval $ac_link) 2>conftest.er1
44675 ac_status=$?
44676 grep -v '^ *+' conftest.er1 >conftest.err
44677 rm -f conftest.er1
44678 cat conftest.err >&5
44679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44680 (exit $ac_status); } &&
44681 { ac_try='test -z "$ac_c_werror_flag"
44682 || test ! -s conftest.err'
44683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44684 (eval $ac_try) 2>&5
44685 ac_status=$?
44686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687 (exit $ac_status); }; } &&
44688 { ac_try='test -s conftest$ac_exeext'
44689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44690 (eval $ac_try) 2>&5
44691 ac_status=$?
44692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44693 (exit $ac_status); }; }; then
44694 eval "$as_ac_var=yes"
44695 else
44696 echo "$as_me: failed program was:" >&5
44697 sed 's/^/| /' conftest.$ac_ext >&5
44699 eval "$as_ac_var=no"
44701 rm -f conftest.err conftest.$ac_objext \
44702 conftest$ac_exeext conftest.$ac_ext
44704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44706 if test `eval echo '${'$as_ac_var'}'` = yes; then
44707 cat >>confdefs.h <<_ACEOF
44708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44709 _ACEOF
44712 done
44722 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
44723 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
44724 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44725 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
44726 echo $ECHO_N "(cached) $ECHO_C" >&6
44727 else
44731 ac_ext=cc
44732 ac_cpp='$CXXCPP $CPPFLAGS'
44733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44737 cat >conftest.$ac_ext <<_ACEOF
44738 /* confdefs.h. */
44739 _ACEOF
44740 cat confdefs.h >>conftest.$ac_ext
44741 cat >>conftest.$ac_ext <<_ACEOF
44742 /* end confdefs.h. */
44743 #include <math.h>
44745 main ()
44747 atan2l(0, 0);
44749 return 0;
44751 _ACEOF
44752 rm -f conftest.$ac_objext
44753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44754 (eval $ac_compile) 2>conftest.er1
44755 ac_status=$?
44756 grep -v '^ *+' conftest.er1 >conftest.err
44757 rm -f conftest.er1
44758 cat conftest.err >&5
44759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44760 (exit $ac_status); } &&
44761 { ac_try='test -z "$ac_cxx_werror_flag"
44762 || test ! -s conftest.err'
44763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44764 (eval $ac_try) 2>&5
44765 ac_status=$?
44766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44767 (exit $ac_status); }; } &&
44768 { ac_try='test -s conftest.$ac_objext'
44769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44770 (eval $ac_try) 2>&5
44771 ac_status=$?
44772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44773 (exit $ac_status); }; }; then
44774 glibcxx_cv_func_atan2l_use=yes
44775 else
44776 echo "$as_me: failed program was:" >&5
44777 sed 's/^/| /' conftest.$ac_ext >&5
44779 glibcxx_cv_func_atan2l_use=no
44781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44782 ac_ext=c
44783 ac_cpp='$CPP $CPPFLAGS'
44784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44792 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
44793 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44795 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44797 for ac_func in atan2l
44799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44800 echo "$as_me:$LINENO: checking for $ac_func" >&5
44801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44802 if eval "test \"\${$as_ac_var+set}\" = set"; then
44803 echo $ECHO_N "(cached) $ECHO_C" >&6
44804 else
44805 if test x$gcc_no_link = xyes; then
44806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44808 { (exit 1); exit 1; }; }
44810 cat >conftest.$ac_ext <<_ACEOF
44811 /* confdefs.h. */
44812 _ACEOF
44813 cat confdefs.h >>conftest.$ac_ext
44814 cat >>conftest.$ac_ext <<_ACEOF
44815 /* end confdefs.h. */
44816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44818 #define $ac_func innocuous_$ac_func
44820 /* System header to define __stub macros and hopefully few prototypes,
44821 which can conflict with char $ac_func (); below.
44822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44823 <limits.h> exists even on freestanding compilers. */
44825 #ifdef __STDC__
44826 # include <limits.h>
44827 #else
44828 # include <assert.h>
44829 #endif
44831 #undef $ac_func
44833 /* Override any gcc2 internal prototype to avoid an error. */
44834 #ifdef __cplusplus
44835 extern "C"
44837 #endif
44838 /* We use char because int might match the return type of a gcc2
44839 builtin and then its argument prototype would still apply. */
44840 char $ac_func ();
44841 /* The GNU C library defines this for functions which it implements
44842 to always fail with ENOSYS. Some functions are actually named
44843 something starting with __ and the normal name is an alias. */
44844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44845 choke me
44846 #else
44847 char (*f) () = $ac_func;
44848 #endif
44849 #ifdef __cplusplus
44851 #endif
44854 main ()
44856 return f != $ac_func;
44858 return 0;
44860 _ACEOF
44861 rm -f conftest.$ac_objext conftest$ac_exeext
44862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44863 (eval $ac_link) 2>conftest.er1
44864 ac_status=$?
44865 grep -v '^ *+' conftest.er1 >conftest.err
44866 rm -f conftest.er1
44867 cat conftest.err >&5
44868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44869 (exit $ac_status); } &&
44870 { ac_try='test -z "$ac_c_werror_flag"
44871 || test ! -s conftest.err'
44872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44873 (eval $ac_try) 2>&5
44874 ac_status=$?
44875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44876 (exit $ac_status); }; } &&
44877 { ac_try='test -s conftest$ac_exeext'
44878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44879 (eval $ac_try) 2>&5
44880 ac_status=$?
44881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44882 (exit $ac_status); }; }; then
44883 eval "$as_ac_var=yes"
44884 else
44885 echo "$as_me: failed program was:" >&5
44886 sed 's/^/| /' conftest.$ac_ext >&5
44888 eval "$as_ac_var=no"
44890 rm -f conftest.err conftest.$ac_objext \
44891 conftest$ac_exeext conftest.$ac_ext
44893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44895 if test `eval echo '${'$as_ac_var'}'` = yes; then
44896 cat >>confdefs.h <<_ACEOF
44897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44898 _ACEOF
44901 done
44903 else
44905 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
44906 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
44907 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44908 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
44909 echo $ECHO_N "(cached) $ECHO_C" >&6
44910 else
44914 ac_ext=cc
44915 ac_cpp='$CXXCPP $CPPFLAGS'
44916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44920 cat >conftest.$ac_ext <<_ACEOF
44921 /* confdefs.h. */
44922 _ACEOF
44923 cat confdefs.h >>conftest.$ac_ext
44924 cat >>conftest.$ac_ext <<_ACEOF
44925 /* end confdefs.h. */
44926 #include <math.h>
44928 main ()
44930 _atan2l(0, 0);
44932 return 0;
44934 _ACEOF
44935 rm -f conftest.$ac_objext
44936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44937 (eval $ac_compile) 2>conftest.er1
44938 ac_status=$?
44939 grep -v '^ *+' conftest.er1 >conftest.err
44940 rm -f conftest.er1
44941 cat conftest.err >&5
44942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44943 (exit $ac_status); } &&
44944 { ac_try='test -z "$ac_cxx_werror_flag"
44945 || test ! -s conftest.err'
44946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44947 (eval $ac_try) 2>&5
44948 ac_status=$?
44949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44950 (exit $ac_status); }; } &&
44951 { ac_try='test -s conftest.$ac_objext'
44952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44953 (eval $ac_try) 2>&5
44954 ac_status=$?
44955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44956 (exit $ac_status); }; }; then
44957 glibcxx_cv_func__atan2l_use=yes
44958 else
44959 echo "$as_me: failed program was:" >&5
44960 sed 's/^/| /' conftest.$ac_ext >&5
44962 glibcxx_cv_func__atan2l_use=no
44964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44965 ac_ext=c
44966 ac_cpp='$CPP $CPPFLAGS'
44967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44975 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
44976 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
44978 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44980 for ac_func in _atan2l
44982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44983 echo "$as_me:$LINENO: checking for $ac_func" >&5
44984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44985 if eval "test \"\${$as_ac_var+set}\" = set"; then
44986 echo $ECHO_N "(cached) $ECHO_C" >&6
44987 else
44988 if test x$gcc_no_link = xyes; then
44989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44991 { (exit 1); exit 1; }; }
44993 cat >conftest.$ac_ext <<_ACEOF
44994 /* confdefs.h. */
44995 _ACEOF
44996 cat confdefs.h >>conftest.$ac_ext
44997 cat >>conftest.$ac_ext <<_ACEOF
44998 /* end confdefs.h. */
44999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45001 #define $ac_func innocuous_$ac_func
45003 /* System header to define __stub macros and hopefully few prototypes,
45004 which can conflict with char $ac_func (); below.
45005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45006 <limits.h> exists even on freestanding compilers. */
45008 #ifdef __STDC__
45009 # include <limits.h>
45010 #else
45011 # include <assert.h>
45012 #endif
45014 #undef $ac_func
45016 /* Override any gcc2 internal prototype to avoid an error. */
45017 #ifdef __cplusplus
45018 extern "C"
45020 #endif
45021 /* We use char because int might match the return type of a gcc2
45022 builtin and then its argument prototype would still apply. */
45023 char $ac_func ();
45024 /* The GNU C library defines this for functions which it implements
45025 to always fail with ENOSYS. Some functions are actually named
45026 something starting with __ and the normal name is an alias. */
45027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45028 choke me
45029 #else
45030 char (*f) () = $ac_func;
45031 #endif
45032 #ifdef __cplusplus
45034 #endif
45037 main ()
45039 return f != $ac_func;
45041 return 0;
45043 _ACEOF
45044 rm -f conftest.$ac_objext conftest$ac_exeext
45045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45046 (eval $ac_link) 2>conftest.er1
45047 ac_status=$?
45048 grep -v '^ *+' conftest.er1 >conftest.err
45049 rm -f conftest.er1
45050 cat conftest.err >&5
45051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45052 (exit $ac_status); } &&
45053 { ac_try='test -z "$ac_c_werror_flag"
45054 || test ! -s conftest.err'
45055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45056 (eval $ac_try) 2>&5
45057 ac_status=$?
45058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45059 (exit $ac_status); }; } &&
45060 { ac_try='test -s conftest$ac_exeext'
45061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45062 (eval $ac_try) 2>&5
45063 ac_status=$?
45064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45065 (exit $ac_status); }; }; then
45066 eval "$as_ac_var=yes"
45067 else
45068 echo "$as_me: failed program was:" >&5
45069 sed 's/^/| /' conftest.$ac_ext >&5
45071 eval "$as_ac_var=no"
45073 rm -f conftest.err conftest.$ac_objext \
45074 conftest$ac_exeext conftest.$ac_ext
45076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45078 if test `eval echo '${'$as_ac_var'}'` = yes; then
45079 cat >>confdefs.h <<_ACEOF
45080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45081 _ACEOF
45084 done
45094 echo "$as_me:$LINENO: checking for expl declaration" >&5
45095 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
45096 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45097 if test "${glibcxx_cv_func_expl_use+set}" = set; then
45098 echo $ECHO_N "(cached) $ECHO_C" >&6
45099 else
45103 ac_ext=cc
45104 ac_cpp='$CXXCPP $CPPFLAGS'
45105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45109 cat >conftest.$ac_ext <<_ACEOF
45110 /* confdefs.h. */
45111 _ACEOF
45112 cat confdefs.h >>conftest.$ac_ext
45113 cat >>conftest.$ac_ext <<_ACEOF
45114 /* end confdefs.h. */
45115 #include <math.h>
45116 #ifdef HAVE_IEEEFP_H
45117 #include <ieeefp.h>
45118 #endif
45121 main ()
45123 expl(0);
45125 return 0;
45127 _ACEOF
45128 rm -f conftest.$ac_objext
45129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45130 (eval $ac_compile) 2>conftest.er1
45131 ac_status=$?
45132 grep -v '^ *+' conftest.er1 >conftest.err
45133 rm -f conftest.er1
45134 cat conftest.err >&5
45135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45136 (exit $ac_status); } &&
45137 { ac_try='test -z "$ac_cxx_werror_flag"
45138 || test ! -s conftest.err'
45139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45140 (eval $ac_try) 2>&5
45141 ac_status=$?
45142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45143 (exit $ac_status); }; } &&
45144 { ac_try='test -s conftest.$ac_objext'
45145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45146 (eval $ac_try) 2>&5
45147 ac_status=$?
45148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45149 (exit $ac_status); }; }; then
45150 glibcxx_cv_func_expl_use=yes
45151 else
45152 echo "$as_me: failed program was:" >&5
45153 sed 's/^/| /' conftest.$ac_ext >&5
45155 glibcxx_cv_func_expl_use=no
45157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45158 ac_ext=c
45159 ac_cpp='$CPP $CPPFLAGS'
45160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45168 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
45169 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
45171 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45173 for ac_func in expl
45175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45176 echo "$as_me:$LINENO: checking for $ac_func" >&5
45177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45178 if eval "test \"\${$as_ac_var+set}\" = set"; then
45179 echo $ECHO_N "(cached) $ECHO_C" >&6
45180 else
45181 if test x$gcc_no_link = xyes; then
45182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45184 { (exit 1); exit 1; }; }
45186 cat >conftest.$ac_ext <<_ACEOF
45187 /* confdefs.h. */
45188 _ACEOF
45189 cat confdefs.h >>conftest.$ac_ext
45190 cat >>conftest.$ac_ext <<_ACEOF
45191 /* end confdefs.h. */
45192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45194 #define $ac_func innocuous_$ac_func
45196 /* System header to define __stub macros and hopefully few prototypes,
45197 which can conflict with char $ac_func (); below.
45198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45199 <limits.h> exists even on freestanding compilers. */
45201 #ifdef __STDC__
45202 # include <limits.h>
45203 #else
45204 # include <assert.h>
45205 #endif
45207 #undef $ac_func
45209 /* Override any gcc2 internal prototype to avoid an error. */
45210 #ifdef __cplusplus
45211 extern "C"
45213 #endif
45214 /* We use char because int might match the return type of a gcc2
45215 builtin and then its argument prototype would still apply. */
45216 char $ac_func ();
45217 /* The GNU C library defines this for functions which it implements
45218 to always fail with ENOSYS. Some functions are actually named
45219 something starting with __ and the normal name is an alias. */
45220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45221 choke me
45222 #else
45223 char (*f) () = $ac_func;
45224 #endif
45225 #ifdef __cplusplus
45227 #endif
45230 main ()
45232 return f != $ac_func;
45234 return 0;
45236 _ACEOF
45237 rm -f conftest.$ac_objext conftest$ac_exeext
45238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45239 (eval $ac_link) 2>conftest.er1
45240 ac_status=$?
45241 grep -v '^ *+' conftest.er1 >conftest.err
45242 rm -f conftest.er1
45243 cat conftest.err >&5
45244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45245 (exit $ac_status); } &&
45246 { ac_try='test -z "$ac_c_werror_flag"
45247 || test ! -s conftest.err'
45248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45249 (eval $ac_try) 2>&5
45250 ac_status=$?
45251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45252 (exit $ac_status); }; } &&
45253 { ac_try='test -s conftest$ac_exeext'
45254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45255 (eval $ac_try) 2>&5
45256 ac_status=$?
45257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45258 (exit $ac_status); }; }; then
45259 eval "$as_ac_var=yes"
45260 else
45261 echo "$as_me: failed program was:" >&5
45262 sed 's/^/| /' conftest.$ac_ext >&5
45264 eval "$as_ac_var=no"
45266 rm -f conftest.err conftest.$ac_objext \
45267 conftest$ac_exeext conftest.$ac_ext
45269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45271 if test `eval echo '${'$as_ac_var'}'` = yes; then
45272 cat >>confdefs.h <<_ACEOF
45273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45274 _ACEOF
45277 done
45279 else
45281 echo "$as_me:$LINENO: checking for _expl declaration" >&5
45282 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45283 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45284 if test "${glibcxx_cv_func__expl_use+set}" = set; then
45285 echo $ECHO_N "(cached) $ECHO_C" >&6
45286 else
45290 ac_ext=cc
45291 ac_cpp='$CXXCPP $CPPFLAGS'
45292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45296 cat >conftest.$ac_ext <<_ACEOF
45297 /* confdefs.h. */
45298 _ACEOF
45299 cat confdefs.h >>conftest.$ac_ext
45300 cat >>conftest.$ac_ext <<_ACEOF
45301 /* end confdefs.h. */
45302 #include <math.h>
45303 #ifdef HAVE_IEEEFP_H
45304 #include <ieeefp.h>
45305 #endif
45308 main ()
45310 _expl(0);
45312 return 0;
45314 _ACEOF
45315 rm -f conftest.$ac_objext
45316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45317 (eval $ac_compile) 2>conftest.er1
45318 ac_status=$?
45319 grep -v '^ *+' conftest.er1 >conftest.err
45320 rm -f conftest.er1
45321 cat conftest.err >&5
45322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45323 (exit $ac_status); } &&
45324 { ac_try='test -z "$ac_cxx_werror_flag"
45325 || test ! -s conftest.err'
45326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45327 (eval $ac_try) 2>&5
45328 ac_status=$?
45329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45330 (exit $ac_status); }; } &&
45331 { ac_try='test -s conftest.$ac_objext'
45332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45333 (eval $ac_try) 2>&5
45334 ac_status=$?
45335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45336 (exit $ac_status); }; }; then
45337 glibcxx_cv_func__expl_use=yes
45338 else
45339 echo "$as_me: failed program was:" >&5
45340 sed 's/^/| /' conftest.$ac_ext >&5
45342 glibcxx_cv_func__expl_use=no
45344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45345 ac_ext=c
45346 ac_cpp='$CPP $CPPFLAGS'
45347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45355 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45356 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45358 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45360 for ac_func in _expl
45362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45363 echo "$as_me:$LINENO: checking for $ac_func" >&5
45364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45365 if eval "test \"\${$as_ac_var+set}\" = set"; then
45366 echo $ECHO_N "(cached) $ECHO_C" >&6
45367 else
45368 if test x$gcc_no_link = xyes; then
45369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45371 { (exit 1); exit 1; }; }
45373 cat >conftest.$ac_ext <<_ACEOF
45374 /* confdefs.h. */
45375 _ACEOF
45376 cat confdefs.h >>conftest.$ac_ext
45377 cat >>conftest.$ac_ext <<_ACEOF
45378 /* end confdefs.h. */
45379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45381 #define $ac_func innocuous_$ac_func
45383 /* System header to define __stub macros and hopefully few prototypes,
45384 which can conflict with char $ac_func (); below.
45385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45386 <limits.h> exists even on freestanding compilers. */
45388 #ifdef __STDC__
45389 # include <limits.h>
45390 #else
45391 # include <assert.h>
45392 #endif
45394 #undef $ac_func
45396 /* Override any gcc2 internal prototype to avoid an error. */
45397 #ifdef __cplusplus
45398 extern "C"
45400 #endif
45401 /* We use char because int might match the return type of a gcc2
45402 builtin and then its argument prototype would still apply. */
45403 char $ac_func ();
45404 /* The GNU C library defines this for functions which it implements
45405 to always fail with ENOSYS. Some functions are actually named
45406 something starting with __ and the normal name is an alias. */
45407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45408 choke me
45409 #else
45410 char (*f) () = $ac_func;
45411 #endif
45412 #ifdef __cplusplus
45414 #endif
45417 main ()
45419 return f != $ac_func;
45421 return 0;
45423 _ACEOF
45424 rm -f conftest.$ac_objext conftest$ac_exeext
45425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45426 (eval $ac_link) 2>conftest.er1
45427 ac_status=$?
45428 grep -v '^ *+' conftest.er1 >conftest.err
45429 rm -f conftest.er1
45430 cat conftest.err >&5
45431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45432 (exit $ac_status); } &&
45433 { ac_try='test -z "$ac_c_werror_flag"
45434 || test ! -s conftest.err'
45435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45436 (eval $ac_try) 2>&5
45437 ac_status=$?
45438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45439 (exit $ac_status); }; } &&
45440 { ac_try='test -s conftest$ac_exeext'
45441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45442 (eval $ac_try) 2>&5
45443 ac_status=$?
45444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445 (exit $ac_status); }; }; then
45446 eval "$as_ac_var=yes"
45447 else
45448 echo "$as_me: failed program was:" >&5
45449 sed 's/^/| /' conftest.$ac_ext >&5
45451 eval "$as_ac_var=no"
45453 rm -f conftest.err conftest.$ac_objext \
45454 conftest$ac_exeext conftest.$ac_ext
45456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45458 if test `eval echo '${'$as_ac_var'}'` = yes; then
45459 cat >>confdefs.h <<_ACEOF
45460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45461 _ACEOF
45464 done
45474 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45475 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45476 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45477 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45478 echo $ECHO_N "(cached) $ECHO_C" >&6
45479 else
45483 ac_ext=cc
45484 ac_cpp='$CXXCPP $CPPFLAGS'
45485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45489 cat >conftest.$ac_ext <<_ACEOF
45490 /* confdefs.h. */
45491 _ACEOF
45492 cat confdefs.h >>conftest.$ac_ext
45493 cat >>conftest.$ac_ext <<_ACEOF
45494 /* end confdefs.h. */
45495 #include <math.h>
45496 #ifdef HAVE_IEEEFP_H
45497 #include <ieeefp.h>
45498 #endif
45501 main ()
45503 fabsl(0);
45505 return 0;
45507 _ACEOF
45508 rm -f conftest.$ac_objext
45509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45510 (eval $ac_compile) 2>conftest.er1
45511 ac_status=$?
45512 grep -v '^ *+' conftest.er1 >conftest.err
45513 rm -f conftest.er1
45514 cat conftest.err >&5
45515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45516 (exit $ac_status); } &&
45517 { ac_try='test -z "$ac_cxx_werror_flag"
45518 || test ! -s conftest.err'
45519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45520 (eval $ac_try) 2>&5
45521 ac_status=$?
45522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45523 (exit $ac_status); }; } &&
45524 { ac_try='test -s conftest.$ac_objext'
45525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45526 (eval $ac_try) 2>&5
45527 ac_status=$?
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); }; }; then
45530 glibcxx_cv_func_fabsl_use=yes
45531 else
45532 echo "$as_me: failed program was:" >&5
45533 sed 's/^/| /' conftest.$ac_ext >&5
45535 glibcxx_cv_func_fabsl_use=no
45537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45538 ac_ext=c
45539 ac_cpp='$CPP $CPPFLAGS'
45540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45548 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45549 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45551 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45553 for ac_func in fabsl
45555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45556 echo "$as_me:$LINENO: checking for $ac_func" >&5
45557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45558 if eval "test \"\${$as_ac_var+set}\" = set"; then
45559 echo $ECHO_N "(cached) $ECHO_C" >&6
45560 else
45561 if test x$gcc_no_link = xyes; then
45562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45564 { (exit 1); exit 1; }; }
45566 cat >conftest.$ac_ext <<_ACEOF
45567 /* confdefs.h. */
45568 _ACEOF
45569 cat confdefs.h >>conftest.$ac_ext
45570 cat >>conftest.$ac_ext <<_ACEOF
45571 /* end confdefs.h. */
45572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45574 #define $ac_func innocuous_$ac_func
45576 /* System header to define __stub macros and hopefully few prototypes,
45577 which can conflict with char $ac_func (); below.
45578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45579 <limits.h> exists even on freestanding compilers. */
45581 #ifdef __STDC__
45582 # include <limits.h>
45583 #else
45584 # include <assert.h>
45585 #endif
45587 #undef $ac_func
45589 /* Override any gcc2 internal prototype to avoid an error. */
45590 #ifdef __cplusplus
45591 extern "C"
45593 #endif
45594 /* We use char because int might match the return type of a gcc2
45595 builtin and then its argument prototype would still apply. */
45596 char $ac_func ();
45597 /* The GNU C library defines this for functions which it implements
45598 to always fail with ENOSYS. Some functions are actually named
45599 something starting with __ and the normal name is an alias. */
45600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45601 choke me
45602 #else
45603 char (*f) () = $ac_func;
45604 #endif
45605 #ifdef __cplusplus
45607 #endif
45610 main ()
45612 return f != $ac_func;
45614 return 0;
45616 _ACEOF
45617 rm -f conftest.$ac_objext conftest$ac_exeext
45618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45619 (eval $ac_link) 2>conftest.er1
45620 ac_status=$?
45621 grep -v '^ *+' conftest.er1 >conftest.err
45622 rm -f conftest.er1
45623 cat conftest.err >&5
45624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45625 (exit $ac_status); } &&
45626 { ac_try='test -z "$ac_c_werror_flag"
45627 || test ! -s conftest.err'
45628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45629 (eval $ac_try) 2>&5
45630 ac_status=$?
45631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45632 (exit $ac_status); }; } &&
45633 { ac_try='test -s conftest$ac_exeext'
45634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45635 (eval $ac_try) 2>&5
45636 ac_status=$?
45637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45638 (exit $ac_status); }; }; then
45639 eval "$as_ac_var=yes"
45640 else
45641 echo "$as_me: failed program was:" >&5
45642 sed 's/^/| /' conftest.$ac_ext >&5
45644 eval "$as_ac_var=no"
45646 rm -f conftest.err conftest.$ac_objext \
45647 conftest$ac_exeext conftest.$ac_ext
45649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45651 if test `eval echo '${'$as_ac_var'}'` = yes; then
45652 cat >>confdefs.h <<_ACEOF
45653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45654 _ACEOF
45657 done
45659 else
45661 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
45662 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
45663 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45664 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
45665 echo $ECHO_N "(cached) $ECHO_C" >&6
45666 else
45670 ac_ext=cc
45671 ac_cpp='$CXXCPP $CPPFLAGS'
45672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45676 cat >conftest.$ac_ext <<_ACEOF
45677 /* confdefs.h. */
45678 _ACEOF
45679 cat confdefs.h >>conftest.$ac_ext
45680 cat >>conftest.$ac_ext <<_ACEOF
45681 /* end confdefs.h. */
45682 #include <math.h>
45683 #ifdef HAVE_IEEEFP_H
45684 #include <ieeefp.h>
45685 #endif
45688 main ()
45690 _fabsl(0);
45692 return 0;
45694 _ACEOF
45695 rm -f conftest.$ac_objext
45696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45697 (eval $ac_compile) 2>conftest.er1
45698 ac_status=$?
45699 grep -v '^ *+' conftest.er1 >conftest.err
45700 rm -f conftest.er1
45701 cat conftest.err >&5
45702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45703 (exit $ac_status); } &&
45704 { ac_try='test -z "$ac_cxx_werror_flag"
45705 || test ! -s conftest.err'
45706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45707 (eval $ac_try) 2>&5
45708 ac_status=$?
45709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45710 (exit $ac_status); }; } &&
45711 { ac_try='test -s conftest.$ac_objext'
45712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45713 (eval $ac_try) 2>&5
45714 ac_status=$?
45715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45716 (exit $ac_status); }; }; then
45717 glibcxx_cv_func__fabsl_use=yes
45718 else
45719 echo "$as_me: failed program was:" >&5
45720 sed 's/^/| /' conftest.$ac_ext >&5
45722 glibcxx_cv_func__fabsl_use=no
45724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45725 ac_ext=c
45726 ac_cpp='$CPP $CPPFLAGS'
45727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45735 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45736 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45738 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45740 for ac_func in _fabsl
45742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45743 echo "$as_me:$LINENO: checking for $ac_func" >&5
45744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45745 if eval "test \"\${$as_ac_var+set}\" = set"; then
45746 echo $ECHO_N "(cached) $ECHO_C" >&6
45747 else
45748 if test x$gcc_no_link = xyes; then
45749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45751 { (exit 1); exit 1; }; }
45753 cat >conftest.$ac_ext <<_ACEOF
45754 /* confdefs.h. */
45755 _ACEOF
45756 cat confdefs.h >>conftest.$ac_ext
45757 cat >>conftest.$ac_ext <<_ACEOF
45758 /* end confdefs.h. */
45759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45761 #define $ac_func innocuous_$ac_func
45763 /* System header to define __stub macros and hopefully few prototypes,
45764 which can conflict with char $ac_func (); below.
45765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45766 <limits.h> exists even on freestanding compilers. */
45768 #ifdef __STDC__
45769 # include <limits.h>
45770 #else
45771 # include <assert.h>
45772 #endif
45774 #undef $ac_func
45776 /* Override any gcc2 internal prototype to avoid an error. */
45777 #ifdef __cplusplus
45778 extern "C"
45780 #endif
45781 /* We use char because int might match the return type of a gcc2
45782 builtin and then its argument prototype would still apply. */
45783 char $ac_func ();
45784 /* The GNU C library defines this for functions which it implements
45785 to always fail with ENOSYS. Some functions are actually named
45786 something starting with __ and the normal name is an alias. */
45787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45788 choke me
45789 #else
45790 char (*f) () = $ac_func;
45791 #endif
45792 #ifdef __cplusplus
45794 #endif
45797 main ()
45799 return f != $ac_func;
45801 return 0;
45803 _ACEOF
45804 rm -f conftest.$ac_objext conftest$ac_exeext
45805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45806 (eval $ac_link) 2>conftest.er1
45807 ac_status=$?
45808 grep -v '^ *+' conftest.er1 >conftest.err
45809 rm -f conftest.er1
45810 cat conftest.err >&5
45811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45812 (exit $ac_status); } &&
45813 { ac_try='test -z "$ac_c_werror_flag"
45814 || test ! -s conftest.err'
45815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45816 (eval $ac_try) 2>&5
45817 ac_status=$?
45818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45819 (exit $ac_status); }; } &&
45820 { ac_try='test -s conftest$ac_exeext'
45821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45822 (eval $ac_try) 2>&5
45823 ac_status=$?
45824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45825 (exit $ac_status); }; }; then
45826 eval "$as_ac_var=yes"
45827 else
45828 echo "$as_me: failed program was:" >&5
45829 sed 's/^/| /' conftest.$ac_ext >&5
45831 eval "$as_ac_var=no"
45833 rm -f conftest.err conftest.$ac_objext \
45834 conftest$ac_exeext conftest.$ac_ext
45836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45838 if test `eval echo '${'$as_ac_var'}'` = yes; then
45839 cat >>confdefs.h <<_ACEOF
45840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45841 _ACEOF
45844 done
45854 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45855 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45856 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45857 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45858 echo $ECHO_N "(cached) $ECHO_C" >&6
45859 else
45863 ac_ext=cc
45864 ac_cpp='$CXXCPP $CPPFLAGS'
45865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45869 cat >conftest.$ac_ext <<_ACEOF
45870 /* confdefs.h. */
45871 _ACEOF
45872 cat confdefs.h >>conftest.$ac_ext
45873 cat >>conftest.$ac_ext <<_ACEOF
45874 /* end confdefs.h. */
45875 #include <math.h>
45877 main ()
45879 fmodl(0, 0);
45881 return 0;
45883 _ACEOF
45884 rm -f conftest.$ac_objext
45885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45886 (eval $ac_compile) 2>conftest.er1
45887 ac_status=$?
45888 grep -v '^ *+' conftest.er1 >conftest.err
45889 rm -f conftest.er1
45890 cat conftest.err >&5
45891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45892 (exit $ac_status); } &&
45893 { ac_try='test -z "$ac_cxx_werror_flag"
45894 || test ! -s conftest.err'
45895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45896 (eval $ac_try) 2>&5
45897 ac_status=$?
45898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45899 (exit $ac_status); }; } &&
45900 { ac_try='test -s conftest.$ac_objext'
45901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45902 (eval $ac_try) 2>&5
45903 ac_status=$?
45904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45905 (exit $ac_status); }; }; then
45906 glibcxx_cv_func_fmodl_use=yes
45907 else
45908 echo "$as_me: failed program was:" >&5
45909 sed 's/^/| /' conftest.$ac_ext >&5
45911 glibcxx_cv_func_fmodl_use=no
45913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45914 ac_ext=c
45915 ac_cpp='$CPP $CPPFLAGS'
45916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45924 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
45925 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
45927 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45929 for ac_func in fmodl
45931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45932 echo "$as_me:$LINENO: checking for $ac_func" >&5
45933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45934 if eval "test \"\${$as_ac_var+set}\" = set"; then
45935 echo $ECHO_N "(cached) $ECHO_C" >&6
45936 else
45937 if test x$gcc_no_link = xyes; then
45938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45940 { (exit 1); exit 1; }; }
45942 cat >conftest.$ac_ext <<_ACEOF
45943 /* confdefs.h. */
45944 _ACEOF
45945 cat confdefs.h >>conftest.$ac_ext
45946 cat >>conftest.$ac_ext <<_ACEOF
45947 /* end confdefs.h. */
45948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45950 #define $ac_func innocuous_$ac_func
45952 /* System header to define __stub macros and hopefully few prototypes,
45953 which can conflict with char $ac_func (); below.
45954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45955 <limits.h> exists even on freestanding compilers. */
45957 #ifdef __STDC__
45958 # include <limits.h>
45959 #else
45960 # include <assert.h>
45961 #endif
45963 #undef $ac_func
45965 /* Override any gcc2 internal prototype to avoid an error. */
45966 #ifdef __cplusplus
45967 extern "C"
45969 #endif
45970 /* We use char because int might match the return type of a gcc2
45971 builtin and then its argument prototype would still apply. */
45972 char $ac_func ();
45973 /* The GNU C library defines this for functions which it implements
45974 to always fail with ENOSYS. Some functions are actually named
45975 something starting with __ and the normal name is an alias. */
45976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45977 choke me
45978 #else
45979 char (*f) () = $ac_func;
45980 #endif
45981 #ifdef __cplusplus
45983 #endif
45986 main ()
45988 return f != $ac_func;
45990 return 0;
45992 _ACEOF
45993 rm -f conftest.$ac_objext conftest$ac_exeext
45994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45995 (eval $ac_link) 2>conftest.er1
45996 ac_status=$?
45997 grep -v '^ *+' conftest.er1 >conftest.err
45998 rm -f conftest.er1
45999 cat conftest.err >&5
46000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46001 (exit $ac_status); } &&
46002 { ac_try='test -z "$ac_c_werror_flag"
46003 || test ! -s conftest.err'
46004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46005 (eval $ac_try) 2>&5
46006 ac_status=$?
46007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46008 (exit $ac_status); }; } &&
46009 { ac_try='test -s conftest$ac_exeext'
46010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46011 (eval $ac_try) 2>&5
46012 ac_status=$?
46013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46014 (exit $ac_status); }; }; then
46015 eval "$as_ac_var=yes"
46016 else
46017 echo "$as_me: failed program was:" >&5
46018 sed 's/^/| /' conftest.$ac_ext >&5
46020 eval "$as_ac_var=no"
46022 rm -f conftest.err conftest.$ac_objext \
46023 conftest$ac_exeext conftest.$ac_ext
46025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46027 if test `eval echo '${'$as_ac_var'}'` = yes; then
46028 cat >>confdefs.h <<_ACEOF
46029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46030 _ACEOF
46033 done
46035 else
46037 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
46038 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
46039 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46040 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
46041 echo $ECHO_N "(cached) $ECHO_C" >&6
46042 else
46046 ac_ext=cc
46047 ac_cpp='$CXXCPP $CPPFLAGS'
46048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46052 cat >conftest.$ac_ext <<_ACEOF
46053 /* confdefs.h. */
46054 _ACEOF
46055 cat confdefs.h >>conftest.$ac_ext
46056 cat >>conftest.$ac_ext <<_ACEOF
46057 /* end confdefs.h. */
46058 #include <math.h>
46060 main ()
46062 _fmodl(0, 0);
46064 return 0;
46066 _ACEOF
46067 rm -f conftest.$ac_objext
46068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46069 (eval $ac_compile) 2>conftest.er1
46070 ac_status=$?
46071 grep -v '^ *+' conftest.er1 >conftest.err
46072 rm -f conftest.er1
46073 cat conftest.err >&5
46074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46075 (exit $ac_status); } &&
46076 { ac_try='test -z "$ac_cxx_werror_flag"
46077 || test ! -s conftest.err'
46078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46079 (eval $ac_try) 2>&5
46080 ac_status=$?
46081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46082 (exit $ac_status); }; } &&
46083 { ac_try='test -s conftest.$ac_objext'
46084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46085 (eval $ac_try) 2>&5
46086 ac_status=$?
46087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46088 (exit $ac_status); }; }; then
46089 glibcxx_cv_func__fmodl_use=yes
46090 else
46091 echo "$as_me: failed program was:" >&5
46092 sed 's/^/| /' conftest.$ac_ext >&5
46094 glibcxx_cv_func__fmodl_use=no
46096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46097 ac_ext=c
46098 ac_cpp='$CPP $CPPFLAGS'
46099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46107 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
46108 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
46110 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46112 for ac_func in _fmodl
46114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46115 echo "$as_me:$LINENO: checking for $ac_func" >&5
46116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46117 if eval "test \"\${$as_ac_var+set}\" = set"; then
46118 echo $ECHO_N "(cached) $ECHO_C" >&6
46119 else
46120 if test x$gcc_no_link = xyes; then
46121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46123 { (exit 1); exit 1; }; }
46125 cat >conftest.$ac_ext <<_ACEOF
46126 /* confdefs.h. */
46127 _ACEOF
46128 cat confdefs.h >>conftest.$ac_ext
46129 cat >>conftest.$ac_ext <<_ACEOF
46130 /* end confdefs.h. */
46131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46133 #define $ac_func innocuous_$ac_func
46135 /* System header to define __stub macros and hopefully few prototypes,
46136 which can conflict with char $ac_func (); below.
46137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46138 <limits.h> exists even on freestanding compilers. */
46140 #ifdef __STDC__
46141 # include <limits.h>
46142 #else
46143 # include <assert.h>
46144 #endif
46146 #undef $ac_func
46148 /* Override any gcc2 internal prototype to avoid an error. */
46149 #ifdef __cplusplus
46150 extern "C"
46152 #endif
46153 /* We use char because int might match the return type of a gcc2
46154 builtin and then its argument prototype would still apply. */
46155 char $ac_func ();
46156 /* The GNU C library defines this for functions which it implements
46157 to always fail with ENOSYS. Some functions are actually named
46158 something starting with __ and the normal name is an alias. */
46159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46160 choke me
46161 #else
46162 char (*f) () = $ac_func;
46163 #endif
46164 #ifdef __cplusplus
46166 #endif
46169 main ()
46171 return f != $ac_func;
46173 return 0;
46175 _ACEOF
46176 rm -f conftest.$ac_objext conftest$ac_exeext
46177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46178 (eval $ac_link) 2>conftest.er1
46179 ac_status=$?
46180 grep -v '^ *+' conftest.er1 >conftest.err
46181 rm -f conftest.er1
46182 cat conftest.err >&5
46183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46184 (exit $ac_status); } &&
46185 { ac_try='test -z "$ac_c_werror_flag"
46186 || test ! -s conftest.err'
46187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46188 (eval $ac_try) 2>&5
46189 ac_status=$?
46190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46191 (exit $ac_status); }; } &&
46192 { ac_try='test -s conftest$ac_exeext'
46193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46194 (eval $ac_try) 2>&5
46195 ac_status=$?
46196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46197 (exit $ac_status); }; }; then
46198 eval "$as_ac_var=yes"
46199 else
46200 echo "$as_me: failed program was:" >&5
46201 sed 's/^/| /' conftest.$ac_ext >&5
46203 eval "$as_ac_var=no"
46205 rm -f conftest.err conftest.$ac_objext \
46206 conftest$ac_exeext conftest.$ac_ext
46208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46210 if test `eval echo '${'$as_ac_var'}'` = yes; then
46211 cat >>confdefs.h <<_ACEOF
46212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46213 _ACEOF
46216 done
46226 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46227 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46228 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46229 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46230 echo $ECHO_N "(cached) $ECHO_C" >&6
46231 else
46235 ac_ext=cc
46236 ac_cpp='$CXXCPP $CPPFLAGS'
46237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46241 cat >conftest.$ac_ext <<_ACEOF
46242 /* confdefs.h. */
46243 _ACEOF
46244 cat confdefs.h >>conftest.$ac_ext
46245 cat >>conftest.$ac_ext <<_ACEOF
46246 /* end confdefs.h. */
46247 #include <math.h>
46249 main ()
46251 frexpl(0, 0);
46253 return 0;
46255 _ACEOF
46256 rm -f conftest.$ac_objext
46257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46258 (eval $ac_compile) 2>conftest.er1
46259 ac_status=$?
46260 grep -v '^ *+' conftest.er1 >conftest.err
46261 rm -f conftest.er1
46262 cat conftest.err >&5
46263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46264 (exit $ac_status); } &&
46265 { ac_try='test -z "$ac_cxx_werror_flag"
46266 || test ! -s conftest.err'
46267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46268 (eval $ac_try) 2>&5
46269 ac_status=$?
46270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46271 (exit $ac_status); }; } &&
46272 { ac_try='test -s conftest.$ac_objext'
46273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46274 (eval $ac_try) 2>&5
46275 ac_status=$?
46276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46277 (exit $ac_status); }; }; then
46278 glibcxx_cv_func_frexpl_use=yes
46279 else
46280 echo "$as_me: failed program was:" >&5
46281 sed 's/^/| /' conftest.$ac_ext >&5
46283 glibcxx_cv_func_frexpl_use=no
46285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46286 ac_ext=c
46287 ac_cpp='$CPP $CPPFLAGS'
46288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46296 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46297 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46299 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46301 for ac_func in frexpl
46303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46304 echo "$as_me:$LINENO: checking for $ac_func" >&5
46305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46306 if eval "test \"\${$as_ac_var+set}\" = set"; then
46307 echo $ECHO_N "(cached) $ECHO_C" >&6
46308 else
46309 if test x$gcc_no_link = xyes; then
46310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46312 { (exit 1); exit 1; }; }
46314 cat >conftest.$ac_ext <<_ACEOF
46315 /* confdefs.h. */
46316 _ACEOF
46317 cat confdefs.h >>conftest.$ac_ext
46318 cat >>conftest.$ac_ext <<_ACEOF
46319 /* end confdefs.h. */
46320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46322 #define $ac_func innocuous_$ac_func
46324 /* System header to define __stub macros and hopefully few prototypes,
46325 which can conflict with char $ac_func (); below.
46326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46327 <limits.h> exists even on freestanding compilers. */
46329 #ifdef __STDC__
46330 # include <limits.h>
46331 #else
46332 # include <assert.h>
46333 #endif
46335 #undef $ac_func
46337 /* Override any gcc2 internal prototype to avoid an error. */
46338 #ifdef __cplusplus
46339 extern "C"
46341 #endif
46342 /* We use char because int might match the return type of a gcc2
46343 builtin and then its argument prototype would still apply. */
46344 char $ac_func ();
46345 /* The GNU C library defines this for functions which it implements
46346 to always fail with ENOSYS. Some functions are actually named
46347 something starting with __ and the normal name is an alias. */
46348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46349 choke me
46350 #else
46351 char (*f) () = $ac_func;
46352 #endif
46353 #ifdef __cplusplus
46355 #endif
46358 main ()
46360 return f != $ac_func;
46362 return 0;
46364 _ACEOF
46365 rm -f conftest.$ac_objext conftest$ac_exeext
46366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46367 (eval $ac_link) 2>conftest.er1
46368 ac_status=$?
46369 grep -v '^ *+' conftest.er1 >conftest.err
46370 rm -f conftest.er1
46371 cat conftest.err >&5
46372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373 (exit $ac_status); } &&
46374 { ac_try='test -z "$ac_c_werror_flag"
46375 || test ! -s conftest.err'
46376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46377 (eval $ac_try) 2>&5
46378 ac_status=$?
46379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46380 (exit $ac_status); }; } &&
46381 { ac_try='test -s conftest$ac_exeext'
46382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46383 (eval $ac_try) 2>&5
46384 ac_status=$?
46385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46386 (exit $ac_status); }; }; then
46387 eval "$as_ac_var=yes"
46388 else
46389 echo "$as_me: failed program was:" >&5
46390 sed 's/^/| /' conftest.$ac_ext >&5
46392 eval "$as_ac_var=no"
46394 rm -f conftest.err conftest.$ac_objext \
46395 conftest$ac_exeext conftest.$ac_ext
46397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46399 if test `eval echo '${'$as_ac_var'}'` = yes; then
46400 cat >>confdefs.h <<_ACEOF
46401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46402 _ACEOF
46405 done
46407 else
46409 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46410 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46411 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46412 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46413 echo $ECHO_N "(cached) $ECHO_C" >&6
46414 else
46418 ac_ext=cc
46419 ac_cpp='$CXXCPP $CPPFLAGS'
46420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46424 cat >conftest.$ac_ext <<_ACEOF
46425 /* confdefs.h. */
46426 _ACEOF
46427 cat confdefs.h >>conftest.$ac_ext
46428 cat >>conftest.$ac_ext <<_ACEOF
46429 /* end confdefs.h. */
46430 #include <math.h>
46432 main ()
46434 _frexpl(0, 0);
46436 return 0;
46438 _ACEOF
46439 rm -f conftest.$ac_objext
46440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46441 (eval $ac_compile) 2>conftest.er1
46442 ac_status=$?
46443 grep -v '^ *+' conftest.er1 >conftest.err
46444 rm -f conftest.er1
46445 cat conftest.err >&5
46446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46447 (exit $ac_status); } &&
46448 { ac_try='test -z "$ac_cxx_werror_flag"
46449 || test ! -s conftest.err'
46450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46451 (eval $ac_try) 2>&5
46452 ac_status=$?
46453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46454 (exit $ac_status); }; } &&
46455 { ac_try='test -s conftest.$ac_objext'
46456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46457 (eval $ac_try) 2>&5
46458 ac_status=$?
46459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46460 (exit $ac_status); }; }; then
46461 glibcxx_cv_func__frexpl_use=yes
46462 else
46463 echo "$as_me: failed program was:" >&5
46464 sed 's/^/| /' conftest.$ac_ext >&5
46466 glibcxx_cv_func__frexpl_use=no
46468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46469 ac_ext=c
46470 ac_cpp='$CPP $CPPFLAGS'
46471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46479 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46480 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46482 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46484 for ac_func in _frexpl
46486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46487 echo "$as_me:$LINENO: checking for $ac_func" >&5
46488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46489 if eval "test \"\${$as_ac_var+set}\" = set"; then
46490 echo $ECHO_N "(cached) $ECHO_C" >&6
46491 else
46492 if test x$gcc_no_link = xyes; then
46493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46495 { (exit 1); exit 1; }; }
46497 cat >conftest.$ac_ext <<_ACEOF
46498 /* confdefs.h. */
46499 _ACEOF
46500 cat confdefs.h >>conftest.$ac_ext
46501 cat >>conftest.$ac_ext <<_ACEOF
46502 /* end confdefs.h. */
46503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46505 #define $ac_func innocuous_$ac_func
46507 /* System header to define __stub macros and hopefully few prototypes,
46508 which can conflict with char $ac_func (); below.
46509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46510 <limits.h> exists even on freestanding compilers. */
46512 #ifdef __STDC__
46513 # include <limits.h>
46514 #else
46515 # include <assert.h>
46516 #endif
46518 #undef $ac_func
46520 /* Override any gcc2 internal prototype to avoid an error. */
46521 #ifdef __cplusplus
46522 extern "C"
46524 #endif
46525 /* We use char because int might match the return type of a gcc2
46526 builtin and then its argument prototype would still apply. */
46527 char $ac_func ();
46528 /* The GNU C library defines this for functions which it implements
46529 to always fail with ENOSYS. Some functions are actually named
46530 something starting with __ and the normal name is an alias. */
46531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46532 choke me
46533 #else
46534 char (*f) () = $ac_func;
46535 #endif
46536 #ifdef __cplusplus
46538 #endif
46541 main ()
46543 return f != $ac_func;
46545 return 0;
46547 _ACEOF
46548 rm -f conftest.$ac_objext conftest$ac_exeext
46549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46550 (eval $ac_link) 2>conftest.er1
46551 ac_status=$?
46552 grep -v '^ *+' conftest.er1 >conftest.err
46553 rm -f conftest.er1
46554 cat conftest.err >&5
46555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46556 (exit $ac_status); } &&
46557 { ac_try='test -z "$ac_c_werror_flag"
46558 || test ! -s conftest.err'
46559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46560 (eval $ac_try) 2>&5
46561 ac_status=$?
46562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46563 (exit $ac_status); }; } &&
46564 { ac_try='test -s conftest$ac_exeext'
46565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46566 (eval $ac_try) 2>&5
46567 ac_status=$?
46568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46569 (exit $ac_status); }; }; then
46570 eval "$as_ac_var=yes"
46571 else
46572 echo "$as_me: failed program was:" >&5
46573 sed 's/^/| /' conftest.$ac_ext >&5
46575 eval "$as_ac_var=no"
46577 rm -f conftest.err conftest.$ac_objext \
46578 conftest$ac_exeext conftest.$ac_ext
46580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46582 if test `eval echo '${'$as_ac_var'}'` = yes; then
46583 cat >>confdefs.h <<_ACEOF
46584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46585 _ACEOF
46588 done
46598 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46599 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46600 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46601 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46602 echo $ECHO_N "(cached) $ECHO_C" >&6
46603 else
46607 ac_ext=cc
46608 ac_cpp='$CXXCPP $CPPFLAGS'
46609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46613 cat >conftest.$ac_ext <<_ACEOF
46614 /* confdefs.h. */
46615 _ACEOF
46616 cat confdefs.h >>conftest.$ac_ext
46617 cat >>conftest.$ac_ext <<_ACEOF
46618 /* end confdefs.h. */
46619 #include <math.h>
46621 main ()
46623 hypotl(0, 0);
46625 return 0;
46627 _ACEOF
46628 rm -f conftest.$ac_objext
46629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46630 (eval $ac_compile) 2>conftest.er1
46631 ac_status=$?
46632 grep -v '^ *+' conftest.er1 >conftest.err
46633 rm -f conftest.er1
46634 cat conftest.err >&5
46635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46636 (exit $ac_status); } &&
46637 { ac_try='test -z "$ac_cxx_werror_flag"
46638 || test ! -s conftest.err'
46639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46640 (eval $ac_try) 2>&5
46641 ac_status=$?
46642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46643 (exit $ac_status); }; } &&
46644 { ac_try='test -s conftest.$ac_objext'
46645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46646 (eval $ac_try) 2>&5
46647 ac_status=$?
46648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46649 (exit $ac_status); }; }; then
46650 glibcxx_cv_func_hypotl_use=yes
46651 else
46652 echo "$as_me: failed program was:" >&5
46653 sed 's/^/| /' conftest.$ac_ext >&5
46655 glibcxx_cv_func_hypotl_use=no
46657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46658 ac_ext=c
46659 ac_cpp='$CPP $CPPFLAGS'
46660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
46669 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
46671 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46673 for ac_func in hypotl
46675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46676 echo "$as_me:$LINENO: checking for $ac_func" >&5
46677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46678 if eval "test \"\${$as_ac_var+set}\" = set"; then
46679 echo $ECHO_N "(cached) $ECHO_C" >&6
46680 else
46681 if test x$gcc_no_link = xyes; then
46682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46684 { (exit 1); exit 1; }; }
46686 cat >conftest.$ac_ext <<_ACEOF
46687 /* confdefs.h. */
46688 _ACEOF
46689 cat confdefs.h >>conftest.$ac_ext
46690 cat >>conftest.$ac_ext <<_ACEOF
46691 /* end confdefs.h. */
46692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46694 #define $ac_func innocuous_$ac_func
46696 /* System header to define __stub macros and hopefully few prototypes,
46697 which can conflict with char $ac_func (); below.
46698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46699 <limits.h> exists even on freestanding compilers. */
46701 #ifdef __STDC__
46702 # include <limits.h>
46703 #else
46704 # include <assert.h>
46705 #endif
46707 #undef $ac_func
46709 /* Override any gcc2 internal prototype to avoid an error. */
46710 #ifdef __cplusplus
46711 extern "C"
46713 #endif
46714 /* We use char because int might match the return type of a gcc2
46715 builtin and then its argument prototype would still apply. */
46716 char $ac_func ();
46717 /* The GNU C library defines this for functions which it implements
46718 to always fail with ENOSYS. Some functions are actually named
46719 something starting with __ and the normal name is an alias. */
46720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46721 choke me
46722 #else
46723 char (*f) () = $ac_func;
46724 #endif
46725 #ifdef __cplusplus
46727 #endif
46730 main ()
46732 return f != $ac_func;
46734 return 0;
46736 _ACEOF
46737 rm -f conftest.$ac_objext conftest$ac_exeext
46738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46739 (eval $ac_link) 2>conftest.er1
46740 ac_status=$?
46741 grep -v '^ *+' conftest.er1 >conftest.err
46742 rm -f conftest.er1
46743 cat conftest.err >&5
46744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46745 (exit $ac_status); } &&
46746 { ac_try='test -z "$ac_c_werror_flag"
46747 || test ! -s conftest.err'
46748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46749 (eval $ac_try) 2>&5
46750 ac_status=$?
46751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46752 (exit $ac_status); }; } &&
46753 { ac_try='test -s conftest$ac_exeext'
46754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46755 (eval $ac_try) 2>&5
46756 ac_status=$?
46757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46758 (exit $ac_status); }; }; then
46759 eval "$as_ac_var=yes"
46760 else
46761 echo "$as_me: failed program was:" >&5
46762 sed 's/^/| /' conftest.$ac_ext >&5
46764 eval "$as_ac_var=no"
46766 rm -f conftest.err conftest.$ac_objext \
46767 conftest$ac_exeext conftest.$ac_ext
46769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46771 if test `eval echo '${'$as_ac_var'}'` = yes; then
46772 cat >>confdefs.h <<_ACEOF
46773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46774 _ACEOF
46777 done
46779 else
46781 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46782 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46783 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46784 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46785 echo $ECHO_N "(cached) $ECHO_C" >&6
46786 else
46790 ac_ext=cc
46791 ac_cpp='$CXXCPP $CPPFLAGS'
46792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46796 cat >conftest.$ac_ext <<_ACEOF
46797 /* confdefs.h. */
46798 _ACEOF
46799 cat confdefs.h >>conftest.$ac_ext
46800 cat >>conftest.$ac_ext <<_ACEOF
46801 /* end confdefs.h. */
46802 #include <math.h>
46804 main ()
46806 _hypotl(0, 0);
46808 return 0;
46810 _ACEOF
46811 rm -f conftest.$ac_objext
46812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46813 (eval $ac_compile) 2>conftest.er1
46814 ac_status=$?
46815 grep -v '^ *+' conftest.er1 >conftest.err
46816 rm -f conftest.er1
46817 cat conftest.err >&5
46818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46819 (exit $ac_status); } &&
46820 { ac_try='test -z "$ac_cxx_werror_flag"
46821 || test ! -s conftest.err'
46822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46823 (eval $ac_try) 2>&5
46824 ac_status=$?
46825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46826 (exit $ac_status); }; } &&
46827 { ac_try='test -s conftest.$ac_objext'
46828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46829 (eval $ac_try) 2>&5
46830 ac_status=$?
46831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46832 (exit $ac_status); }; }; then
46833 glibcxx_cv_func__hypotl_use=yes
46834 else
46835 echo "$as_me: failed program was:" >&5
46836 sed 's/^/| /' conftest.$ac_ext >&5
46838 glibcxx_cv_func__hypotl_use=no
46840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46841 ac_ext=c
46842 ac_cpp='$CPP $CPPFLAGS'
46843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46852 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46854 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46856 for ac_func in _hypotl
46858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46859 echo "$as_me:$LINENO: checking for $ac_func" >&5
46860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46861 if eval "test \"\${$as_ac_var+set}\" = set"; then
46862 echo $ECHO_N "(cached) $ECHO_C" >&6
46863 else
46864 if test x$gcc_no_link = xyes; then
46865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46867 { (exit 1); exit 1; }; }
46869 cat >conftest.$ac_ext <<_ACEOF
46870 /* confdefs.h. */
46871 _ACEOF
46872 cat confdefs.h >>conftest.$ac_ext
46873 cat >>conftest.$ac_ext <<_ACEOF
46874 /* end confdefs.h. */
46875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46877 #define $ac_func innocuous_$ac_func
46879 /* System header to define __stub macros and hopefully few prototypes,
46880 which can conflict with char $ac_func (); below.
46881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46882 <limits.h> exists even on freestanding compilers. */
46884 #ifdef __STDC__
46885 # include <limits.h>
46886 #else
46887 # include <assert.h>
46888 #endif
46890 #undef $ac_func
46892 /* Override any gcc2 internal prototype to avoid an error. */
46893 #ifdef __cplusplus
46894 extern "C"
46896 #endif
46897 /* We use char because int might match the return type of a gcc2
46898 builtin and then its argument prototype would still apply. */
46899 char $ac_func ();
46900 /* The GNU C library defines this for functions which it implements
46901 to always fail with ENOSYS. Some functions are actually named
46902 something starting with __ and the normal name is an alias. */
46903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46904 choke me
46905 #else
46906 char (*f) () = $ac_func;
46907 #endif
46908 #ifdef __cplusplus
46910 #endif
46913 main ()
46915 return f != $ac_func;
46917 return 0;
46919 _ACEOF
46920 rm -f conftest.$ac_objext conftest$ac_exeext
46921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46922 (eval $ac_link) 2>conftest.er1
46923 ac_status=$?
46924 grep -v '^ *+' conftest.er1 >conftest.err
46925 rm -f conftest.er1
46926 cat conftest.err >&5
46927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46928 (exit $ac_status); } &&
46929 { ac_try='test -z "$ac_c_werror_flag"
46930 || test ! -s conftest.err'
46931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46932 (eval $ac_try) 2>&5
46933 ac_status=$?
46934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46935 (exit $ac_status); }; } &&
46936 { ac_try='test -s conftest$ac_exeext'
46937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46938 (eval $ac_try) 2>&5
46939 ac_status=$?
46940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46941 (exit $ac_status); }; }; then
46942 eval "$as_ac_var=yes"
46943 else
46944 echo "$as_me: failed program was:" >&5
46945 sed 's/^/| /' conftest.$ac_ext >&5
46947 eval "$as_ac_var=no"
46949 rm -f conftest.err conftest.$ac_objext \
46950 conftest$ac_exeext conftest.$ac_ext
46952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46954 if test `eval echo '${'$as_ac_var'}'` = yes; then
46955 cat >>confdefs.h <<_ACEOF
46956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46957 _ACEOF
46960 done
46970 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
46971 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
46972 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46973 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
46974 echo $ECHO_N "(cached) $ECHO_C" >&6
46975 else
46979 ac_ext=cc
46980 ac_cpp='$CXXCPP $CPPFLAGS'
46981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46985 cat >conftest.$ac_ext <<_ACEOF
46986 /* confdefs.h. */
46987 _ACEOF
46988 cat confdefs.h >>conftest.$ac_ext
46989 cat >>conftest.$ac_ext <<_ACEOF
46990 /* end confdefs.h. */
46991 #include <math.h>
46993 main ()
46995 ldexpl(0, 0);
46997 return 0;
46999 _ACEOF
47000 rm -f conftest.$ac_objext
47001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47002 (eval $ac_compile) 2>conftest.er1
47003 ac_status=$?
47004 grep -v '^ *+' conftest.er1 >conftest.err
47005 rm -f conftest.er1
47006 cat conftest.err >&5
47007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47008 (exit $ac_status); } &&
47009 { ac_try='test -z "$ac_cxx_werror_flag"
47010 || test ! -s conftest.err'
47011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47012 (eval $ac_try) 2>&5
47013 ac_status=$?
47014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47015 (exit $ac_status); }; } &&
47016 { ac_try='test -s conftest.$ac_objext'
47017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47018 (eval $ac_try) 2>&5
47019 ac_status=$?
47020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47021 (exit $ac_status); }; }; then
47022 glibcxx_cv_func_ldexpl_use=yes
47023 else
47024 echo "$as_me: failed program was:" >&5
47025 sed 's/^/| /' conftest.$ac_ext >&5
47027 glibcxx_cv_func_ldexpl_use=no
47029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47030 ac_ext=c
47031 ac_cpp='$CPP $CPPFLAGS'
47032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47040 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
47041 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
47043 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
47045 for ac_func in ldexpl
47047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47048 echo "$as_me:$LINENO: checking for $ac_func" >&5
47049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47050 if eval "test \"\${$as_ac_var+set}\" = set"; then
47051 echo $ECHO_N "(cached) $ECHO_C" >&6
47052 else
47053 if test x$gcc_no_link = xyes; then
47054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47056 { (exit 1); exit 1; }; }
47058 cat >conftest.$ac_ext <<_ACEOF
47059 /* confdefs.h. */
47060 _ACEOF
47061 cat confdefs.h >>conftest.$ac_ext
47062 cat >>conftest.$ac_ext <<_ACEOF
47063 /* end confdefs.h. */
47064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47066 #define $ac_func innocuous_$ac_func
47068 /* System header to define __stub macros and hopefully few prototypes,
47069 which can conflict with char $ac_func (); below.
47070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47071 <limits.h> exists even on freestanding compilers. */
47073 #ifdef __STDC__
47074 # include <limits.h>
47075 #else
47076 # include <assert.h>
47077 #endif
47079 #undef $ac_func
47081 /* Override any gcc2 internal prototype to avoid an error. */
47082 #ifdef __cplusplus
47083 extern "C"
47085 #endif
47086 /* We use char because int might match the return type of a gcc2
47087 builtin and then its argument prototype would still apply. */
47088 char $ac_func ();
47089 /* The GNU C library defines this for functions which it implements
47090 to always fail with ENOSYS. Some functions are actually named
47091 something starting with __ and the normal name is an alias. */
47092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47093 choke me
47094 #else
47095 char (*f) () = $ac_func;
47096 #endif
47097 #ifdef __cplusplus
47099 #endif
47102 main ()
47104 return f != $ac_func;
47106 return 0;
47108 _ACEOF
47109 rm -f conftest.$ac_objext conftest$ac_exeext
47110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47111 (eval $ac_link) 2>conftest.er1
47112 ac_status=$?
47113 grep -v '^ *+' conftest.er1 >conftest.err
47114 rm -f conftest.er1
47115 cat conftest.err >&5
47116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47117 (exit $ac_status); } &&
47118 { ac_try='test -z "$ac_c_werror_flag"
47119 || test ! -s conftest.err'
47120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47121 (eval $ac_try) 2>&5
47122 ac_status=$?
47123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47124 (exit $ac_status); }; } &&
47125 { ac_try='test -s conftest$ac_exeext'
47126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47127 (eval $ac_try) 2>&5
47128 ac_status=$?
47129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47130 (exit $ac_status); }; }; then
47131 eval "$as_ac_var=yes"
47132 else
47133 echo "$as_me: failed program was:" >&5
47134 sed 's/^/| /' conftest.$ac_ext >&5
47136 eval "$as_ac_var=no"
47138 rm -f conftest.err conftest.$ac_objext \
47139 conftest$ac_exeext conftest.$ac_ext
47141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47143 if test `eval echo '${'$as_ac_var'}'` = yes; then
47144 cat >>confdefs.h <<_ACEOF
47145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47146 _ACEOF
47149 done
47151 else
47153 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
47154 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
47155 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47156 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
47157 echo $ECHO_N "(cached) $ECHO_C" >&6
47158 else
47162 ac_ext=cc
47163 ac_cpp='$CXXCPP $CPPFLAGS'
47164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47168 cat >conftest.$ac_ext <<_ACEOF
47169 /* confdefs.h. */
47170 _ACEOF
47171 cat confdefs.h >>conftest.$ac_ext
47172 cat >>conftest.$ac_ext <<_ACEOF
47173 /* end confdefs.h. */
47174 #include <math.h>
47176 main ()
47178 _ldexpl(0, 0);
47180 return 0;
47182 _ACEOF
47183 rm -f conftest.$ac_objext
47184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47185 (eval $ac_compile) 2>conftest.er1
47186 ac_status=$?
47187 grep -v '^ *+' conftest.er1 >conftest.err
47188 rm -f conftest.er1
47189 cat conftest.err >&5
47190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47191 (exit $ac_status); } &&
47192 { ac_try='test -z "$ac_cxx_werror_flag"
47193 || test ! -s conftest.err'
47194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47195 (eval $ac_try) 2>&5
47196 ac_status=$?
47197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47198 (exit $ac_status); }; } &&
47199 { ac_try='test -s conftest.$ac_objext'
47200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47201 (eval $ac_try) 2>&5
47202 ac_status=$?
47203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47204 (exit $ac_status); }; }; then
47205 glibcxx_cv_func__ldexpl_use=yes
47206 else
47207 echo "$as_me: failed program was:" >&5
47208 sed 's/^/| /' conftest.$ac_ext >&5
47210 glibcxx_cv_func__ldexpl_use=no
47212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47213 ac_ext=c
47214 ac_cpp='$CPP $CPPFLAGS'
47215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47223 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47224 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47226 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47228 for ac_func in _ldexpl
47230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47231 echo "$as_me:$LINENO: checking for $ac_func" >&5
47232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47233 if eval "test \"\${$as_ac_var+set}\" = set"; then
47234 echo $ECHO_N "(cached) $ECHO_C" >&6
47235 else
47236 if test x$gcc_no_link = xyes; then
47237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47239 { (exit 1); exit 1; }; }
47241 cat >conftest.$ac_ext <<_ACEOF
47242 /* confdefs.h. */
47243 _ACEOF
47244 cat confdefs.h >>conftest.$ac_ext
47245 cat >>conftest.$ac_ext <<_ACEOF
47246 /* end confdefs.h. */
47247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47249 #define $ac_func innocuous_$ac_func
47251 /* System header to define __stub macros and hopefully few prototypes,
47252 which can conflict with char $ac_func (); below.
47253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47254 <limits.h> exists even on freestanding compilers. */
47256 #ifdef __STDC__
47257 # include <limits.h>
47258 #else
47259 # include <assert.h>
47260 #endif
47262 #undef $ac_func
47264 /* Override any gcc2 internal prototype to avoid an error. */
47265 #ifdef __cplusplus
47266 extern "C"
47268 #endif
47269 /* We use char because int might match the return type of a gcc2
47270 builtin and then its argument prototype would still apply. */
47271 char $ac_func ();
47272 /* The GNU C library defines this for functions which it implements
47273 to always fail with ENOSYS. Some functions are actually named
47274 something starting with __ and the normal name is an alias. */
47275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47276 choke me
47277 #else
47278 char (*f) () = $ac_func;
47279 #endif
47280 #ifdef __cplusplus
47282 #endif
47285 main ()
47287 return f != $ac_func;
47289 return 0;
47291 _ACEOF
47292 rm -f conftest.$ac_objext conftest$ac_exeext
47293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47294 (eval $ac_link) 2>conftest.er1
47295 ac_status=$?
47296 grep -v '^ *+' conftest.er1 >conftest.err
47297 rm -f conftest.er1
47298 cat conftest.err >&5
47299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47300 (exit $ac_status); } &&
47301 { ac_try='test -z "$ac_c_werror_flag"
47302 || test ! -s conftest.err'
47303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47304 (eval $ac_try) 2>&5
47305 ac_status=$?
47306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47307 (exit $ac_status); }; } &&
47308 { ac_try='test -s conftest$ac_exeext'
47309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47310 (eval $ac_try) 2>&5
47311 ac_status=$?
47312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47313 (exit $ac_status); }; }; then
47314 eval "$as_ac_var=yes"
47315 else
47316 echo "$as_me: failed program was:" >&5
47317 sed 's/^/| /' conftest.$ac_ext >&5
47319 eval "$as_ac_var=no"
47321 rm -f conftest.err conftest.$ac_objext \
47322 conftest$ac_exeext conftest.$ac_ext
47324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47326 if test `eval echo '${'$as_ac_var'}'` = yes; then
47327 cat >>confdefs.h <<_ACEOF
47328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47329 _ACEOF
47332 done
47342 echo "$as_me:$LINENO: checking for logl declaration" >&5
47343 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47344 if test x${glibcxx_cv_func_logl_use+set} != xset; then
47345 if test "${glibcxx_cv_func_logl_use+set}" = set; then
47346 echo $ECHO_N "(cached) $ECHO_C" >&6
47347 else
47351 ac_ext=cc
47352 ac_cpp='$CXXCPP $CPPFLAGS'
47353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47357 cat >conftest.$ac_ext <<_ACEOF
47358 /* confdefs.h. */
47359 _ACEOF
47360 cat confdefs.h >>conftest.$ac_ext
47361 cat >>conftest.$ac_ext <<_ACEOF
47362 /* end confdefs.h. */
47363 #include <math.h>
47364 #ifdef HAVE_IEEEFP_H
47365 #include <ieeefp.h>
47366 #endif
47369 main ()
47371 logl(0);
47373 return 0;
47375 _ACEOF
47376 rm -f conftest.$ac_objext
47377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47378 (eval $ac_compile) 2>conftest.er1
47379 ac_status=$?
47380 grep -v '^ *+' conftest.er1 >conftest.err
47381 rm -f conftest.er1
47382 cat conftest.err >&5
47383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47384 (exit $ac_status); } &&
47385 { ac_try='test -z "$ac_cxx_werror_flag"
47386 || test ! -s conftest.err'
47387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47388 (eval $ac_try) 2>&5
47389 ac_status=$?
47390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47391 (exit $ac_status); }; } &&
47392 { ac_try='test -s conftest.$ac_objext'
47393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47394 (eval $ac_try) 2>&5
47395 ac_status=$?
47396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47397 (exit $ac_status); }; }; then
47398 glibcxx_cv_func_logl_use=yes
47399 else
47400 echo "$as_me: failed program was:" >&5
47401 sed 's/^/| /' conftest.$ac_ext >&5
47403 glibcxx_cv_func_logl_use=no
47405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47406 ac_ext=c
47407 ac_cpp='$CPP $CPPFLAGS'
47408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47417 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47419 if test x$glibcxx_cv_func_logl_use = x"yes"; then
47421 for ac_func in logl
47423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47424 echo "$as_me:$LINENO: checking for $ac_func" >&5
47425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47426 if eval "test \"\${$as_ac_var+set}\" = set"; then
47427 echo $ECHO_N "(cached) $ECHO_C" >&6
47428 else
47429 if test x$gcc_no_link = xyes; then
47430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47432 { (exit 1); exit 1; }; }
47434 cat >conftest.$ac_ext <<_ACEOF
47435 /* confdefs.h. */
47436 _ACEOF
47437 cat confdefs.h >>conftest.$ac_ext
47438 cat >>conftest.$ac_ext <<_ACEOF
47439 /* end confdefs.h. */
47440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47442 #define $ac_func innocuous_$ac_func
47444 /* System header to define __stub macros and hopefully few prototypes,
47445 which can conflict with char $ac_func (); below.
47446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47447 <limits.h> exists even on freestanding compilers. */
47449 #ifdef __STDC__
47450 # include <limits.h>
47451 #else
47452 # include <assert.h>
47453 #endif
47455 #undef $ac_func
47457 /* Override any gcc2 internal prototype to avoid an error. */
47458 #ifdef __cplusplus
47459 extern "C"
47461 #endif
47462 /* We use char because int might match the return type of a gcc2
47463 builtin and then its argument prototype would still apply. */
47464 char $ac_func ();
47465 /* The GNU C library defines this for functions which it implements
47466 to always fail with ENOSYS. Some functions are actually named
47467 something starting with __ and the normal name is an alias. */
47468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47469 choke me
47470 #else
47471 char (*f) () = $ac_func;
47472 #endif
47473 #ifdef __cplusplus
47475 #endif
47478 main ()
47480 return f != $ac_func;
47482 return 0;
47484 _ACEOF
47485 rm -f conftest.$ac_objext conftest$ac_exeext
47486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47487 (eval $ac_link) 2>conftest.er1
47488 ac_status=$?
47489 grep -v '^ *+' conftest.er1 >conftest.err
47490 rm -f conftest.er1
47491 cat conftest.err >&5
47492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47493 (exit $ac_status); } &&
47494 { ac_try='test -z "$ac_c_werror_flag"
47495 || test ! -s conftest.err'
47496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47497 (eval $ac_try) 2>&5
47498 ac_status=$?
47499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47500 (exit $ac_status); }; } &&
47501 { ac_try='test -s conftest$ac_exeext'
47502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47503 (eval $ac_try) 2>&5
47504 ac_status=$?
47505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47506 (exit $ac_status); }; }; then
47507 eval "$as_ac_var=yes"
47508 else
47509 echo "$as_me: failed program was:" >&5
47510 sed 's/^/| /' conftest.$ac_ext >&5
47512 eval "$as_ac_var=no"
47514 rm -f conftest.err conftest.$ac_objext \
47515 conftest$ac_exeext conftest.$ac_ext
47517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47519 if test `eval echo '${'$as_ac_var'}'` = yes; then
47520 cat >>confdefs.h <<_ACEOF
47521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47522 _ACEOF
47525 done
47527 else
47529 echo "$as_me:$LINENO: checking for _logl declaration" >&5
47530 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47531 if test x${glibcxx_cv_func__logl_use+set} != xset; then
47532 if test "${glibcxx_cv_func__logl_use+set}" = set; then
47533 echo $ECHO_N "(cached) $ECHO_C" >&6
47534 else
47538 ac_ext=cc
47539 ac_cpp='$CXXCPP $CPPFLAGS'
47540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47544 cat >conftest.$ac_ext <<_ACEOF
47545 /* confdefs.h. */
47546 _ACEOF
47547 cat confdefs.h >>conftest.$ac_ext
47548 cat >>conftest.$ac_ext <<_ACEOF
47549 /* end confdefs.h. */
47550 #include <math.h>
47551 #ifdef HAVE_IEEEFP_H
47552 #include <ieeefp.h>
47553 #endif
47556 main ()
47558 _logl(0);
47560 return 0;
47562 _ACEOF
47563 rm -f conftest.$ac_objext
47564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47565 (eval $ac_compile) 2>conftest.er1
47566 ac_status=$?
47567 grep -v '^ *+' conftest.er1 >conftest.err
47568 rm -f conftest.er1
47569 cat conftest.err >&5
47570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47571 (exit $ac_status); } &&
47572 { ac_try='test -z "$ac_cxx_werror_flag"
47573 || test ! -s conftest.err'
47574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47575 (eval $ac_try) 2>&5
47576 ac_status=$?
47577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47578 (exit $ac_status); }; } &&
47579 { ac_try='test -s conftest.$ac_objext'
47580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47581 (eval $ac_try) 2>&5
47582 ac_status=$?
47583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47584 (exit $ac_status); }; }; then
47585 glibcxx_cv_func__logl_use=yes
47586 else
47587 echo "$as_me: failed program was:" >&5
47588 sed 's/^/| /' conftest.$ac_ext >&5
47590 glibcxx_cv_func__logl_use=no
47592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47593 ac_ext=c
47594 ac_cpp='$CPP $CPPFLAGS'
47595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47603 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47604 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47606 if test x$glibcxx_cv_func__logl_use = x"yes"; then
47608 for ac_func in _logl
47610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47611 echo "$as_me:$LINENO: checking for $ac_func" >&5
47612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47613 if eval "test \"\${$as_ac_var+set}\" = set"; then
47614 echo $ECHO_N "(cached) $ECHO_C" >&6
47615 else
47616 if test x$gcc_no_link = xyes; then
47617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47619 { (exit 1); exit 1; }; }
47621 cat >conftest.$ac_ext <<_ACEOF
47622 /* confdefs.h. */
47623 _ACEOF
47624 cat confdefs.h >>conftest.$ac_ext
47625 cat >>conftest.$ac_ext <<_ACEOF
47626 /* end confdefs.h. */
47627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47629 #define $ac_func innocuous_$ac_func
47631 /* System header to define __stub macros and hopefully few prototypes,
47632 which can conflict with char $ac_func (); below.
47633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47634 <limits.h> exists even on freestanding compilers. */
47636 #ifdef __STDC__
47637 # include <limits.h>
47638 #else
47639 # include <assert.h>
47640 #endif
47642 #undef $ac_func
47644 /* Override any gcc2 internal prototype to avoid an error. */
47645 #ifdef __cplusplus
47646 extern "C"
47648 #endif
47649 /* We use char because int might match the return type of a gcc2
47650 builtin and then its argument prototype would still apply. */
47651 char $ac_func ();
47652 /* The GNU C library defines this for functions which it implements
47653 to always fail with ENOSYS. Some functions are actually named
47654 something starting with __ and the normal name is an alias. */
47655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47656 choke me
47657 #else
47658 char (*f) () = $ac_func;
47659 #endif
47660 #ifdef __cplusplus
47662 #endif
47665 main ()
47667 return f != $ac_func;
47669 return 0;
47671 _ACEOF
47672 rm -f conftest.$ac_objext conftest$ac_exeext
47673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47674 (eval $ac_link) 2>conftest.er1
47675 ac_status=$?
47676 grep -v '^ *+' conftest.er1 >conftest.err
47677 rm -f conftest.er1
47678 cat conftest.err >&5
47679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47680 (exit $ac_status); } &&
47681 { ac_try='test -z "$ac_c_werror_flag"
47682 || test ! -s conftest.err'
47683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47684 (eval $ac_try) 2>&5
47685 ac_status=$?
47686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47687 (exit $ac_status); }; } &&
47688 { ac_try='test -s conftest$ac_exeext'
47689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47690 (eval $ac_try) 2>&5
47691 ac_status=$?
47692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47693 (exit $ac_status); }; }; then
47694 eval "$as_ac_var=yes"
47695 else
47696 echo "$as_me: failed program was:" >&5
47697 sed 's/^/| /' conftest.$ac_ext >&5
47699 eval "$as_ac_var=no"
47701 rm -f conftest.err conftest.$ac_objext \
47702 conftest$ac_exeext conftest.$ac_ext
47704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47706 if test `eval echo '${'$as_ac_var'}'` = yes; then
47707 cat >>confdefs.h <<_ACEOF
47708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47709 _ACEOF
47712 done
47722 echo "$as_me:$LINENO: checking for log10l declaration" >&5
47723 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
47724 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47725 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
47726 echo $ECHO_N "(cached) $ECHO_C" >&6
47727 else
47731 ac_ext=cc
47732 ac_cpp='$CXXCPP $CPPFLAGS'
47733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47737 cat >conftest.$ac_ext <<_ACEOF
47738 /* confdefs.h. */
47739 _ACEOF
47740 cat confdefs.h >>conftest.$ac_ext
47741 cat >>conftest.$ac_ext <<_ACEOF
47742 /* end confdefs.h. */
47743 #include <math.h>
47744 #ifdef HAVE_IEEEFP_H
47745 #include <ieeefp.h>
47746 #endif
47749 main ()
47751 log10l(0);
47753 return 0;
47755 _ACEOF
47756 rm -f conftest.$ac_objext
47757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47758 (eval $ac_compile) 2>conftest.er1
47759 ac_status=$?
47760 grep -v '^ *+' conftest.er1 >conftest.err
47761 rm -f conftest.er1
47762 cat conftest.err >&5
47763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47764 (exit $ac_status); } &&
47765 { ac_try='test -z "$ac_cxx_werror_flag"
47766 || test ! -s conftest.err'
47767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47768 (eval $ac_try) 2>&5
47769 ac_status=$?
47770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47771 (exit $ac_status); }; } &&
47772 { ac_try='test -s conftest.$ac_objext'
47773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47774 (eval $ac_try) 2>&5
47775 ac_status=$?
47776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47777 (exit $ac_status); }; }; then
47778 glibcxx_cv_func_log10l_use=yes
47779 else
47780 echo "$as_me: failed program was:" >&5
47781 sed 's/^/| /' conftest.$ac_ext >&5
47783 glibcxx_cv_func_log10l_use=no
47785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47786 ac_ext=c
47787 ac_cpp='$CPP $CPPFLAGS'
47788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47796 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47797 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47799 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47801 for ac_func in log10l
47803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47804 echo "$as_me:$LINENO: checking for $ac_func" >&5
47805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47806 if eval "test \"\${$as_ac_var+set}\" = set"; then
47807 echo $ECHO_N "(cached) $ECHO_C" >&6
47808 else
47809 if test x$gcc_no_link = xyes; then
47810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47812 { (exit 1); exit 1; }; }
47814 cat >conftest.$ac_ext <<_ACEOF
47815 /* confdefs.h. */
47816 _ACEOF
47817 cat confdefs.h >>conftest.$ac_ext
47818 cat >>conftest.$ac_ext <<_ACEOF
47819 /* end confdefs.h. */
47820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47822 #define $ac_func innocuous_$ac_func
47824 /* System header to define __stub macros and hopefully few prototypes,
47825 which can conflict with char $ac_func (); below.
47826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47827 <limits.h> exists even on freestanding compilers. */
47829 #ifdef __STDC__
47830 # include <limits.h>
47831 #else
47832 # include <assert.h>
47833 #endif
47835 #undef $ac_func
47837 /* Override any gcc2 internal prototype to avoid an error. */
47838 #ifdef __cplusplus
47839 extern "C"
47841 #endif
47842 /* We use char because int might match the return type of a gcc2
47843 builtin and then its argument prototype would still apply. */
47844 char $ac_func ();
47845 /* The GNU C library defines this for functions which it implements
47846 to always fail with ENOSYS. Some functions are actually named
47847 something starting with __ and the normal name is an alias. */
47848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47849 choke me
47850 #else
47851 char (*f) () = $ac_func;
47852 #endif
47853 #ifdef __cplusplus
47855 #endif
47858 main ()
47860 return f != $ac_func;
47862 return 0;
47864 _ACEOF
47865 rm -f conftest.$ac_objext conftest$ac_exeext
47866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47867 (eval $ac_link) 2>conftest.er1
47868 ac_status=$?
47869 grep -v '^ *+' conftest.er1 >conftest.err
47870 rm -f conftest.er1
47871 cat conftest.err >&5
47872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47873 (exit $ac_status); } &&
47874 { ac_try='test -z "$ac_c_werror_flag"
47875 || test ! -s conftest.err'
47876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47877 (eval $ac_try) 2>&5
47878 ac_status=$?
47879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47880 (exit $ac_status); }; } &&
47881 { ac_try='test -s conftest$ac_exeext'
47882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47883 (eval $ac_try) 2>&5
47884 ac_status=$?
47885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47886 (exit $ac_status); }; }; then
47887 eval "$as_ac_var=yes"
47888 else
47889 echo "$as_me: failed program was:" >&5
47890 sed 's/^/| /' conftest.$ac_ext >&5
47892 eval "$as_ac_var=no"
47894 rm -f conftest.err conftest.$ac_objext \
47895 conftest$ac_exeext conftest.$ac_ext
47897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47899 if test `eval echo '${'$as_ac_var'}'` = yes; then
47900 cat >>confdefs.h <<_ACEOF
47901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47902 _ACEOF
47905 done
47907 else
47909 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
47910 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
47911 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
47912 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
47913 echo $ECHO_N "(cached) $ECHO_C" >&6
47914 else
47918 ac_ext=cc
47919 ac_cpp='$CXXCPP $CPPFLAGS'
47920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47924 cat >conftest.$ac_ext <<_ACEOF
47925 /* confdefs.h. */
47926 _ACEOF
47927 cat confdefs.h >>conftest.$ac_ext
47928 cat >>conftest.$ac_ext <<_ACEOF
47929 /* end confdefs.h. */
47930 #include <math.h>
47931 #ifdef HAVE_IEEEFP_H
47932 #include <ieeefp.h>
47933 #endif
47936 main ()
47938 _log10l(0);
47940 return 0;
47942 _ACEOF
47943 rm -f conftest.$ac_objext
47944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47945 (eval $ac_compile) 2>conftest.er1
47946 ac_status=$?
47947 grep -v '^ *+' conftest.er1 >conftest.err
47948 rm -f conftest.er1
47949 cat conftest.err >&5
47950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47951 (exit $ac_status); } &&
47952 { ac_try='test -z "$ac_cxx_werror_flag"
47953 || test ! -s conftest.err'
47954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47955 (eval $ac_try) 2>&5
47956 ac_status=$?
47957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47958 (exit $ac_status); }; } &&
47959 { ac_try='test -s conftest.$ac_objext'
47960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47961 (eval $ac_try) 2>&5
47962 ac_status=$?
47963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47964 (exit $ac_status); }; }; then
47965 glibcxx_cv_func__log10l_use=yes
47966 else
47967 echo "$as_me: failed program was:" >&5
47968 sed 's/^/| /' conftest.$ac_ext >&5
47970 glibcxx_cv_func__log10l_use=no
47972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47973 ac_ext=c
47974 ac_cpp='$CPP $CPPFLAGS'
47975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47983 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
47984 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
47986 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
47988 for ac_func in _log10l
47990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47991 echo "$as_me:$LINENO: checking for $ac_func" >&5
47992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47993 if eval "test \"\${$as_ac_var+set}\" = set"; then
47994 echo $ECHO_N "(cached) $ECHO_C" >&6
47995 else
47996 if test x$gcc_no_link = xyes; then
47997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47999 { (exit 1); exit 1; }; }
48001 cat >conftest.$ac_ext <<_ACEOF
48002 /* confdefs.h. */
48003 _ACEOF
48004 cat confdefs.h >>conftest.$ac_ext
48005 cat >>conftest.$ac_ext <<_ACEOF
48006 /* end confdefs.h. */
48007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48009 #define $ac_func innocuous_$ac_func
48011 /* System header to define __stub macros and hopefully few prototypes,
48012 which can conflict with char $ac_func (); below.
48013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48014 <limits.h> exists even on freestanding compilers. */
48016 #ifdef __STDC__
48017 # include <limits.h>
48018 #else
48019 # include <assert.h>
48020 #endif
48022 #undef $ac_func
48024 /* Override any gcc2 internal prototype to avoid an error. */
48025 #ifdef __cplusplus
48026 extern "C"
48028 #endif
48029 /* We use char because int might match the return type of a gcc2
48030 builtin and then its argument prototype would still apply. */
48031 char $ac_func ();
48032 /* The GNU C library defines this for functions which it implements
48033 to always fail with ENOSYS. Some functions are actually named
48034 something starting with __ and the normal name is an alias. */
48035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48036 choke me
48037 #else
48038 char (*f) () = $ac_func;
48039 #endif
48040 #ifdef __cplusplus
48042 #endif
48045 main ()
48047 return f != $ac_func;
48049 return 0;
48051 _ACEOF
48052 rm -f conftest.$ac_objext conftest$ac_exeext
48053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48054 (eval $ac_link) 2>conftest.er1
48055 ac_status=$?
48056 grep -v '^ *+' conftest.er1 >conftest.err
48057 rm -f conftest.er1
48058 cat conftest.err >&5
48059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48060 (exit $ac_status); } &&
48061 { ac_try='test -z "$ac_c_werror_flag"
48062 || test ! -s conftest.err'
48063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48064 (eval $ac_try) 2>&5
48065 ac_status=$?
48066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48067 (exit $ac_status); }; } &&
48068 { ac_try='test -s conftest$ac_exeext'
48069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48070 (eval $ac_try) 2>&5
48071 ac_status=$?
48072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48073 (exit $ac_status); }; }; then
48074 eval "$as_ac_var=yes"
48075 else
48076 echo "$as_me: failed program was:" >&5
48077 sed 's/^/| /' conftest.$ac_ext >&5
48079 eval "$as_ac_var=no"
48081 rm -f conftest.err conftest.$ac_objext \
48082 conftest$ac_exeext conftest.$ac_ext
48084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48086 if test `eval echo '${'$as_ac_var'}'` = yes; then
48087 cat >>confdefs.h <<_ACEOF
48088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48089 _ACEOF
48092 done
48102 echo "$as_me:$LINENO: checking for modfl declaration" >&5
48103 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
48104 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48105 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
48106 echo $ECHO_N "(cached) $ECHO_C" >&6
48107 else
48111 ac_ext=cc
48112 ac_cpp='$CXXCPP $CPPFLAGS'
48113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48117 cat >conftest.$ac_ext <<_ACEOF
48118 /* confdefs.h. */
48119 _ACEOF
48120 cat confdefs.h >>conftest.$ac_ext
48121 cat >>conftest.$ac_ext <<_ACEOF
48122 /* end confdefs.h. */
48123 #include <math.h>
48125 main ()
48127 modfl(0, 0);
48129 return 0;
48131 _ACEOF
48132 rm -f conftest.$ac_objext
48133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48134 (eval $ac_compile) 2>conftest.er1
48135 ac_status=$?
48136 grep -v '^ *+' conftest.er1 >conftest.err
48137 rm -f conftest.er1
48138 cat conftest.err >&5
48139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48140 (exit $ac_status); } &&
48141 { ac_try='test -z "$ac_cxx_werror_flag"
48142 || test ! -s conftest.err'
48143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48144 (eval $ac_try) 2>&5
48145 ac_status=$?
48146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48147 (exit $ac_status); }; } &&
48148 { ac_try='test -s conftest.$ac_objext'
48149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48150 (eval $ac_try) 2>&5
48151 ac_status=$?
48152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48153 (exit $ac_status); }; }; then
48154 glibcxx_cv_func_modfl_use=yes
48155 else
48156 echo "$as_me: failed program was:" >&5
48157 sed 's/^/| /' conftest.$ac_ext >&5
48159 glibcxx_cv_func_modfl_use=no
48161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48162 ac_ext=c
48163 ac_cpp='$CPP $CPPFLAGS'
48164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48172 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
48173 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
48175 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48177 for ac_func in modfl
48179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48180 echo "$as_me:$LINENO: checking for $ac_func" >&5
48181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48182 if eval "test \"\${$as_ac_var+set}\" = set"; then
48183 echo $ECHO_N "(cached) $ECHO_C" >&6
48184 else
48185 if test x$gcc_no_link = xyes; then
48186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48188 { (exit 1); exit 1; }; }
48190 cat >conftest.$ac_ext <<_ACEOF
48191 /* confdefs.h. */
48192 _ACEOF
48193 cat confdefs.h >>conftest.$ac_ext
48194 cat >>conftest.$ac_ext <<_ACEOF
48195 /* end confdefs.h. */
48196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48198 #define $ac_func innocuous_$ac_func
48200 /* System header to define __stub macros and hopefully few prototypes,
48201 which can conflict with char $ac_func (); below.
48202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48203 <limits.h> exists even on freestanding compilers. */
48205 #ifdef __STDC__
48206 # include <limits.h>
48207 #else
48208 # include <assert.h>
48209 #endif
48211 #undef $ac_func
48213 /* Override any gcc2 internal prototype to avoid an error. */
48214 #ifdef __cplusplus
48215 extern "C"
48217 #endif
48218 /* We use char because int might match the return type of a gcc2
48219 builtin and then its argument prototype would still apply. */
48220 char $ac_func ();
48221 /* The GNU C library defines this for functions which it implements
48222 to always fail with ENOSYS. Some functions are actually named
48223 something starting with __ and the normal name is an alias. */
48224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48225 choke me
48226 #else
48227 char (*f) () = $ac_func;
48228 #endif
48229 #ifdef __cplusplus
48231 #endif
48234 main ()
48236 return f != $ac_func;
48238 return 0;
48240 _ACEOF
48241 rm -f conftest.$ac_objext conftest$ac_exeext
48242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48243 (eval $ac_link) 2>conftest.er1
48244 ac_status=$?
48245 grep -v '^ *+' conftest.er1 >conftest.err
48246 rm -f conftest.er1
48247 cat conftest.err >&5
48248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48249 (exit $ac_status); } &&
48250 { ac_try='test -z "$ac_c_werror_flag"
48251 || test ! -s conftest.err'
48252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48253 (eval $ac_try) 2>&5
48254 ac_status=$?
48255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48256 (exit $ac_status); }; } &&
48257 { ac_try='test -s conftest$ac_exeext'
48258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48259 (eval $ac_try) 2>&5
48260 ac_status=$?
48261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48262 (exit $ac_status); }; }; then
48263 eval "$as_ac_var=yes"
48264 else
48265 echo "$as_me: failed program was:" >&5
48266 sed 's/^/| /' conftest.$ac_ext >&5
48268 eval "$as_ac_var=no"
48270 rm -f conftest.err conftest.$ac_objext \
48271 conftest$ac_exeext conftest.$ac_ext
48273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48275 if test `eval echo '${'$as_ac_var'}'` = yes; then
48276 cat >>confdefs.h <<_ACEOF
48277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48278 _ACEOF
48281 done
48283 else
48285 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48286 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48287 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48288 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48289 echo $ECHO_N "(cached) $ECHO_C" >&6
48290 else
48294 ac_ext=cc
48295 ac_cpp='$CXXCPP $CPPFLAGS'
48296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48300 cat >conftest.$ac_ext <<_ACEOF
48301 /* confdefs.h. */
48302 _ACEOF
48303 cat confdefs.h >>conftest.$ac_ext
48304 cat >>conftest.$ac_ext <<_ACEOF
48305 /* end confdefs.h. */
48306 #include <math.h>
48308 main ()
48310 _modfl(0, 0);
48312 return 0;
48314 _ACEOF
48315 rm -f conftest.$ac_objext
48316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48317 (eval $ac_compile) 2>conftest.er1
48318 ac_status=$?
48319 grep -v '^ *+' conftest.er1 >conftest.err
48320 rm -f conftest.er1
48321 cat conftest.err >&5
48322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48323 (exit $ac_status); } &&
48324 { ac_try='test -z "$ac_cxx_werror_flag"
48325 || test ! -s conftest.err'
48326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48327 (eval $ac_try) 2>&5
48328 ac_status=$?
48329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48330 (exit $ac_status); }; } &&
48331 { ac_try='test -s conftest.$ac_objext'
48332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48333 (eval $ac_try) 2>&5
48334 ac_status=$?
48335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48336 (exit $ac_status); }; }; then
48337 glibcxx_cv_func__modfl_use=yes
48338 else
48339 echo "$as_me: failed program was:" >&5
48340 sed 's/^/| /' conftest.$ac_ext >&5
48342 glibcxx_cv_func__modfl_use=no
48344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48345 ac_ext=c
48346 ac_cpp='$CPP $CPPFLAGS'
48347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48355 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48356 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48358 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48360 for ac_func in _modfl
48362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48363 echo "$as_me:$LINENO: checking for $ac_func" >&5
48364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48365 if eval "test \"\${$as_ac_var+set}\" = set"; then
48366 echo $ECHO_N "(cached) $ECHO_C" >&6
48367 else
48368 if test x$gcc_no_link = xyes; then
48369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48371 { (exit 1); exit 1; }; }
48373 cat >conftest.$ac_ext <<_ACEOF
48374 /* confdefs.h. */
48375 _ACEOF
48376 cat confdefs.h >>conftest.$ac_ext
48377 cat >>conftest.$ac_ext <<_ACEOF
48378 /* end confdefs.h. */
48379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48381 #define $ac_func innocuous_$ac_func
48383 /* System header to define __stub macros and hopefully few prototypes,
48384 which can conflict with char $ac_func (); below.
48385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48386 <limits.h> exists even on freestanding compilers. */
48388 #ifdef __STDC__
48389 # include <limits.h>
48390 #else
48391 # include <assert.h>
48392 #endif
48394 #undef $ac_func
48396 /* Override any gcc2 internal prototype to avoid an error. */
48397 #ifdef __cplusplus
48398 extern "C"
48400 #endif
48401 /* We use char because int might match the return type of a gcc2
48402 builtin and then its argument prototype would still apply. */
48403 char $ac_func ();
48404 /* The GNU C library defines this for functions which it implements
48405 to always fail with ENOSYS. Some functions are actually named
48406 something starting with __ and the normal name is an alias. */
48407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48408 choke me
48409 #else
48410 char (*f) () = $ac_func;
48411 #endif
48412 #ifdef __cplusplus
48414 #endif
48417 main ()
48419 return f != $ac_func;
48421 return 0;
48423 _ACEOF
48424 rm -f conftest.$ac_objext conftest$ac_exeext
48425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48426 (eval $ac_link) 2>conftest.er1
48427 ac_status=$?
48428 grep -v '^ *+' conftest.er1 >conftest.err
48429 rm -f conftest.er1
48430 cat conftest.err >&5
48431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48432 (exit $ac_status); } &&
48433 { ac_try='test -z "$ac_c_werror_flag"
48434 || test ! -s conftest.err'
48435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48436 (eval $ac_try) 2>&5
48437 ac_status=$?
48438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48439 (exit $ac_status); }; } &&
48440 { ac_try='test -s conftest$ac_exeext'
48441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48442 (eval $ac_try) 2>&5
48443 ac_status=$?
48444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48445 (exit $ac_status); }; }; then
48446 eval "$as_ac_var=yes"
48447 else
48448 echo "$as_me: failed program was:" >&5
48449 sed 's/^/| /' conftest.$ac_ext >&5
48451 eval "$as_ac_var=no"
48453 rm -f conftest.err conftest.$ac_objext \
48454 conftest$ac_exeext conftest.$ac_ext
48456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48458 if test `eval echo '${'$as_ac_var'}'` = yes; then
48459 cat >>confdefs.h <<_ACEOF
48460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48461 _ACEOF
48464 done
48474 echo "$as_me:$LINENO: checking for powl declaration" >&5
48475 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48476 if test x${glibcxx_cv_func_powl_use+set} != xset; then
48477 if test "${glibcxx_cv_func_powl_use+set}" = set; then
48478 echo $ECHO_N "(cached) $ECHO_C" >&6
48479 else
48483 ac_ext=cc
48484 ac_cpp='$CXXCPP $CPPFLAGS'
48485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48489 cat >conftest.$ac_ext <<_ACEOF
48490 /* confdefs.h. */
48491 _ACEOF
48492 cat confdefs.h >>conftest.$ac_ext
48493 cat >>conftest.$ac_ext <<_ACEOF
48494 /* end confdefs.h. */
48495 #include <math.h>
48497 main ()
48499 powl(0, 0);
48501 return 0;
48503 _ACEOF
48504 rm -f conftest.$ac_objext
48505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48506 (eval $ac_compile) 2>conftest.er1
48507 ac_status=$?
48508 grep -v '^ *+' conftest.er1 >conftest.err
48509 rm -f conftest.er1
48510 cat conftest.err >&5
48511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48512 (exit $ac_status); } &&
48513 { ac_try='test -z "$ac_cxx_werror_flag"
48514 || test ! -s conftest.err'
48515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48516 (eval $ac_try) 2>&5
48517 ac_status=$?
48518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48519 (exit $ac_status); }; } &&
48520 { ac_try='test -s conftest.$ac_objext'
48521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48522 (eval $ac_try) 2>&5
48523 ac_status=$?
48524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48525 (exit $ac_status); }; }; then
48526 glibcxx_cv_func_powl_use=yes
48527 else
48528 echo "$as_me: failed program was:" >&5
48529 sed 's/^/| /' conftest.$ac_ext >&5
48531 glibcxx_cv_func_powl_use=no
48533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48534 ac_ext=c
48535 ac_cpp='$CPP $CPPFLAGS'
48536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48544 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48545 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48547 if test x$glibcxx_cv_func_powl_use = x"yes"; then
48549 for ac_func in powl
48551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48552 echo "$as_me:$LINENO: checking for $ac_func" >&5
48553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48554 if eval "test \"\${$as_ac_var+set}\" = set"; then
48555 echo $ECHO_N "(cached) $ECHO_C" >&6
48556 else
48557 if test x$gcc_no_link = xyes; then
48558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48560 { (exit 1); exit 1; }; }
48562 cat >conftest.$ac_ext <<_ACEOF
48563 /* confdefs.h. */
48564 _ACEOF
48565 cat confdefs.h >>conftest.$ac_ext
48566 cat >>conftest.$ac_ext <<_ACEOF
48567 /* end confdefs.h. */
48568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48570 #define $ac_func innocuous_$ac_func
48572 /* System header to define __stub macros and hopefully few prototypes,
48573 which can conflict with char $ac_func (); below.
48574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48575 <limits.h> exists even on freestanding compilers. */
48577 #ifdef __STDC__
48578 # include <limits.h>
48579 #else
48580 # include <assert.h>
48581 #endif
48583 #undef $ac_func
48585 /* Override any gcc2 internal prototype to avoid an error. */
48586 #ifdef __cplusplus
48587 extern "C"
48589 #endif
48590 /* We use char because int might match the return type of a gcc2
48591 builtin and then its argument prototype would still apply. */
48592 char $ac_func ();
48593 /* The GNU C library defines this for functions which it implements
48594 to always fail with ENOSYS. Some functions are actually named
48595 something starting with __ and the normal name is an alias. */
48596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48597 choke me
48598 #else
48599 char (*f) () = $ac_func;
48600 #endif
48601 #ifdef __cplusplus
48603 #endif
48606 main ()
48608 return f != $ac_func;
48610 return 0;
48612 _ACEOF
48613 rm -f conftest.$ac_objext conftest$ac_exeext
48614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48615 (eval $ac_link) 2>conftest.er1
48616 ac_status=$?
48617 grep -v '^ *+' conftest.er1 >conftest.err
48618 rm -f conftest.er1
48619 cat conftest.err >&5
48620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48621 (exit $ac_status); } &&
48622 { ac_try='test -z "$ac_c_werror_flag"
48623 || test ! -s conftest.err'
48624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48625 (eval $ac_try) 2>&5
48626 ac_status=$?
48627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48628 (exit $ac_status); }; } &&
48629 { ac_try='test -s conftest$ac_exeext'
48630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48631 (eval $ac_try) 2>&5
48632 ac_status=$?
48633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48634 (exit $ac_status); }; }; then
48635 eval "$as_ac_var=yes"
48636 else
48637 echo "$as_me: failed program was:" >&5
48638 sed 's/^/| /' conftest.$ac_ext >&5
48640 eval "$as_ac_var=no"
48642 rm -f conftest.err conftest.$ac_objext \
48643 conftest$ac_exeext conftest.$ac_ext
48645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48647 if test `eval echo '${'$as_ac_var'}'` = yes; then
48648 cat >>confdefs.h <<_ACEOF
48649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48650 _ACEOF
48653 done
48655 else
48657 echo "$as_me:$LINENO: checking for _powl declaration" >&5
48658 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
48659 if test x${glibcxx_cv_func__powl_use+set} != xset; then
48660 if test "${glibcxx_cv_func__powl_use+set}" = set; then
48661 echo $ECHO_N "(cached) $ECHO_C" >&6
48662 else
48666 ac_ext=cc
48667 ac_cpp='$CXXCPP $CPPFLAGS'
48668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48672 cat >conftest.$ac_ext <<_ACEOF
48673 /* confdefs.h. */
48674 _ACEOF
48675 cat confdefs.h >>conftest.$ac_ext
48676 cat >>conftest.$ac_ext <<_ACEOF
48677 /* end confdefs.h. */
48678 #include <math.h>
48680 main ()
48682 _powl(0, 0);
48684 return 0;
48686 _ACEOF
48687 rm -f conftest.$ac_objext
48688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48689 (eval $ac_compile) 2>conftest.er1
48690 ac_status=$?
48691 grep -v '^ *+' conftest.er1 >conftest.err
48692 rm -f conftest.er1
48693 cat conftest.err >&5
48694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48695 (exit $ac_status); } &&
48696 { ac_try='test -z "$ac_cxx_werror_flag"
48697 || test ! -s conftest.err'
48698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48699 (eval $ac_try) 2>&5
48700 ac_status=$?
48701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48702 (exit $ac_status); }; } &&
48703 { ac_try='test -s conftest.$ac_objext'
48704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48705 (eval $ac_try) 2>&5
48706 ac_status=$?
48707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48708 (exit $ac_status); }; }; then
48709 glibcxx_cv_func__powl_use=yes
48710 else
48711 echo "$as_me: failed program was:" >&5
48712 sed 's/^/| /' conftest.$ac_ext >&5
48714 glibcxx_cv_func__powl_use=no
48716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48717 ac_ext=c
48718 ac_cpp='$CPP $CPPFLAGS'
48719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48727 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
48728 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
48730 if test x$glibcxx_cv_func__powl_use = x"yes"; then
48732 for ac_func in _powl
48734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48735 echo "$as_me:$LINENO: checking for $ac_func" >&5
48736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48737 if eval "test \"\${$as_ac_var+set}\" = set"; then
48738 echo $ECHO_N "(cached) $ECHO_C" >&6
48739 else
48740 if test x$gcc_no_link = xyes; then
48741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48743 { (exit 1); exit 1; }; }
48745 cat >conftest.$ac_ext <<_ACEOF
48746 /* confdefs.h. */
48747 _ACEOF
48748 cat confdefs.h >>conftest.$ac_ext
48749 cat >>conftest.$ac_ext <<_ACEOF
48750 /* end confdefs.h. */
48751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48753 #define $ac_func innocuous_$ac_func
48755 /* System header to define __stub macros and hopefully few prototypes,
48756 which can conflict with char $ac_func (); below.
48757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48758 <limits.h> exists even on freestanding compilers. */
48760 #ifdef __STDC__
48761 # include <limits.h>
48762 #else
48763 # include <assert.h>
48764 #endif
48766 #undef $ac_func
48768 /* Override any gcc2 internal prototype to avoid an error. */
48769 #ifdef __cplusplus
48770 extern "C"
48772 #endif
48773 /* We use char because int might match the return type of a gcc2
48774 builtin and then its argument prototype would still apply. */
48775 char $ac_func ();
48776 /* The GNU C library defines this for functions which it implements
48777 to always fail with ENOSYS. Some functions are actually named
48778 something starting with __ and the normal name is an alias. */
48779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48780 choke me
48781 #else
48782 char (*f) () = $ac_func;
48783 #endif
48784 #ifdef __cplusplus
48786 #endif
48789 main ()
48791 return f != $ac_func;
48793 return 0;
48795 _ACEOF
48796 rm -f conftest.$ac_objext conftest$ac_exeext
48797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48798 (eval $ac_link) 2>conftest.er1
48799 ac_status=$?
48800 grep -v '^ *+' conftest.er1 >conftest.err
48801 rm -f conftest.er1
48802 cat conftest.err >&5
48803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48804 (exit $ac_status); } &&
48805 { ac_try='test -z "$ac_c_werror_flag"
48806 || test ! -s conftest.err'
48807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48808 (eval $ac_try) 2>&5
48809 ac_status=$?
48810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48811 (exit $ac_status); }; } &&
48812 { ac_try='test -s conftest$ac_exeext'
48813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48814 (eval $ac_try) 2>&5
48815 ac_status=$?
48816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48817 (exit $ac_status); }; }; then
48818 eval "$as_ac_var=yes"
48819 else
48820 echo "$as_me: failed program was:" >&5
48821 sed 's/^/| /' conftest.$ac_ext >&5
48823 eval "$as_ac_var=no"
48825 rm -f conftest.err conftest.$ac_objext \
48826 conftest$ac_exeext conftest.$ac_ext
48828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48830 if test `eval echo '${'$as_ac_var'}'` = yes; then
48831 cat >>confdefs.h <<_ACEOF
48832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48833 _ACEOF
48836 done
48846 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48847 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48848 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48849 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48850 echo $ECHO_N "(cached) $ECHO_C" >&6
48851 else
48855 ac_ext=cc
48856 ac_cpp='$CXXCPP $CPPFLAGS'
48857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48861 cat >conftest.$ac_ext <<_ACEOF
48862 /* confdefs.h. */
48863 _ACEOF
48864 cat confdefs.h >>conftest.$ac_ext
48865 cat >>conftest.$ac_ext <<_ACEOF
48866 /* end confdefs.h. */
48867 #include <math.h>
48868 #ifdef HAVE_IEEEFP_H
48869 #include <ieeefp.h>
48870 #endif
48873 main ()
48875 sqrtl(0);
48877 return 0;
48879 _ACEOF
48880 rm -f conftest.$ac_objext
48881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48882 (eval $ac_compile) 2>conftest.er1
48883 ac_status=$?
48884 grep -v '^ *+' conftest.er1 >conftest.err
48885 rm -f conftest.er1
48886 cat conftest.err >&5
48887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48888 (exit $ac_status); } &&
48889 { ac_try='test -z "$ac_cxx_werror_flag"
48890 || test ! -s conftest.err'
48891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48892 (eval $ac_try) 2>&5
48893 ac_status=$?
48894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48895 (exit $ac_status); }; } &&
48896 { ac_try='test -s conftest.$ac_objext'
48897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48898 (eval $ac_try) 2>&5
48899 ac_status=$?
48900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48901 (exit $ac_status); }; }; then
48902 glibcxx_cv_func_sqrtl_use=yes
48903 else
48904 echo "$as_me: failed program was:" >&5
48905 sed 's/^/| /' conftest.$ac_ext >&5
48907 glibcxx_cv_func_sqrtl_use=no
48909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48910 ac_ext=c
48911 ac_cpp='$CPP $CPPFLAGS'
48912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48920 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
48921 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
48923 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48925 for ac_func in sqrtl
48927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48928 echo "$as_me:$LINENO: checking for $ac_func" >&5
48929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48930 if eval "test \"\${$as_ac_var+set}\" = set"; then
48931 echo $ECHO_N "(cached) $ECHO_C" >&6
48932 else
48933 if test x$gcc_no_link = xyes; then
48934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48936 { (exit 1); exit 1; }; }
48938 cat >conftest.$ac_ext <<_ACEOF
48939 /* confdefs.h. */
48940 _ACEOF
48941 cat confdefs.h >>conftest.$ac_ext
48942 cat >>conftest.$ac_ext <<_ACEOF
48943 /* end confdefs.h. */
48944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48946 #define $ac_func innocuous_$ac_func
48948 /* System header to define __stub macros and hopefully few prototypes,
48949 which can conflict with char $ac_func (); below.
48950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48951 <limits.h> exists even on freestanding compilers. */
48953 #ifdef __STDC__
48954 # include <limits.h>
48955 #else
48956 # include <assert.h>
48957 #endif
48959 #undef $ac_func
48961 /* Override any gcc2 internal prototype to avoid an error. */
48962 #ifdef __cplusplus
48963 extern "C"
48965 #endif
48966 /* We use char because int might match the return type of a gcc2
48967 builtin and then its argument prototype would still apply. */
48968 char $ac_func ();
48969 /* The GNU C library defines this for functions which it implements
48970 to always fail with ENOSYS. Some functions are actually named
48971 something starting with __ and the normal name is an alias. */
48972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48973 choke me
48974 #else
48975 char (*f) () = $ac_func;
48976 #endif
48977 #ifdef __cplusplus
48979 #endif
48982 main ()
48984 return f != $ac_func;
48986 return 0;
48988 _ACEOF
48989 rm -f conftest.$ac_objext conftest$ac_exeext
48990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48991 (eval $ac_link) 2>conftest.er1
48992 ac_status=$?
48993 grep -v '^ *+' conftest.er1 >conftest.err
48994 rm -f conftest.er1
48995 cat conftest.err >&5
48996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48997 (exit $ac_status); } &&
48998 { ac_try='test -z "$ac_c_werror_flag"
48999 || test ! -s conftest.err'
49000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49001 (eval $ac_try) 2>&5
49002 ac_status=$?
49003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49004 (exit $ac_status); }; } &&
49005 { ac_try='test -s conftest$ac_exeext'
49006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49007 (eval $ac_try) 2>&5
49008 ac_status=$?
49009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49010 (exit $ac_status); }; }; then
49011 eval "$as_ac_var=yes"
49012 else
49013 echo "$as_me: failed program was:" >&5
49014 sed 's/^/| /' conftest.$ac_ext >&5
49016 eval "$as_ac_var=no"
49018 rm -f conftest.err conftest.$ac_objext \
49019 conftest$ac_exeext conftest.$ac_ext
49021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49023 if test `eval echo '${'$as_ac_var'}'` = yes; then
49024 cat >>confdefs.h <<_ACEOF
49025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49026 _ACEOF
49029 done
49031 else
49033 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
49034 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
49035 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49036 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
49037 echo $ECHO_N "(cached) $ECHO_C" >&6
49038 else
49042 ac_ext=cc
49043 ac_cpp='$CXXCPP $CPPFLAGS'
49044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49048 cat >conftest.$ac_ext <<_ACEOF
49049 /* confdefs.h. */
49050 _ACEOF
49051 cat confdefs.h >>conftest.$ac_ext
49052 cat >>conftest.$ac_ext <<_ACEOF
49053 /* end confdefs.h. */
49054 #include <math.h>
49055 #ifdef HAVE_IEEEFP_H
49056 #include <ieeefp.h>
49057 #endif
49060 main ()
49062 _sqrtl(0);
49064 return 0;
49066 _ACEOF
49067 rm -f conftest.$ac_objext
49068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49069 (eval $ac_compile) 2>conftest.er1
49070 ac_status=$?
49071 grep -v '^ *+' conftest.er1 >conftest.err
49072 rm -f conftest.er1
49073 cat conftest.err >&5
49074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49075 (exit $ac_status); } &&
49076 { ac_try='test -z "$ac_cxx_werror_flag"
49077 || test ! -s conftest.err'
49078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49079 (eval $ac_try) 2>&5
49080 ac_status=$?
49081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49082 (exit $ac_status); }; } &&
49083 { ac_try='test -s conftest.$ac_objext'
49084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49085 (eval $ac_try) 2>&5
49086 ac_status=$?
49087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49088 (exit $ac_status); }; }; then
49089 glibcxx_cv_func__sqrtl_use=yes
49090 else
49091 echo "$as_me: failed program was:" >&5
49092 sed 's/^/| /' conftest.$ac_ext >&5
49094 glibcxx_cv_func__sqrtl_use=no
49096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49097 ac_ext=c
49098 ac_cpp='$CPP $CPPFLAGS'
49099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49107 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
49108 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
49110 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49112 for ac_func in _sqrtl
49114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49115 echo "$as_me:$LINENO: checking for $ac_func" >&5
49116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49117 if eval "test \"\${$as_ac_var+set}\" = set"; then
49118 echo $ECHO_N "(cached) $ECHO_C" >&6
49119 else
49120 if test x$gcc_no_link = xyes; then
49121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49123 { (exit 1); exit 1; }; }
49125 cat >conftest.$ac_ext <<_ACEOF
49126 /* confdefs.h. */
49127 _ACEOF
49128 cat confdefs.h >>conftest.$ac_ext
49129 cat >>conftest.$ac_ext <<_ACEOF
49130 /* end confdefs.h. */
49131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49133 #define $ac_func innocuous_$ac_func
49135 /* System header to define __stub macros and hopefully few prototypes,
49136 which can conflict with char $ac_func (); below.
49137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49138 <limits.h> exists even on freestanding compilers. */
49140 #ifdef __STDC__
49141 # include <limits.h>
49142 #else
49143 # include <assert.h>
49144 #endif
49146 #undef $ac_func
49148 /* Override any gcc2 internal prototype to avoid an error. */
49149 #ifdef __cplusplus
49150 extern "C"
49152 #endif
49153 /* We use char because int might match the return type of a gcc2
49154 builtin and then its argument prototype would still apply. */
49155 char $ac_func ();
49156 /* The GNU C library defines this for functions which it implements
49157 to always fail with ENOSYS. Some functions are actually named
49158 something starting with __ and the normal name is an alias. */
49159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49160 choke me
49161 #else
49162 char (*f) () = $ac_func;
49163 #endif
49164 #ifdef __cplusplus
49166 #endif
49169 main ()
49171 return f != $ac_func;
49173 return 0;
49175 _ACEOF
49176 rm -f conftest.$ac_objext conftest$ac_exeext
49177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49178 (eval $ac_link) 2>conftest.er1
49179 ac_status=$?
49180 grep -v '^ *+' conftest.er1 >conftest.err
49181 rm -f conftest.er1
49182 cat conftest.err >&5
49183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49184 (exit $ac_status); } &&
49185 { ac_try='test -z "$ac_c_werror_flag"
49186 || test ! -s conftest.err'
49187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49188 (eval $ac_try) 2>&5
49189 ac_status=$?
49190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49191 (exit $ac_status); }; } &&
49192 { ac_try='test -s conftest$ac_exeext'
49193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49194 (eval $ac_try) 2>&5
49195 ac_status=$?
49196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49197 (exit $ac_status); }; }; then
49198 eval "$as_ac_var=yes"
49199 else
49200 echo "$as_me: failed program was:" >&5
49201 sed 's/^/| /' conftest.$ac_ext >&5
49203 eval "$as_ac_var=no"
49205 rm -f conftest.err conftest.$ac_objext \
49206 conftest$ac_exeext conftest.$ac_ext
49208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49210 if test `eval echo '${'$as_ac_var'}'` = yes; then
49211 cat >>confdefs.h <<_ACEOF
49212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49213 _ACEOF
49216 done
49226 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49227 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49228 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49229 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49230 echo $ECHO_N "(cached) $ECHO_C" >&6
49231 else
49235 ac_ext=cc
49236 ac_cpp='$CXXCPP $CPPFLAGS'
49237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49241 cat >conftest.$ac_ext <<_ACEOF
49242 /* confdefs.h. */
49243 _ACEOF
49244 cat confdefs.h >>conftest.$ac_ext
49245 cat >>conftest.$ac_ext <<_ACEOF
49246 /* end confdefs.h. */
49247 #include <math.h>
49249 main ()
49251 sincosl(0, 0, 0);
49253 return 0;
49255 _ACEOF
49256 rm -f conftest.$ac_objext
49257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49258 (eval $ac_compile) 2>conftest.er1
49259 ac_status=$?
49260 grep -v '^ *+' conftest.er1 >conftest.err
49261 rm -f conftest.er1
49262 cat conftest.err >&5
49263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49264 (exit $ac_status); } &&
49265 { ac_try='test -z "$ac_cxx_werror_flag"
49266 || test ! -s conftest.err'
49267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49268 (eval $ac_try) 2>&5
49269 ac_status=$?
49270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49271 (exit $ac_status); }; } &&
49272 { ac_try='test -s conftest.$ac_objext'
49273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49274 (eval $ac_try) 2>&5
49275 ac_status=$?
49276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49277 (exit $ac_status); }; }; then
49278 glibcxx_cv_func_sincosl_use=yes
49279 else
49280 echo "$as_me: failed program was:" >&5
49281 sed 's/^/| /' conftest.$ac_ext >&5
49283 glibcxx_cv_func_sincosl_use=no
49285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49286 ac_ext=c
49287 ac_cpp='$CPP $CPPFLAGS'
49288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49296 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49297 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49299 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49301 for ac_func in sincosl
49303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49304 echo "$as_me:$LINENO: checking for $ac_func" >&5
49305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49306 if eval "test \"\${$as_ac_var+set}\" = set"; then
49307 echo $ECHO_N "(cached) $ECHO_C" >&6
49308 else
49309 if test x$gcc_no_link = xyes; then
49310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49312 { (exit 1); exit 1; }; }
49314 cat >conftest.$ac_ext <<_ACEOF
49315 /* confdefs.h. */
49316 _ACEOF
49317 cat confdefs.h >>conftest.$ac_ext
49318 cat >>conftest.$ac_ext <<_ACEOF
49319 /* end confdefs.h. */
49320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49322 #define $ac_func innocuous_$ac_func
49324 /* System header to define __stub macros and hopefully few prototypes,
49325 which can conflict with char $ac_func (); below.
49326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49327 <limits.h> exists even on freestanding compilers. */
49329 #ifdef __STDC__
49330 # include <limits.h>
49331 #else
49332 # include <assert.h>
49333 #endif
49335 #undef $ac_func
49337 /* Override any gcc2 internal prototype to avoid an error. */
49338 #ifdef __cplusplus
49339 extern "C"
49341 #endif
49342 /* We use char because int might match the return type of a gcc2
49343 builtin and then its argument prototype would still apply. */
49344 char $ac_func ();
49345 /* The GNU C library defines this for functions which it implements
49346 to always fail with ENOSYS. Some functions are actually named
49347 something starting with __ and the normal name is an alias. */
49348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49349 choke me
49350 #else
49351 char (*f) () = $ac_func;
49352 #endif
49353 #ifdef __cplusplus
49355 #endif
49358 main ()
49360 return f != $ac_func;
49362 return 0;
49364 _ACEOF
49365 rm -f conftest.$ac_objext conftest$ac_exeext
49366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49367 (eval $ac_link) 2>conftest.er1
49368 ac_status=$?
49369 grep -v '^ *+' conftest.er1 >conftest.err
49370 rm -f conftest.er1
49371 cat conftest.err >&5
49372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49373 (exit $ac_status); } &&
49374 { ac_try='test -z "$ac_c_werror_flag"
49375 || test ! -s conftest.err'
49376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49377 (eval $ac_try) 2>&5
49378 ac_status=$?
49379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49380 (exit $ac_status); }; } &&
49381 { ac_try='test -s conftest$ac_exeext'
49382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49383 (eval $ac_try) 2>&5
49384 ac_status=$?
49385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49386 (exit $ac_status); }; }; then
49387 eval "$as_ac_var=yes"
49388 else
49389 echo "$as_me: failed program was:" >&5
49390 sed 's/^/| /' conftest.$ac_ext >&5
49392 eval "$as_ac_var=no"
49394 rm -f conftest.err conftest.$ac_objext \
49395 conftest$ac_exeext conftest.$ac_ext
49397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49399 if test `eval echo '${'$as_ac_var'}'` = yes; then
49400 cat >>confdefs.h <<_ACEOF
49401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49402 _ACEOF
49405 done
49407 else
49409 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49410 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49411 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49412 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49413 echo $ECHO_N "(cached) $ECHO_C" >&6
49414 else
49418 ac_ext=cc
49419 ac_cpp='$CXXCPP $CPPFLAGS'
49420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49424 cat >conftest.$ac_ext <<_ACEOF
49425 /* confdefs.h. */
49426 _ACEOF
49427 cat confdefs.h >>conftest.$ac_ext
49428 cat >>conftest.$ac_ext <<_ACEOF
49429 /* end confdefs.h. */
49430 #include <math.h>
49432 main ()
49434 _sincosl(0, 0, 0);
49436 return 0;
49438 _ACEOF
49439 rm -f conftest.$ac_objext
49440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49441 (eval $ac_compile) 2>conftest.er1
49442 ac_status=$?
49443 grep -v '^ *+' conftest.er1 >conftest.err
49444 rm -f conftest.er1
49445 cat conftest.err >&5
49446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49447 (exit $ac_status); } &&
49448 { ac_try='test -z "$ac_cxx_werror_flag"
49449 || test ! -s conftest.err'
49450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49451 (eval $ac_try) 2>&5
49452 ac_status=$?
49453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49454 (exit $ac_status); }; } &&
49455 { ac_try='test -s conftest.$ac_objext'
49456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49457 (eval $ac_try) 2>&5
49458 ac_status=$?
49459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49460 (exit $ac_status); }; }; then
49461 glibcxx_cv_func__sincosl_use=yes
49462 else
49463 echo "$as_me: failed program was:" >&5
49464 sed 's/^/| /' conftest.$ac_ext >&5
49466 glibcxx_cv_func__sincosl_use=no
49468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49469 ac_ext=c
49470 ac_cpp='$CPP $CPPFLAGS'
49471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49479 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49480 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49482 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49484 for ac_func in _sincosl
49486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49487 echo "$as_me:$LINENO: checking for $ac_func" >&5
49488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49489 if eval "test \"\${$as_ac_var+set}\" = set"; then
49490 echo $ECHO_N "(cached) $ECHO_C" >&6
49491 else
49492 if test x$gcc_no_link = xyes; then
49493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49495 { (exit 1); exit 1; }; }
49497 cat >conftest.$ac_ext <<_ACEOF
49498 /* confdefs.h. */
49499 _ACEOF
49500 cat confdefs.h >>conftest.$ac_ext
49501 cat >>conftest.$ac_ext <<_ACEOF
49502 /* end confdefs.h. */
49503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49505 #define $ac_func innocuous_$ac_func
49507 /* System header to define __stub macros and hopefully few prototypes,
49508 which can conflict with char $ac_func (); below.
49509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49510 <limits.h> exists even on freestanding compilers. */
49512 #ifdef __STDC__
49513 # include <limits.h>
49514 #else
49515 # include <assert.h>
49516 #endif
49518 #undef $ac_func
49520 /* Override any gcc2 internal prototype to avoid an error. */
49521 #ifdef __cplusplus
49522 extern "C"
49524 #endif
49525 /* We use char because int might match the return type of a gcc2
49526 builtin and then its argument prototype would still apply. */
49527 char $ac_func ();
49528 /* The GNU C library defines this for functions which it implements
49529 to always fail with ENOSYS. Some functions are actually named
49530 something starting with __ and the normal name is an alias. */
49531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49532 choke me
49533 #else
49534 char (*f) () = $ac_func;
49535 #endif
49536 #ifdef __cplusplus
49538 #endif
49541 main ()
49543 return f != $ac_func;
49545 return 0;
49547 _ACEOF
49548 rm -f conftest.$ac_objext conftest$ac_exeext
49549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49550 (eval $ac_link) 2>conftest.er1
49551 ac_status=$?
49552 grep -v '^ *+' conftest.er1 >conftest.err
49553 rm -f conftest.er1
49554 cat conftest.err >&5
49555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49556 (exit $ac_status); } &&
49557 { ac_try='test -z "$ac_c_werror_flag"
49558 || test ! -s conftest.err'
49559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49560 (eval $ac_try) 2>&5
49561 ac_status=$?
49562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49563 (exit $ac_status); }; } &&
49564 { ac_try='test -s conftest$ac_exeext'
49565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49566 (eval $ac_try) 2>&5
49567 ac_status=$?
49568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49569 (exit $ac_status); }; }; then
49570 eval "$as_ac_var=yes"
49571 else
49572 echo "$as_me: failed program was:" >&5
49573 sed 's/^/| /' conftest.$ac_ext >&5
49575 eval "$as_ac_var=no"
49577 rm -f conftest.err conftest.$ac_objext \
49578 conftest$ac_exeext conftest.$ac_ext
49580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49582 if test `eval echo '${'$as_ac_var'}'` = yes; then
49583 cat >>confdefs.h <<_ACEOF
49584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49585 _ACEOF
49588 done
49598 echo "$as_me:$LINENO: checking for finitel declaration" >&5
49599 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49600 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49601 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49602 echo $ECHO_N "(cached) $ECHO_C" >&6
49603 else
49607 ac_ext=cc
49608 ac_cpp='$CXXCPP $CPPFLAGS'
49609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49613 cat >conftest.$ac_ext <<_ACEOF
49614 /* confdefs.h. */
49615 _ACEOF
49616 cat confdefs.h >>conftest.$ac_ext
49617 cat >>conftest.$ac_ext <<_ACEOF
49618 /* end confdefs.h. */
49619 #include <math.h>
49620 #ifdef HAVE_IEEEFP_H
49621 #include <ieeefp.h>
49622 #endif
49625 main ()
49627 finitel(0);
49629 return 0;
49631 _ACEOF
49632 rm -f conftest.$ac_objext
49633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49634 (eval $ac_compile) 2>conftest.er1
49635 ac_status=$?
49636 grep -v '^ *+' conftest.er1 >conftest.err
49637 rm -f conftest.er1
49638 cat conftest.err >&5
49639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49640 (exit $ac_status); } &&
49641 { ac_try='test -z "$ac_cxx_werror_flag"
49642 || test ! -s conftest.err'
49643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49644 (eval $ac_try) 2>&5
49645 ac_status=$?
49646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49647 (exit $ac_status); }; } &&
49648 { ac_try='test -s conftest.$ac_objext'
49649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49650 (eval $ac_try) 2>&5
49651 ac_status=$?
49652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49653 (exit $ac_status); }; }; then
49654 glibcxx_cv_func_finitel_use=yes
49655 else
49656 echo "$as_me: failed program was:" >&5
49657 sed 's/^/| /' conftest.$ac_ext >&5
49659 glibcxx_cv_func_finitel_use=no
49661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49662 ac_ext=c
49663 ac_cpp='$CPP $CPPFLAGS'
49664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49672 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
49673 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
49675 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
49677 for ac_func in finitel
49679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49680 echo "$as_me:$LINENO: checking for $ac_func" >&5
49681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49682 if eval "test \"\${$as_ac_var+set}\" = set"; then
49683 echo $ECHO_N "(cached) $ECHO_C" >&6
49684 else
49685 if test x$gcc_no_link = xyes; then
49686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49688 { (exit 1); exit 1; }; }
49690 cat >conftest.$ac_ext <<_ACEOF
49691 /* confdefs.h. */
49692 _ACEOF
49693 cat confdefs.h >>conftest.$ac_ext
49694 cat >>conftest.$ac_ext <<_ACEOF
49695 /* end confdefs.h. */
49696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49698 #define $ac_func innocuous_$ac_func
49700 /* System header to define __stub macros and hopefully few prototypes,
49701 which can conflict with char $ac_func (); below.
49702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49703 <limits.h> exists even on freestanding compilers. */
49705 #ifdef __STDC__
49706 # include <limits.h>
49707 #else
49708 # include <assert.h>
49709 #endif
49711 #undef $ac_func
49713 /* Override any gcc2 internal prototype to avoid an error. */
49714 #ifdef __cplusplus
49715 extern "C"
49717 #endif
49718 /* We use char because int might match the return type of a gcc2
49719 builtin and then its argument prototype would still apply. */
49720 char $ac_func ();
49721 /* The GNU C library defines this for functions which it implements
49722 to always fail with ENOSYS. Some functions are actually named
49723 something starting with __ and the normal name is an alias. */
49724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49725 choke me
49726 #else
49727 char (*f) () = $ac_func;
49728 #endif
49729 #ifdef __cplusplus
49731 #endif
49734 main ()
49736 return f != $ac_func;
49738 return 0;
49740 _ACEOF
49741 rm -f conftest.$ac_objext conftest$ac_exeext
49742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49743 (eval $ac_link) 2>conftest.er1
49744 ac_status=$?
49745 grep -v '^ *+' conftest.er1 >conftest.err
49746 rm -f conftest.er1
49747 cat conftest.err >&5
49748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49749 (exit $ac_status); } &&
49750 { ac_try='test -z "$ac_c_werror_flag"
49751 || test ! -s conftest.err'
49752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49753 (eval $ac_try) 2>&5
49754 ac_status=$?
49755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49756 (exit $ac_status); }; } &&
49757 { ac_try='test -s conftest$ac_exeext'
49758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49759 (eval $ac_try) 2>&5
49760 ac_status=$?
49761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49762 (exit $ac_status); }; }; then
49763 eval "$as_ac_var=yes"
49764 else
49765 echo "$as_me: failed program was:" >&5
49766 sed 's/^/| /' conftest.$ac_ext >&5
49768 eval "$as_ac_var=no"
49770 rm -f conftest.err conftest.$ac_objext \
49771 conftest$ac_exeext conftest.$ac_ext
49773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49775 if test `eval echo '${'$as_ac_var'}'` = yes; then
49776 cat >>confdefs.h <<_ACEOF
49777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49778 _ACEOF
49781 done
49783 else
49785 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49786 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49787 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49788 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49789 echo $ECHO_N "(cached) $ECHO_C" >&6
49790 else
49794 ac_ext=cc
49795 ac_cpp='$CXXCPP $CPPFLAGS'
49796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49800 cat >conftest.$ac_ext <<_ACEOF
49801 /* confdefs.h. */
49802 _ACEOF
49803 cat confdefs.h >>conftest.$ac_ext
49804 cat >>conftest.$ac_ext <<_ACEOF
49805 /* end confdefs.h. */
49806 #include <math.h>
49807 #ifdef HAVE_IEEEFP_H
49808 #include <ieeefp.h>
49809 #endif
49812 main ()
49814 _finitel(0);
49816 return 0;
49818 _ACEOF
49819 rm -f conftest.$ac_objext
49820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49821 (eval $ac_compile) 2>conftest.er1
49822 ac_status=$?
49823 grep -v '^ *+' conftest.er1 >conftest.err
49824 rm -f conftest.er1
49825 cat conftest.err >&5
49826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49827 (exit $ac_status); } &&
49828 { ac_try='test -z "$ac_cxx_werror_flag"
49829 || test ! -s conftest.err'
49830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49831 (eval $ac_try) 2>&5
49832 ac_status=$?
49833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49834 (exit $ac_status); }; } &&
49835 { ac_try='test -s conftest.$ac_objext'
49836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49837 (eval $ac_try) 2>&5
49838 ac_status=$?
49839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49840 (exit $ac_status); }; }; then
49841 glibcxx_cv_func__finitel_use=yes
49842 else
49843 echo "$as_me: failed program was:" >&5
49844 sed 's/^/| /' conftest.$ac_ext >&5
49846 glibcxx_cv_func__finitel_use=no
49848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49849 ac_ext=c
49850 ac_cpp='$CPP $CPPFLAGS'
49851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49859 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49860 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49862 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49864 for ac_func in _finitel
49866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49867 echo "$as_me:$LINENO: checking for $ac_func" >&5
49868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49869 if eval "test \"\${$as_ac_var+set}\" = set"; then
49870 echo $ECHO_N "(cached) $ECHO_C" >&6
49871 else
49872 if test x$gcc_no_link = xyes; then
49873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49875 { (exit 1); exit 1; }; }
49877 cat >conftest.$ac_ext <<_ACEOF
49878 /* confdefs.h. */
49879 _ACEOF
49880 cat confdefs.h >>conftest.$ac_ext
49881 cat >>conftest.$ac_ext <<_ACEOF
49882 /* end confdefs.h. */
49883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49885 #define $ac_func innocuous_$ac_func
49887 /* System header to define __stub macros and hopefully few prototypes,
49888 which can conflict with char $ac_func (); below.
49889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49890 <limits.h> exists even on freestanding compilers. */
49892 #ifdef __STDC__
49893 # include <limits.h>
49894 #else
49895 # include <assert.h>
49896 #endif
49898 #undef $ac_func
49900 /* Override any gcc2 internal prototype to avoid an error. */
49901 #ifdef __cplusplus
49902 extern "C"
49904 #endif
49905 /* We use char because int might match the return type of a gcc2
49906 builtin and then its argument prototype would still apply. */
49907 char $ac_func ();
49908 /* The GNU C library defines this for functions which it implements
49909 to always fail with ENOSYS. Some functions are actually named
49910 something starting with __ and the normal name is an alias. */
49911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49912 choke me
49913 #else
49914 char (*f) () = $ac_func;
49915 #endif
49916 #ifdef __cplusplus
49918 #endif
49921 main ()
49923 return f != $ac_func;
49925 return 0;
49927 _ACEOF
49928 rm -f conftest.$ac_objext conftest$ac_exeext
49929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49930 (eval $ac_link) 2>conftest.er1
49931 ac_status=$?
49932 grep -v '^ *+' conftest.er1 >conftest.err
49933 rm -f conftest.er1
49934 cat conftest.err >&5
49935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49936 (exit $ac_status); } &&
49937 { ac_try='test -z "$ac_c_werror_flag"
49938 || test ! -s conftest.err'
49939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49940 (eval $ac_try) 2>&5
49941 ac_status=$?
49942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49943 (exit $ac_status); }; } &&
49944 { ac_try='test -s conftest$ac_exeext'
49945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49946 (eval $ac_try) 2>&5
49947 ac_status=$?
49948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49949 (exit $ac_status); }; }; then
49950 eval "$as_ac_var=yes"
49951 else
49952 echo "$as_me: failed program was:" >&5
49953 sed 's/^/| /' conftest.$ac_ext >&5
49955 eval "$as_ac_var=no"
49957 rm -f conftest.err conftest.$ac_objext \
49958 conftest$ac_exeext conftest.$ac_ext
49960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49962 if test `eval echo '${'$as_ac_var'}'` = yes; then
49963 cat >>confdefs.h <<_ACEOF
49964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49965 _ACEOF
49968 done
49977 LIBS="$ac_save_LIBS"
49978 CXXFLAGS="$ac_save_CXXFLAGS"
49982 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
49983 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
49984 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
49985 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
49986 echo $ECHO_N "(cached) $ECHO_C" >&6
49987 else
49991 ac_ext=cc
49992 ac_cpp='$CXXCPP $CPPFLAGS'
49993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49997 cat >conftest.$ac_ext <<_ACEOF
49998 /* confdefs.h. */
49999 _ACEOF
50000 cat confdefs.h >>conftest.$ac_ext
50001 cat >>conftest.$ac_ext <<_ACEOF
50002 /* end confdefs.h. */
50003 #include <math.h>
50005 main ()
50007 __builtin_abs(0);
50009 return 0;
50011 _ACEOF
50012 rm -f conftest.$ac_objext
50013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50014 (eval $ac_compile) 2>conftest.er1
50015 ac_status=$?
50016 grep -v '^ *+' conftest.er1 >conftest.err
50017 rm -f conftest.er1
50018 cat conftest.err >&5
50019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50020 (exit $ac_status); } &&
50021 { ac_try='test -z "$ac_cxx_werror_flag"
50022 || test ! -s conftest.err'
50023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50024 (eval $ac_try) 2>&5
50025 ac_status=$?
50026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50027 (exit $ac_status); }; } &&
50028 { ac_try='test -s conftest.$ac_objext'
50029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50030 (eval $ac_try) 2>&5
50031 ac_status=$?
50032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50033 (exit $ac_status); }; }; then
50034 glibcxx_cv_func___builtin_abs_use=yes
50035 else
50036 echo "$as_me: failed program was:" >&5
50037 sed 's/^/| /' conftest.$ac_ext >&5
50039 glibcxx_cv_func___builtin_abs_use=no
50041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50042 ac_ext=c
50043 ac_cpp='$CPP $CPPFLAGS'
50044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50052 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
50053 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
50054 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
50055 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
50056 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
50057 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
50058 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
50059 echo $ECHO_N "(cached) $ECHO_C" >&6
50060 else
50062 if test x$gcc_no_link = xyes; then
50063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50065 { (exit 1); exit 1; }; }
50067 cat >conftest.$ac_ext <<_ACEOF
50068 /* confdefs.h. */
50069 _ACEOF
50070 cat confdefs.h >>conftest.$ac_ext
50071 cat >>conftest.$ac_ext <<_ACEOF
50072 /* end confdefs.h. */
50073 #include <math.h>
50075 main ()
50077 __builtin_abs(0);
50079 return 0;
50081 _ACEOF
50082 rm -f conftest.$ac_objext conftest$ac_exeext
50083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50084 (eval $ac_link) 2>conftest.er1
50085 ac_status=$?
50086 grep -v '^ *+' conftest.er1 >conftest.err
50087 rm -f conftest.er1
50088 cat conftest.err >&5
50089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50090 (exit $ac_status); } &&
50091 { ac_try='test -z "$ac_c_werror_flag"
50092 || test ! -s conftest.err'
50093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50094 (eval $ac_try) 2>&5
50095 ac_status=$?
50096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50097 (exit $ac_status); }; } &&
50098 { ac_try='test -s conftest$ac_exeext'
50099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50100 (eval $ac_try) 2>&5
50101 ac_status=$?
50102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50103 (exit $ac_status); }; }; then
50104 glibcxx_cv_func___builtin_abs_link=yes
50105 else
50106 echo "$as_me: failed program was:" >&5
50107 sed 's/^/| /' conftest.$ac_ext >&5
50109 glibcxx_cv_func___builtin_abs_link=no
50111 rm -f conftest.err conftest.$ac_objext \
50112 conftest$ac_exeext conftest.$ac_ext
50117 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50118 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50120 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50122 cat >>confdefs.h <<\_ACEOF
50123 #define HAVE___BUILTIN_ABS 1
50124 _ACEOF
50131 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50132 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50133 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50134 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50135 echo $ECHO_N "(cached) $ECHO_C" >&6
50136 else
50140 ac_ext=cc
50141 ac_cpp='$CXXCPP $CPPFLAGS'
50142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50146 cat >conftest.$ac_ext <<_ACEOF
50147 /* confdefs.h. */
50148 _ACEOF
50149 cat confdefs.h >>conftest.$ac_ext
50150 cat >>conftest.$ac_ext <<_ACEOF
50151 /* end confdefs.h. */
50152 #include <math.h>
50154 main ()
50156 __builtin_fabsf(0);
50158 return 0;
50160 _ACEOF
50161 rm -f conftest.$ac_objext
50162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50163 (eval $ac_compile) 2>conftest.er1
50164 ac_status=$?
50165 grep -v '^ *+' conftest.er1 >conftest.err
50166 rm -f conftest.er1
50167 cat conftest.err >&5
50168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50169 (exit $ac_status); } &&
50170 { ac_try='test -z "$ac_cxx_werror_flag"
50171 || test ! -s conftest.err'
50172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50173 (eval $ac_try) 2>&5
50174 ac_status=$?
50175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50176 (exit $ac_status); }; } &&
50177 { ac_try='test -s conftest.$ac_objext'
50178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50179 (eval $ac_try) 2>&5
50180 ac_status=$?
50181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50182 (exit $ac_status); }; }; then
50183 glibcxx_cv_func___builtin_fabsf_use=yes
50184 else
50185 echo "$as_me: failed program was:" >&5
50186 sed 's/^/| /' conftest.$ac_ext >&5
50188 glibcxx_cv_func___builtin_fabsf_use=no
50190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50191 ac_ext=c
50192 ac_cpp='$CPP $CPPFLAGS'
50193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50201 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50202 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50203 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50204 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50205 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50206 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50207 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50208 echo $ECHO_N "(cached) $ECHO_C" >&6
50209 else
50211 if test x$gcc_no_link = xyes; then
50212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50214 { (exit 1); exit 1; }; }
50216 cat >conftest.$ac_ext <<_ACEOF
50217 /* confdefs.h. */
50218 _ACEOF
50219 cat confdefs.h >>conftest.$ac_ext
50220 cat >>conftest.$ac_ext <<_ACEOF
50221 /* end confdefs.h. */
50222 #include <math.h>
50224 main ()
50226 __builtin_fabsf(0);
50228 return 0;
50230 _ACEOF
50231 rm -f conftest.$ac_objext conftest$ac_exeext
50232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50233 (eval $ac_link) 2>conftest.er1
50234 ac_status=$?
50235 grep -v '^ *+' conftest.er1 >conftest.err
50236 rm -f conftest.er1
50237 cat conftest.err >&5
50238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50239 (exit $ac_status); } &&
50240 { ac_try='test -z "$ac_c_werror_flag"
50241 || test ! -s conftest.err'
50242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50243 (eval $ac_try) 2>&5
50244 ac_status=$?
50245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50246 (exit $ac_status); }; } &&
50247 { ac_try='test -s conftest$ac_exeext'
50248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50249 (eval $ac_try) 2>&5
50250 ac_status=$?
50251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50252 (exit $ac_status); }; }; then
50253 glibcxx_cv_func___builtin_fabsf_link=yes
50254 else
50255 echo "$as_me: failed program was:" >&5
50256 sed 's/^/| /' conftest.$ac_ext >&5
50258 glibcxx_cv_func___builtin_fabsf_link=no
50260 rm -f conftest.err conftest.$ac_objext \
50261 conftest$ac_exeext conftest.$ac_ext
50266 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50267 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50269 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50271 cat >>confdefs.h <<\_ACEOF
50272 #define HAVE___BUILTIN_FABSF 1
50273 _ACEOF
50280 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50281 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50282 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50283 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50284 echo $ECHO_N "(cached) $ECHO_C" >&6
50285 else
50289 ac_ext=cc
50290 ac_cpp='$CXXCPP $CPPFLAGS'
50291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50295 cat >conftest.$ac_ext <<_ACEOF
50296 /* confdefs.h. */
50297 _ACEOF
50298 cat confdefs.h >>conftest.$ac_ext
50299 cat >>conftest.$ac_ext <<_ACEOF
50300 /* end confdefs.h. */
50301 #include <math.h>
50303 main ()
50305 __builtin_fabs(0);
50307 return 0;
50309 _ACEOF
50310 rm -f conftest.$ac_objext
50311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50312 (eval $ac_compile) 2>conftest.er1
50313 ac_status=$?
50314 grep -v '^ *+' conftest.er1 >conftest.err
50315 rm -f conftest.er1
50316 cat conftest.err >&5
50317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50318 (exit $ac_status); } &&
50319 { ac_try='test -z "$ac_cxx_werror_flag"
50320 || test ! -s conftest.err'
50321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50322 (eval $ac_try) 2>&5
50323 ac_status=$?
50324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50325 (exit $ac_status); }; } &&
50326 { ac_try='test -s conftest.$ac_objext'
50327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50328 (eval $ac_try) 2>&5
50329 ac_status=$?
50330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50331 (exit $ac_status); }; }; then
50332 glibcxx_cv_func___builtin_fabs_use=yes
50333 else
50334 echo "$as_me: failed program was:" >&5
50335 sed 's/^/| /' conftest.$ac_ext >&5
50337 glibcxx_cv_func___builtin_fabs_use=no
50339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50340 ac_ext=c
50341 ac_cpp='$CPP $CPPFLAGS'
50342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50350 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50351 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50352 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50353 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50354 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50355 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50356 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50357 echo $ECHO_N "(cached) $ECHO_C" >&6
50358 else
50360 if test x$gcc_no_link = xyes; then
50361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50363 { (exit 1); exit 1; }; }
50365 cat >conftest.$ac_ext <<_ACEOF
50366 /* confdefs.h. */
50367 _ACEOF
50368 cat confdefs.h >>conftest.$ac_ext
50369 cat >>conftest.$ac_ext <<_ACEOF
50370 /* end confdefs.h. */
50371 #include <math.h>
50373 main ()
50375 __builtin_fabs(0);
50377 return 0;
50379 _ACEOF
50380 rm -f conftest.$ac_objext conftest$ac_exeext
50381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50382 (eval $ac_link) 2>conftest.er1
50383 ac_status=$?
50384 grep -v '^ *+' conftest.er1 >conftest.err
50385 rm -f conftest.er1
50386 cat conftest.err >&5
50387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50388 (exit $ac_status); } &&
50389 { ac_try='test -z "$ac_c_werror_flag"
50390 || test ! -s conftest.err'
50391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50392 (eval $ac_try) 2>&5
50393 ac_status=$?
50394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50395 (exit $ac_status); }; } &&
50396 { ac_try='test -s conftest$ac_exeext'
50397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50398 (eval $ac_try) 2>&5
50399 ac_status=$?
50400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50401 (exit $ac_status); }; }; then
50402 glibcxx_cv_func___builtin_fabs_link=yes
50403 else
50404 echo "$as_me: failed program was:" >&5
50405 sed 's/^/| /' conftest.$ac_ext >&5
50407 glibcxx_cv_func___builtin_fabs_link=no
50409 rm -f conftest.err conftest.$ac_objext \
50410 conftest$ac_exeext conftest.$ac_ext
50415 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50416 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50418 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50420 cat >>confdefs.h <<\_ACEOF
50421 #define HAVE___BUILTIN_FABS 1
50422 _ACEOF
50429 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50430 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50431 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50432 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50433 echo $ECHO_N "(cached) $ECHO_C" >&6
50434 else
50438 ac_ext=cc
50439 ac_cpp='$CXXCPP $CPPFLAGS'
50440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50444 cat >conftest.$ac_ext <<_ACEOF
50445 /* confdefs.h. */
50446 _ACEOF
50447 cat confdefs.h >>conftest.$ac_ext
50448 cat >>conftest.$ac_ext <<_ACEOF
50449 /* end confdefs.h. */
50450 #include <math.h>
50452 main ()
50454 __builtin_fabsl(0);
50456 return 0;
50458 _ACEOF
50459 rm -f conftest.$ac_objext
50460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50461 (eval $ac_compile) 2>conftest.er1
50462 ac_status=$?
50463 grep -v '^ *+' conftest.er1 >conftest.err
50464 rm -f conftest.er1
50465 cat conftest.err >&5
50466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50467 (exit $ac_status); } &&
50468 { ac_try='test -z "$ac_cxx_werror_flag"
50469 || test ! -s conftest.err'
50470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50471 (eval $ac_try) 2>&5
50472 ac_status=$?
50473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50474 (exit $ac_status); }; } &&
50475 { ac_try='test -s conftest.$ac_objext'
50476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50477 (eval $ac_try) 2>&5
50478 ac_status=$?
50479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50480 (exit $ac_status); }; }; then
50481 glibcxx_cv_func___builtin_fabsl_use=yes
50482 else
50483 echo "$as_me: failed program was:" >&5
50484 sed 's/^/| /' conftest.$ac_ext >&5
50486 glibcxx_cv_func___builtin_fabsl_use=no
50488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50489 ac_ext=c
50490 ac_cpp='$CPP $CPPFLAGS'
50491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50499 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50500 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50501 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50502 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50503 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50504 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50505 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50506 echo $ECHO_N "(cached) $ECHO_C" >&6
50507 else
50509 if test x$gcc_no_link = xyes; then
50510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50512 { (exit 1); exit 1; }; }
50514 cat >conftest.$ac_ext <<_ACEOF
50515 /* confdefs.h. */
50516 _ACEOF
50517 cat confdefs.h >>conftest.$ac_ext
50518 cat >>conftest.$ac_ext <<_ACEOF
50519 /* end confdefs.h. */
50520 #include <math.h>
50522 main ()
50524 __builtin_fabsl(0);
50526 return 0;
50528 _ACEOF
50529 rm -f conftest.$ac_objext conftest$ac_exeext
50530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50531 (eval $ac_link) 2>conftest.er1
50532 ac_status=$?
50533 grep -v '^ *+' conftest.er1 >conftest.err
50534 rm -f conftest.er1
50535 cat conftest.err >&5
50536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50537 (exit $ac_status); } &&
50538 { ac_try='test -z "$ac_c_werror_flag"
50539 || test ! -s conftest.err'
50540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50541 (eval $ac_try) 2>&5
50542 ac_status=$?
50543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50544 (exit $ac_status); }; } &&
50545 { ac_try='test -s conftest$ac_exeext'
50546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50547 (eval $ac_try) 2>&5
50548 ac_status=$?
50549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50550 (exit $ac_status); }; }; then
50551 glibcxx_cv_func___builtin_fabsl_link=yes
50552 else
50553 echo "$as_me: failed program was:" >&5
50554 sed 's/^/| /' conftest.$ac_ext >&5
50556 glibcxx_cv_func___builtin_fabsl_link=no
50558 rm -f conftest.err conftest.$ac_objext \
50559 conftest$ac_exeext conftest.$ac_ext
50564 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50565 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50567 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50569 cat >>confdefs.h <<\_ACEOF
50570 #define HAVE___BUILTIN_FABSL 1
50571 _ACEOF
50578 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50579 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50580 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50581 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50582 echo $ECHO_N "(cached) $ECHO_C" >&6
50583 else
50587 ac_ext=cc
50588 ac_cpp='$CXXCPP $CPPFLAGS'
50589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50593 cat >conftest.$ac_ext <<_ACEOF
50594 /* confdefs.h. */
50595 _ACEOF
50596 cat confdefs.h >>conftest.$ac_ext
50597 cat >>conftest.$ac_ext <<_ACEOF
50598 /* end confdefs.h. */
50599 #include <math.h>
50601 main ()
50603 __builtin_labs(0);
50605 return 0;
50607 _ACEOF
50608 rm -f conftest.$ac_objext
50609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50610 (eval $ac_compile) 2>conftest.er1
50611 ac_status=$?
50612 grep -v '^ *+' conftest.er1 >conftest.err
50613 rm -f conftest.er1
50614 cat conftest.err >&5
50615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50616 (exit $ac_status); } &&
50617 { ac_try='test -z "$ac_cxx_werror_flag"
50618 || test ! -s conftest.err'
50619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50620 (eval $ac_try) 2>&5
50621 ac_status=$?
50622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50623 (exit $ac_status); }; } &&
50624 { ac_try='test -s conftest.$ac_objext'
50625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50626 (eval $ac_try) 2>&5
50627 ac_status=$?
50628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50629 (exit $ac_status); }; }; then
50630 glibcxx_cv_func___builtin_labs_use=yes
50631 else
50632 echo "$as_me: failed program was:" >&5
50633 sed 's/^/| /' conftest.$ac_ext >&5
50635 glibcxx_cv_func___builtin_labs_use=no
50637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50638 ac_ext=c
50639 ac_cpp='$CPP $CPPFLAGS'
50640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50648 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50649 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50650 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50651 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50652 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50653 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50654 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50655 echo $ECHO_N "(cached) $ECHO_C" >&6
50656 else
50658 if test x$gcc_no_link = xyes; then
50659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50661 { (exit 1); exit 1; }; }
50663 cat >conftest.$ac_ext <<_ACEOF
50664 /* confdefs.h. */
50665 _ACEOF
50666 cat confdefs.h >>conftest.$ac_ext
50667 cat >>conftest.$ac_ext <<_ACEOF
50668 /* end confdefs.h. */
50669 #include <math.h>
50671 main ()
50673 __builtin_labs(0);
50675 return 0;
50677 _ACEOF
50678 rm -f conftest.$ac_objext conftest$ac_exeext
50679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50680 (eval $ac_link) 2>conftest.er1
50681 ac_status=$?
50682 grep -v '^ *+' conftest.er1 >conftest.err
50683 rm -f conftest.er1
50684 cat conftest.err >&5
50685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50686 (exit $ac_status); } &&
50687 { ac_try='test -z "$ac_c_werror_flag"
50688 || test ! -s conftest.err'
50689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50690 (eval $ac_try) 2>&5
50691 ac_status=$?
50692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50693 (exit $ac_status); }; } &&
50694 { ac_try='test -s conftest$ac_exeext'
50695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50696 (eval $ac_try) 2>&5
50697 ac_status=$?
50698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50699 (exit $ac_status); }; }; then
50700 glibcxx_cv_func___builtin_labs_link=yes
50701 else
50702 echo "$as_me: failed program was:" >&5
50703 sed 's/^/| /' conftest.$ac_ext >&5
50705 glibcxx_cv_func___builtin_labs_link=no
50707 rm -f conftest.err conftest.$ac_objext \
50708 conftest$ac_exeext conftest.$ac_ext
50713 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50714 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50716 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50718 cat >>confdefs.h <<\_ACEOF
50719 #define HAVE___BUILTIN_LABS 1
50720 _ACEOF
50728 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50729 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50730 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50731 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50732 echo $ECHO_N "(cached) $ECHO_C" >&6
50733 else
50737 ac_ext=cc
50738 ac_cpp='$CXXCPP $CPPFLAGS'
50739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50743 cat >conftest.$ac_ext <<_ACEOF
50744 /* confdefs.h. */
50745 _ACEOF
50746 cat confdefs.h >>conftest.$ac_ext
50747 cat >>conftest.$ac_ext <<_ACEOF
50748 /* end confdefs.h. */
50749 #include <math.h>
50751 main ()
50753 __builtin_sqrtf(0);
50755 return 0;
50757 _ACEOF
50758 rm -f conftest.$ac_objext
50759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50760 (eval $ac_compile) 2>conftest.er1
50761 ac_status=$?
50762 grep -v '^ *+' conftest.er1 >conftest.err
50763 rm -f conftest.er1
50764 cat conftest.err >&5
50765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50766 (exit $ac_status); } &&
50767 { ac_try='test -z "$ac_cxx_werror_flag"
50768 || test ! -s conftest.err'
50769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50770 (eval $ac_try) 2>&5
50771 ac_status=$?
50772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50773 (exit $ac_status); }; } &&
50774 { ac_try='test -s conftest.$ac_objext'
50775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50776 (eval $ac_try) 2>&5
50777 ac_status=$?
50778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50779 (exit $ac_status); }; }; then
50780 glibcxx_cv_func___builtin_sqrtf_use=yes
50781 else
50782 echo "$as_me: failed program was:" >&5
50783 sed 's/^/| /' conftest.$ac_ext >&5
50785 glibcxx_cv_func___builtin_sqrtf_use=no
50787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50788 ac_ext=c
50789 ac_cpp='$CPP $CPPFLAGS'
50790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50798 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50799 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50800 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50801 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50802 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50803 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50804 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50805 echo $ECHO_N "(cached) $ECHO_C" >&6
50806 else
50808 if test x$gcc_no_link = xyes; then
50809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50811 { (exit 1); exit 1; }; }
50813 cat >conftest.$ac_ext <<_ACEOF
50814 /* confdefs.h. */
50815 _ACEOF
50816 cat confdefs.h >>conftest.$ac_ext
50817 cat >>conftest.$ac_ext <<_ACEOF
50818 /* end confdefs.h. */
50819 #include <math.h>
50821 main ()
50823 __builtin_sqrtf(0);
50825 return 0;
50827 _ACEOF
50828 rm -f conftest.$ac_objext conftest$ac_exeext
50829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50830 (eval $ac_link) 2>conftest.er1
50831 ac_status=$?
50832 grep -v '^ *+' conftest.er1 >conftest.err
50833 rm -f conftest.er1
50834 cat conftest.err >&5
50835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50836 (exit $ac_status); } &&
50837 { ac_try='test -z "$ac_c_werror_flag"
50838 || test ! -s conftest.err'
50839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50840 (eval $ac_try) 2>&5
50841 ac_status=$?
50842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50843 (exit $ac_status); }; } &&
50844 { ac_try='test -s conftest$ac_exeext'
50845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50846 (eval $ac_try) 2>&5
50847 ac_status=$?
50848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50849 (exit $ac_status); }; }; then
50850 glibcxx_cv_func___builtin_sqrtf_link=yes
50851 else
50852 echo "$as_me: failed program was:" >&5
50853 sed 's/^/| /' conftest.$ac_ext >&5
50855 glibcxx_cv_func___builtin_sqrtf_link=no
50857 rm -f conftest.err conftest.$ac_objext \
50858 conftest$ac_exeext conftest.$ac_ext
50863 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50864 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50866 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50868 cat >>confdefs.h <<\_ACEOF
50869 #define HAVE___BUILTIN_SQRTF 1
50870 _ACEOF
50877 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50878 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50879 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50880 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50881 echo $ECHO_N "(cached) $ECHO_C" >&6
50882 else
50886 ac_ext=cc
50887 ac_cpp='$CXXCPP $CPPFLAGS'
50888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50892 cat >conftest.$ac_ext <<_ACEOF
50893 /* confdefs.h. */
50894 _ACEOF
50895 cat confdefs.h >>conftest.$ac_ext
50896 cat >>conftest.$ac_ext <<_ACEOF
50897 /* end confdefs.h. */
50898 #include <math.h>
50900 main ()
50902 __builtin_sqrt(0);
50904 return 0;
50906 _ACEOF
50907 rm -f conftest.$ac_objext
50908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50909 (eval $ac_compile) 2>conftest.er1
50910 ac_status=$?
50911 grep -v '^ *+' conftest.er1 >conftest.err
50912 rm -f conftest.er1
50913 cat conftest.err >&5
50914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50915 (exit $ac_status); } &&
50916 { ac_try='test -z "$ac_cxx_werror_flag"
50917 || test ! -s conftest.err'
50918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50919 (eval $ac_try) 2>&5
50920 ac_status=$?
50921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50922 (exit $ac_status); }; } &&
50923 { ac_try='test -s conftest.$ac_objext'
50924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50925 (eval $ac_try) 2>&5
50926 ac_status=$?
50927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50928 (exit $ac_status); }; }; then
50929 glibcxx_cv_func___builtin_sqrt_use=yes
50930 else
50931 echo "$as_me: failed program was:" >&5
50932 sed 's/^/| /' conftest.$ac_ext >&5
50934 glibcxx_cv_func___builtin_sqrt_use=no
50936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50937 ac_ext=c
50938 ac_cpp='$CPP $CPPFLAGS'
50939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50947 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
50948 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
50949 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
50950 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
50951 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
50952 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
50953 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
50954 echo $ECHO_N "(cached) $ECHO_C" >&6
50955 else
50957 if test x$gcc_no_link = xyes; then
50958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50960 { (exit 1); exit 1; }; }
50962 cat >conftest.$ac_ext <<_ACEOF
50963 /* confdefs.h. */
50964 _ACEOF
50965 cat confdefs.h >>conftest.$ac_ext
50966 cat >>conftest.$ac_ext <<_ACEOF
50967 /* end confdefs.h. */
50968 #include <math.h>
50970 main ()
50972 __builtin_sqrt(0);
50974 return 0;
50976 _ACEOF
50977 rm -f conftest.$ac_objext conftest$ac_exeext
50978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50979 (eval $ac_link) 2>conftest.er1
50980 ac_status=$?
50981 grep -v '^ *+' conftest.er1 >conftest.err
50982 rm -f conftest.er1
50983 cat conftest.err >&5
50984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50985 (exit $ac_status); } &&
50986 { ac_try='test -z "$ac_c_werror_flag"
50987 || test ! -s conftest.err'
50988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50989 (eval $ac_try) 2>&5
50990 ac_status=$?
50991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50992 (exit $ac_status); }; } &&
50993 { ac_try='test -s conftest$ac_exeext'
50994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50995 (eval $ac_try) 2>&5
50996 ac_status=$?
50997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50998 (exit $ac_status); }; }; then
50999 glibcxx_cv_func___builtin_sqrt_link=yes
51000 else
51001 echo "$as_me: failed program was:" >&5
51002 sed 's/^/| /' conftest.$ac_ext >&5
51004 glibcxx_cv_func___builtin_sqrt_link=no
51006 rm -f conftest.err conftest.$ac_objext \
51007 conftest$ac_exeext conftest.$ac_ext
51012 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
51013 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
51015 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
51017 cat >>confdefs.h <<\_ACEOF
51018 #define HAVE___BUILTIN_SQRT 1
51019 _ACEOF
51026 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
51027 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
51028 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
51029 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
51030 echo $ECHO_N "(cached) $ECHO_C" >&6
51031 else
51035 ac_ext=cc
51036 ac_cpp='$CXXCPP $CPPFLAGS'
51037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51041 cat >conftest.$ac_ext <<_ACEOF
51042 /* confdefs.h. */
51043 _ACEOF
51044 cat confdefs.h >>conftest.$ac_ext
51045 cat >>conftest.$ac_ext <<_ACEOF
51046 /* end confdefs.h. */
51047 #include <math.h>
51049 main ()
51051 __builtin_sqrtl(0);
51053 return 0;
51055 _ACEOF
51056 rm -f conftest.$ac_objext
51057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51058 (eval $ac_compile) 2>conftest.er1
51059 ac_status=$?
51060 grep -v '^ *+' conftest.er1 >conftest.err
51061 rm -f conftest.er1
51062 cat conftest.err >&5
51063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51064 (exit $ac_status); } &&
51065 { ac_try='test -z "$ac_cxx_werror_flag"
51066 || test ! -s conftest.err'
51067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51068 (eval $ac_try) 2>&5
51069 ac_status=$?
51070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51071 (exit $ac_status); }; } &&
51072 { ac_try='test -s conftest.$ac_objext'
51073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51074 (eval $ac_try) 2>&5
51075 ac_status=$?
51076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51077 (exit $ac_status); }; }; then
51078 glibcxx_cv_func___builtin_sqrtl_use=yes
51079 else
51080 echo "$as_me: failed program was:" >&5
51081 sed 's/^/| /' conftest.$ac_ext >&5
51083 glibcxx_cv_func___builtin_sqrtl_use=no
51085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51086 ac_ext=c
51087 ac_cpp='$CPP $CPPFLAGS'
51088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51096 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
51097 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51098 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51099 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51100 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51101 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51102 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
51103 echo $ECHO_N "(cached) $ECHO_C" >&6
51104 else
51106 if test x$gcc_no_link = xyes; then
51107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51109 { (exit 1); exit 1; }; }
51111 cat >conftest.$ac_ext <<_ACEOF
51112 /* confdefs.h. */
51113 _ACEOF
51114 cat confdefs.h >>conftest.$ac_ext
51115 cat >>conftest.$ac_ext <<_ACEOF
51116 /* end confdefs.h. */
51117 #include <math.h>
51119 main ()
51121 __builtin_sqrtl(0);
51123 return 0;
51125 _ACEOF
51126 rm -f conftest.$ac_objext conftest$ac_exeext
51127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51128 (eval $ac_link) 2>conftest.er1
51129 ac_status=$?
51130 grep -v '^ *+' conftest.er1 >conftest.err
51131 rm -f conftest.er1
51132 cat conftest.err >&5
51133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51134 (exit $ac_status); } &&
51135 { ac_try='test -z "$ac_c_werror_flag"
51136 || test ! -s conftest.err'
51137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51138 (eval $ac_try) 2>&5
51139 ac_status=$?
51140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51141 (exit $ac_status); }; } &&
51142 { ac_try='test -s conftest$ac_exeext'
51143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51144 (eval $ac_try) 2>&5
51145 ac_status=$?
51146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51147 (exit $ac_status); }; }; then
51148 glibcxx_cv_func___builtin_sqrtl_link=yes
51149 else
51150 echo "$as_me: failed program was:" >&5
51151 sed 's/^/| /' conftest.$ac_ext >&5
51153 glibcxx_cv_func___builtin_sqrtl_link=no
51155 rm -f conftest.err conftest.$ac_objext \
51156 conftest$ac_exeext conftest.$ac_ext
51161 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51162 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51164 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51166 cat >>confdefs.h <<\_ACEOF
51167 #define HAVE___BUILTIN_SQRTL 1
51168 _ACEOF
51176 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51177 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51178 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51179 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51180 echo $ECHO_N "(cached) $ECHO_C" >&6
51181 else
51185 ac_ext=cc
51186 ac_cpp='$CXXCPP $CPPFLAGS'
51187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51191 cat >conftest.$ac_ext <<_ACEOF
51192 /* confdefs.h. */
51193 _ACEOF
51194 cat confdefs.h >>conftest.$ac_ext
51195 cat >>conftest.$ac_ext <<_ACEOF
51196 /* end confdefs.h. */
51197 #include <math.h>
51199 main ()
51201 __builtin_sinf(0);
51203 return 0;
51205 _ACEOF
51206 rm -f conftest.$ac_objext
51207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51208 (eval $ac_compile) 2>conftest.er1
51209 ac_status=$?
51210 grep -v '^ *+' conftest.er1 >conftest.err
51211 rm -f conftest.er1
51212 cat conftest.err >&5
51213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51214 (exit $ac_status); } &&
51215 { ac_try='test -z "$ac_cxx_werror_flag"
51216 || test ! -s conftest.err'
51217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51218 (eval $ac_try) 2>&5
51219 ac_status=$?
51220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51221 (exit $ac_status); }; } &&
51222 { ac_try='test -s conftest.$ac_objext'
51223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51224 (eval $ac_try) 2>&5
51225 ac_status=$?
51226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51227 (exit $ac_status); }; }; then
51228 glibcxx_cv_func___builtin_sinf_use=yes
51229 else
51230 echo "$as_me: failed program was:" >&5
51231 sed 's/^/| /' conftest.$ac_ext >&5
51233 glibcxx_cv_func___builtin_sinf_use=no
51235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51236 ac_ext=c
51237 ac_cpp='$CPP $CPPFLAGS'
51238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51246 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51247 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51248 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51249 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51250 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51251 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51252 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51253 echo $ECHO_N "(cached) $ECHO_C" >&6
51254 else
51256 if test x$gcc_no_link = xyes; then
51257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51259 { (exit 1); exit 1; }; }
51261 cat >conftest.$ac_ext <<_ACEOF
51262 /* confdefs.h. */
51263 _ACEOF
51264 cat confdefs.h >>conftest.$ac_ext
51265 cat >>conftest.$ac_ext <<_ACEOF
51266 /* end confdefs.h. */
51267 #include <math.h>
51269 main ()
51271 __builtin_sinf(0);
51273 return 0;
51275 _ACEOF
51276 rm -f conftest.$ac_objext conftest$ac_exeext
51277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51278 (eval $ac_link) 2>conftest.er1
51279 ac_status=$?
51280 grep -v '^ *+' conftest.er1 >conftest.err
51281 rm -f conftest.er1
51282 cat conftest.err >&5
51283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51284 (exit $ac_status); } &&
51285 { ac_try='test -z "$ac_c_werror_flag"
51286 || test ! -s conftest.err'
51287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51288 (eval $ac_try) 2>&5
51289 ac_status=$?
51290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51291 (exit $ac_status); }; } &&
51292 { ac_try='test -s conftest$ac_exeext'
51293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51294 (eval $ac_try) 2>&5
51295 ac_status=$?
51296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51297 (exit $ac_status); }; }; then
51298 glibcxx_cv_func___builtin_sinf_link=yes
51299 else
51300 echo "$as_me: failed program was:" >&5
51301 sed 's/^/| /' conftest.$ac_ext >&5
51303 glibcxx_cv_func___builtin_sinf_link=no
51305 rm -f conftest.err conftest.$ac_objext \
51306 conftest$ac_exeext conftest.$ac_ext
51311 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51312 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51314 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51316 cat >>confdefs.h <<\_ACEOF
51317 #define HAVE___BUILTIN_SINF 1
51318 _ACEOF
51325 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51326 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51327 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51328 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51329 echo $ECHO_N "(cached) $ECHO_C" >&6
51330 else
51334 ac_ext=cc
51335 ac_cpp='$CXXCPP $CPPFLAGS'
51336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51340 cat >conftest.$ac_ext <<_ACEOF
51341 /* confdefs.h. */
51342 _ACEOF
51343 cat confdefs.h >>conftest.$ac_ext
51344 cat >>conftest.$ac_ext <<_ACEOF
51345 /* end confdefs.h. */
51346 #include <math.h>
51348 main ()
51350 __builtin_sin(0);
51352 return 0;
51354 _ACEOF
51355 rm -f conftest.$ac_objext
51356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51357 (eval $ac_compile) 2>conftest.er1
51358 ac_status=$?
51359 grep -v '^ *+' conftest.er1 >conftest.err
51360 rm -f conftest.er1
51361 cat conftest.err >&5
51362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51363 (exit $ac_status); } &&
51364 { ac_try='test -z "$ac_cxx_werror_flag"
51365 || test ! -s conftest.err'
51366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51367 (eval $ac_try) 2>&5
51368 ac_status=$?
51369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51370 (exit $ac_status); }; } &&
51371 { ac_try='test -s conftest.$ac_objext'
51372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51373 (eval $ac_try) 2>&5
51374 ac_status=$?
51375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51376 (exit $ac_status); }; }; then
51377 glibcxx_cv_func___builtin_sin_use=yes
51378 else
51379 echo "$as_me: failed program was:" >&5
51380 sed 's/^/| /' conftest.$ac_ext >&5
51382 glibcxx_cv_func___builtin_sin_use=no
51384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51385 ac_ext=c
51386 ac_cpp='$CPP $CPPFLAGS'
51387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51395 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51396 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51397 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51398 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51399 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51400 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51401 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51402 echo $ECHO_N "(cached) $ECHO_C" >&6
51403 else
51405 if test x$gcc_no_link = xyes; then
51406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51408 { (exit 1); exit 1; }; }
51410 cat >conftest.$ac_ext <<_ACEOF
51411 /* confdefs.h. */
51412 _ACEOF
51413 cat confdefs.h >>conftest.$ac_ext
51414 cat >>conftest.$ac_ext <<_ACEOF
51415 /* end confdefs.h. */
51416 #include <math.h>
51418 main ()
51420 __builtin_sin(0);
51422 return 0;
51424 _ACEOF
51425 rm -f conftest.$ac_objext conftest$ac_exeext
51426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51427 (eval $ac_link) 2>conftest.er1
51428 ac_status=$?
51429 grep -v '^ *+' conftest.er1 >conftest.err
51430 rm -f conftest.er1
51431 cat conftest.err >&5
51432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51433 (exit $ac_status); } &&
51434 { ac_try='test -z "$ac_c_werror_flag"
51435 || test ! -s conftest.err'
51436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51437 (eval $ac_try) 2>&5
51438 ac_status=$?
51439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51440 (exit $ac_status); }; } &&
51441 { ac_try='test -s conftest$ac_exeext'
51442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51443 (eval $ac_try) 2>&5
51444 ac_status=$?
51445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51446 (exit $ac_status); }; }; then
51447 glibcxx_cv_func___builtin_sin_link=yes
51448 else
51449 echo "$as_me: failed program was:" >&5
51450 sed 's/^/| /' conftest.$ac_ext >&5
51452 glibcxx_cv_func___builtin_sin_link=no
51454 rm -f conftest.err conftest.$ac_objext \
51455 conftest$ac_exeext conftest.$ac_ext
51460 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51461 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51463 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51465 cat >>confdefs.h <<\_ACEOF
51466 #define HAVE___BUILTIN_SIN 1
51467 _ACEOF
51474 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51475 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51476 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51477 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51478 echo $ECHO_N "(cached) $ECHO_C" >&6
51479 else
51483 ac_ext=cc
51484 ac_cpp='$CXXCPP $CPPFLAGS'
51485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51489 cat >conftest.$ac_ext <<_ACEOF
51490 /* confdefs.h. */
51491 _ACEOF
51492 cat confdefs.h >>conftest.$ac_ext
51493 cat >>conftest.$ac_ext <<_ACEOF
51494 /* end confdefs.h. */
51495 #include <math.h>
51497 main ()
51499 __builtin_sinl(0);
51501 return 0;
51503 _ACEOF
51504 rm -f conftest.$ac_objext
51505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51506 (eval $ac_compile) 2>conftest.er1
51507 ac_status=$?
51508 grep -v '^ *+' conftest.er1 >conftest.err
51509 rm -f conftest.er1
51510 cat conftest.err >&5
51511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51512 (exit $ac_status); } &&
51513 { ac_try='test -z "$ac_cxx_werror_flag"
51514 || test ! -s conftest.err'
51515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51516 (eval $ac_try) 2>&5
51517 ac_status=$?
51518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51519 (exit $ac_status); }; } &&
51520 { ac_try='test -s conftest.$ac_objext'
51521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51522 (eval $ac_try) 2>&5
51523 ac_status=$?
51524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51525 (exit $ac_status); }; }; then
51526 glibcxx_cv_func___builtin_sinl_use=yes
51527 else
51528 echo "$as_me: failed program was:" >&5
51529 sed 's/^/| /' conftest.$ac_ext >&5
51531 glibcxx_cv_func___builtin_sinl_use=no
51533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51534 ac_ext=c
51535 ac_cpp='$CPP $CPPFLAGS'
51536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51544 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51545 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51546 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51547 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51548 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51549 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51550 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51551 echo $ECHO_N "(cached) $ECHO_C" >&6
51552 else
51554 if test x$gcc_no_link = xyes; then
51555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51557 { (exit 1); exit 1; }; }
51559 cat >conftest.$ac_ext <<_ACEOF
51560 /* confdefs.h. */
51561 _ACEOF
51562 cat confdefs.h >>conftest.$ac_ext
51563 cat >>conftest.$ac_ext <<_ACEOF
51564 /* end confdefs.h. */
51565 #include <math.h>
51567 main ()
51569 __builtin_sinl(0);
51571 return 0;
51573 _ACEOF
51574 rm -f conftest.$ac_objext conftest$ac_exeext
51575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51576 (eval $ac_link) 2>conftest.er1
51577 ac_status=$?
51578 grep -v '^ *+' conftest.er1 >conftest.err
51579 rm -f conftest.er1
51580 cat conftest.err >&5
51581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51582 (exit $ac_status); } &&
51583 { ac_try='test -z "$ac_c_werror_flag"
51584 || test ! -s conftest.err'
51585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51586 (eval $ac_try) 2>&5
51587 ac_status=$?
51588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51589 (exit $ac_status); }; } &&
51590 { ac_try='test -s conftest$ac_exeext'
51591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51592 (eval $ac_try) 2>&5
51593 ac_status=$?
51594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51595 (exit $ac_status); }; }; then
51596 glibcxx_cv_func___builtin_sinl_link=yes
51597 else
51598 echo "$as_me: failed program was:" >&5
51599 sed 's/^/| /' conftest.$ac_ext >&5
51601 glibcxx_cv_func___builtin_sinl_link=no
51603 rm -f conftest.err conftest.$ac_objext \
51604 conftest$ac_exeext conftest.$ac_ext
51609 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51610 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51612 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51614 cat >>confdefs.h <<\_ACEOF
51615 #define HAVE___BUILTIN_SINL 1
51616 _ACEOF
51624 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51625 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51626 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51627 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51628 echo $ECHO_N "(cached) $ECHO_C" >&6
51629 else
51633 ac_ext=cc
51634 ac_cpp='$CXXCPP $CPPFLAGS'
51635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51639 cat >conftest.$ac_ext <<_ACEOF
51640 /* confdefs.h. */
51641 _ACEOF
51642 cat confdefs.h >>conftest.$ac_ext
51643 cat >>conftest.$ac_ext <<_ACEOF
51644 /* end confdefs.h. */
51645 #include <math.h>
51647 main ()
51649 __builtin_cosf(0);
51651 return 0;
51653 _ACEOF
51654 rm -f conftest.$ac_objext
51655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51656 (eval $ac_compile) 2>conftest.er1
51657 ac_status=$?
51658 grep -v '^ *+' conftest.er1 >conftest.err
51659 rm -f conftest.er1
51660 cat conftest.err >&5
51661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51662 (exit $ac_status); } &&
51663 { ac_try='test -z "$ac_cxx_werror_flag"
51664 || test ! -s conftest.err'
51665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51666 (eval $ac_try) 2>&5
51667 ac_status=$?
51668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51669 (exit $ac_status); }; } &&
51670 { ac_try='test -s conftest.$ac_objext'
51671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51672 (eval $ac_try) 2>&5
51673 ac_status=$?
51674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51675 (exit $ac_status); }; }; then
51676 glibcxx_cv_func___builtin_cosf_use=yes
51677 else
51678 echo "$as_me: failed program was:" >&5
51679 sed 's/^/| /' conftest.$ac_ext >&5
51681 glibcxx_cv_func___builtin_cosf_use=no
51683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51684 ac_ext=c
51685 ac_cpp='$CPP $CPPFLAGS'
51686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51694 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51695 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51696 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51697 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51698 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51699 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51700 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51701 echo $ECHO_N "(cached) $ECHO_C" >&6
51702 else
51704 if test x$gcc_no_link = xyes; then
51705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51707 { (exit 1); exit 1; }; }
51709 cat >conftest.$ac_ext <<_ACEOF
51710 /* confdefs.h. */
51711 _ACEOF
51712 cat confdefs.h >>conftest.$ac_ext
51713 cat >>conftest.$ac_ext <<_ACEOF
51714 /* end confdefs.h. */
51715 #include <math.h>
51717 main ()
51719 __builtin_cosf(0);
51721 return 0;
51723 _ACEOF
51724 rm -f conftest.$ac_objext conftest$ac_exeext
51725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51726 (eval $ac_link) 2>conftest.er1
51727 ac_status=$?
51728 grep -v '^ *+' conftest.er1 >conftest.err
51729 rm -f conftest.er1
51730 cat conftest.err >&5
51731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51732 (exit $ac_status); } &&
51733 { ac_try='test -z "$ac_c_werror_flag"
51734 || test ! -s conftest.err'
51735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51736 (eval $ac_try) 2>&5
51737 ac_status=$?
51738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51739 (exit $ac_status); }; } &&
51740 { ac_try='test -s conftest$ac_exeext'
51741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51742 (eval $ac_try) 2>&5
51743 ac_status=$?
51744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51745 (exit $ac_status); }; }; then
51746 glibcxx_cv_func___builtin_cosf_link=yes
51747 else
51748 echo "$as_me: failed program was:" >&5
51749 sed 's/^/| /' conftest.$ac_ext >&5
51751 glibcxx_cv_func___builtin_cosf_link=no
51753 rm -f conftest.err conftest.$ac_objext \
51754 conftest$ac_exeext conftest.$ac_ext
51759 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51760 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51762 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51764 cat >>confdefs.h <<\_ACEOF
51765 #define HAVE___BUILTIN_COSF 1
51766 _ACEOF
51773 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51774 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51775 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51776 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51777 echo $ECHO_N "(cached) $ECHO_C" >&6
51778 else
51782 ac_ext=cc
51783 ac_cpp='$CXXCPP $CPPFLAGS'
51784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51788 cat >conftest.$ac_ext <<_ACEOF
51789 /* confdefs.h. */
51790 _ACEOF
51791 cat confdefs.h >>conftest.$ac_ext
51792 cat >>conftest.$ac_ext <<_ACEOF
51793 /* end confdefs.h. */
51794 #include <math.h>
51796 main ()
51798 __builtin_cos(0);
51800 return 0;
51802 _ACEOF
51803 rm -f conftest.$ac_objext
51804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51805 (eval $ac_compile) 2>conftest.er1
51806 ac_status=$?
51807 grep -v '^ *+' conftest.er1 >conftest.err
51808 rm -f conftest.er1
51809 cat conftest.err >&5
51810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51811 (exit $ac_status); } &&
51812 { ac_try='test -z "$ac_cxx_werror_flag"
51813 || test ! -s conftest.err'
51814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51815 (eval $ac_try) 2>&5
51816 ac_status=$?
51817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51818 (exit $ac_status); }; } &&
51819 { ac_try='test -s conftest.$ac_objext'
51820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51821 (eval $ac_try) 2>&5
51822 ac_status=$?
51823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51824 (exit $ac_status); }; }; then
51825 glibcxx_cv_func___builtin_cos_use=yes
51826 else
51827 echo "$as_me: failed program was:" >&5
51828 sed 's/^/| /' conftest.$ac_ext >&5
51830 glibcxx_cv_func___builtin_cos_use=no
51832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51833 ac_ext=c
51834 ac_cpp='$CPP $CPPFLAGS'
51835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51843 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51844 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51845 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51846 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51847 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51848 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51849 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51850 echo $ECHO_N "(cached) $ECHO_C" >&6
51851 else
51853 if test x$gcc_no_link = xyes; then
51854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51856 { (exit 1); exit 1; }; }
51858 cat >conftest.$ac_ext <<_ACEOF
51859 /* confdefs.h. */
51860 _ACEOF
51861 cat confdefs.h >>conftest.$ac_ext
51862 cat >>conftest.$ac_ext <<_ACEOF
51863 /* end confdefs.h. */
51864 #include <math.h>
51866 main ()
51868 __builtin_cos(0);
51870 return 0;
51872 _ACEOF
51873 rm -f conftest.$ac_objext conftest$ac_exeext
51874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51875 (eval $ac_link) 2>conftest.er1
51876 ac_status=$?
51877 grep -v '^ *+' conftest.er1 >conftest.err
51878 rm -f conftest.er1
51879 cat conftest.err >&5
51880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51881 (exit $ac_status); } &&
51882 { ac_try='test -z "$ac_c_werror_flag"
51883 || test ! -s conftest.err'
51884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51885 (eval $ac_try) 2>&5
51886 ac_status=$?
51887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51888 (exit $ac_status); }; } &&
51889 { ac_try='test -s conftest$ac_exeext'
51890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51891 (eval $ac_try) 2>&5
51892 ac_status=$?
51893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51894 (exit $ac_status); }; }; then
51895 glibcxx_cv_func___builtin_cos_link=yes
51896 else
51897 echo "$as_me: failed program was:" >&5
51898 sed 's/^/| /' conftest.$ac_ext >&5
51900 glibcxx_cv_func___builtin_cos_link=no
51902 rm -f conftest.err conftest.$ac_objext \
51903 conftest$ac_exeext conftest.$ac_ext
51908 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
51909 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
51911 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
51913 cat >>confdefs.h <<\_ACEOF
51914 #define HAVE___BUILTIN_COS 1
51915 _ACEOF
51922 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
51923 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
51924 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
51925 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
51926 echo $ECHO_N "(cached) $ECHO_C" >&6
51927 else
51931 ac_ext=cc
51932 ac_cpp='$CXXCPP $CPPFLAGS'
51933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51937 cat >conftest.$ac_ext <<_ACEOF
51938 /* confdefs.h. */
51939 _ACEOF
51940 cat confdefs.h >>conftest.$ac_ext
51941 cat >>conftest.$ac_ext <<_ACEOF
51942 /* end confdefs.h. */
51943 #include <math.h>
51945 main ()
51947 __builtin_cosl(0);
51949 return 0;
51951 _ACEOF
51952 rm -f conftest.$ac_objext
51953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51954 (eval $ac_compile) 2>conftest.er1
51955 ac_status=$?
51956 grep -v '^ *+' conftest.er1 >conftest.err
51957 rm -f conftest.er1
51958 cat conftest.err >&5
51959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51960 (exit $ac_status); } &&
51961 { ac_try='test -z "$ac_cxx_werror_flag"
51962 || test ! -s conftest.err'
51963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51964 (eval $ac_try) 2>&5
51965 ac_status=$?
51966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51967 (exit $ac_status); }; } &&
51968 { ac_try='test -s conftest.$ac_objext'
51969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51970 (eval $ac_try) 2>&5
51971 ac_status=$?
51972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51973 (exit $ac_status); }; }; then
51974 glibcxx_cv_func___builtin_cosl_use=yes
51975 else
51976 echo "$as_me: failed program was:" >&5
51977 sed 's/^/| /' conftest.$ac_ext >&5
51979 glibcxx_cv_func___builtin_cosl_use=no
51981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51982 ac_ext=c
51983 ac_cpp='$CPP $CPPFLAGS'
51984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51992 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
51993 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
51994 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
51995 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
51996 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
51997 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
51998 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
51999 echo $ECHO_N "(cached) $ECHO_C" >&6
52000 else
52002 if test x$gcc_no_link = xyes; then
52003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52005 { (exit 1); exit 1; }; }
52007 cat >conftest.$ac_ext <<_ACEOF
52008 /* confdefs.h. */
52009 _ACEOF
52010 cat confdefs.h >>conftest.$ac_ext
52011 cat >>conftest.$ac_ext <<_ACEOF
52012 /* end confdefs.h. */
52013 #include <math.h>
52015 main ()
52017 __builtin_cosl(0);
52019 return 0;
52021 _ACEOF
52022 rm -f conftest.$ac_objext conftest$ac_exeext
52023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52024 (eval $ac_link) 2>conftest.er1
52025 ac_status=$?
52026 grep -v '^ *+' conftest.er1 >conftest.err
52027 rm -f conftest.er1
52028 cat conftest.err >&5
52029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52030 (exit $ac_status); } &&
52031 { ac_try='test -z "$ac_c_werror_flag"
52032 || test ! -s conftest.err'
52033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52034 (eval $ac_try) 2>&5
52035 ac_status=$?
52036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52037 (exit $ac_status); }; } &&
52038 { ac_try='test -s conftest$ac_exeext'
52039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52040 (eval $ac_try) 2>&5
52041 ac_status=$?
52042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52043 (exit $ac_status); }; }; then
52044 glibcxx_cv_func___builtin_cosl_link=yes
52045 else
52046 echo "$as_me: failed program was:" >&5
52047 sed 's/^/| /' conftest.$ac_ext >&5
52049 glibcxx_cv_func___builtin_cosl_link=no
52051 rm -f conftest.err conftest.$ac_objext \
52052 conftest$ac_exeext conftest.$ac_ext
52057 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
52058 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
52060 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
52062 cat >>confdefs.h <<\_ACEOF
52063 #define HAVE___BUILTIN_COSL 1
52064 _ACEOF
52073 echo "$as_me:$LINENO: checking for main in -lm" >&5
52074 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
52075 if test "${ac_cv_lib_m_main+set}" = set; then
52076 echo $ECHO_N "(cached) $ECHO_C" >&6
52077 else
52078 ac_check_lib_save_LIBS=$LIBS
52079 LIBS="-lm $LIBS"
52080 if test x$gcc_no_link = xyes; then
52081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52083 { (exit 1); exit 1; }; }
52085 cat >conftest.$ac_ext <<_ACEOF
52086 /* confdefs.h. */
52087 _ACEOF
52088 cat confdefs.h >>conftest.$ac_ext
52089 cat >>conftest.$ac_ext <<_ACEOF
52090 /* end confdefs.h. */
52094 main ()
52096 main ();
52098 return 0;
52100 _ACEOF
52101 rm -f conftest.$ac_objext conftest$ac_exeext
52102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52103 (eval $ac_link) 2>conftest.er1
52104 ac_status=$?
52105 grep -v '^ *+' conftest.er1 >conftest.err
52106 rm -f conftest.er1
52107 cat conftest.err >&5
52108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52109 (exit $ac_status); } &&
52110 { ac_try='test -z "$ac_c_werror_flag"
52111 || test ! -s conftest.err'
52112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52113 (eval $ac_try) 2>&5
52114 ac_status=$?
52115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52116 (exit $ac_status); }; } &&
52117 { ac_try='test -s conftest$ac_exeext'
52118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52119 (eval $ac_try) 2>&5
52120 ac_status=$?
52121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52122 (exit $ac_status); }; }; then
52123 ac_cv_lib_m_main=yes
52124 else
52125 echo "$as_me: failed program was:" >&5
52126 sed 's/^/| /' conftest.$ac_ext >&5
52128 ac_cv_lib_m_main=no
52130 rm -f conftest.err conftest.$ac_objext \
52131 conftest$ac_exeext conftest.$ac_ext
52132 LIBS=$ac_check_lib_save_LIBS
52134 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52135 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52136 if test $ac_cv_lib_m_main = yes; then
52137 cat >>confdefs.h <<_ACEOF
52138 #define HAVE_LIBM 1
52139 _ACEOF
52141 LIBS="-lm $LIBS"
52146 for ac_func in copysignf
52148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52149 echo "$as_me:$LINENO: checking for $ac_func" >&5
52150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52151 if eval "test \"\${$as_ac_var+set}\" = set"; then
52152 echo $ECHO_N "(cached) $ECHO_C" >&6
52153 else
52154 if test x$gcc_no_link = xyes; then
52155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52157 { (exit 1); exit 1; }; }
52159 cat >conftest.$ac_ext <<_ACEOF
52160 /* confdefs.h. */
52161 _ACEOF
52162 cat confdefs.h >>conftest.$ac_ext
52163 cat >>conftest.$ac_ext <<_ACEOF
52164 /* end confdefs.h. */
52165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52167 #define $ac_func innocuous_$ac_func
52169 /* System header to define __stub macros and hopefully few prototypes,
52170 which can conflict with char $ac_func (); below.
52171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52172 <limits.h> exists even on freestanding compilers. */
52174 #ifdef __STDC__
52175 # include <limits.h>
52176 #else
52177 # include <assert.h>
52178 #endif
52180 #undef $ac_func
52182 /* Override any gcc2 internal prototype to avoid an error. */
52183 #ifdef __cplusplus
52184 extern "C"
52186 #endif
52187 /* We use char because int might match the return type of a gcc2
52188 builtin and then its argument prototype would still apply. */
52189 char $ac_func ();
52190 /* The GNU C library defines this for functions which it implements
52191 to always fail with ENOSYS. Some functions are actually named
52192 something starting with __ and the normal name is an alias. */
52193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52194 choke me
52195 #else
52196 char (*f) () = $ac_func;
52197 #endif
52198 #ifdef __cplusplus
52200 #endif
52203 main ()
52205 return f != $ac_func;
52207 return 0;
52209 _ACEOF
52210 rm -f conftest.$ac_objext conftest$ac_exeext
52211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52212 (eval $ac_link) 2>conftest.er1
52213 ac_status=$?
52214 grep -v '^ *+' conftest.er1 >conftest.err
52215 rm -f conftest.er1
52216 cat conftest.err >&5
52217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52218 (exit $ac_status); } &&
52219 { ac_try='test -z "$ac_c_werror_flag"
52220 || test ! -s conftest.err'
52221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52222 (eval $ac_try) 2>&5
52223 ac_status=$?
52224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52225 (exit $ac_status); }; } &&
52226 { ac_try='test -s conftest$ac_exeext'
52227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52228 (eval $ac_try) 2>&5
52229 ac_status=$?
52230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52231 (exit $ac_status); }; }; then
52232 eval "$as_ac_var=yes"
52233 else
52234 echo "$as_me: failed program was:" >&5
52235 sed 's/^/| /' conftest.$ac_ext >&5
52237 eval "$as_ac_var=no"
52239 rm -f conftest.err conftest.$ac_objext \
52240 conftest$ac_exeext conftest.$ac_ext
52242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52244 if test `eval echo '${'$as_ac_var'}'` = yes; then
52245 cat >>confdefs.h <<_ACEOF
52246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52247 _ACEOF
52249 else
52250 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52252 done
52256 for ac_func in __signbit
52258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52259 echo "$as_me:$LINENO: checking for $ac_func" >&5
52260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52261 if eval "test \"\${$as_ac_var+set}\" = set"; then
52262 echo $ECHO_N "(cached) $ECHO_C" >&6
52263 else
52264 if test x$gcc_no_link = xyes; then
52265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52267 { (exit 1); exit 1; }; }
52269 cat >conftest.$ac_ext <<_ACEOF
52270 /* confdefs.h. */
52271 _ACEOF
52272 cat confdefs.h >>conftest.$ac_ext
52273 cat >>conftest.$ac_ext <<_ACEOF
52274 /* end confdefs.h. */
52275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52277 #define $ac_func innocuous_$ac_func
52279 /* System header to define __stub macros and hopefully few prototypes,
52280 which can conflict with char $ac_func (); below.
52281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52282 <limits.h> exists even on freestanding compilers. */
52284 #ifdef __STDC__
52285 # include <limits.h>
52286 #else
52287 # include <assert.h>
52288 #endif
52290 #undef $ac_func
52292 /* Override any gcc2 internal prototype to avoid an error. */
52293 #ifdef __cplusplus
52294 extern "C"
52296 #endif
52297 /* We use char because int might match the return type of a gcc2
52298 builtin and then its argument prototype would still apply. */
52299 char $ac_func ();
52300 /* The GNU C library defines this for functions which it implements
52301 to always fail with ENOSYS. Some functions are actually named
52302 something starting with __ and the normal name is an alias. */
52303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52304 choke me
52305 #else
52306 char (*f) () = $ac_func;
52307 #endif
52308 #ifdef __cplusplus
52310 #endif
52313 main ()
52315 return f != $ac_func;
52317 return 0;
52319 _ACEOF
52320 rm -f conftest.$ac_objext conftest$ac_exeext
52321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52322 (eval $ac_link) 2>conftest.er1
52323 ac_status=$?
52324 grep -v '^ *+' conftest.er1 >conftest.err
52325 rm -f conftest.er1
52326 cat conftest.err >&5
52327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52328 (exit $ac_status); } &&
52329 { ac_try='test -z "$ac_c_werror_flag"
52330 || test ! -s conftest.err'
52331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52332 (eval $ac_try) 2>&5
52333 ac_status=$?
52334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52335 (exit $ac_status); }; } &&
52336 { ac_try='test -s conftest$ac_exeext'
52337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52338 (eval $ac_try) 2>&5
52339 ac_status=$?
52340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52341 (exit $ac_status); }; }; then
52342 eval "$as_ac_var=yes"
52343 else
52344 echo "$as_me: failed program was:" >&5
52345 sed 's/^/| /' conftest.$ac_ext >&5
52347 eval "$as_ac_var=no"
52349 rm -f conftest.err conftest.$ac_objext \
52350 conftest$ac_exeext conftest.$ac_ext
52352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52354 if test `eval echo '${'$as_ac_var'}'` = yes; then
52355 cat >>confdefs.h <<_ACEOF
52356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52357 _ACEOF
52359 else
52360 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52362 done
52366 for ac_func in __signbitf
52368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52369 echo "$as_me:$LINENO: checking for $ac_func" >&5
52370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52371 if eval "test \"\${$as_ac_var+set}\" = set"; then
52372 echo $ECHO_N "(cached) $ECHO_C" >&6
52373 else
52374 if test x$gcc_no_link = xyes; then
52375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52377 { (exit 1); exit 1; }; }
52379 cat >conftest.$ac_ext <<_ACEOF
52380 /* confdefs.h. */
52381 _ACEOF
52382 cat confdefs.h >>conftest.$ac_ext
52383 cat >>conftest.$ac_ext <<_ACEOF
52384 /* end confdefs.h. */
52385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52387 #define $ac_func innocuous_$ac_func
52389 /* System header to define __stub macros and hopefully few prototypes,
52390 which can conflict with char $ac_func (); below.
52391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52392 <limits.h> exists even on freestanding compilers. */
52394 #ifdef __STDC__
52395 # include <limits.h>
52396 #else
52397 # include <assert.h>
52398 #endif
52400 #undef $ac_func
52402 /* Override any gcc2 internal prototype to avoid an error. */
52403 #ifdef __cplusplus
52404 extern "C"
52406 #endif
52407 /* We use char because int might match the return type of a gcc2
52408 builtin and then its argument prototype would still apply. */
52409 char $ac_func ();
52410 /* The GNU C library defines this for functions which it implements
52411 to always fail with ENOSYS. Some functions are actually named
52412 something starting with __ and the normal name is an alias. */
52413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52414 choke me
52415 #else
52416 char (*f) () = $ac_func;
52417 #endif
52418 #ifdef __cplusplus
52420 #endif
52423 main ()
52425 return f != $ac_func;
52427 return 0;
52429 _ACEOF
52430 rm -f conftest.$ac_objext conftest$ac_exeext
52431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52432 (eval $ac_link) 2>conftest.er1
52433 ac_status=$?
52434 grep -v '^ *+' conftest.er1 >conftest.err
52435 rm -f conftest.er1
52436 cat conftest.err >&5
52437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52438 (exit $ac_status); } &&
52439 { ac_try='test -z "$ac_c_werror_flag"
52440 || test ! -s conftest.err'
52441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52442 (eval $ac_try) 2>&5
52443 ac_status=$?
52444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52445 (exit $ac_status); }; } &&
52446 { ac_try='test -s conftest$ac_exeext'
52447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52448 (eval $ac_try) 2>&5
52449 ac_status=$?
52450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52451 (exit $ac_status); }; }; then
52452 eval "$as_ac_var=yes"
52453 else
52454 echo "$as_me: failed program was:" >&5
52455 sed 's/^/| /' conftest.$ac_ext >&5
52457 eval "$as_ac_var=no"
52459 rm -f conftest.err conftest.$ac_objext \
52460 conftest$ac_exeext conftest.$ac_ext
52462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52464 if test `eval echo '${'$as_ac_var'}'` = yes; then
52465 cat >>confdefs.h <<_ACEOF
52466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52467 _ACEOF
52469 else
52470 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52472 done
52475 if test x$ac_cv_func_copysignl = x"yes"; then
52477 for ac_func in __signbitl
52479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52480 echo "$as_me:$LINENO: checking for $ac_func" >&5
52481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52482 if eval "test \"\${$as_ac_var+set}\" = set"; then
52483 echo $ECHO_N "(cached) $ECHO_C" >&6
52484 else
52485 if test x$gcc_no_link = xyes; then
52486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52488 { (exit 1); exit 1; }; }
52490 cat >conftest.$ac_ext <<_ACEOF
52491 /* confdefs.h. */
52492 _ACEOF
52493 cat confdefs.h >>conftest.$ac_ext
52494 cat >>conftest.$ac_ext <<_ACEOF
52495 /* end confdefs.h. */
52496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52498 #define $ac_func innocuous_$ac_func
52500 /* System header to define __stub macros and hopefully few prototypes,
52501 which can conflict with char $ac_func (); below.
52502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52503 <limits.h> exists even on freestanding compilers. */
52505 #ifdef __STDC__
52506 # include <limits.h>
52507 #else
52508 # include <assert.h>
52509 #endif
52511 #undef $ac_func
52513 /* Override any gcc2 internal prototype to avoid an error. */
52514 #ifdef __cplusplus
52515 extern "C"
52517 #endif
52518 /* We use char because int might match the return type of a gcc2
52519 builtin and then its argument prototype would still apply. */
52520 char $ac_func ();
52521 /* The GNU C library defines this for functions which it implements
52522 to always fail with ENOSYS. Some functions are actually named
52523 something starting with __ and the normal name is an alias. */
52524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52525 choke me
52526 #else
52527 char (*f) () = $ac_func;
52528 #endif
52529 #ifdef __cplusplus
52531 #endif
52534 main ()
52536 return f != $ac_func;
52538 return 0;
52540 _ACEOF
52541 rm -f conftest.$ac_objext conftest$ac_exeext
52542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52543 (eval $ac_link) 2>conftest.er1
52544 ac_status=$?
52545 grep -v '^ *+' conftest.er1 >conftest.err
52546 rm -f conftest.er1
52547 cat conftest.err >&5
52548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52549 (exit $ac_status); } &&
52550 { ac_try='test -z "$ac_c_werror_flag"
52551 || test ! -s conftest.err'
52552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52553 (eval $ac_try) 2>&5
52554 ac_status=$?
52555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52556 (exit $ac_status); }; } &&
52557 { ac_try='test -s conftest$ac_exeext'
52558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52559 (eval $ac_try) 2>&5
52560 ac_status=$?
52561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52562 (exit $ac_status); }; }; then
52563 eval "$as_ac_var=yes"
52564 else
52565 echo "$as_me: failed program was:" >&5
52566 sed 's/^/| /' conftest.$ac_ext >&5
52568 eval "$as_ac_var=no"
52570 rm -f conftest.err conftest.$ac_objext \
52571 conftest$ac_exeext conftest.$ac_ext
52573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52575 if test `eval echo '${'$as_ac_var'}'` = yes; then
52576 cat >>confdefs.h <<_ACEOF
52577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52578 _ACEOF
52580 else
52581 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52583 done
52587 # Used in libmath/Makefile.am.
52588 if test -n "$LIBMATHOBJS"; then
52589 need_libmath=yes
52595 enable_iconv=no
52596 # Only continue checking if the ISO C99 headers exist and support is on.
52597 if test x"$enable_wchar_t" = xyes; then
52599 # Use iconv for wchar_t to char conversions. As such, check for
52600 # X/Open Portability Guide, version 2 features (XPG2).
52601 if test "${ac_cv_header_iconv_h+set}" = set; then
52602 echo "$as_me:$LINENO: checking for iconv.h" >&5
52603 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52604 if test "${ac_cv_header_iconv_h+set}" = set; then
52605 echo $ECHO_N "(cached) $ECHO_C" >&6
52607 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52608 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52609 else
52610 # Is the header compilable?
52611 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52612 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52613 cat >conftest.$ac_ext <<_ACEOF
52614 /* confdefs.h. */
52615 _ACEOF
52616 cat confdefs.h >>conftest.$ac_ext
52617 cat >>conftest.$ac_ext <<_ACEOF
52618 /* end confdefs.h. */
52619 $ac_includes_default
52620 #include <iconv.h>
52621 _ACEOF
52622 rm -f conftest.$ac_objext
52623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52624 (eval $ac_compile) 2>conftest.er1
52625 ac_status=$?
52626 grep -v '^ *+' conftest.er1 >conftest.err
52627 rm -f conftest.er1
52628 cat conftest.err >&5
52629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52630 (exit $ac_status); } &&
52631 { ac_try='test -z "$ac_c_werror_flag"
52632 || test ! -s conftest.err'
52633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52634 (eval $ac_try) 2>&5
52635 ac_status=$?
52636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52637 (exit $ac_status); }; } &&
52638 { ac_try='test -s conftest.$ac_objext'
52639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52640 (eval $ac_try) 2>&5
52641 ac_status=$?
52642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52643 (exit $ac_status); }; }; then
52644 ac_header_compiler=yes
52645 else
52646 echo "$as_me: failed program was:" >&5
52647 sed 's/^/| /' conftest.$ac_ext >&5
52649 ac_header_compiler=no
52651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52653 echo "${ECHO_T}$ac_header_compiler" >&6
52655 # Is the header present?
52656 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52657 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52658 cat >conftest.$ac_ext <<_ACEOF
52659 /* confdefs.h. */
52660 _ACEOF
52661 cat confdefs.h >>conftest.$ac_ext
52662 cat >>conftest.$ac_ext <<_ACEOF
52663 /* end confdefs.h. */
52664 #include <iconv.h>
52665 _ACEOF
52666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52667 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52668 ac_status=$?
52669 grep -v '^ *+' conftest.er1 >conftest.err
52670 rm -f conftest.er1
52671 cat conftest.err >&5
52672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52673 (exit $ac_status); } >/dev/null; then
52674 if test -s conftest.err; then
52675 ac_cpp_err=$ac_c_preproc_warn_flag
52676 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52677 else
52678 ac_cpp_err=
52680 else
52681 ac_cpp_err=yes
52683 if test -z "$ac_cpp_err"; then
52684 ac_header_preproc=yes
52685 else
52686 echo "$as_me: failed program was:" >&5
52687 sed 's/^/| /' conftest.$ac_ext >&5
52689 ac_header_preproc=no
52691 rm -f conftest.err conftest.$ac_ext
52692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52693 echo "${ECHO_T}$ac_header_preproc" >&6
52695 # So? What about this header?
52696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52697 yes:no: )
52698 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52699 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52700 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
52701 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
52702 ac_header_preproc=yes
52704 no:yes:* )
52705 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52706 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52707 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52708 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52709 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
52710 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
52711 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
52712 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
52713 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52714 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52715 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
52716 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
52718 cat <<\_ASBOX
52719 ## ----------------------------------------- ##
52720 ## Report this to the package-unused lists. ##
52721 ## ----------------------------------------- ##
52722 _ASBOX
52724 sed "s/^/$as_me: WARNING: /" >&2
52726 esac
52727 echo "$as_me:$LINENO: checking for iconv.h" >&5
52728 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52729 if test "${ac_cv_header_iconv_h+set}" = set; then
52730 echo $ECHO_N "(cached) $ECHO_C" >&6
52731 else
52732 ac_cv_header_iconv_h=$ac_header_preproc
52734 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52735 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52738 if test $ac_cv_header_iconv_h = yes; then
52739 ac_has_iconv_h=yes
52740 else
52741 ac_has_iconv_h=no
52745 if test "${ac_cv_header_langinfo_h+set}" = set; then
52746 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52747 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52748 if test "${ac_cv_header_langinfo_h+set}" = set; then
52749 echo $ECHO_N "(cached) $ECHO_C" >&6
52751 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52752 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52753 else
52754 # Is the header compilable?
52755 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52756 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52757 cat >conftest.$ac_ext <<_ACEOF
52758 /* confdefs.h. */
52759 _ACEOF
52760 cat confdefs.h >>conftest.$ac_ext
52761 cat >>conftest.$ac_ext <<_ACEOF
52762 /* end confdefs.h. */
52763 $ac_includes_default
52764 #include <langinfo.h>
52765 _ACEOF
52766 rm -f conftest.$ac_objext
52767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52768 (eval $ac_compile) 2>conftest.er1
52769 ac_status=$?
52770 grep -v '^ *+' conftest.er1 >conftest.err
52771 rm -f conftest.er1
52772 cat conftest.err >&5
52773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52774 (exit $ac_status); } &&
52775 { ac_try='test -z "$ac_c_werror_flag"
52776 || test ! -s conftest.err'
52777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52778 (eval $ac_try) 2>&5
52779 ac_status=$?
52780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52781 (exit $ac_status); }; } &&
52782 { ac_try='test -s conftest.$ac_objext'
52783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52784 (eval $ac_try) 2>&5
52785 ac_status=$?
52786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52787 (exit $ac_status); }; }; then
52788 ac_header_compiler=yes
52789 else
52790 echo "$as_me: failed program was:" >&5
52791 sed 's/^/| /' conftest.$ac_ext >&5
52793 ac_header_compiler=no
52795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52797 echo "${ECHO_T}$ac_header_compiler" >&6
52799 # Is the header present?
52800 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52801 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52802 cat >conftest.$ac_ext <<_ACEOF
52803 /* confdefs.h. */
52804 _ACEOF
52805 cat confdefs.h >>conftest.$ac_ext
52806 cat >>conftest.$ac_ext <<_ACEOF
52807 /* end confdefs.h. */
52808 #include <langinfo.h>
52809 _ACEOF
52810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52811 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52812 ac_status=$?
52813 grep -v '^ *+' conftest.er1 >conftest.err
52814 rm -f conftest.er1
52815 cat conftest.err >&5
52816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52817 (exit $ac_status); } >/dev/null; then
52818 if test -s conftest.err; then
52819 ac_cpp_err=$ac_c_preproc_warn_flag
52820 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52821 else
52822 ac_cpp_err=
52824 else
52825 ac_cpp_err=yes
52827 if test -z "$ac_cpp_err"; then
52828 ac_header_preproc=yes
52829 else
52830 echo "$as_me: failed program was:" >&5
52831 sed 's/^/| /' conftest.$ac_ext >&5
52833 ac_header_preproc=no
52835 rm -f conftest.err conftest.$ac_ext
52836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52837 echo "${ECHO_T}$ac_header_preproc" >&6
52839 # So? What about this header?
52840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52841 yes:no: )
52842 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52843 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52844 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52845 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52846 ac_header_preproc=yes
52848 no:yes:* )
52849 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52850 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52851 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52852 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52853 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52854 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52855 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
52856 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
52857 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52858 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52859 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52860 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52862 cat <<\_ASBOX
52863 ## ----------------------------------------- ##
52864 ## Report this to the package-unused lists. ##
52865 ## ----------------------------------------- ##
52866 _ASBOX
52868 sed "s/^/$as_me: WARNING: /" >&2
52870 esac
52871 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52872 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52873 if test "${ac_cv_header_langinfo_h+set}" = set; then
52874 echo $ECHO_N "(cached) $ECHO_C" >&6
52875 else
52876 ac_cv_header_langinfo_h=$ac_header_preproc
52878 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52879 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52882 if test $ac_cv_header_langinfo_h = yes; then
52883 ac_has_langinfo_h=yes
52884 else
52885 ac_has_langinfo_h=no
52890 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52891 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52892 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52893 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52894 echo $ECHO_N "(cached) $ECHO_C" >&6
52895 else
52896 ac_check_lib_save_LIBS=$LIBS
52897 LIBS="-liconv $LIBS"
52898 if test x$gcc_no_link = xyes; then
52899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52901 { (exit 1); exit 1; }; }
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. */
52910 /* Override any gcc2 internal prototype to avoid an error. */
52911 #ifdef __cplusplus
52912 extern "C"
52913 #endif
52914 /* We use char because int might match the return type of a gcc2
52915 builtin and then its argument prototype would still apply. */
52916 char iconv ();
52918 main ()
52920 iconv ();
52922 return 0;
52924 _ACEOF
52925 rm -f conftest.$ac_objext conftest$ac_exeext
52926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52927 (eval $ac_link) 2>conftest.er1
52928 ac_status=$?
52929 grep -v '^ *+' conftest.er1 >conftest.err
52930 rm -f conftest.er1
52931 cat conftest.err >&5
52932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52933 (exit $ac_status); } &&
52934 { ac_try='test -z "$ac_c_werror_flag"
52935 || test ! -s conftest.err'
52936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52937 (eval $ac_try) 2>&5
52938 ac_status=$?
52939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52940 (exit $ac_status); }; } &&
52941 { ac_try='test -s conftest$ac_exeext'
52942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52943 (eval $ac_try) 2>&5
52944 ac_status=$?
52945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52946 (exit $ac_status); }; }; then
52947 ac_cv_lib_iconv_iconv=yes
52948 else
52949 echo "$as_me: failed program was:" >&5
52950 sed 's/^/| /' conftest.$ac_ext >&5
52952 ac_cv_lib_iconv_iconv=no
52954 rm -f conftest.err conftest.$ac_objext \
52955 conftest$ac_exeext conftest.$ac_ext
52956 LIBS=$ac_check_lib_save_LIBS
52958 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52959 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52960 if test $ac_cv_lib_iconv_iconv = yes; then
52961 LIBICONV="-liconv"
52964 ac_save_LIBS="$LIBS"
52965 LIBS="$LIBS $LIBICONV"
52972 for ac_func in iconv_open iconv_close iconv nl_langinfo
52974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52975 echo "$as_me:$LINENO: checking for $ac_func" >&5
52976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52977 if eval "test \"\${$as_ac_var+set}\" = set"; then
52978 echo $ECHO_N "(cached) $ECHO_C" >&6
52979 else
52980 if test x$gcc_no_link = xyes; then
52981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52983 { (exit 1); exit 1; }; }
52985 cat >conftest.$ac_ext <<_ACEOF
52986 /* confdefs.h. */
52987 _ACEOF
52988 cat confdefs.h >>conftest.$ac_ext
52989 cat >>conftest.$ac_ext <<_ACEOF
52990 /* end confdefs.h. */
52991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52993 #define $ac_func innocuous_$ac_func
52995 /* System header to define __stub macros and hopefully few prototypes,
52996 which can conflict with char $ac_func (); below.
52997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52998 <limits.h> exists even on freestanding compilers. */
53000 #ifdef __STDC__
53001 # include <limits.h>
53002 #else
53003 # include <assert.h>
53004 #endif
53006 #undef $ac_func
53008 /* Override any gcc2 internal prototype to avoid an error. */
53009 #ifdef __cplusplus
53010 extern "C"
53012 #endif
53013 /* We use char because int might match the return type of a gcc2
53014 builtin and then its argument prototype would still apply. */
53015 char $ac_func ();
53016 /* The GNU C library defines this for functions which it implements
53017 to always fail with ENOSYS. Some functions are actually named
53018 something starting with __ and the normal name is an alias. */
53019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53020 choke me
53021 #else
53022 char (*f) () = $ac_func;
53023 #endif
53024 #ifdef __cplusplus
53026 #endif
53029 main ()
53031 return f != $ac_func;
53033 return 0;
53035 _ACEOF
53036 rm -f conftest.$ac_objext conftest$ac_exeext
53037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53038 (eval $ac_link) 2>conftest.er1
53039 ac_status=$?
53040 grep -v '^ *+' conftest.er1 >conftest.err
53041 rm -f conftest.er1
53042 cat conftest.err >&5
53043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53044 (exit $ac_status); } &&
53045 { ac_try='test -z "$ac_c_werror_flag"
53046 || test ! -s conftest.err'
53047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53048 (eval $ac_try) 2>&5
53049 ac_status=$?
53050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53051 (exit $ac_status); }; } &&
53052 { ac_try='test -s conftest$ac_exeext'
53053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53054 (eval $ac_try) 2>&5
53055 ac_status=$?
53056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53057 (exit $ac_status); }; }; then
53058 eval "$as_ac_var=yes"
53059 else
53060 echo "$as_me: failed program was:" >&5
53061 sed 's/^/| /' conftest.$ac_ext >&5
53063 eval "$as_ac_var=no"
53065 rm -f conftest.err conftest.$ac_objext \
53066 conftest$ac_exeext conftest.$ac_ext
53068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53070 if test `eval echo '${'$as_ac_var'}'` = yes; then
53071 cat >>confdefs.h <<_ACEOF
53072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53073 _ACEOF
53074 ac_XPG2funcs=yes
53075 else
53076 ac_XPG2funcs=no
53078 done
53081 LIBS="$ac_save_LIBS"
53083 if test x"$ac_has_iconv_h" = xyes &&
53084 test x"$ac_has_langinfo_h" = xyes &&
53085 test x"$ac_XPG2funcs" = xyes;
53086 then
53088 cat >>confdefs.h <<\_ACEOF
53089 #define _GLIBCXX_USE_ICONV 1
53090 _ACEOF
53092 enable_iconv=yes
53095 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
53096 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
53097 echo "$as_me:$LINENO: result: $enable_iconv" >&5
53098 echo "${ECHO_T}$enable_iconv" >&6
53101 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53102 ac_save_CXXFLAGS="$CXXFLAGS"
53103 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53106 echo "$as_me:$LINENO: checking for strtold declaration" >&5
53107 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
53108 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53109 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
53110 echo $ECHO_N "(cached) $ECHO_C" >&6
53111 else
53115 ac_ext=cc
53116 ac_cpp='$CXXCPP $CPPFLAGS'
53117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53121 cat >conftest.$ac_ext <<_ACEOF
53122 /* confdefs.h. */
53123 _ACEOF
53124 cat confdefs.h >>conftest.$ac_ext
53125 cat >>conftest.$ac_ext <<_ACEOF
53126 /* end confdefs.h. */
53127 #include <stdlib.h>
53129 main ()
53131 strtold(0, 0);
53133 return 0;
53135 _ACEOF
53136 rm -f conftest.$ac_objext
53137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53138 (eval $ac_compile) 2>conftest.er1
53139 ac_status=$?
53140 grep -v '^ *+' conftest.er1 >conftest.err
53141 rm -f conftest.er1
53142 cat conftest.err >&5
53143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53144 (exit $ac_status); } &&
53145 { ac_try='test -z "$ac_cxx_werror_flag"
53146 || test ! -s conftest.err'
53147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53148 (eval $ac_try) 2>&5
53149 ac_status=$?
53150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53151 (exit $ac_status); }; } &&
53152 { ac_try='test -s conftest.$ac_objext'
53153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53154 (eval $ac_try) 2>&5
53155 ac_status=$?
53156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53157 (exit $ac_status); }; }; then
53158 glibcxx_cv_func_strtold_use=yes
53159 else
53160 echo "$as_me: failed program was:" >&5
53161 sed 's/^/| /' conftest.$ac_ext >&5
53163 glibcxx_cv_func_strtold_use=no
53165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53166 ac_ext=c
53167 ac_cpp='$CPP $CPPFLAGS'
53168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53176 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
53177 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
53178 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53180 for ac_func in strtold
53182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53183 echo "$as_me:$LINENO: checking for $ac_func" >&5
53184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53185 if eval "test \"\${$as_ac_var+set}\" = set"; then
53186 echo $ECHO_N "(cached) $ECHO_C" >&6
53187 else
53188 if test x$gcc_no_link = xyes; then
53189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53191 { (exit 1); exit 1; }; }
53193 cat >conftest.$ac_ext <<_ACEOF
53194 /* confdefs.h. */
53195 _ACEOF
53196 cat confdefs.h >>conftest.$ac_ext
53197 cat >>conftest.$ac_ext <<_ACEOF
53198 /* end confdefs.h. */
53199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53201 #define $ac_func innocuous_$ac_func
53203 /* System header to define __stub macros and hopefully few prototypes,
53204 which can conflict with char $ac_func (); below.
53205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53206 <limits.h> exists even on freestanding compilers. */
53208 #ifdef __STDC__
53209 # include <limits.h>
53210 #else
53211 # include <assert.h>
53212 #endif
53214 #undef $ac_func
53216 /* Override any gcc2 internal prototype to avoid an error. */
53217 #ifdef __cplusplus
53218 extern "C"
53220 #endif
53221 /* We use char because int might match the return type of a gcc2
53222 builtin and then its argument prototype would still apply. */
53223 char $ac_func ();
53224 /* The GNU C library defines this for functions which it implements
53225 to always fail with ENOSYS. Some functions are actually named
53226 something starting with __ and the normal name is an alias. */
53227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53228 choke me
53229 #else
53230 char (*f) () = $ac_func;
53231 #endif
53232 #ifdef __cplusplus
53234 #endif
53237 main ()
53239 return f != $ac_func;
53241 return 0;
53243 _ACEOF
53244 rm -f conftest.$ac_objext conftest$ac_exeext
53245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53246 (eval $ac_link) 2>conftest.er1
53247 ac_status=$?
53248 grep -v '^ *+' conftest.er1 >conftest.err
53249 rm -f conftest.er1
53250 cat conftest.err >&5
53251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53252 (exit $ac_status); } &&
53253 { ac_try='test -z "$ac_c_werror_flag"
53254 || test ! -s conftest.err'
53255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53256 (eval $ac_try) 2>&5
53257 ac_status=$?
53258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53259 (exit $ac_status); }; } &&
53260 { ac_try='test -s conftest$ac_exeext'
53261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53262 (eval $ac_try) 2>&5
53263 ac_status=$?
53264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53265 (exit $ac_status); }; }; then
53266 eval "$as_ac_var=yes"
53267 else
53268 echo "$as_me: failed program was:" >&5
53269 sed 's/^/| /' conftest.$ac_ext >&5
53271 eval "$as_ac_var=no"
53273 rm -f conftest.err conftest.$ac_objext \
53274 conftest$ac_exeext conftest.$ac_ext
53276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53278 if test `eval echo '${'$as_ac_var'}'` = yes; then
53279 cat >>confdefs.h <<_ACEOF
53280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53281 _ACEOF
53284 done
53292 echo "$as_me:$LINENO: checking for strtof declaration" >&5
53293 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53294 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53295 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53296 echo $ECHO_N "(cached) $ECHO_C" >&6
53297 else
53301 ac_ext=cc
53302 ac_cpp='$CXXCPP $CPPFLAGS'
53303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53307 cat >conftest.$ac_ext <<_ACEOF
53308 /* confdefs.h. */
53309 _ACEOF
53310 cat confdefs.h >>conftest.$ac_ext
53311 cat >>conftest.$ac_ext <<_ACEOF
53312 /* end confdefs.h. */
53313 #include <stdlib.h>
53315 main ()
53317 strtof(0, 0);
53319 return 0;
53321 _ACEOF
53322 rm -f conftest.$ac_objext
53323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53324 (eval $ac_compile) 2>conftest.er1
53325 ac_status=$?
53326 grep -v '^ *+' conftest.er1 >conftest.err
53327 rm -f conftest.er1
53328 cat conftest.err >&5
53329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53330 (exit $ac_status); } &&
53331 { ac_try='test -z "$ac_cxx_werror_flag"
53332 || test ! -s conftest.err'
53333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53334 (eval $ac_try) 2>&5
53335 ac_status=$?
53336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53337 (exit $ac_status); }; } &&
53338 { ac_try='test -s conftest.$ac_objext'
53339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53340 (eval $ac_try) 2>&5
53341 ac_status=$?
53342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53343 (exit $ac_status); }; }; then
53344 glibcxx_cv_func_strtof_use=yes
53345 else
53346 echo "$as_me: failed program was:" >&5
53347 sed 's/^/| /' conftest.$ac_ext >&5
53349 glibcxx_cv_func_strtof_use=no
53351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53352 ac_ext=c
53353 ac_cpp='$CPP $CPPFLAGS'
53354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53363 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53364 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53366 for ac_func in strtof
53368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53369 echo "$as_me:$LINENO: checking for $ac_func" >&5
53370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53371 if eval "test \"\${$as_ac_var+set}\" = set"; then
53372 echo $ECHO_N "(cached) $ECHO_C" >&6
53373 else
53374 if test x$gcc_no_link = xyes; then
53375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53377 { (exit 1); exit 1; }; }
53379 cat >conftest.$ac_ext <<_ACEOF
53380 /* confdefs.h. */
53381 _ACEOF
53382 cat confdefs.h >>conftest.$ac_ext
53383 cat >>conftest.$ac_ext <<_ACEOF
53384 /* end confdefs.h. */
53385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53387 #define $ac_func innocuous_$ac_func
53389 /* System header to define __stub macros and hopefully few prototypes,
53390 which can conflict with char $ac_func (); below.
53391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53392 <limits.h> exists even on freestanding compilers. */
53394 #ifdef __STDC__
53395 # include <limits.h>
53396 #else
53397 # include <assert.h>
53398 #endif
53400 #undef $ac_func
53402 /* Override any gcc2 internal prototype to avoid an error. */
53403 #ifdef __cplusplus
53404 extern "C"
53406 #endif
53407 /* We use char because int might match the return type of a gcc2
53408 builtin and then its argument prototype would still apply. */
53409 char $ac_func ();
53410 /* The GNU C library defines this for functions which it implements
53411 to always fail with ENOSYS. Some functions are actually named
53412 something starting with __ and the normal name is an alias. */
53413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53414 choke me
53415 #else
53416 char (*f) () = $ac_func;
53417 #endif
53418 #ifdef __cplusplus
53420 #endif
53423 main ()
53425 return f != $ac_func;
53427 return 0;
53429 _ACEOF
53430 rm -f conftest.$ac_objext conftest$ac_exeext
53431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53432 (eval $ac_link) 2>conftest.er1
53433 ac_status=$?
53434 grep -v '^ *+' conftest.er1 >conftest.err
53435 rm -f conftest.er1
53436 cat conftest.err >&5
53437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53438 (exit $ac_status); } &&
53439 { ac_try='test -z "$ac_c_werror_flag"
53440 || test ! -s conftest.err'
53441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53442 (eval $ac_try) 2>&5
53443 ac_status=$?
53444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53445 (exit $ac_status); }; } &&
53446 { ac_try='test -s conftest$ac_exeext'
53447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53448 (eval $ac_try) 2>&5
53449 ac_status=$?
53450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53451 (exit $ac_status); }; }; then
53452 eval "$as_ac_var=yes"
53453 else
53454 echo "$as_me: failed program was:" >&5
53455 sed 's/^/| /' conftest.$ac_ext >&5
53457 eval "$as_ac_var=no"
53459 rm -f conftest.err conftest.$ac_objext \
53460 conftest$ac_exeext conftest.$ac_ext
53462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53464 if test `eval echo '${'$as_ac_var'}'` = yes; then
53465 cat >>confdefs.h <<_ACEOF
53466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53467 _ACEOF
53470 done
53478 CXXFLAGS="$ac_save_CXXFLAGS"
53481 # For showmanyc_helper().
53484 for ac_header in sys/ioctl.h sys/filio.h
53486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53488 echo "$as_me:$LINENO: checking for $ac_header" >&5
53489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53491 echo $ECHO_N "(cached) $ECHO_C" >&6
53493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53495 else
53496 # Is the header compilable?
53497 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53498 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53499 cat >conftest.$ac_ext <<_ACEOF
53500 /* confdefs.h. */
53501 _ACEOF
53502 cat confdefs.h >>conftest.$ac_ext
53503 cat >>conftest.$ac_ext <<_ACEOF
53504 /* end confdefs.h. */
53505 $ac_includes_default
53506 #include <$ac_header>
53507 _ACEOF
53508 rm -f conftest.$ac_objext
53509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53510 (eval $ac_compile) 2>conftest.er1
53511 ac_status=$?
53512 grep -v '^ *+' conftest.er1 >conftest.err
53513 rm -f conftest.er1
53514 cat conftest.err >&5
53515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53516 (exit $ac_status); } &&
53517 { ac_try='test -z "$ac_c_werror_flag"
53518 || test ! -s conftest.err'
53519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53520 (eval $ac_try) 2>&5
53521 ac_status=$?
53522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53523 (exit $ac_status); }; } &&
53524 { ac_try='test -s conftest.$ac_objext'
53525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53526 (eval $ac_try) 2>&5
53527 ac_status=$?
53528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53529 (exit $ac_status); }; }; then
53530 ac_header_compiler=yes
53531 else
53532 echo "$as_me: failed program was:" >&5
53533 sed 's/^/| /' conftest.$ac_ext >&5
53535 ac_header_compiler=no
53537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53538 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53539 echo "${ECHO_T}$ac_header_compiler" >&6
53541 # Is the header present?
53542 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53543 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53544 cat >conftest.$ac_ext <<_ACEOF
53545 /* confdefs.h. */
53546 _ACEOF
53547 cat confdefs.h >>conftest.$ac_ext
53548 cat >>conftest.$ac_ext <<_ACEOF
53549 /* end confdefs.h. */
53550 #include <$ac_header>
53551 _ACEOF
53552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53553 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53554 ac_status=$?
53555 grep -v '^ *+' conftest.er1 >conftest.err
53556 rm -f conftest.er1
53557 cat conftest.err >&5
53558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53559 (exit $ac_status); } >/dev/null; then
53560 if test -s conftest.err; then
53561 ac_cpp_err=$ac_c_preproc_warn_flag
53562 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53563 else
53564 ac_cpp_err=
53566 else
53567 ac_cpp_err=yes
53569 if test -z "$ac_cpp_err"; then
53570 ac_header_preproc=yes
53571 else
53572 echo "$as_me: failed program was:" >&5
53573 sed 's/^/| /' conftest.$ac_ext >&5
53575 ac_header_preproc=no
53577 rm -f conftest.err conftest.$ac_ext
53578 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53579 echo "${ECHO_T}$ac_header_preproc" >&6
53581 # So? What about this header?
53582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53583 yes:no: )
53584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53587 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53588 ac_header_preproc=yes
53590 no:yes:* )
53591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53595 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53596 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53597 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53598 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53600 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53601 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53602 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53604 cat <<\_ASBOX
53605 ## ----------------------------------------- ##
53606 ## Report this to the package-unused lists. ##
53607 ## ----------------------------------------- ##
53608 _ASBOX
53610 sed "s/^/$as_me: WARNING: /" >&2
53612 esac
53613 echo "$as_me:$LINENO: checking for $ac_header" >&5
53614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53616 echo $ECHO_N "(cached) $ECHO_C" >&6
53617 else
53618 eval "$as_ac_Header=\$ac_header_preproc"
53620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53625 cat >>confdefs.h <<_ACEOF
53626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53627 _ACEOF
53631 done
53634 echo "$as_me:$LINENO: checking for poll" >&5
53635 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53636 if test "${glibcxx_cv_POLL+set}" = set; then
53637 echo $ECHO_N "(cached) $ECHO_C" >&6
53638 else
53640 if test x$gcc_no_link = xyes; then
53641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53643 { (exit 1); exit 1; }; }
53645 cat >conftest.$ac_ext <<_ACEOF
53646 /* confdefs.h. */
53647 _ACEOF
53648 cat confdefs.h >>conftest.$ac_ext
53649 cat >>conftest.$ac_ext <<_ACEOF
53650 /* end confdefs.h. */
53651 #include <poll.h>
53653 main ()
53655 struct pollfd pfd[1];
53656 pfd[0].events = POLLIN;
53657 poll(pfd, 1, 0);
53659 return 0;
53661 _ACEOF
53662 rm -f conftest.$ac_objext conftest$ac_exeext
53663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53664 (eval $ac_link) 2>conftest.er1
53665 ac_status=$?
53666 grep -v '^ *+' conftest.er1 >conftest.err
53667 rm -f conftest.er1
53668 cat conftest.err >&5
53669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53670 (exit $ac_status); } &&
53671 { ac_try='test -z "$ac_c_werror_flag"
53672 || test ! -s conftest.err'
53673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53674 (eval $ac_try) 2>&5
53675 ac_status=$?
53676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53677 (exit $ac_status); }; } &&
53678 { ac_try='test -s conftest$ac_exeext'
53679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53680 (eval $ac_try) 2>&5
53681 ac_status=$?
53682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53683 (exit $ac_status); }; }; then
53684 glibcxx_cv_POLL=yes
53685 else
53686 echo "$as_me: failed program was:" >&5
53687 sed 's/^/| /' conftest.$ac_ext >&5
53689 glibcxx_cv_POLL=no
53691 rm -f conftest.err conftest.$ac_objext \
53692 conftest$ac_exeext conftest.$ac_ext
53696 if test $glibcxx_cv_POLL = yes; then
53698 cat >>confdefs.h <<\_ACEOF
53699 #define HAVE_POLL 1
53700 _ACEOF
53703 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53704 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53707 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53708 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53709 if test "${glibcxx_cv_S_ISREG+set}" = set; then
53710 echo $ECHO_N "(cached) $ECHO_C" >&6
53711 else
53713 if test x$gcc_no_link = xyes; then
53714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53716 { (exit 1); exit 1; }; }
53718 cat >conftest.$ac_ext <<_ACEOF
53719 /* confdefs.h. */
53720 _ACEOF
53721 cat confdefs.h >>conftest.$ac_ext
53722 cat >>conftest.$ac_ext <<_ACEOF
53723 /* end confdefs.h. */
53724 #include <sys/stat.h>
53726 main ()
53728 struct stat buffer;
53729 fstat(0, &buffer);
53730 S_ISREG(buffer.st_mode);
53732 return 0;
53734 _ACEOF
53735 rm -f conftest.$ac_objext conftest$ac_exeext
53736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53737 (eval $ac_link) 2>conftest.er1
53738 ac_status=$?
53739 grep -v '^ *+' conftest.er1 >conftest.err
53740 rm -f conftest.er1
53741 cat conftest.err >&5
53742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53743 (exit $ac_status); } &&
53744 { ac_try='test -z "$ac_c_werror_flag"
53745 || test ! -s conftest.err'
53746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53747 (eval $ac_try) 2>&5
53748 ac_status=$?
53749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53750 (exit $ac_status); }; } &&
53751 { ac_try='test -s conftest$ac_exeext'
53752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53753 (eval $ac_try) 2>&5
53754 ac_status=$?
53755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53756 (exit $ac_status); }; }; then
53757 glibcxx_cv_S_ISREG=yes
53758 else
53759 echo "$as_me: failed program was:" >&5
53760 sed 's/^/| /' conftest.$ac_ext >&5
53762 glibcxx_cv_S_ISREG=no
53764 rm -f conftest.err conftest.$ac_objext \
53765 conftest$ac_exeext conftest.$ac_ext
53769 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53770 echo $ECHO_N "(cached) $ECHO_C" >&6
53771 else
53773 if test x$gcc_no_link = xyes; then
53774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53776 { (exit 1); exit 1; }; }
53778 cat >conftest.$ac_ext <<_ACEOF
53779 /* confdefs.h. */
53780 _ACEOF
53781 cat confdefs.h >>conftest.$ac_ext
53782 cat >>conftest.$ac_ext <<_ACEOF
53783 /* end confdefs.h. */
53784 #include <sys/stat.h>
53786 main ()
53788 struct stat buffer;
53789 fstat(0, &buffer);
53790 S_IFREG & buffer.st_mode;
53792 return 0;
53794 _ACEOF
53795 rm -f conftest.$ac_objext conftest$ac_exeext
53796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53797 (eval $ac_link) 2>conftest.er1
53798 ac_status=$?
53799 grep -v '^ *+' conftest.er1 >conftest.err
53800 rm -f conftest.er1
53801 cat conftest.err >&5
53802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53803 (exit $ac_status); } &&
53804 { ac_try='test -z "$ac_c_werror_flag"
53805 || test ! -s conftest.err'
53806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53807 (eval $ac_try) 2>&5
53808 ac_status=$?
53809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53810 (exit $ac_status); }; } &&
53811 { ac_try='test -s conftest$ac_exeext'
53812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53813 (eval $ac_try) 2>&5
53814 ac_status=$?
53815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53816 (exit $ac_status); }; }; then
53817 glibcxx_cv_S_IFREG=yes
53818 else
53819 echo "$as_me: failed program was:" >&5
53820 sed 's/^/| /' conftest.$ac_ext >&5
53822 glibcxx_cv_S_IFREG=no
53824 rm -f conftest.err conftest.$ac_objext \
53825 conftest$ac_exeext conftest.$ac_ext
53829 res=no
53830 if test $glibcxx_cv_S_ISREG = yes; then
53832 cat >>confdefs.h <<\_ACEOF
53833 #define HAVE_S_ISREG 1
53834 _ACEOF
53836 res=S_ISREG
53837 elif test $glibcxx_cv_S_IFREG = yes; then
53839 cat >>confdefs.h <<\_ACEOF
53840 #define HAVE_S_IFREG 1
53841 _ACEOF
53843 res=S_IFREG
53845 echo "$as_me:$LINENO: result: $res" >&5
53846 echo "${ECHO_T}$res" >&6
53849 # For xsputn_2().
53851 for ac_header in sys/uio.h
53853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53855 echo "$as_me:$LINENO: checking for $ac_header" >&5
53856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53858 echo $ECHO_N "(cached) $ECHO_C" >&6
53860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53862 else
53863 # Is the header compilable?
53864 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53865 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53866 cat >conftest.$ac_ext <<_ACEOF
53867 /* confdefs.h. */
53868 _ACEOF
53869 cat confdefs.h >>conftest.$ac_ext
53870 cat >>conftest.$ac_ext <<_ACEOF
53871 /* end confdefs.h. */
53872 $ac_includes_default
53873 #include <$ac_header>
53874 _ACEOF
53875 rm -f conftest.$ac_objext
53876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53877 (eval $ac_compile) 2>conftest.er1
53878 ac_status=$?
53879 grep -v '^ *+' conftest.er1 >conftest.err
53880 rm -f conftest.er1
53881 cat conftest.err >&5
53882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53883 (exit $ac_status); } &&
53884 { ac_try='test -z "$ac_c_werror_flag"
53885 || test ! -s conftest.err'
53886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53887 (eval $ac_try) 2>&5
53888 ac_status=$?
53889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53890 (exit $ac_status); }; } &&
53891 { ac_try='test -s conftest.$ac_objext'
53892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53893 (eval $ac_try) 2>&5
53894 ac_status=$?
53895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53896 (exit $ac_status); }; }; then
53897 ac_header_compiler=yes
53898 else
53899 echo "$as_me: failed program was:" >&5
53900 sed 's/^/| /' conftest.$ac_ext >&5
53902 ac_header_compiler=no
53904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53905 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53906 echo "${ECHO_T}$ac_header_compiler" >&6
53908 # Is the header present?
53909 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53910 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53911 cat >conftest.$ac_ext <<_ACEOF
53912 /* confdefs.h. */
53913 _ACEOF
53914 cat confdefs.h >>conftest.$ac_ext
53915 cat >>conftest.$ac_ext <<_ACEOF
53916 /* end confdefs.h. */
53917 #include <$ac_header>
53918 _ACEOF
53919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53920 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53921 ac_status=$?
53922 grep -v '^ *+' conftest.er1 >conftest.err
53923 rm -f conftest.er1
53924 cat conftest.err >&5
53925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53926 (exit $ac_status); } >/dev/null; then
53927 if test -s conftest.err; then
53928 ac_cpp_err=$ac_c_preproc_warn_flag
53929 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53930 else
53931 ac_cpp_err=
53933 else
53934 ac_cpp_err=yes
53936 if test -z "$ac_cpp_err"; then
53937 ac_header_preproc=yes
53938 else
53939 echo "$as_me: failed program was:" >&5
53940 sed 's/^/| /' conftest.$ac_ext >&5
53942 ac_header_preproc=no
53944 rm -f conftest.err conftest.$ac_ext
53945 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53946 echo "${ECHO_T}$ac_header_preproc" >&6
53948 # So? What about this header?
53949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53950 yes:no: )
53951 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53952 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53954 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53955 ac_header_preproc=yes
53957 no:yes:* )
53958 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53959 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53960 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53961 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53962 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53963 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53964 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53965 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53968 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53969 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53971 cat <<\_ASBOX
53972 ## ----------------------------------------- ##
53973 ## Report this to the package-unused lists. ##
53974 ## ----------------------------------------- ##
53975 _ASBOX
53977 sed "s/^/$as_me: WARNING: /" >&2
53979 esac
53980 echo "$as_me:$LINENO: checking for $ac_header" >&5
53981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53983 echo $ECHO_N "(cached) $ECHO_C" >&6
53984 else
53985 eval "$as_ac_Header=\$ac_header_preproc"
53987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53992 cat >>confdefs.h <<_ACEOF
53993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53994 _ACEOF
53998 done
54001 echo "$as_me:$LINENO: checking for writev" >&5
54002 echo $ECHO_N "checking for writev... $ECHO_C" >&6
54003 if test "${glibcxx_cv_WRITEV+set}" = set; then
54004 echo $ECHO_N "(cached) $ECHO_C" >&6
54005 else
54007 if test x$gcc_no_link = xyes; then
54008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54010 { (exit 1); exit 1; }; }
54012 cat >conftest.$ac_ext <<_ACEOF
54013 /* confdefs.h. */
54014 _ACEOF
54015 cat confdefs.h >>conftest.$ac_ext
54016 cat >>conftest.$ac_ext <<_ACEOF
54017 /* end confdefs.h. */
54018 #include <sys/uio.h>
54020 main ()
54022 struct iovec iov[2];
54023 writev(0, iov, 0);
54025 return 0;
54027 _ACEOF
54028 rm -f conftest.$ac_objext conftest$ac_exeext
54029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54030 (eval $ac_link) 2>conftest.er1
54031 ac_status=$?
54032 grep -v '^ *+' conftest.er1 >conftest.err
54033 rm -f conftest.er1
54034 cat conftest.err >&5
54035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54036 (exit $ac_status); } &&
54037 { ac_try='test -z "$ac_c_werror_flag"
54038 || test ! -s conftest.err'
54039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54040 (eval $ac_try) 2>&5
54041 ac_status=$?
54042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54043 (exit $ac_status); }; } &&
54044 { ac_try='test -s conftest$ac_exeext'
54045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54046 (eval $ac_try) 2>&5
54047 ac_status=$?
54048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54049 (exit $ac_status); }; }; then
54050 glibcxx_cv_WRITEV=yes
54051 else
54052 echo "$as_me: failed program was:" >&5
54053 sed 's/^/| /' conftest.$ac_ext >&5
54055 glibcxx_cv_WRITEV=no
54057 rm -f conftest.err conftest.$ac_objext \
54058 conftest$ac_exeext conftest.$ac_ext
54062 if test $glibcxx_cv_WRITEV = yes; then
54064 cat >>confdefs.h <<\_ACEOF
54065 #define HAVE_WRITEV 1
54066 _ACEOF
54069 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
54070 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
54073 cat >>confdefs.h <<\_ACEOF
54074 #define HAVE_LC_MESSAGES 1
54075 _ACEOF
54078 cat >conftest.$ac_ext <<_ACEOF
54079 /* confdefs.h. */
54080 _ACEOF
54081 cat confdefs.h >>conftest.$ac_ext
54082 cat >>conftest.$ac_ext <<_ACEOF
54083 /* end confdefs.h. */
54084 #include <setjmp.h>
54086 main ()
54088 sigjmp_buf env;
54089 while (! sigsetjmp (env, 1))
54090 siglongjmp (env, 1);
54093 return 0;
54095 _ACEOF
54096 rm -f conftest.$ac_objext
54097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54098 (eval $ac_compile) 2>conftest.er1
54099 ac_status=$?
54100 grep -v '^ *+' conftest.er1 >conftest.err
54101 rm -f conftest.er1
54102 cat conftest.err >&5
54103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54104 (exit $ac_status); } &&
54105 { ac_try='test -z "$ac_c_werror_flag"
54106 || test ! -s conftest.err'
54107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54108 (eval $ac_try) 2>&5
54109 ac_status=$?
54110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54111 (exit $ac_status); }; } &&
54112 { ac_try='test -s conftest.$ac_objext'
54113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54114 (eval $ac_try) 2>&5
54115 ac_status=$?
54116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54117 (exit $ac_status); }; }; then
54119 cat >>confdefs.h <<\_ACEOF
54120 #define HAVE_SIGSETJMP 1
54121 _ACEOF
54123 else
54124 echo "$as_me: failed program was:" >&5
54125 sed 's/^/| /' conftest.$ac_ext >&5
54128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54130 cat >>confdefs.h <<\_ACEOF
54131 #define HAVE_MMAP 1
54132 _ACEOF
54136 *djgpp)
54157 for ac_header in float.h ieeefp.h inttypes.h locale.h \
54158 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54159 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54160 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54162 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54164 echo "$as_me:$LINENO: checking for $ac_header" >&5
54165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54167 echo $ECHO_N "(cached) $ECHO_C" >&6
54169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54171 else
54172 # Is the header compilable?
54173 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54175 cat >conftest.$ac_ext <<_ACEOF
54176 /* confdefs.h. */
54177 _ACEOF
54178 cat confdefs.h >>conftest.$ac_ext
54179 cat >>conftest.$ac_ext <<_ACEOF
54180 /* end confdefs.h. */
54181 $ac_includes_default
54182 #include <$ac_header>
54183 _ACEOF
54184 rm -f conftest.$ac_objext
54185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54186 (eval $ac_compile) 2>conftest.er1
54187 ac_status=$?
54188 grep -v '^ *+' conftest.er1 >conftest.err
54189 rm -f conftest.er1
54190 cat conftest.err >&5
54191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54192 (exit $ac_status); } &&
54193 { ac_try='test -z "$ac_c_werror_flag"
54194 || test ! -s conftest.err'
54195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54196 (eval $ac_try) 2>&5
54197 ac_status=$?
54198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54199 (exit $ac_status); }; } &&
54200 { ac_try='test -s conftest.$ac_objext'
54201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54202 (eval $ac_try) 2>&5
54203 ac_status=$?
54204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54205 (exit $ac_status); }; }; then
54206 ac_header_compiler=yes
54207 else
54208 echo "$as_me: failed program was:" >&5
54209 sed 's/^/| /' conftest.$ac_ext >&5
54211 ac_header_compiler=no
54213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54215 echo "${ECHO_T}$ac_header_compiler" >&6
54217 # Is the header present?
54218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54220 cat >conftest.$ac_ext <<_ACEOF
54221 /* confdefs.h. */
54222 _ACEOF
54223 cat confdefs.h >>conftest.$ac_ext
54224 cat >>conftest.$ac_ext <<_ACEOF
54225 /* end confdefs.h. */
54226 #include <$ac_header>
54227 _ACEOF
54228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54230 ac_status=$?
54231 grep -v '^ *+' conftest.er1 >conftest.err
54232 rm -f conftest.er1
54233 cat conftest.err >&5
54234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54235 (exit $ac_status); } >/dev/null; then
54236 if test -s conftest.err; then
54237 ac_cpp_err=$ac_c_preproc_warn_flag
54238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54239 else
54240 ac_cpp_err=
54242 else
54243 ac_cpp_err=yes
54245 if test -z "$ac_cpp_err"; then
54246 ac_header_preproc=yes
54247 else
54248 echo "$as_me: failed program was:" >&5
54249 sed 's/^/| /' conftest.$ac_ext >&5
54251 ac_header_preproc=no
54253 rm -f conftest.err conftest.$ac_ext
54254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54255 echo "${ECHO_T}$ac_header_preproc" >&6
54257 # So? What about this header?
54258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54259 yes:no: )
54260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54264 ac_header_preproc=yes
54266 no:yes:* )
54267 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54269 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54270 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54271 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54273 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54274 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54277 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54280 cat <<\_ASBOX
54281 ## ----------------------------------------- ##
54282 ## Report this to the package-unused lists. ##
54283 ## ----------------------------------------- ##
54284 _ASBOX
54286 sed "s/^/$as_me: WARNING: /" >&2
54288 esac
54289 echo "$as_me:$LINENO: checking for $ac_header" >&5
54290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54292 echo $ECHO_N "(cached) $ECHO_C" >&6
54293 else
54294 eval "$as_ac_Header=\$ac_header_preproc"
54296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54301 cat >>confdefs.h <<_ACEOF
54302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54303 _ACEOF
54307 done
54310 # All these tests are for C++; save the language and the compiler flags.
54311 # The CXXFLAGS thing is suspicious, but based on similar bits previously
54312 # found in GLIBCXX_CONFIGURE.
54315 ac_ext=cc
54316 ac_cpp='$CXXCPP $CPPFLAGS'
54317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54321 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54322 ac_save_CXXFLAGS="$CXXFLAGS"
54324 # Check for maintainer-mode bits.
54325 if test x"$USE_MAINTAINER_MODE" = xno; then
54326 WERROR=''
54327 else
54328 WERROR='-Werror'
54331 # Check for -ffunction-sections -fdata-sections
54332 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
54333 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
54334 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
54335 cat >conftest.$ac_ext <<_ACEOF
54336 /* confdefs.h. */
54337 _ACEOF
54338 cat confdefs.h >>conftest.$ac_ext
54339 cat >>conftest.$ac_ext <<_ACEOF
54340 /* end confdefs.h. */
54343 main ()
54345 int foo;
54347 return 0;
54349 _ACEOF
54350 rm -f conftest.$ac_objext
54351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54352 (eval $ac_compile) 2>conftest.er1
54353 ac_status=$?
54354 grep -v '^ *+' conftest.er1 >conftest.err
54355 rm -f conftest.er1
54356 cat conftest.err >&5
54357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54358 (exit $ac_status); } &&
54359 { ac_try='test -z "$ac_cxx_werror_flag"
54360 || test ! -s conftest.err'
54361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54362 (eval $ac_try) 2>&5
54363 ac_status=$?
54364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54365 (exit $ac_status); }; } &&
54366 { ac_try='test -s conftest.$ac_objext'
54367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54368 (eval $ac_try) 2>&5
54369 ac_status=$?
54370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54371 (exit $ac_status); }; }; then
54372 ac_fdsections=yes
54373 else
54374 echo "$as_me: failed program was:" >&5
54375 sed 's/^/| /' conftest.$ac_ext >&5
54377 ac_fdsections=no
54379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54380 if test "$ac_test_CXXFLAGS" = set; then
54381 CXXFLAGS="$ac_save_CXXFLAGS"
54382 else
54383 # this is the suspicious part
54384 CXXFLAGS=''
54386 if test x"$ac_fdsections" = x"yes"; then
54387 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54389 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
54390 echo "${ECHO_T}$ac_fdsections" >&6
54392 ac_ext=c
54393 ac_cpp='$CPP $CPPFLAGS'
54394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54402 # If we're not using GNU ld, then there's no point in even trying these
54403 # tests. Check for that first. We should have already tested for gld
54404 # by now (in libtool), but require it now just to be safe...
54405 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54406 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54410 # The name set by libtool depends on the version of libtool. Shame on us
54411 # for depending on an impl detail, but c'est la vie. Older versions used
54412 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54413 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54414 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54415 # set (hence we're using an older libtool), then set it.
54416 if test x${with_gnu_ld+set} != xset; then
54417 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54418 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54419 with_gnu_ld=no
54420 else
54421 with_gnu_ld=$ac_cv_prog_gnu_ld
54425 # Start by getting the version number. I think the libtool test already
54426 # does some of this, but throws away the result.
54427 echo "$as_me:$LINENO: checking for ld version" >&5
54428 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54430 ldver=`$LD --version 2>/dev/null | head -1 | \
54431 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
54433 glibcxx_gnu_ld_version=`echo $ldver | \
54434 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54435 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54436 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54438 # Set --gc-sections.
54439 glibcxx_gcsections_min_ld=21602
54440 if test x"$with_gnu_ld" = x"yes" &&
54441 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54443 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54444 # NB: This flag only works reliably after 2.16.1. Configure tests
54445 # for this are difficult, so hard wire a value that should work.
54447 # All these tests are for C++, but run with the "C" compiler driver.
54448 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
54449 ac_test_CFLAGS="${CFLAGS+set}"
54450 ac_save_CFLAGS="$CFLAGS"
54451 CFLAGS='-x c++ -Wl,--gc-sections'
54453 # Check for -Wl,--gc-sections
54454 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54455 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54456 if test x$gcc_no_link = xyes; then
54457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54459 { (exit 1); exit 1; }; }
54461 cat >conftest.$ac_ext <<_ACEOF
54462 /* confdefs.h. */
54463 _ACEOF
54464 cat confdefs.h >>conftest.$ac_ext
54465 cat >>conftest.$ac_ext <<_ACEOF
54466 /* end confdefs.h. */
54467 int one(void) { return 1; }
54468 int two(void) { return 2; }
54471 main ()
54473 two();
54475 return 0;
54477 _ACEOF
54478 rm -f conftest.$ac_objext conftest$ac_exeext
54479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54480 (eval $ac_link) 2>conftest.er1
54481 ac_status=$?
54482 grep -v '^ *+' conftest.er1 >conftest.err
54483 rm -f conftest.er1
54484 cat conftest.err >&5
54485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54486 (exit $ac_status); } &&
54487 { ac_try='test -z "$ac_c_werror_flag"
54488 || test ! -s conftest.err'
54489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54490 (eval $ac_try) 2>&5
54491 ac_status=$?
54492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54493 (exit $ac_status); }; } &&
54494 { ac_try='test -s conftest$ac_exeext'
54495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54496 (eval $ac_try) 2>&5
54497 ac_status=$?
54498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54499 (exit $ac_status); }; }; then
54500 ac_gcsections=yes
54501 else
54502 echo "$as_me: failed program was:" >&5
54503 sed 's/^/| /' conftest.$ac_ext >&5
54505 ac_gcsections=no
54507 rm -f conftest.err conftest.$ac_objext \
54508 conftest$ac_exeext conftest.$ac_ext
54509 if test "$ac_gcsections" = "yes"; then
54510 rm -f conftest.c
54511 touch conftest.c
54512 if $CC -c conftest.c; then
54513 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54514 grep "Warning: gc-sections option ignored" > /dev/null; then
54515 ac_gcsections=no
54518 rm -f conftest.c conftest.o conftest
54520 if test "$ac_gcsections" = "yes"; then
54521 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54523 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54524 echo "${ECHO_T}$ac_gcsections" >&6
54526 if test "$ac_test_CFLAGS" = set; then
54527 CFLAGS="$ac_save_CFLAGS"
54528 else
54529 # this is the suspicious part
54530 CFLAGS=''
54534 # Set -z,relro.
54535 # Note this is only for shared objects.
54536 ac_ld_relro=no
54537 if test x"$with_gnu_ld" = x"yes"; then
54538 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54539 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54540 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54541 if test -n "$cxx_z_relo"; then
54542 OPT_LDFLAGS="-Wl,-z,relro"
54543 ac_ld_relro=yes
54545 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54546 echo "${ECHO_T}$ac_ld_relro" >&6
54549 # Set linker optimization flags.
54550 if test x"$with_gnu_ld" = x"yes"; then
54551 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54558 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54559 ac_save_CXXFLAGS="$CXXFLAGS"
54560 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54562 echo "$as_me:$LINENO: checking for sin in -lm" >&5
54563 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
54564 if test "${ac_cv_lib_m_sin+set}" = set; then
54565 echo $ECHO_N "(cached) $ECHO_C" >&6
54566 else
54567 ac_check_lib_save_LIBS=$LIBS
54568 LIBS="-lm $LIBS"
54569 if test x$gcc_no_link = xyes; then
54570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54572 { (exit 1); exit 1; }; }
54574 cat >conftest.$ac_ext <<_ACEOF
54575 /* confdefs.h. */
54576 _ACEOF
54577 cat confdefs.h >>conftest.$ac_ext
54578 cat >>conftest.$ac_ext <<_ACEOF
54579 /* end confdefs.h. */
54581 /* Override any gcc2 internal prototype to avoid an error. */
54582 #ifdef __cplusplus
54583 extern "C"
54584 #endif
54585 /* We use char because int might match the return type of a gcc2
54586 builtin and then its argument prototype would still apply. */
54587 char sin ();
54589 main ()
54591 sin ();
54593 return 0;
54595 _ACEOF
54596 rm -f conftest.$ac_objext conftest$ac_exeext
54597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54598 (eval $ac_link) 2>conftest.er1
54599 ac_status=$?
54600 grep -v '^ *+' conftest.er1 >conftest.err
54601 rm -f conftest.er1
54602 cat conftest.err >&5
54603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54604 (exit $ac_status); } &&
54605 { ac_try='test -z "$ac_c_werror_flag"
54606 || test ! -s conftest.err'
54607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54608 (eval $ac_try) 2>&5
54609 ac_status=$?
54610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54611 (exit $ac_status); }; } &&
54612 { ac_try='test -s conftest$ac_exeext'
54613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54614 (eval $ac_try) 2>&5
54615 ac_status=$?
54616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54617 (exit $ac_status); }; }; then
54618 ac_cv_lib_m_sin=yes
54619 else
54620 echo "$as_me: failed program was:" >&5
54621 sed 's/^/| /' conftest.$ac_ext >&5
54623 ac_cv_lib_m_sin=no
54625 rm -f conftest.err conftest.$ac_objext \
54626 conftest$ac_exeext conftest.$ac_ext
54627 LIBS=$ac_check_lib_save_LIBS
54629 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
54630 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
54631 if test $ac_cv_lib_m_sin = yes; then
54632 libm="-lm"
54635 ac_save_LIBS="$LIBS"
54636 LIBS="$LIBS $libm"
54640 echo "$as_me:$LINENO: checking for isinf declaration" >&5
54641 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
54642 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54643 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
54644 echo $ECHO_N "(cached) $ECHO_C" >&6
54645 else
54649 ac_ext=cc
54650 ac_cpp='$CXXCPP $CPPFLAGS'
54651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54655 cat >conftest.$ac_ext <<_ACEOF
54656 /* confdefs.h. */
54657 _ACEOF
54658 cat confdefs.h >>conftest.$ac_ext
54659 cat >>conftest.$ac_ext <<_ACEOF
54660 /* end confdefs.h. */
54661 #include <math.h>
54662 #ifdef HAVE_IEEEFP_H
54663 #include <ieeefp.h>
54664 #endif
54667 main ()
54669 isinf(0);
54671 return 0;
54673 _ACEOF
54674 rm -f conftest.$ac_objext
54675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54676 (eval $ac_compile) 2>conftest.er1
54677 ac_status=$?
54678 grep -v '^ *+' conftest.er1 >conftest.err
54679 rm -f conftest.er1
54680 cat conftest.err >&5
54681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54682 (exit $ac_status); } &&
54683 { ac_try='test -z "$ac_cxx_werror_flag"
54684 || test ! -s conftest.err'
54685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54686 (eval $ac_try) 2>&5
54687 ac_status=$?
54688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54689 (exit $ac_status); }; } &&
54690 { ac_try='test -s conftest.$ac_objext'
54691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54692 (eval $ac_try) 2>&5
54693 ac_status=$?
54694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54695 (exit $ac_status); }; }; then
54696 glibcxx_cv_func_isinf_use=yes
54697 else
54698 echo "$as_me: failed program was:" >&5
54699 sed 's/^/| /' conftest.$ac_ext >&5
54701 glibcxx_cv_func_isinf_use=no
54703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54704 ac_ext=c
54705 ac_cpp='$CPP $CPPFLAGS'
54706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54714 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54715 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54717 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54719 for ac_func in isinf
54721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54722 echo "$as_me:$LINENO: checking for $ac_func" >&5
54723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54724 if eval "test \"\${$as_ac_var+set}\" = set"; then
54725 echo $ECHO_N "(cached) $ECHO_C" >&6
54726 else
54727 if test x$gcc_no_link = xyes; then
54728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54730 { (exit 1); exit 1; }; }
54732 cat >conftest.$ac_ext <<_ACEOF
54733 /* confdefs.h. */
54734 _ACEOF
54735 cat confdefs.h >>conftest.$ac_ext
54736 cat >>conftest.$ac_ext <<_ACEOF
54737 /* end confdefs.h. */
54738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54740 #define $ac_func innocuous_$ac_func
54742 /* System header to define __stub macros and hopefully few prototypes,
54743 which can conflict with char $ac_func (); below.
54744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54745 <limits.h> exists even on freestanding compilers. */
54747 #ifdef __STDC__
54748 # include <limits.h>
54749 #else
54750 # include <assert.h>
54751 #endif
54753 #undef $ac_func
54755 /* Override any gcc2 internal prototype to avoid an error. */
54756 #ifdef __cplusplus
54757 extern "C"
54759 #endif
54760 /* We use char because int might match the return type of a gcc2
54761 builtin and then its argument prototype would still apply. */
54762 char $ac_func ();
54763 /* The GNU C library defines this for functions which it implements
54764 to always fail with ENOSYS. Some functions are actually named
54765 something starting with __ and the normal name is an alias. */
54766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54767 choke me
54768 #else
54769 char (*f) () = $ac_func;
54770 #endif
54771 #ifdef __cplusplus
54773 #endif
54776 main ()
54778 return f != $ac_func;
54780 return 0;
54782 _ACEOF
54783 rm -f conftest.$ac_objext conftest$ac_exeext
54784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54785 (eval $ac_link) 2>conftest.er1
54786 ac_status=$?
54787 grep -v '^ *+' conftest.er1 >conftest.err
54788 rm -f conftest.er1
54789 cat conftest.err >&5
54790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54791 (exit $ac_status); } &&
54792 { ac_try='test -z "$ac_c_werror_flag"
54793 || test ! -s conftest.err'
54794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54795 (eval $ac_try) 2>&5
54796 ac_status=$?
54797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54798 (exit $ac_status); }; } &&
54799 { ac_try='test -s conftest$ac_exeext'
54800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54801 (eval $ac_try) 2>&5
54802 ac_status=$?
54803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54804 (exit $ac_status); }; }; then
54805 eval "$as_ac_var=yes"
54806 else
54807 echo "$as_me: failed program was:" >&5
54808 sed 's/^/| /' conftest.$ac_ext >&5
54810 eval "$as_ac_var=no"
54812 rm -f conftest.err conftest.$ac_objext \
54813 conftest$ac_exeext conftest.$ac_ext
54815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54817 if test `eval echo '${'$as_ac_var'}'` = yes; then
54818 cat >>confdefs.h <<_ACEOF
54819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54820 _ACEOF
54823 done
54825 else
54827 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54828 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54829 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54830 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54831 echo $ECHO_N "(cached) $ECHO_C" >&6
54832 else
54836 ac_ext=cc
54837 ac_cpp='$CXXCPP $CPPFLAGS'
54838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54842 cat >conftest.$ac_ext <<_ACEOF
54843 /* confdefs.h. */
54844 _ACEOF
54845 cat confdefs.h >>conftest.$ac_ext
54846 cat >>conftest.$ac_ext <<_ACEOF
54847 /* end confdefs.h. */
54848 #include <math.h>
54849 #ifdef HAVE_IEEEFP_H
54850 #include <ieeefp.h>
54851 #endif
54854 main ()
54856 _isinf(0);
54858 return 0;
54860 _ACEOF
54861 rm -f conftest.$ac_objext
54862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54863 (eval $ac_compile) 2>conftest.er1
54864 ac_status=$?
54865 grep -v '^ *+' conftest.er1 >conftest.err
54866 rm -f conftest.er1
54867 cat conftest.err >&5
54868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54869 (exit $ac_status); } &&
54870 { ac_try='test -z "$ac_cxx_werror_flag"
54871 || test ! -s conftest.err'
54872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54873 (eval $ac_try) 2>&5
54874 ac_status=$?
54875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54876 (exit $ac_status); }; } &&
54877 { ac_try='test -s conftest.$ac_objext'
54878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54879 (eval $ac_try) 2>&5
54880 ac_status=$?
54881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54882 (exit $ac_status); }; }; then
54883 glibcxx_cv_func__isinf_use=yes
54884 else
54885 echo "$as_me: failed program was:" >&5
54886 sed 's/^/| /' conftest.$ac_ext >&5
54888 glibcxx_cv_func__isinf_use=no
54890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54891 ac_ext=c
54892 ac_cpp='$CPP $CPPFLAGS'
54893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54901 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54902 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54904 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54906 for ac_func in _isinf
54908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54909 echo "$as_me:$LINENO: checking for $ac_func" >&5
54910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54911 if eval "test \"\${$as_ac_var+set}\" = set"; then
54912 echo $ECHO_N "(cached) $ECHO_C" >&6
54913 else
54914 if test x$gcc_no_link = xyes; then
54915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54917 { (exit 1); exit 1; }; }
54919 cat >conftest.$ac_ext <<_ACEOF
54920 /* confdefs.h. */
54921 _ACEOF
54922 cat confdefs.h >>conftest.$ac_ext
54923 cat >>conftest.$ac_ext <<_ACEOF
54924 /* end confdefs.h. */
54925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54927 #define $ac_func innocuous_$ac_func
54929 /* System header to define __stub macros and hopefully few prototypes,
54930 which can conflict with char $ac_func (); below.
54931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54932 <limits.h> exists even on freestanding compilers. */
54934 #ifdef __STDC__
54935 # include <limits.h>
54936 #else
54937 # include <assert.h>
54938 #endif
54940 #undef $ac_func
54942 /* Override any gcc2 internal prototype to avoid an error. */
54943 #ifdef __cplusplus
54944 extern "C"
54946 #endif
54947 /* We use char because int might match the return type of a gcc2
54948 builtin and then its argument prototype would still apply. */
54949 char $ac_func ();
54950 /* The GNU C library defines this for functions which it implements
54951 to always fail with ENOSYS. Some functions are actually named
54952 something starting with __ and the normal name is an alias. */
54953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54954 choke me
54955 #else
54956 char (*f) () = $ac_func;
54957 #endif
54958 #ifdef __cplusplus
54960 #endif
54963 main ()
54965 return f != $ac_func;
54967 return 0;
54969 _ACEOF
54970 rm -f conftest.$ac_objext conftest$ac_exeext
54971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54972 (eval $ac_link) 2>conftest.er1
54973 ac_status=$?
54974 grep -v '^ *+' conftest.er1 >conftest.err
54975 rm -f conftest.er1
54976 cat conftest.err >&5
54977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54978 (exit $ac_status); } &&
54979 { ac_try='test -z "$ac_c_werror_flag"
54980 || test ! -s conftest.err'
54981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54982 (eval $ac_try) 2>&5
54983 ac_status=$?
54984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54985 (exit $ac_status); }; } &&
54986 { ac_try='test -s conftest$ac_exeext'
54987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54988 (eval $ac_try) 2>&5
54989 ac_status=$?
54990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54991 (exit $ac_status); }; }; then
54992 eval "$as_ac_var=yes"
54993 else
54994 echo "$as_me: failed program was:" >&5
54995 sed 's/^/| /' conftest.$ac_ext >&5
54997 eval "$as_ac_var=no"
54999 rm -f conftest.err conftest.$ac_objext \
55000 conftest$ac_exeext conftest.$ac_ext
55002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55004 if test `eval echo '${'$as_ac_var'}'` = yes; then
55005 cat >>confdefs.h <<_ACEOF
55006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55007 _ACEOF
55010 done
55020 echo "$as_me:$LINENO: checking for isnan declaration" >&5
55021 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
55022 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
55023 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
55024 echo $ECHO_N "(cached) $ECHO_C" >&6
55025 else
55029 ac_ext=cc
55030 ac_cpp='$CXXCPP $CPPFLAGS'
55031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55035 cat >conftest.$ac_ext <<_ACEOF
55036 /* confdefs.h. */
55037 _ACEOF
55038 cat confdefs.h >>conftest.$ac_ext
55039 cat >>conftest.$ac_ext <<_ACEOF
55040 /* end confdefs.h. */
55041 #include <math.h>
55042 #ifdef HAVE_IEEEFP_H
55043 #include <ieeefp.h>
55044 #endif
55047 main ()
55049 isnan(0);
55051 return 0;
55053 _ACEOF
55054 rm -f conftest.$ac_objext
55055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55056 (eval $ac_compile) 2>conftest.er1
55057 ac_status=$?
55058 grep -v '^ *+' conftest.er1 >conftest.err
55059 rm -f conftest.er1
55060 cat conftest.err >&5
55061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55062 (exit $ac_status); } &&
55063 { ac_try='test -z "$ac_cxx_werror_flag"
55064 || test ! -s conftest.err'
55065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55066 (eval $ac_try) 2>&5
55067 ac_status=$?
55068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55069 (exit $ac_status); }; } &&
55070 { ac_try='test -s conftest.$ac_objext'
55071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55072 (eval $ac_try) 2>&5
55073 ac_status=$?
55074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55075 (exit $ac_status); }; }; then
55076 glibcxx_cv_func_isnan_use=yes
55077 else
55078 echo "$as_me: failed program was:" >&5
55079 sed 's/^/| /' conftest.$ac_ext >&5
55081 glibcxx_cv_func_isnan_use=no
55083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55084 ac_ext=c
55085 ac_cpp='$CPP $CPPFLAGS'
55086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55094 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
55095 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
55097 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
55099 for ac_func in isnan
55101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55102 echo "$as_me:$LINENO: checking for $ac_func" >&5
55103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55104 if eval "test \"\${$as_ac_var+set}\" = set"; then
55105 echo $ECHO_N "(cached) $ECHO_C" >&6
55106 else
55107 if test x$gcc_no_link = xyes; then
55108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55110 { (exit 1); exit 1; }; }
55112 cat >conftest.$ac_ext <<_ACEOF
55113 /* confdefs.h. */
55114 _ACEOF
55115 cat confdefs.h >>conftest.$ac_ext
55116 cat >>conftest.$ac_ext <<_ACEOF
55117 /* end confdefs.h. */
55118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55120 #define $ac_func innocuous_$ac_func
55122 /* System header to define __stub macros and hopefully few prototypes,
55123 which can conflict with char $ac_func (); below.
55124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55125 <limits.h> exists even on freestanding compilers. */
55127 #ifdef __STDC__
55128 # include <limits.h>
55129 #else
55130 # include <assert.h>
55131 #endif
55133 #undef $ac_func
55135 /* Override any gcc2 internal prototype to avoid an error. */
55136 #ifdef __cplusplus
55137 extern "C"
55139 #endif
55140 /* We use char because int might match the return type of a gcc2
55141 builtin and then its argument prototype would still apply. */
55142 char $ac_func ();
55143 /* The GNU C library defines this for functions which it implements
55144 to always fail with ENOSYS. Some functions are actually named
55145 something starting with __ and the normal name is an alias. */
55146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55147 choke me
55148 #else
55149 char (*f) () = $ac_func;
55150 #endif
55151 #ifdef __cplusplus
55153 #endif
55156 main ()
55158 return f != $ac_func;
55160 return 0;
55162 _ACEOF
55163 rm -f conftest.$ac_objext conftest$ac_exeext
55164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55165 (eval $ac_link) 2>conftest.er1
55166 ac_status=$?
55167 grep -v '^ *+' conftest.er1 >conftest.err
55168 rm -f conftest.er1
55169 cat conftest.err >&5
55170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55171 (exit $ac_status); } &&
55172 { ac_try='test -z "$ac_c_werror_flag"
55173 || test ! -s conftest.err'
55174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55175 (eval $ac_try) 2>&5
55176 ac_status=$?
55177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55178 (exit $ac_status); }; } &&
55179 { ac_try='test -s conftest$ac_exeext'
55180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55181 (eval $ac_try) 2>&5
55182 ac_status=$?
55183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55184 (exit $ac_status); }; }; then
55185 eval "$as_ac_var=yes"
55186 else
55187 echo "$as_me: failed program was:" >&5
55188 sed 's/^/| /' conftest.$ac_ext >&5
55190 eval "$as_ac_var=no"
55192 rm -f conftest.err conftest.$ac_objext \
55193 conftest$ac_exeext conftest.$ac_ext
55195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55197 if test `eval echo '${'$as_ac_var'}'` = yes; then
55198 cat >>confdefs.h <<_ACEOF
55199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55200 _ACEOF
55203 done
55205 else
55207 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
55208 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
55209 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55210 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
55211 echo $ECHO_N "(cached) $ECHO_C" >&6
55212 else
55216 ac_ext=cc
55217 ac_cpp='$CXXCPP $CPPFLAGS'
55218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55222 cat >conftest.$ac_ext <<_ACEOF
55223 /* confdefs.h. */
55224 _ACEOF
55225 cat confdefs.h >>conftest.$ac_ext
55226 cat >>conftest.$ac_ext <<_ACEOF
55227 /* end confdefs.h. */
55228 #include <math.h>
55229 #ifdef HAVE_IEEEFP_H
55230 #include <ieeefp.h>
55231 #endif
55234 main ()
55236 _isnan(0);
55238 return 0;
55240 _ACEOF
55241 rm -f conftest.$ac_objext
55242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55243 (eval $ac_compile) 2>conftest.er1
55244 ac_status=$?
55245 grep -v '^ *+' conftest.er1 >conftest.err
55246 rm -f conftest.er1
55247 cat conftest.err >&5
55248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55249 (exit $ac_status); } &&
55250 { ac_try='test -z "$ac_cxx_werror_flag"
55251 || test ! -s conftest.err'
55252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55253 (eval $ac_try) 2>&5
55254 ac_status=$?
55255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55256 (exit $ac_status); }; } &&
55257 { ac_try='test -s conftest.$ac_objext'
55258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55259 (eval $ac_try) 2>&5
55260 ac_status=$?
55261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55262 (exit $ac_status); }; }; then
55263 glibcxx_cv_func__isnan_use=yes
55264 else
55265 echo "$as_me: failed program was:" >&5
55266 sed 's/^/| /' conftest.$ac_ext >&5
55268 glibcxx_cv_func__isnan_use=no
55270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55271 ac_ext=c
55272 ac_cpp='$CPP $CPPFLAGS'
55273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55281 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
55282 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
55284 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55286 for ac_func in _isnan
55288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55289 echo "$as_me:$LINENO: checking for $ac_func" >&5
55290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55291 if eval "test \"\${$as_ac_var+set}\" = set"; then
55292 echo $ECHO_N "(cached) $ECHO_C" >&6
55293 else
55294 if test x$gcc_no_link = xyes; then
55295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55297 { (exit 1); exit 1; }; }
55299 cat >conftest.$ac_ext <<_ACEOF
55300 /* confdefs.h. */
55301 _ACEOF
55302 cat confdefs.h >>conftest.$ac_ext
55303 cat >>conftest.$ac_ext <<_ACEOF
55304 /* end confdefs.h. */
55305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55307 #define $ac_func innocuous_$ac_func
55309 /* System header to define __stub macros and hopefully few prototypes,
55310 which can conflict with char $ac_func (); below.
55311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55312 <limits.h> exists even on freestanding compilers. */
55314 #ifdef __STDC__
55315 # include <limits.h>
55316 #else
55317 # include <assert.h>
55318 #endif
55320 #undef $ac_func
55322 /* Override any gcc2 internal prototype to avoid an error. */
55323 #ifdef __cplusplus
55324 extern "C"
55326 #endif
55327 /* We use char because int might match the return type of a gcc2
55328 builtin and then its argument prototype would still apply. */
55329 char $ac_func ();
55330 /* The GNU C library defines this for functions which it implements
55331 to always fail with ENOSYS. Some functions are actually named
55332 something starting with __ and the normal name is an alias. */
55333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55334 choke me
55335 #else
55336 char (*f) () = $ac_func;
55337 #endif
55338 #ifdef __cplusplus
55340 #endif
55343 main ()
55345 return f != $ac_func;
55347 return 0;
55349 _ACEOF
55350 rm -f conftest.$ac_objext conftest$ac_exeext
55351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55352 (eval $ac_link) 2>conftest.er1
55353 ac_status=$?
55354 grep -v '^ *+' conftest.er1 >conftest.err
55355 rm -f conftest.er1
55356 cat conftest.err >&5
55357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55358 (exit $ac_status); } &&
55359 { ac_try='test -z "$ac_c_werror_flag"
55360 || test ! -s conftest.err'
55361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55362 (eval $ac_try) 2>&5
55363 ac_status=$?
55364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55365 (exit $ac_status); }; } &&
55366 { ac_try='test -s conftest$ac_exeext'
55367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55368 (eval $ac_try) 2>&5
55369 ac_status=$?
55370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55371 (exit $ac_status); }; }; then
55372 eval "$as_ac_var=yes"
55373 else
55374 echo "$as_me: failed program was:" >&5
55375 sed 's/^/| /' conftest.$ac_ext >&5
55377 eval "$as_ac_var=no"
55379 rm -f conftest.err conftest.$ac_objext \
55380 conftest$ac_exeext conftest.$ac_ext
55382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55384 if test `eval echo '${'$as_ac_var'}'` = yes; then
55385 cat >>confdefs.h <<_ACEOF
55386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55387 _ACEOF
55390 done
55400 echo "$as_me:$LINENO: checking for finite declaration" >&5
55401 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
55402 if test x${glibcxx_cv_func_finite_use+set} != xset; then
55403 if test "${glibcxx_cv_func_finite_use+set}" = set; then
55404 echo $ECHO_N "(cached) $ECHO_C" >&6
55405 else
55409 ac_ext=cc
55410 ac_cpp='$CXXCPP $CPPFLAGS'
55411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55415 cat >conftest.$ac_ext <<_ACEOF
55416 /* confdefs.h. */
55417 _ACEOF
55418 cat confdefs.h >>conftest.$ac_ext
55419 cat >>conftest.$ac_ext <<_ACEOF
55420 /* end confdefs.h. */
55421 #include <math.h>
55422 #ifdef HAVE_IEEEFP_H
55423 #include <ieeefp.h>
55424 #endif
55427 main ()
55429 finite(0);
55431 return 0;
55433 _ACEOF
55434 rm -f conftest.$ac_objext
55435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55436 (eval $ac_compile) 2>conftest.er1
55437 ac_status=$?
55438 grep -v '^ *+' conftest.er1 >conftest.err
55439 rm -f conftest.er1
55440 cat conftest.err >&5
55441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55442 (exit $ac_status); } &&
55443 { ac_try='test -z "$ac_cxx_werror_flag"
55444 || test ! -s conftest.err'
55445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55446 (eval $ac_try) 2>&5
55447 ac_status=$?
55448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55449 (exit $ac_status); }; } &&
55450 { ac_try='test -s conftest.$ac_objext'
55451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55452 (eval $ac_try) 2>&5
55453 ac_status=$?
55454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55455 (exit $ac_status); }; }; then
55456 glibcxx_cv_func_finite_use=yes
55457 else
55458 echo "$as_me: failed program was:" >&5
55459 sed 's/^/| /' conftest.$ac_ext >&5
55461 glibcxx_cv_func_finite_use=no
55463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55464 ac_ext=c
55465 ac_cpp='$CPP $CPPFLAGS'
55466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55474 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
55475 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
55477 if test x$glibcxx_cv_func_finite_use = x"yes"; then
55479 for ac_func in finite
55481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55482 echo "$as_me:$LINENO: checking for $ac_func" >&5
55483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55484 if eval "test \"\${$as_ac_var+set}\" = set"; then
55485 echo $ECHO_N "(cached) $ECHO_C" >&6
55486 else
55487 if test x$gcc_no_link = xyes; then
55488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55490 { (exit 1); exit 1; }; }
55492 cat >conftest.$ac_ext <<_ACEOF
55493 /* confdefs.h. */
55494 _ACEOF
55495 cat confdefs.h >>conftest.$ac_ext
55496 cat >>conftest.$ac_ext <<_ACEOF
55497 /* end confdefs.h. */
55498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55500 #define $ac_func innocuous_$ac_func
55502 /* System header to define __stub macros and hopefully few prototypes,
55503 which can conflict with char $ac_func (); below.
55504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55505 <limits.h> exists even on freestanding compilers. */
55507 #ifdef __STDC__
55508 # include <limits.h>
55509 #else
55510 # include <assert.h>
55511 #endif
55513 #undef $ac_func
55515 /* Override any gcc2 internal prototype to avoid an error. */
55516 #ifdef __cplusplus
55517 extern "C"
55519 #endif
55520 /* We use char because int might match the return type of a gcc2
55521 builtin and then its argument prototype would still apply. */
55522 char $ac_func ();
55523 /* The GNU C library defines this for functions which it implements
55524 to always fail with ENOSYS. Some functions are actually named
55525 something starting with __ and the normal name is an alias. */
55526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55527 choke me
55528 #else
55529 char (*f) () = $ac_func;
55530 #endif
55531 #ifdef __cplusplus
55533 #endif
55536 main ()
55538 return f != $ac_func;
55540 return 0;
55542 _ACEOF
55543 rm -f conftest.$ac_objext conftest$ac_exeext
55544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55545 (eval $ac_link) 2>conftest.er1
55546 ac_status=$?
55547 grep -v '^ *+' conftest.er1 >conftest.err
55548 rm -f conftest.er1
55549 cat conftest.err >&5
55550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55551 (exit $ac_status); } &&
55552 { ac_try='test -z "$ac_c_werror_flag"
55553 || test ! -s conftest.err'
55554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55555 (eval $ac_try) 2>&5
55556 ac_status=$?
55557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55558 (exit $ac_status); }; } &&
55559 { ac_try='test -s conftest$ac_exeext'
55560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55561 (eval $ac_try) 2>&5
55562 ac_status=$?
55563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55564 (exit $ac_status); }; }; then
55565 eval "$as_ac_var=yes"
55566 else
55567 echo "$as_me: failed program was:" >&5
55568 sed 's/^/| /' conftest.$ac_ext >&5
55570 eval "$as_ac_var=no"
55572 rm -f conftest.err conftest.$ac_objext \
55573 conftest$ac_exeext conftest.$ac_ext
55575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55577 if test `eval echo '${'$as_ac_var'}'` = yes; then
55578 cat >>confdefs.h <<_ACEOF
55579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55580 _ACEOF
55583 done
55585 else
55587 echo "$as_me:$LINENO: checking for _finite declaration" >&5
55588 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
55589 if test x${glibcxx_cv_func__finite_use+set} != xset; then
55590 if test "${glibcxx_cv_func__finite_use+set}" = set; then
55591 echo $ECHO_N "(cached) $ECHO_C" >&6
55592 else
55596 ac_ext=cc
55597 ac_cpp='$CXXCPP $CPPFLAGS'
55598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55602 cat >conftest.$ac_ext <<_ACEOF
55603 /* confdefs.h. */
55604 _ACEOF
55605 cat confdefs.h >>conftest.$ac_ext
55606 cat >>conftest.$ac_ext <<_ACEOF
55607 /* end confdefs.h. */
55608 #include <math.h>
55609 #ifdef HAVE_IEEEFP_H
55610 #include <ieeefp.h>
55611 #endif
55614 main ()
55616 _finite(0);
55618 return 0;
55620 _ACEOF
55621 rm -f conftest.$ac_objext
55622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55623 (eval $ac_compile) 2>conftest.er1
55624 ac_status=$?
55625 grep -v '^ *+' conftest.er1 >conftest.err
55626 rm -f conftest.er1
55627 cat conftest.err >&5
55628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55629 (exit $ac_status); } &&
55630 { ac_try='test -z "$ac_cxx_werror_flag"
55631 || test ! -s conftest.err'
55632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55633 (eval $ac_try) 2>&5
55634 ac_status=$?
55635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55636 (exit $ac_status); }; } &&
55637 { ac_try='test -s conftest.$ac_objext'
55638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55639 (eval $ac_try) 2>&5
55640 ac_status=$?
55641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55642 (exit $ac_status); }; }; then
55643 glibcxx_cv_func__finite_use=yes
55644 else
55645 echo "$as_me: failed program was:" >&5
55646 sed 's/^/| /' conftest.$ac_ext >&5
55648 glibcxx_cv_func__finite_use=no
55650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55651 ac_ext=c
55652 ac_cpp='$CPP $CPPFLAGS'
55653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55661 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
55662 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
55664 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55666 for ac_func in _finite
55668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55669 echo "$as_me:$LINENO: checking for $ac_func" >&5
55670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55671 if eval "test \"\${$as_ac_var+set}\" = set"; then
55672 echo $ECHO_N "(cached) $ECHO_C" >&6
55673 else
55674 if test x$gcc_no_link = xyes; then
55675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55677 { (exit 1); exit 1; }; }
55679 cat >conftest.$ac_ext <<_ACEOF
55680 /* confdefs.h. */
55681 _ACEOF
55682 cat confdefs.h >>conftest.$ac_ext
55683 cat >>conftest.$ac_ext <<_ACEOF
55684 /* end confdefs.h. */
55685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55687 #define $ac_func innocuous_$ac_func
55689 /* System header to define __stub macros and hopefully few prototypes,
55690 which can conflict with char $ac_func (); below.
55691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55692 <limits.h> exists even on freestanding compilers. */
55694 #ifdef __STDC__
55695 # include <limits.h>
55696 #else
55697 # include <assert.h>
55698 #endif
55700 #undef $ac_func
55702 /* Override any gcc2 internal prototype to avoid an error. */
55703 #ifdef __cplusplus
55704 extern "C"
55706 #endif
55707 /* We use char because int might match the return type of a gcc2
55708 builtin and then its argument prototype would still apply. */
55709 char $ac_func ();
55710 /* The GNU C library defines this for functions which it implements
55711 to always fail with ENOSYS. Some functions are actually named
55712 something starting with __ and the normal name is an alias. */
55713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55714 choke me
55715 #else
55716 char (*f) () = $ac_func;
55717 #endif
55718 #ifdef __cplusplus
55720 #endif
55723 main ()
55725 return f != $ac_func;
55727 return 0;
55729 _ACEOF
55730 rm -f conftest.$ac_objext conftest$ac_exeext
55731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55732 (eval $ac_link) 2>conftest.er1
55733 ac_status=$?
55734 grep -v '^ *+' conftest.er1 >conftest.err
55735 rm -f conftest.er1
55736 cat conftest.err >&5
55737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55738 (exit $ac_status); } &&
55739 { ac_try='test -z "$ac_c_werror_flag"
55740 || test ! -s conftest.err'
55741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55742 (eval $ac_try) 2>&5
55743 ac_status=$?
55744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55745 (exit $ac_status); }; } &&
55746 { ac_try='test -s conftest$ac_exeext'
55747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55748 (eval $ac_try) 2>&5
55749 ac_status=$?
55750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55751 (exit $ac_status); }; }; then
55752 eval "$as_ac_var=yes"
55753 else
55754 echo "$as_me: failed program was:" >&5
55755 sed 's/^/| /' conftest.$ac_ext >&5
55757 eval "$as_ac_var=no"
55759 rm -f conftest.err conftest.$ac_objext \
55760 conftest$ac_exeext conftest.$ac_ext
55762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55764 if test `eval echo '${'$as_ac_var'}'` = yes; then
55765 cat >>confdefs.h <<_ACEOF
55766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55767 _ACEOF
55770 done
55780 echo "$as_me:$LINENO: checking for copysign declaration" >&5
55781 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55782 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55783 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55784 echo $ECHO_N "(cached) $ECHO_C" >&6
55785 else
55789 ac_ext=cc
55790 ac_cpp='$CXXCPP $CPPFLAGS'
55791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55795 cat >conftest.$ac_ext <<_ACEOF
55796 /* confdefs.h. */
55797 _ACEOF
55798 cat confdefs.h >>conftest.$ac_ext
55799 cat >>conftest.$ac_ext <<_ACEOF
55800 /* end confdefs.h. */
55801 #include <math.h>
55803 main ()
55805 copysign(0, 0);
55807 return 0;
55809 _ACEOF
55810 rm -f conftest.$ac_objext
55811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55812 (eval $ac_compile) 2>conftest.er1
55813 ac_status=$?
55814 grep -v '^ *+' conftest.er1 >conftest.err
55815 rm -f conftest.er1
55816 cat conftest.err >&5
55817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55818 (exit $ac_status); } &&
55819 { ac_try='test -z "$ac_cxx_werror_flag"
55820 || test ! -s conftest.err'
55821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55822 (eval $ac_try) 2>&5
55823 ac_status=$?
55824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55825 (exit $ac_status); }; } &&
55826 { ac_try='test -s conftest.$ac_objext'
55827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55828 (eval $ac_try) 2>&5
55829 ac_status=$?
55830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55831 (exit $ac_status); }; }; then
55832 glibcxx_cv_func_copysign_use=yes
55833 else
55834 echo "$as_me: failed program was:" >&5
55835 sed 's/^/| /' conftest.$ac_ext >&5
55837 glibcxx_cv_func_copysign_use=no
55839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55840 ac_ext=c
55841 ac_cpp='$CPP $CPPFLAGS'
55842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55850 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55851 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55853 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55855 for ac_func in copysign
55857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55858 echo "$as_me:$LINENO: checking for $ac_func" >&5
55859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55860 if eval "test \"\${$as_ac_var+set}\" = set"; then
55861 echo $ECHO_N "(cached) $ECHO_C" >&6
55862 else
55863 if test x$gcc_no_link = xyes; then
55864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55866 { (exit 1); exit 1; }; }
55868 cat >conftest.$ac_ext <<_ACEOF
55869 /* confdefs.h. */
55870 _ACEOF
55871 cat confdefs.h >>conftest.$ac_ext
55872 cat >>conftest.$ac_ext <<_ACEOF
55873 /* end confdefs.h. */
55874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55876 #define $ac_func innocuous_$ac_func
55878 /* System header to define __stub macros and hopefully few prototypes,
55879 which can conflict with char $ac_func (); below.
55880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55881 <limits.h> exists even on freestanding compilers. */
55883 #ifdef __STDC__
55884 # include <limits.h>
55885 #else
55886 # include <assert.h>
55887 #endif
55889 #undef $ac_func
55891 /* Override any gcc2 internal prototype to avoid an error. */
55892 #ifdef __cplusplus
55893 extern "C"
55895 #endif
55896 /* We use char because int might match the return type of a gcc2
55897 builtin and then its argument prototype would still apply. */
55898 char $ac_func ();
55899 /* The GNU C library defines this for functions which it implements
55900 to always fail with ENOSYS. Some functions are actually named
55901 something starting with __ and the normal name is an alias. */
55902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55903 choke me
55904 #else
55905 char (*f) () = $ac_func;
55906 #endif
55907 #ifdef __cplusplus
55909 #endif
55912 main ()
55914 return f != $ac_func;
55916 return 0;
55918 _ACEOF
55919 rm -f conftest.$ac_objext conftest$ac_exeext
55920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55921 (eval $ac_link) 2>conftest.er1
55922 ac_status=$?
55923 grep -v '^ *+' conftest.er1 >conftest.err
55924 rm -f conftest.er1
55925 cat conftest.err >&5
55926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55927 (exit $ac_status); } &&
55928 { ac_try='test -z "$ac_c_werror_flag"
55929 || test ! -s conftest.err'
55930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55931 (eval $ac_try) 2>&5
55932 ac_status=$?
55933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55934 (exit $ac_status); }; } &&
55935 { ac_try='test -s conftest$ac_exeext'
55936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55937 (eval $ac_try) 2>&5
55938 ac_status=$?
55939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55940 (exit $ac_status); }; }; then
55941 eval "$as_ac_var=yes"
55942 else
55943 echo "$as_me: failed program was:" >&5
55944 sed 's/^/| /' conftest.$ac_ext >&5
55946 eval "$as_ac_var=no"
55948 rm -f conftest.err conftest.$ac_objext \
55949 conftest$ac_exeext conftest.$ac_ext
55951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55953 if test `eval echo '${'$as_ac_var'}'` = yes; then
55954 cat >>confdefs.h <<_ACEOF
55955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55956 _ACEOF
55959 done
55961 else
55963 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55964 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55965 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55966 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55967 echo $ECHO_N "(cached) $ECHO_C" >&6
55968 else
55972 ac_ext=cc
55973 ac_cpp='$CXXCPP $CPPFLAGS'
55974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55978 cat >conftest.$ac_ext <<_ACEOF
55979 /* confdefs.h. */
55980 _ACEOF
55981 cat confdefs.h >>conftest.$ac_ext
55982 cat >>conftest.$ac_ext <<_ACEOF
55983 /* end confdefs.h. */
55984 #include <math.h>
55986 main ()
55988 _copysign(0, 0);
55990 return 0;
55992 _ACEOF
55993 rm -f conftest.$ac_objext
55994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55995 (eval $ac_compile) 2>conftest.er1
55996 ac_status=$?
55997 grep -v '^ *+' conftest.er1 >conftest.err
55998 rm -f conftest.er1
55999 cat conftest.err >&5
56000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56001 (exit $ac_status); } &&
56002 { ac_try='test -z "$ac_cxx_werror_flag"
56003 || test ! -s conftest.err'
56004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56005 (eval $ac_try) 2>&5
56006 ac_status=$?
56007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56008 (exit $ac_status); }; } &&
56009 { ac_try='test -s conftest.$ac_objext'
56010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56011 (eval $ac_try) 2>&5
56012 ac_status=$?
56013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56014 (exit $ac_status); }; }; then
56015 glibcxx_cv_func__copysign_use=yes
56016 else
56017 echo "$as_me: failed program was:" >&5
56018 sed 's/^/| /' conftest.$ac_ext >&5
56020 glibcxx_cv_func__copysign_use=no
56022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56023 ac_ext=c
56024 ac_cpp='$CPP $CPPFLAGS'
56025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56033 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
56034 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
56036 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
56038 for ac_func in _copysign
56040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56041 echo "$as_me:$LINENO: checking for $ac_func" >&5
56042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56043 if eval "test \"\${$as_ac_var+set}\" = set"; then
56044 echo $ECHO_N "(cached) $ECHO_C" >&6
56045 else
56046 if test x$gcc_no_link = xyes; then
56047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56049 { (exit 1); exit 1; }; }
56051 cat >conftest.$ac_ext <<_ACEOF
56052 /* confdefs.h. */
56053 _ACEOF
56054 cat confdefs.h >>conftest.$ac_ext
56055 cat >>conftest.$ac_ext <<_ACEOF
56056 /* end confdefs.h. */
56057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56059 #define $ac_func innocuous_$ac_func
56061 /* System header to define __stub macros and hopefully few prototypes,
56062 which can conflict with char $ac_func (); below.
56063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56064 <limits.h> exists even on freestanding compilers. */
56066 #ifdef __STDC__
56067 # include <limits.h>
56068 #else
56069 # include <assert.h>
56070 #endif
56072 #undef $ac_func
56074 /* Override any gcc2 internal prototype to avoid an error. */
56075 #ifdef __cplusplus
56076 extern "C"
56078 #endif
56079 /* We use char because int might match the return type of a gcc2
56080 builtin and then its argument prototype would still apply. */
56081 char $ac_func ();
56082 /* The GNU C library defines this for functions which it implements
56083 to always fail with ENOSYS. Some functions are actually named
56084 something starting with __ and the normal name is an alias. */
56085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56086 choke me
56087 #else
56088 char (*f) () = $ac_func;
56089 #endif
56090 #ifdef __cplusplus
56092 #endif
56095 main ()
56097 return f != $ac_func;
56099 return 0;
56101 _ACEOF
56102 rm -f conftest.$ac_objext conftest$ac_exeext
56103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56104 (eval $ac_link) 2>conftest.er1
56105 ac_status=$?
56106 grep -v '^ *+' conftest.er1 >conftest.err
56107 rm -f conftest.er1
56108 cat conftest.err >&5
56109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56110 (exit $ac_status); } &&
56111 { ac_try='test -z "$ac_c_werror_flag"
56112 || test ! -s conftest.err'
56113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56114 (eval $ac_try) 2>&5
56115 ac_status=$?
56116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56117 (exit $ac_status); }; } &&
56118 { ac_try='test -s conftest$ac_exeext'
56119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56120 (eval $ac_try) 2>&5
56121 ac_status=$?
56122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56123 (exit $ac_status); }; }; then
56124 eval "$as_ac_var=yes"
56125 else
56126 echo "$as_me: failed program was:" >&5
56127 sed 's/^/| /' conftest.$ac_ext >&5
56129 eval "$as_ac_var=no"
56131 rm -f conftest.err conftest.$ac_objext \
56132 conftest$ac_exeext conftest.$ac_ext
56134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56136 if test `eval echo '${'$as_ac_var'}'` = yes; then
56137 cat >>confdefs.h <<_ACEOF
56138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56139 _ACEOF
56142 done
56152 echo "$as_me:$LINENO: checking for sincos declaration" >&5
56153 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
56154 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
56155 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
56156 echo $ECHO_N "(cached) $ECHO_C" >&6
56157 else
56161 ac_ext=cc
56162 ac_cpp='$CXXCPP $CPPFLAGS'
56163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56167 cat >conftest.$ac_ext <<_ACEOF
56168 /* confdefs.h. */
56169 _ACEOF
56170 cat confdefs.h >>conftest.$ac_ext
56171 cat >>conftest.$ac_ext <<_ACEOF
56172 /* end confdefs.h. */
56173 #include <math.h>
56175 main ()
56177 sincos(0, 0, 0);
56179 return 0;
56181 _ACEOF
56182 rm -f conftest.$ac_objext
56183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56184 (eval $ac_compile) 2>conftest.er1
56185 ac_status=$?
56186 grep -v '^ *+' conftest.er1 >conftest.err
56187 rm -f conftest.er1
56188 cat conftest.err >&5
56189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56190 (exit $ac_status); } &&
56191 { ac_try='test -z "$ac_cxx_werror_flag"
56192 || test ! -s conftest.err'
56193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56194 (eval $ac_try) 2>&5
56195 ac_status=$?
56196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56197 (exit $ac_status); }; } &&
56198 { ac_try='test -s conftest.$ac_objext'
56199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56200 (eval $ac_try) 2>&5
56201 ac_status=$?
56202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56203 (exit $ac_status); }; }; then
56204 glibcxx_cv_func_sincos_use=yes
56205 else
56206 echo "$as_me: failed program was:" >&5
56207 sed 's/^/| /' conftest.$ac_ext >&5
56209 glibcxx_cv_func_sincos_use=no
56211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56212 ac_ext=c
56213 ac_cpp='$CPP $CPPFLAGS'
56214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
56223 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
56225 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56227 for ac_func in sincos
56229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56230 echo "$as_me:$LINENO: checking for $ac_func" >&5
56231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56232 if eval "test \"\${$as_ac_var+set}\" = set"; then
56233 echo $ECHO_N "(cached) $ECHO_C" >&6
56234 else
56235 if test x$gcc_no_link = xyes; then
56236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56238 { (exit 1); exit 1; }; }
56240 cat >conftest.$ac_ext <<_ACEOF
56241 /* confdefs.h. */
56242 _ACEOF
56243 cat confdefs.h >>conftest.$ac_ext
56244 cat >>conftest.$ac_ext <<_ACEOF
56245 /* end confdefs.h. */
56246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56248 #define $ac_func innocuous_$ac_func
56250 /* System header to define __stub macros and hopefully few prototypes,
56251 which can conflict with char $ac_func (); below.
56252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56253 <limits.h> exists even on freestanding compilers. */
56255 #ifdef __STDC__
56256 # include <limits.h>
56257 #else
56258 # include <assert.h>
56259 #endif
56261 #undef $ac_func
56263 /* Override any gcc2 internal prototype to avoid an error. */
56264 #ifdef __cplusplus
56265 extern "C"
56267 #endif
56268 /* We use char because int might match the return type of a gcc2
56269 builtin and then its argument prototype would still apply. */
56270 char $ac_func ();
56271 /* The GNU C library defines this for functions which it implements
56272 to always fail with ENOSYS. Some functions are actually named
56273 something starting with __ and the normal name is an alias. */
56274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56275 choke me
56276 #else
56277 char (*f) () = $ac_func;
56278 #endif
56279 #ifdef __cplusplus
56281 #endif
56284 main ()
56286 return f != $ac_func;
56288 return 0;
56290 _ACEOF
56291 rm -f conftest.$ac_objext conftest$ac_exeext
56292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56293 (eval $ac_link) 2>conftest.er1
56294 ac_status=$?
56295 grep -v '^ *+' conftest.er1 >conftest.err
56296 rm -f conftest.er1
56297 cat conftest.err >&5
56298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56299 (exit $ac_status); } &&
56300 { ac_try='test -z "$ac_c_werror_flag"
56301 || test ! -s conftest.err'
56302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56303 (eval $ac_try) 2>&5
56304 ac_status=$?
56305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56306 (exit $ac_status); }; } &&
56307 { ac_try='test -s conftest$ac_exeext'
56308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56309 (eval $ac_try) 2>&5
56310 ac_status=$?
56311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56312 (exit $ac_status); }; }; then
56313 eval "$as_ac_var=yes"
56314 else
56315 echo "$as_me: failed program was:" >&5
56316 sed 's/^/| /' conftest.$ac_ext >&5
56318 eval "$as_ac_var=no"
56320 rm -f conftest.err conftest.$ac_objext \
56321 conftest$ac_exeext conftest.$ac_ext
56323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56325 if test `eval echo '${'$as_ac_var'}'` = yes; then
56326 cat >>confdefs.h <<_ACEOF
56327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56328 _ACEOF
56331 done
56333 else
56335 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
56336 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
56337 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
56338 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
56339 echo $ECHO_N "(cached) $ECHO_C" >&6
56340 else
56344 ac_ext=cc
56345 ac_cpp='$CXXCPP $CPPFLAGS'
56346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56350 cat >conftest.$ac_ext <<_ACEOF
56351 /* confdefs.h. */
56352 _ACEOF
56353 cat confdefs.h >>conftest.$ac_ext
56354 cat >>conftest.$ac_ext <<_ACEOF
56355 /* end confdefs.h. */
56356 #include <math.h>
56358 main ()
56360 _sincos(0, 0, 0);
56362 return 0;
56364 _ACEOF
56365 rm -f conftest.$ac_objext
56366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56367 (eval $ac_compile) 2>conftest.er1
56368 ac_status=$?
56369 grep -v '^ *+' conftest.er1 >conftest.err
56370 rm -f conftest.er1
56371 cat conftest.err >&5
56372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56373 (exit $ac_status); } &&
56374 { ac_try='test -z "$ac_cxx_werror_flag"
56375 || test ! -s conftest.err'
56376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56377 (eval $ac_try) 2>&5
56378 ac_status=$?
56379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56380 (exit $ac_status); }; } &&
56381 { ac_try='test -s conftest.$ac_objext'
56382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56383 (eval $ac_try) 2>&5
56384 ac_status=$?
56385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56386 (exit $ac_status); }; }; then
56387 glibcxx_cv_func__sincos_use=yes
56388 else
56389 echo "$as_me: failed program was:" >&5
56390 sed 's/^/| /' conftest.$ac_ext >&5
56392 glibcxx_cv_func__sincos_use=no
56394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56395 ac_ext=c
56396 ac_cpp='$CPP $CPPFLAGS'
56397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56405 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
56406 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
56408 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56410 for ac_func in _sincos
56412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56413 echo "$as_me:$LINENO: checking for $ac_func" >&5
56414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56415 if eval "test \"\${$as_ac_var+set}\" = set"; then
56416 echo $ECHO_N "(cached) $ECHO_C" >&6
56417 else
56418 if test x$gcc_no_link = xyes; then
56419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56421 { (exit 1); exit 1; }; }
56423 cat >conftest.$ac_ext <<_ACEOF
56424 /* confdefs.h. */
56425 _ACEOF
56426 cat confdefs.h >>conftest.$ac_ext
56427 cat >>conftest.$ac_ext <<_ACEOF
56428 /* end confdefs.h. */
56429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56431 #define $ac_func innocuous_$ac_func
56433 /* System header to define __stub macros and hopefully few prototypes,
56434 which can conflict with char $ac_func (); below.
56435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56436 <limits.h> exists even on freestanding compilers. */
56438 #ifdef __STDC__
56439 # include <limits.h>
56440 #else
56441 # include <assert.h>
56442 #endif
56444 #undef $ac_func
56446 /* Override any gcc2 internal prototype to avoid an error. */
56447 #ifdef __cplusplus
56448 extern "C"
56450 #endif
56451 /* We use char because int might match the return type of a gcc2
56452 builtin and then its argument prototype would still apply. */
56453 char $ac_func ();
56454 /* The GNU C library defines this for functions which it implements
56455 to always fail with ENOSYS. Some functions are actually named
56456 something starting with __ and the normal name is an alias. */
56457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56458 choke me
56459 #else
56460 char (*f) () = $ac_func;
56461 #endif
56462 #ifdef __cplusplus
56464 #endif
56467 main ()
56469 return f != $ac_func;
56471 return 0;
56473 _ACEOF
56474 rm -f conftest.$ac_objext conftest$ac_exeext
56475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56476 (eval $ac_link) 2>conftest.er1
56477 ac_status=$?
56478 grep -v '^ *+' conftest.er1 >conftest.err
56479 rm -f conftest.er1
56480 cat conftest.err >&5
56481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56482 (exit $ac_status); } &&
56483 { ac_try='test -z "$ac_c_werror_flag"
56484 || test ! -s conftest.err'
56485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56486 (eval $ac_try) 2>&5
56487 ac_status=$?
56488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56489 (exit $ac_status); }; } &&
56490 { ac_try='test -s conftest$ac_exeext'
56491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56492 (eval $ac_try) 2>&5
56493 ac_status=$?
56494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56495 (exit $ac_status); }; }; then
56496 eval "$as_ac_var=yes"
56497 else
56498 echo "$as_me: failed program was:" >&5
56499 sed 's/^/| /' conftest.$ac_ext >&5
56501 eval "$as_ac_var=no"
56503 rm -f conftest.err conftest.$ac_objext \
56504 conftest$ac_exeext conftest.$ac_ext
56506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56508 if test `eval echo '${'$as_ac_var'}'` = yes; then
56509 cat >>confdefs.h <<_ACEOF
56510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56511 _ACEOF
56514 done
56524 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
56525 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
56526 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56527 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
56528 echo $ECHO_N "(cached) $ECHO_C" >&6
56529 else
56533 ac_ext=cc
56534 ac_cpp='$CXXCPP $CPPFLAGS'
56535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56539 cat >conftest.$ac_ext <<_ACEOF
56540 /* confdefs.h. */
56541 _ACEOF
56542 cat confdefs.h >>conftest.$ac_ext
56543 cat >>conftest.$ac_ext <<_ACEOF
56544 /* end confdefs.h. */
56545 #include <math.h>
56546 #ifdef HAVE_IEEEFP_H
56547 #include <ieeefp.h>
56548 #endif
56551 main ()
56553 fpclass(0);
56555 return 0;
56557 _ACEOF
56558 rm -f conftest.$ac_objext
56559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56560 (eval $ac_compile) 2>conftest.er1
56561 ac_status=$?
56562 grep -v '^ *+' conftest.er1 >conftest.err
56563 rm -f conftest.er1
56564 cat conftest.err >&5
56565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56566 (exit $ac_status); } &&
56567 { ac_try='test -z "$ac_cxx_werror_flag"
56568 || test ! -s conftest.err'
56569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56570 (eval $ac_try) 2>&5
56571 ac_status=$?
56572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56573 (exit $ac_status); }; } &&
56574 { ac_try='test -s conftest.$ac_objext'
56575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56576 (eval $ac_try) 2>&5
56577 ac_status=$?
56578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56579 (exit $ac_status); }; }; then
56580 glibcxx_cv_func_fpclass_use=yes
56581 else
56582 echo "$as_me: failed program was:" >&5
56583 sed 's/^/| /' conftest.$ac_ext >&5
56585 glibcxx_cv_func_fpclass_use=no
56587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56588 ac_ext=c
56589 ac_cpp='$CPP $CPPFLAGS'
56590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56598 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
56599 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
56601 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
56603 for ac_func in fpclass
56605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56606 echo "$as_me:$LINENO: checking for $ac_func" >&5
56607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56608 if eval "test \"\${$as_ac_var+set}\" = set"; then
56609 echo $ECHO_N "(cached) $ECHO_C" >&6
56610 else
56611 if test x$gcc_no_link = xyes; then
56612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56614 { (exit 1); exit 1; }; }
56616 cat >conftest.$ac_ext <<_ACEOF
56617 /* confdefs.h. */
56618 _ACEOF
56619 cat confdefs.h >>conftest.$ac_ext
56620 cat >>conftest.$ac_ext <<_ACEOF
56621 /* end confdefs.h. */
56622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56624 #define $ac_func innocuous_$ac_func
56626 /* System header to define __stub macros and hopefully few prototypes,
56627 which can conflict with char $ac_func (); below.
56628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56629 <limits.h> exists even on freestanding compilers. */
56631 #ifdef __STDC__
56632 # include <limits.h>
56633 #else
56634 # include <assert.h>
56635 #endif
56637 #undef $ac_func
56639 /* Override any gcc2 internal prototype to avoid an error. */
56640 #ifdef __cplusplus
56641 extern "C"
56643 #endif
56644 /* We use char because int might match the return type of a gcc2
56645 builtin and then its argument prototype would still apply. */
56646 char $ac_func ();
56647 /* The GNU C library defines this for functions which it implements
56648 to always fail with ENOSYS. Some functions are actually named
56649 something starting with __ and the normal name is an alias. */
56650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56651 choke me
56652 #else
56653 char (*f) () = $ac_func;
56654 #endif
56655 #ifdef __cplusplus
56657 #endif
56660 main ()
56662 return f != $ac_func;
56664 return 0;
56666 _ACEOF
56667 rm -f conftest.$ac_objext conftest$ac_exeext
56668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56669 (eval $ac_link) 2>conftest.er1
56670 ac_status=$?
56671 grep -v '^ *+' conftest.er1 >conftest.err
56672 rm -f conftest.er1
56673 cat conftest.err >&5
56674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56675 (exit $ac_status); } &&
56676 { ac_try='test -z "$ac_c_werror_flag"
56677 || test ! -s conftest.err'
56678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56679 (eval $ac_try) 2>&5
56680 ac_status=$?
56681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56682 (exit $ac_status); }; } &&
56683 { ac_try='test -s conftest$ac_exeext'
56684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56685 (eval $ac_try) 2>&5
56686 ac_status=$?
56687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56688 (exit $ac_status); }; }; then
56689 eval "$as_ac_var=yes"
56690 else
56691 echo "$as_me: failed program was:" >&5
56692 sed 's/^/| /' conftest.$ac_ext >&5
56694 eval "$as_ac_var=no"
56696 rm -f conftest.err conftest.$ac_objext \
56697 conftest$ac_exeext conftest.$ac_ext
56699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56701 if test `eval echo '${'$as_ac_var'}'` = yes; then
56702 cat >>confdefs.h <<_ACEOF
56703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56704 _ACEOF
56707 done
56709 else
56711 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
56712 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
56713 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56714 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
56715 echo $ECHO_N "(cached) $ECHO_C" >&6
56716 else
56720 ac_ext=cc
56721 ac_cpp='$CXXCPP $CPPFLAGS'
56722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56726 cat >conftest.$ac_ext <<_ACEOF
56727 /* confdefs.h. */
56728 _ACEOF
56729 cat confdefs.h >>conftest.$ac_ext
56730 cat >>conftest.$ac_ext <<_ACEOF
56731 /* end confdefs.h. */
56732 #include <math.h>
56733 #ifdef HAVE_IEEEFP_H
56734 #include <ieeefp.h>
56735 #endif
56738 main ()
56740 _fpclass(0);
56742 return 0;
56744 _ACEOF
56745 rm -f conftest.$ac_objext
56746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56747 (eval $ac_compile) 2>conftest.er1
56748 ac_status=$?
56749 grep -v '^ *+' conftest.er1 >conftest.err
56750 rm -f conftest.er1
56751 cat conftest.err >&5
56752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56753 (exit $ac_status); } &&
56754 { ac_try='test -z "$ac_cxx_werror_flag"
56755 || test ! -s conftest.err'
56756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56757 (eval $ac_try) 2>&5
56758 ac_status=$?
56759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56760 (exit $ac_status); }; } &&
56761 { ac_try='test -s conftest.$ac_objext'
56762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56763 (eval $ac_try) 2>&5
56764 ac_status=$?
56765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56766 (exit $ac_status); }; }; then
56767 glibcxx_cv_func__fpclass_use=yes
56768 else
56769 echo "$as_me: failed program was:" >&5
56770 sed 's/^/| /' conftest.$ac_ext >&5
56772 glibcxx_cv_func__fpclass_use=no
56774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56775 ac_ext=c
56776 ac_cpp='$CPP $CPPFLAGS'
56777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56785 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56786 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56788 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56790 for ac_func in _fpclass
56792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56793 echo "$as_me:$LINENO: checking for $ac_func" >&5
56794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56795 if eval "test \"\${$as_ac_var+set}\" = set"; then
56796 echo $ECHO_N "(cached) $ECHO_C" >&6
56797 else
56798 if test x$gcc_no_link = xyes; then
56799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56801 { (exit 1); exit 1; }; }
56803 cat >conftest.$ac_ext <<_ACEOF
56804 /* confdefs.h. */
56805 _ACEOF
56806 cat confdefs.h >>conftest.$ac_ext
56807 cat >>conftest.$ac_ext <<_ACEOF
56808 /* end confdefs.h. */
56809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56811 #define $ac_func innocuous_$ac_func
56813 /* System header to define __stub macros and hopefully few prototypes,
56814 which can conflict with char $ac_func (); below.
56815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56816 <limits.h> exists even on freestanding compilers. */
56818 #ifdef __STDC__
56819 # include <limits.h>
56820 #else
56821 # include <assert.h>
56822 #endif
56824 #undef $ac_func
56826 /* Override any gcc2 internal prototype to avoid an error. */
56827 #ifdef __cplusplus
56828 extern "C"
56830 #endif
56831 /* We use char because int might match the return type of a gcc2
56832 builtin and then its argument prototype would still apply. */
56833 char $ac_func ();
56834 /* The GNU C library defines this for functions which it implements
56835 to always fail with ENOSYS. Some functions are actually named
56836 something starting with __ and the normal name is an alias. */
56837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56838 choke me
56839 #else
56840 char (*f) () = $ac_func;
56841 #endif
56842 #ifdef __cplusplus
56844 #endif
56847 main ()
56849 return f != $ac_func;
56851 return 0;
56853 _ACEOF
56854 rm -f conftest.$ac_objext conftest$ac_exeext
56855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56856 (eval $ac_link) 2>conftest.er1
56857 ac_status=$?
56858 grep -v '^ *+' conftest.er1 >conftest.err
56859 rm -f conftest.er1
56860 cat conftest.err >&5
56861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56862 (exit $ac_status); } &&
56863 { ac_try='test -z "$ac_c_werror_flag"
56864 || test ! -s conftest.err'
56865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56866 (eval $ac_try) 2>&5
56867 ac_status=$?
56868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56869 (exit $ac_status); }; } &&
56870 { ac_try='test -s conftest$ac_exeext'
56871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56872 (eval $ac_try) 2>&5
56873 ac_status=$?
56874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56875 (exit $ac_status); }; }; then
56876 eval "$as_ac_var=yes"
56877 else
56878 echo "$as_me: failed program was:" >&5
56879 sed 's/^/| /' conftest.$ac_ext >&5
56881 eval "$as_ac_var=no"
56883 rm -f conftest.err conftest.$ac_objext \
56884 conftest$ac_exeext conftest.$ac_ext
56886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56888 if test `eval echo '${'$as_ac_var'}'` = yes; then
56889 cat >>confdefs.h <<_ACEOF
56890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56891 _ACEOF
56894 done
56904 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56905 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56906 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56907 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56908 echo $ECHO_N "(cached) $ECHO_C" >&6
56909 else
56913 ac_ext=cc
56914 ac_cpp='$CXXCPP $CPPFLAGS'
56915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56919 cat >conftest.$ac_ext <<_ACEOF
56920 /* confdefs.h. */
56921 _ACEOF
56922 cat confdefs.h >>conftest.$ac_ext
56923 cat >>conftest.$ac_ext <<_ACEOF
56924 /* end confdefs.h. */
56925 #include <math.h>
56926 #ifdef HAVE_IEEEFP_H
56927 #include <ieeefp.h>
56928 #endif
56931 main ()
56933 qfpclass(0);
56935 return 0;
56937 _ACEOF
56938 rm -f conftest.$ac_objext
56939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56940 (eval $ac_compile) 2>conftest.er1
56941 ac_status=$?
56942 grep -v '^ *+' conftest.er1 >conftest.err
56943 rm -f conftest.er1
56944 cat conftest.err >&5
56945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56946 (exit $ac_status); } &&
56947 { ac_try='test -z "$ac_cxx_werror_flag"
56948 || test ! -s conftest.err'
56949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56950 (eval $ac_try) 2>&5
56951 ac_status=$?
56952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56953 (exit $ac_status); }; } &&
56954 { ac_try='test -s conftest.$ac_objext'
56955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56956 (eval $ac_try) 2>&5
56957 ac_status=$?
56958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56959 (exit $ac_status); }; }; then
56960 glibcxx_cv_func_qfpclass_use=yes
56961 else
56962 echo "$as_me: failed program was:" >&5
56963 sed 's/^/| /' conftest.$ac_ext >&5
56965 glibcxx_cv_func_qfpclass_use=no
56967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56968 ac_ext=c
56969 ac_cpp='$CPP $CPPFLAGS'
56970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56978 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56979 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56981 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56983 for ac_func in qfpclass
56985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56986 echo "$as_me:$LINENO: checking for $ac_func" >&5
56987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56988 if eval "test \"\${$as_ac_var+set}\" = set"; then
56989 echo $ECHO_N "(cached) $ECHO_C" >&6
56990 else
56991 if test x$gcc_no_link = xyes; then
56992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56994 { (exit 1); exit 1; }; }
56996 cat >conftest.$ac_ext <<_ACEOF
56997 /* confdefs.h. */
56998 _ACEOF
56999 cat confdefs.h >>conftest.$ac_ext
57000 cat >>conftest.$ac_ext <<_ACEOF
57001 /* end confdefs.h. */
57002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57004 #define $ac_func innocuous_$ac_func
57006 /* System header to define __stub macros and hopefully few prototypes,
57007 which can conflict with char $ac_func (); below.
57008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57009 <limits.h> exists even on freestanding compilers. */
57011 #ifdef __STDC__
57012 # include <limits.h>
57013 #else
57014 # include <assert.h>
57015 #endif
57017 #undef $ac_func
57019 /* Override any gcc2 internal prototype to avoid an error. */
57020 #ifdef __cplusplus
57021 extern "C"
57023 #endif
57024 /* We use char because int might match the return type of a gcc2
57025 builtin and then its argument prototype would still apply. */
57026 char $ac_func ();
57027 /* The GNU C library defines this for functions which it implements
57028 to always fail with ENOSYS. Some functions are actually named
57029 something starting with __ and the normal name is an alias. */
57030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57031 choke me
57032 #else
57033 char (*f) () = $ac_func;
57034 #endif
57035 #ifdef __cplusplus
57037 #endif
57040 main ()
57042 return f != $ac_func;
57044 return 0;
57046 _ACEOF
57047 rm -f conftest.$ac_objext conftest$ac_exeext
57048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57049 (eval $ac_link) 2>conftest.er1
57050 ac_status=$?
57051 grep -v '^ *+' conftest.er1 >conftest.err
57052 rm -f conftest.er1
57053 cat conftest.err >&5
57054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57055 (exit $ac_status); } &&
57056 { ac_try='test -z "$ac_c_werror_flag"
57057 || test ! -s conftest.err'
57058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57059 (eval $ac_try) 2>&5
57060 ac_status=$?
57061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57062 (exit $ac_status); }; } &&
57063 { ac_try='test -s conftest$ac_exeext'
57064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57065 (eval $ac_try) 2>&5
57066 ac_status=$?
57067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57068 (exit $ac_status); }; }; then
57069 eval "$as_ac_var=yes"
57070 else
57071 echo "$as_me: failed program was:" >&5
57072 sed 's/^/| /' conftest.$ac_ext >&5
57074 eval "$as_ac_var=no"
57076 rm -f conftest.err conftest.$ac_objext \
57077 conftest$ac_exeext conftest.$ac_ext
57079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57081 if test `eval echo '${'$as_ac_var'}'` = yes; then
57082 cat >>confdefs.h <<_ACEOF
57083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57084 _ACEOF
57087 done
57089 else
57091 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
57092 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
57093 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
57094 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
57095 echo $ECHO_N "(cached) $ECHO_C" >&6
57096 else
57100 ac_ext=cc
57101 ac_cpp='$CXXCPP $CPPFLAGS'
57102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57106 cat >conftest.$ac_ext <<_ACEOF
57107 /* confdefs.h. */
57108 _ACEOF
57109 cat confdefs.h >>conftest.$ac_ext
57110 cat >>conftest.$ac_ext <<_ACEOF
57111 /* end confdefs.h. */
57112 #include <math.h>
57113 #ifdef HAVE_IEEEFP_H
57114 #include <ieeefp.h>
57115 #endif
57118 main ()
57120 _qfpclass(0);
57122 return 0;
57124 _ACEOF
57125 rm -f conftest.$ac_objext
57126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57127 (eval $ac_compile) 2>conftest.er1
57128 ac_status=$?
57129 grep -v '^ *+' conftest.er1 >conftest.err
57130 rm -f conftest.er1
57131 cat conftest.err >&5
57132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57133 (exit $ac_status); } &&
57134 { ac_try='test -z "$ac_cxx_werror_flag"
57135 || test ! -s conftest.err'
57136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57137 (eval $ac_try) 2>&5
57138 ac_status=$?
57139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57140 (exit $ac_status); }; } &&
57141 { ac_try='test -s conftest.$ac_objext'
57142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57143 (eval $ac_try) 2>&5
57144 ac_status=$?
57145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57146 (exit $ac_status); }; }; then
57147 glibcxx_cv_func__qfpclass_use=yes
57148 else
57149 echo "$as_me: failed program was:" >&5
57150 sed 's/^/| /' conftest.$ac_ext >&5
57152 glibcxx_cv_func__qfpclass_use=no
57154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57155 ac_ext=c
57156 ac_cpp='$CPP $CPPFLAGS'
57157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57165 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
57166 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
57168 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
57170 for ac_func in _qfpclass
57172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57173 echo "$as_me:$LINENO: checking for $ac_func" >&5
57174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57175 if eval "test \"\${$as_ac_var+set}\" = set"; then
57176 echo $ECHO_N "(cached) $ECHO_C" >&6
57177 else
57178 if test x$gcc_no_link = xyes; then
57179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57181 { (exit 1); exit 1; }; }
57183 cat >conftest.$ac_ext <<_ACEOF
57184 /* confdefs.h. */
57185 _ACEOF
57186 cat confdefs.h >>conftest.$ac_ext
57187 cat >>conftest.$ac_ext <<_ACEOF
57188 /* end confdefs.h. */
57189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57191 #define $ac_func innocuous_$ac_func
57193 /* System header to define __stub macros and hopefully few prototypes,
57194 which can conflict with char $ac_func (); below.
57195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57196 <limits.h> exists even on freestanding compilers. */
57198 #ifdef __STDC__
57199 # include <limits.h>
57200 #else
57201 # include <assert.h>
57202 #endif
57204 #undef $ac_func
57206 /* Override any gcc2 internal prototype to avoid an error. */
57207 #ifdef __cplusplus
57208 extern "C"
57210 #endif
57211 /* We use char because int might match the return type of a gcc2
57212 builtin and then its argument prototype would still apply. */
57213 char $ac_func ();
57214 /* The GNU C library defines this for functions which it implements
57215 to always fail with ENOSYS. Some functions are actually named
57216 something starting with __ and the normal name is an alias. */
57217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57218 choke me
57219 #else
57220 char (*f) () = $ac_func;
57221 #endif
57222 #ifdef __cplusplus
57224 #endif
57227 main ()
57229 return f != $ac_func;
57231 return 0;
57233 _ACEOF
57234 rm -f conftest.$ac_objext conftest$ac_exeext
57235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57236 (eval $ac_link) 2>conftest.er1
57237 ac_status=$?
57238 grep -v '^ *+' conftest.er1 >conftest.err
57239 rm -f conftest.er1
57240 cat conftest.err >&5
57241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57242 (exit $ac_status); } &&
57243 { ac_try='test -z "$ac_c_werror_flag"
57244 || test ! -s conftest.err'
57245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57246 (eval $ac_try) 2>&5
57247 ac_status=$?
57248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57249 (exit $ac_status); }; } &&
57250 { ac_try='test -s conftest$ac_exeext'
57251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57252 (eval $ac_try) 2>&5
57253 ac_status=$?
57254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57255 (exit $ac_status); }; }; then
57256 eval "$as_ac_var=yes"
57257 else
57258 echo "$as_me: failed program was:" >&5
57259 sed 's/^/| /' conftest.$ac_ext >&5
57261 eval "$as_ac_var=no"
57263 rm -f conftest.err conftest.$ac_objext \
57264 conftest$ac_exeext conftest.$ac_ext
57266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57268 if test `eval echo '${'$as_ac_var'}'` = yes; then
57269 cat >>confdefs.h <<_ACEOF
57270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57271 _ACEOF
57274 done
57284 echo "$as_me:$LINENO: checking for hypot declaration" >&5
57285 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
57286 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57287 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
57288 echo $ECHO_N "(cached) $ECHO_C" >&6
57289 else
57293 ac_ext=cc
57294 ac_cpp='$CXXCPP $CPPFLAGS'
57295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57299 cat >conftest.$ac_ext <<_ACEOF
57300 /* confdefs.h. */
57301 _ACEOF
57302 cat confdefs.h >>conftest.$ac_ext
57303 cat >>conftest.$ac_ext <<_ACEOF
57304 /* end confdefs.h. */
57305 #include <math.h>
57307 main ()
57309 hypot(0, 0);
57311 return 0;
57313 _ACEOF
57314 rm -f conftest.$ac_objext
57315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57316 (eval $ac_compile) 2>conftest.er1
57317 ac_status=$?
57318 grep -v '^ *+' conftest.er1 >conftest.err
57319 rm -f conftest.er1
57320 cat conftest.err >&5
57321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57322 (exit $ac_status); } &&
57323 { ac_try='test -z "$ac_cxx_werror_flag"
57324 || test ! -s conftest.err'
57325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57326 (eval $ac_try) 2>&5
57327 ac_status=$?
57328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57329 (exit $ac_status); }; } &&
57330 { ac_try='test -s conftest.$ac_objext'
57331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57332 (eval $ac_try) 2>&5
57333 ac_status=$?
57334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57335 (exit $ac_status); }; }; then
57336 glibcxx_cv_func_hypot_use=yes
57337 else
57338 echo "$as_me: failed program was:" >&5
57339 sed 's/^/| /' conftest.$ac_ext >&5
57341 glibcxx_cv_func_hypot_use=no
57343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57344 ac_ext=c
57345 ac_cpp='$CPP $CPPFLAGS'
57346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57354 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
57355 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
57357 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57359 for ac_func in hypot
57361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57362 echo "$as_me:$LINENO: checking for $ac_func" >&5
57363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57364 if eval "test \"\${$as_ac_var+set}\" = set"; then
57365 echo $ECHO_N "(cached) $ECHO_C" >&6
57366 else
57367 if test x$gcc_no_link = xyes; then
57368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57370 { (exit 1); exit 1; }; }
57372 cat >conftest.$ac_ext <<_ACEOF
57373 /* confdefs.h. */
57374 _ACEOF
57375 cat confdefs.h >>conftest.$ac_ext
57376 cat >>conftest.$ac_ext <<_ACEOF
57377 /* end confdefs.h. */
57378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57380 #define $ac_func innocuous_$ac_func
57382 /* System header to define __stub macros and hopefully few prototypes,
57383 which can conflict with char $ac_func (); below.
57384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57385 <limits.h> exists even on freestanding compilers. */
57387 #ifdef __STDC__
57388 # include <limits.h>
57389 #else
57390 # include <assert.h>
57391 #endif
57393 #undef $ac_func
57395 /* Override any gcc2 internal prototype to avoid an error. */
57396 #ifdef __cplusplus
57397 extern "C"
57399 #endif
57400 /* We use char because int might match the return type of a gcc2
57401 builtin and then its argument prototype would still apply. */
57402 char $ac_func ();
57403 /* The GNU C library defines this for functions which it implements
57404 to always fail with ENOSYS. Some functions are actually named
57405 something starting with __ and the normal name is an alias. */
57406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57407 choke me
57408 #else
57409 char (*f) () = $ac_func;
57410 #endif
57411 #ifdef __cplusplus
57413 #endif
57416 main ()
57418 return f != $ac_func;
57420 return 0;
57422 _ACEOF
57423 rm -f conftest.$ac_objext conftest$ac_exeext
57424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57425 (eval $ac_link) 2>conftest.er1
57426 ac_status=$?
57427 grep -v '^ *+' conftest.er1 >conftest.err
57428 rm -f conftest.er1
57429 cat conftest.err >&5
57430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57431 (exit $ac_status); } &&
57432 { ac_try='test -z "$ac_c_werror_flag"
57433 || test ! -s conftest.err'
57434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57435 (eval $ac_try) 2>&5
57436 ac_status=$?
57437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57438 (exit $ac_status); }; } &&
57439 { ac_try='test -s conftest$ac_exeext'
57440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57441 (eval $ac_try) 2>&5
57442 ac_status=$?
57443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57444 (exit $ac_status); }; }; then
57445 eval "$as_ac_var=yes"
57446 else
57447 echo "$as_me: failed program was:" >&5
57448 sed 's/^/| /' conftest.$ac_ext >&5
57450 eval "$as_ac_var=no"
57452 rm -f conftest.err conftest.$ac_objext \
57453 conftest$ac_exeext conftest.$ac_ext
57455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57457 if test `eval echo '${'$as_ac_var'}'` = yes; then
57458 cat >>confdefs.h <<_ACEOF
57459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57460 _ACEOF
57463 done
57465 else
57467 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
57468 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
57469 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57470 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
57471 echo $ECHO_N "(cached) $ECHO_C" >&6
57472 else
57476 ac_ext=cc
57477 ac_cpp='$CXXCPP $CPPFLAGS'
57478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57482 cat >conftest.$ac_ext <<_ACEOF
57483 /* confdefs.h. */
57484 _ACEOF
57485 cat confdefs.h >>conftest.$ac_ext
57486 cat >>conftest.$ac_ext <<_ACEOF
57487 /* end confdefs.h. */
57488 #include <math.h>
57490 main ()
57492 _hypot(0, 0);
57494 return 0;
57496 _ACEOF
57497 rm -f conftest.$ac_objext
57498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57499 (eval $ac_compile) 2>conftest.er1
57500 ac_status=$?
57501 grep -v '^ *+' conftest.er1 >conftest.err
57502 rm -f conftest.er1
57503 cat conftest.err >&5
57504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57505 (exit $ac_status); } &&
57506 { ac_try='test -z "$ac_cxx_werror_flag"
57507 || test ! -s conftest.err'
57508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57509 (eval $ac_try) 2>&5
57510 ac_status=$?
57511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57512 (exit $ac_status); }; } &&
57513 { ac_try='test -s conftest.$ac_objext'
57514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57515 (eval $ac_try) 2>&5
57516 ac_status=$?
57517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57518 (exit $ac_status); }; }; then
57519 glibcxx_cv_func__hypot_use=yes
57520 else
57521 echo "$as_me: failed program was:" >&5
57522 sed 's/^/| /' conftest.$ac_ext >&5
57524 glibcxx_cv_func__hypot_use=no
57526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57527 ac_ext=c
57528 ac_cpp='$CPP $CPPFLAGS'
57529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57537 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
57538 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
57540 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57542 for ac_func in _hypot
57544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57545 echo "$as_me:$LINENO: checking for $ac_func" >&5
57546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57547 if eval "test \"\${$as_ac_var+set}\" = set"; then
57548 echo $ECHO_N "(cached) $ECHO_C" >&6
57549 else
57550 if test x$gcc_no_link = xyes; then
57551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57553 { (exit 1); exit 1; }; }
57555 cat >conftest.$ac_ext <<_ACEOF
57556 /* confdefs.h. */
57557 _ACEOF
57558 cat confdefs.h >>conftest.$ac_ext
57559 cat >>conftest.$ac_ext <<_ACEOF
57560 /* end confdefs.h. */
57561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57563 #define $ac_func innocuous_$ac_func
57565 /* System header to define __stub macros and hopefully few prototypes,
57566 which can conflict with char $ac_func (); below.
57567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57568 <limits.h> exists even on freestanding compilers. */
57570 #ifdef __STDC__
57571 # include <limits.h>
57572 #else
57573 # include <assert.h>
57574 #endif
57576 #undef $ac_func
57578 /* Override any gcc2 internal prototype to avoid an error. */
57579 #ifdef __cplusplus
57580 extern "C"
57582 #endif
57583 /* We use char because int might match the return type of a gcc2
57584 builtin and then its argument prototype would still apply. */
57585 char $ac_func ();
57586 /* The GNU C library defines this for functions which it implements
57587 to always fail with ENOSYS. Some functions are actually named
57588 something starting with __ and the normal name is an alias. */
57589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57590 choke me
57591 #else
57592 char (*f) () = $ac_func;
57593 #endif
57594 #ifdef __cplusplus
57596 #endif
57599 main ()
57601 return f != $ac_func;
57603 return 0;
57605 _ACEOF
57606 rm -f conftest.$ac_objext conftest$ac_exeext
57607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57608 (eval $ac_link) 2>conftest.er1
57609 ac_status=$?
57610 grep -v '^ *+' conftest.er1 >conftest.err
57611 rm -f conftest.er1
57612 cat conftest.err >&5
57613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57614 (exit $ac_status); } &&
57615 { ac_try='test -z "$ac_c_werror_flag"
57616 || test ! -s conftest.err'
57617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57618 (eval $ac_try) 2>&5
57619 ac_status=$?
57620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57621 (exit $ac_status); }; } &&
57622 { ac_try='test -s conftest$ac_exeext'
57623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57624 (eval $ac_try) 2>&5
57625 ac_status=$?
57626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57627 (exit $ac_status); }; }; then
57628 eval "$as_ac_var=yes"
57629 else
57630 echo "$as_me: failed program was:" >&5
57631 sed 's/^/| /' conftest.$ac_ext >&5
57633 eval "$as_ac_var=no"
57635 rm -f conftest.err conftest.$ac_objext \
57636 conftest$ac_exeext conftest.$ac_ext
57638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57640 if test `eval echo '${'$as_ac_var'}'` = yes; then
57641 cat >>confdefs.h <<_ACEOF
57642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57643 _ACEOF
57646 done
57656 echo "$as_me:$LINENO: checking for float trig functions" >&5
57657 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
57658 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
57659 echo $ECHO_N "(cached) $ECHO_C" >&6
57660 else
57664 ac_ext=cc
57665 ac_cpp='$CXXCPP $CPPFLAGS'
57666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57670 cat >conftest.$ac_ext <<_ACEOF
57671 /* confdefs.h. */
57672 _ACEOF
57673 cat confdefs.h >>conftest.$ac_ext
57674 cat >>conftest.$ac_ext <<_ACEOF
57675 /* end confdefs.h. */
57676 #include <math.h>
57678 main ()
57680 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57682 return 0;
57684 _ACEOF
57685 rm -f conftest.$ac_objext
57686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57687 (eval $ac_compile) 2>conftest.er1
57688 ac_status=$?
57689 grep -v '^ *+' conftest.er1 >conftest.err
57690 rm -f conftest.er1
57691 cat conftest.err >&5
57692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57693 (exit $ac_status); } &&
57694 { ac_try='test -z "$ac_cxx_werror_flag"
57695 || test ! -s conftest.err'
57696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57697 (eval $ac_try) 2>&5
57698 ac_status=$?
57699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57700 (exit $ac_status); }; } &&
57701 { ac_try='test -s conftest.$ac_objext'
57702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57703 (eval $ac_try) 2>&5
57704 ac_status=$?
57705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57706 (exit $ac_status); }; }; then
57707 glibcxx_cv_func_float_trig_use=yes
57708 else
57709 echo "$as_me: failed program was:" >&5
57710 sed 's/^/| /' conftest.$ac_ext >&5
57712 glibcxx_cv_func_float_trig_use=no
57714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57715 ac_ext=c
57716 ac_cpp='$CPP $CPPFLAGS'
57717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
57724 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
57725 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57735 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57738 echo "$as_me:$LINENO: checking for $ac_func" >&5
57739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57740 if eval "test \"\${$as_ac_var+set}\" = set"; then
57741 echo $ECHO_N "(cached) $ECHO_C" >&6
57742 else
57743 if test x$gcc_no_link = xyes; then
57744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57746 { (exit 1); exit 1; }; }
57748 cat >conftest.$ac_ext <<_ACEOF
57749 /* confdefs.h. */
57750 _ACEOF
57751 cat confdefs.h >>conftest.$ac_ext
57752 cat >>conftest.$ac_ext <<_ACEOF
57753 /* end confdefs.h. */
57754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57756 #define $ac_func innocuous_$ac_func
57758 /* System header to define __stub macros and hopefully few prototypes,
57759 which can conflict with char $ac_func (); below.
57760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57761 <limits.h> exists even on freestanding compilers. */
57763 #ifdef __STDC__
57764 # include <limits.h>
57765 #else
57766 # include <assert.h>
57767 #endif
57769 #undef $ac_func
57771 /* Override any gcc2 internal prototype to avoid an error. */
57772 #ifdef __cplusplus
57773 extern "C"
57775 #endif
57776 /* We use char because int might match the return type of a gcc2
57777 builtin and then its argument prototype would still apply. */
57778 char $ac_func ();
57779 /* The GNU C library defines this for functions which it implements
57780 to always fail with ENOSYS. Some functions are actually named
57781 something starting with __ and the normal name is an alias. */
57782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57783 choke me
57784 #else
57785 char (*f) () = $ac_func;
57786 #endif
57787 #ifdef __cplusplus
57789 #endif
57792 main ()
57794 return f != $ac_func;
57796 return 0;
57798 _ACEOF
57799 rm -f conftest.$ac_objext conftest$ac_exeext
57800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57801 (eval $ac_link) 2>conftest.er1
57802 ac_status=$?
57803 grep -v '^ *+' conftest.er1 >conftest.err
57804 rm -f conftest.er1
57805 cat conftest.err >&5
57806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57807 (exit $ac_status); } &&
57808 { ac_try='test -z "$ac_c_werror_flag"
57809 || test ! -s conftest.err'
57810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57811 (eval $ac_try) 2>&5
57812 ac_status=$?
57813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57814 (exit $ac_status); }; } &&
57815 { ac_try='test -s conftest$ac_exeext'
57816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57817 (eval $ac_try) 2>&5
57818 ac_status=$?
57819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57820 (exit $ac_status); }; }; then
57821 eval "$as_ac_var=yes"
57822 else
57823 echo "$as_me: failed program was:" >&5
57824 sed 's/^/| /' conftest.$ac_ext >&5
57826 eval "$as_ac_var=no"
57828 rm -f conftest.err conftest.$ac_objext \
57829 conftest$ac_exeext conftest.$ac_ext
57831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57833 if test `eval echo '${'$as_ac_var'}'` = yes; then
57834 cat >>confdefs.h <<_ACEOF
57835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57836 _ACEOF
57839 done
57841 else
57842 echo "$as_me:$LINENO: checking for _float trig functions" >&5
57843 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57844 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57845 echo $ECHO_N "(cached) $ECHO_C" >&6
57846 else
57850 ac_ext=cc
57851 ac_cpp='$CXXCPP $CPPFLAGS'
57852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57856 cat >conftest.$ac_ext <<_ACEOF
57857 /* confdefs.h. */
57858 _ACEOF
57859 cat confdefs.h >>conftest.$ac_ext
57860 cat >>conftest.$ac_ext <<_ACEOF
57861 /* end confdefs.h. */
57862 #include <math.h>
57864 main ()
57866 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57868 return 0;
57870 _ACEOF
57871 rm -f conftest.$ac_objext
57872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57873 (eval $ac_compile) 2>conftest.er1
57874 ac_status=$?
57875 grep -v '^ *+' conftest.er1 >conftest.err
57876 rm -f conftest.er1
57877 cat conftest.err >&5
57878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57879 (exit $ac_status); } &&
57880 { ac_try='test -z "$ac_cxx_werror_flag"
57881 || test ! -s conftest.err'
57882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57883 (eval $ac_try) 2>&5
57884 ac_status=$?
57885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57886 (exit $ac_status); }; } &&
57887 { ac_try='test -s conftest.$ac_objext'
57888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57889 (eval $ac_try) 2>&5
57890 ac_status=$?
57891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57892 (exit $ac_status); }; }; then
57893 glibcxx_cv_func__float_trig_use=yes
57894 else
57895 echo "$as_me: failed program was:" >&5
57896 sed 's/^/| /' conftest.$ac_ext >&5
57898 glibcxx_cv_func__float_trig_use=no
57900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57901 ac_ext=c
57902 ac_cpp='$CPP $CPPFLAGS'
57903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57909 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57910 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57911 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57921 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57924 echo "$as_me:$LINENO: checking for $ac_func" >&5
57925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57926 if eval "test \"\${$as_ac_var+set}\" = set"; then
57927 echo $ECHO_N "(cached) $ECHO_C" >&6
57928 else
57929 if test x$gcc_no_link = xyes; then
57930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57932 { (exit 1); exit 1; }; }
57934 cat >conftest.$ac_ext <<_ACEOF
57935 /* confdefs.h. */
57936 _ACEOF
57937 cat confdefs.h >>conftest.$ac_ext
57938 cat >>conftest.$ac_ext <<_ACEOF
57939 /* end confdefs.h. */
57940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57942 #define $ac_func innocuous_$ac_func
57944 /* System header to define __stub macros and hopefully few prototypes,
57945 which can conflict with char $ac_func (); below.
57946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57947 <limits.h> exists even on freestanding compilers. */
57949 #ifdef __STDC__
57950 # include <limits.h>
57951 #else
57952 # include <assert.h>
57953 #endif
57955 #undef $ac_func
57957 /* Override any gcc2 internal prototype to avoid an error. */
57958 #ifdef __cplusplus
57959 extern "C"
57961 #endif
57962 /* We use char because int might match the return type of a gcc2
57963 builtin and then its argument prototype would still apply. */
57964 char $ac_func ();
57965 /* The GNU C library defines this for functions which it implements
57966 to always fail with ENOSYS. Some functions are actually named
57967 something starting with __ and the normal name is an alias. */
57968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57969 choke me
57970 #else
57971 char (*f) () = $ac_func;
57972 #endif
57973 #ifdef __cplusplus
57975 #endif
57978 main ()
57980 return f != $ac_func;
57982 return 0;
57984 _ACEOF
57985 rm -f conftest.$ac_objext conftest$ac_exeext
57986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57987 (eval $ac_link) 2>conftest.er1
57988 ac_status=$?
57989 grep -v '^ *+' conftest.er1 >conftest.err
57990 rm -f conftest.er1
57991 cat conftest.err >&5
57992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57993 (exit $ac_status); } &&
57994 { ac_try='test -z "$ac_c_werror_flag"
57995 || test ! -s conftest.err'
57996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57997 (eval $ac_try) 2>&5
57998 ac_status=$?
57999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58000 (exit $ac_status); }; } &&
58001 { ac_try='test -s conftest$ac_exeext'
58002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58003 (eval $ac_try) 2>&5
58004 ac_status=$?
58005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58006 (exit $ac_status); }; }; then
58007 eval "$as_ac_var=yes"
58008 else
58009 echo "$as_me: failed program was:" >&5
58010 sed 's/^/| /' conftest.$ac_ext >&5
58012 eval "$as_ac_var=no"
58014 rm -f conftest.err conftest.$ac_objext \
58015 conftest$ac_exeext conftest.$ac_ext
58017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58019 if test `eval echo '${'$as_ac_var'}'` = yes; then
58020 cat >>confdefs.h <<_ACEOF
58021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58022 _ACEOF
58025 done
58043 echo "$as_me:$LINENO: checking for float round functions" >&5
58044 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
58045 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
58046 echo $ECHO_N "(cached) $ECHO_C" >&6
58047 else
58051 ac_ext=cc
58052 ac_cpp='$CXXCPP $CPPFLAGS'
58053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58057 cat >conftest.$ac_ext <<_ACEOF
58058 /* confdefs.h. */
58059 _ACEOF
58060 cat confdefs.h >>conftest.$ac_ext
58061 cat >>conftest.$ac_ext <<_ACEOF
58062 /* end confdefs.h. */
58063 #include <math.h>
58065 main ()
58067 ceilf (0); floorf (0);
58069 return 0;
58071 _ACEOF
58072 rm -f conftest.$ac_objext
58073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58074 (eval $ac_compile) 2>conftest.er1
58075 ac_status=$?
58076 grep -v '^ *+' conftest.er1 >conftest.err
58077 rm -f conftest.er1
58078 cat conftest.err >&5
58079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58080 (exit $ac_status); } &&
58081 { ac_try='test -z "$ac_cxx_werror_flag"
58082 || test ! -s conftest.err'
58083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58084 (eval $ac_try) 2>&5
58085 ac_status=$?
58086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58087 (exit $ac_status); }; } &&
58088 { ac_try='test -s conftest.$ac_objext'
58089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58090 (eval $ac_try) 2>&5
58091 ac_status=$?
58092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58093 (exit $ac_status); }; }; then
58094 glibcxx_cv_func_float_round_use=yes
58095 else
58096 echo "$as_me: failed program was:" >&5
58097 sed 's/^/| /' conftest.$ac_ext >&5
58099 glibcxx_cv_func_float_round_use=no
58101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58102 ac_ext=c
58103 ac_cpp='$CPP $CPPFLAGS'
58104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58110 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
58111 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
58112 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58115 for ac_func in ceilf floorf
58117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58118 echo "$as_me:$LINENO: checking for $ac_func" >&5
58119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58120 if eval "test \"\${$as_ac_var+set}\" = set"; then
58121 echo $ECHO_N "(cached) $ECHO_C" >&6
58122 else
58123 if test x$gcc_no_link = xyes; then
58124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58126 { (exit 1); exit 1; }; }
58128 cat >conftest.$ac_ext <<_ACEOF
58129 /* confdefs.h. */
58130 _ACEOF
58131 cat confdefs.h >>conftest.$ac_ext
58132 cat >>conftest.$ac_ext <<_ACEOF
58133 /* end confdefs.h. */
58134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58136 #define $ac_func innocuous_$ac_func
58138 /* System header to define __stub macros and hopefully few prototypes,
58139 which can conflict with char $ac_func (); below.
58140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58141 <limits.h> exists even on freestanding compilers. */
58143 #ifdef __STDC__
58144 # include <limits.h>
58145 #else
58146 # include <assert.h>
58147 #endif
58149 #undef $ac_func
58151 /* Override any gcc2 internal prototype to avoid an error. */
58152 #ifdef __cplusplus
58153 extern "C"
58155 #endif
58156 /* We use char because int might match the return type of a gcc2
58157 builtin and then its argument prototype would still apply. */
58158 char $ac_func ();
58159 /* The GNU C library defines this for functions which it implements
58160 to always fail with ENOSYS. Some functions are actually named
58161 something starting with __ and the normal name is an alias. */
58162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58163 choke me
58164 #else
58165 char (*f) () = $ac_func;
58166 #endif
58167 #ifdef __cplusplus
58169 #endif
58172 main ()
58174 return f != $ac_func;
58176 return 0;
58178 _ACEOF
58179 rm -f conftest.$ac_objext conftest$ac_exeext
58180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58181 (eval $ac_link) 2>conftest.er1
58182 ac_status=$?
58183 grep -v '^ *+' conftest.er1 >conftest.err
58184 rm -f conftest.er1
58185 cat conftest.err >&5
58186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58187 (exit $ac_status); } &&
58188 { ac_try='test -z "$ac_c_werror_flag"
58189 || test ! -s conftest.err'
58190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58191 (eval $ac_try) 2>&5
58192 ac_status=$?
58193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58194 (exit $ac_status); }; } &&
58195 { ac_try='test -s conftest$ac_exeext'
58196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58197 (eval $ac_try) 2>&5
58198 ac_status=$?
58199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58200 (exit $ac_status); }; }; then
58201 eval "$as_ac_var=yes"
58202 else
58203 echo "$as_me: failed program was:" >&5
58204 sed 's/^/| /' conftest.$ac_ext >&5
58206 eval "$as_ac_var=no"
58208 rm -f conftest.err conftest.$ac_objext \
58209 conftest$ac_exeext conftest.$ac_ext
58211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58213 if test `eval echo '${'$as_ac_var'}'` = yes; then
58214 cat >>confdefs.h <<_ACEOF
58215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58216 _ACEOF
58219 done
58221 else
58222 echo "$as_me:$LINENO: checking for _float round functions" >&5
58223 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
58224 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
58225 echo $ECHO_N "(cached) $ECHO_C" >&6
58226 else
58230 ac_ext=cc
58231 ac_cpp='$CXXCPP $CPPFLAGS'
58232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58236 cat >conftest.$ac_ext <<_ACEOF
58237 /* confdefs.h. */
58238 _ACEOF
58239 cat confdefs.h >>conftest.$ac_ext
58240 cat >>conftest.$ac_ext <<_ACEOF
58241 /* end confdefs.h. */
58242 #include <math.h>
58244 main ()
58246 _ceilf (0); _floorf (0);
58248 return 0;
58250 _ACEOF
58251 rm -f conftest.$ac_objext
58252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58253 (eval $ac_compile) 2>conftest.er1
58254 ac_status=$?
58255 grep -v '^ *+' conftest.er1 >conftest.err
58256 rm -f conftest.er1
58257 cat conftest.err >&5
58258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58259 (exit $ac_status); } &&
58260 { ac_try='test -z "$ac_cxx_werror_flag"
58261 || test ! -s conftest.err'
58262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58263 (eval $ac_try) 2>&5
58264 ac_status=$?
58265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58266 (exit $ac_status); }; } &&
58267 { ac_try='test -s conftest.$ac_objext'
58268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58269 (eval $ac_try) 2>&5
58270 ac_status=$?
58271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58272 (exit $ac_status); }; }; then
58273 glibcxx_cv_func__float_round_use=yes
58274 else
58275 echo "$as_me: failed program was:" >&5
58276 sed 's/^/| /' conftest.$ac_ext >&5
58278 glibcxx_cv_func__float_round_use=no
58280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58281 ac_ext=c
58282 ac_cpp='$CPP $CPPFLAGS'
58283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58289 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
58290 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
58291 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58294 for ac_func in _ceilf _floorf
58296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58297 echo "$as_me:$LINENO: checking for $ac_func" >&5
58298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58299 if eval "test \"\${$as_ac_var+set}\" = set"; then
58300 echo $ECHO_N "(cached) $ECHO_C" >&6
58301 else
58302 if test x$gcc_no_link = xyes; then
58303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58305 { (exit 1); exit 1; }; }
58307 cat >conftest.$ac_ext <<_ACEOF
58308 /* confdefs.h. */
58309 _ACEOF
58310 cat confdefs.h >>conftest.$ac_ext
58311 cat >>conftest.$ac_ext <<_ACEOF
58312 /* end confdefs.h. */
58313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58315 #define $ac_func innocuous_$ac_func
58317 /* System header to define __stub macros and hopefully few prototypes,
58318 which can conflict with char $ac_func (); below.
58319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58320 <limits.h> exists even on freestanding compilers. */
58322 #ifdef __STDC__
58323 # include <limits.h>
58324 #else
58325 # include <assert.h>
58326 #endif
58328 #undef $ac_func
58330 /* Override any gcc2 internal prototype to avoid an error. */
58331 #ifdef __cplusplus
58332 extern "C"
58334 #endif
58335 /* We use char because int might match the return type of a gcc2
58336 builtin and then its argument prototype would still apply. */
58337 char $ac_func ();
58338 /* The GNU C library defines this for functions which it implements
58339 to always fail with ENOSYS. Some functions are actually named
58340 something starting with __ and the normal name is an alias. */
58341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58342 choke me
58343 #else
58344 char (*f) () = $ac_func;
58345 #endif
58346 #ifdef __cplusplus
58348 #endif
58351 main ()
58353 return f != $ac_func;
58355 return 0;
58357 _ACEOF
58358 rm -f conftest.$ac_objext conftest$ac_exeext
58359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58360 (eval $ac_link) 2>conftest.er1
58361 ac_status=$?
58362 grep -v '^ *+' conftest.er1 >conftest.err
58363 rm -f conftest.er1
58364 cat conftest.err >&5
58365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58366 (exit $ac_status); } &&
58367 { ac_try='test -z "$ac_c_werror_flag"
58368 || test ! -s conftest.err'
58369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58370 (eval $ac_try) 2>&5
58371 ac_status=$?
58372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58373 (exit $ac_status); }; } &&
58374 { ac_try='test -s conftest$ac_exeext'
58375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58376 (eval $ac_try) 2>&5
58377 ac_status=$?
58378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58379 (exit $ac_status); }; }; then
58380 eval "$as_ac_var=yes"
58381 else
58382 echo "$as_me: failed program was:" >&5
58383 sed 's/^/| /' conftest.$ac_ext >&5
58385 eval "$as_ac_var=no"
58387 rm -f conftest.err conftest.$ac_objext \
58388 conftest$ac_exeext conftest.$ac_ext
58390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58392 if test `eval echo '${'$as_ac_var'}'` = yes; then
58393 cat >>confdefs.h <<_ACEOF
58394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58395 _ACEOF
58398 done
58410 echo "$as_me:$LINENO: checking for expf declaration" >&5
58411 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
58412 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58413 if test "${glibcxx_cv_func_expf_use+set}" = set; then
58414 echo $ECHO_N "(cached) $ECHO_C" >&6
58415 else
58419 ac_ext=cc
58420 ac_cpp='$CXXCPP $CPPFLAGS'
58421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58425 cat >conftest.$ac_ext <<_ACEOF
58426 /* confdefs.h. */
58427 _ACEOF
58428 cat confdefs.h >>conftest.$ac_ext
58429 cat >>conftest.$ac_ext <<_ACEOF
58430 /* end confdefs.h. */
58431 #include <math.h>
58432 #ifdef HAVE_IEEEFP_H
58433 #include <ieeefp.h>
58434 #endif
58437 main ()
58439 expf(0);
58441 return 0;
58443 _ACEOF
58444 rm -f conftest.$ac_objext
58445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58446 (eval $ac_compile) 2>conftest.er1
58447 ac_status=$?
58448 grep -v '^ *+' conftest.er1 >conftest.err
58449 rm -f conftest.er1
58450 cat conftest.err >&5
58451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58452 (exit $ac_status); } &&
58453 { ac_try='test -z "$ac_cxx_werror_flag"
58454 || test ! -s conftest.err'
58455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58456 (eval $ac_try) 2>&5
58457 ac_status=$?
58458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58459 (exit $ac_status); }; } &&
58460 { ac_try='test -s conftest.$ac_objext'
58461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58462 (eval $ac_try) 2>&5
58463 ac_status=$?
58464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58465 (exit $ac_status); }; }; then
58466 glibcxx_cv_func_expf_use=yes
58467 else
58468 echo "$as_me: failed program was:" >&5
58469 sed 's/^/| /' conftest.$ac_ext >&5
58471 glibcxx_cv_func_expf_use=no
58473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58474 ac_ext=c
58475 ac_cpp='$CPP $CPPFLAGS'
58476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58484 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58485 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58487 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58489 for ac_func in expf
58491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58492 echo "$as_me:$LINENO: checking for $ac_func" >&5
58493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58494 if eval "test \"\${$as_ac_var+set}\" = set"; then
58495 echo $ECHO_N "(cached) $ECHO_C" >&6
58496 else
58497 if test x$gcc_no_link = xyes; then
58498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58500 { (exit 1); exit 1; }; }
58502 cat >conftest.$ac_ext <<_ACEOF
58503 /* confdefs.h. */
58504 _ACEOF
58505 cat confdefs.h >>conftest.$ac_ext
58506 cat >>conftest.$ac_ext <<_ACEOF
58507 /* end confdefs.h. */
58508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58510 #define $ac_func innocuous_$ac_func
58512 /* System header to define __stub macros and hopefully few prototypes,
58513 which can conflict with char $ac_func (); below.
58514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58515 <limits.h> exists even on freestanding compilers. */
58517 #ifdef __STDC__
58518 # include <limits.h>
58519 #else
58520 # include <assert.h>
58521 #endif
58523 #undef $ac_func
58525 /* Override any gcc2 internal prototype to avoid an error. */
58526 #ifdef __cplusplus
58527 extern "C"
58529 #endif
58530 /* We use char because int might match the return type of a gcc2
58531 builtin and then its argument prototype would still apply. */
58532 char $ac_func ();
58533 /* The GNU C library defines this for functions which it implements
58534 to always fail with ENOSYS. Some functions are actually named
58535 something starting with __ and the normal name is an alias. */
58536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58537 choke me
58538 #else
58539 char (*f) () = $ac_func;
58540 #endif
58541 #ifdef __cplusplus
58543 #endif
58546 main ()
58548 return f != $ac_func;
58550 return 0;
58552 _ACEOF
58553 rm -f conftest.$ac_objext conftest$ac_exeext
58554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58555 (eval $ac_link) 2>conftest.er1
58556 ac_status=$?
58557 grep -v '^ *+' conftest.er1 >conftest.err
58558 rm -f conftest.er1
58559 cat conftest.err >&5
58560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58561 (exit $ac_status); } &&
58562 { ac_try='test -z "$ac_c_werror_flag"
58563 || test ! -s conftest.err'
58564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58565 (eval $ac_try) 2>&5
58566 ac_status=$?
58567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58568 (exit $ac_status); }; } &&
58569 { ac_try='test -s conftest$ac_exeext'
58570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58571 (eval $ac_try) 2>&5
58572 ac_status=$?
58573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58574 (exit $ac_status); }; }; then
58575 eval "$as_ac_var=yes"
58576 else
58577 echo "$as_me: failed program was:" >&5
58578 sed 's/^/| /' conftest.$ac_ext >&5
58580 eval "$as_ac_var=no"
58582 rm -f conftest.err conftest.$ac_objext \
58583 conftest$ac_exeext conftest.$ac_ext
58585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58587 if test `eval echo '${'$as_ac_var'}'` = yes; then
58588 cat >>confdefs.h <<_ACEOF
58589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58590 _ACEOF
58593 done
58595 else
58597 echo "$as_me:$LINENO: checking for _expf declaration" >&5
58598 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58599 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58600 if test "${glibcxx_cv_func__expf_use+set}" = set; then
58601 echo $ECHO_N "(cached) $ECHO_C" >&6
58602 else
58606 ac_ext=cc
58607 ac_cpp='$CXXCPP $CPPFLAGS'
58608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58612 cat >conftest.$ac_ext <<_ACEOF
58613 /* confdefs.h. */
58614 _ACEOF
58615 cat confdefs.h >>conftest.$ac_ext
58616 cat >>conftest.$ac_ext <<_ACEOF
58617 /* end confdefs.h. */
58618 #include <math.h>
58619 #ifdef HAVE_IEEEFP_H
58620 #include <ieeefp.h>
58621 #endif
58624 main ()
58626 _expf(0);
58628 return 0;
58630 _ACEOF
58631 rm -f conftest.$ac_objext
58632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58633 (eval $ac_compile) 2>conftest.er1
58634 ac_status=$?
58635 grep -v '^ *+' conftest.er1 >conftest.err
58636 rm -f conftest.er1
58637 cat conftest.err >&5
58638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58639 (exit $ac_status); } &&
58640 { ac_try='test -z "$ac_cxx_werror_flag"
58641 || test ! -s conftest.err'
58642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58643 (eval $ac_try) 2>&5
58644 ac_status=$?
58645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58646 (exit $ac_status); }; } &&
58647 { ac_try='test -s conftest.$ac_objext'
58648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58649 (eval $ac_try) 2>&5
58650 ac_status=$?
58651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58652 (exit $ac_status); }; }; then
58653 glibcxx_cv_func__expf_use=yes
58654 else
58655 echo "$as_me: failed program was:" >&5
58656 sed 's/^/| /' conftest.$ac_ext >&5
58658 glibcxx_cv_func__expf_use=no
58660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58661 ac_ext=c
58662 ac_cpp='$CPP $CPPFLAGS'
58663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58671 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
58672 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
58674 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58676 for ac_func in _expf
58678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58679 echo "$as_me:$LINENO: checking for $ac_func" >&5
58680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58681 if eval "test \"\${$as_ac_var+set}\" = set"; then
58682 echo $ECHO_N "(cached) $ECHO_C" >&6
58683 else
58684 if test x$gcc_no_link = xyes; then
58685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58687 { (exit 1); exit 1; }; }
58689 cat >conftest.$ac_ext <<_ACEOF
58690 /* confdefs.h. */
58691 _ACEOF
58692 cat confdefs.h >>conftest.$ac_ext
58693 cat >>conftest.$ac_ext <<_ACEOF
58694 /* end confdefs.h. */
58695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58697 #define $ac_func innocuous_$ac_func
58699 /* System header to define __stub macros and hopefully few prototypes,
58700 which can conflict with char $ac_func (); below.
58701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58702 <limits.h> exists even on freestanding compilers. */
58704 #ifdef __STDC__
58705 # include <limits.h>
58706 #else
58707 # include <assert.h>
58708 #endif
58710 #undef $ac_func
58712 /* Override any gcc2 internal prototype to avoid an error. */
58713 #ifdef __cplusplus
58714 extern "C"
58716 #endif
58717 /* We use char because int might match the return type of a gcc2
58718 builtin and then its argument prototype would still apply. */
58719 char $ac_func ();
58720 /* The GNU C library defines this for functions which it implements
58721 to always fail with ENOSYS. Some functions are actually named
58722 something starting with __ and the normal name is an alias. */
58723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58724 choke me
58725 #else
58726 char (*f) () = $ac_func;
58727 #endif
58728 #ifdef __cplusplus
58730 #endif
58733 main ()
58735 return f != $ac_func;
58737 return 0;
58739 _ACEOF
58740 rm -f conftest.$ac_objext conftest$ac_exeext
58741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58742 (eval $ac_link) 2>conftest.er1
58743 ac_status=$?
58744 grep -v '^ *+' conftest.er1 >conftest.err
58745 rm -f conftest.er1
58746 cat conftest.err >&5
58747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58748 (exit $ac_status); } &&
58749 { ac_try='test -z "$ac_c_werror_flag"
58750 || test ! -s conftest.err'
58751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58752 (eval $ac_try) 2>&5
58753 ac_status=$?
58754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58755 (exit $ac_status); }; } &&
58756 { ac_try='test -s conftest$ac_exeext'
58757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58758 (eval $ac_try) 2>&5
58759 ac_status=$?
58760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58761 (exit $ac_status); }; }; then
58762 eval "$as_ac_var=yes"
58763 else
58764 echo "$as_me: failed program was:" >&5
58765 sed 's/^/| /' conftest.$ac_ext >&5
58767 eval "$as_ac_var=no"
58769 rm -f conftest.err conftest.$ac_objext \
58770 conftest$ac_exeext conftest.$ac_ext
58772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58774 if test `eval echo '${'$as_ac_var'}'` = yes; then
58775 cat >>confdefs.h <<_ACEOF
58776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58777 _ACEOF
58780 done
58790 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58791 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58792 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58793 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58794 echo $ECHO_N "(cached) $ECHO_C" >&6
58795 else
58799 ac_ext=cc
58800 ac_cpp='$CXXCPP $CPPFLAGS'
58801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58805 cat >conftest.$ac_ext <<_ACEOF
58806 /* confdefs.h. */
58807 _ACEOF
58808 cat confdefs.h >>conftest.$ac_ext
58809 cat >>conftest.$ac_ext <<_ACEOF
58810 /* end confdefs.h. */
58811 #include <math.h>
58812 #ifdef HAVE_IEEEFP_H
58813 #include <ieeefp.h>
58814 #endif
58817 main ()
58819 isnanf(0);
58821 return 0;
58823 _ACEOF
58824 rm -f conftest.$ac_objext
58825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58826 (eval $ac_compile) 2>conftest.er1
58827 ac_status=$?
58828 grep -v '^ *+' conftest.er1 >conftest.err
58829 rm -f conftest.er1
58830 cat conftest.err >&5
58831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58832 (exit $ac_status); } &&
58833 { ac_try='test -z "$ac_cxx_werror_flag"
58834 || test ! -s conftest.err'
58835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58836 (eval $ac_try) 2>&5
58837 ac_status=$?
58838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58839 (exit $ac_status); }; } &&
58840 { ac_try='test -s conftest.$ac_objext'
58841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58842 (eval $ac_try) 2>&5
58843 ac_status=$?
58844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58845 (exit $ac_status); }; }; then
58846 glibcxx_cv_func_isnanf_use=yes
58847 else
58848 echo "$as_me: failed program was:" >&5
58849 sed 's/^/| /' conftest.$ac_ext >&5
58851 glibcxx_cv_func_isnanf_use=no
58853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58854 ac_ext=c
58855 ac_cpp='$CPP $CPPFLAGS'
58856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58865 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58867 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58869 for ac_func in isnanf
58871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58872 echo "$as_me:$LINENO: checking for $ac_func" >&5
58873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58874 if eval "test \"\${$as_ac_var+set}\" = set"; then
58875 echo $ECHO_N "(cached) $ECHO_C" >&6
58876 else
58877 if test x$gcc_no_link = xyes; then
58878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58880 { (exit 1); exit 1; }; }
58882 cat >conftest.$ac_ext <<_ACEOF
58883 /* confdefs.h. */
58884 _ACEOF
58885 cat confdefs.h >>conftest.$ac_ext
58886 cat >>conftest.$ac_ext <<_ACEOF
58887 /* end confdefs.h. */
58888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58890 #define $ac_func innocuous_$ac_func
58892 /* System header to define __stub macros and hopefully few prototypes,
58893 which can conflict with char $ac_func (); below.
58894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58895 <limits.h> exists even on freestanding compilers. */
58897 #ifdef __STDC__
58898 # include <limits.h>
58899 #else
58900 # include <assert.h>
58901 #endif
58903 #undef $ac_func
58905 /* Override any gcc2 internal prototype to avoid an error. */
58906 #ifdef __cplusplus
58907 extern "C"
58909 #endif
58910 /* We use char because int might match the return type of a gcc2
58911 builtin and then its argument prototype would still apply. */
58912 char $ac_func ();
58913 /* The GNU C library defines this for functions which it implements
58914 to always fail with ENOSYS. Some functions are actually named
58915 something starting with __ and the normal name is an alias. */
58916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58917 choke me
58918 #else
58919 char (*f) () = $ac_func;
58920 #endif
58921 #ifdef __cplusplus
58923 #endif
58926 main ()
58928 return f != $ac_func;
58930 return 0;
58932 _ACEOF
58933 rm -f conftest.$ac_objext conftest$ac_exeext
58934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58935 (eval $ac_link) 2>conftest.er1
58936 ac_status=$?
58937 grep -v '^ *+' conftest.er1 >conftest.err
58938 rm -f conftest.er1
58939 cat conftest.err >&5
58940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58941 (exit $ac_status); } &&
58942 { ac_try='test -z "$ac_c_werror_flag"
58943 || test ! -s conftest.err'
58944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58945 (eval $ac_try) 2>&5
58946 ac_status=$?
58947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58948 (exit $ac_status); }; } &&
58949 { ac_try='test -s conftest$ac_exeext'
58950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58951 (eval $ac_try) 2>&5
58952 ac_status=$?
58953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58954 (exit $ac_status); }; }; then
58955 eval "$as_ac_var=yes"
58956 else
58957 echo "$as_me: failed program was:" >&5
58958 sed 's/^/| /' conftest.$ac_ext >&5
58960 eval "$as_ac_var=no"
58962 rm -f conftest.err conftest.$ac_objext \
58963 conftest$ac_exeext conftest.$ac_ext
58965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58967 if test `eval echo '${'$as_ac_var'}'` = yes; then
58968 cat >>confdefs.h <<_ACEOF
58969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58970 _ACEOF
58973 done
58975 else
58977 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
58978 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
58979 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58980 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
58981 echo $ECHO_N "(cached) $ECHO_C" >&6
58982 else
58986 ac_ext=cc
58987 ac_cpp='$CXXCPP $CPPFLAGS'
58988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58992 cat >conftest.$ac_ext <<_ACEOF
58993 /* confdefs.h. */
58994 _ACEOF
58995 cat confdefs.h >>conftest.$ac_ext
58996 cat >>conftest.$ac_ext <<_ACEOF
58997 /* end confdefs.h. */
58998 #include <math.h>
58999 #ifdef HAVE_IEEEFP_H
59000 #include <ieeefp.h>
59001 #endif
59004 main ()
59006 _isnanf(0);
59008 return 0;
59010 _ACEOF
59011 rm -f conftest.$ac_objext
59012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59013 (eval $ac_compile) 2>conftest.er1
59014 ac_status=$?
59015 grep -v '^ *+' conftest.er1 >conftest.err
59016 rm -f conftest.er1
59017 cat conftest.err >&5
59018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59019 (exit $ac_status); } &&
59020 { ac_try='test -z "$ac_cxx_werror_flag"
59021 || test ! -s conftest.err'
59022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59023 (eval $ac_try) 2>&5
59024 ac_status=$?
59025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59026 (exit $ac_status); }; } &&
59027 { ac_try='test -s conftest.$ac_objext'
59028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59029 (eval $ac_try) 2>&5
59030 ac_status=$?
59031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59032 (exit $ac_status); }; }; then
59033 glibcxx_cv_func__isnanf_use=yes
59034 else
59035 echo "$as_me: failed program was:" >&5
59036 sed 's/^/| /' conftest.$ac_ext >&5
59038 glibcxx_cv_func__isnanf_use=no
59040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59041 ac_ext=c
59042 ac_cpp='$CPP $CPPFLAGS'
59043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59051 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
59052 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
59054 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59056 for ac_func in _isnanf
59058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59059 echo "$as_me:$LINENO: checking for $ac_func" >&5
59060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59061 if eval "test \"\${$as_ac_var+set}\" = set"; then
59062 echo $ECHO_N "(cached) $ECHO_C" >&6
59063 else
59064 if test x$gcc_no_link = xyes; then
59065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59067 { (exit 1); exit 1; }; }
59069 cat >conftest.$ac_ext <<_ACEOF
59070 /* confdefs.h. */
59071 _ACEOF
59072 cat confdefs.h >>conftest.$ac_ext
59073 cat >>conftest.$ac_ext <<_ACEOF
59074 /* end confdefs.h. */
59075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59077 #define $ac_func innocuous_$ac_func
59079 /* System header to define __stub macros and hopefully few prototypes,
59080 which can conflict with char $ac_func (); below.
59081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59082 <limits.h> exists even on freestanding compilers. */
59084 #ifdef __STDC__
59085 # include <limits.h>
59086 #else
59087 # include <assert.h>
59088 #endif
59090 #undef $ac_func
59092 /* Override any gcc2 internal prototype to avoid an error. */
59093 #ifdef __cplusplus
59094 extern "C"
59096 #endif
59097 /* We use char because int might match the return type of a gcc2
59098 builtin and then its argument prototype would still apply. */
59099 char $ac_func ();
59100 /* The GNU C library defines this for functions which it implements
59101 to always fail with ENOSYS. Some functions are actually named
59102 something starting with __ and the normal name is an alias. */
59103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59104 choke me
59105 #else
59106 char (*f) () = $ac_func;
59107 #endif
59108 #ifdef __cplusplus
59110 #endif
59113 main ()
59115 return f != $ac_func;
59117 return 0;
59119 _ACEOF
59120 rm -f conftest.$ac_objext conftest$ac_exeext
59121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59122 (eval $ac_link) 2>conftest.er1
59123 ac_status=$?
59124 grep -v '^ *+' conftest.er1 >conftest.err
59125 rm -f conftest.er1
59126 cat conftest.err >&5
59127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59128 (exit $ac_status); } &&
59129 { ac_try='test -z "$ac_c_werror_flag"
59130 || test ! -s conftest.err'
59131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59132 (eval $ac_try) 2>&5
59133 ac_status=$?
59134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59135 (exit $ac_status); }; } &&
59136 { ac_try='test -s conftest$ac_exeext'
59137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59138 (eval $ac_try) 2>&5
59139 ac_status=$?
59140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59141 (exit $ac_status); }; }; then
59142 eval "$as_ac_var=yes"
59143 else
59144 echo "$as_me: failed program was:" >&5
59145 sed 's/^/| /' conftest.$ac_ext >&5
59147 eval "$as_ac_var=no"
59149 rm -f conftest.err conftest.$ac_objext \
59150 conftest$ac_exeext conftest.$ac_ext
59152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59154 if test `eval echo '${'$as_ac_var'}'` = yes; then
59155 cat >>confdefs.h <<_ACEOF
59156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59157 _ACEOF
59160 done
59170 echo "$as_me:$LINENO: checking for isinff declaration" >&5
59171 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
59172 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59173 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
59174 echo $ECHO_N "(cached) $ECHO_C" >&6
59175 else
59179 ac_ext=cc
59180 ac_cpp='$CXXCPP $CPPFLAGS'
59181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59185 cat >conftest.$ac_ext <<_ACEOF
59186 /* confdefs.h. */
59187 _ACEOF
59188 cat confdefs.h >>conftest.$ac_ext
59189 cat >>conftest.$ac_ext <<_ACEOF
59190 /* end confdefs.h. */
59191 #include <math.h>
59192 #ifdef HAVE_IEEEFP_H
59193 #include <ieeefp.h>
59194 #endif
59197 main ()
59199 isinff(0);
59201 return 0;
59203 _ACEOF
59204 rm -f conftest.$ac_objext
59205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59206 (eval $ac_compile) 2>conftest.er1
59207 ac_status=$?
59208 grep -v '^ *+' conftest.er1 >conftest.err
59209 rm -f conftest.er1
59210 cat conftest.err >&5
59211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59212 (exit $ac_status); } &&
59213 { ac_try='test -z "$ac_cxx_werror_flag"
59214 || test ! -s conftest.err'
59215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59216 (eval $ac_try) 2>&5
59217 ac_status=$?
59218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59219 (exit $ac_status); }; } &&
59220 { ac_try='test -s conftest.$ac_objext'
59221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59222 (eval $ac_try) 2>&5
59223 ac_status=$?
59224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59225 (exit $ac_status); }; }; then
59226 glibcxx_cv_func_isinff_use=yes
59227 else
59228 echo "$as_me: failed program was:" >&5
59229 sed 's/^/| /' conftest.$ac_ext >&5
59231 glibcxx_cv_func_isinff_use=no
59233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59234 ac_ext=c
59235 ac_cpp='$CPP $CPPFLAGS'
59236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
59245 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
59247 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59249 for ac_func in isinff
59251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59252 echo "$as_me:$LINENO: checking for $ac_func" >&5
59253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59254 if eval "test \"\${$as_ac_var+set}\" = set"; then
59255 echo $ECHO_N "(cached) $ECHO_C" >&6
59256 else
59257 if test x$gcc_no_link = xyes; then
59258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59260 { (exit 1); exit 1; }; }
59262 cat >conftest.$ac_ext <<_ACEOF
59263 /* confdefs.h. */
59264 _ACEOF
59265 cat confdefs.h >>conftest.$ac_ext
59266 cat >>conftest.$ac_ext <<_ACEOF
59267 /* end confdefs.h. */
59268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59270 #define $ac_func innocuous_$ac_func
59272 /* System header to define __stub macros and hopefully few prototypes,
59273 which can conflict with char $ac_func (); below.
59274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59275 <limits.h> exists even on freestanding compilers. */
59277 #ifdef __STDC__
59278 # include <limits.h>
59279 #else
59280 # include <assert.h>
59281 #endif
59283 #undef $ac_func
59285 /* Override any gcc2 internal prototype to avoid an error. */
59286 #ifdef __cplusplus
59287 extern "C"
59289 #endif
59290 /* We use char because int might match the return type of a gcc2
59291 builtin and then its argument prototype would still apply. */
59292 char $ac_func ();
59293 /* The GNU C library defines this for functions which it implements
59294 to always fail with ENOSYS. Some functions are actually named
59295 something starting with __ and the normal name is an alias. */
59296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59297 choke me
59298 #else
59299 char (*f) () = $ac_func;
59300 #endif
59301 #ifdef __cplusplus
59303 #endif
59306 main ()
59308 return f != $ac_func;
59310 return 0;
59312 _ACEOF
59313 rm -f conftest.$ac_objext conftest$ac_exeext
59314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59315 (eval $ac_link) 2>conftest.er1
59316 ac_status=$?
59317 grep -v '^ *+' conftest.er1 >conftest.err
59318 rm -f conftest.er1
59319 cat conftest.err >&5
59320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59321 (exit $ac_status); } &&
59322 { ac_try='test -z "$ac_c_werror_flag"
59323 || test ! -s conftest.err'
59324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59325 (eval $ac_try) 2>&5
59326 ac_status=$?
59327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59328 (exit $ac_status); }; } &&
59329 { ac_try='test -s conftest$ac_exeext'
59330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59331 (eval $ac_try) 2>&5
59332 ac_status=$?
59333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59334 (exit $ac_status); }; }; then
59335 eval "$as_ac_var=yes"
59336 else
59337 echo "$as_me: failed program was:" >&5
59338 sed 's/^/| /' conftest.$ac_ext >&5
59340 eval "$as_ac_var=no"
59342 rm -f conftest.err conftest.$ac_objext \
59343 conftest$ac_exeext conftest.$ac_ext
59345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59347 if test `eval echo '${'$as_ac_var'}'` = yes; then
59348 cat >>confdefs.h <<_ACEOF
59349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59350 _ACEOF
59353 done
59355 else
59357 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
59358 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
59359 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59360 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
59361 echo $ECHO_N "(cached) $ECHO_C" >&6
59362 else
59366 ac_ext=cc
59367 ac_cpp='$CXXCPP $CPPFLAGS'
59368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59372 cat >conftest.$ac_ext <<_ACEOF
59373 /* confdefs.h. */
59374 _ACEOF
59375 cat confdefs.h >>conftest.$ac_ext
59376 cat >>conftest.$ac_ext <<_ACEOF
59377 /* end confdefs.h. */
59378 #include <math.h>
59379 #ifdef HAVE_IEEEFP_H
59380 #include <ieeefp.h>
59381 #endif
59384 main ()
59386 _isinff(0);
59388 return 0;
59390 _ACEOF
59391 rm -f conftest.$ac_objext
59392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59393 (eval $ac_compile) 2>conftest.er1
59394 ac_status=$?
59395 grep -v '^ *+' conftest.er1 >conftest.err
59396 rm -f conftest.er1
59397 cat conftest.err >&5
59398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59399 (exit $ac_status); } &&
59400 { ac_try='test -z "$ac_cxx_werror_flag"
59401 || test ! -s conftest.err'
59402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59403 (eval $ac_try) 2>&5
59404 ac_status=$?
59405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59406 (exit $ac_status); }; } &&
59407 { ac_try='test -s conftest.$ac_objext'
59408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59409 (eval $ac_try) 2>&5
59410 ac_status=$?
59411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59412 (exit $ac_status); }; }; then
59413 glibcxx_cv_func__isinff_use=yes
59414 else
59415 echo "$as_me: failed program was:" >&5
59416 sed 's/^/| /' conftest.$ac_ext >&5
59418 glibcxx_cv_func__isinff_use=no
59420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59421 ac_ext=c
59422 ac_cpp='$CPP $CPPFLAGS'
59423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
59432 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
59434 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59436 for ac_func in _isinff
59438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59439 echo "$as_me:$LINENO: checking for $ac_func" >&5
59440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59441 if eval "test \"\${$as_ac_var+set}\" = set"; then
59442 echo $ECHO_N "(cached) $ECHO_C" >&6
59443 else
59444 if test x$gcc_no_link = xyes; then
59445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59447 { (exit 1); exit 1; }; }
59449 cat >conftest.$ac_ext <<_ACEOF
59450 /* confdefs.h. */
59451 _ACEOF
59452 cat confdefs.h >>conftest.$ac_ext
59453 cat >>conftest.$ac_ext <<_ACEOF
59454 /* end confdefs.h. */
59455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59457 #define $ac_func innocuous_$ac_func
59459 /* System header to define __stub macros and hopefully few prototypes,
59460 which can conflict with char $ac_func (); below.
59461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59462 <limits.h> exists even on freestanding compilers. */
59464 #ifdef __STDC__
59465 # include <limits.h>
59466 #else
59467 # include <assert.h>
59468 #endif
59470 #undef $ac_func
59472 /* Override any gcc2 internal prototype to avoid an error. */
59473 #ifdef __cplusplus
59474 extern "C"
59476 #endif
59477 /* We use char because int might match the return type of a gcc2
59478 builtin and then its argument prototype would still apply. */
59479 char $ac_func ();
59480 /* The GNU C library defines this for functions which it implements
59481 to always fail with ENOSYS. Some functions are actually named
59482 something starting with __ and the normal name is an alias. */
59483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59484 choke me
59485 #else
59486 char (*f) () = $ac_func;
59487 #endif
59488 #ifdef __cplusplus
59490 #endif
59493 main ()
59495 return f != $ac_func;
59497 return 0;
59499 _ACEOF
59500 rm -f conftest.$ac_objext conftest$ac_exeext
59501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59502 (eval $ac_link) 2>conftest.er1
59503 ac_status=$?
59504 grep -v '^ *+' conftest.er1 >conftest.err
59505 rm -f conftest.er1
59506 cat conftest.err >&5
59507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59508 (exit $ac_status); } &&
59509 { ac_try='test -z "$ac_c_werror_flag"
59510 || test ! -s conftest.err'
59511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59512 (eval $ac_try) 2>&5
59513 ac_status=$?
59514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59515 (exit $ac_status); }; } &&
59516 { ac_try='test -s conftest$ac_exeext'
59517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59518 (eval $ac_try) 2>&5
59519 ac_status=$?
59520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59521 (exit $ac_status); }; }; then
59522 eval "$as_ac_var=yes"
59523 else
59524 echo "$as_me: failed program was:" >&5
59525 sed 's/^/| /' conftest.$ac_ext >&5
59527 eval "$as_ac_var=no"
59529 rm -f conftest.err conftest.$ac_objext \
59530 conftest$ac_exeext conftest.$ac_ext
59532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59534 if test `eval echo '${'$as_ac_var'}'` = yes; then
59535 cat >>confdefs.h <<_ACEOF
59536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59537 _ACEOF
59540 done
59550 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59551 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59552 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59553 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59554 echo $ECHO_N "(cached) $ECHO_C" >&6
59555 else
59559 ac_ext=cc
59560 ac_cpp='$CXXCPP $CPPFLAGS'
59561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59565 cat >conftest.$ac_ext <<_ACEOF
59566 /* confdefs.h. */
59567 _ACEOF
59568 cat confdefs.h >>conftest.$ac_ext
59569 cat >>conftest.$ac_ext <<_ACEOF
59570 /* end confdefs.h. */
59571 #include <math.h>
59573 main ()
59575 atan2f(0, 0);
59577 return 0;
59579 _ACEOF
59580 rm -f conftest.$ac_objext
59581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59582 (eval $ac_compile) 2>conftest.er1
59583 ac_status=$?
59584 grep -v '^ *+' conftest.er1 >conftest.err
59585 rm -f conftest.er1
59586 cat conftest.err >&5
59587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59588 (exit $ac_status); } &&
59589 { ac_try='test -z "$ac_cxx_werror_flag"
59590 || test ! -s conftest.err'
59591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59592 (eval $ac_try) 2>&5
59593 ac_status=$?
59594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59595 (exit $ac_status); }; } &&
59596 { ac_try='test -s conftest.$ac_objext'
59597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59598 (eval $ac_try) 2>&5
59599 ac_status=$?
59600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59601 (exit $ac_status); }; }; then
59602 glibcxx_cv_func_atan2f_use=yes
59603 else
59604 echo "$as_me: failed program was:" >&5
59605 sed 's/^/| /' conftest.$ac_ext >&5
59607 glibcxx_cv_func_atan2f_use=no
59609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59610 ac_ext=c
59611 ac_cpp='$CPP $CPPFLAGS'
59612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59620 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59621 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59623 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59625 for ac_func in atan2f
59627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59628 echo "$as_me:$LINENO: checking for $ac_func" >&5
59629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59630 if eval "test \"\${$as_ac_var+set}\" = set"; then
59631 echo $ECHO_N "(cached) $ECHO_C" >&6
59632 else
59633 if test x$gcc_no_link = xyes; then
59634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59636 { (exit 1); exit 1; }; }
59638 cat >conftest.$ac_ext <<_ACEOF
59639 /* confdefs.h. */
59640 _ACEOF
59641 cat confdefs.h >>conftest.$ac_ext
59642 cat >>conftest.$ac_ext <<_ACEOF
59643 /* end confdefs.h. */
59644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59646 #define $ac_func innocuous_$ac_func
59648 /* System header to define __stub macros and hopefully few prototypes,
59649 which can conflict with char $ac_func (); below.
59650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59651 <limits.h> exists even on freestanding compilers. */
59653 #ifdef __STDC__
59654 # include <limits.h>
59655 #else
59656 # include <assert.h>
59657 #endif
59659 #undef $ac_func
59661 /* Override any gcc2 internal prototype to avoid an error. */
59662 #ifdef __cplusplus
59663 extern "C"
59665 #endif
59666 /* We use char because int might match the return type of a gcc2
59667 builtin and then its argument prototype would still apply. */
59668 char $ac_func ();
59669 /* The GNU C library defines this for functions which it implements
59670 to always fail with ENOSYS. Some functions are actually named
59671 something starting with __ and the normal name is an alias. */
59672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59673 choke me
59674 #else
59675 char (*f) () = $ac_func;
59676 #endif
59677 #ifdef __cplusplus
59679 #endif
59682 main ()
59684 return f != $ac_func;
59686 return 0;
59688 _ACEOF
59689 rm -f conftest.$ac_objext conftest$ac_exeext
59690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59691 (eval $ac_link) 2>conftest.er1
59692 ac_status=$?
59693 grep -v '^ *+' conftest.er1 >conftest.err
59694 rm -f conftest.er1
59695 cat conftest.err >&5
59696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59697 (exit $ac_status); } &&
59698 { ac_try='test -z "$ac_c_werror_flag"
59699 || test ! -s conftest.err'
59700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59701 (eval $ac_try) 2>&5
59702 ac_status=$?
59703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59704 (exit $ac_status); }; } &&
59705 { ac_try='test -s conftest$ac_exeext'
59706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59707 (eval $ac_try) 2>&5
59708 ac_status=$?
59709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59710 (exit $ac_status); }; }; then
59711 eval "$as_ac_var=yes"
59712 else
59713 echo "$as_me: failed program was:" >&5
59714 sed 's/^/| /' conftest.$ac_ext >&5
59716 eval "$as_ac_var=no"
59718 rm -f conftest.err conftest.$ac_objext \
59719 conftest$ac_exeext conftest.$ac_ext
59721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59723 if test `eval echo '${'$as_ac_var'}'` = yes; then
59724 cat >>confdefs.h <<_ACEOF
59725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59726 _ACEOF
59729 done
59731 else
59733 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
59734 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
59735 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59736 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
59737 echo $ECHO_N "(cached) $ECHO_C" >&6
59738 else
59742 ac_ext=cc
59743 ac_cpp='$CXXCPP $CPPFLAGS'
59744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59748 cat >conftest.$ac_ext <<_ACEOF
59749 /* confdefs.h. */
59750 _ACEOF
59751 cat confdefs.h >>conftest.$ac_ext
59752 cat >>conftest.$ac_ext <<_ACEOF
59753 /* end confdefs.h. */
59754 #include <math.h>
59756 main ()
59758 _atan2f(0, 0);
59760 return 0;
59762 _ACEOF
59763 rm -f conftest.$ac_objext
59764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59765 (eval $ac_compile) 2>conftest.er1
59766 ac_status=$?
59767 grep -v '^ *+' conftest.er1 >conftest.err
59768 rm -f conftest.er1
59769 cat conftest.err >&5
59770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59771 (exit $ac_status); } &&
59772 { ac_try='test -z "$ac_cxx_werror_flag"
59773 || test ! -s conftest.err'
59774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59775 (eval $ac_try) 2>&5
59776 ac_status=$?
59777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59778 (exit $ac_status); }; } &&
59779 { ac_try='test -s conftest.$ac_objext'
59780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59781 (eval $ac_try) 2>&5
59782 ac_status=$?
59783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59784 (exit $ac_status); }; }; then
59785 glibcxx_cv_func__atan2f_use=yes
59786 else
59787 echo "$as_me: failed program was:" >&5
59788 sed 's/^/| /' conftest.$ac_ext >&5
59790 glibcxx_cv_func__atan2f_use=no
59792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59793 ac_ext=c
59794 ac_cpp='$CPP $CPPFLAGS'
59795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59803 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59804 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59806 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59808 for ac_func in _atan2f
59810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59811 echo "$as_me:$LINENO: checking for $ac_func" >&5
59812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59813 if eval "test \"\${$as_ac_var+set}\" = set"; then
59814 echo $ECHO_N "(cached) $ECHO_C" >&6
59815 else
59816 if test x$gcc_no_link = xyes; then
59817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59819 { (exit 1); exit 1; }; }
59821 cat >conftest.$ac_ext <<_ACEOF
59822 /* confdefs.h. */
59823 _ACEOF
59824 cat confdefs.h >>conftest.$ac_ext
59825 cat >>conftest.$ac_ext <<_ACEOF
59826 /* end confdefs.h. */
59827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59829 #define $ac_func innocuous_$ac_func
59831 /* System header to define __stub macros and hopefully few prototypes,
59832 which can conflict with char $ac_func (); below.
59833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59834 <limits.h> exists even on freestanding compilers. */
59836 #ifdef __STDC__
59837 # include <limits.h>
59838 #else
59839 # include <assert.h>
59840 #endif
59842 #undef $ac_func
59844 /* Override any gcc2 internal prototype to avoid an error. */
59845 #ifdef __cplusplus
59846 extern "C"
59848 #endif
59849 /* We use char because int might match the return type of a gcc2
59850 builtin and then its argument prototype would still apply. */
59851 char $ac_func ();
59852 /* The GNU C library defines this for functions which it implements
59853 to always fail with ENOSYS. Some functions are actually named
59854 something starting with __ and the normal name is an alias. */
59855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59856 choke me
59857 #else
59858 char (*f) () = $ac_func;
59859 #endif
59860 #ifdef __cplusplus
59862 #endif
59865 main ()
59867 return f != $ac_func;
59869 return 0;
59871 _ACEOF
59872 rm -f conftest.$ac_objext conftest$ac_exeext
59873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59874 (eval $ac_link) 2>conftest.er1
59875 ac_status=$?
59876 grep -v '^ *+' conftest.er1 >conftest.err
59877 rm -f conftest.er1
59878 cat conftest.err >&5
59879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59880 (exit $ac_status); } &&
59881 { ac_try='test -z "$ac_c_werror_flag"
59882 || test ! -s conftest.err'
59883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59884 (eval $ac_try) 2>&5
59885 ac_status=$?
59886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59887 (exit $ac_status); }; } &&
59888 { ac_try='test -s conftest$ac_exeext'
59889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59890 (eval $ac_try) 2>&5
59891 ac_status=$?
59892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59893 (exit $ac_status); }; }; then
59894 eval "$as_ac_var=yes"
59895 else
59896 echo "$as_me: failed program was:" >&5
59897 sed 's/^/| /' conftest.$ac_ext >&5
59899 eval "$as_ac_var=no"
59901 rm -f conftest.err conftest.$ac_objext \
59902 conftest$ac_exeext conftest.$ac_ext
59904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59906 if test `eval echo '${'$as_ac_var'}'` = yes; then
59907 cat >>confdefs.h <<_ACEOF
59908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59909 _ACEOF
59912 done
59922 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59923 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59924 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59925 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59926 echo $ECHO_N "(cached) $ECHO_C" >&6
59927 else
59931 ac_ext=cc
59932 ac_cpp='$CXXCPP $CPPFLAGS'
59933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59937 cat >conftest.$ac_ext <<_ACEOF
59938 /* confdefs.h. */
59939 _ACEOF
59940 cat confdefs.h >>conftest.$ac_ext
59941 cat >>conftest.$ac_ext <<_ACEOF
59942 /* end confdefs.h. */
59943 #include <math.h>
59944 #ifdef HAVE_IEEEFP_H
59945 #include <ieeefp.h>
59946 #endif
59949 main ()
59951 fabsf(0);
59953 return 0;
59955 _ACEOF
59956 rm -f conftest.$ac_objext
59957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59958 (eval $ac_compile) 2>conftest.er1
59959 ac_status=$?
59960 grep -v '^ *+' conftest.er1 >conftest.err
59961 rm -f conftest.er1
59962 cat conftest.err >&5
59963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59964 (exit $ac_status); } &&
59965 { ac_try='test -z "$ac_cxx_werror_flag"
59966 || test ! -s conftest.err'
59967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59968 (eval $ac_try) 2>&5
59969 ac_status=$?
59970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59971 (exit $ac_status); }; } &&
59972 { ac_try='test -s conftest.$ac_objext'
59973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59974 (eval $ac_try) 2>&5
59975 ac_status=$?
59976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59977 (exit $ac_status); }; }; then
59978 glibcxx_cv_func_fabsf_use=yes
59979 else
59980 echo "$as_me: failed program was:" >&5
59981 sed 's/^/| /' conftest.$ac_ext >&5
59983 glibcxx_cv_func_fabsf_use=no
59985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59986 ac_ext=c
59987 ac_cpp='$CPP $CPPFLAGS'
59988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59996 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
59997 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
59999 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60001 for ac_func in fabsf
60003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60004 echo "$as_me:$LINENO: checking for $ac_func" >&5
60005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60006 if eval "test \"\${$as_ac_var+set}\" = set"; then
60007 echo $ECHO_N "(cached) $ECHO_C" >&6
60008 else
60009 if test x$gcc_no_link = xyes; then
60010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60012 { (exit 1); exit 1; }; }
60014 cat >conftest.$ac_ext <<_ACEOF
60015 /* confdefs.h. */
60016 _ACEOF
60017 cat confdefs.h >>conftest.$ac_ext
60018 cat >>conftest.$ac_ext <<_ACEOF
60019 /* end confdefs.h. */
60020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60022 #define $ac_func innocuous_$ac_func
60024 /* System header to define __stub macros and hopefully few prototypes,
60025 which can conflict with char $ac_func (); below.
60026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60027 <limits.h> exists even on freestanding compilers. */
60029 #ifdef __STDC__
60030 # include <limits.h>
60031 #else
60032 # include <assert.h>
60033 #endif
60035 #undef $ac_func
60037 /* Override any gcc2 internal prototype to avoid an error. */
60038 #ifdef __cplusplus
60039 extern "C"
60041 #endif
60042 /* We use char because int might match the return type of a gcc2
60043 builtin and then its argument prototype would still apply. */
60044 char $ac_func ();
60045 /* The GNU C library defines this for functions which it implements
60046 to always fail with ENOSYS. Some functions are actually named
60047 something starting with __ and the normal name is an alias. */
60048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60049 choke me
60050 #else
60051 char (*f) () = $ac_func;
60052 #endif
60053 #ifdef __cplusplus
60055 #endif
60058 main ()
60060 return f != $ac_func;
60062 return 0;
60064 _ACEOF
60065 rm -f conftest.$ac_objext conftest$ac_exeext
60066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60067 (eval $ac_link) 2>conftest.er1
60068 ac_status=$?
60069 grep -v '^ *+' conftest.er1 >conftest.err
60070 rm -f conftest.er1
60071 cat conftest.err >&5
60072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60073 (exit $ac_status); } &&
60074 { ac_try='test -z "$ac_c_werror_flag"
60075 || test ! -s conftest.err'
60076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60077 (eval $ac_try) 2>&5
60078 ac_status=$?
60079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60080 (exit $ac_status); }; } &&
60081 { ac_try='test -s conftest$ac_exeext'
60082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60083 (eval $ac_try) 2>&5
60084 ac_status=$?
60085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60086 (exit $ac_status); }; }; then
60087 eval "$as_ac_var=yes"
60088 else
60089 echo "$as_me: failed program was:" >&5
60090 sed 's/^/| /' conftest.$ac_ext >&5
60092 eval "$as_ac_var=no"
60094 rm -f conftest.err conftest.$ac_objext \
60095 conftest$ac_exeext conftest.$ac_ext
60097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60099 if test `eval echo '${'$as_ac_var'}'` = yes; then
60100 cat >>confdefs.h <<_ACEOF
60101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60102 _ACEOF
60105 done
60107 else
60109 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
60110 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
60111 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60112 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
60113 echo $ECHO_N "(cached) $ECHO_C" >&6
60114 else
60118 ac_ext=cc
60119 ac_cpp='$CXXCPP $CPPFLAGS'
60120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60124 cat >conftest.$ac_ext <<_ACEOF
60125 /* confdefs.h. */
60126 _ACEOF
60127 cat confdefs.h >>conftest.$ac_ext
60128 cat >>conftest.$ac_ext <<_ACEOF
60129 /* end confdefs.h. */
60130 #include <math.h>
60131 #ifdef HAVE_IEEEFP_H
60132 #include <ieeefp.h>
60133 #endif
60136 main ()
60138 _fabsf(0);
60140 return 0;
60142 _ACEOF
60143 rm -f conftest.$ac_objext
60144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60145 (eval $ac_compile) 2>conftest.er1
60146 ac_status=$?
60147 grep -v '^ *+' conftest.er1 >conftest.err
60148 rm -f conftest.er1
60149 cat conftest.err >&5
60150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60151 (exit $ac_status); } &&
60152 { ac_try='test -z "$ac_cxx_werror_flag"
60153 || test ! -s conftest.err'
60154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60155 (eval $ac_try) 2>&5
60156 ac_status=$?
60157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60158 (exit $ac_status); }; } &&
60159 { ac_try='test -s conftest.$ac_objext'
60160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60161 (eval $ac_try) 2>&5
60162 ac_status=$?
60163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60164 (exit $ac_status); }; }; then
60165 glibcxx_cv_func__fabsf_use=yes
60166 else
60167 echo "$as_me: failed program was:" >&5
60168 sed 's/^/| /' conftest.$ac_ext >&5
60170 glibcxx_cv_func__fabsf_use=no
60172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60173 ac_ext=c
60174 ac_cpp='$CPP $CPPFLAGS'
60175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60183 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
60184 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
60186 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60188 for ac_func in _fabsf
60190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60191 echo "$as_me:$LINENO: checking for $ac_func" >&5
60192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60193 if eval "test \"\${$as_ac_var+set}\" = set"; then
60194 echo $ECHO_N "(cached) $ECHO_C" >&6
60195 else
60196 if test x$gcc_no_link = xyes; then
60197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60199 { (exit 1); exit 1; }; }
60201 cat >conftest.$ac_ext <<_ACEOF
60202 /* confdefs.h. */
60203 _ACEOF
60204 cat confdefs.h >>conftest.$ac_ext
60205 cat >>conftest.$ac_ext <<_ACEOF
60206 /* end confdefs.h. */
60207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60209 #define $ac_func innocuous_$ac_func
60211 /* System header to define __stub macros and hopefully few prototypes,
60212 which can conflict with char $ac_func (); below.
60213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60214 <limits.h> exists even on freestanding compilers. */
60216 #ifdef __STDC__
60217 # include <limits.h>
60218 #else
60219 # include <assert.h>
60220 #endif
60222 #undef $ac_func
60224 /* Override any gcc2 internal prototype to avoid an error. */
60225 #ifdef __cplusplus
60226 extern "C"
60228 #endif
60229 /* We use char because int might match the return type of a gcc2
60230 builtin and then its argument prototype would still apply. */
60231 char $ac_func ();
60232 /* The GNU C library defines this for functions which it implements
60233 to always fail with ENOSYS. Some functions are actually named
60234 something starting with __ and the normal name is an alias. */
60235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60236 choke me
60237 #else
60238 char (*f) () = $ac_func;
60239 #endif
60240 #ifdef __cplusplus
60242 #endif
60245 main ()
60247 return f != $ac_func;
60249 return 0;
60251 _ACEOF
60252 rm -f conftest.$ac_objext conftest$ac_exeext
60253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60254 (eval $ac_link) 2>conftest.er1
60255 ac_status=$?
60256 grep -v '^ *+' conftest.er1 >conftest.err
60257 rm -f conftest.er1
60258 cat conftest.err >&5
60259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60260 (exit $ac_status); } &&
60261 { ac_try='test -z "$ac_c_werror_flag"
60262 || test ! -s conftest.err'
60263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60264 (eval $ac_try) 2>&5
60265 ac_status=$?
60266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60267 (exit $ac_status); }; } &&
60268 { ac_try='test -s conftest$ac_exeext'
60269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60270 (eval $ac_try) 2>&5
60271 ac_status=$?
60272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60273 (exit $ac_status); }; }; then
60274 eval "$as_ac_var=yes"
60275 else
60276 echo "$as_me: failed program was:" >&5
60277 sed 's/^/| /' conftest.$ac_ext >&5
60279 eval "$as_ac_var=no"
60281 rm -f conftest.err conftest.$ac_objext \
60282 conftest$ac_exeext conftest.$ac_ext
60284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60286 if test `eval echo '${'$as_ac_var'}'` = yes; then
60287 cat >>confdefs.h <<_ACEOF
60288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60289 _ACEOF
60292 done
60302 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
60303 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
60304 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60305 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
60306 echo $ECHO_N "(cached) $ECHO_C" >&6
60307 else
60311 ac_ext=cc
60312 ac_cpp='$CXXCPP $CPPFLAGS'
60313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60317 cat >conftest.$ac_ext <<_ACEOF
60318 /* confdefs.h. */
60319 _ACEOF
60320 cat confdefs.h >>conftest.$ac_ext
60321 cat >>conftest.$ac_ext <<_ACEOF
60322 /* end confdefs.h. */
60323 #include <math.h>
60325 main ()
60327 fmodf(0, 0);
60329 return 0;
60331 _ACEOF
60332 rm -f conftest.$ac_objext
60333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60334 (eval $ac_compile) 2>conftest.er1
60335 ac_status=$?
60336 grep -v '^ *+' conftest.er1 >conftest.err
60337 rm -f conftest.er1
60338 cat conftest.err >&5
60339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60340 (exit $ac_status); } &&
60341 { ac_try='test -z "$ac_cxx_werror_flag"
60342 || test ! -s conftest.err'
60343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60344 (eval $ac_try) 2>&5
60345 ac_status=$?
60346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60347 (exit $ac_status); }; } &&
60348 { ac_try='test -s conftest.$ac_objext'
60349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60350 (eval $ac_try) 2>&5
60351 ac_status=$?
60352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60353 (exit $ac_status); }; }; then
60354 glibcxx_cv_func_fmodf_use=yes
60355 else
60356 echo "$as_me: failed program was:" >&5
60357 sed 's/^/| /' conftest.$ac_ext >&5
60359 glibcxx_cv_func_fmodf_use=no
60361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60362 ac_ext=c
60363 ac_cpp='$CPP $CPPFLAGS'
60364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
60373 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
60375 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60377 for ac_func in fmodf
60379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60380 echo "$as_me:$LINENO: checking for $ac_func" >&5
60381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60382 if eval "test \"\${$as_ac_var+set}\" = set"; then
60383 echo $ECHO_N "(cached) $ECHO_C" >&6
60384 else
60385 if test x$gcc_no_link = xyes; then
60386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60388 { (exit 1); exit 1; }; }
60390 cat >conftest.$ac_ext <<_ACEOF
60391 /* confdefs.h. */
60392 _ACEOF
60393 cat confdefs.h >>conftest.$ac_ext
60394 cat >>conftest.$ac_ext <<_ACEOF
60395 /* end confdefs.h. */
60396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60398 #define $ac_func innocuous_$ac_func
60400 /* System header to define __stub macros and hopefully few prototypes,
60401 which can conflict with char $ac_func (); below.
60402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60403 <limits.h> exists even on freestanding compilers. */
60405 #ifdef __STDC__
60406 # include <limits.h>
60407 #else
60408 # include <assert.h>
60409 #endif
60411 #undef $ac_func
60413 /* Override any gcc2 internal prototype to avoid an error. */
60414 #ifdef __cplusplus
60415 extern "C"
60417 #endif
60418 /* We use char because int might match the return type of a gcc2
60419 builtin and then its argument prototype would still apply. */
60420 char $ac_func ();
60421 /* The GNU C library defines this for functions which it implements
60422 to always fail with ENOSYS. Some functions are actually named
60423 something starting with __ and the normal name is an alias. */
60424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60425 choke me
60426 #else
60427 char (*f) () = $ac_func;
60428 #endif
60429 #ifdef __cplusplus
60431 #endif
60434 main ()
60436 return f != $ac_func;
60438 return 0;
60440 _ACEOF
60441 rm -f conftest.$ac_objext conftest$ac_exeext
60442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60443 (eval $ac_link) 2>conftest.er1
60444 ac_status=$?
60445 grep -v '^ *+' conftest.er1 >conftest.err
60446 rm -f conftest.er1
60447 cat conftest.err >&5
60448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60449 (exit $ac_status); } &&
60450 { ac_try='test -z "$ac_c_werror_flag"
60451 || test ! -s conftest.err'
60452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60453 (eval $ac_try) 2>&5
60454 ac_status=$?
60455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60456 (exit $ac_status); }; } &&
60457 { ac_try='test -s conftest$ac_exeext'
60458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60459 (eval $ac_try) 2>&5
60460 ac_status=$?
60461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60462 (exit $ac_status); }; }; then
60463 eval "$as_ac_var=yes"
60464 else
60465 echo "$as_me: failed program was:" >&5
60466 sed 's/^/| /' conftest.$ac_ext >&5
60468 eval "$as_ac_var=no"
60470 rm -f conftest.err conftest.$ac_objext \
60471 conftest$ac_exeext conftest.$ac_ext
60473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60475 if test `eval echo '${'$as_ac_var'}'` = yes; then
60476 cat >>confdefs.h <<_ACEOF
60477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60478 _ACEOF
60481 done
60483 else
60485 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60486 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60487 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60488 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60489 echo $ECHO_N "(cached) $ECHO_C" >&6
60490 else
60494 ac_ext=cc
60495 ac_cpp='$CXXCPP $CPPFLAGS'
60496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60500 cat >conftest.$ac_ext <<_ACEOF
60501 /* confdefs.h. */
60502 _ACEOF
60503 cat confdefs.h >>conftest.$ac_ext
60504 cat >>conftest.$ac_ext <<_ACEOF
60505 /* end confdefs.h. */
60506 #include <math.h>
60508 main ()
60510 _fmodf(0, 0);
60512 return 0;
60514 _ACEOF
60515 rm -f conftest.$ac_objext
60516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60517 (eval $ac_compile) 2>conftest.er1
60518 ac_status=$?
60519 grep -v '^ *+' conftest.er1 >conftest.err
60520 rm -f conftest.er1
60521 cat conftest.err >&5
60522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60523 (exit $ac_status); } &&
60524 { ac_try='test -z "$ac_cxx_werror_flag"
60525 || test ! -s conftest.err'
60526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60527 (eval $ac_try) 2>&5
60528 ac_status=$?
60529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60530 (exit $ac_status); }; } &&
60531 { ac_try='test -s conftest.$ac_objext'
60532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60533 (eval $ac_try) 2>&5
60534 ac_status=$?
60535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60536 (exit $ac_status); }; }; then
60537 glibcxx_cv_func__fmodf_use=yes
60538 else
60539 echo "$as_me: failed program was:" >&5
60540 sed 's/^/| /' conftest.$ac_ext >&5
60542 glibcxx_cv_func__fmodf_use=no
60544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60545 ac_ext=c
60546 ac_cpp='$CPP $CPPFLAGS'
60547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60555 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60556 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60558 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60560 for ac_func in _fmodf
60562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60563 echo "$as_me:$LINENO: checking for $ac_func" >&5
60564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60565 if eval "test \"\${$as_ac_var+set}\" = set"; then
60566 echo $ECHO_N "(cached) $ECHO_C" >&6
60567 else
60568 if test x$gcc_no_link = xyes; then
60569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60571 { (exit 1); exit 1; }; }
60573 cat >conftest.$ac_ext <<_ACEOF
60574 /* confdefs.h. */
60575 _ACEOF
60576 cat confdefs.h >>conftest.$ac_ext
60577 cat >>conftest.$ac_ext <<_ACEOF
60578 /* end confdefs.h. */
60579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60581 #define $ac_func innocuous_$ac_func
60583 /* System header to define __stub macros and hopefully few prototypes,
60584 which can conflict with char $ac_func (); below.
60585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60586 <limits.h> exists even on freestanding compilers. */
60588 #ifdef __STDC__
60589 # include <limits.h>
60590 #else
60591 # include <assert.h>
60592 #endif
60594 #undef $ac_func
60596 /* Override any gcc2 internal prototype to avoid an error. */
60597 #ifdef __cplusplus
60598 extern "C"
60600 #endif
60601 /* We use char because int might match the return type of a gcc2
60602 builtin and then its argument prototype would still apply. */
60603 char $ac_func ();
60604 /* The GNU C library defines this for functions which it implements
60605 to always fail with ENOSYS. Some functions are actually named
60606 something starting with __ and the normal name is an alias. */
60607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60608 choke me
60609 #else
60610 char (*f) () = $ac_func;
60611 #endif
60612 #ifdef __cplusplus
60614 #endif
60617 main ()
60619 return f != $ac_func;
60621 return 0;
60623 _ACEOF
60624 rm -f conftest.$ac_objext conftest$ac_exeext
60625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60626 (eval $ac_link) 2>conftest.er1
60627 ac_status=$?
60628 grep -v '^ *+' conftest.er1 >conftest.err
60629 rm -f conftest.er1
60630 cat conftest.err >&5
60631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60632 (exit $ac_status); } &&
60633 { ac_try='test -z "$ac_c_werror_flag"
60634 || test ! -s conftest.err'
60635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60636 (eval $ac_try) 2>&5
60637 ac_status=$?
60638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60639 (exit $ac_status); }; } &&
60640 { ac_try='test -s conftest$ac_exeext'
60641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60642 (eval $ac_try) 2>&5
60643 ac_status=$?
60644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60645 (exit $ac_status); }; }; then
60646 eval "$as_ac_var=yes"
60647 else
60648 echo "$as_me: failed program was:" >&5
60649 sed 's/^/| /' conftest.$ac_ext >&5
60651 eval "$as_ac_var=no"
60653 rm -f conftest.err conftest.$ac_objext \
60654 conftest$ac_exeext conftest.$ac_ext
60656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60658 if test `eval echo '${'$as_ac_var'}'` = yes; then
60659 cat >>confdefs.h <<_ACEOF
60660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60661 _ACEOF
60664 done
60674 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
60675 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
60676 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60677 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
60678 echo $ECHO_N "(cached) $ECHO_C" >&6
60679 else
60683 ac_ext=cc
60684 ac_cpp='$CXXCPP $CPPFLAGS'
60685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60689 cat >conftest.$ac_ext <<_ACEOF
60690 /* confdefs.h. */
60691 _ACEOF
60692 cat confdefs.h >>conftest.$ac_ext
60693 cat >>conftest.$ac_ext <<_ACEOF
60694 /* end confdefs.h. */
60695 #include <math.h>
60697 main ()
60699 frexpf(0, 0);
60701 return 0;
60703 _ACEOF
60704 rm -f conftest.$ac_objext
60705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60706 (eval $ac_compile) 2>conftest.er1
60707 ac_status=$?
60708 grep -v '^ *+' conftest.er1 >conftest.err
60709 rm -f conftest.er1
60710 cat conftest.err >&5
60711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60712 (exit $ac_status); } &&
60713 { ac_try='test -z "$ac_cxx_werror_flag"
60714 || test ! -s conftest.err'
60715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60716 (eval $ac_try) 2>&5
60717 ac_status=$?
60718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60719 (exit $ac_status); }; } &&
60720 { ac_try='test -s conftest.$ac_objext'
60721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60722 (eval $ac_try) 2>&5
60723 ac_status=$?
60724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60725 (exit $ac_status); }; }; then
60726 glibcxx_cv_func_frexpf_use=yes
60727 else
60728 echo "$as_me: failed program was:" >&5
60729 sed 's/^/| /' conftest.$ac_ext >&5
60731 glibcxx_cv_func_frexpf_use=no
60733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60734 ac_ext=c
60735 ac_cpp='$CPP $CPPFLAGS'
60736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60744 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
60745 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
60747 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60749 for ac_func in frexpf
60751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60752 echo "$as_me:$LINENO: checking for $ac_func" >&5
60753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60754 if eval "test \"\${$as_ac_var+set}\" = set"; then
60755 echo $ECHO_N "(cached) $ECHO_C" >&6
60756 else
60757 if test x$gcc_no_link = xyes; then
60758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60760 { (exit 1); exit 1; }; }
60762 cat >conftest.$ac_ext <<_ACEOF
60763 /* confdefs.h. */
60764 _ACEOF
60765 cat confdefs.h >>conftest.$ac_ext
60766 cat >>conftest.$ac_ext <<_ACEOF
60767 /* end confdefs.h. */
60768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60770 #define $ac_func innocuous_$ac_func
60772 /* System header to define __stub macros and hopefully few prototypes,
60773 which can conflict with char $ac_func (); below.
60774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60775 <limits.h> exists even on freestanding compilers. */
60777 #ifdef __STDC__
60778 # include <limits.h>
60779 #else
60780 # include <assert.h>
60781 #endif
60783 #undef $ac_func
60785 /* Override any gcc2 internal prototype to avoid an error. */
60786 #ifdef __cplusplus
60787 extern "C"
60789 #endif
60790 /* We use char because int might match the return type of a gcc2
60791 builtin and then its argument prototype would still apply. */
60792 char $ac_func ();
60793 /* The GNU C library defines this for functions which it implements
60794 to always fail with ENOSYS. Some functions are actually named
60795 something starting with __ and the normal name is an alias. */
60796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60797 choke me
60798 #else
60799 char (*f) () = $ac_func;
60800 #endif
60801 #ifdef __cplusplus
60803 #endif
60806 main ()
60808 return f != $ac_func;
60810 return 0;
60812 _ACEOF
60813 rm -f conftest.$ac_objext conftest$ac_exeext
60814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60815 (eval $ac_link) 2>conftest.er1
60816 ac_status=$?
60817 grep -v '^ *+' conftest.er1 >conftest.err
60818 rm -f conftest.er1
60819 cat conftest.err >&5
60820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60821 (exit $ac_status); } &&
60822 { ac_try='test -z "$ac_c_werror_flag"
60823 || test ! -s conftest.err'
60824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60825 (eval $ac_try) 2>&5
60826 ac_status=$?
60827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60828 (exit $ac_status); }; } &&
60829 { ac_try='test -s conftest$ac_exeext'
60830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60831 (eval $ac_try) 2>&5
60832 ac_status=$?
60833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60834 (exit $ac_status); }; }; then
60835 eval "$as_ac_var=yes"
60836 else
60837 echo "$as_me: failed program was:" >&5
60838 sed 's/^/| /' conftest.$ac_ext >&5
60840 eval "$as_ac_var=no"
60842 rm -f conftest.err conftest.$ac_objext \
60843 conftest$ac_exeext conftest.$ac_ext
60845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60847 if test `eval echo '${'$as_ac_var'}'` = yes; then
60848 cat >>confdefs.h <<_ACEOF
60849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60850 _ACEOF
60853 done
60855 else
60857 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60858 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60859 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60860 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60861 echo $ECHO_N "(cached) $ECHO_C" >&6
60862 else
60866 ac_ext=cc
60867 ac_cpp='$CXXCPP $CPPFLAGS'
60868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60872 cat >conftest.$ac_ext <<_ACEOF
60873 /* confdefs.h. */
60874 _ACEOF
60875 cat confdefs.h >>conftest.$ac_ext
60876 cat >>conftest.$ac_ext <<_ACEOF
60877 /* end confdefs.h. */
60878 #include <math.h>
60880 main ()
60882 _frexpf(0, 0);
60884 return 0;
60886 _ACEOF
60887 rm -f conftest.$ac_objext
60888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60889 (eval $ac_compile) 2>conftest.er1
60890 ac_status=$?
60891 grep -v '^ *+' conftest.er1 >conftest.err
60892 rm -f conftest.er1
60893 cat conftest.err >&5
60894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60895 (exit $ac_status); } &&
60896 { ac_try='test -z "$ac_cxx_werror_flag"
60897 || test ! -s conftest.err'
60898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60899 (eval $ac_try) 2>&5
60900 ac_status=$?
60901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60902 (exit $ac_status); }; } &&
60903 { ac_try='test -s conftest.$ac_objext'
60904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60905 (eval $ac_try) 2>&5
60906 ac_status=$?
60907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60908 (exit $ac_status); }; }; then
60909 glibcxx_cv_func__frexpf_use=yes
60910 else
60911 echo "$as_me: failed program was:" >&5
60912 sed 's/^/| /' conftest.$ac_ext >&5
60914 glibcxx_cv_func__frexpf_use=no
60916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60917 ac_ext=c
60918 ac_cpp='$CPP $CPPFLAGS'
60919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60927 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
60928 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60930 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60932 for ac_func in _frexpf
60934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60935 echo "$as_me:$LINENO: checking for $ac_func" >&5
60936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60937 if eval "test \"\${$as_ac_var+set}\" = set"; then
60938 echo $ECHO_N "(cached) $ECHO_C" >&6
60939 else
60940 if test x$gcc_no_link = xyes; then
60941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60943 { (exit 1); exit 1; }; }
60945 cat >conftest.$ac_ext <<_ACEOF
60946 /* confdefs.h. */
60947 _ACEOF
60948 cat confdefs.h >>conftest.$ac_ext
60949 cat >>conftest.$ac_ext <<_ACEOF
60950 /* end confdefs.h. */
60951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60953 #define $ac_func innocuous_$ac_func
60955 /* System header to define __stub macros and hopefully few prototypes,
60956 which can conflict with char $ac_func (); below.
60957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60958 <limits.h> exists even on freestanding compilers. */
60960 #ifdef __STDC__
60961 # include <limits.h>
60962 #else
60963 # include <assert.h>
60964 #endif
60966 #undef $ac_func
60968 /* Override any gcc2 internal prototype to avoid an error. */
60969 #ifdef __cplusplus
60970 extern "C"
60972 #endif
60973 /* We use char because int might match the return type of a gcc2
60974 builtin and then its argument prototype would still apply. */
60975 char $ac_func ();
60976 /* The GNU C library defines this for functions which it implements
60977 to always fail with ENOSYS. Some functions are actually named
60978 something starting with __ and the normal name is an alias. */
60979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60980 choke me
60981 #else
60982 char (*f) () = $ac_func;
60983 #endif
60984 #ifdef __cplusplus
60986 #endif
60989 main ()
60991 return f != $ac_func;
60993 return 0;
60995 _ACEOF
60996 rm -f conftest.$ac_objext conftest$ac_exeext
60997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60998 (eval $ac_link) 2>conftest.er1
60999 ac_status=$?
61000 grep -v '^ *+' conftest.er1 >conftest.err
61001 rm -f conftest.er1
61002 cat conftest.err >&5
61003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61004 (exit $ac_status); } &&
61005 { ac_try='test -z "$ac_c_werror_flag"
61006 || test ! -s conftest.err'
61007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61008 (eval $ac_try) 2>&5
61009 ac_status=$?
61010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61011 (exit $ac_status); }; } &&
61012 { ac_try='test -s conftest$ac_exeext'
61013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61014 (eval $ac_try) 2>&5
61015 ac_status=$?
61016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61017 (exit $ac_status); }; }; then
61018 eval "$as_ac_var=yes"
61019 else
61020 echo "$as_me: failed program was:" >&5
61021 sed 's/^/| /' conftest.$ac_ext >&5
61023 eval "$as_ac_var=no"
61025 rm -f conftest.err conftest.$ac_objext \
61026 conftest$ac_exeext conftest.$ac_ext
61028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61030 if test `eval echo '${'$as_ac_var'}'` = yes; then
61031 cat >>confdefs.h <<_ACEOF
61032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61033 _ACEOF
61036 done
61046 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
61047 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
61048 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61049 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
61050 echo $ECHO_N "(cached) $ECHO_C" >&6
61051 else
61055 ac_ext=cc
61056 ac_cpp='$CXXCPP $CPPFLAGS'
61057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61061 cat >conftest.$ac_ext <<_ACEOF
61062 /* confdefs.h. */
61063 _ACEOF
61064 cat confdefs.h >>conftest.$ac_ext
61065 cat >>conftest.$ac_ext <<_ACEOF
61066 /* end confdefs.h. */
61067 #include <math.h>
61069 main ()
61071 hypotf(0, 0);
61073 return 0;
61075 _ACEOF
61076 rm -f conftest.$ac_objext
61077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61078 (eval $ac_compile) 2>conftest.er1
61079 ac_status=$?
61080 grep -v '^ *+' conftest.er1 >conftest.err
61081 rm -f conftest.er1
61082 cat conftest.err >&5
61083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61084 (exit $ac_status); } &&
61085 { ac_try='test -z "$ac_cxx_werror_flag"
61086 || test ! -s conftest.err'
61087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61088 (eval $ac_try) 2>&5
61089 ac_status=$?
61090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61091 (exit $ac_status); }; } &&
61092 { ac_try='test -s conftest.$ac_objext'
61093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61094 (eval $ac_try) 2>&5
61095 ac_status=$?
61096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61097 (exit $ac_status); }; }; then
61098 glibcxx_cv_func_hypotf_use=yes
61099 else
61100 echo "$as_me: failed program was:" >&5
61101 sed 's/^/| /' conftest.$ac_ext >&5
61103 glibcxx_cv_func_hypotf_use=no
61105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61106 ac_ext=c
61107 ac_cpp='$CPP $CPPFLAGS'
61108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61116 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
61117 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
61119 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61121 for ac_func in hypotf
61123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61124 echo "$as_me:$LINENO: checking for $ac_func" >&5
61125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61126 if eval "test \"\${$as_ac_var+set}\" = set"; then
61127 echo $ECHO_N "(cached) $ECHO_C" >&6
61128 else
61129 if test x$gcc_no_link = xyes; then
61130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61132 { (exit 1); exit 1; }; }
61134 cat >conftest.$ac_ext <<_ACEOF
61135 /* confdefs.h. */
61136 _ACEOF
61137 cat confdefs.h >>conftest.$ac_ext
61138 cat >>conftest.$ac_ext <<_ACEOF
61139 /* end confdefs.h. */
61140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61142 #define $ac_func innocuous_$ac_func
61144 /* System header to define __stub macros and hopefully few prototypes,
61145 which can conflict with char $ac_func (); below.
61146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61147 <limits.h> exists even on freestanding compilers. */
61149 #ifdef __STDC__
61150 # include <limits.h>
61151 #else
61152 # include <assert.h>
61153 #endif
61155 #undef $ac_func
61157 /* Override any gcc2 internal prototype to avoid an error. */
61158 #ifdef __cplusplus
61159 extern "C"
61161 #endif
61162 /* We use char because int might match the return type of a gcc2
61163 builtin and then its argument prototype would still apply. */
61164 char $ac_func ();
61165 /* The GNU C library defines this for functions which it implements
61166 to always fail with ENOSYS. Some functions are actually named
61167 something starting with __ and the normal name is an alias. */
61168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61169 choke me
61170 #else
61171 char (*f) () = $ac_func;
61172 #endif
61173 #ifdef __cplusplus
61175 #endif
61178 main ()
61180 return f != $ac_func;
61182 return 0;
61184 _ACEOF
61185 rm -f conftest.$ac_objext conftest$ac_exeext
61186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61187 (eval $ac_link) 2>conftest.er1
61188 ac_status=$?
61189 grep -v '^ *+' conftest.er1 >conftest.err
61190 rm -f conftest.er1
61191 cat conftest.err >&5
61192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61193 (exit $ac_status); } &&
61194 { ac_try='test -z "$ac_c_werror_flag"
61195 || test ! -s conftest.err'
61196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61197 (eval $ac_try) 2>&5
61198 ac_status=$?
61199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61200 (exit $ac_status); }; } &&
61201 { ac_try='test -s conftest$ac_exeext'
61202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61203 (eval $ac_try) 2>&5
61204 ac_status=$?
61205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61206 (exit $ac_status); }; }; then
61207 eval "$as_ac_var=yes"
61208 else
61209 echo "$as_me: failed program was:" >&5
61210 sed 's/^/| /' conftest.$ac_ext >&5
61212 eval "$as_ac_var=no"
61214 rm -f conftest.err conftest.$ac_objext \
61215 conftest$ac_exeext conftest.$ac_ext
61217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61219 if test `eval echo '${'$as_ac_var'}'` = yes; then
61220 cat >>confdefs.h <<_ACEOF
61221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61222 _ACEOF
61225 done
61227 else
61229 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
61230 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
61231 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61232 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
61233 echo $ECHO_N "(cached) $ECHO_C" >&6
61234 else
61238 ac_ext=cc
61239 ac_cpp='$CXXCPP $CPPFLAGS'
61240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61244 cat >conftest.$ac_ext <<_ACEOF
61245 /* confdefs.h. */
61246 _ACEOF
61247 cat confdefs.h >>conftest.$ac_ext
61248 cat >>conftest.$ac_ext <<_ACEOF
61249 /* end confdefs.h. */
61250 #include <math.h>
61252 main ()
61254 _hypotf(0, 0);
61256 return 0;
61258 _ACEOF
61259 rm -f conftest.$ac_objext
61260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61261 (eval $ac_compile) 2>conftest.er1
61262 ac_status=$?
61263 grep -v '^ *+' conftest.er1 >conftest.err
61264 rm -f conftest.er1
61265 cat conftest.err >&5
61266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61267 (exit $ac_status); } &&
61268 { ac_try='test -z "$ac_cxx_werror_flag"
61269 || test ! -s conftest.err'
61270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61271 (eval $ac_try) 2>&5
61272 ac_status=$?
61273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61274 (exit $ac_status); }; } &&
61275 { ac_try='test -s conftest.$ac_objext'
61276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61277 (eval $ac_try) 2>&5
61278 ac_status=$?
61279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61280 (exit $ac_status); }; }; then
61281 glibcxx_cv_func__hypotf_use=yes
61282 else
61283 echo "$as_me: failed program was:" >&5
61284 sed 's/^/| /' conftest.$ac_ext >&5
61286 glibcxx_cv_func__hypotf_use=no
61288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61289 ac_ext=c
61290 ac_cpp='$CPP $CPPFLAGS'
61291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61299 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
61300 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
61302 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61304 for ac_func in _hypotf
61306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61307 echo "$as_me:$LINENO: checking for $ac_func" >&5
61308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61309 if eval "test \"\${$as_ac_var+set}\" = set"; then
61310 echo $ECHO_N "(cached) $ECHO_C" >&6
61311 else
61312 if test x$gcc_no_link = xyes; then
61313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61315 { (exit 1); exit 1; }; }
61317 cat >conftest.$ac_ext <<_ACEOF
61318 /* confdefs.h. */
61319 _ACEOF
61320 cat confdefs.h >>conftest.$ac_ext
61321 cat >>conftest.$ac_ext <<_ACEOF
61322 /* end confdefs.h. */
61323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61325 #define $ac_func innocuous_$ac_func
61327 /* System header to define __stub macros and hopefully few prototypes,
61328 which can conflict with char $ac_func (); below.
61329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61330 <limits.h> exists even on freestanding compilers. */
61332 #ifdef __STDC__
61333 # include <limits.h>
61334 #else
61335 # include <assert.h>
61336 #endif
61338 #undef $ac_func
61340 /* Override any gcc2 internal prototype to avoid an error. */
61341 #ifdef __cplusplus
61342 extern "C"
61344 #endif
61345 /* We use char because int might match the return type of a gcc2
61346 builtin and then its argument prototype would still apply. */
61347 char $ac_func ();
61348 /* The GNU C library defines this for functions which it implements
61349 to always fail with ENOSYS. Some functions are actually named
61350 something starting with __ and the normal name is an alias. */
61351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61352 choke me
61353 #else
61354 char (*f) () = $ac_func;
61355 #endif
61356 #ifdef __cplusplus
61358 #endif
61361 main ()
61363 return f != $ac_func;
61365 return 0;
61367 _ACEOF
61368 rm -f conftest.$ac_objext conftest$ac_exeext
61369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61370 (eval $ac_link) 2>conftest.er1
61371 ac_status=$?
61372 grep -v '^ *+' conftest.er1 >conftest.err
61373 rm -f conftest.er1
61374 cat conftest.err >&5
61375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61376 (exit $ac_status); } &&
61377 { ac_try='test -z "$ac_c_werror_flag"
61378 || test ! -s conftest.err'
61379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61380 (eval $ac_try) 2>&5
61381 ac_status=$?
61382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61383 (exit $ac_status); }; } &&
61384 { ac_try='test -s conftest$ac_exeext'
61385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61386 (eval $ac_try) 2>&5
61387 ac_status=$?
61388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61389 (exit $ac_status); }; }; then
61390 eval "$as_ac_var=yes"
61391 else
61392 echo "$as_me: failed program was:" >&5
61393 sed 's/^/| /' conftest.$ac_ext >&5
61395 eval "$as_ac_var=no"
61397 rm -f conftest.err conftest.$ac_objext \
61398 conftest$ac_exeext conftest.$ac_ext
61400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61402 if test `eval echo '${'$as_ac_var'}'` = yes; then
61403 cat >>confdefs.h <<_ACEOF
61404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61405 _ACEOF
61408 done
61418 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
61419 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
61420 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61421 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
61422 echo $ECHO_N "(cached) $ECHO_C" >&6
61423 else
61427 ac_ext=cc
61428 ac_cpp='$CXXCPP $CPPFLAGS'
61429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61433 cat >conftest.$ac_ext <<_ACEOF
61434 /* confdefs.h. */
61435 _ACEOF
61436 cat confdefs.h >>conftest.$ac_ext
61437 cat >>conftest.$ac_ext <<_ACEOF
61438 /* end confdefs.h. */
61439 #include <math.h>
61441 main ()
61443 ldexpf(0, 0);
61445 return 0;
61447 _ACEOF
61448 rm -f conftest.$ac_objext
61449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61450 (eval $ac_compile) 2>conftest.er1
61451 ac_status=$?
61452 grep -v '^ *+' conftest.er1 >conftest.err
61453 rm -f conftest.er1
61454 cat conftest.err >&5
61455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61456 (exit $ac_status); } &&
61457 { ac_try='test -z "$ac_cxx_werror_flag"
61458 || test ! -s conftest.err'
61459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61460 (eval $ac_try) 2>&5
61461 ac_status=$?
61462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61463 (exit $ac_status); }; } &&
61464 { ac_try='test -s conftest.$ac_objext'
61465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61466 (eval $ac_try) 2>&5
61467 ac_status=$?
61468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61469 (exit $ac_status); }; }; then
61470 glibcxx_cv_func_ldexpf_use=yes
61471 else
61472 echo "$as_me: failed program was:" >&5
61473 sed 's/^/| /' conftest.$ac_ext >&5
61475 glibcxx_cv_func_ldexpf_use=no
61477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61478 ac_ext=c
61479 ac_cpp='$CPP $CPPFLAGS'
61480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61488 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61489 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61491 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61493 for ac_func in ldexpf
61495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61496 echo "$as_me:$LINENO: checking for $ac_func" >&5
61497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61498 if eval "test \"\${$as_ac_var+set}\" = set"; then
61499 echo $ECHO_N "(cached) $ECHO_C" >&6
61500 else
61501 if test x$gcc_no_link = xyes; then
61502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61504 { (exit 1); exit 1; }; }
61506 cat >conftest.$ac_ext <<_ACEOF
61507 /* confdefs.h. */
61508 _ACEOF
61509 cat confdefs.h >>conftest.$ac_ext
61510 cat >>conftest.$ac_ext <<_ACEOF
61511 /* end confdefs.h. */
61512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61514 #define $ac_func innocuous_$ac_func
61516 /* System header to define __stub macros and hopefully few prototypes,
61517 which can conflict with char $ac_func (); below.
61518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61519 <limits.h> exists even on freestanding compilers. */
61521 #ifdef __STDC__
61522 # include <limits.h>
61523 #else
61524 # include <assert.h>
61525 #endif
61527 #undef $ac_func
61529 /* Override any gcc2 internal prototype to avoid an error. */
61530 #ifdef __cplusplus
61531 extern "C"
61533 #endif
61534 /* We use char because int might match the return type of a gcc2
61535 builtin and then its argument prototype would still apply. */
61536 char $ac_func ();
61537 /* The GNU C library defines this for functions which it implements
61538 to always fail with ENOSYS. Some functions are actually named
61539 something starting with __ and the normal name is an alias. */
61540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61541 choke me
61542 #else
61543 char (*f) () = $ac_func;
61544 #endif
61545 #ifdef __cplusplus
61547 #endif
61550 main ()
61552 return f != $ac_func;
61554 return 0;
61556 _ACEOF
61557 rm -f conftest.$ac_objext conftest$ac_exeext
61558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61559 (eval $ac_link) 2>conftest.er1
61560 ac_status=$?
61561 grep -v '^ *+' conftest.er1 >conftest.err
61562 rm -f conftest.er1
61563 cat conftest.err >&5
61564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61565 (exit $ac_status); } &&
61566 { ac_try='test -z "$ac_c_werror_flag"
61567 || test ! -s conftest.err'
61568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61569 (eval $ac_try) 2>&5
61570 ac_status=$?
61571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61572 (exit $ac_status); }; } &&
61573 { ac_try='test -s conftest$ac_exeext'
61574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61575 (eval $ac_try) 2>&5
61576 ac_status=$?
61577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61578 (exit $ac_status); }; }; then
61579 eval "$as_ac_var=yes"
61580 else
61581 echo "$as_me: failed program was:" >&5
61582 sed 's/^/| /' conftest.$ac_ext >&5
61584 eval "$as_ac_var=no"
61586 rm -f conftest.err conftest.$ac_objext \
61587 conftest$ac_exeext conftest.$ac_ext
61589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61591 if test `eval echo '${'$as_ac_var'}'` = yes; then
61592 cat >>confdefs.h <<_ACEOF
61593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61594 _ACEOF
61597 done
61599 else
61601 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61602 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61603 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61604 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61605 echo $ECHO_N "(cached) $ECHO_C" >&6
61606 else
61610 ac_ext=cc
61611 ac_cpp='$CXXCPP $CPPFLAGS'
61612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61616 cat >conftest.$ac_ext <<_ACEOF
61617 /* confdefs.h. */
61618 _ACEOF
61619 cat confdefs.h >>conftest.$ac_ext
61620 cat >>conftest.$ac_ext <<_ACEOF
61621 /* end confdefs.h. */
61622 #include <math.h>
61624 main ()
61626 _ldexpf(0, 0);
61628 return 0;
61630 _ACEOF
61631 rm -f conftest.$ac_objext
61632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61633 (eval $ac_compile) 2>conftest.er1
61634 ac_status=$?
61635 grep -v '^ *+' conftest.er1 >conftest.err
61636 rm -f conftest.er1
61637 cat conftest.err >&5
61638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61639 (exit $ac_status); } &&
61640 { ac_try='test -z "$ac_cxx_werror_flag"
61641 || test ! -s conftest.err'
61642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61643 (eval $ac_try) 2>&5
61644 ac_status=$?
61645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61646 (exit $ac_status); }; } &&
61647 { ac_try='test -s conftest.$ac_objext'
61648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61649 (eval $ac_try) 2>&5
61650 ac_status=$?
61651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61652 (exit $ac_status); }; }; then
61653 glibcxx_cv_func__ldexpf_use=yes
61654 else
61655 echo "$as_me: failed program was:" >&5
61656 sed 's/^/| /' conftest.$ac_ext >&5
61658 glibcxx_cv_func__ldexpf_use=no
61660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61661 ac_ext=c
61662 ac_cpp='$CPP $CPPFLAGS'
61663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61671 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
61672 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
61674 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61676 for ac_func in _ldexpf
61678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61679 echo "$as_me:$LINENO: checking for $ac_func" >&5
61680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61681 if eval "test \"\${$as_ac_var+set}\" = set"; then
61682 echo $ECHO_N "(cached) $ECHO_C" >&6
61683 else
61684 if test x$gcc_no_link = xyes; then
61685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61687 { (exit 1); exit 1; }; }
61689 cat >conftest.$ac_ext <<_ACEOF
61690 /* confdefs.h. */
61691 _ACEOF
61692 cat confdefs.h >>conftest.$ac_ext
61693 cat >>conftest.$ac_ext <<_ACEOF
61694 /* end confdefs.h. */
61695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61697 #define $ac_func innocuous_$ac_func
61699 /* System header to define __stub macros and hopefully few prototypes,
61700 which can conflict with char $ac_func (); below.
61701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61702 <limits.h> exists even on freestanding compilers. */
61704 #ifdef __STDC__
61705 # include <limits.h>
61706 #else
61707 # include <assert.h>
61708 #endif
61710 #undef $ac_func
61712 /* Override any gcc2 internal prototype to avoid an error. */
61713 #ifdef __cplusplus
61714 extern "C"
61716 #endif
61717 /* We use char because int might match the return type of a gcc2
61718 builtin and then its argument prototype would still apply. */
61719 char $ac_func ();
61720 /* The GNU C library defines this for functions which it implements
61721 to always fail with ENOSYS. Some functions are actually named
61722 something starting with __ and the normal name is an alias. */
61723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61724 choke me
61725 #else
61726 char (*f) () = $ac_func;
61727 #endif
61728 #ifdef __cplusplus
61730 #endif
61733 main ()
61735 return f != $ac_func;
61737 return 0;
61739 _ACEOF
61740 rm -f conftest.$ac_objext conftest$ac_exeext
61741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61742 (eval $ac_link) 2>conftest.er1
61743 ac_status=$?
61744 grep -v '^ *+' conftest.er1 >conftest.err
61745 rm -f conftest.er1
61746 cat conftest.err >&5
61747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61748 (exit $ac_status); } &&
61749 { ac_try='test -z "$ac_c_werror_flag"
61750 || test ! -s conftest.err'
61751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61752 (eval $ac_try) 2>&5
61753 ac_status=$?
61754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61755 (exit $ac_status); }; } &&
61756 { ac_try='test -s conftest$ac_exeext'
61757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61758 (eval $ac_try) 2>&5
61759 ac_status=$?
61760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61761 (exit $ac_status); }; }; then
61762 eval "$as_ac_var=yes"
61763 else
61764 echo "$as_me: failed program was:" >&5
61765 sed 's/^/| /' conftest.$ac_ext >&5
61767 eval "$as_ac_var=no"
61769 rm -f conftest.err conftest.$ac_objext \
61770 conftest$ac_exeext conftest.$ac_ext
61772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61774 if test `eval echo '${'$as_ac_var'}'` = yes; then
61775 cat >>confdefs.h <<_ACEOF
61776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61777 _ACEOF
61780 done
61790 echo "$as_me:$LINENO: checking for logf declaration" >&5
61791 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61792 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61793 if test "${glibcxx_cv_func_logf_use+set}" = set; then
61794 echo $ECHO_N "(cached) $ECHO_C" >&6
61795 else
61799 ac_ext=cc
61800 ac_cpp='$CXXCPP $CPPFLAGS'
61801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61805 cat >conftest.$ac_ext <<_ACEOF
61806 /* confdefs.h. */
61807 _ACEOF
61808 cat confdefs.h >>conftest.$ac_ext
61809 cat >>conftest.$ac_ext <<_ACEOF
61810 /* end confdefs.h. */
61811 #include <math.h>
61812 #ifdef HAVE_IEEEFP_H
61813 #include <ieeefp.h>
61814 #endif
61817 main ()
61819 logf(0);
61821 return 0;
61823 _ACEOF
61824 rm -f conftest.$ac_objext
61825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61826 (eval $ac_compile) 2>conftest.er1
61827 ac_status=$?
61828 grep -v '^ *+' conftest.er1 >conftest.err
61829 rm -f conftest.er1
61830 cat conftest.err >&5
61831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61832 (exit $ac_status); } &&
61833 { ac_try='test -z "$ac_cxx_werror_flag"
61834 || test ! -s conftest.err'
61835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61836 (eval $ac_try) 2>&5
61837 ac_status=$?
61838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61839 (exit $ac_status); }; } &&
61840 { ac_try='test -s conftest.$ac_objext'
61841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61842 (eval $ac_try) 2>&5
61843 ac_status=$?
61844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61845 (exit $ac_status); }; }; then
61846 glibcxx_cv_func_logf_use=yes
61847 else
61848 echo "$as_me: failed program was:" >&5
61849 sed 's/^/| /' conftest.$ac_ext >&5
61851 glibcxx_cv_func_logf_use=no
61853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61854 ac_ext=c
61855 ac_cpp='$CPP $CPPFLAGS'
61856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61865 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61867 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61869 for ac_func in logf
61871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61872 echo "$as_me:$LINENO: checking for $ac_func" >&5
61873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61874 if eval "test \"\${$as_ac_var+set}\" = set"; then
61875 echo $ECHO_N "(cached) $ECHO_C" >&6
61876 else
61877 if test x$gcc_no_link = xyes; then
61878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61880 { (exit 1); exit 1; }; }
61882 cat >conftest.$ac_ext <<_ACEOF
61883 /* confdefs.h. */
61884 _ACEOF
61885 cat confdefs.h >>conftest.$ac_ext
61886 cat >>conftest.$ac_ext <<_ACEOF
61887 /* end confdefs.h. */
61888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61890 #define $ac_func innocuous_$ac_func
61892 /* System header to define __stub macros and hopefully few prototypes,
61893 which can conflict with char $ac_func (); below.
61894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61895 <limits.h> exists even on freestanding compilers. */
61897 #ifdef __STDC__
61898 # include <limits.h>
61899 #else
61900 # include <assert.h>
61901 #endif
61903 #undef $ac_func
61905 /* Override any gcc2 internal prototype to avoid an error. */
61906 #ifdef __cplusplus
61907 extern "C"
61909 #endif
61910 /* We use char because int might match the return type of a gcc2
61911 builtin and then its argument prototype would still apply. */
61912 char $ac_func ();
61913 /* The GNU C library defines this for functions which it implements
61914 to always fail with ENOSYS. Some functions are actually named
61915 something starting with __ and the normal name is an alias. */
61916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61917 choke me
61918 #else
61919 char (*f) () = $ac_func;
61920 #endif
61921 #ifdef __cplusplus
61923 #endif
61926 main ()
61928 return f != $ac_func;
61930 return 0;
61932 _ACEOF
61933 rm -f conftest.$ac_objext conftest$ac_exeext
61934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61935 (eval $ac_link) 2>conftest.er1
61936 ac_status=$?
61937 grep -v '^ *+' conftest.er1 >conftest.err
61938 rm -f conftest.er1
61939 cat conftest.err >&5
61940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61941 (exit $ac_status); } &&
61942 { ac_try='test -z "$ac_c_werror_flag"
61943 || test ! -s conftest.err'
61944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61945 (eval $ac_try) 2>&5
61946 ac_status=$?
61947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61948 (exit $ac_status); }; } &&
61949 { ac_try='test -s conftest$ac_exeext'
61950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61951 (eval $ac_try) 2>&5
61952 ac_status=$?
61953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61954 (exit $ac_status); }; }; then
61955 eval "$as_ac_var=yes"
61956 else
61957 echo "$as_me: failed program was:" >&5
61958 sed 's/^/| /' conftest.$ac_ext >&5
61960 eval "$as_ac_var=no"
61962 rm -f conftest.err conftest.$ac_objext \
61963 conftest$ac_exeext conftest.$ac_ext
61965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61967 if test `eval echo '${'$as_ac_var'}'` = yes; then
61968 cat >>confdefs.h <<_ACEOF
61969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61970 _ACEOF
61973 done
61975 else
61977 echo "$as_me:$LINENO: checking for _logf declaration" >&5
61978 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
61979 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61980 if test "${glibcxx_cv_func__logf_use+set}" = set; then
61981 echo $ECHO_N "(cached) $ECHO_C" >&6
61982 else
61986 ac_ext=cc
61987 ac_cpp='$CXXCPP $CPPFLAGS'
61988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61992 cat >conftest.$ac_ext <<_ACEOF
61993 /* confdefs.h. */
61994 _ACEOF
61995 cat confdefs.h >>conftest.$ac_ext
61996 cat >>conftest.$ac_ext <<_ACEOF
61997 /* end confdefs.h. */
61998 #include <math.h>
61999 #ifdef HAVE_IEEEFP_H
62000 #include <ieeefp.h>
62001 #endif
62004 main ()
62006 _logf(0);
62008 return 0;
62010 _ACEOF
62011 rm -f conftest.$ac_objext
62012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62013 (eval $ac_compile) 2>conftest.er1
62014 ac_status=$?
62015 grep -v '^ *+' conftest.er1 >conftest.err
62016 rm -f conftest.er1
62017 cat conftest.err >&5
62018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62019 (exit $ac_status); } &&
62020 { ac_try='test -z "$ac_cxx_werror_flag"
62021 || test ! -s conftest.err'
62022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62023 (eval $ac_try) 2>&5
62024 ac_status=$?
62025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62026 (exit $ac_status); }; } &&
62027 { ac_try='test -s conftest.$ac_objext'
62028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62029 (eval $ac_try) 2>&5
62030 ac_status=$?
62031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62032 (exit $ac_status); }; }; then
62033 glibcxx_cv_func__logf_use=yes
62034 else
62035 echo "$as_me: failed program was:" >&5
62036 sed 's/^/| /' conftest.$ac_ext >&5
62038 glibcxx_cv_func__logf_use=no
62040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62041 ac_ext=c
62042 ac_cpp='$CPP $CPPFLAGS'
62043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62051 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
62052 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
62054 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62056 for ac_func in _logf
62058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62059 echo "$as_me:$LINENO: checking for $ac_func" >&5
62060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62061 if eval "test \"\${$as_ac_var+set}\" = set"; then
62062 echo $ECHO_N "(cached) $ECHO_C" >&6
62063 else
62064 if test x$gcc_no_link = xyes; then
62065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62067 { (exit 1); exit 1; }; }
62069 cat >conftest.$ac_ext <<_ACEOF
62070 /* confdefs.h. */
62071 _ACEOF
62072 cat confdefs.h >>conftest.$ac_ext
62073 cat >>conftest.$ac_ext <<_ACEOF
62074 /* end confdefs.h. */
62075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62077 #define $ac_func innocuous_$ac_func
62079 /* System header to define __stub macros and hopefully few prototypes,
62080 which can conflict with char $ac_func (); below.
62081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62082 <limits.h> exists even on freestanding compilers. */
62084 #ifdef __STDC__
62085 # include <limits.h>
62086 #else
62087 # include <assert.h>
62088 #endif
62090 #undef $ac_func
62092 /* Override any gcc2 internal prototype to avoid an error. */
62093 #ifdef __cplusplus
62094 extern "C"
62096 #endif
62097 /* We use char because int might match the return type of a gcc2
62098 builtin and then its argument prototype would still apply. */
62099 char $ac_func ();
62100 /* The GNU C library defines this for functions which it implements
62101 to always fail with ENOSYS. Some functions are actually named
62102 something starting with __ and the normal name is an alias. */
62103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62104 choke me
62105 #else
62106 char (*f) () = $ac_func;
62107 #endif
62108 #ifdef __cplusplus
62110 #endif
62113 main ()
62115 return f != $ac_func;
62117 return 0;
62119 _ACEOF
62120 rm -f conftest.$ac_objext conftest$ac_exeext
62121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62122 (eval $ac_link) 2>conftest.er1
62123 ac_status=$?
62124 grep -v '^ *+' conftest.er1 >conftest.err
62125 rm -f conftest.er1
62126 cat conftest.err >&5
62127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62128 (exit $ac_status); } &&
62129 { ac_try='test -z "$ac_c_werror_flag"
62130 || test ! -s conftest.err'
62131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62132 (eval $ac_try) 2>&5
62133 ac_status=$?
62134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62135 (exit $ac_status); }; } &&
62136 { ac_try='test -s conftest$ac_exeext'
62137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62138 (eval $ac_try) 2>&5
62139 ac_status=$?
62140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62141 (exit $ac_status); }; }; then
62142 eval "$as_ac_var=yes"
62143 else
62144 echo "$as_me: failed program was:" >&5
62145 sed 's/^/| /' conftest.$ac_ext >&5
62147 eval "$as_ac_var=no"
62149 rm -f conftest.err conftest.$ac_objext \
62150 conftest$ac_exeext conftest.$ac_ext
62152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62154 if test `eval echo '${'$as_ac_var'}'` = yes; then
62155 cat >>confdefs.h <<_ACEOF
62156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62157 _ACEOF
62160 done
62170 echo "$as_me:$LINENO: checking for log10f declaration" >&5
62171 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
62172 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62173 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
62174 echo $ECHO_N "(cached) $ECHO_C" >&6
62175 else
62179 ac_ext=cc
62180 ac_cpp='$CXXCPP $CPPFLAGS'
62181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62185 cat >conftest.$ac_ext <<_ACEOF
62186 /* confdefs.h. */
62187 _ACEOF
62188 cat confdefs.h >>conftest.$ac_ext
62189 cat >>conftest.$ac_ext <<_ACEOF
62190 /* end confdefs.h. */
62191 #include <math.h>
62192 #ifdef HAVE_IEEEFP_H
62193 #include <ieeefp.h>
62194 #endif
62197 main ()
62199 log10f(0);
62201 return 0;
62203 _ACEOF
62204 rm -f conftest.$ac_objext
62205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62206 (eval $ac_compile) 2>conftest.er1
62207 ac_status=$?
62208 grep -v '^ *+' conftest.er1 >conftest.err
62209 rm -f conftest.er1
62210 cat conftest.err >&5
62211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62212 (exit $ac_status); } &&
62213 { ac_try='test -z "$ac_cxx_werror_flag"
62214 || test ! -s conftest.err'
62215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62216 (eval $ac_try) 2>&5
62217 ac_status=$?
62218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62219 (exit $ac_status); }; } &&
62220 { ac_try='test -s conftest.$ac_objext'
62221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62222 (eval $ac_try) 2>&5
62223 ac_status=$?
62224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62225 (exit $ac_status); }; }; then
62226 glibcxx_cv_func_log10f_use=yes
62227 else
62228 echo "$as_me: failed program was:" >&5
62229 sed 's/^/| /' conftest.$ac_ext >&5
62231 glibcxx_cv_func_log10f_use=no
62233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62234 ac_ext=c
62235 ac_cpp='$CPP $CPPFLAGS'
62236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
62245 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
62247 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62249 for ac_func in log10f
62251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62252 echo "$as_me:$LINENO: checking for $ac_func" >&5
62253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62254 if eval "test \"\${$as_ac_var+set}\" = set"; then
62255 echo $ECHO_N "(cached) $ECHO_C" >&6
62256 else
62257 if test x$gcc_no_link = xyes; then
62258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62260 { (exit 1); exit 1; }; }
62262 cat >conftest.$ac_ext <<_ACEOF
62263 /* confdefs.h. */
62264 _ACEOF
62265 cat confdefs.h >>conftest.$ac_ext
62266 cat >>conftest.$ac_ext <<_ACEOF
62267 /* end confdefs.h. */
62268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62270 #define $ac_func innocuous_$ac_func
62272 /* System header to define __stub macros and hopefully few prototypes,
62273 which can conflict with char $ac_func (); below.
62274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62275 <limits.h> exists even on freestanding compilers. */
62277 #ifdef __STDC__
62278 # include <limits.h>
62279 #else
62280 # include <assert.h>
62281 #endif
62283 #undef $ac_func
62285 /* Override any gcc2 internal prototype to avoid an error. */
62286 #ifdef __cplusplus
62287 extern "C"
62289 #endif
62290 /* We use char because int might match the return type of a gcc2
62291 builtin and then its argument prototype would still apply. */
62292 char $ac_func ();
62293 /* The GNU C library defines this for functions which it implements
62294 to always fail with ENOSYS. Some functions are actually named
62295 something starting with __ and the normal name is an alias. */
62296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62297 choke me
62298 #else
62299 char (*f) () = $ac_func;
62300 #endif
62301 #ifdef __cplusplus
62303 #endif
62306 main ()
62308 return f != $ac_func;
62310 return 0;
62312 _ACEOF
62313 rm -f conftest.$ac_objext conftest$ac_exeext
62314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62315 (eval $ac_link) 2>conftest.er1
62316 ac_status=$?
62317 grep -v '^ *+' conftest.er1 >conftest.err
62318 rm -f conftest.er1
62319 cat conftest.err >&5
62320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62321 (exit $ac_status); } &&
62322 { ac_try='test -z "$ac_c_werror_flag"
62323 || test ! -s conftest.err'
62324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62325 (eval $ac_try) 2>&5
62326 ac_status=$?
62327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62328 (exit $ac_status); }; } &&
62329 { ac_try='test -s conftest$ac_exeext'
62330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62331 (eval $ac_try) 2>&5
62332 ac_status=$?
62333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62334 (exit $ac_status); }; }; then
62335 eval "$as_ac_var=yes"
62336 else
62337 echo "$as_me: failed program was:" >&5
62338 sed 's/^/| /' conftest.$ac_ext >&5
62340 eval "$as_ac_var=no"
62342 rm -f conftest.err conftest.$ac_objext \
62343 conftest$ac_exeext conftest.$ac_ext
62345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62347 if test `eval echo '${'$as_ac_var'}'` = yes; then
62348 cat >>confdefs.h <<_ACEOF
62349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62350 _ACEOF
62353 done
62355 else
62357 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
62358 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
62359 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62360 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
62361 echo $ECHO_N "(cached) $ECHO_C" >&6
62362 else
62366 ac_ext=cc
62367 ac_cpp='$CXXCPP $CPPFLAGS'
62368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62372 cat >conftest.$ac_ext <<_ACEOF
62373 /* confdefs.h. */
62374 _ACEOF
62375 cat confdefs.h >>conftest.$ac_ext
62376 cat >>conftest.$ac_ext <<_ACEOF
62377 /* end confdefs.h. */
62378 #include <math.h>
62379 #ifdef HAVE_IEEEFP_H
62380 #include <ieeefp.h>
62381 #endif
62384 main ()
62386 _log10f(0);
62388 return 0;
62390 _ACEOF
62391 rm -f conftest.$ac_objext
62392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62393 (eval $ac_compile) 2>conftest.er1
62394 ac_status=$?
62395 grep -v '^ *+' conftest.er1 >conftest.err
62396 rm -f conftest.er1
62397 cat conftest.err >&5
62398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62399 (exit $ac_status); } &&
62400 { ac_try='test -z "$ac_cxx_werror_flag"
62401 || test ! -s conftest.err'
62402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62403 (eval $ac_try) 2>&5
62404 ac_status=$?
62405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62406 (exit $ac_status); }; } &&
62407 { ac_try='test -s conftest.$ac_objext'
62408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62409 (eval $ac_try) 2>&5
62410 ac_status=$?
62411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62412 (exit $ac_status); }; }; then
62413 glibcxx_cv_func__log10f_use=yes
62414 else
62415 echo "$as_me: failed program was:" >&5
62416 sed 's/^/| /' conftest.$ac_ext >&5
62418 glibcxx_cv_func__log10f_use=no
62420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62421 ac_ext=c
62422 ac_cpp='$CPP $CPPFLAGS'
62423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
62432 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
62434 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62436 for ac_func in _log10f
62438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62439 echo "$as_me:$LINENO: checking for $ac_func" >&5
62440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62441 if eval "test \"\${$as_ac_var+set}\" = set"; then
62442 echo $ECHO_N "(cached) $ECHO_C" >&6
62443 else
62444 if test x$gcc_no_link = xyes; then
62445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62447 { (exit 1); exit 1; }; }
62449 cat >conftest.$ac_ext <<_ACEOF
62450 /* confdefs.h. */
62451 _ACEOF
62452 cat confdefs.h >>conftest.$ac_ext
62453 cat >>conftest.$ac_ext <<_ACEOF
62454 /* end confdefs.h. */
62455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62457 #define $ac_func innocuous_$ac_func
62459 /* System header to define __stub macros and hopefully few prototypes,
62460 which can conflict with char $ac_func (); below.
62461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62462 <limits.h> exists even on freestanding compilers. */
62464 #ifdef __STDC__
62465 # include <limits.h>
62466 #else
62467 # include <assert.h>
62468 #endif
62470 #undef $ac_func
62472 /* Override any gcc2 internal prototype to avoid an error. */
62473 #ifdef __cplusplus
62474 extern "C"
62476 #endif
62477 /* We use char because int might match the return type of a gcc2
62478 builtin and then its argument prototype would still apply. */
62479 char $ac_func ();
62480 /* The GNU C library defines this for functions which it implements
62481 to always fail with ENOSYS. Some functions are actually named
62482 something starting with __ and the normal name is an alias. */
62483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62484 choke me
62485 #else
62486 char (*f) () = $ac_func;
62487 #endif
62488 #ifdef __cplusplus
62490 #endif
62493 main ()
62495 return f != $ac_func;
62497 return 0;
62499 _ACEOF
62500 rm -f conftest.$ac_objext conftest$ac_exeext
62501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62502 (eval $ac_link) 2>conftest.er1
62503 ac_status=$?
62504 grep -v '^ *+' conftest.er1 >conftest.err
62505 rm -f conftest.er1
62506 cat conftest.err >&5
62507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62508 (exit $ac_status); } &&
62509 { ac_try='test -z "$ac_c_werror_flag"
62510 || test ! -s conftest.err'
62511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62512 (eval $ac_try) 2>&5
62513 ac_status=$?
62514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62515 (exit $ac_status); }; } &&
62516 { ac_try='test -s conftest$ac_exeext'
62517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62518 (eval $ac_try) 2>&5
62519 ac_status=$?
62520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62521 (exit $ac_status); }; }; then
62522 eval "$as_ac_var=yes"
62523 else
62524 echo "$as_me: failed program was:" >&5
62525 sed 's/^/| /' conftest.$ac_ext >&5
62527 eval "$as_ac_var=no"
62529 rm -f conftest.err conftest.$ac_objext \
62530 conftest$ac_exeext conftest.$ac_ext
62532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62534 if test `eval echo '${'$as_ac_var'}'` = yes; then
62535 cat >>confdefs.h <<_ACEOF
62536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62537 _ACEOF
62540 done
62550 echo "$as_me:$LINENO: checking for modff declaration" >&5
62551 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62552 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62553 if test "${glibcxx_cv_func_modff_use+set}" = set; then
62554 echo $ECHO_N "(cached) $ECHO_C" >&6
62555 else
62559 ac_ext=cc
62560 ac_cpp='$CXXCPP $CPPFLAGS'
62561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62565 cat >conftest.$ac_ext <<_ACEOF
62566 /* confdefs.h. */
62567 _ACEOF
62568 cat confdefs.h >>conftest.$ac_ext
62569 cat >>conftest.$ac_ext <<_ACEOF
62570 /* end confdefs.h. */
62571 #include <math.h>
62573 main ()
62575 modff(0, 0);
62577 return 0;
62579 _ACEOF
62580 rm -f conftest.$ac_objext
62581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62582 (eval $ac_compile) 2>conftest.er1
62583 ac_status=$?
62584 grep -v '^ *+' conftest.er1 >conftest.err
62585 rm -f conftest.er1
62586 cat conftest.err >&5
62587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62588 (exit $ac_status); } &&
62589 { ac_try='test -z "$ac_cxx_werror_flag"
62590 || test ! -s conftest.err'
62591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62592 (eval $ac_try) 2>&5
62593 ac_status=$?
62594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62595 (exit $ac_status); }; } &&
62596 { ac_try='test -s conftest.$ac_objext'
62597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62598 (eval $ac_try) 2>&5
62599 ac_status=$?
62600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62601 (exit $ac_status); }; }; then
62602 glibcxx_cv_func_modff_use=yes
62603 else
62604 echo "$as_me: failed program was:" >&5
62605 sed 's/^/| /' conftest.$ac_ext >&5
62607 glibcxx_cv_func_modff_use=no
62609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62610 ac_ext=c
62611 ac_cpp='$CPP $CPPFLAGS'
62612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62620 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62621 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62623 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62625 for ac_func in modff
62627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62628 echo "$as_me:$LINENO: checking for $ac_func" >&5
62629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62630 if eval "test \"\${$as_ac_var+set}\" = set"; then
62631 echo $ECHO_N "(cached) $ECHO_C" >&6
62632 else
62633 if test x$gcc_no_link = xyes; then
62634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62636 { (exit 1); exit 1; }; }
62638 cat >conftest.$ac_ext <<_ACEOF
62639 /* confdefs.h. */
62640 _ACEOF
62641 cat confdefs.h >>conftest.$ac_ext
62642 cat >>conftest.$ac_ext <<_ACEOF
62643 /* end confdefs.h. */
62644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62646 #define $ac_func innocuous_$ac_func
62648 /* System header to define __stub macros and hopefully few prototypes,
62649 which can conflict with char $ac_func (); below.
62650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62651 <limits.h> exists even on freestanding compilers. */
62653 #ifdef __STDC__
62654 # include <limits.h>
62655 #else
62656 # include <assert.h>
62657 #endif
62659 #undef $ac_func
62661 /* Override any gcc2 internal prototype to avoid an error. */
62662 #ifdef __cplusplus
62663 extern "C"
62665 #endif
62666 /* We use char because int might match the return type of a gcc2
62667 builtin and then its argument prototype would still apply. */
62668 char $ac_func ();
62669 /* The GNU C library defines this for functions which it implements
62670 to always fail with ENOSYS. Some functions are actually named
62671 something starting with __ and the normal name is an alias. */
62672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62673 choke me
62674 #else
62675 char (*f) () = $ac_func;
62676 #endif
62677 #ifdef __cplusplus
62679 #endif
62682 main ()
62684 return f != $ac_func;
62686 return 0;
62688 _ACEOF
62689 rm -f conftest.$ac_objext conftest$ac_exeext
62690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62691 (eval $ac_link) 2>conftest.er1
62692 ac_status=$?
62693 grep -v '^ *+' conftest.er1 >conftest.err
62694 rm -f conftest.er1
62695 cat conftest.err >&5
62696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62697 (exit $ac_status); } &&
62698 { ac_try='test -z "$ac_c_werror_flag"
62699 || test ! -s conftest.err'
62700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62701 (eval $ac_try) 2>&5
62702 ac_status=$?
62703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62704 (exit $ac_status); }; } &&
62705 { ac_try='test -s conftest$ac_exeext'
62706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62707 (eval $ac_try) 2>&5
62708 ac_status=$?
62709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62710 (exit $ac_status); }; }; then
62711 eval "$as_ac_var=yes"
62712 else
62713 echo "$as_me: failed program was:" >&5
62714 sed 's/^/| /' conftest.$ac_ext >&5
62716 eval "$as_ac_var=no"
62718 rm -f conftest.err conftest.$ac_objext \
62719 conftest$ac_exeext conftest.$ac_ext
62721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62723 if test `eval echo '${'$as_ac_var'}'` = yes; then
62724 cat >>confdefs.h <<_ACEOF
62725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62726 _ACEOF
62729 done
62731 else
62733 echo "$as_me:$LINENO: checking for _modff declaration" >&5
62734 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
62735 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62736 if test "${glibcxx_cv_func__modff_use+set}" = set; then
62737 echo $ECHO_N "(cached) $ECHO_C" >&6
62738 else
62742 ac_ext=cc
62743 ac_cpp='$CXXCPP $CPPFLAGS'
62744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62748 cat >conftest.$ac_ext <<_ACEOF
62749 /* confdefs.h. */
62750 _ACEOF
62751 cat confdefs.h >>conftest.$ac_ext
62752 cat >>conftest.$ac_ext <<_ACEOF
62753 /* end confdefs.h. */
62754 #include <math.h>
62756 main ()
62758 _modff(0, 0);
62760 return 0;
62762 _ACEOF
62763 rm -f conftest.$ac_objext
62764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62765 (eval $ac_compile) 2>conftest.er1
62766 ac_status=$?
62767 grep -v '^ *+' conftest.er1 >conftest.err
62768 rm -f conftest.er1
62769 cat conftest.err >&5
62770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62771 (exit $ac_status); } &&
62772 { ac_try='test -z "$ac_cxx_werror_flag"
62773 || test ! -s conftest.err'
62774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62775 (eval $ac_try) 2>&5
62776 ac_status=$?
62777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62778 (exit $ac_status); }; } &&
62779 { ac_try='test -s conftest.$ac_objext'
62780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62781 (eval $ac_try) 2>&5
62782 ac_status=$?
62783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62784 (exit $ac_status); }; }; then
62785 glibcxx_cv_func__modff_use=yes
62786 else
62787 echo "$as_me: failed program was:" >&5
62788 sed 's/^/| /' conftest.$ac_ext >&5
62790 glibcxx_cv_func__modff_use=no
62792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62793 ac_ext=c
62794 ac_cpp='$CPP $CPPFLAGS'
62795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62803 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62804 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62806 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62808 for ac_func in _modff
62810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62811 echo "$as_me:$LINENO: checking for $ac_func" >&5
62812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62813 if eval "test \"\${$as_ac_var+set}\" = set"; then
62814 echo $ECHO_N "(cached) $ECHO_C" >&6
62815 else
62816 if test x$gcc_no_link = xyes; then
62817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62819 { (exit 1); exit 1; }; }
62821 cat >conftest.$ac_ext <<_ACEOF
62822 /* confdefs.h. */
62823 _ACEOF
62824 cat confdefs.h >>conftest.$ac_ext
62825 cat >>conftest.$ac_ext <<_ACEOF
62826 /* end confdefs.h. */
62827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62829 #define $ac_func innocuous_$ac_func
62831 /* System header to define __stub macros and hopefully few prototypes,
62832 which can conflict with char $ac_func (); below.
62833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62834 <limits.h> exists even on freestanding compilers. */
62836 #ifdef __STDC__
62837 # include <limits.h>
62838 #else
62839 # include <assert.h>
62840 #endif
62842 #undef $ac_func
62844 /* Override any gcc2 internal prototype to avoid an error. */
62845 #ifdef __cplusplus
62846 extern "C"
62848 #endif
62849 /* We use char because int might match the return type of a gcc2
62850 builtin and then its argument prototype would still apply. */
62851 char $ac_func ();
62852 /* The GNU C library defines this for functions which it implements
62853 to always fail with ENOSYS. Some functions are actually named
62854 something starting with __ and the normal name is an alias. */
62855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62856 choke me
62857 #else
62858 char (*f) () = $ac_func;
62859 #endif
62860 #ifdef __cplusplus
62862 #endif
62865 main ()
62867 return f != $ac_func;
62869 return 0;
62871 _ACEOF
62872 rm -f conftest.$ac_objext conftest$ac_exeext
62873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62874 (eval $ac_link) 2>conftest.er1
62875 ac_status=$?
62876 grep -v '^ *+' conftest.er1 >conftest.err
62877 rm -f conftest.er1
62878 cat conftest.err >&5
62879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62880 (exit $ac_status); } &&
62881 { ac_try='test -z "$ac_c_werror_flag"
62882 || test ! -s conftest.err'
62883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62884 (eval $ac_try) 2>&5
62885 ac_status=$?
62886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62887 (exit $ac_status); }; } &&
62888 { ac_try='test -s conftest$ac_exeext'
62889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62890 (eval $ac_try) 2>&5
62891 ac_status=$?
62892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62893 (exit $ac_status); }; }; then
62894 eval "$as_ac_var=yes"
62895 else
62896 echo "$as_me: failed program was:" >&5
62897 sed 's/^/| /' conftest.$ac_ext >&5
62899 eval "$as_ac_var=no"
62901 rm -f conftest.err conftest.$ac_objext \
62902 conftest$ac_exeext conftest.$ac_ext
62904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62906 if test `eval echo '${'$as_ac_var'}'` = yes; then
62907 cat >>confdefs.h <<_ACEOF
62908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62909 _ACEOF
62912 done
62922 echo "$as_me:$LINENO: checking for modf declaration" >&5
62923 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62924 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62925 if test "${glibcxx_cv_func_modf_use+set}" = set; then
62926 echo $ECHO_N "(cached) $ECHO_C" >&6
62927 else
62931 ac_ext=cc
62932 ac_cpp='$CXXCPP $CPPFLAGS'
62933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62937 cat >conftest.$ac_ext <<_ACEOF
62938 /* confdefs.h. */
62939 _ACEOF
62940 cat confdefs.h >>conftest.$ac_ext
62941 cat >>conftest.$ac_ext <<_ACEOF
62942 /* end confdefs.h. */
62943 #include <math.h>
62945 main ()
62947 modf(0, 0);
62949 return 0;
62951 _ACEOF
62952 rm -f conftest.$ac_objext
62953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62954 (eval $ac_compile) 2>conftest.er1
62955 ac_status=$?
62956 grep -v '^ *+' conftest.er1 >conftest.err
62957 rm -f conftest.er1
62958 cat conftest.err >&5
62959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62960 (exit $ac_status); } &&
62961 { ac_try='test -z "$ac_cxx_werror_flag"
62962 || test ! -s conftest.err'
62963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62964 (eval $ac_try) 2>&5
62965 ac_status=$?
62966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62967 (exit $ac_status); }; } &&
62968 { ac_try='test -s conftest.$ac_objext'
62969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62970 (eval $ac_try) 2>&5
62971 ac_status=$?
62972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62973 (exit $ac_status); }; }; then
62974 glibcxx_cv_func_modf_use=yes
62975 else
62976 echo "$as_me: failed program was:" >&5
62977 sed 's/^/| /' conftest.$ac_ext >&5
62979 glibcxx_cv_func_modf_use=no
62981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62982 ac_ext=c
62983 ac_cpp='$CPP $CPPFLAGS'
62984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62992 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
62993 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
62995 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62997 for ac_func in modf
62999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63000 echo "$as_me:$LINENO: checking for $ac_func" >&5
63001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63002 if eval "test \"\${$as_ac_var+set}\" = set"; then
63003 echo $ECHO_N "(cached) $ECHO_C" >&6
63004 else
63005 if test x$gcc_no_link = xyes; then
63006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63008 { (exit 1); exit 1; }; }
63010 cat >conftest.$ac_ext <<_ACEOF
63011 /* confdefs.h. */
63012 _ACEOF
63013 cat confdefs.h >>conftest.$ac_ext
63014 cat >>conftest.$ac_ext <<_ACEOF
63015 /* end confdefs.h. */
63016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63018 #define $ac_func innocuous_$ac_func
63020 /* System header to define __stub macros and hopefully few prototypes,
63021 which can conflict with char $ac_func (); below.
63022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63023 <limits.h> exists even on freestanding compilers. */
63025 #ifdef __STDC__
63026 # include <limits.h>
63027 #else
63028 # include <assert.h>
63029 #endif
63031 #undef $ac_func
63033 /* Override any gcc2 internal prototype to avoid an error. */
63034 #ifdef __cplusplus
63035 extern "C"
63037 #endif
63038 /* We use char because int might match the return type of a gcc2
63039 builtin and then its argument prototype would still apply. */
63040 char $ac_func ();
63041 /* The GNU C library defines this for functions which it implements
63042 to always fail with ENOSYS. Some functions are actually named
63043 something starting with __ and the normal name is an alias. */
63044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63045 choke me
63046 #else
63047 char (*f) () = $ac_func;
63048 #endif
63049 #ifdef __cplusplus
63051 #endif
63054 main ()
63056 return f != $ac_func;
63058 return 0;
63060 _ACEOF
63061 rm -f conftest.$ac_objext conftest$ac_exeext
63062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63063 (eval $ac_link) 2>conftest.er1
63064 ac_status=$?
63065 grep -v '^ *+' conftest.er1 >conftest.err
63066 rm -f conftest.er1
63067 cat conftest.err >&5
63068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63069 (exit $ac_status); } &&
63070 { ac_try='test -z "$ac_c_werror_flag"
63071 || test ! -s conftest.err'
63072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63073 (eval $ac_try) 2>&5
63074 ac_status=$?
63075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63076 (exit $ac_status); }; } &&
63077 { ac_try='test -s conftest$ac_exeext'
63078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63079 (eval $ac_try) 2>&5
63080 ac_status=$?
63081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63082 (exit $ac_status); }; }; then
63083 eval "$as_ac_var=yes"
63084 else
63085 echo "$as_me: failed program was:" >&5
63086 sed 's/^/| /' conftest.$ac_ext >&5
63088 eval "$as_ac_var=no"
63090 rm -f conftest.err conftest.$ac_objext \
63091 conftest$ac_exeext conftest.$ac_ext
63093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63095 if test `eval echo '${'$as_ac_var'}'` = yes; then
63096 cat >>confdefs.h <<_ACEOF
63097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63098 _ACEOF
63101 done
63103 else
63105 echo "$as_me:$LINENO: checking for _modf declaration" >&5
63106 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
63107 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63108 if test "${glibcxx_cv_func__modf_use+set}" = set; then
63109 echo $ECHO_N "(cached) $ECHO_C" >&6
63110 else
63114 ac_ext=cc
63115 ac_cpp='$CXXCPP $CPPFLAGS'
63116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63120 cat >conftest.$ac_ext <<_ACEOF
63121 /* confdefs.h. */
63122 _ACEOF
63123 cat confdefs.h >>conftest.$ac_ext
63124 cat >>conftest.$ac_ext <<_ACEOF
63125 /* end confdefs.h. */
63126 #include <math.h>
63128 main ()
63130 _modf(0, 0);
63132 return 0;
63134 _ACEOF
63135 rm -f conftest.$ac_objext
63136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63137 (eval $ac_compile) 2>conftest.er1
63138 ac_status=$?
63139 grep -v '^ *+' conftest.er1 >conftest.err
63140 rm -f conftest.er1
63141 cat conftest.err >&5
63142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63143 (exit $ac_status); } &&
63144 { ac_try='test -z "$ac_cxx_werror_flag"
63145 || test ! -s conftest.err'
63146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63147 (eval $ac_try) 2>&5
63148 ac_status=$?
63149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63150 (exit $ac_status); }; } &&
63151 { ac_try='test -s conftest.$ac_objext'
63152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63153 (eval $ac_try) 2>&5
63154 ac_status=$?
63155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63156 (exit $ac_status); }; }; then
63157 glibcxx_cv_func__modf_use=yes
63158 else
63159 echo "$as_me: failed program was:" >&5
63160 sed 's/^/| /' conftest.$ac_ext >&5
63162 glibcxx_cv_func__modf_use=no
63164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63165 ac_ext=c
63166 ac_cpp='$CPP $CPPFLAGS'
63167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63175 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
63176 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
63178 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63180 for ac_func in _modf
63182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63183 echo "$as_me:$LINENO: checking for $ac_func" >&5
63184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63185 if eval "test \"\${$as_ac_var+set}\" = set"; then
63186 echo $ECHO_N "(cached) $ECHO_C" >&6
63187 else
63188 if test x$gcc_no_link = xyes; then
63189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63191 { (exit 1); exit 1; }; }
63193 cat >conftest.$ac_ext <<_ACEOF
63194 /* confdefs.h. */
63195 _ACEOF
63196 cat confdefs.h >>conftest.$ac_ext
63197 cat >>conftest.$ac_ext <<_ACEOF
63198 /* end confdefs.h. */
63199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63201 #define $ac_func innocuous_$ac_func
63203 /* System header to define __stub macros and hopefully few prototypes,
63204 which can conflict with char $ac_func (); below.
63205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63206 <limits.h> exists even on freestanding compilers. */
63208 #ifdef __STDC__
63209 # include <limits.h>
63210 #else
63211 # include <assert.h>
63212 #endif
63214 #undef $ac_func
63216 /* Override any gcc2 internal prototype to avoid an error. */
63217 #ifdef __cplusplus
63218 extern "C"
63220 #endif
63221 /* We use char because int might match the return type of a gcc2
63222 builtin and then its argument prototype would still apply. */
63223 char $ac_func ();
63224 /* The GNU C library defines this for functions which it implements
63225 to always fail with ENOSYS. Some functions are actually named
63226 something starting with __ and the normal name is an alias. */
63227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63228 choke me
63229 #else
63230 char (*f) () = $ac_func;
63231 #endif
63232 #ifdef __cplusplus
63234 #endif
63237 main ()
63239 return f != $ac_func;
63241 return 0;
63243 _ACEOF
63244 rm -f conftest.$ac_objext conftest$ac_exeext
63245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63246 (eval $ac_link) 2>conftest.er1
63247 ac_status=$?
63248 grep -v '^ *+' conftest.er1 >conftest.err
63249 rm -f conftest.er1
63250 cat conftest.err >&5
63251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63252 (exit $ac_status); } &&
63253 { ac_try='test -z "$ac_c_werror_flag"
63254 || test ! -s conftest.err'
63255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63256 (eval $ac_try) 2>&5
63257 ac_status=$?
63258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63259 (exit $ac_status); }; } &&
63260 { ac_try='test -s conftest$ac_exeext'
63261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63262 (eval $ac_try) 2>&5
63263 ac_status=$?
63264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63265 (exit $ac_status); }; }; then
63266 eval "$as_ac_var=yes"
63267 else
63268 echo "$as_me: failed program was:" >&5
63269 sed 's/^/| /' conftest.$ac_ext >&5
63271 eval "$as_ac_var=no"
63273 rm -f conftest.err conftest.$ac_objext \
63274 conftest$ac_exeext conftest.$ac_ext
63276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63278 if test `eval echo '${'$as_ac_var'}'` = yes; then
63279 cat >>confdefs.h <<_ACEOF
63280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63281 _ACEOF
63284 done
63294 echo "$as_me:$LINENO: checking for powf declaration" >&5
63295 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
63296 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63297 if test "${glibcxx_cv_func_powf_use+set}" = set; then
63298 echo $ECHO_N "(cached) $ECHO_C" >&6
63299 else
63303 ac_ext=cc
63304 ac_cpp='$CXXCPP $CPPFLAGS'
63305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63309 cat >conftest.$ac_ext <<_ACEOF
63310 /* confdefs.h. */
63311 _ACEOF
63312 cat confdefs.h >>conftest.$ac_ext
63313 cat >>conftest.$ac_ext <<_ACEOF
63314 /* end confdefs.h. */
63315 #include <math.h>
63317 main ()
63319 powf(0, 0);
63321 return 0;
63323 _ACEOF
63324 rm -f conftest.$ac_objext
63325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63326 (eval $ac_compile) 2>conftest.er1
63327 ac_status=$?
63328 grep -v '^ *+' conftest.er1 >conftest.err
63329 rm -f conftest.er1
63330 cat conftest.err >&5
63331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63332 (exit $ac_status); } &&
63333 { ac_try='test -z "$ac_cxx_werror_flag"
63334 || test ! -s conftest.err'
63335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63336 (eval $ac_try) 2>&5
63337 ac_status=$?
63338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63339 (exit $ac_status); }; } &&
63340 { ac_try='test -s conftest.$ac_objext'
63341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63342 (eval $ac_try) 2>&5
63343 ac_status=$?
63344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63345 (exit $ac_status); }; }; then
63346 glibcxx_cv_func_powf_use=yes
63347 else
63348 echo "$as_me: failed program was:" >&5
63349 sed 's/^/| /' conftest.$ac_ext >&5
63351 glibcxx_cv_func_powf_use=no
63353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63354 ac_ext=c
63355 ac_cpp='$CPP $CPPFLAGS'
63356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63364 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
63365 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
63367 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63369 for ac_func in powf
63371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63372 echo "$as_me:$LINENO: checking for $ac_func" >&5
63373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63374 if eval "test \"\${$as_ac_var+set}\" = set"; then
63375 echo $ECHO_N "(cached) $ECHO_C" >&6
63376 else
63377 if test x$gcc_no_link = xyes; then
63378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63380 { (exit 1); exit 1; }; }
63382 cat >conftest.$ac_ext <<_ACEOF
63383 /* confdefs.h. */
63384 _ACEOF
63385 cat confdefs.h >>conftest.$ac_ext
63386 cat >>conftest.$ac_ext <<_ACEOF
63387 /* end confdefs.h. */
63388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63390 #define $ac_func innocuous_$ac_func
63392 /* System header to define __stub macros and hopefully few prototypes,
63393 which can conflict with char $ac_func (); below.
63394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63395 <limits.h> exists even on freestanding compilers. */
63397 #ifdef __STDC__
63398 # include <limits.h>
63399 #else
63400 # include <assert.h>
63401 #endif
63403 #undef $ac_func
63405 /* Override any gcc2 internal prototype to avoid an error. */
63406 #ifdef __cplusplus
63407 extern "C"
63409 #endif
63410 /* We use char because int might match the return type of a gcc2
63411 builtin and then its argument prototype would still apply. */
63412 char $ac_func ();
63413 /* The GNU C library defines this for functions which it implements
63414 to always fail with ENOSYS. Some functions are actually named
63415 something starting with __ and the normal name is an alias. */
63416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63417 choke me
63418 #else
63419 char (*f) () = $ac_func;
63420 #endif
63421 #ifdef __cplusplus
63423 #endif
63426 main ()
63428 return f != $ac_func;
63430 return 0;
63432 _ACEOF
63433 rm -f conftest.$ac_objext conftest$ac_exeext
63434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63435 (eval $ac_link) 2>conftest.er1
63436 ac_status=$?
63437 grep -v '^ *+' conftest.er1 >conftest.err
63438 rm -f conftest.er1
63439 cat conftest.err >&5
63440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63441 (exit $ac_status); } &&
63442 { ac_try='test -z "$ac_c_werror_flag"
63443 || test ! -s conftest.err'
63444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63445 (eval $ac_try) 2>&5
63446 ac_status=$?
63447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63448 (exit $ac_status); }; } &&
63449 { ac_try='test -s conftest$ac_exeext'
63450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63451 (eval $ac_try) 2>&5
63452 ac_status=$?
63453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63454 (exit $ac_status); }; }; then
63455 eval "$as_ac_var=yes"
63456 else
63457 echo "$as_me: failed program was:" >&5
63458 sed 's/^/| /' conftest.$ac_ext >&5
63460 eval "$as_ac_var=no"
63462 rm -f conftest.err conftest.$ac_objext \
63463 conftest$ac_exeext conftest.$ac_ext
63465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63467 if test `eval echo '${'$as_ac_var'}'` = yes; then
63468 cat >>confdefs.h <<_ACEOF
63469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63470 _ACEOF
63473 done
63475 else
63477 echo "$as_me:$LINENO: checking for _powf declaration" >&5
63478 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63479 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63480 if test "${glibcxx_cv_func__powf_use+set}" = set; then
63481 echo $ECHO_N "(cached) $ECHO_C" >&6
63482 else
63486 ac_ext=cc
63487 ac_cpp='$CXXCPP $CPPFLAGS'
63488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63492 cat >conftest.$ac_ext <<_ACEOF
63493 /* confdefs.h. */
63494 _ACEOF
63495 cat confdefs.h >>conftest.$ac_ext
63496 cat >>conftest.$ac_ext <<_ACEOF
63497 /* end confdefs.h. */
63498 #include <math.h>
63500 main ()
63502 _powf(0, 0);
63504 return 0;
63506 _ACEOF
63507 rm -f conftest.$ac_objext
63508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63509 (eval $ac_compile) 2>conftest.er1
63510 ac_status=$?
63511 grep -v '^ *+' conftest.er1 >conftest.err
63512 rm -f conftest.er1
63513 cat conftest.err >&5
63514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63515 (exit $ac_status); } &&
63516 { ac_try='test -z "$ac_cxx_werror_flag"
63517 || test ! -s conftest.err'
63518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63519 (eval $ac_try) 2>&5
63520 ac_status=$?
63521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63522 (exit $ac_status); }; } &&
63523 { ac_try='test -s conftest.$ac_objext'
63524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63525 (eval $ac_try) 2>&5
63526 ac_status=$?
63527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63528 (exit $ac_status); }; }; then
63529 glibcxx_cv_func__powf_use=yes
63530 else
63531 echo "$as_me: failed program was:" >&5
63532 sed 's/^/| /' conftest.$ac_ext >&5
63534 glibcxx_cv_func__powf_use=no
63536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63537 ac_ext=c
63538 ac_cpp='$CPP $CPPFLAGS'
63539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63547 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63548 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63550 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63552 for ac_func in _powf
63554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63555 echo "$as_me:$LINENO: checking for $ac_func" >&5
63556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63557 if eval "test \"\${$as_ac_var+set}\" = set"; then
63558 echo $ECHO_N "(cached) $ECHO_C" >&6
63559 else
63560 if test x$gcc_no_link = xyes; then
63561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63563 { (exit 1); exit 1; }; }
63565 cat >conftest.$ac_ext <<_ACEOF
63566 /* confdefs.h. */
63567 _ACEOF
63568 cat confdefs.h >>conftest.$ac_ext
63569 cat >>conftest.$ac_ext <<_ACEOF
63570 /* end confdefs.h. */
63571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63573 #define $ac_func innocuous_$ac_func
63575 /* System header to define __stub macros and hopefully few prototypes,
63576 which can conflict with char $ac_func (); below.
63577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63578 <limits.h> exists even on freestanding compilers. */
63580 #ifdef __STDC__
63581 # include <limits.h>
63582 #else
63583 # include <assert.h>
63584 #endif
63586 #undef $ac_func
63588 /* Override any gcc2 internal prototype to avoid an error. */
63589 #ifdef __cplusplus
63590 extern "C"
63592 #endif
63593 /* We use char because int might match the return type of a gcc2
63594 builtin and then its argument prototype would still apply. */
63595 char $ac_func ();
63596 /* The GNU C library defines this for functions which it implements
63597 to always fail with ENOSYS. Some functions are actually named
63598 something starting with __ and the normal name is an alias. */
63599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63600 choke me
63601 #else
63602 char (*f) () = $ac_func;
63603 #endif
63604 #ifdef __cplusplus
63606 #endif
63609 main ()
63611 return f != $ac_func;
63613 return 0;
63615 _ACEOF
63616 rm -f conftest.$ac_objext conftest$ac_exeext
63617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63618 (eval $ac_link) 2>conftest.er1
63619 ac_status=$?
63620 grep -v '^ *+' conftest.er1 >conftest.err
63621 rm -f conftest.er1
63622 cat conftest.err >&5
63623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63624 (exit $ac_status); } &&
63625 { ac_try='test -z "$ac_c_werror_flag"
63626 || test ! -s conftest.err'
63627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63628 (eval $ac_try) 2>&5
63629 ac_status=$?
63630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63631 (exit $ac_status); }; } &&
63632 { ac_try='test -s conftest$ac_exeext'
63633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63634 (eval $ac_try) 2>&5
63635 ac_status=$?
63636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63637 (exit $ac_status); }; }; then
63638 eval "$as_ac_var=yes"
63639 else
63640 echo "$as_me: failed program was:" >&5
63641 sed 's/^/| /' conftest.$ac_ext >&5
63643 eval "$as_ac_var=no"
63645 rm -f conftest.err conftest.$ac_objext \
63646 conftest$ac_exeext conftest.$ac_ext
63648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63650 if test `eval echo '${'$as_ac_var'}'` = yes; then
63651 cat >>confdefs.h <<_ACEOF
63652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63653 _ACEOF
63656 done
63666 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63667 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63668 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63669 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63670 echo $ECHO_N "(cached) $ECHO_C" >&6
63671 else
63675 ac_ext=cc
63676 ac_cpp='$CXXCPP $CPPFLAGS'
63677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63681 cat >conftest.$ac_ext <<_ACEOF
63682 /* confdefs.h. */
63683 _ACEOF
63684 cat confdefs.h >>conftest.$ac_ext
63685 cat >>conftest.$ac_ext <<_ACEOF
63686 /* end confdefs.h. */
63687 #include <math.h>
63688 #ifdef HAVE_IEEEFP_H
63689 #include <ieeefp.h>
63690 #endif
63693 main ()
63695 sqrtf(0);
63697 return 0;
63699 _ACEOF
63700 rm -f conftest.$ac_objext
63701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63702 (eval $ac_compile) 2>conftest.er1
63703 ac_status=$?
63704 grep -v '^ *+' conftest.er1 >conftest.err
63705 rm -f conftest.er1
63706 cat conftest.err >&5
63707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63708 (exit $ac_status); } &&
63709 { ac_try='test -z "$ac_cxx_werror_flag"
63710 || test ! -s conftest.err'
63711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63712 (eval $ac_try) 2>&5
63713 ac_status=$?
63714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63715 (exit $ac_status); }; } &&
63716 { ac_try='test -s conftest.$ac_objext'
63717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63718 (eval $ac_try) 2>&5
63719 ac_status=$?
63720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63721 (exit $ac_status); }; }; then
63722 glibcxx_cv_func_sqrtf_use=yes
63723 else
63724 echo "$as_me: failed program was:" >&5
63725 sed 's/^/| /' conftest.$ac_ext >&5
63727 glibcxx_cv_func_sqrtf_use=no
63729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63730 ac_ext=c
63731 ac_cpp='$CPP $CPPFLAGS'
63732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63740 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63741 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63743 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63745 for ac_func in sqrtf
63747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63748 echo "$as_me:$LINENO: checking for $ac_func" >&5
63749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63750 if eval "test \"\${$as_ac_var+set}\" = set"; then
63751 echo $ECHO_N "(cached) $ECHO_C" >&6
63752 else
63753 if test x$gcc_no_link = xyes; then
63754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63756 { (exit 1); exit 1; }; }
63758 cat >conftest.$ac_ext <<_ACEOF
63759 /* confdefs.h. */
63760 _ACEOF
63761 cat confdefs.h >>conftest.$ac_ext
63762 cat >>conftest.$ac_ext <<_ACEOF
63763 /* end confdefs.h. */
63764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63766 #define $ac_func innocuous_$ac_func
63768 /* System header to define __stub macros and hopefully few prototypes,
63769 which can conflict with char $ac_func (); below.
63770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63771 <limits.h> exists even on freestanding compilers. */
63773 #ifdef __STDC__
63774 # include <limits.h>
63775 #else
63776 # include <assert.h>
63777 #endif
63779 #undef $ac_func
63781 /* Override any gcc2 internal prototype to avoid an error. */
63782 #ifdef __cplusplus
63783 extern "C"
63785 #endif
63786 /* We use char because int might match the return type of a gcc2
63787 builtin and then its argument prototype would still apply. */
63788 char $ac_func ();
63789 /* The GNU C library defines this for functions which it implements
63790 to always fail with ENOSYS. Some functions are actually named
63791 something starting with __ and the normal name is an alias. */
63792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63793 choke me
63794 #else
63795 char (*f) () = $ac_func;
63796 #endif
63797 #ifdef __cplusplus
63799 #endif
63802 main ()
63804 return f != $ac_func;
63806 return 0;
63808 _ACEOF
63809 rm -f conftest.$ac_objext conftest$ac_exeext
63810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63811 (eval $ac_link) 2>conftest.er1
63812 ac_status=$?
63813 grep -v '^ *+' conftest.er1 >conftest.err
63814 rm -f conftest.er1
63815 cat conftest.err >&5
63816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63817 (exit $ac_status); } &&
63818 { ac_try='test -z "$ac_c_werror_flag"
63819 || test ! -s conftest.err'
63820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63821 (eval $ac_try) 2>&5
63822 ac_status=$?
63823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63824 (exit $ac_status); }; } &&
63825 { ac_try='test -s conftest$ac_exeext'
63826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63827 (eval $ac_try) 2>&5
63828 ac_status=$?
63829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63830 (exit $ac_status); }; }; then
63831 eval "$as_ac_var=yes"
63832 else
63833 echo "$as_me: failed program was:" >&5
63834 sed 's/^/| /' conftest.$ac_ext >&5
63836 eval "$as_ac_var=no"
63838 rm -f conftest.err conftest.$ac_objext \
63839 conftest$ac_exeext conftest.$ac_ext
63841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63843 if test `eval echo '${'$as_ac_var'}'` = yes; then
63844 cat >>confdefs.h <<_ACEOF
63845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63846 _ACEOF
63849 done
63851 else
63853 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63854 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63855 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63856 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63857 echo $ECHO_N "(cached) $ECHO_C" >&6
63858 else
63862 ac_ext=cc
63863 ac_cpp='$CXXCPP $CPPFLAGS'
63864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63868 cat >conftest.$ac_ext <<_ACEOF
63869 /* confdefs.h. */
63870 _ACEOF
63871 cat confdefs.h >>conftest.$ac_ext
63872 cat >>conftest.$ac_ext <<_ACEOF
63873 /* end confdefs.h. */
63874 #include <math.h>
63875 #ifdef HAVE_IEEEFP_H
63876 #include <ieeefp.h>
63877 #endif
63880 main ()
63882 _sqrtf(0);
63884 return 0;
63886 _ACEOF
63887 rm -f conftest.$ac_objext
63888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63889 (eval $ac_compile) 2>conftest.er1
63890 ac_status=$?
63891 grep -v '^ *+' conftest.er1 >conftest.err
63892 rm -f conftest.er1
63893 cat conftest.err >&5
63894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63895 (exit $ac_status); } &&
63896 { ac_try='test -z "$ac_cxx_werror_flag"
63897 || test ! -s conftest.err'
63898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63899 (eval $ac_try) 2>&5
63900 ac_status=$?
63901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63902 (exit $ac_status); }; } &&
63903 { ac_try='test -s conftest.$ac_objext'
63904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63905 (eval $ac_try) 2>&5
63906 ac_status=$?
63907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63908 (exit $ac_status); }; }; then
63909 glibcxx_cv_func__sqrtf_use=yes
63910 else
63911 echo "$as_me: failed program was:" >&5
63912 sed 's/^/| /' conftest.$ac_ext >&5
63914 glibcxx_cv_func__sqrtf_use=no
63916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63917 ac_ext=c
63918 ac_cpp='$CPP $CPPFLAGS'
63919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63927 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63928 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63930 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63932 for ac_func in _sqrtf
63934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63935 echo "$as_me:$LINENO: checking for $ac_func" >&5
63936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63937 if eval "test \"\${$as_ac_var+set}\" = set"; then
63938 echo $ECHO_N "(cached) $ECHO_C" >&6
63939 else
63940 if test x$gcc_no_link = xyes; then
63941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63943 { (exit 1); exit 1; }; }
63945 cat >conftest.$ac_ext <<_ACEOF
63946 /* confdefs.h. */
63947 _ACEOF
63948 cat confdefs.h >>conftest.$ac_ext
63949 cat >>conftest.$ac_ext <<_ACEOF
63950 /* end confdefs.h. */
63951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63953 #define $ac_func innocuous_$ac_func
63955 /* System header to define __stub macros and hopefully few prototypes,
63956 which can conflict with char $ac_func (); below.
63957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63958 <limits.h> exists even on freestanding compilers. */
63960 #ifdef __STDC__
63961 # include <limits.h>
63962 #else
63963 # include <assert.h>
63964 #endif
63966 #undef $ac_func
63968 /* Override any gcc2 internal prototype to avoid an error. */
63969 #ifdef __cplusplus
63970 extern "C"
63972 #endif
63973 /* We use char because int might match the return type of a gcc2
63974 builtin and then its argument prototype would still apply. */
63975 char $ac_func ();
63976 /* The GNU C library defines this for functions which it implements
63977 to always fail with ENOSYS. Some functions are actually named
63978 something starting with __ and the normal name is an alias. */
63979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63980 choke me
63981 #else
63982 char (*f) () = $ac_func;
63983 #endif
63984 #ifdef __cplusplus
63986 #endif
63989 main ()
63991 return f != $ac_func;
63993 return 0;
63995 _ACEOF
63996 rm -f conftest.$ac_objext conftest$ac_exeext
63997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63998 (eval $ac_link) 2>conftest.er1
63999 ac_status=$?
64000 grep -v '^ *+' conftest.er1 >conftest.err
64001 rm -f conftest.er1
64002 cat conftest.err >&5
64003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64004 (exit $ac_status); } &&
64005 { ac_try='test -z "$ac_c_werror_flag"
64006 || test ! -s conftest.err'
64007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64008 (eval $ac_try) 2>&5
64009 ac_status=$?
64010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64011 (exit $ac_status); }; } &&
64012 { ac_try='test -s conftest$ac_exeext'
64013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64014 (eval $ac_try) 2>&5
64015 ac_status=$?
64016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64017 (exit $ac_status); }; }; then
64018 eval "$as_ac_var=yes"
64019 else
64020 echo "$as_me: failed program was:" >&5
64021 sed 's/^/| /' conftest.$ac_ext >&5
64023 eval "$as_ac_var=no"
64025 rm -f conftest.err conftest.$ac_objext \
64026 conftest$ac_exeext conftest.$ac_ext
64028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64030 if test `eval echo '${'$as_ac_var'}'` = yes; then
64031 cat >>confdefs.h <<_ACEOF
64032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64033 _ACEOF
64036 done
64046 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
64047 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
64048 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64049 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
64050 echo $ECHO_N "(cached) $ECHO_C" >&6
64051 else
64055 ac_ext=cc
64056 ac_cpp='$CXXCPP $CPPFLAGS'
64057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64061 cat >conftest.$ac_ext <<_ACEOF
64062 /* confdefs.h. */
64063 _ACEOF
64064 cat confdefs.h >>conftest.$ac_ext
64065 cat >>conftest.$ac_ext <<_ACEOF
64066 /* end confdefs.h. */
64067 #include <math.h>
64069 main ()
64071 sincosf(0, 0, 0);
64073 return 0;
64075 _ACEOF
64076 rm -f conftest.$ac_objext
64077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64078 (eval $ac_compile) 2>conftest.er1
64079 ac_status=$?
64080 grep -v '^ *+' conftest.er1 >conftest.err
64081 rm -f conftest.er1
64082 cat conftest.err >&5
64083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64084 (exit $ac_status); } &&
64085 { ac_try='test -z "$ac_cxx_werror_flag"
64086 || test ! -s conftest.err'
64087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64088 (eval $ac_try) 2>&5
64089 ac_status=$?
64090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64091 (exit $ac_status); }; } &&
64092 { ac_try='test -s conftest.$ac_objext'
64093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64094 (eval $ac_try) 2>&5
64095 ac_status=$?
64096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64097 (exit $ac_status); }; }; then
64098 glibcxx_cv_func_sincosf_use=yes
64099 else
64100 echo "$as_me: failed program was:" >&5
64101 sed 's/^/| /' conftest.$ac_ext >&5
64103 glibcxx_cv_func_sincosf_use=no
64105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64106 ac_ext=c
64107 ac_cpp='$CPP $CPPFLAGS'
64108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64116 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
64117 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
64119 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64121 for ac_func in sincosf
64123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64124 echo "$as_me:$LINENO: checking for $ac_func" >&5
64125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64126 if eval "test \"\${$as_ac_var+set}\" = set"; then
64127 echo $ECHO_N "(cached) $ECHO_C" >&6
64128 else
64129 if test x$gcc_no_link = xyes; then
64130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64132 { (exit 1); exit 1; }; }
64134 cat >conftest.$ac_ext <<_ACEOF
64135 /* confdefs.h. */
64136 _ACEOF
64137 cat confdefs.h >>conftest.$ac_ext
64138 cat >>conftest.$ac_ext <<_ACEOF
64139 /* end confdefs.h. */
64140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64142 #define $ac_func innocuous_$ac_func
64144 /* System header to define __stub macros and hopefully few prototypes,
64145 which can conflict with char $ac_func (); below.
64146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64147 <limits.h> exists even on freestanding compilers. */
64149 #ifdef __STDC__
64150 # include <limits.h>
64151 #else
64152 # include <assert.h>
64153 #endif
64155 #undef $ac_func
64157 /* Override any gcc2 internal prototype to avoid an error. */
64158 #ifdef __cplusplus
64159 extern "C"
64161 #endif
64162 /* We use char because int might match the return type of a gcc2
64163 builtin and then its argument prototype would still apply. */
64164 char $ac_func ();
64165 /* The GNU C library defines this for functions which it implements
64166 to always fail with ENOSYS. Some functions are actually named
64167 something starting with __ and the normal name is an alias. */
64168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64169 choke me
64170 #else
64171 char (*f) () = $ac_func;
64172 #endif
64173 #ifdef __cplusplus
64175 #endif
64178 main ()
64180 return f != $ac_func;
64182 return 0;
64184 _ACEOF
64185 rm -f conftest.$ac_objext conftest$ac_exeext
64186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64187 (eval $ac_link) 2>conftest.er1
64188 ac_status=$?
64189 grep -v '^ *+' conftest.er1 >conftest.err
64190 rm -f conftest.er1
64191 cat conftest.err >&5
64192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64193 (exit $ac_status); } &&
64194 { ac_try='test -z "$ac_c_werror_flag"
64195 || test ! -s conftest.err'
64196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64197 (eval $ac_try) 2>&5
64198 ac_status=$?
64199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64200 (exit $ac_status); }; } &&
64201 { ac_try='test -s conftest$ac_exeext'
64202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64203 (eval $ac_try) 2>&5
64204 ac_status=$?
64205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64206 (exit $ac_status); }; }; then
64207 eval "$as_ac_var=yes"
64208 else
64209 echo "$as_me: failed program was:" >&5
64210 sed 's/^/| /' conftest.$ac_ext >&5
64212 eval "$as_ac_var=no"
64214 rm -f conftest.err conftest.$ac_objext \
64215 conftest$ac_exeext conftest.$ac_ext
64217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64219 if test `eval echo '${'$as_ac_var'}'` = yes; then
64220 cat >>confdefs.h <<_ACEOF
64221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64222 _ACEOF
64225 done
64227 else
64229 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
64230 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
64231 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64232 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
64233 echo $ECHO_N "(cached) $ECHO_C" >&6
64234 else
64238 ac_ext=cc
64239 ac_cpp='$CXXCPP $CPPFLAGS'
64240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64244 cat >conftest.$ac_ext <<_ACEOF
64245 /* confdefs.h. */
64246 _ACEOF
64247 cat confdefs.h >>conftest.$ac_ext
64248 cat >>conftest.$ac_ext <<_ACEOF
64249 /* end confdefs.h. */
64250 #include <math.h>
64252 main ()
64254 _sincosf(0, 0, 0);
64256 return 0;
64258 _ACEOF
64259 rm -f conftest.$ac_objext
64260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64261 (eval $ac_compile) 2>conftest.er1
64262 ac_status=$?
64263 grep -v '^ *+' conftest.er1 >conftest.err
64264 rm -f conftest.er1
64265 cat conftest.err >&5
64266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64267 (exit $ac_status); } &&
64268 { ac_try='test -z "$ac_cxx_werror_flag"
64269 || test ! -s conftest.err'
64270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64271 (eval $ac_try) 2>&5
64272 ac_status=$?
64273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64274 (exit $ac_status); }; } &&
64275 { ac_try='test -s conftest.$ac_objext'
64276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64277 (eval $ac_try) 2>&5
64278 ac_status=$?
64279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64280 (exit $ac_status); }; }; then
64281 glibcxx_cv_func__sincosf_use=yes
64282 else
64283 echo "$as_me: failed program was:" >&5
64284 sed 's/^/| /' conftest.$ac_ext >&5
64286 glibcxx_cv_func__sincosf_use=no
64288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64289 ac_ext=c
64290 ac_cpp='$CPP $CPPFLAGS'
64291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64299 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
64300 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
64302 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64304 for ac_func in _sincosf
64306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64307 echo "$as_me:$LINENO: checking for $ac_func" >&5
64308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64309 if eval "test \"\${$as_ac_var+set}\" = set"; then
64310 echo $ECHO_N "(cached) $ECHO_C" >&6
64311 else
64312 if test x$gcc_no_link = xyes; then
64313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64315 { (exit 1); exit 1; }; }
64317 cat >conftest.$ac_ext <<_ACEOF
64318 /* confdefs.h. */
64319 _ACEOF
64320 cat confdefs.h >>conftest.$ac_ext
64321 cat >>conftest.$ac_ext <<_ACEOF
64322 /* end confdefs.h. */
64323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64325 #define $ac_func innocuous_$ac_func
64327 /* System header to define __stub macros and hopefully few prototypes,
64328 which can conflict with char $ac_func (); below.
64329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64330 <limits.h> exists even on freestanding compilers. */
64332 #ifdef __STDC__
64333 # include <limits.h>
64334 #else
64335 # include <assert.h>
64336 #endif
64338 #undef $ac_func
64340 /* Override any gcc2 internal prototype to avoid an error. */
64341 #ifdef __cplusplus
64342 extern "C"
64344 #endif
64345 /* We use char because int might match the return type of a gcc2
64346 builtin and then its argument prototype would still apply. */
64347 char $ac_func ();
64348 /* The GNU C library defines this for functions which it implements
64349 to always fail with ENOSYS. Some functions are actually named
64350 something starting with __ and the normal name is an alias. */
64351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64352 choke me
64353 #else
64354 char (*f) () = $ac_func;
64355 #endif
64356 #ifdef __cplusplus
64358 #endif
64361 main ()
64363 return f != $ac_func;
64365 return 0;
64367 _ACEOF
64368 rm -f conftest.$ac_objext conftest$ac_exeext
64369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64370 (eval $ac_link) 2>conftest.er1
64371 ac_status=$?
64372 grep -v '^ *+' conftest.er1 >conftest.err
64373 rm -f conftest.er1
64374 cat conftest.err >&5
64375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64376 (exit $ac_status); } &&
64377 { ac_try='test -z "$ac_c_werror_flag"
64378 || test ! -s conftest.err'
64379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64380 (eval $ac_try) 2>&5
64381 ac_status=$?
64382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64383 (exit $ac_status); }; } &&
64384 { ac_try='test -s conftest$ac_exeext'
64385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64386 (eval $ac_try) 2>&5
64387 ac_status=$?
64388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64389 (exit $ac_status); }; }; then
64390 eval "$as_ac_var=yes"
64391 else
64392 echo "$as_me: failed program was:" >&5
64393 sed 's/^/| /' conftest.$ac_ext >&5
64395 eval "$as_ac_var=no"
64397 rm -f conftest.err conftest.$ac_objext \
64398 conftest$ac_exeext conftest.$ac_ext
64400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64402 if test `eval echo '${'$as_ac_var'}'` = yes; then
64403 cat >>confdefs.h <<_ACEOF
64404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64405 _ACEOF
64408 done
64418 echo "$as_me:$LINENO: checking for finitef declaration" >&5
64419 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
64420 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64421 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
64422 echo $ECHO_N "(cached) $ECHO_C" >&6
64423 else
64427 ac_ext=cc
64428 ac_cpp='$CXXCPP $CPPFLAGS'
64429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64433 cat >conftest.$ac_ext <<_ACEOF
64434 /* confdefs.h. */
64435 _ACEOF
64436 cat confdefs.h >>conftest.$ac_ext
64437 cat >>conftest.$ac_ext <<_ACEOF
64438 /* end confdefs.h. */
64439 #include <math.h>
64440 #ifdef HAVE_IEEEFP_H
64441 #include <ieeefp.h>
64442 #endif
64445 main ()
64447 finitef(0);
64449 return 0;
64451 _ACEOF
64452 rm -f conftest.$ac_objext
64453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64454 (eval $ac_compile) 2>conftest.er1
64455 ac_status=$?
64456 grep -v '^ *+' conftest.er1 >conftest.err
64457 rm -f conftest.er1
64458 cat conftest.err >&5
64459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64460 (exit $ac_status); } &&
64461 { ac_try='test -z "$ac_cxx_werror_flag"
64462 || test ! -s conftest.err'
64463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64464 (eval $ac_try) 2>&5
64465 ac_status=$?
64466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64467 (exit $ac_status); }; } &&
64468 { ac_try='test -s conftest.$ac_objext'
64469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64470 (eval $ac_try) 2>&5
64471 ac_status=$?
64472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64473 (exit $ac_status); }; }; then
64474 glibcxx_cv_func_finitef_use=yes
64475 else
64476 echo "$as_me: failed program was:" >&5
64477 sed 's/^/| /' conftest.$ac_ext >&5
64479 glibcxx_cv_func_finitef_use=no
64481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64482 ac_ext=c
64483 ac_cpp='$CPP $CPPFLAGS'
64484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64492 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64493 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64495 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64497 for ac_func in finitef
64499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64500 echo "$as_me:$LINENO: checking for $ac_func" >&5
64501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64502 if eval "test \"\${$as_ac_var+set}\" = set"; then
64503 echo $ECHO_N "(cached) $ECHO_C" >&6
64504 else
64505 if test x$gcc_no_link = xyes; then
64506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64508 { (exit 1); exit 1; }; }
64510 cat >conftest.$ac_ext <<_ACEOF
64511 /* confdefs.h. */
64512 _ACEOF
64513 cat confdefs.h >>conftest.$ac_ext
64514 cat >>conftest.$ac_ext <<_ACEOF
64515 /* end confdefs.h. */
64516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64518 #define $ac_func innocuous_$ac_func
64520 /* System header to define __stub macros and hopefully few prototypes,
64521 which can conflict with char $ac_func (); below.
64522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64523 <limits.h> exists even on freestanding compilers. */
64525 #ifdef __STDC__
64526 # include <limits.h>
64527 #else
64528 # include <assert.h>
64529 #endif
64531 #undef $ac_func
64533 /* Override any gcc2 internal prototype to avoid an error. */
64534 #ifdef __cplusplus
64535 extern "C"
64537 #endif
64538 /* We use char because int might match the return type of a gcc2
64539 builtin and then its argument prototype would still apply. */
64540 char $ac_func ();
64541 /* The GNU C library defines this for functions which it implements
64542 to always fail with ENOSYS. Some functions are actually named
64543 something starting with __ and the normal name is an alias. */
64544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64545 choke me
64546 #else
64547 char (*f) () = $ac_func;
64548 #endif
64549 #ifdef __cplusplus
64551 #endif
64554 main ()
64556 return f != $ac_func;
64558 return 0;
64560 _ACEOF
64561 rm -f conftest.$ac_objext conftest$ac_exeext
64562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64563 (eval $ac_link) 2>conftest.er1
64564 ac_status=$?
64565 grep -v '^ *+' conftest.er1 >conftest.err
64566 rm -f conftest.er1
64567 cat conftest.err >&5
64568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64569 (exit $ac_status); } &&
64570 { ac_try='test -z "$ac_c_werror_flag"
64571 || test ! -s conftest.err'
64572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64573 (eval $ac_try) 2>&5
64574 ac_status=$?
64575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64576 (exit $ac_status); }; } &&
64577 { ac_try='test -s conftest$ac_exeext'
64578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64579 (eval $ac_try) 2>&5
64580 ac_status=$?
64581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64582 (exit $ac_status); }; }; then
64583 eval "$as_ac_var=yes"
64584 else
64585 echo "$as_me: failed program was:" >&5
64586 sed 's/^/| /' conftest.$ac_ext >&5
64588 eval "$as_ac_var=no"
64590 rm -f conftest.err conftest.$ac_objext \
64591 conftest$ac_exeext conftest.$ac_ext
64593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64595 if test `eval echo '${'$as_ac_var'}'` = yes; then
64596 cat >>confdefs.h <<_ACEOF
64597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64598 _ACEOF
64601 done
64603 else
64605 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64606 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64607 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64608 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64609 echo $ECHO_N "(cached) $ECHO_C" >&6
64610 else
64614 ac_ext=cc
64615 ac_cpp='$CXXCPP $CPPFLAGS'
64616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64620 cat >conftest.$ac_ext <<_ACEOF
64621 /* confdefs.h. */
64622 _ACEOF
64623 cat confdefs.h >>conftest.$ac_ext
64624 cat >>conftest.$ac_ext <<_ACEOF
64625 /* end confdefs.h. */
64626 #include <math.h>
64627 #ifdef HAVE_IEEEFP_H
64628 #include <ieeefp.h>
64629 #endif
64632 main ()
64634 _finitef(0);
64636 return 0;
64638 _ACEOF
64639 rm -f conftest.$ac_objext
64640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64641 (eval $ac_compile) 2>conftest.er1
64642 ac_status=$?
64643 grep -v '^ *+' conftest.er1 >conftest.err
64644 rm -f conftest.er1
64645 cat conftest.err >&5
64646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64647 (exit $ac_status); } &&
64648 { ac_try='test -z "$ac_cxx_werror_flag"
64649 || test ! -s conftest.err'
64650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64651 (eval $ac_try) 2>&5
64652 ac_status=$?
64653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64654 (exit $ac_status); }; } &&
64655 { ac_try='test -s conftest.$ac_objext'
64656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64657 (eval $ac_try) 2>&5
64658 ac_status=$?
64659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64660 (exit $ac_status); }; }; then
64661 glibcxx_cv_func__finitef_use=yes
64662 else
64663 echo "$as_me: failed program was:" >&5
64664 sed 's/^/| /' conftest.$ac_ext >&5
64666 glibcxx_cv_func__finitef_use=no
64668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64669 ac_ext=c
64670 ac_cpp='$CPP $CPPFLAGS'
64671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64679 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64680 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64682 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64684 for ac_func in _finitef
64686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64687 echo "$as_me:$LINENO: checking for $ac_func" >&5
64688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64689 if eval "test \"\${$as_ac_var+set}\" = set"; then
64690 echo $ECHO_N "(cached) $ECHO_C" >&6
64691 else
64692 if test x$gcc_no_link = xyes; then
64693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64695 { (exit 1); exit 1; }; }
64697 cat >conftest.$ac_ext <<_ACEOF
64698 /* confdefs.h. */
64699 _ACEOF
64700 cat confdefs.h >>conftest.$ac_ext
64701 cat >>conftest.$ac_ext <<_ACEOF
64702 /* end confdefs.h. */
64703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64705 #define $ac_func innocuous_$ac_func
64707 /* System header to define __stub macros and hopefully few prototypes,
64708 which can conflict with char $ac_func (); below.
64709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64710 <limits.h> exists even on freestanding compilers. */
64712 #ifdef __STDC__
64713 # include <limits.h>
64714 #else
64715 # include <assert.h>
64716 #endif
64718 #undef $ac_func
64720 /* Override any gcc2 internal prototype to avoid an error. */
64721 #ifdef __cplusplus
64722 extern "C"
64724 #endif
64725 /* We use char because int might match the return type of a gcc2
64726 builtin and then its argument prototype would still apply. */
64727 char $ac_func ();
64728 /* The GNU C library defines this for functions which it implements
64729 to always fail with ENOSYS. Some functions are actually named
64730 something starting with __ and the normal name is an alias. */
64731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64732 choke me
64733 #else
64734 char (*f) () = $ac_func;
64735 #endif
64736 #ifdef __cplusplus
64738 #endif
64741 main ()
64743 return f != $ac_func;
64745 return 0;
64747 _ACEOF
64748 rm -f conftest.$ac_objext conftest$ac_exeext
64749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64750 (eval $ac_link) 2>conftest.er1
64751 ac_status=$?
64752 grep -v '^ *+' conftest.er1 >conftest.err
64753 rm -f conftest.er1
64754 cat conftest.err >&5
64755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64756 (exit $ac_status); } &&
64757 { ac_try='test -z "$ac_c_werror_flag"
64758 || test ! -s conftest.err'
64759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64760 (eval $ac_try) 2>&5
64761 ac_status=$?
64762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64763 (exit $ac_status); }; } &&
64764 { ac_try='test -s conftest$ac_exeext'
64765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64766 (eval $ac_try) 2>&5
64767 ac_status=$?
64768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64769 (exit $ac_status); }; }; then
64770 eval "$as_ac_var=yes"
64771 else
64772 echo "$as_me: failed program was:" >&5
64773 sed 's/^/| /' conftest.$ac_ext >&5
64775 eval "$as_ac_var=no"
64777 rm -f conftest.err conftest.$ac_objext \
64778 conftest$ac_exeext conftest.$ac_ext
64780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64782 if test `eval echo '${'$as_ac_var'}'` = yes; then
64783 cat >>confdefs.h <<_ACEOF
64784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64785 _ACEOF
64788 done
64798 echo "$as_me:$LINENO: checking for long double trig functions" >&5
64799 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64800 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64801 echo $ECHO_N "(cached) $ECHO_C" >&6
64802 else
64806 ac_ext=cc
64807 ac_cpp='$CXXCPP $CPPFLAGS'
64808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64812 cat >conftest.$ac_ext <<_ACEOF
64813 /* confdefs.h. */
64814 _ACEOF
64815 cat confdefs.h >>conftest.$ac_ext
64816 cat >>conftest.$ac_ext <<_ACEOF
64817 /* end confdefs.h. */
64818 #include <math.h>
64820 main ()
64822 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64824 return 0;
64826 _ACEOF
64827 rm -f conftest.$ac_objext
64828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64829 (eval $ac_compile) 2>conftest.er1
64830 ac_status=$?
64831 grep -v '^ *+' conftest.er1 >conftest.err
64832 rm -f conftest.er1
64833 cat conftest.err >&5
64834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64835 (exit $ac_status); } &&
64836 { ac_try='test -z "$ac_cxx_werror_flag"
64837 || test ! -s conftest.err'
64838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64839 (eval $ac_try) 2>&5
64840 ac_status=$?
64841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64842 (exit $ac_status); }; } &&
64843 { ac_try='test -s conftest.$ac_objext'
64844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64845 (eval $ac_try) 2>&5
64846 ac_status=$?
64847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64848 (exit $ac_status); }; }; then
64849 glibcxx_cv_func_long_double_trig_use=yes
64850 else
64851 echo "$as_me: failed program was:" >&5
64852 sed 's/^/| /' conftest.$ac_ext >&5
64854 glibcxx_cv_func_long_double_trig_use=no
64856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64857 ac_ext=c
64858 ac_cpp='$CPP $CPPFLAGS'
64859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64865 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64866 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64867 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64877 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64880 echo "$as_me:$LINENO: checking for $ac_func" >&5
64881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64882 if eval "test \"\${$as_ac_var+set}\" = set"; then
64883 echo $ECHO_N "(cached) $ECHO_C" >&6
64884 else
64885 if test x$gcc_no_link = xyes; then
64886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64888 { (exit 1); exit 1; }; }
64890 cat >conftest.$ac_ext <<_ACEOF
64891 /* confdefs.h. */
64892 _ACEOF
64893 cat confdefs.h >>conftest.$ac_ext
64894 cat >>conftest.$ac_ext <<_ACEOF
64895 /* end confdefs.h. */
64896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64898 #define $ac_func innocuous_$ac_func
64900 /* System header to define __stub macros and hopefully few prototypes,
64901 which can conflict with char $ac_func (); below.
64902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64903 <limits.h> exists even on freestanding compilers. */
64905 #ifdef __STDC__
64906 # include <limits.h>
64907 #else
64908 # include <assert.h>
64909 #endif
64911 #undef $ac_func
64913 /* Override any gcc2 internal prototype to avoid an error. */
64914 #ifdef __cplusplus
64915 extern "C"
64917 #endif
64918 /* We use char because int might match the return type of a gcc2
64919 builtin and then its argument prototype would still apply. */
64920 char $ac_func ();
64921 /* The GNU C library defines this for functions which it implements
64922 to always fail with ENOSYS. Some functions are actually named
64923 something starting with __ and the normal name is an alias. */
64924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64925 choke me
64926 #else
64927 char (*f) () = $ac_func;
64928 #endif
64929 #ifdef __cplusplus
64931 #endif
64934 main ()
64936 return f != $ac_func;
64938 return 0;
64940 _ACEOF
64941 rm -f conftest.$ac_objext conftest$ac_exeext
64942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64943 (eval $ac_link) 2>conftest.er1
64944 ac_status=$?
64945 grep -v '^ *+' conftest.er1 >conftest.err
64946 rm -f conftest.er1
64947 cat conftest.err >&5
64948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64949 (exit $ac_status); } &&
64950 { ac_try='test -z "$ac_c_werror_flag"
64951 || test ! -s conftest.err'
64952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64953 (eval $ac_try) 2>&5
64954 ac_status=$?
64955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64956 (exit $ac_status); }; } &&
64957 { ac_try='test -s conftest$ac_exeext'
64958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64959 (eval $ac_try) 2>&5
64960 ac_status=$?
64961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64962 (exit $ac_status); }; }; then
64963 eval "$as_ac_var=yes"
64964 else
64965 echo "$as_me: failed program was:" >&5
64966 sed 's/^/| /' conftest.$ac_ext >&5
64968 eval "$as_ac_var=no"
64970 rm -f conftest.err conftest.$ac_objext \
64971 conftest$ac_exeext conftest.$ac_ext
64973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64975 if test `eval echo '${'$as_ac_var'}'` = yes; then
64976 cat >>confdefs.h <<_ACEOF
64977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64978 _ACEOF
64981 done
64983 else
64984 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
64985 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
64986 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
64987 echo $ECHO_N "(cached) $ECHO_C" >&6
64988 else
64992 ac_ext=cc
64993 ac_cpp='$CXXCPP $CPPFLAGS'
64994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64998 cat >conftest.$ac_ext <<_ACEOF
64999 /* confdefs.h. */
65000 _ACEOF
65001 cat confdefs.h >>conftest.$ac_ext
65002 cat >>conftest.$ac_ext <<_ACEOF
65003 /* end confdefs.h. */
65004 #include <math.h>
65006 main ()
65008 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
65010 return 0;
65012 _ACEOF
65013 rm -f conftest.$ac_objext
65014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65015 (eval $ac_compile) 2>conftest.er1
65016 ac_status=$?
65017 grep -v '^ *+' conftest.er1 >conftest.err
65018 rm -f conftest.er1
65019 cat conftest.err >&5
65020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65021 (exit $ac_status); } &&
65022 { ac_try='test -z "$ac_cxx_werror_flag"
65023 || test ! -s conftest.err'
65024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65025 (eval $ac_try) 2>&5
65026 ac_status=$?
65027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65028 (exit $ac_status); }; } &&
65029 { ac_try='test -s conftest.$ac_objext'
65030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65031 (eval $ac_try) 2>&5
65032 ac_status=$?
65033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65034 (exit $ac_status); }; }; then
65035 glibcxx_cv_func__long_double_trig_use=yes
65036 else
65037 echo "$as_me: failed program was:" >&5
65038 sed 's/^/| /' conftest.$ac_ext >&5
65040 glibcxx_cv_func__long_double_trig_use=no
65042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65043 ac_ext=c
65044 ac_cpp='$CPP $CPPFLAGS'
65045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65051 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
65052 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
65053 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
65063 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
65065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65066 echo "$as_me:$LINENO: checking for $ac_func" >&5
65067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65068 if eval "test \"\${$as_ac_var+set}\" = set"; then
65069 echo $ECHO_N "(cached) $ECHO_C" >&6
65070 else
65071 if test x$gcc_no_link = xyes; then
65072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65074 { (exit 1); exit 1; }; }
65076 cat >conftest.$ac_ext <<_ACEOF
65077 /* confdefs.h. */
65078 _ACEOF
65079 cat confdefs.h >>conftest.$ac_ext
65080 cat >>conftest.$ac_ext <<_ACEOF
65081 /* end confdefs.h. */
65082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65084 #define $ac_func innocuous_$ac_func
65086 /* System header to define __stub macros and hopefully few prototypes,
65087 which can conflict with char $ac_func (); below.
65088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65089 <limits.h> exists even on freestanding compilers. */
65091 #ifdef __STDC__
65092 # include <limits.h>
65093 #else
65094 # include <assert.h>
65095 #endif
65097 #undef $ac_func
65099 /* Override any gcc2 internal prototype to avoid an error. */
65100 #ifdef __cplusplus
65101 extern "C"
65103 #endif
65104 /* We use char because int might match the return type of a gcc2
65105 builtin and then its argument prototype would still apply. */
65106 char $ac_func ();
65107 /* The GNU C library defines this for functions which it implements
65108 to always fail with ENOSYS. Some functions are actually named
65109 something starting with __ and the normal name is an alias. */
65110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65111 choke me
65112 #else
65113 char (*f) () = $ac_func;
65114 #endif
65115 #ifdef __cplusplus
65117 #endif
65120 main ()
65122 return f != $ac_func;
65124 return 0;
65126 _ACEOF
65127 rm -f conftest.$ac_objext conftest$ac_exeext
65128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65129 (eval $ac_link) 2>conftest.er1
65130 ac_status=$?
65131 grep -v '^ *+' conftest.er1 >conftest.err
65132 rm -f conftest.er1
65133 cat conftest.err >&5
65134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65135 (exit $ac_status); } &&
65136 { ac_try='test -z "$ac_c_werror_flag"
65137 || test ! -s conftest.err'
65138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65139 (eval $ac_try) 2>&5
65140 ac_status=$?
65141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65142 (exit $ac_status); }; } &&
65143 { ac_try='test -s conftest$ac_exeext'
65144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65145 (eval $ac_try) 2>&5
65146 ac_status=$?
65147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65148 (exit $ac_status); }; }; then
65149 eval "$as_ac_var=yes"
65150 else
65151 echo "$as_me: failed program was:" >&5
65152 sed 's/^/| /' conftest.$ac_ext >&5
65154 eval "$as_ac_var=no"
65156 rm -f conftest.err conftest.$ac_objext \
65157 conftest$ac_exeext conftest.$ac_ext
65159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65161 if test `eval echo '${'$as_ac_var'}'` = yes; then
65162 cat >>confdefs.h <<_ACEOF
65163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65164 _ACEOF
65167 done
65185 echo "$as_me:$LINENO: checking for long double round functions" >&5
65186 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
65187 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
65188 echo $ECHO_N "(cached) $ECHO_C" >&6
65189 else
65193 ac_ext=cc
65194 ac_cpp='$CXXCPP $CPPFLAGS'
65195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65199 cat >conftest.$ac_ext <<_ACEOF
65200 /* confdefs.h. */
65201 _ACEOF
65202 cat confdefs.h >>conftest.$ac_ext
65203 cat >>conftest.$ac_ext <<_ACEOF
65204 /* end confdefs.h. */
65205 #include <math.h>
65207 main ()
65209 ceill (0); floorl (0);
65211 return 0;
65213 _ACEOF
65214 rm -f conftest.$ac_objext
65215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65216 (eval $ac_compile) 2>conftest.er1
65217 ac_status=$?
65218 grep -v '^ *+' conftest.er1 >conftest.err
65219 rm -f conftest.er1
65220 cat conftest.err >&5
65221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65222 (exit $ac_status); } &&
65223 { ac_try='test -z "$ac_cxx_werror_flag"
65224 || test ! -s conftest.err'
65225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65226 (eval $ac_try) 2>&5
65227 ac_status=$?
65228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65229 (exit $ac_status); }; } &&
65230 { ac_try='test -s conftest.$ac_objext'
65231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65232 (eval $ac_try) 2>&5
65233 ac_status=$?
65234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65235 (exit $ac_status); }; }; then
65236 glibcxx_cv_func_long_double_round_use=yes
65237 else
65238 echo "$as_me: failed program was:" >&5
65239 sed 's/^/| /' conftest.$ac_ext >&5
65241 glibcxx_cv_func_long_double_round_use=no
65243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65244 ac_ext=c
65245 ac_cpp='$CPP $CPPFLAGS'
65246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65252 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
65253 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
65254 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
65257 for ac_func in ceill floorl
65259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65260 echo "$as_me:$LINENO: checking for $ac_func" >&5
65261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65262 if eval "test \"\${$as_ac_var+set}\" = set"; then
65263 echo $ECHO_N "(cached) $ECHO_C" >&6
65264 else
65265 if test x$gcc_no_link = xyes; then
65266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65268 { (exit 1); exit 1; }; }
65270 cat >conftest.$ac_ext <<_ACEOF
65271 /* confdefs.h. */
65272 _ACEOF
65273 cat confdefs.h >>conftest.$ac_ext
65274 cat >>conftest.$ac_ext <<_ACEOF
65275 /* end confdefs.h. */
65276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65278 #define $ac_func innocuous_$ac_func
65280 /* System header to define __stub macros and hopefully few prototypes,
65281 which can conflict with char $ac_func (); below.
65282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65283 <limits.h> exists even on freestanding compilers. */
65285 #ifdef __STDC__
65286 # include <limits.h>
65287 #else
65288 # include <assert.h>
65289 #endif
65291 #undef $ac_func
65293 /* Override any gcc2 internal prototype to avoid an error. */
65294 #ifdef __cplusplus
65295 extern "C"
65297 #endif
65298 /* We use char because int might match the return type of a gcc2
65299 builtin and then its argument prototype would still apply. */
65300 char $ac_func ();
65301 /* The GNU C library defines this for functions which it implements
65302 to always fail with ENOSYS. Some functions are actually named
65303 something starting with __ and the normal name is an alias. */
65304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65305 choke me
65306 #else
65307 char (*f) () = $ac_func;
65308 #endif
65309 #ifdef __cplusplus
65311 #endif
65314 main ()
65316 return f != $ac_func;
65318 return 0;
65320 _ACEOF
65321 rm -f conftest.$ac_objext conftest$ac_exeext
65322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65323 (eval $ac_link) 2>conftest.er1
65324 ac_status=$?
65325 grep -v '^ *+' conftest.er1 >conftest.err
65326 rm -f conftest.er1
65327 cat conftest.err >&5
65328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65329 (exit $ac_status); } &&
65330 { ac_try='test -z "$ac_c_werror_flag"
65331 || test ! -s conftest.err'
65332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65333 (eval $ac_try) 2>&5
65334 ac_status=$?
65335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65336 (exit $ac_status); }; } &&
65337 { ac_try='test -s conftest$ac_exeext'
65338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65339 (eval $ac_try) 2>&5
65340 ac_status=$?
65341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65342 (exit $ac_status); }; }; then
65343 eval "$as_ac_var=yes"
65344 else
65345 echo "$as_me: failed program was:" >&5
65346 sed 's/^/| /' conftest.$ac_ext >&5
65348 eval "$as_ac_var=no"
65350 rm -f conftest.err conftest.$ac_objext \
65351 conftest$ac_exeext conftest.$ac_ext
65353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65355 if test `eval echo '${'$as_ac_var'}'` = yes; then
65356 cat >>confdefs.h <<_ACEOF
65357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65358 _ACEOF
65361 done
65363 else
65364 echo "$as_me:$LINENO: checking for _long double round functions" >&5
65365 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
65366 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
65367 echo $ECHO_N "(cached) $ECHO_C" >&6
65368 else
65372 ac_ext=cc
65373 ac_cpp='$CXXCPP $CPPFLAGS'
65374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65378 cat >conftest.$ac_ext <<_ACEOF
65379 /* confdefs.h. */
65380 _ACEOF
65381 cat confdefs.h >>conftest.$ac_ext
65382 cat >>conftest.$ac_ext <<_ACEOF
65383 /* end confdefs.h. */
65384 #include <math.h>
65386 main ()
65388 _ceill (0); _floorl (0);
65390 return 0;
65392 _ACEOF
65393 rm -f conftest.$ac_objext
65394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65395 (eval $ac_compile) 2>conftest.er1
65396 ac_status=$?
65397 grep -v '^ *+' conftest.er1 >conftest.err
65398 rm -f conftest.er1
65399 cat conftest.err >&5
65400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65401 (exit $ac_status); } &&
65402 { ac_try='test -z "$ac_cxx_werror_flag"
65403 || test ! -s conftest.err'
65404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65405 (eval $ac_try) 2>&5
65406 ac_status=$?
65407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65408 (exit $ac_status); }; } &&
65409 { ac_try='test -s conftest.$ac_objext'
65410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65411 (eval $ac_try) 2>&5
65412 ac_status=$?
65413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65414 (exit $ac_status); }; }; then
65415 glibcxx_cv_func__long_double_round_use=yes
65416 else
65417 echo "$as_me: failed program was:" >&5
65418 sed 's/^/| /' conftest.$ac_ext >&5
65420 glibcxx_cv_func__long_double_round_use=no
65422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65423 ac_ext=c
65424 ac_cpp='$CPP $CPPFLAGS'
65425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
65432 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
65433 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
65436 for ac_func in _ceill _floorl
65438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65439 echo "$as_me:$LINENO: checking for $ac_func" >&5
65440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65441 if eval "test \"\${$as_ac_var+set}\" = set"; then
65442 echo $ECHO_N "(cached) $ECHO_C" >&6
65443 else
65444 if test x$gcc_no_link = xyes; then
65445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65447 { (exit 1); exit 1; }; }
65449 cat >conftest.$ac_ext <<_ACEOF
65450 /* confdefs.h. */
65451 _ACEOF
65452 cat confdefs.h >>conftest.$ac_ext
65453 cat >>conftest.$ac_ext <<_ACEOF
65454 /* end confdefs.h. */
65455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65457 #define $ac_func innocuous_$ac_func
65459 /* System header to define __stub macros and hopefully few prototypes,
65460 which can conflict with char $ac_func (); below.
65461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65462 <limits.h> exists even on freestanding compilers. */
65464 #ifdef __STDC__
65465 # include <limits.h>
65466 #else
65467 # include <assert.h>
65468 #endif
65470 #undef $ac_func
65472 /* Override any gcc2 internal prototype to avoid an error. */
65473 #ifdef __cplusplus
65474 extern "C"
65476 #endif
65477 /* We use char because int might match the return type of a gcc2
65478 builtin and then its argument prototype would still apply. */
65479 char $ac_func ();
65480 /* The GNU C library defines this for functions which it implements
65481 to always fail with ENOSYS. Some functions are actually named
65482 something starting with __ and the normal name is an alias. */
65483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65484 choke me
65485 #else
65486 char (*f) () = $ac_func;
65487 #endif
65488 #ifdef __cplusplus
65490 #endif
65493 main ()
65495 return f != $ac_func;
65497 return 0;
65499 _ACEOF
65500 rm -f conftest.$ac_objext conftest$ac_exeext
65501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65502 (eval $ac_link) 2>conftest.er1
65503 ac_status=$?
65504 grep -v '^ *+' conftest.er1 >conftest.err
65505 rm -f conftest.er1
65506 cat conftest.err >&5
65507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65508 (exit $ac_status); } &&
65509 { ac_try='test -z "$ac_c_werror_flag"
65510 || test ! -s conftest.err'
65511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65512 (eval $ac_try) 2>&5
65513 ac_status=$?
65514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65515 (exit $ac_status); }; } &&
65516 { ac_try='test -s conftest$ac_exeext'
65517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65518 (eval $ac_try) 2>&5
65519 ac_status=$?
65520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65521 (exit $ac_status); }; }; then
65522 eval "$as_ac_var=yes"
65523 else
65524 echo "$as_me: failed program was:" >&5
65525 sed 's/^/| /' conftest.$ac_ext >&5
65527 eval "$as_ac_var=no"
65529 rm -f conftest.err conftest.$ac_objext \
65530 conftest$ac_exeext conftest.$ac_ext
65532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65534 if test `eval echo '${'$as_ac_var'}'` = yes; then
65535 cat >>confdefs.h <<_ACEOF
65536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65537 _ACEOF
65540 done
65552 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65553 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65554 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65555 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65556 echo $ECHO_N "(cached) $ECHO_C" >&6
65557 else
65561 ac_ext=cc
65562 ac_cpp='$CXXCPP $CPPFLAGS'
65563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65567 cat >conftest.$ac_ext <<_ACEOF
65568 /* confdefs.h. */
65569 _ACEOF
65570 cat confdefs.h >>conftest.$ac_ext
65571 cat >>conftest.$ac_ext <<_ACEOF
65572 /* end confdefs.h. */
65573 #include <math.h>
65574 #ifdef HAVE_IEEEFP_H
65575 #include <ieeefp.h>
65576 #endif
65579 main ()
65581 isnanl(0);
65583 return 0;
65585 _ACEOF
65586 rm -f conftest.$ac_objext
65587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65588 (eval $ac_compile) 2>conftest.er1
65589 ac_status=$?
65590 grep -v '^ *+' conftest.er1 >conftest.err
65591 rm -f conftest.er1
65592 cat conftest.err >&5
65593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65594 (exit $ac_status); } &&
65595 { ac_try='test -z "$ac_cxx_werror_flag"
65596 || test ! -s conftest.err'
65597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65598 (eval $ac_try) 2>&5
65599 ac_status=$?
65600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65601 (exit $ac_status); }; } &&
65602 { ac_try='test -s conftest.$ac_objext'
65603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65604 (eval $ac_try) 2>&5
65605 ac_status=$?
65606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65607 (exit $ac_status); }; }; then
65608 glibcxx_cv_func_isnanl_use=yes
65609 else
65610 echo "$as_me: failed program was:" >&5
65611 sed 's/^/| /' conftest.$ac_ext >&5
65613 glibcxx_cv_func_isnanl_use=no
65615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65616 ac_ext=c
65617 ac_cpp='$CPP $CPPFLAGS'
65618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65626 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65627 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65629 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65631 for ac_func in isnanl
65633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65634 echo "$as_me:$LINENO: checking for $ac_func" >&5
65635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65636 if eval "test \"\${$as_ac_var+set}\" = set"; then
65637 echo $ECHO_N "(cached) $ECHO_C" >&6
65638 else
65639 if test x$gcc_no_link = xyes; then
65640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65642 { (exit 1); exit 1; }; }
65644 cat >conftest.$ac_ext <<_ACEOF
65645 /* confdefs.h. */
65646 _ACEOF
65647 cat confdefs.h >>conftest.$ac_ext
65648 cat >>conftest.$ac_ext <<_ACEOF
65649 /* end confdefs.h. */
65650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65652 #define $ac_func innocuous_$ac_func
65654 /* System header to define __stub macros and hopefully few prototypes,
65655 which can conflict with char $ac_func (); below.
65656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65657 <limits.h> exists even on freestanding compilers. */
65659 #ifdef __STDC__
65660 # include <limits.h>
65661 #else
65662 # include <assert.h>
65663 #endif
65665 #undef $ac_func
65667 /* Override any gcc2 internal prototype to avoid an error. */
65668 #ifdef __cplusplus
65669 extern "C"
65671 #endif
65672 /* We use char because int might match the return type of a gcc2
65673 builtin and then its argument prototype would still apply. */
65674 char $ac_func ();
65675 /* The GNU C library defines this for functions which it implements
65676 to always fail with ENOSYS. Some functions are actually named
65677 something starting with __ and the normal name is an alias. */
65678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65679 choke me
65680 #else
65681 char (*f) () = $ac_func;
65682 #endif
65683 #ifdef __cplusplus
65685 #endif
65688 main ()
65690 return f != $ac_func;
65692 return 0;
65694 _ACEOF
65695 rm -f conftest.$ac_objext conftest$ac_exeext
65696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65697 (eval $ac_link) 2>conftest.er1
65698 ac_status=$?
65699 grep -v '^ *+' conftest.er1 >conftest.err
65700 rm -f conftest.er1
65701 cat conftest.err >&5
65702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65703 (exit $ac_status); } &&
65704 { ac_try='test -z "$ac_c_werror_flag"
65705 || test ! -s conftest.err'
65706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65707 (eval $ac_try) 2>&5
65708 ac_status=$?
65709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65710 (exit $ac_status); }; } &&
65711 { ac_try='test -s conftest$ac_exeext'
65712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65713 (eval $ac_try) 2>&5
65714 ac_status=$?
65715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65716 (exit $ac_status); }; }; then
65717 eval "$as_ac_var=yes"
65718 else
65719 echo "$as_me: failed program was:" >&5
65720 sed 's/^/| /' conftest.$ac_ext >&5
65722 eval "$as_ac_var=no"
65724 rm -f conftest.err conftest.$ac_objext \
65725 conftest$ac_exeext conftest.$ac_ext
65727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65729 if test `eval echo '${'$as_ac_var'}'` = yes; then
65730 cat >>confdefs.h <<_ACEOF
65731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65732 _ACEOF
65735 done
65737 else
65739 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65740 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65741 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65742 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65743 echo $ECHO_N "(cached) $ECHO_C" >&6
65744 else
65748 ac_ext=cc
65749 ac_cpp='$CXXCPP $CPPFLAGS'
65750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65754 cat >conftest.$ac_ext <<_ACEOF
65755 /* confdefs.h. */
65756 _ACEOF
65757 cat confdefs.h >>conftest.$ac_ext
65758 cat >>conftest.$ac_ext <<_ACEOF
65759 /* end confdefs.h. */
65760 #include <math.h>
65761 #ifdef HAVE_IEEEFP_H
65762 #include <ieeefp.h>
65763 #endif
65766 main ()
65768 _isnanl(0);
65770 return 0;
65772 _ACEOF
65773 rm -f conftest.$ac_objext
65774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65775 (eval $ac_compile) 2>conftest.er1
65776 ac_status=$?
65777 grep -v '^ *+' conftest.er1 >conftest.err
65778 rm -f conftest.er1
65779 cat conftest.err >&5
65780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65781 (exit $ac_status); } &&
65782 { ac_try='test -z "$ac_cxx_werror_flag"
65783 || test ! -s conftest.err'
65784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65785 (eval $ac_try) 2>&5
65786 ac_status=$?
65787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65788 (exit $ac_status); }; } &&
65789 { ac_try='test -s conftest.$ac_objext'
65790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65791 (eval $ac_try) 2>&5
65792 ac_status=$?
65793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65794 (exit $ac_status); }; }; then
65795 glibcxx_cv_func__isnanl_use=yes
65796 else
65797 echo "$as_me: failed program was:" >&5
65798 sed 's/^/| /' conftest.$ac_ext >&5
65800 glibcxx_cv_func__isnanl_use=no
65802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65803 ac_ext=c
65804 ac_cpp='$CPP $CPPFLAGS'
65805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65813 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65814 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65816 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65818 for ac_func in _isnanl
65820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65821 echo "$as_me:$LINENO: checking for $ac_func" >&5
65822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65823 if eval "test \"\${$as_ac_var+set}\" = set"; then
65824 echo $ECHO_N "(cached) $ECHO_C" >&6
65825 else
65826 if test x$gcc_no_link = xyes; then
65827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65829 { (exit 1); exit 1; }; }
65831 cat >conftest.$ac_ext <<_ACEOF
65832 /* confdefs.h. */
65833 _ACEOF
65834 cat confdefs.h >>conftest.$ac_ext
65835 cat >>conftest.$ac_ext <<_ACEOF
65836 /* end confdefs.h. */
65837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65839 #define $ac_func innocuous_$ac_func
65841 /* System header to define __stub macros and hopefully few prototypes,
65842 which can conflict with char $ac_func (); below.
65843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65844 <limits.h> exists even on freestanding compilers. */
65846 #ifdef __STDC__
65847 # include <limits.h>
65848 #else
65849 # include <assert.h>
65850 #endif
65852 #undef $ac_func
65854 /* Override any gcc2 internal prototype to avoid an error. */
65855 #ifdef __cplusplus
65856 extern "C"
65858 #endif
65859 /* We use char because int might match the return type of a gcc2
65860 builtin and then its argument prototype would still apply. */
65861 char $ac_func ();
65862 /* The GNU C library defines this for functions which it implements
65863 to always fail with ENOSYS. Some functions are actually named
65864 something starting with __ and the normal name is an alias. */
65865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65866 choke me
65867 #else
65868 char (*f) () = $ac_func;
65869 #endif
65870 #ifdef __cplusplus
65872 #endif
65875 main ()
65877 return f != $ac_func;
65879 return 0;
65881 _ACEOF
65882 rm -f conftest.$ac_objext conftest$ac_exeext
65883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65884 (eval $ac_link) 2>conftest.er1
65885 ac_status=$?
65886 grep -v '^ *+' conftest.er1 >conftest.err
65887 rm -f conftest.er1
65888 cat conftest.err >&5
65889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65890 (exit $ac_status); } &&
65891 { ac_try='test -z "$ac_c_werror_flag"
65892 || test ! -s conftest.err'
65893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65894 (eval $ac_try) 2>&5
65895 ac_status=$?
65896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65897 (exit $ac_status); }; } &&
65898 { ac_try='test -s conftest$ac_exeext'
65899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65900 (eval $ac_try) 2>&5
65901 ac_status=$?
65902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65903 (exit $ac_status); }; }; then
65904 eval "$as_ac_var=yes"
65905 else
65906 echo "$as_me: failed program was:" >&5
65907 sed 's/^/| /' conftest.$ac_ext >&5
65909 eval "$as_ac_var=no"
65911 rm -f conftest.err conftest.$ac_objext \
65912 conftest$ac_exeext conftest.$ac_ext
65914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65916 if test `eval echo '${'$as_ac_var'}'` = yes; then
65917 cat >>confdefs.h <<_ACEOF
65918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65919 _ACEOF
65922 done
65932 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65933 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65934 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65935 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65936 echo $ECHO_N "(cached) $ECHO_C" >&6
65937 else
65941 ac_ext=cc
65942 ac_cpp='$CXXCPP $CPPFLAGS'
65943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65947 cat >conftest.$ac_ext <<_ACEOF
65948 /* confdefs.h. */
65949 _ACEOF
65950 cat confdefs.h >>conftest.$ac_ext
65951 cat >>conftest.$ac_ext <<_ACEOF
65952 /* end confdefs.h. */
65953 #include <math.h>
65954 #ifdef HAVE_IEEEFP_H
65955 #include <ieeefp.h>
65956 #endif
65959 main ()
65961 isinfl(0);
65963 return 0;
65965 _ACEOF
65966 rm -f conftest.$ac_objext
65967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65968 (eval $ac_compile) 2>conftest.er1
65969 ac_status=$?
65970 grep -v '^ *+' conftest.er1 >conftest.err
65971 rm -f conftest.er1
65972 cat conftest.err >&5
65973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65974 (exit $ac_status); } &&
65975 { ac_try='test -z "$ac_cxx_werror_flag"
65976 || test ! -s conftest.err'
65977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65978 (eval $ac_try) 2>&5
65979 ac_status=$?
65980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65981 (exit $ac_status); }; } &&
65982 { ac_try='test -s conftest.$ac_objext'
65983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65984 (eval $ac_try) 2>&5
65985 ac_status=$?
65986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65987 (exit $ac_status); }; }; then
65988 glibcxx_cv_func_isinfl_use=yes
65989 else
65990 echo "$as_me: failed program was:" >&5
65991 sed 's/^/| /' conftest.$ac_ext >&5
65993 glibcxx_cv_func_isinfl_use=no
65995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65996 ac_ext=c
65997 ac_cpp='$CPP $CPPFLAGS'
65998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66006 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
66007 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
66009 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
66011 for ac_func in isinfl
66013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66014 echo "$as_me:$LINENO: checking for $ac_func" >&5
66015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66016 if eval "test \"\${$as_ac_var+set}\" = set"; then
66017 echo $ECHO_N "(cached) $ECHO_C" >&6
66018 else
66019 if test x$gcc_no_link = xyes; then
66020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66022 { (exit 1); exit 1; }; }
66024 cat >conftest.$ac_ext <<_ACEOF
66025 /* confdefs.h. */
66026 _ACEOF
66027 cat confdefs.h >>conftest.$ac_ext
66028 cat >>conftest.$ac_ext <<_ACEOF
66029 /* end confdefs.h. */
66030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66032 #define $ac_func innocuous_$ac_func
66034 /* System header to define __stub macros and hopefully few prototypes,
66035 which can conflict with char $ac_func (); below.
66036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66037 <limits.h> exists even on freestanding compilers. */
66039 #ifdef __STDC__
66040 # include <limits.h>
66041 #else
66042 # include <assert.h>
66043 #endif
66045 #undef $ac_func
66047 /* Override any gcc2 internal prototype to avoid an error. */
66048 #ifdef __cplusplus
66049 extern "C"
66051 #endif
66052 /* We use char because int might match the return type of a gcc2
66053 builtin and then its argument prototype would still apply. */
66054 char $ac_func ();
66055 /* The GNU C library defines this for functions which it implements
66056 to always fail with ENOSYS. Some functions are actually named
66057 something starting with __ and the normal name is an alias. */
66058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66059 choke me
66060 #else
66061 char (*f) () = $ac_func;
66062 #endif
66063 #ifdef __cplusplus
66065 #endif
66068 main ()
66070 return f != $ac_func;
66072 return 0;
66074 _ACEOF
66075 rm -f conftest.$ac_objext conftest$ac_exeext
66076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66077 (eval $ac_link) 2>conftest.er1
66078 ac_status=$?
66079 grep -v '^ *+' conftest.er1 >conftest.err
66080 rm -f conftest.er1
66081 cat conftest.err >&5
66082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66083 (exit $ac_status); } &&
66084 { ac_try='test -z "$ac_c_werror_flag"
66085 || test ! -s conftest.err'
66086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66087 (eval $ac_try) 2>&5
66088 ac_status=$?
66089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66090 (exit $ac_status); }; } &&
66091 { ac_try='test -s conftest$ac_exeext'
66092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66093 (eval $ac_try) 2>&5
66094 ac_status=$?
66095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66096 (exit $ac_status); }; }; then
66097 eval "$as_ac_var=yes"
66098 else
66099 echo "$as_me: failed program was:" >&5
66100 sed 's/^/| /' conftest.$ac_ext >&5
66102 eval "$as_ac_var=no"
66104 rm -f conftest.err conftest.$ac_objext \
66105 conftest$ac_exeext conftest.$ac_ext
66107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66109 if test `eval echo '${'$as_ac_var'}'` = yes; then
66110 cat >>confdefs.h <<_ACEOF
66111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66112 _ACEOF
66115 done
66117 else
66119 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
66120 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
66121 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
66122 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
66123 echo $ECHO_N "(cached) $ECHO_C" >&6
66124 else
66128 ac_ext=cc
66129 ac_cpp='$CXXCPP $CPPFLAGS'
66130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66134 cat >conftest.$ac_ext <<_ACEOF
66135 /* confdefs.h. */
66136 _ACEOF
66137 cat confdefs.h >>conftest.$ac_ext
66138 cat >>conftest.$ac_ext <<_ACEOF
66139 /* end confdefs.h. */
66140 #include <math.h>
66141 #ifdef HAVE_IEEEFP_H
66142 #include <ieeefp.h>
66143 #endif
66146 main ()
66148 _isinfl(0);
66150 return 0;
66152 _ACEOF
66153 rm -f conftest.$ac_objext
66154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66155 (eval $ac_compile) 2>conftest.er1
66156 ac_status=$?
66157 grep -v '^ *+' conftest.er1 >conftest.err
66158 rm -f conftest.er1
66159 cat conftest.err >&5
66160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66161 (exit $ac_status); } &&
66162 { ac_try='test -z "$ac_cxx_werror_flag"
66163 || test ! -s conftest.err'
66164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66165 (eval $ac_try) 2>&5
66166 ac_status=$?
66167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66168 (exit $ac_status); }; } &&
66169 { ac_try='test -s conftest.$ac_objext'
66170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66171 (eval $ac_try) 2>&5
66172 ac_status=$?
66173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66174 (exit $ac_status); }; }; then
66175 glibcxx_cv_func__isinfl_use=yes
66176 else
66177 echo "$as_me: failed program was:" >&5
66178 sed 's/^/| /' conftest.$ac_ext >&5
66180 glibcxx_cv_func__isinfl_use=no
66182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66183 ac_ext=c
66184 ac_cpp='$CPP $CPPFLAGS'
66185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66193 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
66194 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
66196 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
66198 for ac_func in _isinfl
66200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66201 echo "$as_me:$LINENO: checking for $ac_func" >&5
66202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66203 if eval "test \"\${$as_ac_var+set}\" = set"; then
66204 echo $ECHO_N "(cached) $ECHO_C" >&6
66205 else
66206 if test x$gcc_no_link = xyes; then
66207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66209 { (exit 1); exit 1; }; }
66211 cat >conftest.$ac_ext <<_ACEOF
66212 /* confdefs.h. */
66213 _ACEOF
66214 cat confdefs.h >>conftest.$ac_ext
66215 cat >>conftest.$ac_ext <<_ACEOF
66216 /* end confdefs.h. */
66217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66219 #define $ac_func innocuous_$ac_func
66221 /* System header to define __stub macros and hopefully few prototypes,
66222 which can conflict with char $ac_func (); below.
66223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66224 <limits.h> exists even on freestanding compilers. */
66226 #ifdef __STDC__
66227 # include <limits.h>
66228 #else
66229 # include <assert.h>
66230 #endif
66232 #undef $ac_func
66234 /* Override any gcc2 internal prototype to avoid an error. */
66235 #ifdef __cplusplus
66236 extern "C"
66238 #endif
66239 /* We use char because int might match the return type of a gcc2
66240 builtin and then its argument prototype would still apply. */
66241 char $ac_func ();
66242 /* The GNU C library defines this for functions which it implements
66243 to always fail with ENOSYS. Some functions are actually named
66244 something starting with __ and the normal name is an alias. */
66245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66246 choke me
66247 #else
66248 char (*f) () = $ac_func;
66249 #endif
66250 #ifdef __cplusplus
66252 #endif
66255 main ()
66257 return f != $ac_func;
66259 return 0;
66261 _ACEOF
66262 rm -f conftest.$ac_objext conftest$ac_exeext
66263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66264 (eval $ac_link) 2>conftest.er1
66265 ac_status=$?
66266 grep -v '^ *+' conftest.er1 >conftest.err
66267 rm -f conftest.er1
66268 cat conftest.err >&5
66269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66270 (exit $ac_status); } &&
66271 { ac_try='test -z "$ac_c_werror_flag"
66272 || test ! -s conftest.err'
66273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66274 (eval $ac_try) 2>&5
66275 ac_status=$?
66276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66277 (exit $ac_status); }; } &&
66278 { ac_try='test -s conftest$ac_exeext'
66279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66280 (eval $ac_try) 2>&5
66281 ac_status=$?
66282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66283 (exit $ac_status); }; }; then
66284 eval "$as_ac_var=yes"
66285 else
66286 echo "$as_me: failed program was:" >&5
66287 sed 's/^/| /' conftest.$ac_ext >&5
66289 eval "$as_ac_var=no"
66291 rm -f conftest.err conftest.$ac_objext \
66292 conftest$ac_exeext conftest.$ac_ext
66294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66296 if test `eval echo '${'$as_ac_var'}'` = yes; then
66297 cat >>confdefs.h <<_ACEOF
66298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66299 _ACEOF
66302 done
66312 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
66313 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
66314 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
66315 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
66316 echo $ECHO_N "(cached) $ECHO_C" >&6
66317 else
66321 ac_ext=cc
66322 ac_cpp='$CXXCPP $CPPFLAGS'
66323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66327 cat >conftest.$ac_ext <<_ACEOF
66328 /* confdefs.h. */
66329 _ACEOF
66330 cat confdefs.h >>conftest.$ac_ext
66331 cat >>conftest.$ac_ext <<_ACEOF
66332 /* end confdefs.h. */
66333 #include <math.h>
66335 main ()
66337 copysignl(0, 0);
66339 return 0;
66341 _ACEOF
66342 rm -f conftest.$ac_objext
66343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66344 (eval $ac_compile) 2>conftest.er1
66345 ac_status=$?
66346 grep -v '^ *+' conftest.er1 >conftest.err
66347 rm -f conftest.er1
66348 cat conftest.err >&5
66349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66350 (exit $ac_status); } &&
66351 { ac_try='test -z "$ac_cxx_werror_flag"
66352 || test ! -s conftest.err'
66353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66354 (eval $ac_try) 2>&5
66355 ac_status=$?
66356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66357 (exit $ac_status); }; } &&
66358 { ac_try='test -s conftest.$ac_objext'
66359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66360 (eval $ac_try) 2>&5
66361 ac_status=$?
66362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66363 (exit $ac_status); }; }; then
66364 glibcxx_cv_func_copysignl_use=yes
66365 else
66366 echo "$as_me: failed program was:" >&5
66367 sed 's/^/| /' conftest.$ac_ext >&5
66369 glibcxx_cv_func_copysignl_use=no
66371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66372 ac_ext=c
66373 ac_cpp='$CPP $CPPFLAGS'
66374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66382 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
66383 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
66385 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
66387 for ac_func in copysignl
66389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66390 echo "$as_me:$LINENO: checking for $ac_func" >&5
66391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66392 if eval "test \"\${$as_ac_var+set}\" = set"; then
66393 echo $ECHO_N "(cached) $ECHO_C" >&6
66394 else
66395 if test x$gcc_no_link = xyes; then
66396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66398 { (exit 1); exit 1; }; }
66400 cat >conftest.$ac_ext <<_ACEOF
66401 /* confdefs.h. */
66402 _ACEOF
66403 cat confdefs.h >>conftest.$ac_ext
66404 cat >>conftest.$ac_ext <<_ACEOF
66405 /* end confdefs.h. */
66406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66408 #define $ac_func innocuous_$ac_func
66410 /* System header to define __stub macros and hopefully few prototypes,
66411 which can conflict with char $ac_func (); below.
66412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66413 <limits.h> exists even on freestanding compilers. */
66415 #ifdef __STDC__
66416 # include <limits.h>
66417 #else
66418 # include <assert.h>
66419 #endif
66421 #undef $ac_func
66423 /* Override any gcc2 internal prototype to avoid an error. */
66424 #ifdef __cplusplus
66425 extern "C"
66427 #endif
66428 /* We use char because int might match the return type of a gcc2
66429 builtin and then its argument prototype would still apply. */
66430 char $ac_func ();
66431 /* The GNU C library defines this for functions which it implements
66432 to always fail with ENOSYS. Some functions are actually named
66433 something starting with __ and the normal name is an alias. */
66434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66435 choke me
66436 #else
66437 char (*f) () = $ac_func;
66438 #endif
66439 #ifdef __cplusplus
66441 #endif
66444 main ()
66446 return f != $ac_func;
66448 return 0;
66450 _ACEOF
66451 rm -f conftest.$ac_objext conftest$ac_exeext
66452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66453 (eval $ac_link) 2>conftest.er1
66454 ac_status=$?
66455 grep -v '^ *+' conftest.er1 >conftest.err
66456 rm -f conftest.er1
66457 cat conftest.err >&5
66458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66459 (exit $ac_status); } &&
66460 { ac_try='test -z "$ac_c_werror_flag"
66461 || test ! -s conftest.err'
66462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66463 (eval $ac_try) 2>&5
66464 ac_status=$?
66465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66466 (exit $ac_status); }; } &&
66467 { ac_try='test -s conftest$ac_exeext'
66468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66469 (eval $ac_try) 2>&5
66470 ac_status=$?
66471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66472 (exit $ac_status); }; }; then
66473 eval "$as_ac_var=yes"
66474 else
66475 echo "$as_me: failed program was:" >&5
66476 sed 's/^/| /' conftest.$ac_ext >&5
66478 eval "$as_ac_var=no"
66480 rm -f conftest.err conftest.$ac_objext \
66481 conftest$ac_exeext conftest.$ac_ext
66483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66485 if test `eval echo '${'$as_ac_var'}'` = yes; then
66486 cat >>confdefs.h <<_ACEOF
66487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66488 _ACEOF
66491 done
66493 else
66495 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66496 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66497 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66498 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66499 echo $ECHO_N "(cached) $ECHO_C" >&6
66500 else
66504 ac_ext=cc
66505 ac_cpp='$CXXCPP $CPPFLAGS'
66506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66510 cat >conftest.$ac_ext <<_ACEOF
66511 /* confdefs.h. */
66512 _ACEOF
66513 cat confdefs.h >>conftest.$ac_ext
66514 cat >>conftest.$ac_ext <<_ACEOF
66515 /* end confdefs.h. */
66516 #include <math.h>
66518 main ()
66520 _copysignl(0, 0);
66522 return 0;
66524 _ACEOF
66525 rm -f conftest.$ac_objext
66526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66527 (eval $ac_compile) 2>conftest.er1
66528 ac_status=$?
66529 grep -v '^ *+' conftest.er1 >conftest.err
66530 rm -f conftest.er1
66531 cat conftest.err >&5
66532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66533 (exit $ac_status); } &&
66534 { ac_try='test -z "$ac_cxx_werror_flag"
66535 || test ! -s conftest.err'
66536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66537 (eval $ac_try) 2>&5
66538 ac_status=$?
66539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66540 (exit $ac_status); }; } &&
66541 { ac_try='test -s conftest.$ac_objext'
66542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66543 (eval $ac_try) 2>&5
66544 ac_status=$?
66545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66546 (exit $ac_status); }; }; then
66547 glibcxx_cv_func__copysignl_use=yes
66548 else
66549 echo "$as_me: failed program was:" >&5
66550 sed 's/^/| /' conftest.$ac_ext >&5
66552 glibcxx_cv_func__copysignl_use=no
66554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66555 ac_ext=c
66556 ac_cpp='$CPP $CPPFLAGS'
66557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66565 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66566 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66568 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66570 for ac_func in _copysignl
66572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66573 echo "$as_me:$LINENO: checking for $ac_func" >&5
66574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66575 if eval "test \"\${$as_ac_var+set}\" = set"; then
66576 echo $ECHO_N "(cached) $ECHO_C" >&6
66577 else
66578 if test x$gcc_no_link = xyes; then
66579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66581 { (exit 1); exit 1; }; }
66583 cat >conftest.$ac_ext <<_ACEOF
66584 /* confdefs.h. */
66585 _ACEOF
66586 cat confdefs.h >>conftest.$ac_ext
66587 cat >>conftest.$ac_ext <<_ACEOF
66588 /* end confdefs.h. */
66589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66591 #define $ac_func innocuous_$ac_func
66593 /* System header to define __stub macros and hopefully few prototypes,
66594 which can conflict with char $ac_func (); below.
66595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66596 <limits.h> exists even on freestanding compilers. */
66598 #ifdef __STDC__
66599 # include <limits.h>
66600 #else
66601 # include <assert.h>
66602 #endif
66604 #undef $ac_func
66606 /* Override any gcc2 internal prototype to avoid an error. */
66607 #ifdef __cplusplus
66608 extern "C"
66610 #endif
66611 /* We use char because int might match the return type of a gcc2
66612 builtin and then its argument prototype would still apply. */
66613 char $ac_func ();
66614 /* The GNU C library defines this for functions which it implements
66615 to always fail with ENOSYS. Some functions are actually named
66616 something starting with __ and the normal name is an alias. */
66617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66618 choke me
66619 #else
66620 char (*f) () = $ac_func;
66621 #endif
66622 #ifdef __cplusplus
66624 #endif
66627 main ()
66629 return f != $ac_func;
66631 return 0;
66633 _ACEOF
66634 rm -f conftest.$ac_objext conftest$ac_exeext
66635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66636 (eval $ac_link) 2>conftest.er1
66637 ac_status=$?
66638 grep -v '^ *+' conftest.er1 >conftest.err
66639 rm -f conftest.er1
66640 cat conftest.err >&5
66641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66642 (exit $ac_status); } &&
66643 { ac_try='test -z "$ac_c_werror_flag"
66644 || test ! -s conftest.err'
66645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66646 (eval $ac_try) 2>&5
66647 ac_status=$?
66648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66649 (exit $ac_status); }; } &&
66650 { ac_try='test -s conftest$ac_exeext'
66651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66652 (eval $ac_try) 2>&5
66653 ac_status=$?
66654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66655 (exit $ac_status); }; }; then
66656 eval "$as_ac_var=yes"
66657 else
66658 echo "$as_me: failed program was:" >&5
66659 sed 's/^/| /' conftest.$ac_ext >&5
66661 eval "$as_ac_var=no"
66663 rm -f conftest.err conftest.$ac_objext \
66664 conftest$ac_exeext conftest.$ac_ext
66666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66668 if test `eval echo '${'$as_ac_var'}'` = yes; then
66669 cat >>confdefs.h <<_ACEOF
66670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66671 _ACEOF
66674 done
66684 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66685 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66686 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66687 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66688 echo $ECHO_N "(cached) $ECHO_C" >&6
66689 else
66693 ac_ext=cc
66694 ac_cpp='$CXXCPP $CPPFLAGS'
66695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66699 cat >conftest.$ac_ext <<_ACEOF
66700 /* confdefs.h. */
66701 _ACEOF
66702 cat confdefs.h >>conftest.$ac_ext
66703 cat >>conftest.$ac_ext <<_ACEOF
66704 /* end confdefs.h. */
66705 #include <math.h>
66707 main ()
66709 atan2l(0, 0);
66711 return 0;
66713 _ACEOF
66714 rm -f conftest.$ac_objext
66715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66716 (eval $ac_compile) 2>conftest.er1
66717 ac_status=$?
66718 grep -v '^ *+' conftest.er1 >conftest.err
66719 rm -f conftest.er1
66720 cat conftest.err >&5
66721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66722 (exit $ac_status); } &&
66723 { ac_try='test -z "$ac_cxx_werror_flag"
66724 || test ! -s conftest.err'
66725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66726 (eval $ac_try) 2>&5
66727 ac_status=$?
66728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66729 (exit $ac_status); }; } &&
66730 { ac_try='test -s conftest.$ac_objext'
66731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66732 (eval $ac_try) 2>&5
66733 ac_status=$?
66734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66735 (exit $ac_status); }; }; then
66736 glibcxx_cv_func_atan2l_use=yes
66737 else
66738 echo "$as_me: failed program was:" >&5
66739 sed 's/^/| /' conftest.$ac_ext >&5
66741 glibcxx_cv_func_atan2l_use=no
66743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66744 ac_ext=c
66745 ac_cpp='$CPP $CPPFLAGS'
66746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66755 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66757 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66759 for ac_func in atan2l
66761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66762 echo "$as_me:$LINENO: checking for $ac_func" >&5
66763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66764 if eval "test \"\${$as_ac_var+set}\" = set"; then
66765 echo $ECHO_N "(cached) $ECHO_C" >&6
66766 else
66767 if test x$gcc_no_link = xyes; then
66768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66770 { (exit 1); exit 1; }; }
66772 cat >conftest.$ac_ext <<_ACEOF
66773 /* confdefs.h. */
66774 _ACEOF
66775 cat confdefs.h >>conftest.$ac_ext
66776 cat >>conftest.$ac_ext <<_ACEOF
66777 /* end confdefs.h. */
66778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66780 #define $ac_func innocuous_$ac_func
66782 /* System header to define __stub macros and hopefully few prototypes,
66783 which can conflict with char $ac_func (); below.
66784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66785 <limits.h> exists even on freestanding compilers. */
66787 #ifdef __STDC__
66788 # include <limits.h>
66789 #else
66790 # include <assert.h>
66791 #endif
66793 #undef $ac_func
66795 /* Override any gcc2 internal prototype to avoid an error. */
66796 #ifdef __cplusplus
66797 extern "C"
66799 #endif
66800 /* We use char because int might match the return type of a gcc2
66801 builtin and then its argument prototype would still apply. */
66802 char $ac_func ();
66803 /* The GNU C library defines this for functions which it implements
66804 to always fail with ENOSYS. Some functions are actually named
66805 something starting with __ and the normal name is an alias. */
66806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66807 choke me
66808 #else
66809 char (*f) () = $ac_func;
66810 #endif
66811 #ifdef __cplusplus
66813 #endif
66816 main ()
66818 return f != $ac_func;
66820 return 0;
66822 _ACEOF
66823 rm -f conftest.$ac_objext conftest$ac_exeext
66824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66825 (eval $ac_link) 2>conftest.er1
66826 ac_status=$?
66827 grep -v '^ *+' conftest.er1 >conftest.err
66828 rm -f conftest.er1
66829 cat conftest.err >&5
66830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66831 (exit $ac_status); } &&
66832 { ac_try='test -z "$ac_c_werror_flag"
66833 || test ! -s conftest.err'
66834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66835 (eval $ac_try) 2>&5
66836 ac_status=$?
66837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66838 (exit $ac_status); }; } &&
66839 { ac_try='test -s conftest$ac_exeext'
66840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66841 (eval $ac_try) 2>&5
66842 ac_status=$?
66843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66844 (exit $ac_status); }; }; then
66845 eval "$as_ac_var=yes"
66846 else
66847 echo "$as_me: failed program was:" >&5
66848 sed 's/^/| /' conftest.$ac_ext >&5
66850 eval "$as_ac_var=no"
66852 rm -f conftest.err conftest.$ac_objext \
66853 conftest$ac_exeext conftest.$ac_ext
66855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66857 if test `eval echo '${'$as_ac_var'}'` = yes; then
66858 cat >>confdefs.h <<_ACEOF
66859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66860 _ACEOF
66863 done
66865 else
66867 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66868 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66869 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66870 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66871 echo $ECHO_N "(cached) $ECHO_C" >&6
66872 else
66876 ac_ext=cc
66877 ac_cpp='$CXXCPP $CPPFLAGS'
66878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66882 cat >conftest.$ac_ext <<_ACEOF
66883 /* confdefs.h. */
66884 _ACEOF
66885 cat confdefs.h >>conftest.$ac_ext
66886 cat >>conftest.$ac_ext <<_ACEOF
66887 /* end confdefs.h. */
66888 #include <math.h>
66890 main ()
66892 _atan2l(0, 0);
66894 return 0;
66896 _ACEOF
66897 rm -f conftest.$ac_objext
66898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66899 (eval $ac_compile) 2>conftest.er1
66900 ac_status=$?
66901 grep -v '^ *+' conftest.er1 >conftest.err
66902 rm -f conftest.er1
66903 cat conftest.err >&5
66904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66905 (exit $ac_status); } &&
66906 { ac_try='test -z "$ac_cxx_werror_flag"
66907 || test ! -s conftest.err'
66908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66909 (eval $ac_try) 2>&5
66910 ac_status=$?
66911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66912 (exit $ac_status); }; } &&
66913 { ac_try='test -s conftest.$ac_objext'
66914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66915 (eval $ac_try) 2>&5
66916 ac_status=$?
66917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66918 (exit $ac_status); }; }; then
66919 glibcxx_cv_func__atan2l_use=yes
66920 else
66921 echo "$as_me: failed program was:" >&5
66922 sed 's/^/| /' conftest.$ac_ext >&5
66924 glibcxx_cv_func__atan2l_use=no
66926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66927 ac_ext=c
66928 ac_cpp='$CPP $CPPFLAGS'
66929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66937 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66938 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66940 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66942 for ac_func in _atan2l
66944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66945 echo "$as_me:$LINENO: checking for $ac_func" >&5
66946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66947 if eval "test \"\${$as_ac_var+set}\" = set"; then
66948 echo $ECHO_N "(cached) $ECHO_C" >&6
66949 else
66950 if test x$gcc_no_link = xyes; then
66951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66953 { (exit 1); exit 1; }; }
66955 cat >conftest.$ac_ext <<_ACEOF
66956 /* confdefs.h. */
66957 _ACEOF
66958 cat confdefs.h >>conftest.$ac_ext
66959 cat >>conftest.$ac_ext <<_ACEOF
66960 /* end confdefs.h. */
66961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66963 #define $ac_func innocuous_$ac_func
66965 /* System header to define __stub macros and hopefully few prototypes,
66966 which can conflict with char $ac_func (); below.
66967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66968 <limits.h> exists even on freestanding compilers. */
66970 #ifdef __STDC__
66971 # include <limits.h>
66972 #else
66973 # include <assert.h>
66974 #endif
66976 #undef $ac_func
66978 /* Override any gcc2 internal prototype to avoid an error. */
66979 #ifdef __cplusplus
66980 extern "C"
66982 #endif
66983 /* We use char because int might match the return type of a gcc2
66984 builtin and then its argument prototype would still apply. */
66985 char $ac_func ();
66986 /* The GNU C library defines this for functions which it implements
66987 to always fail with ENOSYS. Some functions are actually named
66988 something starting with __ and the normal name is an alias. */
66989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66990 choke me
66991 #else
66992 char (*f) () = $ac_func;
66993 #endif
66994 #ifdef __cplusplus
66996 #endif
66999 main ()
67001 return f != $ac_func;
67003 return 0;
67005 _ACEOF
67006 rm -f conftest.$ac_objext conftest$ac_exeext
67007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67008 (eval $ac_link) 2>conftest.er1
67009 ac_status=$?
67010 grep -v '^ *+' conftest.er1 >conftest.err
67011 rm -f conftest.er1
67012 cat conftest.err >&5
67013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67014 (exit $ac_status); } &&
67015 { ac_try='test -z "$ac_c_werror_flag"
67016 || test ! -s conftest.err'
67017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67018 (eval $ac_try) 2>&5
67019 ac_status=$?
67020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67021 (exit $ac_status); }; } &&
67022 { ac_try='test -s conftest$ac_exeext'
67023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67024 (eval $ac_try) 2>&5
67025 ac_status=$?
67026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67027 (exit $ac_status); }; }; then
67028 eval "$as_ac_var=yes"
67029 else
67030 echo "$as_me: failed program was:" >&5
67031 sed 's/^/| /' conftest.$ac_ext >&5
67033 eval "$as_ac_var=no"
67035 rm -f conftest.err conftest.$ac_objext \
67036 conftest$ac_exeext conftest.$ac_ext
67038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67040 if test `eval echo '${'$as_ac_var'}'` = yes; then
67041 cat >>confdefs.h <<_ACEOF
67042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67043 _ACEOF
67046 done
67056 echo "$as_me:$LINENO: checking for expl declaration" >&5
67057 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
67058 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67059 if test "${glibcxx_cv_func_expl_use+set}" = set; then
67060 echo $ECHO_N "(cached) $ECHO_C" >&6
67061 else
67065 ac_ext=cc
67066 ac_cpp='$CXXCPP $CPPFLAGS'
67067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67071 cat >conftest.$ac_ext <<_ACEOF
67072 /* confdefs.h. */
67073 _ACEOF
67074 cat confdefs.h >>conftest.$ac_ext
67075 cat >>conftest.$ac_ext <<_ACEOF
67076 /* end confdefs.h. */
67077 #include <math.h>
67078 #ifdef HAVE_IEEEFP_H
67079 #include <ieeefp.h>
67080 #endif
67083 main ()
67085 expl(0);
67087 return 0;
67089 _ACEOF
67090 rm -f conftest.$ac_objext
67091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67092 (eval $ac_compile) 2>conftest.er1
67093 ac_status=$?
67094 grep -v '^ *+' conftest.er1 >conftest.err
67095 rm -f conftest.er1
67096 cat conftest.err >&5
67097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67098 (exit $ac_status); } &&
67099 { ac_try='test -z "$ac_cxx_werror_flag"
67100 || test ! -s conftest.err'
67101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67102 (eval $ac_try) 2>&5
67103 ac_status=$?
67104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67105 (exit $ac_status); }; } &&
67106 { ac_try='test -s conftest.$ac_objext'
67107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67108 (eval $ac_try) 2>&5
67109 ac_status=$?
67110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67111 (exit $ac_status); }; }; then
67112 glibcxx_cv_func_expl_use=yes
67113 else
67114 echo "$as_me: failed program was:" >&5
67115 sed 's/^/| /' conftest.$ac_ext >&5
67117 glibcxx_cv_func_expl_use=no
67119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67120 ac_ext=c
67121 ac_cpp='$CPP $CPPFLAGS'
67122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67130 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
67131 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
67133 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67135 for ac_func in expl
67137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67138 echo "$as_me:$LINENO: checking for $ac_func" >&5
67139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67140 if eval "test \"\${$as_ac_var+set}\" = set"; then
67141 echo $ECHO_N "(cached) $ECHO_C" >&6
67142 else
67143 if test x$gcc_no_link = xyes; then
67144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67146 { (exit 1); exit 1; }; }
67148 cat >conftest.$ac_ext <<_ACEOF
67149 /* confdefs.h. */
67150 _ACEOF
67151 cat confdefs.h >>conftest.$ac_ext
67152 cat >>conftest.$ac_ext <<_ACEOF
67153 /* end confdefs.h. */
67154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67156 #define $ac_func innocuous_$ac_func
67158 /* System header to define __stub macros and hopefully few prototypes,
67159 which can conflict with char $ac_func (); below.
67160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67161 <limits.h> exists even on freestanding compilers. */
67163 #ifdef __STDC__
67164 # include <limits.h>
67165 #else
67166 # include <assert.h>
67167 #endif
67169 #undef $ac_func
67171 /* Override any gcc2 internal prototype to avoid an error. */
67172 #ifdef __cplusplus
67173 extern "C"
67175 #endif
67176 /* We use char because int might match the return type of a gcc2
67177 builtin and then its argument prototype would still apply. */
67178 char $ac_func ();
67179 /* The GNU C library defines this for functions which it implements
67180 to always fail with ENOSYS. Some functions are actually named
67181 something starting with __ and the normal name is an alias. */
67182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67183 choke me
67184 #else
67185 char (*f) () = $ac_func;
67186 #endif
67187 #ifdef __cplusplus
67189 #endif
67192 main ()
67194 return f != $ac_func;
67196 return 0;
67198 _ACEOF
67199 rm -f conftest.$ac_objext conftest$ac_exeext
67200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67201 (eval $ac_link) 2>conftest.er1
67202 ac_status=$?
67203 grep -v '^ *+' conftest.er1 >conftest.err
67204 rm -f conftest.er1
67205 cat conftest.err >&5
67206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67207 (exit $ac_status); } &&
67208 { ac_try='test -z "$ac_c_werror_flag"
67209 || test ! -s conftest.err'
67210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67211 (eval $ac_try) 2>&5
67212 ac_status=$?
67213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67214 (exit $ac_status); }; } &&
67215 { ac_try='test -s conftest$ac_exeext'
67216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67217 (eval $ac_try) 2>&5
67218 ac_status=$?
67219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67220 (exit $ac_status); }; }; then
67221 eval "$as_ac_var=yes"
67222 else
67223 echo "$as_me: failed program was:" >&5
67224 sed 's/^/| /' conftest.$ac_ext >&5
67226 eval "$as_ac_var=no"
67228 rm -f conftest.err conftest.$ac_objext \
67229 conftest$ac_exeext conftest.$ac_ext
67231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67233 if test `eval echo '${'$as_ac_var'}'` = yes; then
67234 cat >>confdefs.h <<_ACEOF
67235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67236 _ACEOF
67239 done
67241 else
67243 echo "$as_me:$LINENO: checking for _expl declaration" >&5
67244 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
67245 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67246 if test "${glibcxx_cv_func__expl_use+set}" = set; then
67247 echo $ECHO_N "(cached) $ECHO_C" >&6
67248 else
67252 ac_ext=cc
67253 ac_cpp='$CXXCPP $CPPFLAGS'
67254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67258 cat >conftest.$ac_ext <<_ACEOF
67259 /* confdefs.h. */
67260 _ACEOF
67261 cat confdefs.h >>conftest.$ac_ext
67262 cat >>conftest.$ac_ext <<_ACEOF
67263 /* end confdefs.h. */
67264 #include <math.h>
67265 #ifdef HAVE_IEEEFP_H
67266 #include <ieeefp.h>
67267 #endif
67270 main ()
67272 _expl(0);
67274 return 0;
67276 _ACEOF
67277 rm -f conftest.$ac_objext
67278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67279 (eval $ac_compile) 2>conftest.er1
67280 ac_status=$?
67281 grep -v '^ *+' conftest.er1 >conftest.err
67282 rm -f conftest.er1
67283 cat conftest.err >&5
67284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67285 (exit $ac_status); } &&
67286 { ac_try='test -z "$ac_cxx_werror_flag"
67287 || test ! -s conftest.err'
67288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67289 (eval $ac_try) 2>&5
67290 ac_status=$?
67291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67292 (exit $ac_status); }; } &&
67293 { ac_try='test -s conftest.$ac_objext'
67294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67295 (eval $ac_try) 2>&5
67296 ac_status=$?
67297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67298 (exit $ac_status); }; }; then
67299 glibcxx_cv_func__expl_use=yes
67300 else
67301 echo "$as_me: failed program was:" >&5
67302 sed 's/^/| /' conftest.$ac_ext >&5
67304 glibcxx_cv_func__expl_use=no
67306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67307 ac_ext=c
67308 ac_cpp='$CPP $CPPFLAGS'
67309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67317 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
67318 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
67320 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67322 for ac_func in _expl
67324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67325 echo "$as_me:$LINENO: checking for $ac_func" >&5
67326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67327 if eval "test \"\${$as_ac_var+set}\" = set"; then
67328 echo $ECHO_N "(cached) $ECHO_C" >&6
67329 else
67330 if test x$gcc_no_link = xyes; then
67331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67333 { (exit 1); exit 1; }; }
67335 cat >conftest.$ac_ext <<_ACEOF
67336 /* confdefs.h. */
67337 _ACEOF
67338 cat confdefs.h >>conftest.$ac_ext
67339 cat >>conftest.$ac_ext <<_ACEOF
67340 /* end confdefs.h. */
67341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67343 #define $ac_func innocuous_$ac_func
67345 /* System header to define __stub macros and hopefully few prototypes,
67346 which can conflict with char $ac_func (); below.
67347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67348 <limits.h> exists even on freestanding compilers. */
67350 #ifdef __STDC__
67351 # include <limits.h>
67352 #else
67353 # include <assert.h>
67354 #endif
67356 #undef $ac_func
67358 /* Override any gcc2 internal prototype to avoid an error. */
67359 #ifdef __cplusplus
67360 extern "C"
67362 #endif
67363 /* We use char because int might match the return type of a gcc2
67364 builtin and then its argument prototype would still apply. */
67365 char $ac_func ();
67366 /* The GNU C library defines this for functions which it implements
67367 to always fail with ENOSYS. Some functions are actually named
67368 something starting with __ and the normal name is an alias. */
67369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67370 choke me
67371 #else
67372 char (*f) () = $ac_func;
67373 #endif
67374 #ifdef __cplusplus
67376 #endif
67379 main ()
67381 return f != $ac_func;
67383 return 0;
67385 _ACEOF
67386 rm -f conftest.$ac_objext conftest$ac_exeext
67387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67388 (eval $ac_link) 2>conftest.er1
67389 ac_status=$?
67390 grep -v '^ *+' conftest.er1 >conftest.err
67391 rm -f conftest.er1
67392 cat conftest.err >&5
67393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67394 (exit $ac_status); } &&
67395 { ac_try='test -z "$ac_c_werror_flag"
67396 || test ! -s conftest.err'
67397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67398 (eval $ac_try) 2>&5
67399 ac_status=$?
67400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67401 (exit $ac_status); }; } &&
67402 { ac_try='test -s conftest$ac_exeext'
67403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67404 (eval $ac_try) 2>&5
67405 ac_status=$?
67406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67407 (exit $ac_status); }; }; then
67408 eval "$as_ac_var=yes"
67409 else
67410 echo "$as_me: failed program was:" >&5
67411 sed 's/^/| /' conftest.$ac_ext >&5
67413 eval "$as_ac_var=no"
67415 rm -f conftest.err conftest.$ac_objext \
67416 conftest$ac_exeext conftest.$ac_ext
67418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67420 if test `eval echo '${'$as_ac_var'}'` = yes; then
67421 cat >>confdefs.h <<_ACEOF
67422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67423 _ACEOF
67426 done
67436 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
67437 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
67438 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67439 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
67440 echo $ECHO_N "(cached) $ECHO_C" >&6
67441 else
67445 ac_ext=cc
67446 ac_cpp='$CXXCPP $CPPFLAGS'
67447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67451 cat >conftest.$ac_ext <<_ACEOF
67452 /* confdefs.h. */
67453 _ACEOF
67454 cat confdefs.h >>conftest.$ac_ext
67455 cat >>conftest.$ac_ext <<_ACEOF
67456 /* end confdefs.h. */
67457 #include <math.h>
67458 #ifdef HAVE_IEEEFP_H
67459 #include <ieeefp.h>
67460 #endif
67463 main ()
67465 fabsl(0);
67467 return 0;
67469 _ACEOF
67470 rm -f conftest.$ac_objext
67471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67472 (eval $ac_compile) 2>conftest.er1
67473 ac_status=$?
67474 grep -v '^ *+' conftest.er1 >conftest.err
67475 rm -f conftest.er1
67476 cat conftest.err >&5
67477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67478 (exit $ac_status); } &&
67479 { ac_try='test -z "$ac_cxx_werror_flag"
67480 || test ! -s conftest.err'
67481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67482 (eval $ac_try) 2>&5
67483 ac_status=$?
67484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67485 (exit $ac_status); }; } &&
67486 { ac_try='test -s conftest.$ac_objext'
67487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67488 (eval $ac_try) 2>&5
67489 ac_status=$?
67490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67491 (exit $ac_status); }; }; then
67492 glibcxx_cv_func_fabsl_use=yes
67493 else
67494 echo "$as_me: failed program was:" >&5
67495 sed 's/^/| /' conftest.$ac_ext >&5
67497 glibcxx_cv_func_fabsl_use=no
67499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67500 ac_ext=c
67501 ac_cpp='$CPP $CPPFLAGS'
67502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67511 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67513 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67515 for ac_func in fabsl
67517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67518 echo "$as_me:$LINENO: checking for $ac_func" >&5
67519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67520 if eval "test \"\${$as_ac_var+set}\" = set"; then
67521 echo $ECHO_N "(cached) $ECHO_C" >&6
67522 else
67523 if test x$gcc_no_link = xyes; then
67524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67526 { (exit 1); exit 1; }; }
67528 cat >conftest.$ac_ext <<_ACEOF
67529 /* confdefs.h. */
67530 _ACEOF
67531 cat confdefs.h >>conftest.$ac_ext
67532 cat >>conftest.$ac_ext <<_ACEOF
67533 /* end confdefs.h. */
67534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67536 #define $ac_func innocuous_$ac_func
67538 /* System header to define __stub macros and hopefully few prototypes,
67539 which can conflict with char $ac_func (); below.
67540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67541 <limits.h> exists even on freestanding compilers. */
67543 #ifdef __STDC__
67544 # include <limits.h>
67545 #else
67546 # include <assert.h>
67547 #endif
67549 #undef $ac_func
67551 /* Override any gcc2 internal prototype to avoid an error. */
67552 #ifdef __cplusplus
67553 extern "C"
67555 #endif
67556 /* We use char because int might match the return type of a gcc2
67557 builtin and then its argument prototype would still apply. */
67558 char $ac_func ();
67559 /* The GNU C library defines this for functions which it implements
67560 to always fail with ENOSYS. Some functions are actually named
67561 something starting with __ and the normal name is an alias. */
67562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67563 choke me
67564 #else
67565 char (*f) () = $ac_func;
67566 #endif
67567 #ifdef __cplusplus
67569 #endif
67572 main ()
67574 return f != $ac_func;
67576 return 0;
67578 _ACEOF
67579 rm -f conftest.$ac_objext conftest$ac_exeext
67580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67581 (eval $ac_link) 2>conftest.er1
67582 ac_status=$?
67583 grep -v '^ *+' conftest.er1 >conftest.err
67584 rm -f conftest.er1
67585 cat conftest.err >&5
67586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67587 (exit $ac_status); } &&
67588 { ac_try='test -z "$ac_c_werror_flag"
67589 || test ! -s conftest.err'
67590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67591 (eval $ac_try) 2>&5
67592 ac_status=$?
67593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67594 (exit $ac_status); }; } &&
67595 { ac_try='test -s conftest$ac_exeext'
67596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67597 (eval $ac_try) 2>&5
67598 ac_status=$?
67599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67600 (exit $ac_status); }; }; then
67601 eval "$as_ac_var=yes"
67602 else
67603 echo "$as_me: failed program was:" >&5
67604 sed 's/^/| /' conftest.$ac_ext >&5
67606 eval "$as_ac_var=no"
67608 rm -f conftest.err conftest.$ac_objext \
67609 conftest$ac_exeext conftest.$ac_ext
67611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67613 if test `eval echo '${'$as_ac_var'}'` = yes; then
67614 cat >>confdefs.h <<_ACEOF
67615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67616 _ACEOF
67619 done
67621 else
67623 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67624 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67625 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67626 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67627 echo $ECHO_N "(cached) $ECHO_C" >&6
67628 else
67632 ac_ext=cc
67633 ac_cpp='$CXXCPP $CPPFLAGS'
67634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67638 cat >conftest.$ac_ext <<_ACEOF
67639 /* confdefs.h. */
67640 _ACEOF
67641 cat confdefs.h >>conftest.$ac_ext
67642 cat >>conftest.$ac_ext <<_ACEOF
67643 /* end confdefs.h. */
67644 #include <math.h>
67645 #ifdef HAVE_IEEEFP_H
67646 #include <ieeefp.h>
67647 #endif
67650 main ()
67652 _fabsl(0);
67654 return 0;
67656 _ACEOF
67657 rm -f conftest.$ac_objext
67658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67659 (eval $ac_compile) 2>conftest.er1
67660 ac_status=$?
67661 grep -v '^ *+' conftest.er1 >conftest.err
67662 rm -f conftest.er1
67663 cat conftest.err >&5
67664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67665 (exit $ac_status); } &&
67666 { ac_try='test -z "$ac_cxx_werror_flag"
67667 || test ! -s conftest.err'
67668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67669 (eval $ac_try) 2>&5
67670 ac_status=$?
67671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67672 (exit $ac_status); }; } &&
67673 { ac_try='test -s conftest.$ac_objext'
67674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67675 (eval $ac_try) 2>&5
67676 ac_status=$?
67677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67678 (exit $ac_status); }; }; then
67679 glibcxx_cv_func__fabsl_use=yes
67680 else
67681 echo "$as_me: failed program was:" >&5
67682 sed 's/^/| /' conftest.$ac_ext >&5
67684 glibcxx_cv_func__fabsl_use=no
67686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67687 ac_ext=c
67688 ac_cpp='$CPP $CPPFLAGS'
67689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67697 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67698 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67700 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67702 for ac_func in _fabsl
67704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67705 echo "$as_me:$LINENO: checking for $ac_func" >&5
67706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67707 if eval "test \"\${$as_ac_var+set}\" = set"; then
67708 echo $ECHO_N "(cached) $ECHO_C" >&6
67709 else
67710 if test x$gcc_no_link = xyes; then
67711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67713 { (exit 1); exit 1; }; }
67715 cat >conftest.$ac_ext <<_ACEOF
67716 /* confdefs.h. */
67717 _ACEOF
67718 cat confdefs.h >>conftest.$ac_ext
67719 cat >>conftest.$ac_ext <<_ACEOF
67720 /* end confdefs.h. */
67721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67723 #define $ac_func innocuous_$ac_func
67725 /* System header to define __stub macros and hopefully few prototypes,
67726 which can conflict with char $ac_func (); below.
67727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67728 <limits.h> exists even on freestanding compilers. */
67730 #ifdef __STDC__
67731 # include <limits.h>
67732 #else
67733 # include <assert.h>
67734 #endif
67736 #undef $ac_func
67738 /* Override any gcc2 internal prototype to avoid an error. */
67739 #ifdef __cplusplus
67740 extern "C"
67742 #endif
67743 /* We use char because int might match the return type of a gcc2
67744 builtin and then its argument prototype would still apply. */
67745 char $ac_func ();
67746 /* The GNU C library defines this for functions which it implements
67747 to always fail with ENOSYS. Some functions are actually named
67748 something starting with __ and the normal name is an alias. */
67749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67750 choke me
67751 #else
67752 char (*f) () = $ac_func;
67753 #endif
67754 #ifdef __cplusplus
67756 #endif
67759 main ()
67761 return f != $ac_func;
67763 return 0;
67765 _ACEOF
67766 rm -f conftest.$ac_objext conftest$ac_exeext
67767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67768 (eval $ac_link) 2>conftest.er1
67769 ac_status=$?
67770 grep -v '^ *+' conftest.er1 >conftest.err
67771 rm -f conftest.er1
67772 cat conftest.err >&5
67773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67774 (exit $ac_status); } &&
67775 { ac_try='test -z "$ac_c_werror_flag"
67776 || test ! -s conftest.err'
67777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67778 (eval $ac_try) 2>&5
67779 ac_status=$?
67780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67781 (exit $ac_status); }; } &&
67782 { ac_try='test -s conftest$ac_exeext'
67783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67784 (eval $ac_try) 2>&5
67785 ac_status=$?
67786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67787 (exit $ac_status); }; }; then
67788 eval "$as_ac_var=yes"
67789 else
67790 echo "$as_me: failed program was:" >&5
67791 sed 's/^/| /' conftest.$ac_ext >&5
67793 eval "$as_ac_var=no"
67795 rm -f conftest.err conftest.$ac_objext \
67796 conftest$ac_exeext conftest.$ac_ext
67798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67800 if test `eval echo '${'$as_ac_var'}'` = yes; then
67801 cat >>confdefs.h <<_ACEOF
67802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67803 _ACEOF
67806 done
67816 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67817 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67818 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67819 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67820 echo $ECHO_N "(cached) $ECHO_C" >&6
67821 else
67825 ac_ext=cc
67826 ac_cpp='$CXXCPP $CPPFLAGS'
67827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67831 cat >conftest.$ac_ext <<_ACEOF
67832 /* confdefs.h. */
67833 _ACEOF
67834 cat confdefs.h >>conftest.$ac_ext
67835 cat >>conftest.$ac_ext <<_ACEOF
67836 /* end confdefs.h. */
67837 #include <math.h>
67839 main ()
67841 fmodl(0, 0);
67843 return 0;
67845 _ACEOF
67846 rm -f conftest.$ac_objext
67847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67848 (eval $ac_compile) 2>conftest.er1
67849 ac_status=$?
67850 grep -v '^ *+' conftest.er1 >conftest.err
67851 rm -f conftest.er1
67852 cat conftest.err >&5
67853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67854 (exit $ac_status); } &&
67855 { ac_try='test -z "$ac_cxx_werror_flag"
67856 || test ! -s conftest.err'
67857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67858 (eval $ac_try) 2>&5
67859 ac_status=$?
67860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67861 (exit $ac_status); }; } &&
67862 { ac_try='test -s conftest.$ac_objext'
67863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67864 (eval $ac_try) 2>&5
67865 ac_status=$?
67866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67867 (exit $ac_status); }; }; then
67868 glibcxx_cv_func_fmodl_use=yes
67869 else
67870 echo "$as_me: failed program was:" >&5
67871 sed 's/^/| /' conftest.$ac_ext >&5
67873 glibcxx_cv_func_fmodl_use=no
67875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67876 ac_ext=c
67877 ac_cpp='$CPP $CPPFLAGS'
67878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67886 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67887 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67889 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67891 for ac_func in fmodl
67893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67894 echo "$as_me:$LINENO: checking for $ac_func" >&5
67895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67896 if eval "test \"\${$as_ac_var+set}\" = set"; then
67897 echo $ECHO_N "(cached) $ECHO_C" >&6
67898 else
67899 if test x$gcc_no_link = xyes; then
67900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67902 { (exit 1); exit 1; }; }
67904 cat >conftest.$ac_ext <<_ACEOF
67905 /* confdefs.h. */
67906 _ACEOF
67907 cat confdefs.h >>conftest.$ac_ext
67908 cat >>conftest.$ac_ext <<_ACEOF
67909 /* end confdefs.h. */
67910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67912 #define $ac_func innocuous_$ac_func
67914 /* System header to define __stub macros and hopefully few prototypes,
67915 which can conflict with char $ac_func (); below.
67916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67917 <limits.h> exists even on freestanding compilers. */
67919 #ifdef __STDC__
67920 # include <limits.h>
67921 #else
67922 # include <assert.h>
67923 #endif
67925 #undef $ac_func
67927 /* Override any gcc2 internal prototype to avoid an error. */
67928 #ifdef __cplusplus
67929 extern "C"
67931 #endif
67932 /* We use char because int might match the return type of a gcc2
67933 builtin and then its argument prototype would still apply. */
67934 char $ac_func ();
67935 /* The GNU C library defines this for functions which it implements
67936 to always fail with ENOSYS. Some functions are actually named
67937 something starting with __ and the normal name is an alias. */
67938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67939 choke me
67940 #else
67941 char (*f) () = $ac_func;
67942 #endif
67943 #ifdef __cplusplus
67945 #endif
67948 main ()
67950 return f != $ac_func;
67952 return 0;
67954 _ACEOF
67955 rm -f conftest.$ac_objext conftest$ac_exeext
67956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67957 (eval $ac_link) 2>conftest.er1
67958 ac_status=$?
67959 grep -v '^ *+' conftest.er1 >conftest.err
67960 rm -f conftest.er1
67961 cat conftest.err >&5
67962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67963 (exit $ac_status); } &&
67964 { ac_try='test -z "$ac_c_werror_flag"
67965 || test ! -s conftest.err'
67966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67967 (eval $ac_try) 2>&5
67968 ac_status=$?
67969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67970 (exit $ac_status); }; } &&
67971 { ac_try='test -s conftest$ac_exeext'
67972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67973 (eval $ac_try) 2>&5
67974 ac_status=$?
67975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67976 (exit $ac_status); }; }; then
67977 eval "$as_ac_var=yes"
67978 else
67979 echo "$as_me: failed program was:" >&5
67980 sed 's/^/| /' conftest.$ac_ext >&5
67982 eval "$as_ac_var=no"
67984 rm -f conftest.err conftest.$ac_objext \
67985 conftest$ac_exeext conftest.$ac_ext
67987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67989 if test `eval echo '${'$as_ac_var'}'` = yes; then
67990 cat >>confdefs.h <<_ACEOF
67991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67992 _ACEOF
67995 done
67997 else
67999 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
68000 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
68001 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68002 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
68003 echo $ECHO_N "(cached) $ECHO_C" >&6
68004 else
68008 ac_ext=cc
68009 ac_cpp='$CXXCPP $CPPFLAGS'
68010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68014 cat >conftest.$ac_ext <<_ACEOF
68015 /* confdefs.h. */
68016 _ACEOF
68017 cat confdefs.h >>conftest.$ac_ext
68018 cat >>conftest.$ac_ext <<_ACEOF
68019 /* end confdefs.h. */
68020 #include <math.h>
68022 main ()
68024 _fmodl(0, 0);
68026 return 0;
68028 _ACEOF
68029 rm -f conftest.$ac_objext
68030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68031 (eval $ac_compile) 2>conftest.er1
68032 ac_status=$?
68033 grep -v '^ *+' conftest.er1 >conftest.err
68034 rm -f conftest.er1
68035 cat conftest.err >&5
68036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68037 (exit $ac_status); } &&
68038 { ac_try='test -z "$ac_cxx_werror_flag"
68039 || test ! -s conftest.err'
68040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68041 (eval $ac_try) 2>&5
68042 ac_status=$?
68043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68044 (exit $ac_status); }; } &&
68045 { ac_try='test -s conftest.$ac_objext'
68046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68047 (eval $ac_try) 2>&5
68048 ac_status=$?
68049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68050 (exit $ac_status); }; }; then
68051 glibcxx_cv_func__fmodl_use=yes
68052 else
68053 echo "$as_me: failed program was:" >&5
68054 sed 's/^/| /' conftest.$ac_ext >&5
68056 glibcxx_cv_func__fmodl_use=no
68058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68059 ac_ext=c
68060 ac_cpp='$CPP $CPPFLAGS'
68061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68069 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
68070 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
68072 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68074 for ac_func in _fmodl
68076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68077 echo "$as_me:$LINENO: checking for $ac_func" >&5
68078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68079 if eval "test \"\${$as_ac_var+set}\" = set"; then
68080 echo $ECHO_N "(cached) $ECHO_C" >&6
68081 else
68082 if test x$gcc_no_link = xyes; then
68083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68085 { (exit 1); exit 1; }; }
68087 cat >conftest.$ac_ext <<_ACEOF
68088 /* confdefs.h. */
68089 _ACEOF
68090 cat confdefs.h >>conftest.$ac_ext
68091 cat >>conftest.$ac_ext <<_ACEOF
68092 /* end confdefs.h. */
68093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68095 #define $ac_func innocuous_$ac_func
68097 /* System header to define __stub macros and hopefully few prototypes,
68098 which can conflict with char $ac_func (); below.
68099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68100 <limits.h> exists even on freestanding compilers. */
68102 #ifdef __STDC__
68103 # include <limits.h>
68104 #else
68105 # include <assert.h>
68106 #endif
68108 #undef $ac_func
68110 /* Override any gcc2 internal prototype to avoid an error. */
68111 #ifdef __cplusplus
68112 extern "C"
68114 #endif
68115 /* We use char because int might match the return type of a gcc2
68116 builtin and then its argument prototype would still apply. */
68117 char $ac_func ();
68118 /* The GNU C library defines this for functions which it implements
68119 to always fail with ENOSYS. Some functions are actually named
68120 something starting with __ and the normal name is an alias. */
68121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68122 choke me
68123 #else
68124 char (*f) () = $ac_func;
68125 #endif
68126 #ifdef __cplusplus
68128 #endif
68131 main ()
68133 return f != $ac_func;
68135 return 0;
68137 _ACEOF
68138 rm -f conftest.$ac_objext conftest$ac_exeext
68139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68140 (eval $ac_link) 2>conftest.er1
68141 ac_status=$?
68142 grep -v '^ *+' conftest.er1 >conftest.err
68143 rm -f conftest.er1
68144 cat conftest.err >&5
68145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68146 (exit $ac_status); } &&
68147 { ac_try='test -z "$ac_c_werror_flag"
68148 || test ! -s conftest.err'
68149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68150 (eval $ac_try) 2>&5
68151 ac_status=$?
68152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68153 (exit $ac_status); }; } &&
68154 { ac_try='test -s conftest$ac_exeext'
68155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68156 (eval $ac_try) 2>&5
68157 ac_status=$?
68158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68159 (exit $ac_status); }; }; then
68160 eval "$as_ac_var=yes"
68161 else
68162 echo "$as_me: failed program was:" >&5
68163 sed 's/^/| /' conftest.$ac_ext >&5
68165 eval "$as_ac_var=no"
68167 rm -f conftest.err conftest.$ac_objext \
68168 conftest$ac_exeext conftest.$ac_ext
68170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68172 if test `eval echo '${'$as_ac_var'}'` = yes; then
68173 cat >>confdefs.h <<_ACEOF
68174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68175 _ACEOF
68178 done
68188 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
68189 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
68190 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68191 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
68192 echo $ECHO_N "(cached) $ECHO_C" >&6
68193 else
68197 ac_ext=cc
68198 ac_cpp='$CXXCPP $CPPFLAGS'
68199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68203 cat >conftest.$ac_ext <<_ACEOF
68204 /* confdefs.h. */
68205 _ACEOF
68206 cat confdefs.h >>conftest.$ac_ext
68207 cat >>conftest.$ac_ext <<_ACEOF
68208 /* end confdefs.h. */
68209 #include <math.h>
68211 main ()
68213 frexpl(0, 0);
68215 return 0;
68217 _ACEOF
68218 rm -f conftest.$ac_objext
68219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68220 (eval $ac_compile) 2>conftest.er1
68221 ac_status=$?
68222 grep -v '^ *+' conftest.er1 >conftest.err
68223 rm -f conftest.er1
68224 cat conftest.err >&5
68225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68226 (exit $ac_status); } &&
68227 { ac_try='test -z "$ac_cxx_werror_flag"
68228 || test ! -s conftest.err'
68229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68230 (eval $ac_try) 2>&5
68231 ac_status=$?
68232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68233 (exit $ac_status); }; } &&
68234 { ac_try='test -s conftest.$ac_objext'
68235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68236 (eval $ac_try) 2>&5
68237 ac_status=$?
68238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68239 (exit $ac_status); }; }; then
68240 glibcxx_cv_func_frexpl_use=yes
68241 else
68242 echo "$as_me: failed program was:" >&5
68243 sed 's/^/| /' conftest.$ac_ext >&5
68245 glibcxx_cv_func_frexpl_use=no
68247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68248 ac_ext=c
68249 ac_cpp='$CPP $CPPFLAGS'
68250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68258 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
68259 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
68261 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68263 for ac_func in frexpl
68265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68266 echo "$as_me:$LINENO: checking for $ac_func" >&5
68267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68268 if eval "test \"\${$as_ac_var+set}\" = set"; then
68269 echo $ECHO_N "(cached) $ECHO_C" >&6
68270 else
68271 if test x$gcc_no_link = xyes; then
68272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68274 { (exit 1); exit 1; }; }
68276 cat >conftest.$ac_ext <<_ACEOF
68277 /* confdefs.h. */
68278 _ACEOF
68279 cat confdefs.h >>conftest.$ac_ext
68280 cat >>conftest.$ac_ext <<_ACEOF
68281 /* end confdefs.h. */
68282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68284 #define $ac_func innocuous_$ac_func
68286 /* System header to define __stub macros and hopefully few prototypes,
68287 which can conflict with char $ac_func (); below.
68288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68289 <limits.h> exists even on freestanding compilers. */
68291 #ifdef __STDC__
68292 # include <limits.h>
68293 #else
68294 # include <assert.h>
68295 #endif
68297 #undef $ac_func
68299 /* Override any gcc2 internal prototype to avoid an error. */
68300 #ifdef __cplusplus
68301 extern "C"
68303 #endif
68304 /* We use char because int might match the return type of a gcc2
68305 builtin and then its argument prototype would still apply. */
68306 char $ac_func ();
68307 /* The GNU C library defines this for functions which it implements
68308 to always fail with ENOSYS. Some functions are actually named
68309 something starting with __ and the normal name is an alias. */
68310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68311 choke me
68312 #else
68313 char (*f) () = $ac_func;
68314 #endif
68315 #ifdef __cplusplus
68317 #endif
68320 main ()
68322 return f != $ac_func;
68324 return 0;
68326 _ACEOF
68327 rm -f conftest.$ac_objext conftest$ac_exeext
68328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68329 (eval $ac_link) 2>conftest.er1
68330 ac_status=$?
68331 grep -v '^ *+' conftest.er1 >conftest.err
68332 rm -f conftest.er1
68333 cat conftest.err >&5
68334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68335 (exit $ac_status); } &&
68336 { ac_try='test -z "$ac_c_werror_flag"
68337 || test ! -s conftest.err'
68338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68339 (eval $ac_try) 2>&5
68340 ac_status=$?
68341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68342 (exit $ac_status); }; } &&
68343 { ac_try='test -s conftest$ac_exeext'
68344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68345 (eval $ac_try) 2>&5
68346 ac_status=$?
68347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68348 (exit $ac_status); }; }; then
68349 eval "$as_ac_var=yes"
68350 else
68351 echo "$as_me: failed program was:" >&5
68352 sed 's/^/| /' conftest.$ac_ext >&5
68354 eval "$as_ac_var=no"
68356 rm -f conftest.err conftest.$ac_objext \
68357 conftest$ac_exeext conftest.$ac_ext
68359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68361 if test `eval echo '${'$as_ac_var'}'` = yes; then
68362 cat >>confdefs.h <<_ACEOF
68363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68364 _ACEOF
68367 done
68369 else
68371 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
68372 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
68373 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68374 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
68375 echo $ECHO_N "(cached) $ECHO_C" >&6
68376 else
68380 ac_ext=cc
68381 ac_cpp='$CXXCPP $CPPFLAGS'
68382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68386 cat >conftest.$ac_ext <<_ACEOF
68387 /* confdefs.h. */
68388 _ACEOF
68389 cat confdefs.h >>conftest.$ac_ext
68390 cat >>conftest.$ac_ext <<_ACEOF
68391 /* end confdefs.h. */
68392 #include <math.h>
68394 main ()
68396 _frexpl(0, 0);
68398 return 0;
68400 _ACEOF
68401 rm -f conftest.$ac_objext
68402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68403 (eval $ac_compile) 2>conftest.er1
68404 ac_status=$?
68405 grep -v '^ *+' conftest.er1 >conftest.err
68406 rm -f conftest.er1
68407 cat conftest.err >&5
68408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68409 (exit $ac_status); } &&
68410 { ac_try='test -z "$ac_cxx_werror_flag"
68411 || test ! -s conftest.err'
68412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68413 (eval $ac_try) 2>&5
68414 ac_status=$?
68415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68416 (exit $ac_status); }; } &&
68417 { ac_try='test -s conftest.$ac_objext'
68418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68419 (eval $ac_try) 2>&5
68420 ac_status=$?
68421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68422 (exit $ac_status); }; }; then
68423 glibcxx_cv_func__frexpl_use=yes
68424 else
68425 echo "$as_me: failed program was:" >&5
68426 sed 's/^/| /' conftest.$ac_ext >&5
68428 glibcxx_cv_func__frexpl_use=no
68430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68431 ac_ext=c
68432 ac_cpp='$CPP $CPPFLAGS'
68433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68441 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
68442 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
68444 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68446 for ac_func in _frexpl
68448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68449 echo "$as_me:$LINENO: checking for $ac_func" >&5
68450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68451 if eval "test \"\${$as_ac_var+set}\" = set"; then
68452 echo $ECHO_N "(cached) $ECHO_C" >&6
68453 else
68454 if test x$gcc_no_link = xyes; then
68455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68457 { (exit 1); exit 1; }; }
68459 cat >conftest.$ac_ext <<_ACEOF
68460 /* confdefs.h. */
68461 _ACEOF
68462 cat confdefs.h >>conftest.$ac_ext
68463 cat >>conftest.$ac_ext <<_ACEOF
68464 /* end confdefs.h. */
68465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68467 #define $ac_func innocuous_$ac_func
68469 /* System header to define __stub macros and hopefully few prototypes,
68470 which can conflict with char $ac_func (); below.
68471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68472 <limits.h> exists even on freestanding compilers. */
68474 #ifdef __STDC__
68475 # include <limits.h>
68476 #else
68477 # include <assert.h>
68478 #endif
68480 #undef $ac_func
68482 /* Override any gcc2 internal prototype to avoid an error. */
68483 #ifdef __cplusplus
68484 extern "C"
68486 #endif
68487 /* We use char because int might match the return type of a gcc2
68488 builtin and then its argument prototype would still apply. */
68489 char $ac_func ();
68490 /* The GNU C library defines this for functions which it implements
68491 to always fail with ENOSYS. Some functions are actually named
68492 something starting with __ and the normal name is an alias. */
68493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68494 choke me
68495 #else
68496 char (*f) () = $ac_func;
68497 #endif
68498 #ifdef __cplusplus
68500 #endif
68503 main ()
68505 return f != $ac_func;
68507 return 0;
68509 _ACEOF
68510 rm -f conftest.$ac_objext conftest$ac_exeext
68511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68512 (eval $ac_link) 2>conftest.er1
68513 ac_status=$?
68514 grep -v '^ *+' conftest.er1 >conftest.err
68515 rm -f conftest.er1
68516 cat conftest.err >&5
68517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68518 (exit $ac_status); } &&
68519 { ac_try='test -z "$ac_c_werror_flag"
68520 || test ! -s conftest.err'
68521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68522 (eval $ac_try) 2>&5
68523 ac_status=$?
68524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68525 (exit $ac_status); }; } &&
68526 { ac_try='test -s conftest$ac_exeext'
68527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68528 (eval $ac_try) 2>&5
68529 ac_status=$?
68530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68531 (exit $ac_status); }; }; then
68532 eval "$as_ac_var=yes"
68533 else
68534 echo "$as_me: failed program was:" >&5
68535 sed 's/^/| /' conftest.$ac_ext >&5
68537 eval "$as_ac_var=no"
68539 rm -f conftest.err conftest.$ac_objext \
68540 conftest$ac_exeext conftest.$ac_ext
68542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68544 if test `eval echo '${'$as_ac_var'}'` = yes; then
68545 cat >>confdefs.h <<_ACEOF
68546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68547 _ACEOF
68550 done
68560 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68561 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68562 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68563 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68564 echo $ECHO_N "(cached) $ECHO_C" >&6
68565 else
68569 ac_ext=cc
68570 ac_cpp='$CXXCPP $CPPFLAGS'
68571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68575 cat >conftest.$ac_ext <<_ACEOF
68576 /* confdefs.h. */
68577 _ACEOF
68578 cat confdefs.h >>conftest.$ac_ext
68579 cat >>conftest.$ac_ext <<_ACEOF
68580 /* end confdefs.h. */
68581 #include <math.h>
68583 main ()
68585 hypotl(0, 0);
68587 return 0;
68589 _ACEOF
68590 rm -f conftest.$ac_objext
68591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68592 (eval $ac_compile) 2>conftest.er1
68593 ac_status=$?
68594 grep -v '^ *+' conftest.er1 >conftest.err
68595 rm -f conftest.er1
68596 cat conftest.err >&5
68597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68598 (exit $ac_status); } &&
68599 { ac_try='test -z "$ac_cxx_werror_flag"
68600 || test ! -s conftest.err'
68601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68602 (eval $ac_try) 2>&5
68603 ac_status=$?
68604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68605 (exit $ac_status); }; } &&
68606 { ac_try='test -s conftest.$ac_objext'
68607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68608 (eval $ac_try) 2>&5
68609 ac_status=$?
68610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68611 (exit $ac_status); }; }; then
68612 glibcxx_cv_func_hypotl_use=yes
68613 else
68614 echo "$as_me: failed program was:" >&5
68615 sed 's/^/| /' conftest.$ac_ext >&5
68617 glibcxx_cv_func_hypotl_use=no
68619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68620 ac_ext=c
68621 ac_cpp='$CPP $CPPFLAGS'
68622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68630 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68631 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68633 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68635 for ac_func in hypotl
68637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68638 echo "$as_me:$LINENO: checking for $ac_func" >&5
68639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68640 if eval "test \"\${$as_ac_var+set}\" = set"; then
68641 echo $ECHO_N "(cached) $ECHO_C" >&6
68642 else
68643 if test x$gcc_no_link = xyes; then
68644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68646 { (exit 1); exit 1; }; }
68648 cat >conftest.$ac_ext <<_ACEOF
68649 /* confdefs.h. */
68650 _ACEOF
68651 cat confdefs.h >>conftest.$ac_ext
68652 cat >>conftest.$ac_ext <<_ACEOF
68653 /* end confdefs.h. */
68654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68656 #define $ac_func innocuous_$ac_func
68658 /* System header to define __stub macros and hopefully few prototypes,
68659 which can conflict with char $ac_func (); below.
68660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68661 <limits.h> exists even on freestanding compilers. */
68663 #ifdef __STDC__
68664 # include <limits.h>
68665 #else
68666 # include <assert.h>
68667 #endif
68669 #undef $ac_func
68671 /* Override any gcc2 internal prototype to avoid an error. */
68672 #ifdef __cplusplus
68673 extern "C"
68675 #endif
68676 /* We use char because int might match the return type of a gcc2
68677 builtin and then its argument prototype would still apply. */
68678 char $ac_func ();
68679 /* The GNU C library defines this for functions which it implements
68680 to always fail with ENOSYS. Some functions are actually named
68681 something starting with __ and the normal name is an alias. */
68682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68683 choke me
68684 #else
68685 char (*f) () = $ac_func;
68686 #endif
68687 #ifdef __cplusplus
68689 #endif
68692 main ()
68694 return f != $ac_func;
68696 return 0;
68698 _ACEOF
68699 rm -f conftest.$ac_objext conftest$ac_exeext
68700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68701 (eval $ac_link) 2>conftest.er1
68702 ac_status=$?
68703 grep -v '^ *+' conftest.er1 >conftest.err
68704 rm -f conftest.er1
68705 cat conftest.err >&5
68706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68707 (exit $ac_status); } &&
68708 { ac_try='test -z "$ac_c_werror_flag"
68709 || test ! -s conftest.err'
68710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68711 (eval $ac_try) 2>&5
68712 ac_status=$?
68713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68714 (exit $ac_status); }; } &&
68715 { ac_try='test -s conftest$ac_exeext'
68716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68717 (eval $ac_try) 2>&5
68718 ac_status=$?
68719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68720 (exit $ac_status); }; }; then
68721 eval "$as_ac_var=yes"
68722 else
68723 echo "$as_me: failed program was:" >&5
68724 sed 's/^/| /' conftest.$ac_ext >&5
68726 eval "$as_ac_var=no"
68728 rm -f conftest.err conftest.$ac_objext \
68729 conftest$ac_exeext conftest.$ac_ext
68731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68733 if test `eval echo '${'$as_ac_var'}'` = yes; then
68734 cat >>confdefs.h <<_ACEOF
68735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68736 _ACEOF
68739 done
68741 else
68743 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68744 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68745 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68746 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68747 echo $ECHO_N "(cached) $ECHO_C" >&6
68748 else
68752 ac_ext=cc
68753 ac_cpp='$CXXCPP $CPPFLAGS'
68754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68758 cat >conftest.$ac_ext <<_ACEOF
68759 /* confdefs.h. */
68760 _ACEOF
68761 cat confdefs.h >>conftest.$ac_ext
68762 cat >>conftest.$ac_ext <<_ACEOF
68763 /* end confdefs.h. */
68764 #include <math.h>
68766 main ()
68768 _hypotl(0, 0);
68770 return 0;
68772 _ACEOF
68773 rm -f conftest.$ac_objext
68774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68775 (eval $ac_compile) 2>conftest.er1
68776 ac_status=$?
68777 grep -v '^ *+' conftest.er1 >conftest.err
68778 rm -f conftest.er1
68779 cat conftest.err >&5
68780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68781 (exit $ac_status); } &&
68782 { ac_try='test -z "$ac_cxx_werror_flag"
68783 || test ! -s conftest.err'
68784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68785 (eval $ac_try) 2>&5
68786 ac_status=$?
68787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68788 (exit $ac_status); }; } &&
68789 { ac_try='test -s conftest.$ac_objext'
68790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68791 (eval $ac_try) 2>&5
68792 ac_status=$?
68793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68794 (exit $ac_status); }; }; then
68795 glibcxx_cv_func__hypotl_use=yes
68796 else
68797 echo "$as_me: failed program was:" >&5
68798 sed 's/^/| /' conftest.$ac_ext >&5
68800 glibcxx_cv_func__hypotl_use=no
68802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68803 ac_ext=c
68804 ac_cpp='$CPP $CPPFLAGS'
68805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68813 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68814 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68816 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68818 for ac_func in _hypotl
68820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68821 echo "$as_me:$LINENO: checking for $ac_func" >&5
68822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68823 if eval "test \"\${$as_ac_var+set}\" = set"; then
68824 echo $ECHO_N "(cached) $ECHO_C" >&6
68825 else
68826 if test x$gcc_no_link = xyes; then
68827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68829 { (exit 1); exit 1; }; }
68831 cat >conftest.$ac_ext <<_ACEOF
68832 /* confdefs.h. */
68833 _ACEOF
68834 cat confdefs.h >>conftest.$ac_ext
68835 cat >>conftest.$ac_ext <<_ACEOF
68836 /* end confdefs.h. */
68837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68839 #define $ac_func innocuous_$ac_func
68841 /* System header to define __stub macros and hopefully few prototypes,
68842 which can conflict with char $ac_func (); below.
68843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68844 <limits.h> exists even on freestanding compilers. */
68846 #ifdef __STDC__
68847 # include <limits.h>
68848 #else
68849 # include <assert.h>
68850 #endif
68852 #undef $ac_func
68854 /* Override any gcc2 internal prototype to avoid an error. */
68855 #ifdef __cplusplus
68856 extern "C"
68858 #endif
68859 /* We use char because int might match the return type of a gcc2
68860 builtin and then its argument prototype would still apply. */
68861 char $ac_func ();
68862 /* The GNU C library defines this for functions which it implements
68863 to always fail with ENOSYS. Some functions are actually named
68864 something starting with __ and the normal name is an alias. */
68865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68866 choke me
68867 #else
68868 char (*f) () = $ac_func;
68869 #endif
68870 #ifdef __cplusplus
68872 #endif
68875 main ()
68877 return f != $ac_func;
68879 return 0;
68881 _ACEOF
68882 rm -f conftest.$ac_objext conftest$ac_exeext
68883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68884 (eval $ac_link) 2>conftest.er1
68885 ac_status=$?
68886 grep -v '^ *+' conftest.er1 >conftest.err
68887 rm -f conftest.er1
68888 cat conftest.err >&5
68889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68890 (exit $ac_status); } &&
68891 { ac_try='test -z "$ac_c_werror_flag"
68892 || test ! -s conftest.err'
68893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68894 (eval $ac_try) 2>&5
68895 ac_status=$?
68896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68897 (exit $ac_status); }; } &&
68898 { ac_try='test -s conftest$ac_exeext'
68899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68900 (eval $ac_try) 2>&5
68901 ac_status=$?
68902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68903 (exit $ac_status); }; }; then
68904 eval "$as_ac_var=yes"
68905 else
68906 echo "$as_me: failed program was:" >&5
68907 sed 's/^/| /' conftest.$ac_ext >&5
68909 eval "$as_ac_var=no"
68911 rm -f conftest.err conftest.$ac_objext \
68912 conftest$ac_exeext conftest.$ac_ext
68914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68916 if test `eval echo '${'$as_ac_var'}'` = yes; then
68917 cat >>confdefs.h <<_ACEOF
68918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68919 _ACEOF
68922 done
68932 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68933 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68934 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68935 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68936 echo $ECHO_N "(cached) $ECHO_C" >&6
68937 else
68941 ac_ext=cc
68942 ac_cpp='$CXXCPP $CPPFLAGS'
68943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68947 cat >conftest.$ac_ext <<_ACEOF
68948 /* confdefs.h. */
68949 _ACEOF
68950 cat confdefs.h >>conftest.$ac_ext
68951 cat >>conftest.$ac_ext <<_ACEOF
68952 /* end confdefs.h. */
68953 #include <math.h>
68955 main ()
68957 ldexpl(0, 0);
68959 return 0;
68961 _ACEOF
68962 rm -f conftest.$ac_objext
68963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68964 (eval $ac_compile) 2>conftest.er1
68965 ac_status=$?
68966 grep -v '^ *+' conftest.er1 >conftest.err
68967 rm -f conftest.er1
68968 cat conftest.err >&5
68969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68970 (exit $ac_status); } &&
68971 { ac_try='test -z "$ac_cxx_werror_flag"
68972 || test ! -s conftest.err'
68973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68974 (eval $ac_try) 2>&5
68975 ac_status=$?
68976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68977 (exit $ac_status); }; } &&
68978 { ac_try='test -s conftest.$ac_objext'
68979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68980 (eval $ac_try) 2>&5
68981 ac_status=$?
68982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68983 (exit $ac_status); }; }; then
68984 glibcxx_cv_func_ldexpl_use=yes
68985 else
68986 echo "$as_me: failed program was:" >&5
68987 sed 's/^/| /' conftest.$ac_ext >&5
68989 glibcxx_cv_func_ldexpl_use=no
68991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68992 ac_ext=c
68993 ac_cpp='$CPP $CPPFLAGS'
68994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69002 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
69003 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
69005 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69007 for ac_func in ldexpl
69009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69010 echo "$as_me:$LINENO: checking for $ac_func" >&5
69011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69012 if eval "test \"\${$as_ac_var+set}\" = set"; then
69013 echo $ECHO_N "(cached) $ECHO_C" >&6
69014 else
69015 if test x$gcc_no_link = xyes; then
69016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69018 { (exit 1); exit 1; }; }
69020 cat >conftest.$ac_ext <<_ACEOF
69021 /* confdefs.h. */
69022 _ACEOF
69023 cat confdefs.h >>conftest.$ac_ext
69024 cat >>conftest.$ac_ext <<_ACEOF
69025 /* end confdefs.h. */
69026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69028 #define $ac_func innocuous_$ac_func
69030 /* System header to define __stub macros and hopefully few prototypes,
69031 which can conflict with char $ac_func (); below.
69032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69033 <limits.h> exists even on freestanding compilers. */
69035 #ifdef __STDC__
69036 # include <limits.h>
69037 #else
69038 # include <assert.h>
69039 #endif
69041 #undef $ac_func
69043 /* Override any gcc2 internal prototype to avoid an error. */
69044 #ifdef __cplusplus
69045 extern "C"
69047 #endif
69048 /* We use char because int might match the return type of a gcc2
69049 builtin and then its argument prototype would still apply. */
69050 char $ac_func ();
69051 /* The GNU C library defines this for functions which it implements
69052 to always fail with ENOSYS. Some functions are actually named
69053 something starting with __ and the normal name is an alias. */
69054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69055 choke me
69056 #else
69057 char (*f) () = $ac_func;
69058 #endif
69059 #ifdef __cplusplus
69061 #endif
69064 main ()
69066 return f != $ac_func;
69068 return 0;
69070 _ACEOF
69071 rm -f conftest.$ac_objext conftest$ac_exeext
69072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69073 (eval $ac_link) 2>conftest.er1
69074 ac_status=$?
69075 grep -v '^ *+' conftest.er1 >conftest.err
69076 rm -f conftest.er1
69077 cat conftest.err >&5
69078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69079 (exit $ac_status); } &&
69080 { ac_try='test -z "$ac_c_werror_flag"
69081 || test ! -s conftest.err'
69082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69083 (eval $ac_try) 2>&5
69084 ac_status=$?
69085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69086 (exit $ac_status); }; } &&
69087 { ac_try='test -s conftest$ac_exeext'
69088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69089 (eval $ac_try) 2>&5
69090 ac_status=$?
69091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69092 (exit $ac_status); }; }; then
69093 eval "$as_ac_var=yes"
69094 else
69095 echo "$as_me: failed program was:" >&5
69096 sed 's/^/| /' conftest.$ac_ext >&5
69098 eval "$as_ac_var=no"
69100 rm -f conftest.err conftest.$ac_objext \
69101 conftest$ac_exeext conftest.$ac_ext
69103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69105 if test `eval echo '${'$as_ac_var'}'` = yes; then
69106 cat >>confdefs.h <<_ACEOF
69107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69108 _ACEOF
69111 done
69113 else
69115 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
69116 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
69117 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69118 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
69119 echo $ECHO_N "(cached) $ECHO_C" >&6
69120 else
69124 ac_ext=cc
69125 ac_cpp='$CXXCPP $CPPFLAGS'
69126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69130 cat >conftest.$ac_ext <<_ACEOF
69131 /* confdefs.h. */
69132 _ACEOF
69133 cat confdefs.h >>conftest.$ac_ext
69134 cat >>conftest.$ac_ext <<_ACEOF
69135 /* end confdefs.h. */
69136 #include <math.h>
69138 main ()
69140 _ldexpl(0, 0);
69142 return 0;
69144 _ACEOF
69145 rm -f conftest.$ac_objext
69146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69147 (eval $ac_compile) 2>conftest.er1
69148 ac_status=$?
69149 grep -v '^ *+' conftest.er1 >conftest.err
69150 rm -f conftest.er1
69151 cat conftest.err >&5
69152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69153 (exit $ac_status); } &&
69154 { ac_try='test -z "$ac_cxx_werror_flag"
69155 || test ! -s conftest.err'
69156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69157 (eval $ac_try) 2>&5
69158 ac_status=$?
69159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69160 (exit $ac_status); }; } &&
69161 { ac_try='test -s conftest.$ac_objext'
69162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69163 (eval $ac_try) 2>&5
69164 ac_status=$?
69165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69166 (exit $ac_status); }; }; then
69167 glibcxx_cv_func__ldexpl_use=yes
69168 else
69169 echo "$as_me: failed program was:" >&5
69170 sed 's/^/| /' conftest.$ac_ext >&5
69172 glibcxx_cv_func__ldexpl_use=no
69174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69175 ac_ext=c
69176 ac_cpp='$CPP $CPPFLAGS'
69177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69185 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
69186 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
69188 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69190 for ac_func in _ldexpl
69192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69193 echo "$as_me:$LINENO: checking for $ac_func" >&5
69194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69195 if eval "test \"\${$as_ac_var+set}\" = set"; then
69196 echo $ECHO_N "(cached) $ECHO_C" >&6
69197 else
69198 if test x$gcc_no_link = xyes; then
69199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69201 { (exit 1); exit 1; }; }
69203 cat >conftest.$ac_ext <<_ACEOF
69204 /* confdefs.h. */
69205 _ACEOF
69206 cat confdefs.h >>conftest.$ac_ext
69207 cat >>conftest.$ac_ext <<_ACEOF
69208 /* end confdefs.h. */
69209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69211 #define $ac_func innocuous_$ac_func
69213 /* System header to define __stub macros and hopefully few prototypes,
69214 which can conflict with char $ac_func (); below.
69215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69216 <limits.h> exists even on freestanding compilers. */
69218 #ifdef __STDC__
69219 # include <limits.h>
69220 #else
69221 # include <assert.h>
69222 #endif
69224 #undef $ac_func
69226 /* Override any gcc2 internal prototype to avoid an error. */
69227 #ifdef __cplusplus
69228 extern "C"
69230 #endif
69231 /* We use char because int might match the return type of a gcc2
69232 builtin and then its argument prototype would still apply. */
69233 char $ac_func ();
69234 /* The GNU C library defines this for functions which it implements
69235 to always fail with ENOSYS. Some functions are actually named
69236 something starting with __ and the normal name is an alias. */
69237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69238 choke me
69239 #else
69240 char (*f) () = $ac_func;
69241 #endif
69242 #ifdef __cplusplus
69244 #endif
69247 main ()
69249 return f != $ac_func;
69251 return 0;
69253 _ACEOF
69254 rm -f conftest.$ac_objext conftest$ac_exeext
69255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69256 (eval $ac_link) 2>conftest.er1
69257 ac_status=$?
69258 grep -v '^ *+' conftest.er1 >conftest.err
69259 rm -f conftest.er1
69260 cat conftest.err >&5
69261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69262 (exit $ac_status); } &&
69263 { ac_try='test -z "$ac_c_werror_flag"
69264 || test ! -s conftest.err'
69265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69266 (eval $ac_try) 2>&5
69267 ac_status=$?
69268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69269 (exit $ac_status); }; } &&
69270 { ac_try='test -s conftest$ac_exeext'
69271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69272 (eval $ac_try) 2>&5
69273 ac_status=$?
69274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69275 (exit $ac_status); }; }; then
69276 eval "$as_ac_var=yes"
69277 else
69278 echo "$as_me: failed program was:" >&5
69279 sed 's/^/| /' conftest.$ac_ext >&5
69281 eval "$as_ac_var=no"
69283 rm -f conftest.err conftest.$ac_objext \
69284 conftest$ac_exeext conftest.$ac_ext
69286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69288 if test `eval echo '${'$as_ac_var'}'` = yes; then
69289 cat >>confdefs.h <<_ACEOF
69290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69291 _ACEOF
69294 done
69304 echo "$as_me:$LINENO: checking for logl declaration" >&5
69305 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
69306 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69307 if test "${glibcxx_cv_func_logl_use+set}" = set; then
69308 echo $ECHO_N "(cached) $ECHO_C" >&6
69309 else
69313 ac_ext=cc
69314 ac_cpp='$CXXCPP $CPPFLAGS'
69315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69319 cat >conftest.$ac_ext <<_ACEOF
69320 /* confdefs.h. */
69321 _ACEOF
69322 cat confdefs.h >>conftest.$ac_ext
69323 cat >>conftest.$ac_ext <<_ACEOF
69324 /* end confdefs.h. */
69325 #include <math.h>
69326 #ifdef HAVE_IEEEFP_H
69327 #include <ieeefp.h>
69328 #endif
69331 main ()
69333 logl(0);
69335 return 0;
69337 _ACEOF
69338 rm -f conftest.$ac_objext
69339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69340 (eval $ac_compile) 2>conftest.er1
69341 ac_status=$?
69342 grep -v '^ *+' conftest.er1 >conftest.err
69343 rm -f conftest.er1
69344 cat conftest.err >&5
69345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69346 (exit $ac_status); } &&
69347 { ac_try='test -z "$ac_cxx_werror_flag"
69348 || test ! -s conftest.err'
69349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69350 (eval $ac_try) 2>&5
69351 ac_status=$?
69352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69353 (exit $ac_status); }; } &&
69354 { ac_try='test -s conftest.$ac_objext'
69355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69356 (eval $ac_try) 2>&5
69357 ac_status=$?
69358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69359 (exit $ac_status); }; }; then
69360 glibcxx_cv_func_logl_use=yes
69361 else
69362 echo "$as_me: failed program was:" >&5
69363 sed 's/^/| /' conftest.$ac_ext >&5
69365 glibcxx_cv_func_logl_use=no
69367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69368 ac_ext=c
69369 ac_cpp='$CPP $CPPFLAGS'
69370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69378 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
69379 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
69381 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69383 for ac_func in logl
69385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69386 echo "$as_me:$LINENO: checking for $ac_func" >&5
69387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69388 if eval "test \"\${$as_ac_var+set}\" = set"; then
69389 echo $ECHO_N "(cached) $ECHO_C" >&6
69390 else
69391 if test x$gcc_no_link = xyes; then
69392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69394 { (exit 1); exit 1; }; }
69396 cat >conftest.$ac_ext <<_ACEOF
69397 /* confdefs.h. */
69398 _ACEOF
69399 cat confdefs.h >>conftest.$ac_ext
69400 cat >>conftest.$ac_ext <<_ACEOF
69401 /* end confdefs.h. */
69402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69404 #define $ac_func innocuous_$ac_func
69406 /* System header to define __stub macros and hopefully few prototypes,
69407 which can conflict with char $ac_func (); below.
69408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69409 <limits.h> exists even on freestanding compilers. */
69411 #ifdef __STDC__
69412 # include <limits.h>
69413 #else
69414 # include <assert.h>
69415 #endif
69417 #undef $ac_func
69419 /* Override any gcc2 internal prototype to avoid an error. */
69420 #ifdef __cplusplus
69421 extern "C"
69423 #endif
69424 /* We use char because int might match the return type of a gcc2
69425 builtin and then its argument prototype would still apply. */
69426 char $ac_func ();
69427 /* The GNU C library defines this for functions which it implements
69428 to always fail with ENOSYS. Some functions are actually named
69429 something starting with __ and the normal name is an alias. */
69430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69431 choke me
69432 #else
69433 char (*f) () = $ac_func;
69434 #endif
69435 #ifdef __cplusplus
69437 #endif
69440 main ()
69442 return f != $ac_func;
69444 return 0;
69446 _ACEOF
69447 rm -f conftest.$ac_objext conftest$ac_exeext
69448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69449 (eval $ac_link) 2>conftest.er1
69450 ac_status=$?
69451 grep -v '^ *+' conftest.er1 >conftest.err
69452 rm -f conftest.er1
69453 cat conftest.err >&5
69454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69455 (exit $ac_status); } &&
69456 { ac_try='test -z "$ac_c_werror_flag"
69457 || test ! -s conftest.err'
69458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69459 (eval $ac_try) 2>&5
69460 ac_status=$?
69461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69462 (exit $ac_status); }; } &&
69463 { ac_try='test -s conftest$ac_exeext'
69464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69465 (eval $ac_try) 2>&5
69466 ac_status=$?
69467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69468 (exit $ac_status); }; }; then
69469 eval "$as_ac_var=yes"
69470 else
69471 echo "$as_me: failed program was:" >&5
69472 sed 's/^/| /' conftest.$ac_ext >&5
69474 eval "$as_ac_var=no"
69476 rm -f conftest.err conftest.$ac_objext \
69477 conftest$ac_exeext conftest.$ac_ext
69479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69481 if test `eval echo '${'$as_ac_var'}'` = yes; then
69482 cat >>confdefs.h <<_ACEOF
69483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69484 _ACEOF
69487 done
69489 else
69491 echo "$as_me:$LINENO: checking for _logl declaration" >&5
69492 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69493 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69494 if test "${glibcxx_cv_func__logl_use+set}" = set; then
69495 echo $ECHO_N "(cached) $ECHO_C" >&6
69496 else
69500 ac_ext=cc
69501 ac_cpp='$CXXCPP $CPPFLAGS'
69502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69506 cat >conftest.$ac_ext <<_ACEOF
69507 /* confdefs.h. */
69508 _ACEOF
69509 cat confdefs.h >>conftest.$ac_ext
69510 cat >>conftest.$ac_ext <<_ACEOF
69511 /* end confdefs.h. */
69512 #include <math.h>
69513 #ifdef HAVE_IEEEFP_H
69514 #include <ieeefp.h>
69515 #endif
69518 main ()
69520 _logl(0);
69522 return 0;
69524 _ACEOF
69525 rm -f conftest.$ac_objext
69526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69527 (eval $ac_compile) 2>conftest.er1
69528 ac_status=$?
69529 grep -v '^ *+' conftest.er1 >conftest.err
69530 rm -f conftest.er1
69531 cat conftest.err >&5
69532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69533 (exit $ac_status); } &&
69534 { ac_try='test -z "$ac_cxx_werror_flag"
69535 || test ! -s conftest.err'
69536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69537 (eval $ac_try) 2>&5
69538 ac_status=$?
69539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69540 (exit $ac_status); }; } &&
69541 { ac_try='test -s conftest.$ac_objext'
69542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69543 (eval $ac_try) 2>&5
69544 ac_status=$?
69545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69546 (exit $ac_status); }; }; then
69547 glibcxx_cv_func__logl_use=yes
69548 else
69549 echo "$as_me: failed program was:" >&5
69550 sed 's/^/| /' conftest.$ac_ext >&5
69552 glibcxx_cv_func__logl_use=no
69554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69555 ac_ext=c
69556 ac_cpp='$CPP $CPPFLAGS'
69557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69565 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69566 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69568 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69570 for ac_func in _logl
69572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69573 echo "$as_me:$LINENO: checking for $ac_func" >&5
69574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69575 if eval "test \"\${$as_ac_var+set}\" = set"; then
69576 echo $ECHO_N "(cached) $ECHO_C" >&6
69577 else
69578 if test x$gcc_no_link = xyes; then
69579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69581 { (exit 1); exit 1; }; }
69583 cat >conftest.$ac_ext <<_ACEOF
69584 /* confdefs.h. */
69585 _ACEOF
69586 cat confdefs.h >>conftest.$ac_ext
69587 cat >>conftest.$ac_ext <<_ACEOF
69588 /* end confdefs.h. */
69589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69591 #define $ac_func innocuous_$ac_func
69593 /* System header to define __stub macros and hopefully few prototypes,
69594 which can conflict with char $ac_func (); below.
69595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69596 <limits.h> exists even on freestanding compilers. */
69598 #ifdef __STDC__
69599 # include <limits.h>
69600 #else
69601 # include <assert.h>
69602 #endif
69604 #undef $ac_func
69606 /* Override any gcc2 internal prototype to avoid an error. */
69607 #ifdef __cplusplus
69608 extern "C"
69610 #endif
69611 /* We use char because int might match the return type of a gcc2
69612 builtin and then its argument prototype would still apply. */
69613 char $ac_func ();
69614 /* The GNU C library defines this for functions which it implements
69615 to always fail with ENOSYS. Some functions are actually named
69616 something starting with __ and the normal name is an alias. */
69617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69618 choke me
69619 #else
69620 char (*f) () = $ac_func;
69621 #endif
69622 #ifdef __cplusplus
69624 #endif
69627 main ()
69629 return f != $ac_func;
69631 return 0;
69633 _ACEOF
69634 rm -f conftest.$ac_objext conftest$ac_exeext
69635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69636 (eval $ac_link) 2>conftest.er1
69637 ac_status=$?
69638 grep -v '^ *+' conftest.er1 >conftest.err
69639 rm -f conftest.er1
69640 cat conftest.err >&5
69641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69642 (exit $ac_status); } &&
69643 { ac_try='test -z "$ac_c_werror_flag"
69644 || test ! -s conftest.err'
69645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69646 (eval $ac_try) 2>&5
69647 ac_status=$?
69648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69649 (exit $ac_status); }; } &&
69650 { ac_try='test -s conftest$ac_exeext'
69651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69652 (eval $ac_try) 2>&5
69653 ac_status=$?
69654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69655 (exit $ac_status); }; }; then
69656 eval "$as_ac_var=yes"
69657 else
69658 echo "$as_me: failed program was:" >&5
69659 sed 's/^/| /' conftest.$ac_ext >&5
69661 eval "$as_ac_var=no"
69663 rm -f conftest.err conftest.$ac_objext \
69664 conftest$ac_exeext conftest.$ac_ext
69666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69668 if test `eval echo '${'$as_ac_var'}'` = yes; then
69669 cat >>confdefs.h <<_ACEOF
69670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69671 _ACEOF
69674 done
69684 echo "$as_me:$LINENO: checking for log10l declaration" >&5
69685 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69686 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69687 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69688 echo $ECHO_N "(cached) $ECHO_C" >&6
69689 else
69693 ac_ext=cc
69694 ac_cpp='$CXXCPP $CPPFLAGS'
69695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69699 cat >conftest.$ac_ext <<_ACEOF
69700 /* confdefs.h. */
69701 _ACEOF
69702 cat confdefs.h >>conftest.$ac_ext
69703 cat >>conftest.$ac_ext <<_ACEOF
69704 /* end confdefs.h. */
69705 #include <math.h>
69706 #ifdef HAVE_IEEEFP_H
69707 #include <ieeefp.h>
69708 #endif
69711 main ()
69713 log10l(0);
69715 return 0;
69717 _ACEOF
69718 rm -f conftest.$ac_objext
69719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69720 (eval $ac_compile) 2>conftest.er1
69721 ac_status=$?
69722 grep -v '^ *+' conftest.er1 >conftest.err
69723 rm -f conftest.er1
69724 cat conftest.err >&5
69725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69726 (exit $ac_status); } &&
69727 { ac_try='test -z "$ac_cxx_werror_flag"
69728 || test ! -s conftest.err'
69729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69730 (eval $ac_try) 2>&5
69731 ac_status=$?
69732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69733 (exit $ac_status); }; } &&
69734 { ac_try='test -s conftest.$ac_objext'
69735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69736 (eval $ac_try) 2>&5
69737 ac_status=$?
69738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69739 (exit $ac_status); }; }; then
69740 glibcxx_cv_func_log10l_use=yes
69741 else
69742 echo "$as_me: failed program was:" >&5
69743 sed 's/^/| /' conftest.$ac_ext >&5
69745 glibcxx_cv_func_log10l_use=no
69747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69748 ac_ext=c
69749 ac_cpp='$CPP $CPPFLAGS'
69750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69758 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69759 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69761 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69763 for ac_func in log10l
69765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69766 echo "$as_me:$LINENO: checking for $ac_func" >&5
69767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69768 if eval "test \"\${$as_ac_var+set}\" = set"; then
69769 echo $ECHO_N "(cached) $ECHO_C" >&6
69770 else
69771 if test x$gcc_no_link = xyes; then
69772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69774 { (exit 1); exit 1; }; }
69776 cat >conftest.$ac_ext <<_ACEOF
69777 /* confdefs.h. */
69778 _ACEOF
69779 cat confdefs.h >>conftest.$ac_ext
69780 cat >>conftest.$ac_ext <<_ACEOF
69781 /* end confdefs.h. */
69782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69784 #define $ac_func innocuous_$ac_func
69786 /* System header to define __stub macros and hopefully few prototypes,
69787 which can conflict with char $ac_func (); below.
69788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69789 <limits.h> exists even on freestanding compilers. */
69791 #ifdef __STDC__
69792 # include <limits.h>
69793 #else
69794 # include <assert.h>
69795 #endif
69797 #undef $ac_func
69799 /* Override any gcc2 internal prototype to avoid an error. */
69800 #ifdef __cplusplus
69801 extern "C"
69803 #endif
69804 /* We use char because int might match the return type of a gcc2
69805 builtin and then its argument prototype would still apply. */
69806 char $ac_func ();
69807 /* The GNU C library defines this for functions which it implements
69808 to always fail with ENOSYS. Some functions are actually named
69809 something starting with __ and the normal name is an alias. */
69810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69811 choke me
69812 #else
69813 char (*f) () = $ac_func;
69814 #endif
69815 #ifdef __cplusplus
69817 #endif
69820 main ()
69822 return f != $ac_func;
69824 return 0;
69826 _ACEOF
69827 rm -f conftest.$ac_objext conftest$ac_exeext
69828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69829 (eval $ac_link) 2>conftest.er1
69830 ac_status=$?
69831 grep -v '^ *+' conftest.er1 >conftest.err
69832 rm -f conftest.er1
69833 cat conftest.err >&5
69834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69835 (exit $ac_status); } &&
69836 { ac_try='test -z "$ac_c_werror_flag"
69837 || test ! -s conftest.err'
69838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69839 (eval $ac_try) 2>&5
69840 ac_status=$?
69841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69842 (exit $ac_status); }; } &&
69843 { ac_try='test -s conftest$ac_exeext'
69844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69845 (eval $ac_try) 2>&5
69846 ac_status=$?
69847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69848 (exit $ac_status); }; }; then
69849 eval "$as_ac_var=yes"
69850 else
69851 echo "$as_me: failed program was:" >&5
69852 sed 's/^/| /' conftest.$ac_ext >&5
69854 eval "$as_ac_var=no"
69856 rm -f conftest.err conftest.$ac_objext \
69857 conftest$ac_exeext conftest.$ac_ext
69859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69861 if test `eval echo '${'$as_ac_var'}'` = yes; then
69862 cat >>confdefs.h <<_ACEOF
69863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69864 _ACEOF
69867 done
69869 else
69871 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69872 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69873 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69874 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69875 echo $ECHO_N "(cached) $ECHO_C" >&6
69876 else
69880 ac_ext=cc
69881 ac_cpp='$CXXCPP $CPPFLAGS'
69882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69886 cat >conftest.$ac_ext <<_ACEOF
69887 /* confdefs.h. */
69888 _ACEOF
69889 cat confdefs.h >>conftest.$ac_ext
69890 cat >>conftest.$ac_ext <<_ACEOF
69891 /* end confdefs.h. */
69892 #include <math.h>
69893 #ifdef HAVE_IEEEFP_H
69894 #include <ieeefp.h>
69895 #endif
69898 main ()
69900 _log10l(0);
69902 return 0;
69904 _ACEOF
69905 rm -f conftest.$ac_objext
69906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69907 (eval $ac_compile) 2>conftest.er1
69908 ac_status=$?
69909 grep -v '^ *+' conftest.er1 >conftest.err
69910 rm -f conftest.er1
69911 cat conftest.err >&5
69912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69913 (exit $ac_status); } &&
69914 { ac_try='test -z "$ac_cxx_werror_flag"
69915 || test ! -s conftest.err'
69916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69917 (eval $ac_try) 2>&5
69918 ac_status=$?
69919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69920 (exit $ac_status); }; } &&
69921 { ac_try='test -s conftest.$ac_objext'
69922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69923 (eval $ac_try) 2>&5
69924 ac_status=$?
69925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69926 (exit $ac_status); }; }; then
69927 glibcxx_cv_func__log10l_use=yes
69928 else
69929 echo "$as_me: failed program was:" >&5
69930 sed 's/^/| /' conftest.$ac_ext >&5
69932 glibcxx_cv_func__log10l_use=no
69934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69935 ac_ext=c
69936 ac_cpp='$CPP $CPPFLAGS'
69937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69945 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69946 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69948 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69950 for ac_func in _log10l
69952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69953 echo "$as_me:$LINENO: checking for $ac_func" >&5
69954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69955 if eval "test \"\${$as_ac_var+set}\" = set"; then
69956 echo $ECHO_N "(cached) $ECHO_C" >&6
69957 else
69958 if test x$gcc_no_link = xyes; then
69959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69961 { (exit 1); exit 1; }; }
69963 cat >conftest.$ac_ext <<_ACEOF
69964 /* confdefs.h. */
69965 _ACEOF
69966 cat confdefs.h >>conftest.$ac_ext
69967 cat >>conftest.$ac_ext <<_ACEOF
69968 /* end confdefs.h. */
69969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69971 #define $ac_func innocuous_$ac_func
69973 /* System header to define __stub macros and hopefully few prototypes,
69974 which can conflict with char $ac_func (); below.
69975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69976 <limits.h> exists even on freestanding compilers. */
69978 #ifdef __STDC__
69979 # include <limits.h>
69980 #else
69981 # include <assert.h>
69982 #endif
69984 #undef $ac_func
69986 /* Override any gcc2 internal prototype to avoid an error. */
69987 #ifdef __cplusplus
69988 extern "C"
69990 #endif
69991 /* We use char because int might match the return type of a gcc2
69992 builtin and then its argument prototype would still apply. */
69993 char $ac_func ();
69994 /* The GNU C library defines this for functions which it implements
69995 to always fail with ENOSYS. Some functions are actually named
69996 something starting with __ and the normal name is an alias. */
69997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69998 choke me
69999 #else
70000 char (*f) () = $ac_func;
70001 #endif
70002 #ifdef __cplusplus
70004 #endif
70007 main ()
70009 return f != $ac_func;
70011 return 0;
70013 _ACEOF
70014 rm -f conftest.$ac_objext conftest$ac_exeext
70015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70016 (eval $ac_link) 2>conftest.er1
70017 ac_status=$?
70018 grep -v '^ *+' conftest.er1 >conftest.err
70019 rm -f conftest.er1
70020 cat conftest.err >&5
70021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70022 (exit $ac_status); } &&
70023 { ac_try='test -z "$ac_c_werror_flag"
70024 || test ! -s conftest.err'
70025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70026 (eval $ac_try) 2>&5
70027 ac_status=$?
70028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70029 (exit $ac_status); }; } &&
70030 { ac_try='test -s conftest$ac_exeext'
70031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70032 (eval $ac_try) 2>&5
70033 ac_status=$?
70034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70035 (exit $ac_status); }; }; then
70036 eval "$as_ac_var=yes"
70037 else
70038 echo "$as_me: failed program was:" >&5
70039 sed 's/^/| /' conftest.$ac_ext >&5
70041 eval "$as_ac_var=no"
70043 rm -f conftest.err conftest.$ac_objext \
70044 conftest$ac_exeext conftest.$ac_ext
70046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70048 if test `eval echo '${'$as_ac_var'}'` = yes; then
70049 cat >>confdefs.h <<_ACEOF
70050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70051 _ACEOF
70054 done
70064 echo "$as_me:$LINENO: checking for modfl declaration" >&5
70065 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
70066 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70067 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
70068 echo $ECHO_N "(cached) $ECHO_C" >&6
70069 else
70073 ac_ext=cc
70074 ac_cpp='$CXXCPP $CPPFLAGS'
70075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70079 cat >conftest.$ac_ext <<_ACEOF
70080 /* confdefs.h. */
70081 _ACEOF
70082 cat confdefs.h >>conftest.$ac_ext
70083 cat >>conftest.$ac_ext <<_ACEOF
70084 /* end confdefs.h. */
70085 #include <math.h>
70087 main ()
70089 modfl(0, 0);
70091 return 0;
70093 _ACEOF
70094 rm -f conftest.$ac_objext
70095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70096 (eval $ac_compile) 2>conftest.er1
70097 ac_status=$?
70098 grep -v '^ *+' conftest.er1 >conftest.err
70099 rm -f conftest.er1
70100 cat conftest.err >&5
70101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70102 (exit $ac_status); } &&
70103 { ac_try='test -z "$ac_cxx_werror_flag"
70104 || test ! -s conftest.err'
70105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70106 (eval $ac_try) 2>&5
70107 ac_status=$?
70108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70109 (exit $ac_status); }; } &&
70110 { ac_try='test -s conftest.$ac_objext'
70111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70112 (eval $ac_try) 2>&5
70113 ac_status=$?
70114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70115 (exit $ac_status); }; }; then
70116 glibcxx_cv_func_modfl_use=yes
70117 else
70118 echo "$as_me: failed program was:" >&5
70119 sed 's/^/| /' conftest.$ac_ext >&5
70121 glibcxx_cv_func_modfl_use=no
70123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70124 ac_ext=c
70125 ac_cpp='$CPP $CPPFLAGS'
70126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70134 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
70135 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
70137 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70139 for ac_func in modfl
70141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70142 echo "$as_me:$LINENO: checking for $ac_func" >&5
70143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70144 if eval "test \"\${$as_ac_var+set}\" = set"; then
70145 echo $ECHO_N "(cached) $ECHO_C" >&6
70146 else
70147 if test x$gcc_no_link = xyes; then
70148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70150 { (exit 1); exit 1; }; }
70152 cat >conftest.$ac_ext <<_ACEOF
70153 /* confdefs.h. */
70154 _ACEOF
70155 cat confdefs.h >>conftest.$ac_ext
70156 cat >>conftest.$ac_ext <<_ACEOF
70157 /* end confdefs.h. */
70158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70160 #define $ac_func innocuous_$ac_func
70162 /* System header to define __stub macros and hopefully few prototypes,
70163 which can conflict with char $ac_func (); below.
70164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70165 <limits.h> exists even on freestanding compilers. */
70167 #ifdef __STDC__
70168 # include <limits.h>
70169 #else
70170 # include <assert.h>
70171 #endif
70173 #undef $ac_func
70175 /* Override any gcc2 internal prototype to avoid an error. */
70176 #ifdef __cplusplus
70177 extern "C"
70179 #endif
70180 /* We use char because int might match the return type of a gcc2
70181 builtin and then its argument prototype would still apply. */
70182 char $ac_func ();
70183 /* The GNU C library defines this for functions which it implements
70184 to always fail with ENOSYS. Some functions are actually named
70185 something starting with __ and the normal name is an alias. */
70186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70187 choke me
70188 #else
70189 char (*f) () = $ac_func;
70190 #endif
70191 #ifdef __cplusplus
70193 #endif
70196 main ()
70198 return f != $ac_func;
70200 return 0;
70202 _ACEOF
70203 rm -f conftest.$ac_objext conftest$ac_exeext
70204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70205 (eval $ac_link) 2>conftest.er1
70206 ac_status=$?
70207 grep -v '^ *+' conftest.er1 >conftest.err
70208 rm -f conftest.er1
70209 cat conftest.err >&5
70210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70211 (exit $ac_status); } &&
70212 { ac_try='test -z "$ac_c_werror_flag"
70213 || test ! -s conftest.err'
70214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70215 (eval $ac_try) 2>&5
70216 ac_status=$?
70217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70218 (exit $ac_status); }; } &&
70219 { ac_try='test -s conftest$ac_exeext'
70220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70221 (eval $ac_try) 2>&5
70222 ac_status=$?
70223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70224 (exit $ac_status); }; }; then
70225 eval "$as_ac_var=yes"
70226 else
70227 echo "$as_me: failed program was:" >&5
70228 sed 's/^/| /' conftest.$ac_ext >&5
70230 eval "$as_ac_var=no"
70232 rm -f conftest.err conftest.$ac_objext \
70233 conftest$ac_exeext conftest.$ac_ext
70235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70237 if test `eval echo '${'$as_ac_var'}'` = yes; then
70238 cat >>confdefs.h <<_ACEOF
70239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70240 _ACEOF
70243 done
70245 else
70247 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
70248 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
70249 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70250 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
70251 echo $ECHO_N "(cached) $ECHO_C" >&6
70252 else
70256 ac_ext=cc
70257 ac_cpp='$CXXCPP $CPPFLAGS'
70258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70262 cat >conftest.$ac_ext <<_ACEOF
70263 /* confdefs.h. */
70264 _ACEOF
70265 cat confdefs.h >>conftest.$ac_ext
70266 cat >>conftest.$ac_ext <<_ACEOF
70267 /* end confdefs.h. */
70268 #include <math.h>
70270 main ()
70272 _modfl(0, 0);
70274 return 0;
70276 _ACEOF
70277 rm -f conftest.$ac_objext
70278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70279 (eval $ac_compile) 2>conftest.er1
70280 ac_status=$?
70281 grep -v '^ *+' conftest.er1 >conftest.err
70282 rm -f conftest.er1
70283 cat conftest.err >&5
70284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70285 (exit $ac_status); } &&
70286 { ac_try='test -z "$ac_cxx_werror_flag"
70287 || test ! -s conftest.err'
70288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70289 (eval $ac_try) 2>&5
70290 ac_status=$?
70291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70292 (exit $ac_status); }; } &&
70293 { ac_try='test -s conftest.$ac_objext'
70294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70295 (eval $ac_try) 2>&5
70296 ac_status=$?
70297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70298 (exit $ac_status); }; }; then
70299 glibcxx_cv_func__modfl_use=yes
70300 else
70301 echo "$as_me: failed program was:" >&5
70302 sed 's/^/| /' conftest.$ac_ext >&5
70304 glibcxx_cv_func__modfl_use=no
70306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70307 ac_ext=c
70308 ac_cpp='$CPP $CPPFLAGS'
70309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70317 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
70318 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
70320 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70322 for ac_func in _modfl
70324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70325 echo "$as_me:$LINENO: checking for $ac_func" >&5
70326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70327 if eval "test \"\${$as_ac_var+set}\" = set"; then
70328 echo $ECHO_N "(cached) $ECHO_C" >&6
70329 else
70330 if test x$gcc_no_link = xyes; then
70331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70333 { (exit 1); exit 1; }; }
70335 cat >conftest.$ac_ext <<_ACEOF
70336 /* confdefs.h. */
70337 _ACEOF
70338 cat confdefs.h >>conftest.$ac_ext
70339 cat >>conftest.$ac_ext <<_ACEOF
70340 /* end confdefs.h. */
70341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70343 #define $ac_func innocuous_$ac_func
70345 /* System header to define __stub macros and hopefully few prototypes,
70346 which can conflict with char $ac_func (); below.
70347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70348 <limits.h> exists even on freestanding compilers. */
70350 #ifdef __STDC__
70351 # include <limits.h>
70352 #else
70353 # include <assert.h>
70354 #endif
70356 #undef $ac_func
70358 /* Override any gcc2 internal prototype to avoid an error. */
70359 #ifdef __cplusplus
70360 extern "C"
70362 #endif
70363 /* We use char because int might match the return type of a gcc2
70364 builtin and then its argument prototype would still apply. */
70365 char $ac_func ();
70366 /* The GNU C library defines this for functions which it implements
70367 to always fail with ENOSYS. Some functions are actually named
70368 something starting with __ and the normal name is an alias. */
70369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70370 choke me
70371 #else
70372 char (*f) () = $ac_func;
70373 #endif
70374 #ifdef __cplusplus
70376 #endif
70379 main ()
70381 return f != $ac_func;
70383 return 0;
70385 _ACEOF
70386 rm -f conftest.$ac_objext conftest$ac_exeext
70387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70388 (eval $ac_link) 2>conftest.er1
70389 ac_status=$?
70390 grep -v '^ *+' conftest.er1 >conftest.err
70391 rm -f conftest.er1
70392 cat conftest.err >&5
70393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70394 (exit $ac_status); } &&
70395 { ac_try='test -z "$ac_c_werror_flag"
70396 || test ! -s conftest.err'
70397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70398 (eval $ac_try) 2>&5
70399 ac_status=$?
70400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70401 (exit $ac_status); }; } &&
70402 { ac_try='test -s conftest$ac_exeext'
70403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70404 (eval $ac_try) 2>&5
70405 ac_status=$?
70406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70407 (exit $ac_status); }; }; then
70408 eval "$as_ac_var=yes"
70409 else
70410 echo "$as_me: failed program was:" >&5
70411 sed 's/^/| /' conftest.$ac_ext >&5
70413 eval "$as_ac_var=no"
70415 rm -f conftest.err conftest.$ac_objext \
70416 conftest$ac_exeext conftest.$ac_ext
70418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70420 if test `eval echo '${'$as_ac_var'}'` = yes; then
70421 cat >>confdefs.h <<_ACEOF
70422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70423 _ACEOF
70426 done
70436 echo "$as_me:$LINENO: checking for powl declaration" >&5
70437 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
70438 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70439 if test "${glibcxx_cv_func_powl_use+set}" = set; then
70440 echo $ECHO_N "(cached) $ECHO_C" >&6
70441 else
70445 ac_ext=cc
70446 ac_cpp='$CXXCPP $CPPFLAGS'
70447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70451 cat >conftest.$ac_ext <<_ACEOF
70452 /* confdefs.h. */
70453 _ACEOF
70454 cat confdefs.h >>conftest.$ac_ext
70455 cat >>conftest.$ac_ext <<_ACEOF
70456 /* end confdefs.h. */
70457 #include <math.h>
70459 main ()
70461 powl(0, 0);
70463 return 0;
70465 _ACEOF
70466 rm -f conftest.$ac_objext
70467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70468 (eval $ac_compile) 2>conftest.er1
70469 ac_status=$?
70470 grep -v '^ *+' conftest.er1 >conftest.err
70471 rm -f conftest.er1
70472 cat conftest.err >&5
70473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70474 (exit $ac_status); } &&
70475 { ac_try='test -z "$ac_cxx_werror_flag"
70476 || test ! -s conftest.err'
70477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70478 (eval $ac_try) 2>&5
70479 ac_status=$?
70480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70481 (exit $ac_status); }; } &&
70482 { ac_try='test -s conftest.$ac_objext'
70483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70484 (eval $ac_try) 2>&5
70485 ac_status=$?
70486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70487 (exit $ac_status); }; }; then
70488 glibcxx_cv_func_powl_use=yes
70489 else
70490 echo "$as_me: failed program was:" >&5
70491 sed 's/^/| /' conftest.$ac_ext >&5
70493 glibcxx_cv_func_powl_use=no
70495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70496 ac_ext=c
70497 ac_cpp='$CPP $CPPFLAGS'
70498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70506 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70507 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70509 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70511 for ac_func in powl
70513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70514 echo "$as_me:$LINENO: checking for $ac_func" >&5
70515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70516 if eval "test \"\${$as_ac_var+set}\" = set"; then
70517 echo $ECHO_N "(cached) $ECHO_C" >&6
70518 else
70519 if test x$gcc_no_link = xyes; then
70520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70522 { (exit 1); exit 1; }; }
70524 cat >conftest.$ac_ext <<_ACEOF
70525 /* confdefs.h. */
70526 _ACEOF
70527 cat confdefs.h >>conftest.$ac_ext
70528 cat >>conftest.$ac_ext <<_ACEOF
70529 /* end confdefs.h. */
70530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70532 #define $ac_func innocuous_$ac_func
70534 /* System header to define __stub macros and hopefully few prototypes,
70535 which can conflict with char $ac_func (); below.
70536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70537 <limits.h> exists even on freestanding compilers. */
70539 #ifdef __STDC__
70540 # include <limits.h>
70541 #else
70542 # include <assert.h>
70543 #endif
70545 #undef $ac_func
70547 /* Override any gcc2 internal prototype to avoid an error. */
70548 #ifdef __cplusplus
70549 extern "C"
70551 #endif
70552 /* We use char because int might match the return type of a gcc2
70553 builtin and then its argument prototype would still apply. */
70554 char $ac_func ();
70555 /* The GNU C library defines this for functions which it implements
70556 to always fail with ENOSYS. Some functions are actually named
70557 something starting with __ and the normal name is an alias. */
70558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70559 choke me
70560 #else
70561 char (*f) () = $ac_func;
70562 #endif
70563 #ifdef __cplusplus
70565 #endif
70568 main ()
70570 return f != $ac_func;
70572 return 0;
70574 _ACEOF
70575 rm -f conftest.$ac_objext conftest$ac_exeext
70576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70577 (eval $ac_link) 2>conftest.er1
70578 ac_status=$?
70579 grep -v '^ *+' conftest.er1 >conftest.err
70580 rm -f conftest.er1
70581 cat conftest.err >&5
70582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70583 (exit $ac_status); } &&
70584 { ac_try='test -z "$ac_c_werror_flag"
70585 || test ! -s conftest.err'
70586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70587 (eval $ac_try) 2>&5
70588 ac_status=$?
70589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70590 (exit $ac_status); }; } &&
70591 { ac_try='test -s conftest$ac_exeext'
70592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70593 (eval $ac_try) 2>&5
70594 ac_status=$?
70595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70596 (exit $ac_status); }; }; then
70597 eval "$as_ac_var=yes"
70598 else
70599 echo "$as_me: failed program was:" >&5
70600 sed 's/^/| /' conftest.$ac_ext >&5
70602 eval "$as_ac_var=no"
70604 rm -f conftest.err conftest.$ac_objext \
70605 conftest$ac_exeext conftest.$ac_ext
70607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70609 if test `eval echo '${'$as_ac_var'}'` = yes; then
70610 cat >>confdefs.h <<_ACEOF
70611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70612 _ACEOF
70615 done
70617 else
70619 echo "$as_me:$LINENO: checking for _powl declaration" >&5
70620 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70621 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70622 if test "${glibcxx_cv_func__powl_use+set}" = set; then
70623 echo $ECHO_N "(cached) $ECHO_C" >&6
70624 else
70628 ac_ext=cc
70629 ac_cpp='$CXXCPP $CPPFLAGS'
70630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70634 cat >conftest.$ac_ext <<_ACEOF
70635 /* confdefs.h. */
70636 _ACEOF
70637 cat confdefs.h >>conftest.$ac_ext
70638 cat >>conftest.$ac_ext <<_ACEOF
70639 /* end confdefs.h. */
70640 #include <math.h>
70642 main ()
70644 _powl(0, 0);
70646 return 0;
70648 _ACEOF
70649 rm -f conftest.$ac_objext
70650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70651 (eval $ac_compile) 2>conftest.er1
70652 ac_status=$?
70653 grep -v '^ *+' conftest.er1 >conftest.err
70654 rm -f conftest.er1
70655 cat conftest.err >&5
70656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70657 (exit $ac_status); } &&
70658 { ac_try='test -z "$ac_cxx_werror_flag"
70659 || test ! -s conftest.err'
70660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70661 (eval $ac_try) 2>&5
70662 ac_status=$?
70663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70664 (exit $ac_status); }; } &&
70665 { ac_try='test -s conftest.$ac_objext'
70666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70667 (eval $ac_try) 2>&5
70668 ac_status=$?
70669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70670 (exit $ac_status); }; }; then
70671 glibcxx_cv_func__powl_use=yes
70672 else
70673 echo "$as_me: failed program was:" >&5
70674 sed 's/^/| /' conftest.$ac_ext >&5
70676 glibcxx_cv_func__powl_use=no
70678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70679 ac_ext=c
70680 ac_cpp='$CPP $CPPFLAGS'
70681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70689 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70690 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70692 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70694 for ac_func in _powl
70696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70697 echo "$as_me:$LINENO: checking for $ac_func" >&5
70698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70699 if eval "test \"\${$as_ac_var+set}\" = set"; then
70700 echo $ECHO_N "(cached) $ECHO_C" >&6
70701 else
70702 if test x$gcc_no_link = xyes; then
70703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70705 { (exit 1); exit 1; }; }
70707 cat >conftest.$ac_ext <<_ACEOF
70708 /* confdefs.h. */
70709 _ACEOF
70710 cat confdefs.h >>conftest.$ac_ext
70711 cat >>conftest.$ac_ext <<_ACEOF
70712 /* end confdefs.h. */
70713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70715 #define $ac_func innocuous_$ac_func
70717 /* System header to define __stub macros and hopefully few prototypes,
70718 which can conflict with char $ac_func (); below.
70719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70720 <limits.h> exists even on freestanding compilers. */
70722 #ifdef __STDC__
70723 # include <limits.h>
70724 #else
70725 # include <assert.h>
70726 #endif
70728 #undef $ac_func
70730 /* Override any gcc2 internal prototype to avoid an error. */
70731 #ifdef __cplusplus
70732 extern "C"
70734 #endif
70735 /* We use char because int might match the return type of a gcc2
70736 builtin and then its argument prototype would still apply. */
70737 char $ac_func ();
70738 /* The GNU C library defines this for functions which it implements
70739 to always fail with ENOSYS. Some functions are actually named
70740 something starting with __ and the normal name is an alias. */
70741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70742 choke me
70743 #else
70744 char (*f) () = $ac_func;
70745 #endif
70746 #ifdef __cplusplus
70748 #endif
70751 main ()
70753 return f != $ac_func;
70755 return 0;
70757 _ACEOF
70758 rm -f conftest.$ac_objext conftest$ac_exeext
70759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70760 (eval $ac_link) 2>conftest.er1
70761 ac_status=$?
70762 grep -v '^ *+' conftest.er1 >conftest.err
70763 rm -f conftest.er1
70764 cat conftest.err >&5
70765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70766 (exit $ac_status); } &&
70767 { ac_try='test -z "$ac_c_werror_flag"
70768 || test ! -s conftest.err'
70769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70770 (eval $ac_try) 2>&5
70771 ac_status=$?
70772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70773 (exit $ac_status); }; } &&
70774 { ac_try='test -s conftest$ac_exeext'
70775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70776 (eval $ac_try) 2>&5
70777 ac_status=$?
70778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70779 (exit $ac_status); }; }; then
70780 eval "$as_ac_var=yes"
70781 else
70782 echo "$as_me: failed program was:" >&5
70783 sed 's/^/| /' conftest.$ac_ext >&5
70785 eval "$as_ac_var=no"
70787 rm -f conftest.err conftest.$ac_objext \
70788 conftest$ac_exeext conftest.$ac_ext
70790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70792 if test `eval echo '${'$as_ac_var'}'` = yes; then
70793 cat >>confdefs.h <<_ACEOF
70794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70795 _ACEOF
70798 done
70808 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70809 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70810 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70811 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70812 echo $ECHO_N "(cached) $ECHO_C" >&6
70813 else
70817 ac_ext=cc
70818 ac_cpp='$CXXCPP $CPPFLAGS'
70819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70823 cat >conftest.$ac_ext <<_ACEOF
70824 /* confdefs.h. */
70825 _ACEOF
70826 cat confdefs.h >>conftest.$ac_ext
70827 cat >>conftest.$ac_ext <<_ACEOF
70828 /* end confdefs.h. */
70829 #include <math.h>
70830 #ifdef HAVE_IEEEFP_H
70831 #include <ieeefp.h>
70832 #endif
70835 main ()
70837 sqrtl(0);
70839 return 0;
70841 _ACEOF
70842 rm -f conftest.$ac_objext
70843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70844 (eval $ac_compile) 2>conftest.er1
70845 ac_status=$?
70846 grep -v '^ *+' conftest.er1 >conftest.err
70847 rm -f conftest.er1
70848 cat conftest.err >&5
70849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70850 (exit $ac_status); } &&
70851 { ac_try='test -z "$ac_cxx_werror_flag"
70852 || test ! -s conftest.err'
70853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70854 (eval $ac_try) 2>&5
70855 ac_status=$?
70856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70857 (exit $ac_status); }; } &&
70858 { ac_try='test -s conftest.$ac_objext'
70859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70860 (eval $ac_try) 2>&5
70861 ac_status=$?
70862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70863 (exit $ac_status); }; }; then
70864 glibcxx_cv_func_sqrtl_use=yes
70865 else
70866 echo "$as_me: failed program was:" >&5
70867 sed 's/^/| /' conftest.$ac_ext >&5
70869 glibcxx_cv_func_sqrtl_use=no
70871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70872 ac_ext=c
70873 ac_cpp='$CPP $CPPFLAGS'
70874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70882 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70883 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70885 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70887 for ac_func in sqrtl
70889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70890 echo "$as_me:$LINENO: checking for $ac_func" >&5
70891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70892 if eval "test \"\${$as_ac_var+set}\" = set"; then
70893 echo $ECHO_N "(cached) $ECHO_C" >&6
70894 else
70895 if test x$gcc_no_link = xyes; then
70896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70898 { (exit 1); exit 1; }; }
70900 cat >conftest.$ac_ext <<_ACEOF
70901 /* confdefs.h. */
70902 _ACEOF
70903 cat confdefs.h >>conftest.$ac_ext
70904 cat >>conftest.$ac_ext <<_ACEOF
70905 /* end confdefs.h. */
70906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70908 #define $ac_func innocuous_$ac_func
70910 /* System header to define __stub macros and hopefully few prototypes,
70911 which can conflict with char $ac_func (); below.
70912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70913 <limits.h> exists even on freestanding compilers. */
70915 #ifdef __STDC__
70916 # include <limits.h>
70917 #else
70918 # include <assert.h>
70919 #endif
70921 #undef $ac_func
70923 /* Override any gcc2 internal prototype to avoid an error. */
70924 #ifdef __cplusplus
70925 extern "C"
70927 #endif
70928 /* We use char because int might match the return type of a gcc2
70929 builtin and then its argument prototype would still apply. */
70930 char $ac_func ();
70931 /* The GNU C library defines this for functions which it implements
70932 to always fail with ENOSYS. Some functions are actually named
70933 something starting with __ and the normal name is an alias. */
70934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70935 choke me
70936 #else
70937 char (*f) () = $ac_func;
70938 #endif
70939 #ifdef __cplusplus
70941 #endif
70944 main ()
70946 return f != $ac_func;
70948 return 0;
70950 _ACEOF
70951 rm -f conftest.$ac_objext conftest$ac_exeext
70952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70953 (eval $ac_link) 2>conftest.er1
70954 ac_status=$?
70955 grep -v '^ *+' conftest.er1 >conftest.err
70956 rm -f conftest.er1
70957 cat conftest.err >&5
70958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70959 (exit $ac_status); } &&
70960 { ac_try='test -z "$ac_c_werror_flag"
70961 || test ! -s conftest.err'
70962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70963 (eval $ac_try) 2>&5
70964 ac_status=$?
70965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70966 (exit $ac_status); }; } &&
70967 { ac_try='test -s conftest$ac_exeext'
70968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70969 (eval $ac_try) 2>&5
70970 ac_status=$?
70971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70972 (exit $ac_status); }; }; then
70973 eval "$as_ac_var=yes"
70974 else
70975 echo "$as_me: failed program was:" >&5
70976 sed 's/^/| /' conftest.$ac_ext >&5
70978 eval "$as_ac_var=no"
70980 rm -f conftest.err conftest.$ac_objext \
70981 conftest$ac_exeext conftest.$ac_ext
70983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70985 if test `eval echo '${'$as_ac_var'}'` = yes; then
70986 cat >>confdefs.h <<_ACEOF
70987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70988 _ACEOF
70991 done
70993 else
70995 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70996 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70997 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70998 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70999 echo $ECHO_N "(cached) $ECHO_C" >&6
71000 else
71004 ac_ext=cc
71005 ac_cpp='$CXXCPP $CPPFLAGS'
71006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71010 cat >conftest.$ac_ext <<_ACEOF
71011 /* confdefs.h. */
71012 _ACEOF
71013 cat confdefs.h >>conftest.$ac_ext
71014 cat >>conftest.$ac_ext <<_ACEOF
71015 /* end confdefs.h. */
71016 #include <math.h>
71017 #ifdef HAVE_IEEEFP_H
71018 #include <ieeefp.h>
71019 #endif
71022 main ()
71024 _sqrtl(0);
71026 return 0;
71028 _ACEOF
71029 rm -f conftest.$ac_objext
71030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71031 (eval $ac_compile) 2>conftest.er1
71032 ac_status=$?
71033 grep -v '^ *+' conftest.er1 >conftest.err
71034 rm -f conftest.er1
71035 cat conftest.err >&5
71036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71037 (exit $ac_status); } &&
71038 { ac_try='test -z "$ac_cxx_werror_flag"
71039 || test ! -s conftest.err'
71040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71041 (eval $ac_try) 2>&5
71042 ac_status=$?
71043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71044 (exit $ac_status); }; } &&
71045 { ac_try='test -s conftest.$ac_objext'
71046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71047 (eval $ac_try) 2>&5
71048 ac_status=$?
71049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71050 (exit $ac_status); }; }; then
71051 glibcxx_cv_func__sqrtl_use=yes
71052 else
71053 echo "$as_me: failed program was:" >&5
71054 sed 's/^/| /' conftest.$ac_ext >&5
71056 glibcxx_cv_func__sqrtl_use=no
71058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71059 ac_ext=c
71060 ac_cpp='$CPP $CPPFLAGS'
71061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71069 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
71070 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
71072 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71074 for ac_func in _sqrtl
71076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71077 echo "$as_me:$LINENO: checking for $ac_func" >&5
71078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71079 if eval "test \"\${$as_ac_var+set}\" = set"; then
71080 echo $ECHO_N "(cached) $ECHO_C" >&6
71081 else
71082 if test x$gcc_no_link = xyes; then
71083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71085 { (exit 1); exit 1; }; }
71087 cat >conftest.$ac_ext <<_ACEOF
71088 /* confdefs.h. */
71089 _ACEOF
71090 cat confdefs.h >>conftest.$ac_ext
71091 cat >>conftest.$ac_ext <<_ACEOF
71092 /* end confdefs.h. */
71093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71095 #define $ac_func innocuous_$ac_func
71097 /* System header to define __stub macros and hopefully few prototypes,
71098 which can conflict with char $ac_func (); below.
71099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71100 <limits.h> exists even on freestanding compilers. */
71102 #ifdef __STDC__
71103 # include <limits.h>
71104 #else
71105 # include <assert.h>
71106 #endif
71108 #undef $ac_func
71110 /* Override any gcc2 internal prototype to avoid an error. */
71111 #ifdef __cplusplus
71112 extern "C"
71114 #endif
71115 /* We use char because int might match the return type of a gcc2
71116 builtin and then its argument prototype would still apply. */
71117 char $ac_func ();
71118 /* The GNU C library defines this for functions which it implements
71119 to always fail with ENOSYS. Some functions are actually named
71120 something starting with __ and the normal name is an alias. */
71121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71122 choke me
71123 #else
71124 char (*f) () = $ac_func;
71125 #endif
71126 #ifdef __cplusplus
71128 #endif
71131 main ()
71133 return f != $ac_func;
71135 return 0;
71137 _ACEOF
71138 rm -f conftest.$ac_objext conftest$ac_exeext
71139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71140 (eval $ac_link) 2>conftest.er1
71141 ac_status=$?
71142 grep -v '^ *+' conftest.er1 >conftest.err
71143 rm -f conftest.er1
71144 cat conftest.err >&5
71145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71146 (exit $ac_status); } &&
71147 { ac_try='test -z "$ac_c_werror_flag"
71148 || test ! -s conftest.err'
71149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71150 (eval $ac_try) 2>&5
71151 ac_status=$?
71152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71153 (exit $ac_status); }; } &&
71154 { ac_try='test -s conftest$ac_exeext'
71155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71156 (eval $ac_try) 2>&5
71157 ac_status=$?
71158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71159 (exit $ac_status); }; }; then
71160 eval "$as_ac_var=yes"
71161 else
71162 echo "$as_me: failed program was:" >&5
71163 sed 's/^/| /' conftest.$ac_ext >&5
71165 eval "$as_ac_var=no"
71167 rm -f conftest.err conftest.$ac_objext \
71168 conftest$ac_exeext conftest.$ac_ext
71170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71172 if test `eval echo '${'$as_ac_var'}'` = yes; then
71173 cat >>confdefs.h <<_ACEOF
71174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71175 _ACEOF
71178 done
71188 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
71189 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
71190 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71191 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
71192 echo $ECHO_N "(cached) $ECHO_C" >&6
71193 else
71197 ac_ext=cc
71198 ac_cpp='$CXXCPP $CPPFLAGS'
71199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71203 cat >conftest.$ac_ext <<_ACEOF
71204 /* confdefs.h. */
71205 _ACEOF
71206 cat confdefs.h >>conftest.$ac_ext
71207 cat >>conftest.$ac_ext <<_ACEOF
71208 /* end confdefs.h. */
71209 #include <math.h>
71211 main ()
71213 sincosl(0, 0, 0);
71215 return 0;
71217 _ACEOF
71218 rm -f conftest.$ac_objext
71219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71220 (eval $ac_compile) 2>conftest.er1
71221 ac_status=$?
71222 grep -v '^ *+' conftest.er1 >conftest.err
71223 rm -f conftest.er1
71224 cat conftest.err >&5
71225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71226 (exit $ac_status); } &&
71227 { ac_try='test -z "$ac_cxx_werror_flag"
71228 || test ! -s conftest.err'
71229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71230 (eval $ac_try) 2>&5
71231 ac_status=$?
71232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71233 (exit $ac_status); }; } &&
71234 { ac_try='test -s conftest.$ac_objext'
71235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71236 (eval $ac_try) 2>&5
71237 ac_status=$?
71238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71239 (exit $ac_status); }; }; then
71240 glibcxx_cv_func_sincosl_use=yes
71241 else
71242 echo "$as_me: failed program was:" >&5
71243 sed 's/^/| /' conftest.$ac_ext >&5
71245 glibcxx_cv_func_sincosl_use=no
71247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71248 ac_ext=c
71249 ac_cpp='$CPP $CPPFLAGS'
71250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71258 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
71259 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
71261 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71263 for ac_func in sincosl
71265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71266 echo "$as_me:$LINENO: checking for $ac_func" >&5
71267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71268 if eval "test \"\${$as_ac_var+set}\" = set"; then
71269 echo $ECHO_N "(cached) $ECHO_C" >&6
71270 else
71271 if test x$gcc_no_link = xyes; then
71272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71274 { (exit 1); exit 1; }; }
71276 cat >conftest.$ac_ext <<_ACEOF
71277 /* confdefs.h. */
71278 _ACEOF
71279 cat confdefs.h >>conftest.$ac_ext
71280 cat >>conftest.$ac_ext <<_ACEOF
71281 /* end confdefs.h. */
71282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71284 #define $ac_func innocuous_$ac_func
71286 /* System header to define __stub macros and hopefully few prototypes,
71287 which can conflict with char $ac_func (); below.
71288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71289 <limits.h> exists even on freestanding compilers. */
71291 #ifdef __STDC__
71292 # include <limits.h>
71293 #else
71294 # include <assert.h>
71295 #endif
71297 #undef $ac_func
71299 /* Override any gcc2 internal prototype to avoid an error. */
71300 #ifdef __cplusplus
71301 extern "C"
71303 #endif
71304 /* We use char because int might match the return type of a gcc2
71305 builtin and then its argument prototype would still apply. */
71306 char $ac_func ();
71307 /* The GNU C library defines this for functions which it implements
71308 to always fail with ENOSYS. Some functions are actually named
71309 something starting with __ and the normal name is an alias. */
71310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71311 choke me
71312 #else
71313 char (*f) () = $ac_func;
71314 #endif
71315 #ifdef __cplusplus
71317 #endif
71320 main ()
71322 return f != $ac_func;
71324 return 0;
71326 _ACEOF
71327 rm -f conftest.$ac_objext conftest$ac_exeext
71328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71329 (eval $ac_link) 2>conftest.er1
71330 ac_status=$?
71331 grep -v '^ *+' conftest.er1 >conftest.err
71332 rm -f conftest.er1
71333 cat conftest.err >&5
71334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71335 (exit $ac_status); } &&
71336 { ac_try='test -z "$ac_c_werror_flag"
71337 || test ! -s conftest.err'
71338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71339 (eval $ac_try) 2>&5
71340 ac_status=$?
71341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71342 (exit $ac_status); }; } &&
71343 { ac_try='test -s conftest$ac_exeext'
71344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71345 (eval $ac_try) 2>&5
71346 ac_status=$?
71347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71348 (exit $ac_status); }; }; then
71349 eval "$as_ac_var=yes"
71350 else
71351 echo "$as_me: failed program was:" >&5
71352 sed 's/^/| /' conftest.$ac_ext >&5
71354 eval "$as_ac_var=no"
71356 rm -f conftest.err conftest.$ac_objext \
71357 conftest$ac_exeext conftest.$ac_ext
71359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71361 if test `eval echo '${'$as_ac_var'}'` = yes; then
71362 cat >>confdefs.h <<_ACEOF
71363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71364 _ACEOF
71367 done
71369 else
71371 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
71372 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
71373 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71374 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
71375 echo $ECHO_N "(cached) $ECHO_C" >&6
71376 else
71380 ac_ext=cc
71381 ac_cpp='$CXXCPP $CPPFLAGS'
71382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71386 cat >conftest.$ac_ext <<_ACEOF
71387 /* confdefs.h. */
71388 _ACEOF
71389 cat confdefs.h >>conftest.$ac_ext
71390 cat >>conftest.$ac_ext <<_ACEOF
71391 /* end confdefs.h. */
71392 #include <math.h>
71394 main ()
71396 _sincosl(0, 0, 0);
71398 return 0;
71400 _ACEOF
71401 rm -f conftest.$ac_objext
71402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71403 (eval $ac_compile) 2>conftest.er1
71404 ac_status=$?
71405 grep -v '^ *+' conftest.er1 >conftest.err
71406 rm -f conftest.er1
71407 cat conftest.err >&5
71408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71409 (exit $ac_status); } &&
71410 { ac_try='test -z "$ac_cxx_werror_flag"
71411 || test ! -s conftest.err'
71412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71413 (eval $ac_try) 2>&5
71414 ac_status=$?
71415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71416 (exit $ac_status); }; } &&
71417 { ac_try='test -s conftest.$ac_objext'
71418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71419 (eval $ac_try) 2>&5
71420 ac_status=$?
71421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71422 (exit $ac_status); }; }; then
71423 glibcxx_cv_func__sincosl_use=yes
71424 else
71425 echo "$as_me: failed program was:" >&5
71426 sed 's/^/| /' conftest.$ac_ext >&5
71428 glibcxx_cv_func__sincosl_use=no
71430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71431 ac_ext=c
71432 ac_cpp='$CPP $CPPFLAGS'
71433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71441 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
71442 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
71444 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71446 for ac_func in _sincosl
71448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71449 echo "$as_me:$LINENO: checking for $ac_func" >&5
71450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71451 if eval "test \"\${$as_ac_var+set}\" = set"; then
71452 echo $ECHO_N "(cached) $ECHO_C" >&6
71453 else
71454 if test x$gcc_no_link = xyes; then
71455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71457 { (exit 1); exit 1; }; }
71459 cat >conftest.$ac_ext <<_ACEOF
71460 /* confdefs.h. */
71461 _ACEOF
71462 cat confdefs.h >>conftest.$ac_ext
71463 cat >>conftest.$ac_ext <<_ACEOF
71464 /* end confdefs.h. */
71465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71467 #define $ac_func innocuous_$ac_func
71469 /* System header to define __stub macros and hopefully few prototypes,
71470 which can conflict with char $ac_func (); below.
71471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71472 <limits.h> exists even on freestanding compilers. */
71474 #ifdef __STDC__
71475 # include <limits.h>
71476 #else
71477 # include <assert.h>
71478 #endif
71480 #undef $ac_func
71482 /* Override any gcc2 internal prototype to avoid an error. */
71483 #ifdef __cplusplus
71484 extern "C"
71486 #endif
71487 /* We use char because int might match the return type of a gcc2
71488 builtin and then its argument prototype would still apply. */
71489 char $ac_func ();
71490 /* The GNU C library defines this for functions which it implements
71491 to always fail with ENOSYS. Some functions are actually named
71492 something starting with __ and the normal name is an alias. */
71493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71494 choke me
71495 #else
71496 char (*f) () = $ac_func;
71497 #endif
71498 #ifdef __cplusplus
71500 #endif
71503 main ()
71505 return f != $ac_func;
71507 return 0;
71509 _ACEOF
71510 rm -f conftest.$ac_objext conftest$ac_exeext
71511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71512 (eval $ac_link) 2>conftest.er1
71513 ac_status=$?
71514 grep -v '^ *+' conftest.er1 >conftest.err
71515 rm -f conftest.er1
71516 cat conftest.err >&5
71517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71518 (exit $ac_status); } &&
71519 { ac_try='test -z "$ac_c_werror_flag"
71520 || test ! -s conftest.err'
71521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71522 (eval $ac_try) 2>&5
71523 ac_status=$?
71524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71525 (exit $ac_status); }; } &&
71526 { ac_try='test -s conftest$ac_exeext'
71527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71528 (eval $ac_try) 2>&5
71529 ac_status=$?
71530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71531 (exit $ac_status); }; }; then
71532 eval "$as_ac_var=yes"
71533 else
71534 echo "$as_me: failed program was:" >&5
71535 sed 's/^/| /' conftest.$ac_ext >&5
71537 eval "$as_ac_var=no"
71539 rm -f conftest.err conftest.$ac_objext \
71540 conftest$ac_exeext conftest.$ac_ext
71542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71544 if test `eval echo '${'$as_ac_var'}'` = yes; then
71545 cat >>confdefs.h <<_ACEOF
71546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71547 _ACEOF
71550 done
71560 echo "$as_me:$LINENO: checking for finitel declaration" >&5
71561 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71562 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71563 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71564 echo $ECHO_N "(cached) $ECHO_C" >&6
71565 else
71569 ac_ext=cc
71570 ac_cpp='$CXXCPP $CPPFLAGS'
71571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71575 cat >conftest.$ac_ext <<_ACEOF
71576 /* confdefs.h. */
71577 _ACEOF
71578 cat confdefs.h >>conftest.$ac_ext
71579 cat >>conftest.$ac_ext <<_ACEOF
71580 /* end confdefs.h. */
71581 #include <math.h>
71582 #ifdef HAVE_IEEEFP_H
71583 #include <ieeefp.h>
71584 #endif
71587 main ()
71589 finitel(0);
71591 return 0;
71593 _ACEOF
71594 rm -f conftest.$ac_objext
71595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71596 (eval $ac_compile) 2>conftest.er1
71597 ac_status=$?
71598 grep -v '^ *+' conftest.er1 >conftest.err
71599 rm -f conftest.er1
71600 cat conftest.err >&5
71601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71602 (exit $ac_status); } &&
71603 { ac_try='test -z "$ac_cxx_werror_flag"
71604 || test ! -s conftest.err'
71605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71606 (eval $ac_try) 2>&5
71607 ac_status=$?
71608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71609 (exit $ac_status); }; } &&
71610 { ac_try='test -s conftest.$ac_objext'
71611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71612 (eval $ac_try) 2>&5
71613 ac_status=$?
71614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71615 (exit $ac_status); }; }; then
71616 glibcxx_cv_func_finitel_use=yes
71617 else
71618 echo "$as_me: failed program was:" >&5
71619 sed 's/^/| /' conftest.$ac_ext >&5
71621 glibcxx_cv_func_finitel_use=no
71623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71624 ac_ext=c
71625 ac_cpp='$CPP $CPPFLAGS'
71626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71635 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71637 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71639 for ac_func in finitel
71641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71642 echo "$as_me:$LINENO: checking for $ac_func" >&5
71643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71644 if eval "test \"\${$as_ac_var+set}\" = set"; then
71645 echo $ECHO_N "(cached) $ECHO_C" >&6
71646 else
71647 if test x$gcc_no_link = xyes; then
71648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71650 { (exit 1); exit 1; }; }
71652 cat >conftest.$ac_ext <<_ACEOF
71653 /* confdefs.h. */
71654 _ACEOF
71655 cat confdefs.h >>conftest.$ac_ext
71656 cat >>conftest.$ac_ext <<_ACEOF
71657 /* end confdefs.h. */
71658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71660 #define $ac_func innocuous_$ac_func
71662 /* System header to define __stub macros and hopefully few prototypes,
71663 which can conflict with char $ac_func (); below.
71664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71665 <limits.h> exists even on freestanding compilers. */
71667 #ifdef __STDC__
71668 # include <limits.h>
71669 #else
71670 # include <assert.h>
71671 #endif
71673 #undef $ac_func
71675 /* Override any gcc2 internal prototype to avoid an error. */
71676 #ifdef __cplusplus
71677 extern "C"
71679 #endif
71680 /* We use char because int might match the return type of a gcc2
71681 builtin and then its argument prototype would still apply. */
71682 char $ac_func ();
71683 /* The GNU C library defines this for functions which it implements
71684 to always fail with ENOSYS. Some functions are actually named
71685 something starting with __ and the normal name is an alias. */
71686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71687 choke me
71688 #else
71689 char (*f) () = $ac_func;
71690 #endif
71691 #ifdef __cplusplus
71693 #endif
71696 main ()
71698 return f != $ac_func;
71700 return 0;
71702 _ACEOF
71703 rm -f conftest.$ac_objext conftest$ac_exeext
71704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71705 (eval $ac_link) 2>conftest.er1
71706 ac_status=$?
71707 grep -v '^ *+' conftest.er1 >conftest.err
71708 rm -f conftest.er1
71709 cat conftest.err >&5
71710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71711 (exit $ac_status); } &&
71712 { ac_try='test -z "$ac_c_werror_flag"
71713 || test ! -s conftest.err'
71714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71715 (eval $ac_try) 2>&5
71716 ac_status=$?
71717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71718 (exit $ac_status); }; } &&
71719 { ac_try='test -s conftest$ac_exeext'
71720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71721 (eval $ac_try) 2>&5
71722 ac_status=$?
71723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71724 (exit $ac_status); }; }; then
71725 eval "$as_ac_var=yes"
71726 else
71727 echo "$as_me: failed program was:" >&5
71728 sed 's/^/| /' conftest.$ac_ext >&5
71730 eval "$as_ac_var=no"
71732 rm -f conftest.err conftest.$ac_objext \
71733 conftest$ac_exeext conftest.$ac_ext
71735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71737 if test `eval echo '${'$as_ac_var'}'` = yes; then
71738 cat >>confdefs.h <<_ACEOF
71739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71740 _ACEOF
71743 done
71745 else
71747 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71748 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71749 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71750 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71751 echo $ECHO_N "(cached) $ECHO_C" >&6
71752 else
71756 ac_ext=cc
71757 ac_cpp='$CXXCPP $CPPFLAGS'
71758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71762 cat >conftest.$ac_ext <<_ACEOF
71763 /* confdefs.h. */
71764 _ACEOF
71765 cat confdefs.h >>conftest.$ac_ext
71766 cat >>conftest.$ac_ext <<_ACEOF
71767 /* end confdefs.h. */
71768 #include <math.h>
71769 #ifdef HAVE_IEEEFP_H
71770 #include <ieeefp.h>
71771 #endif
71774 main ()
71776 _finitel(0);
71778 return 0;
71780 _ACEOF
71781 rm -f conftest.$ac_objext
71782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71783 (eval $ac_compile) 2>conftest.er1
71784 ac_status=$?
71785 grep -v '^ *+' conftest.er1 >conftest.err
71786 rm -f conftest.er1
71787 cat conftest.err >&5
71788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71789 (exit $ac_status); } &&
71790 { ac_try='test -z "$ac_cxx_werror_flag"
71791 || test ! -s conftest.err'
71792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71793 (eval $ac_try) 2>&5
71794 ac_status=$?
71795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71796 (exit $ac_status); }; } &&
71797 { ac_try='test -s conftest.$ac_objext'
71798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71799 (eval $ac_try) 2>&5
71800 ac_status=$?
71801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71802 (exit $ac_status); }; }; then
71803 glibcxx_cv_func__finitel_use=yes
71804 else
71805 echo "$as_me: failed program was:" >&5
71806 sed 's/^/| /' conftest.$ac_ext >&5
71808 glibcxx_cv_func__finitel_use=no
71810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71811 ac_ext=c
71812 ac_cpp='$CPP $CPPFLAGS'
71813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71822 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71824 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71826 for ac_func in _finitel
71828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71829 echo "$as_me:$LINENO: checking for $ac_func" >&5
71830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71831 if eval "test \"\${$as_ac_var+set}\" = set"; then
71832 echo $ECHO_N "(cached) $ECHO_C" >&6
71833 else
71834 if test x$gcc_no_link = xyes; then
71835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71837 { (exit 1); exit 1; }; }
71839 cat >conftest.$ac_ext <<_ACEOF
71840 /* confdefs.h. */
71841 _ACEOF
71842 cat confdefs.h >>conftest.$ac_ext
71843 cat >>conftest.$ac_ext <<_ACEOF
71844 /* end confdefs.h. */
71845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71847 #define $ac_func innocuous_$ac_func
71849 /* System header to define __stub macros and hopefully few prototypes,
71850 which can conflict with char $ac_func (); below.
71851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71852 <limits.h> exists even on freestanding compilers. */
71854 #ifdef __STDC__
71855 # include <limits.h>
71856 #else
71857 # include <assert.h>
71858 #endif
71860 #undef $ac_func
71862 /* Override any gcc2 internal prototype to avoid an error. */
71863 #ifdef __cplusplus
71864 extern "C"
71866 #endif
71867 /* We use char because int might match the return type of a gcc2
71868 builtin and then its argument prototype would still apply. */
71869 char $ac_func ();
71870 /* The GNU C library defines this for functions which it implements
71871 to always fail with ENOSYS. Some functions are actually named
71872 something starting with __ and the normal name is an alias. */
71873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71874 choke me
71875 #else
71876 char (*f) () = $ac_func;
71877 #endif
71878 #ifdef __cplusplus
71880 #endif
71883 main ()
71885 return f != $ac_func;
71887 return 0;
71889 _ACEOF
71890 rm -f conftest.$ac_objext conftest$ac_exeext
71891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71892 (eval $ac_link) 2>conftest.er1
71893 ac_status=$?
71894 grep -v '^ *+' conftest.er1 >conftest.err
71895 rm -f conftest.er1
71896 cat conftest.err >&5
71897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71898 (exit $ac_status); } &&
71899 { ac_try='test -z "$ac_c_werror_flag"
71900 || test ! -s conftest.err'
71901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71902 (eval $ac_try) 2>&5
71903 ac_status=$?
71904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71905 (exit $ac_status); }; } &&
71906 { ac_try='test -s conftest$ac_exeext'
71907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71908 (eval $ac_try) 2>&5
71909 ac_status=$?
71910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71911 (exit $ac_status); }; }; then
71912 eval "$as_ac_var=yes"
71913 else
71914 echo "$as_me: failed program was:" >&5
71915 sed 's/^/| /' conftest.$ac_ext >&5
71917 eval "$as_ac_var=no"
71919 rm -f conftest.err conftest.$ac_objext \
71920 conftest$ac_exeext conftest.$ac_ext
71922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71924 if test `eval echo '${'$as_ac_var'}'` = yes; then
71925 cat >>confdefs.h <<_ACEOF
71926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71927 _ACEOF
71930 done
71939 LIBS="$ac_save_LIBS"
71940 CXXFLAGS="$ac_save_CXXFLAGS"
71944 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71945 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71946 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71947 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71948 echo $ECHO_N "(cached) $ECHO_C" >&6
71949 else
71953 ac_ext=cc
71954 ac_cpp='$CXXCPP $CPPFLAGS'
71955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71959 cat >conftest.$ac_ext <<_ACEOF
71960 /* confdefs.h. */
71961 _ACEOF
71962 cat confdefs.h >>conftest.$ac_ext
71963 cat >>conftest.$ac_ext <<_ACEOF
71964 /* end confdefs.h. */
71965 #include <math.h>
71967 main ()
71969 __builtin_abs(0);
71971 return 0;
71973 _ACEOF
71974 rm -f conftest.$ac_objext
71975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71976 (eval $ac_compile) 2>conftest.er1
71977 ac_status=$?
71978 grep -v '^ *+' conftest.er1 >conftest.err
71979 rm -f conftest.er1
71980 cat conftest.err >&5
71981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71982 (exit $ac_status); } &&
71983 { ac_try='test -z "$ac_cxx_werror_flag"
71984 || test ! -s conftest.err'
71985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71986 (eval $ac_try) 2>&5
71987 ac_status=$?
71988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71989 (exit $ac_status); }; } &&
71990 { ac_try='test -s conftest.$ac_objext'
71991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71992 (eval $ac_try) 2>&5
71993 ac_status=$?
71994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71995 (exit $ac_status); }; }; then
71996 glibcxx_cv_func___builtin_abs_use=yes
71997 else
71998 echo "$as_me: failed program was:" >&5
71999 sed 's/^/| /' conftest.$ac_ext >&5
72001 glibcxx_cv_func___builtin_abs_use=no
72003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72004 ac_ext=c
72005 ac_cpp='$CPP $CPPFLAGS'
72006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72014 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
72015 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
72016 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
72017 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
72018 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
72019 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
72020 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
72021 echo $ECHO_N "(cached) $ECHO_C" >&6
72022 else
72024 if test x$gcc_no_link = xyes; then
72025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72027 { (exit 1); exit 1; }; }
72029 cat >conftest.$ac_ext <<_ACEOF
72030 /* confdefs.h. */
72031 _ACEOF
72032 cat confdefs.h >>conftest.$ac_ext
72033 cat >>conftest.$ac_ext <<_ACEOF
72034 /* end confdefs.h. */
72035 #include <math.h>
72037 main ()
72039 __builtin_abs(0);
72041 return 0;
72043 _ACEOF
72044 rm -f conftest.$ac_objext conftest$ac_exeext
72045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72046 (eval $ac_link) 2>conftest.er1
72047 ac_status=$?
72048 grep -v '^ *+' conftest.er1 >conftest.err
72049 rm -f conftest.er1
72050 cat conftest.err >&5
72051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72052 (exit $ac_status); } &&
72053 { ac_try='test -z "$ac_c_werror_flag"
72054 || test ! -s conftest.err'
72055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72056 (eval $ac_try) 2>&5
72057 ac_status=$?
72058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72059 (exit $ac_status); }; } &&
72060 { ac_try='test -s conftest$ac_exeext'
72061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72062 (eval $ac_try) 2>&5
72063 ac_status=$?
72064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72065 (exit $ac_status); }; }; then
72066 glibcxx_cv_func___builtin_abs_link=yes
72067 else
72068 echo "$as_me: failed program was:" >&5
72069 sed 's/^/| /' conftest.$ac_ext >&5
72071 glibcxx_cv_func___builtin_abs_link=no
72073 rm -f conftest.err conftest.$ac_objext \
72074 conftest$ac_exeext conftest.$ac_ext
72079 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
72080 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
72082 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
72084 cat >>confdefs.h <<\_ACEOF
72085 #define HAVE___BUILTIN_ABS 1
72086 _ACEOF
72093 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
72094 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
72095 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
72096 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
72097 echo $ECHO_N "(cached) $ECHO_C" >&6
72098 else
72102 ac_ext=cc
72103 ac_cpp='$CXXCPP $CPPFLAGS'
72104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72108 cat >conftest.$ac_ext <<_ACEOF
72109 /* confdefs.h. */
72110 _ACEOF
72111 cat confdefs.h >>conftest.$ac_ext
72112 cat >>conftest.$ac_ext <<_ACEOF
72113 /* end confdefs.h. */
72114 #include <math.h>
72116 main ()
72118 __builtin_fabsf(0);
72120 return 0;
72122 _ACEOF
72123 rm -f conftest.$ac_objext
72124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72125 (eval $ac_compile) 2>conftest.er1
72126 ac_status=$?
72127 grep -v '^ *+' conftest.er1 >conftest.err
72128 rm -f conftest.er1
72129 cat conftest.err >&5
72130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72131 (exit $ac_status); } &&
72132 { ac_try='test -z "$ac_cxx_werror_flag"
72133 || test ! -s conftest.err'
72134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72135 (eval $ac_try) 2>&5
72136 ac_status=$?
72137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72138 (exit $ac_status); }; } &&
72139 { ac_try='test -s conftest.$ac_objext'
72140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72141 (eval $ac_try) 2>&5
72142 ac_status=$?
72143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72144 (exit $ac_status); }; }; then
72145 glibcxx_cv_func___builtin_fabsf_use=yes
72146 else
72147 echo "$as_me: failed program was:" >&5
72148 sed 's/^/| /' conftest.$ac_ext >&5
72150 glibcxx_cv_func___builtin_fabsf_use=no
72152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72153 ac_ext=c
72154 ac_cpp='$CPP $CPPFLAGS'
72155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72163 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
72164 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
72165 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
72166 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
72167 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
72168 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
72169 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
72170 echo $ECHO_N "(cached) $ECHO_C" >&6
72171 else
72173 if test x$gcc_no_link = xyes; then
72174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72176 { (exit 1); exit 1; }; }
72178 cat >conftest.$ac_ext <<_ACEOF
72179 /* confdefs.h. */
72180 _ACEOF
72181 cat confdefs.h >>conftest.$ac_ext
72182 cat >>conftest.$ac_ext <<_ACEOF
72183 /* end confdefs.h. */
72184 #include <math.h>
72186 main ()
72188 __builtin_fabsf(0);
72190 return 0;
72192 _ACEOF
72193 rm -f conftest.$ac_objext conftest$ac_exeext
72194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72195 (eval $ac_link) 2>conftest.er1
72196 ac_status=$?
72197 grep -v '^ *+' conftest.er1 >conftest.err
72198 rm -f conftest.er1
72199 cat conftest.err >&5
72200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72201 (exit $ac_status); } &&
72202 { ac_try='test -z "$ac_c_werror_flag"
72203 || test ! -s conftest.err'
72204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72205 (eval $ac_try) 2>&5
72206 ac_status=$?
72207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72208 (exit $ac_status); }; } &&
72209 { ac_try='test -s conftest$ac_exeext'
72210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72211 (eval $ac_try) 2>&5
72212 ac_status=$?
72213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72214 (exit $ac_status); }; }; then
72215 glibcxx_cv_func___builtin_fabsf_link=yes
72216 else
72217 echo "$as_me: failed program was:" >&5
72218 sed 's/^/| /' conftest.$ac_ext >&5
72220 glibcxx_cv_func___builtin_fabsf_link=no
72222 rm -f conftest.err conftest.$ac_objext \
72223 conftest$ac_exeext conftest.$ac_ext
72228 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
72229 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
72231 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
72233 cat >>confdefs.h <<\_ACEOF
72234 #define HAVE___BUILTIN_FABSF 1
72235 _ACEOF
72242 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
72243 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
72244 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
72245 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
72246 echo $ECHO_N "(cached) $ECHO_C" >&6
72247 else
72251 ac_ext=cc
72252 ac_cpp='$CXXCPP $CPPFLAGS'
72253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72257 cat >conftest.$ac_ext <<_ACEOF
72258 /* confdefs.h. */
72259 _ACEOF
72260 cat confdefs.h >>conftest.$ac_ext
72261 cat >>conftest.$ac_ext <<_ACEOF
72262 /* end confdefs.h. */
72263 #include <math.h>
72265 main ()
72267 __builtin_fabs(0);
72269 return 0;
72271 _ACEOF
72272 rm -f conftest.$ac_objext
72273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72274 (eval $ac_compile) 2>conftest.er1
72275 ac_status=$?
72276 grep -v '^ *+' conftest.er1 >conftest.err
72277 rm -f conftest.er1
72278 cat conftest.err >&5
72279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72280 (exit $ac_status); } &&
72281 { ac_try='test -z "$ac_cxx_werror_flag"
72282 || test ! -s conftest.err'
72283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72284 (eval $ac_try) 2>&5
72285 ac_status=$?
72286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72287 (exit $ac_status); }; } &&
72288 { ac_try='test -s conftest.$ac_objext'
72289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72290 (eval $ac_try) 2>&5
72291 ac_status=$?
72292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72293 (exit $ac_status); }; }; then
72294 glibcxx_cv_func___builtin_fabs_use=yes
72295 else
72296 echo "$as_me: failed program was:" >&5
72297 sed 's/^/| /' conftest.$ac_ext >&5
72299 glibcxx_cv_func___builtin_fabs_use=no
72301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72302 ac_ext=c
72303 ac_cpp='$CPP $CPPFLAGS'
72304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72312 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
72313 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
72314 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
72315 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
72316 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
72317 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
72318 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
72319 echo $ECHO_N "(cached) $ECHO_C" >&6
72320 else
72322 if test x$gcc_no_link = xyes; then
72323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72325 { (exit 1); exit 1; }; }
72327 cat >conftest.$ac_ext <<_ACEOF
72328 /* confdefs.h. */
72329 _ACEOF
72330 cat confdefs.h >>conftest.$ac_ext
72331 cat >>conftest.$ac_ext <<_ACEOF
72332 /* end confdefs.h. */
72333 #include <math.h>
72335 main ()
72337 __builtin_fabs(0);
72339 return 0;
72341 _ACEOF
72342 rm -f conftest.$ac_objext conftest$ac_exeext
72343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72344 (eval $ac_link) 2>conftest.er1
72345 ac_status=$?
72346 grep -v '^ *+' conftest.er1 >conftest.err
72347 rm -f conftest.er1
72348 cat conftest.err >&5
72349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72350 (exit $ac_status); } &&
72351 { ac_try='test -z "$ac_c_werror_flag"
72352 || test ! -s conftest.err'
72353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72354 (eval $ac_try) 2>&5
72355 ac_status=$?
72356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72357 (exit $ac_status); }; } &&
72358 { ac_try='test -s conftest$ac_exeext'
72359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72360 (eval $ac_try) 2>&5
72361 ac_status=$?
72362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72363 (exit $ac_status); }; }; then
72364 glibcxx_cv_func___builtin_fabs_link=yes
72365 else
72366 echo "$as_me: failed program was:" >&5
72367 sed 's/^/| /' conftest.$ac_ext >&5
72369 glibcxx_cv_func___builtin_fabs_link=no
72371 rm -f conftest.err conftest.$ac_objext \
72372 conftest$ac_exeext conftest.$ac_ext
72377 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
72378 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
72380 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
72382 cat >>confdefs.h <<\_ACEOF
72383 #define HAVE___BUILTIN_FABS 1
72384 _ACEOF
72391 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
72392 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
72393 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
72394 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
72395 echo $ECHO_N "(cached) $ECHO_C" >&6
72396 else
72400 ac_ext=cc
72401 ac_cpp='$CXXCPP $CPPFLAGS'
72402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72406 cat >conftest.$ac_ext <<_ACEOF
72407 /* confdefs.h. */
72408 _ACEOF
72409 cat confdefs.h >>conftest.$ac_ext
72410 cat >>conftest.$ac_ext <<_ACEOF
72411 /* end confdefs.h. */
72412 #include <math.h>
72414 main ()
72416 __builtin_fabsl(0);
72418 return 0;
72420 _ACEOF
72421 rm -f conftest.$ac_objext
72422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72423 (eval $ac_compile) 2>conftest.er1
72424 ac_status=$?
72425 grep -v '^ *+' conftest.er1 >conftest.err
72426 rm -f conftest.er1
72427 cat conftest.err >&5
72428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72429 (exit $ac_status); } &&
72430 { ac_try='test -z "$ac_cxx_werror_flag"
72431 || test ! -s conftest.err'
72432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72433 (eval $ac_try) 2>&5
72434 ac_status=$?
72435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72436 (exit $ac_status); }; } &&
72437 { ac_try='test -s conftest.$ac_objext'
72438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72439 (eval $ac_try) 2>&5
72440 ac_status=$?
72441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72442 (exit $ac_status); }; }; then
72443 glibcxx_cv_func___builtin_fabsl_use=yes
72444 else
72445 echo "$as_me: failed program was:" >&5
72446 sed 's/^/| /' conftest.$ac_ext >&5
72448 glibcxx_cv_func___builtin_fabsl_use=no
72450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72451 ac_ext=c
72452 ac_cpp='$CPP $CPPFLAGS'
72453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72461 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
72462 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
72463 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
72464 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
72465 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
72466 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
72467 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
72468 echo $ECHO_N "(cached) $ECHO_C" >&6
72469 else
72471 if test x$gcc_no_link = xyes; then
72472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72474 { (exit 1); exit 1; }; }
72476 cat >conftest.$ac_ext <<_ACEOF
72477 /* confdefs.h. */
72478 _ACEOF
72479 cat confdefs.h >>conftest.$ac_ext
72480 cat >>conftest.$ac_ext <<_ACEOF
72481 /* end confdefs.h. */
72482 #include <math.h>
72484 main ()
72486 __builtin_fabsl(0);
72488 return 0;
72490 _ACEOF
72491 rm -f conftest.$ac_objext conftest$ac_exeext
72492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72493 (eval $ac_link) 2>conftest.er1
72494 ac_status=$?
72495 grep -v '^ *+' conftest.er1 >conftest.err
72496 rm -f conftest.er1
72497 cat conftest.err >&5
72498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72499 (exit $ac_status); } &&
72500 { ac_try='test -z "$ac_c_werror_flag"
72501 || test ! -s conftest.err'
72502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72503 (eval $ac_try) 2>&5
72504 ac_status=$?
72505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72506 (exit $ac_status); }; } &&
72507 { ac_try='test -s conftest$ac_exeext'
72508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72509 (eval $ac_try) 2>&5
72510 ac_status=$?
72511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72512 (exit $ac_status); }; }; then
72513 glibcxx_cv_func___builtin_fabsl_link=yes
72514 else
72515 echo "$as_me: failed program was:" >&5
72516 sed 's/^/| /' conftest.$ac_ext >&5
72518 glibcxx_cv_func___builtin_fabsl_link=no
72520 rm -f conftest.err conftest.$ac_objext \
72521 conftest$ac_exeext conftest.$ac_ext
72526 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72527 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72529 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72531 cat >>confdefs.h <<\_ACEOF
72532 #define HAVE___BUILTIN_FABSL 1
72533 _ACEOF
72540 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72541 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72542 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72543 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72544 echo $ECHO_N "(cached) $ECHO_C" >&6
72545 else
72549 ac_ext=cc
72550 ac_cpp='$CXXCPP $CPPFLAGS'
72551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72555 cat >conftest.$ac_ext <<_ACEOF
72556 /* confdefs.h. */
72557 _ACEOF
72558 cat confdefs.h >>conftest.$ac_ext
72559 cat >>conftest.$ac_ext <<_ACEOF
72560 /* end confdefs.h. */
72561 #include <math.h>
72563 main ()
72565 __builtin_labs(0);
72567 return 0;
72569 _ACEOF
72570 rm -f conftest.$ac_objext
72571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72572 (eval $ac_compile) 2>conftest.er1
72573 ac_status=$?
72574 grep -v '^ *+' conftest.er1 >conftest.err
72575 rm -f conftest.er1
72576 cat conftest.err >&5
72577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72578 (exit $ac_status); } &&
72579 { ac_try='test -z "$ac_cxx_werror_flag"
72580 || test ! -s conftest.err'
72581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72582 (eval $ac_try) 2>&5
72583 ac_status=$?
72584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72585 (exit $ac_status); }; } &&
72586 { ac_try='test -s conftest.$ac_objext'
72587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72588 (eval $ac_try) 2>&5
72589 ac_status=$?
72590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72591 (exit $ac_status); }; }; then
72592 glibcxx_cv_func___builtin_labs_use=yes
72593 else
72594 echo "$as_me: failed program was:" >&5
72595 sed 's/^/| /' conftest.$ac_ext >&5
72597 glibcxx_cv_func___builtin_labs_use=no
72599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72600 ac_ext=c
72601 ac_cpp='$CPP $CPPFLAGS'
72602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72610 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72611 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72612 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72613 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72614 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72615 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72616 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72617 echo $ECHO_N "(cached) $ECHO_C" >&6
72618 else
72620 if test x$gcc_no_link = xyes; then
72621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72623 { (exit 1); exit 1; }; }
72625 cat >conftest.$ac_ext <<_ACEOF
72626 /* confdefs.h. */
72627 _ACEOF
72628 cat confdefs.h >>conftest.$ac_ext
72629 cat >>conftest.$ac_ext <<_ACEOF
72630 /* end confdefs.h. */
72631 #include <math.h>
72633 main ()
72635 __builtin_labs(0);
72637 return 0;
72639 _ACEOF
72640 rm -f conftest.$ac_objext conftest$ac_exeext
72641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72642 (eval $ac_link) 2>conftest.er1
72643 ac_status=$?
72644 grep -v '^ *+' conftest.er1 >conftest.err
72645 rm -f conftest.er1
72646 cat conftest.err >&5
72647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72648 (exit $ac_status); } &&
72649 { ac_try='test -z "$ac_c_werror_flag"
72650 || test ! -s conftest.err'
72651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72652 (eval $ac_try) 2>&5
72653 ac_status=$?
72654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72655 (exit $ac_status); }; } &&
72656 { ac_try='test -s conftest$ac_exeext'
72657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72658 (eval $ac_try) 2>&5
72659 ac_status=$?
72660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72661 (exit $ac_status); }; }; then
72662 glibcxx_cv_func___builtin_labs_link=yes
72663 else
72664 echo "$as_me: failed program was:" >&5
72665 sed 's/^/| /' conftest.$ac_ext >&5
72667 glibcxx_cv_func___builtin_labs_link=no
72669 rm -f conftest.err conftest.$ac_objext \
72670 conftest$ac_exeext conftest.$ac_ext
72675 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72676 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72678 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72680 cat >>confdefs.h <<\_ACEOF
72681 #define HAVE___BUILTIN_LABS 1
72682 _ACEOF
72690 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72691 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72692 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72693 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72694 echo $ECHO_N "(cached) $ECHO_C" >&6
72695 else
72699 ac_ext=cc
72700 ac_cpp='$CXXCPP $CPPFLAGS'
72701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72705 cat >conftest.$ac_ext <<_ACEOF
72706 /* confdefs.h. */
72707 _ACEOF
72708 cat confdefs.h >>conftest.$ac_ext
72709 cat >>conftest.$ac_ext <<_ACEOF
72710 /* end confdefs.h. */
72711 #include <math.h>
72713 main ()
72715 __builtin_sqrtf(0);
72717 return 0;
72719 _ACEOF
72720 rm -f conftest.$ac_objext
72721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72722 (eval $ac_compile) 2>conftest.er1
72723 ac_status=$?
72724 grep -v '^ *+' conftest.er1 >conftest.err
72725 rm -f conftest.er1
72726 cat conftest.err >&5
72727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72728 (exit $ac_status); } &&
72729 { ac_try='test -z "$ac_cxx_werror_flag"
72730 || test ! -s conftest.err'
72731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72732 (eval $ac_try) 2>&5
72733 ac_status=$?
72734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72735 (exit $ac_status); }; } &&
72736 { ac_try='test -s conftest.$ac_objext'
72737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72738 (eval $ac_try) 2>&5
72739 ac_status=$?
72740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72741 (exit $ac_status); }; }; then
72742 glibcxx_cv_func___builtin_sqrtf_use=yes
72743 else
72744 echo "$as_me: failed program was:" >&5
72745 sed 's/^/| /' conftest.$ac_ext >&5
72747 glibcxx_cv_func___builtin_sqrtf_use=no
72749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72750 ac_ext=c
72751 ac_cpp='$CPP $CPPFLAGS'
72752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72760 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
72761 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
72762 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
72763 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
72764 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
72765 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
72766 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
72767 echo $ECHO_N "(cached) $ECHO_C" >&6
72768 else
72770 if test x$gcc_no_link = xyes; then
72771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72773 { (exit 1); exit 1; }; }
72775 cat >conftest.$ac_ext <<_ACEOF
72776 /* confdefs.h. */
72777 _ACEOF
72778 cat confdefs.h >>conftest.$ac_ext
72779 cat >>conftest.$ac_ext <<_ACEOF
72780 /* end confdefs.h. */
72781 #include <math.h>
72783 main ()
72785 __builtin_sqrtf(0);
72787 return 0;
72789 _ACEOF
72790 rm -f conftest.$ac_objext conftest$ac_exeext
72791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72792 (eval $ac_link) 2>conftest.er1
72793 ac_status=$?
72794 grep -v '^ *+' conftest.er1 >conftest.err
72795 rm -f conftest.er1
72796 cat conftest.err >&5
72797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72798 (exit $ac_status); } &&
72799 { ac_try='test -z "$ac_c_werror_flag"
72800 || test ! -s conftest.err'
72801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72802 (eval $ac_try) 2>&5
72803 ac_status=$?
72804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72805 (exit $ac_status); }; } &&
72806 { ac_try='test -s conftest$ac_exeext'
72807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72808 (eval $ac_try) 2>&5
72809 ac_status=$?
72810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72811 (exit $ac_status); }; }; then
72812 glibcxx_cv_func___builtin_sqrtf_link=yes
72813 else
72814 echo "$as_me: failed program was:" >&5
72815 sed 's/^/| /' conftest.$ac_ext >&5
72817 glibcxx_cv_func___builtin_sqrtf_link=no
72819 rm -f conftest.err conftest.$ac_objext \
72820 conftest$ac_exeext conftest.$ac_ext
72825 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
72826 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
72828 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
72830 cat >>confdefs.h <<\_ACEOF
72831 #define HAVE___BUILTIN_SQRTF 1
72832 _ACEOF
72839 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
72840 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
72841 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
72842 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
72843 echo $ECHO_N "(cached) $ECHO_C" >&6
72844 else
72848 ac_ext=cc
72849 ac_cpp='$CXXCPP $CPPFLAGS'
72850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72854 cat >conftest.$ac_ext <<_ACEOF
72855 /* confdefs.h. */
72856 _ACEOF
72857 cat confdefs.h >>conftest.$ac_ext
72858 cat >>conftest.$ac_ext <<_ACEOF
72859 /* end confdefs.h. */
72860 #include <math.h>
72862 main ()
72864 __builtin_sqrt(0);
72866 return 0;
72868 _ACEOF
72869 rm -f conftest.$ac_objext
72870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72871 (eval $ac_compile) 2>conftest.er1
72872 ac_status=$?
72873 grep -v '^ *+' conftest.er1 >conftest.err
72874 rm -f conftest.er1
72875 cat conftest.err >&5
72876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72877 (exit $ac_status); } &&
72878 { ac_try='test -z "$ac_cxx_werror_flag"
72879 || test ! -s conftest.err'
72880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72881 (eval $ac_try) 2>&5
72882 ac_status=$?
72883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72884 (exit $ac_status); }; } &&
72885 { ac_try='test -s conftest.$ac_objext'
72886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72887 (eval $ac_try) 2>&5
72888 ac_status=$?
72889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72890 (exit $ac_status); }; }; then
72891 glibcxx_cv_func___builtin_sqrt_use=yes
72892 else
72893 echo "$as_me: failed program was:" >&5
72894 sed 's/^/| /' conftest.$ac_ext >&5
72896 glibcxx_cv_func___builtin_sqrt_use=no
72898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72899 ac_ext=c
72900 ac_cpp='$CPP $CPPFLAGS'
72901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72909 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72910 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72911 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72912 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72913 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72914 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72915 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72916 echo $ECHO_N "(cached) $ECHO_C" >&6
72917 else
72919 if test x$gcc_no_link = xyes; then
72920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72922 { (exit 1); exit 1; }; }
72924 cat >conftest.$ac_ext <<_ACEOF
72925 /* confdefs.h. */
72926 _ACEOF
72927 cat confdefs.h >>conftest.$ac_ext
72928 cat >>conftest.$ac_ext <<_ACEOF
72929 /* end confdefs.h. */
72930 #include <math.h>
72932 main ()
72934 __builtin_sqrt(0);
72936 return 0;
72938 _ACEOF
72939 rm -f conftest.$ac_objext conftest$ac_exeext
72940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72941 (eval $ac_link) 2>conftest.er1
72942 ac_status=$?
72943 grep -v '^ *+' conftest.er1 >conftest.err
72944 rm -f conftest.er1
72945 cat conftest.err >&5
72946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72947 (exit $ac_status); } &&
72948 { ac_try='test -z "$ac_c_werror_flag"
72949 || test ! -s conftest.err'
72950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72951 (eval $ac_try) 2>&5
72952 ac_status=$?
72953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72954 (exit $ac_status); }; } &&
72955 { ac_try='test -s conftest$ac_exeext'
72956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72957 (eval $ac_try) 2>&5
72958 ac_status=$?
72959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72960 (exit $ac_status); }; }; then
72961 glibcxx_cv_func___builtin_sqrt_link=yes
72962 else
72963 echo "$as_me: failed program was:" >&5
72964 sed 's/^/| /' conftest.$ac_ext >&5
72966 glibcxx_cv_func___builtin_sqrt_link=no
72968 rm -f conftest.err conftest.$ac_objext \
72969 conftest$ac_exeext conftest.$ac_ext
72974 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72975 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
72977 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
72979 cat >>confdefs.h <<\_ACEOF
72980 #define HAVE___BUILTIN_SQRT 1
72981 _ACEOF
72988 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
72989 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
72990 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
72991 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
72992 echo $ECHO_N "(cached) $ECHO_C" >&6
72993 else
72997 ac_ext=cc
72998 ac_cpp='$CXXCPP $CPPFLAGS'
72999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73003 cat >conftest.$ac_ext <<_ACEOF
73004 /* confdefs.h. */
73005 _ACEOF
73006 cat confdefs.h >>conftest.$ac_ext
73007 cat >>conftest.$ac_ext <<_ACEOF
73008 /* end confdefs.h. */
73009 #include <math.h>
73011 main ()
73013 __builtin_sqrtl(0);
73015 return 0;
73017 _ACEOF
73018 rm -f conftest.$ac_objext
73019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73020 (eval $ac_compile) 2>conftest.er1
73021 ac_status=$?
73022 grep -v '^ *+' conftest.er1 >conftest.err
73023 rm -f conftest.er1
73024 cat conftest.err >&5
73025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73026 (exit $ac_status); } &&
73027 { ac_try='test -z "$ac_cxx_werror_flag"
73028 || test ! -s conftest.err'
73029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73030 (eval $ac_try) 2>&5
73031 ac_status=$?
73032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73033 (exit $ac_status); }; } &&
73034 { ac_try='test -s conftest.$ac_objext'
73035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73036 (eval $ac_try) 2>&5
73037 ac_status=$?
73038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73039 (exit $ac_status); }; }; then
73040 glibcxx_cv_func___builtin_sqrtl_use=yes
73041 else
73042 echo "$as_me: failed program was:" >&5
73043 sed 's/^/| /' conftest.$ac_ext >&5
73045 glibcxx_cv_func___builtin_sqrtl_use=no
73047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73048 ac_ext=c
73049 ac_cpp='$CPP $CPPFLAGS'
73050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73058 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
73059 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
73060 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
73061 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
73062 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
73063 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
73064 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
73065 echo $ECHO_N "(cached) $ECHO_C" >&6
73066 else
73068 if test x$gcc_no_link = xyes; then
73069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73071 { (exit 1); exit 1; }; }
73073 cat >conftest.$ac_ext <<_ACEOF
73074 /* confdefs.h. */
73075 _ACEOF
73076 cat confdefs.h >>conftest.$ac_ext
73077 cat >>conftest.$ac_ext <<_ACEOF
73078 /* end confdefs.h. */
73079 #include <math.h>
73081 main ()
73083 __builtin_sqrtl(0);
73085 return 0;
73087 _ACEOF
73088 rm -f conftest.$ac_objext conftest$ac_exeext
73089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73090 (eval $ac_link) 2>conftest.er1
73091 ac_status=$?
73092 grep -v '^ *+' conftest.er1 >conftest.err
73093 rm -f conftest.er1
73094 cat conftest.err >&5
73095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73096 (exit $ac_status); } &&
73097 { ac_try='test -z "$ac_c_werror_flag"
73098 || test ! -s conftest.err'
73099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73100 (eval $ac_try) 2>&5
73101 ac_status=$?
73102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73103 (exit $ac_status); }; } &&
73104 { ac_try='test -s conftest$ac_exeext'
73105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73106 (eval $ac_try) 2>&5
73107 ac_status=$?
73108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73109 (exit $ac_status); }; }; then
73110 glibcxx_cv_func___builtin_sqrtl_link=yes
73111 else
73112 echo "$as_me: failed program was:" >&5
73113 sed 's/^/| /' conftest.$ac_ext >&5
73115 glibcxx_cv_func___builtin_sqrtl_link=no
73117 rm -f conftest.err conftest.$ac_objext \
73118 conftest$ac_exeext conftest.$ac_ext
73123 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
73124 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
73126 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
73128 cat >>confdefs.h <<\_ACEOF
73129 #define HAVE___BUILTIN_SQRTL 1
73130 _ACEOF
73138 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
73139 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
73140 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
73141 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
73142 echo $ECHO_N "(cached) $ECHO_C" >&6
73143 else
73147 ac_ext=cc
73148 ac_cpp='$CXXCPP $CPPFLAGS'
73149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73153 cat >conftest.$ac_ext <<_ACEOF
73154 /* confdefs.h. */
73155 _ACEOF
73156 cat confdefs.h >>conftest.$ac_ext
73157 cat >>conftest.$ac_ext <<_ACEOF
73158 /* end confdefs.h. */
73159 #include <math.h>
73161 main ()
73163 __builtin_sinf(0);
73165 return 0;
73167 _ACEOF
73168 rm -f conftest.$ac_objext
73169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73170 (eval $ac_compile) 2>conftest.er1
73171 ac_status=$?
73172 grep -v '^ *+' conftest.er1 >conftest.err
73173 rm -f conftest.er1
73174 cat conftest.err >&5
73175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73176 (exit $ac_status); } &&
73177 { ac_try='test -z "$ac_cxx_werror_flag"
73178 || test ! -s conftest.err'
73179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73180 (eval $ac_try) 2>&5
73181 ac_status=$?
73182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73183 (exit $ac_status); }; } &&
73184 { ac_try='test -s conftest.$ac_objext'
73185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73186 (eval $ac_try) 2>&5
73187 ac_status=$?
73188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73189 (exit $ac_status); }; }; then
73190 glibcxx_cv_func___builtin_sinf_use=yes
73191 else
73192 echo "$as_me: failed program was:" >&5
73193 sed 's/^/| /' conftest.$ac_ext >&5
73195 glibcxx_cv_func___builtin_sinf_use=no
73197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73198 ac_ext=c
73199 ac_cpp='$CPP $CPPFLAGS'
73200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73208 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
73209 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
73210 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
73211 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
73212 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
73213 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
73214 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
73215 echo $ECHO_N "(cached) $ECHO_C" >&6
73216 else
73218 if test x$gcc_no_link = xyes; then
73219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73221 { (exit 1); exit 1; }; }
73223 cat >conftest.$ac_ext <<_ACEOF
73224 /* confdefs.h. */
73225 _ACEOF
73226 cat confdefs.h >>conftest.$ac_ext
73227 cat >>conftest.$ac_ext <<_ACEOF
73228 /* end confdefs.h. */
73229 #include <math.h>
73231 main ()
73233 __builtin_sinf(0);
73235 return 0;
73237 _ACEOF
73238 rm -f conftest.$ac_objext conftest$ac_exeext
73239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73240 (eval $ac_link) 2>conftest.er1
73241 ac_status=$?
73242 grep -v '^ *+' conftest.er1 >conftest.err
73243 rm -f conftest.er1
73244 cat conftest.err >&5
73245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73246 (exit $ac_status); } &&
73247 { ac_try='test -z "$ac_c_werror_flag"
73248 || test ! -s conftest.err'
73249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73250 (eval $ac_try) 2>&5
73251 ac_status=$?
73252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73253 (exit $ac_status); }; } &&
73254 { ac_try='test -s conftest$ac_exeext'
73255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73256 (eval $ac_try) 2>&5
73257 ac_status=$?
73258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73259 (exit $ac_status); }; }; then
73260 glibcxx_cv_func___builtin_sinf_link=yes
73261 else
73262 echo "$as_me: failed program was:" >&5
73263 sed 's/^/| /' conftest.$ac_ext >&5
73265 glibcxx_cv_func___builtin_sinf_link=no
73267 rm -f conftest.err conftest.$ac_objext \
73268 conftest$ac_exeext conftest.$ac_ext
73273 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
73274 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
73276 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
73278 cat >>confdefs.h <<\_ACEOF
73279 #define HAVE___BUILTIN_SINF 1
73280 _ACEOF
73287 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
73288 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
73289 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
73290 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
73291 echo $ECHO_N "(cached) $ECHO_C" >&6
73292 else
73296 ac_ext=cc
73297 ac_cpp='$CXXCPP $CPPFLAGS'
73298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73302 cat >conftest.$ac_ext <<_ACEOF
73303 /* confdefs.h. */
73304 _ACEOF
73305 cat confdefs.h >>conftest.$ac_ext
73306 cat >>conftest.$ac_ext <<_ACEOF
73307 /* end confdefs.h. */
73308 #include <math.h>
73310 main ()
73312 __builtin_sin(0);
73314 return 0;
73316 _ACEOF
73317 rm -f conftest.$ac_objext
73318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73319 (eval $ac_compile) 2>conftest.er1
73320 ac_status=$?
73321 grep -v '^ *+' conftest.er1 >conftest.err
73322 rm -f conftest.er1
73323 cat conftest.err >&5
73324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73325 (exit $ac_status); } &&
73326 { ac_try='test -z "$ac_cxx_werror_flag"
73327 || test ! -s conftest.err'
73328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73329 (eval $ac_try) 2>&5
73330 ac_status=$?
73331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73332 (exit $ac_status); }; } &&
73333 { ac_try='test -s conftest.$ac_objext'
73334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73335 (eval $ac_try) 2>&5
73336 ac_status=$?
73337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73338 (exit $ac_status); }; }; then
73339 glibcxx_cv_func___builtin_sin_use=yes
73340 else
73341 echo "$as_me: failed program was:" >&5
73342 sed 's/^/| /' conftest.$ac_ext >&5
73344 glibcxx_cv_func___builtin_sin_use=no
73346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73347 ac_ext=c
73348 ac_cpp='$CPP $CPPFLAGS'
73349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73357 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
73358 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
73359 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
73360 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
73361 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
73362 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
73363 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
73364 echo $ECHO_N "(cached) $ECHO_C" >&6
73365 else
73367 if test x$gcc_no_link = xyes; then
73368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73370 { (exit 1); exit 1; }; }
73372 cat >conftest.$ac_ext <<_ACEOF
73373 /* confdefs.h. */
73374 _ACEOF
73375 cat confdefs.h >>conftest.$ac_ext
73376 cat >>conftest.$ac_ext <<_ACEOF
73377 /* end confdefs.h. */
73378 #include <math.h>
73380 main ()
73382 __builtin_sin(0);
73384 return 0;
73386 _ACEOF
73387 rm -f conftest.$ac_objext conftest$ac_exeext
73388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73389 (eval $ac_link) 2>conftest.er1
73390 ac_status=$?
73391 grep -v '^ *+' conftest.er1 >conftest.err
73392 rm -f conftest.er1
73393 cat conftest.err >&5
73394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73395 (exit $ac_status); } &&
73396 { ac_try='test -z "$ac_c_werror_flag"
73397 || test ! -s conftest.err'
73398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73399 (eval $ac_try) 2>&5
73400 ac_status=$?
73401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73402 (exit $ac_status); }; } &&
73403 { ac_try='test -s conftest$ac_exeext'
73404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73405 (eval $ac_try) 2>&5
73406 ac_status=$?
73407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73408 (exit $ac_status); }; }; then
73409 glibcxx_cv_func___builtin_sin_link=yes
73410 else
73411 echo "$as_me: failed program was:" >&5
73412 sed 's/^/| /' conftest.$ac_ext >&5
73414 glibcxx_cv_func___builtin_sin_link=no
73416 rm -f conftest.err conftest.$ac_objext \
73417 conftest$ac_exeext conftest.$ac_ext
73422 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
73423 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
73425 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
73427 cat >>confdefs.h <<\_ACEOF
73428 #define HAVE___BUILTIN_SIN 1
73429 _ACEOF
73436 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
73437 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
73438 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
73439 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
73440 echo $ECHO_N "(cached) $ECHO_C" >&6
73441 else
73445 ac_ext=cc
73446 ac_cpp='$CXXCPP $CPPFLAGS'
73447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73451 cat >conftest.$ac_ext <<_ACEOF
73452 /* confdefs.h. */
73453 _ACEOF
73454 cat confdefs.h >>conftest.$ac_ext
73455 cat >>conftest.$ac_ext <<_ACEOF
73456 /* end confdefs.h. */
73457 #include <math.h>
73459 main ()
73461 __builtin_sinl(0);
73463 return 0;
73465 _ACEOF
73466 rm -f conftest.$ac_objext
73467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73468 (eval $ac_compile) 2>conftest.er1
73469 ac_status=$?
73470 grep -v '^ *+' conftest.er1 >conftest.err
73471 rm -f conftest.er1
73472 cat conftest.err >&5
73473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73474 (exit $ac_status); } &&
73475 { ac_try='test -z "$ac_cxx_werror_flag"
73476 || test ! -s conftest.err'
73477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73478 (eval $ac_try) 2>&5
73479 ac_status=$?
73480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73481 (exit $ac_status); }; } &&
73482 { ac_try='test -s conftest.$ac_objext'
73483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73484 (eval $ac_try) 2>&5
73485 ac_status=$?
73486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73487 (exit $ac_status); }; }; then
73488 glibcxx_cv_func___builtin_sinl_use=yes
73489 else
73490 echo "$as_me: failed program was:" >&5
73491 sed 's/^/| /' conftest.$ac_ext >&5
73493 glibcxx_cv_func___builtin_sinl_use=no
73495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73496 ac_ext=c
73497 ac_cpp='$CPP $CPPFLAGS'
73498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73506 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73507 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73508 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73509 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73510 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73511 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73512 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73513 echo $ECHO_N "(cached) $ECHO_C" >&6
73514 else
73516 if test x$gcc_no_link = xyes; then
73517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73519 { (exit 1); exit 1; }; }
73521 cat >conftest.$ac_ext <<_ACEOF
73522 /* confdefs.h. */
73523 _ACEOF
73524 cat confdefs.h >>conftest.$ac_ext
73525 cat >>conftest.$ac_ext <<_ACEOF
73526 /* end confdefs.h. */
73527 #include <math.h>
73529 main ()
73531 __builtin_sinl(0);
73533 return 0;
73535 _ACEOF
73536 rm -f conftest.$ac_objext conftest$ac_exeext
73537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73538 (eval $ac_link) 2>conftest.er1
73539 ac_status=$?
73540 grep -v '^ *+' conftest.er1 >conftest.err
73541 rm -f conftest.er1
73542 cat conftest.err >&5
73543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73544 (exit $ac_status); } &&
73545 { ac_try='test -z "$ac_c_werror_flag"
73546 || test ! -s conftest.err'
73547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73548 (eval $ac_try) 2>&5
73549 ac_status=$?
73550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73551 (exit $ac_status); }; } &&
73552 { ac_try='test -s conftest$ac_exeext'
73553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73554 (eval $ac_try) 2>&5
73555 ac_status=$?
73556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73557 (exit $ac_status); }; }; then
73558 glibcxx_cv_func___builtin_sinl_link=yes
73559 else
73560 echo "$as_me: failed program was:" >&5
73561 sed 's/^/| /' conftest.$ac_ext >&5
73563 glibcxx_cv_func___builtin_sinl_link=no
73565 rm -f conftest.err conftest.$ac_objext \
73566 conftest$ac_exeext conftest.$ac_ext
73571 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73572 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73574 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73576 cat >>confdefs.h <<\_ACEOF
73577 #define HAVE___BUILTIN_SINL 1
73578 _ACEOF
73586 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73587 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73588 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73589 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73590 echo $ECHO_N "(cached) $ECHO_C" >&6
73591 else
73595 ac_ext=cc
73596 ac_cpp='$CXXCPP $CPPFLAGS'
73597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73601 cat >conftest.$ac_ext <<_ACEOF
73602 /* confdefs.h. */
73603 _ACEOF
73604 cat confdefs.h >>conftest.$ac_ext
73605 cat >>conftest.$ac_ext <<_ACEOF
73606 /* end confdefs.h. */
73607 #include <math.h>
73609 main ()
73611 __builtin_cosf(0);
73613 return 0;
73615 _ACEOF
73616 rm -f conftest.$ac_objext
73617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73618 (eval $ac_compile) 2>conftest.er1
73619 ac_status=$?
73620 grep -v '^ *+' conftest.er1 >conftest.err
73621 rm -f conftest.er1
73622 cat conftest.err >&5
73623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73624 (exit $ac_status); } &&
73625 { ac_try='test -z "$ac_cxx_werror_flag"
73626 || test ! -s conftest.err'
73627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73628 (eval $ac_try) 2>&5
73629 ac_status=$?
73630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73631 (exit $ac_status); }; } &&
73632 { ac_try='test -s conftest.$ac_objext'
73633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73634 (eval $ac_try) 2>&5
73635 ac_status=$?
73636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73637 (exit $ac_status); }; }; then
73638 glibcxx_cv_func___builtin_cosf_use=yes
73639 else
73640 echo "$as_me: failed program was:" >&5
73641 sed 's/^/| /' conftest.$ac_ext >&5
73643 glibcxx_cv_func___builtin_cosf_use=no
73645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73646 ac_ext=c
73647 ac_cpp='$CPP $CPPFLAGS'
73648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73656 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73657 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73658 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73659 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73660 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73661 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73662 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73663 echo $ECHO_N "(cached) $ECHO_C" >&6
73664 else
73666 if test x$gcc_no_link = xyes; then
73667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73669 { (exit 1); exit 1; }; }
73671 cat >conftest.$ac_ext <<_ACEOF
73672 /* confdefs.h. */
73673 _ACEOF
73674 cat confdefs.h >>conftest.$ac_ext
73675 cat >>conftest.$ac_ext <<_ACEOF
73676 /* end confdefs.h. */
73677 #include <math.h>
73679 main ()
73681 __builtin_cosf(0);
73683 return 0;
73685 _ACEOF
73686 rm -f conftest.$ac_objext conftest$ac_exeext
73687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73688 (eval $ac_link) 2>conftest.er1
73689 ac_status=$?
73690 grep -v '^ *+' conftest.er1 >conftest.err
73691 rm -f conftest.er1
73692 cat conftest.err >&5
73693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73694 (exit $ac_status); } &&
73695 { ac_try='test -z "$ac_c_werror_flag"
73696 || test ! -s conftest.err'
73697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73698 (eval $ac_try) 2>&5
73699 ac_status=$?
73700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73701 (exit $ac_status); }; } &&
73702 { ac_try='test -s conftest$ac_exeext'
73703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73704 (eval $ac_try) 2>&5
73705 ac_status=$?
73706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73707 (exit $ac_status); }; }; then
73708 glibcxx_cv_func___builtin_cosf_link=yes
73709 else
73710 echo "$as_me: failed program was:" >&5
73711 sed 's/^/| /' conftest.$ac_ext >&5
73713 glibcxx_cv_func___builtin_cosf_link=no
73715 rm -f conftest.err conftest.$ac_objext \
73716 conftest$ac_exeext conftest.$ac_ext
73721 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73722 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73724 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73726 cat >>confdefs.h <<\_ACEOF
73727 #define HAVE___BUILTIN_COSF 1
73728 _ACEOF
73735 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73736 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73737 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73738 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73739 echo $ECHO_N "(cached) $ECHO_C" >&6
73740 else
73744 ac_ext=cc
73745 ac_cpp='$CXXCPP $CPPFLAGS'
73746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73750 cat >conftest.$ac_ext <<_ACEOF
73751 /* confdefs.h. */
73752 _ACEOF
73753 cat confdefs.h >>conftest.$ac_ext
73754 cat >>conftest.$ac_ext <<_ACEOF
73755 /* end confdefs.h. */
73756 #include <math.h>
73758 main ()
73760 __builtin_cos(0);
73762 return 0;
73764 _ACEOF
73765 rm -f conftest.$ac_objext
73766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73767 (eval $ac_compile) 2>conftest.er1
73768 ac_status=$?
73769 grep -v '^ *+' conftest.er1 >conftest.err
73770 rm -f conftest.er1
73771 cat conftest.err >&5
73772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73773 (exit $ac_status); } &&
73774 { ac_try='test -z "$ac_cxx_werror_flag"
73775 || test ! -s conftest.err'
73776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73777 (eval $ac_try) 2>&5
73778 ac_status=$?
73779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73780 (exit $ac_status); }; } &&
73781 { ac_try='test -s conftest.$ac_objext'
73782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73783 (eval $ac_try) 2>&5
73784 ac_status=$?
73785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73786 (exit $ac_status); }; }; then
73787 glibcxx_cv_func___builtin_cos_use=yes
73788 else
73789 echo "$as_me: failed program was:" >&5
73790 sed 's/^/| /' conftest.$ac_ext >&5
73792 glibcxx_cv_func___builtin_cos_use=no
73794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73795 ac_ext=c
73796 ac_cpp='$CPP $CPPFLAGS'
73797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73805 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
73806 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
73807 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
73808 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
73809 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
73810 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
73811 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
73812 echo $ECHO_N "(cached) $ECHO_C" >&6
73813 else
73815 if test x$gcc_no_link = xyes; then
73816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73818 { (exit 1); exit 1; }; }
73820 cat >conftest.$ac_ext <<_ACEOF
73821 /* confdefs.h. */
73822 _ACEOF
73823 cat confdefs.h >>conftest.$ac_ext
73824 cat >>conftest.$ac_ext <<_ACEOF
73825 /* end confdefs.h. */
73826 #include <math.h>
73828 main ()
73830 __builtin_cos(0);
73832 return 0;
73834 _ACEOF
73835 rm -f conftest.$ac_objext conftest$ac_exeext
73836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73837 (eval $ac_link) 2>conftest.er1
73838 ac_status=$?
73839 grep -v '^ *+' conftest.er1 >conftest.err
73840 rm -f conftest.er1
73841 cat conftest.err >&5
73842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73843 (exit $ac_status); } &&
73844 { ac_try='test -z "$ac_c_werror_flag"
73845 || test ! -s conftest.err'
73846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73847 (eval $ac_try) 2>&5
73848 ac_status=$?
73849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73850 (exit $ac_status); }; } &&
73851 { ac_try='test -s conftest$ac_exeext'
73852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73853 (eval $ac_try) 2>&5
73854 ac_status=$?
73855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73856 (exit $ac_status); }; }; then
73857 glibcxx_cv_func___builtin_cos_link=yes
73858 else
73859 echo "$as_me: failed program was:" >&5
73860 sed 's/^/| /' conftest.$ac_ext >&5
73862 glibcxx_cv_func___builtin_cos_link=no
73864 rm -f conftest.err conftest.$ac_objext \
73865 conftest$ac_exeext conftest.$ac_ext
73870 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
73871 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
73873 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
73875 cat >>confdefs.h <<\_ACEOF
73876 #define HAVE___BUILTIN_COS 1
73877 _ACEOF
73884 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
73885 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
73886 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
73887 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
73888 echo $ECHO_N "(cached) $ECHO_C" >&6
73889 else
73893 ac_ext=cc
73894 ac_cpp='$CXXCPP $CPPFLAGS'
73895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73899 cat >conftest.$ac_ext <<_ACEOF
73900 /* confdefs.h. */
73901 _ACEOF
73902 cat confdefs.h >>conftest.$ac_ext
73903 cat >>conftest.$ac_ext <<_ACEOF
73904 /* end confdefs.h. */
73905 #include <math.h>
73907 main ()
73909 __builtin_cosl(0);
73911 return 0;
73913 _ACEOF
73914 rm -f conftest.$ac_objext
73915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73916 (eval $ac_compile) 2>conftest.er1
73917 ac_status=$?
73918 grep -v '^ *+' conftest.er1 >conftest.err
73919 rm -f conftest.er1
73920 cat conftest.err >&5
73921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73922 (exit $ac_status); } &&
73923 { ac_try='test -z "$ac_cxx_werror_flag"
73924 || test ! -s conftest.err'
73925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73926 (eval $ac_try) 2>&5
73927 ac_status=$?
73928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73929 (exit $ac_status); }; } &&
73930 { ac_try='test -s conftest.$ac_objext'
73931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73932 (eval $ac_try) 2>&5
73933 ac_status=$?
73934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73935 (exit $ac_status); }; }; then
73936 glibcxx_cv_func___builtin_cosl_use=yes
73937 else
73938 echo "$as_me: failed program was:" >&5
73939 sed 's/^/| /' conftest.$ac_ext >&5
73941 glibcxx_cv_func___builtin_cosl_use=no
73943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73944 ac_ext=c
73945 ac_cpp='$CPP $CPPFLAGS'
73946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73954 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73955 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73956 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73957 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73958 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73959 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73960 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73961 echo $ECHO_N "(cached) $ECHO_C" >&6
73962 else
73964 if test x$gcc_no_link = xyes; then
73965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73967 { (exit 1); exit 1; }; }
73969 cat >conftest.$ac_ext <<_ACEOF
73970 /* confdefs.h. */
73971 _ACEOF
73972 cat confdefs.h >>conftest.$ac_ext
73973 cat >>conftest.$ac_ext <<_ACEOF
73974 /* end confdefs.h. */
73975 #include <math.h>
73977 main ()
73979 __builtin_cosl(0);
73981 return 0;
73983 _ACEOF
73984 rm -f conftest.$ac_objext conftest$ac_exeext
73985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73986 (eval $ac_link) 2>conftest.er1
73987 ac_status=$?
73988 grep -v '^ *+' conftest.er1 >conftest.err
73989 rm -f conftest.er1
73990 cat conftest.err >&5
73991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73992 (exit $ac_status); } &&
73993 { ac_try='test -z "$ac_c_werror_flag"
73994 || test ! -s conftest.err'
73995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73996 (eval $ac_try) 2>&5
73997 ac_status=$?
73998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73999 (exit $ac_status); }; } &&
74000 { ac_try='test -s conftest$ac_exeext'
74001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74002 (eval $ac_try) 2>&5
74003 ac_status=$?
74004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74005 (exit $ac_status); }; }; then
74006 glibcxx_cv_func___builtin_cosl_link=yes
74007 else
74008 echo "$as_me: failed program was:" >&5
74009 sed 's/^/| /' conftest.$ac_ext >&5
74011 glibcxx_cv_func___builtin_cosl_link=no
74013 rm -f conftest.err conftest.$ac_objext \
74014 conftest$ac_exeext conftest.$ac_ext
74019 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
74020 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
74022 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
74024 cat >>confdefs.h <<\_ACEOF
74025 #define HAVE___BUILTIN_COSL 1
74026 _ACEOF
74035 echo "$as_me:$LINENO: checking for main in -lm" >&5
74036 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74037 if test "${ac_cv_lib_m_main+set}" = set; then
74038 echo $ECHO_N "(cached) $ECHO_C" >&6
74039 else
74040 ac_check_lib_save_LIBS=$LIBS
74041 LIBS="-lm $LIBS"
74042 if test x$gcc_no_link = xyes; then
74043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74045 { (exit 1); exit 1; }; }
74047 cat >conftest.$ac_ext <<_ACEOF
74048 /* confdefs.h. */
74049 _ACEOF
74050 cat confdefs.h >>conftest.$ac_ext
74051 cat >>conftest.$ac_ext <<_ACEOF
74052 /* end confdefs.h. */
74056 main ()
74058 main ();
74060 return 0;
74062 _ACEOF
74063 rm -f conftest.$ac_objext conftest$ac_exeext
74064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74065 (eval $ac_link) 2>conftest.er1
74066 ac_status=$?
74067 grep -v '^ *+' conftest.er1 >conftest.err
74068 rm -f conftest.er1
74069 cat conftest.err >&5
74070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74071 (exit $ac_status); } &&
74072 { ac_try='test -z "$ac_c_werror_flag"
74073 || test ! -s conftest.err'
74074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74075 (eval $ac_try) 2>&5
74076 ac_status=$?
74077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74078 (exit $ac_status); }; } &&
74079 { ac_try='test -s conftest$ac_exeext'
74080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74081 (eval $ac_try) 2>&5
74082 ac_status=$?
74083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74084 (exit $ac_status); }; }; then
74085 ac_cv_lib_m_main=yes
74086 else
74087 echo "$as_me: failed program was:" >&5
74088 sed 's/^/| /' conftest.$ac_ext >&5
74090 ac_cv_lib_m_main=no
74092 rm -f conftest.err conftest.$ac_objext \
74093 conftest$ac_exeext conftest.$ac_ext
74094 LIBS=$ac_check_lib_save_LIBS
74096 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74097 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74098 if test $ac_cv_lib_m_main = yes; then
74099 cat >>confdefs.h <<_ACEOF
74100 #define HAVE_LIBM 1
74101 _ACEOF
74103 LIBS="-lm $LIBS"
74108 for ac_func in copysignf
74110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74111 echo "$as_me:$LINENO: checking for $ac_func" >&5
74112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74113 if eval "test \"\${$as_ac_var+set}\" = set"; then
74114 echo $ECHO_N "(cached) $ECHO_C" >&6
74115 else
74116 if test x$gcc_no_link = xyes; then
74117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74119 { (exit 1); exit 1; }; }
74121 cat >conftest.$ac_ext <<_ACEOF
74122 /* confdefs.h. */
74123 _ACEOF
74124 cat confdefs.h >>conftest.$ac_ext
74125 cat >>conftest.$ac_ext <<_ACEOF
74126 /* end confdefs.h. */
74127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74129 #define $ac_func innocuous_$ac_func
74131 /* System header to define __stub macros and hopefully few prototypes,
74132 which can conflict with char $ac_func (); below.
74133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74134 <limits.h> exists even on freestanding compilers. */
74136 #ifdef __STDC__
74137 # include <limits.h>
74138 #else
74139 # include <assert.h>
74140 #endif
74142 #undef $ac_func
74144 /* Override any gcc2 internal prototype to avoid an error. */
74145 #ifdef __cplusplus
74146 extern "C"
74148 #endif
74149 /* We use char because int might match the return type of a gcc2
74150 builtin and then its argument prototype would still apply. */
74151 char $ac_func ();
74152 /* The GNU C library defines this for functions which it implements
74153 to always fail with ENOSYS. Some functions are actually named
74154 something starting with __ and the normal name is an alias. */
74155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74156 choke me
74157 #else
74158 char (*f) () = $ac_func;
74159 #endif
74160 #ifdef __cplusplus
74162 #endif
74165 main ()
74167 return f != $ac_func;
74169 return 0;
74171 _ACEOF
74172 rm -f conftest.$ac_objext conftest$ac_exeext
74173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74174 (eval $ac_link) 2>conftest.er1
74175 ac_status=$?
74176 grep -v '^ *+' conftest.er1 >conftest.err
74177 rm -f conftest.er1
74178 cat conftest.err >&5
74179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74180 (exit $ac_status); } &&
74181 { ac_try='test -z "$ac_c_werror_flag"
74182 || test ! -s conftest.err'
74183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74184 (eval $ac_try) 2>&5
74185 ac_status=$?
74186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74187 (exit $ac_status); }; } &&
74188 { ac_try='test -s conftest$ac_exeext'
74189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74190 (eval $ac_try) 2>&5
74191 ac_status=$?
74192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74193 (exit $ac_status); }; }; then
74194 eval "$as_ac_var=yes"
74195 else
74196 echo "$as_me: failed program was:" >&5
74197 sed 's/^/| /' conftest.$ac_ext >&5
74199 eval "$as_ac_var=no"
74201 rm -f conftest.err conftest.$ac_objext \
74202 conftest$ac_exeext conftest.$ac_ext
74204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74206 if test `eval echo '${'$as_ac_var'}'` = yes; then
74207 cat >>confdefs.h <<_ACEOF
74208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74209 _ACEOF
74211 else
74212 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74214 done
74218 for ac_func in __signbit
74220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74221 echo "$as_me:$LINENO: checking for $ac_func" >&5
74222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74223 if eval "test \"\${$as_ac_var+set}\" = set"; then
74224 echo $ECHO_N "(cached) $ECHO_C" >&6
74225 else
74226 if test x$gcc_no_link = xyes; then
74227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74229 { (exit 1); exit 1; }; }
74231 cat >conftest.$ac_ext <<_ACEOF
74232 /* confdefs.h. */
74233 _ACEOF
74234 cat confdefs.h >>conftest.$ac_ext
74235 cat >>conftest.$ac_ext <<_ACEOF
74236 /* end confdefs.h. */
74237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74239 #define $ac_func innocuous_$ac_func
74241 /* System header to define __stub macros and hopefully few prototypes,
74242 which can conflict with char $ac_func (); below.
74243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74244 <limits.h> exists even on freestanding compilers. */
74246 #ifdef __STDC__
74247 # include <limits.h>
74248 #else
74249 # include <assert.h>
74250 #endif
74252 #undef $ac_func
74254 /* Override any gcc2 internal prototype to avoid an error. */
74255 #ifdef __cplusplus
74256 extern "C"
74258 #endif
74259 /* We use char because int might match the return type of a gcc2
74260 builtin and then its argument prototype would still apply. */
74261 char $ac_func ();
74262 /* The GNU C library defines this for functions which it implements
74263 to always fail with ENOSYS. Some functions are actually named
74264 something starting with __ and the normal name is an alias. */
74265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74266 choke me
74267 #else
74268 char (*f) () = $ac_func;
74269 #endif
74270 #ifdef __cplusplus
74272 #endif
74275 main ()
74277 return f != $ac_func;
74279 return 0;
74281 _ACEOF
74282 rm -f conftest.$ac_objext conftest$ac_exeext
74283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74284 (eval $ac_link) 2>conftest.er1
74285 ac_status=$?
74286 grep -v '^ *+' conftest.er1 >conftest.err
74287 rm -f conftest.er1
74288 cat conftest.err >&5
74289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74290 (exit $ac_status); } &&
74291 { ac_try='test -z "$ac_c_werror_flag"
74292 || test ! -s conftest.err'
74293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74294 (eval $ac_try) 2>&5
74295 ac_status=$?
74296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74297 (exit $ac_status); }; } &&
74298 { ac_try='test -s conftest$ac_exeext'
74299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74300 (eval $ac_try) 2>&5
74301 ac_status=$?
74302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74303 (exit $ac_status); }; }; then
74304 eval "$as_ac_var=yes"
74305 else
74306 echo "$as_me: failed program was:" >&5
74307 sed 's/^/| /' conftest.$ac_ext >&5
74309 eval "$as_ac_var=no"
74311 rm -f conftest.err conftest.$ac_objext \
74312 conftest$ac_exeext conftest.$ac_ext
74314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74316 if test `eval echo '${'$as_ac_var'}'` = yes; then
74317 cat >>confdefs.h <<_ACEOF
74318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74319 _ACEOF
74321 else
74322 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74324 done
74328 for ac_func in __signbitf
74330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74331 echo "$as_me:$LINENO: checking for $ac_func" >&5
74332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74333 if eval "test \"\${$as_ac_var+set}\" = set"; then
74334 echo $ECHO_N "(cached) $ECHO_C" >&6
74335 else
74336 if test x$gcc_no_link = xyes; then
74337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74339 { (exit 1); exit 1; }; }
74341 cat >conftest.$ac_ext <<_ACEOF
74342 /* confdefs.h. */
74343 _ACEOF
74344 cat confdefs.h >>conftest.$ac_ext
74345 cat >>conftest.$ac_ext <<_ACEOF
74346 /* end confdefs.h. */
74347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74349 #define $ac_func innocuous_$ac_func
74351 /* System header to define __stub macros and hopefully few prototypes,
74352 which can conflict with char $ac_func (); below.
74353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74354 <limits.h> exists even on freestanding compilers. */
74356 #ifdef __STDC__
74357 # include <limits.h>
74358 #else
74359 # include <assert.h>
74360 #endif
74362 #undef $ac_func
74364 /* Override any gcc2 internal prototype to avoid an error. */
74365 #ifdef __cplusplus
74366 extern "C"
74368 #endif
74369 /* We use char because int might match the return type of a gcc2
74370 builtin and then its argument prototype would still apply. */
74371 char $ac_func ();
74372 /* The GNU C library defines this for functions which it implements
74373 to always fail with ENOSYS. Some functions are actually named
74374 something starting with __ and the normal name is an alias. */
74375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74376 choke me
74377 #else
74378 char (*f) () = $ac_func;
74379 #endif
74380 #ifdef __cplusplus
74382 #endif
74385 main ()
74387 return f != $ac_func;
74389 return 0;
74391 _ACEOF
74392 rm -f conftest.$ac_objext conftest$ac_exeext
74393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74394 (eval $ac_link) 2>conftest.er1
74395 ac_status=$?
74396 grep -v '^ *+' conftest.er1 >conftest.err
74397 rm -f conftest.er1
74398 cat conftest.err >&5
74399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74400 (exit $ac_status); } &&
74401 { ac_try='test -z "$ac_c_werror_flag"
74402 || test ! -s conftest.err'
74403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74404 (eval $ac_try) 2>&5
74405 ac_status=$?
74406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74407 (exit $ac_status); }; } &&
74408 { ac_try='test -s conftest$ac_exeext'
74409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74410 (eval $ac_try) 2>&5
74411 ac_status=$?
74412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74413 (exit $ac_status); }; }; then
74414 eval "$as_ac_var=yes"
74415 else
74416 echo "$as_me: failed program was:" >&5
74417 sed 's/^/| /' conftest.$ac_ext >&5
74419 eval "$as_ac_var=no"
74421 rm -f conftest.err conftest.$ac_objext \
74422 conftest$ac_exeext conftest.$ac_ext
74424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74426 if test `eval echo '${'$as_ac_var'}'` = yes; then
74427 cat >>confdefs.h <<_ACEOF
74428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74429 _ACEOF
74431 else
74432 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74434 done
74437 if test x$ac_cv_func_copysignl = x"yes"; then
74439 for ac_func in __signbitl
74441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74442 echo "$as_me:$LINENO: checking for $ac_func" >&5
74443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74444 if eval "test \"\${$as_ac_var+set}\" = set"; then
74445 echo $ECHO_N "(cached) $ECHO_C" >&6
74446 else
74447 if test x$gcc_no_link = xyes; then
74448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74450 { (exit 1); exit 1; }; }
74452 cat >conftest.$ac_ext <<_ACEOF
74453 /* confdefs.h. */
74454 _ACEOF
74455 cat confdefs.h >>conftest.$ac_ext
74456 cat >>conftest.$ac_ext <<_ACEOF
74457 /* end confdefs.h. */
74458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74460 #define $ac_func innocuous_$ac_func
74462 /* System header to define __stub macros and hopefully few prototypes,
74463 which can conflict with char $ac_func (); below.
74464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74465 <limits.h> exists even on freestanding compilers. */
74467 #ifdef __STDC__
74468 # include <limits.h>
74469 #else
74470 # include <assert.h>
74471 #endif
74473 #undef $ac_func
74475 /* Override any gcc2 internal prototype to avoid an error. */
74476 #ifdef __cplusplus
74477 extern "C"
74479 #endif
74480 /* We use char because int might match the return type of a gcc2
74481 builtin and then its argument prototype would still apply. */
74482 char $ac_func ();
74483 /* The GNU C library defines this for functions which it implements
74484 to always fail with ENOSYS. Some functions are actually named
74485 something starting with __ and the normal name is an alias. */
74486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74487 choke me
74488 #else
74489 char (*f) () = $ac_func;
74490 #endif
74491 #ifdef __cplusplus
74493 #endif
74496 main ()
74498 return f != $ac_func;
74500 return 0;
74502 _ACEOF
74503 rm -f conftest.$ac_objext conftest$ac_exeext
74504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74505 (eval $ac_link) 2>conftest.er1
74506 ac_status=$?
74507 grep -v '^ *+' conftest.er1 >conftest.err
74508 rm -f conftest.er1
74509 cat conftest.err >&5
74510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74511 (exit $ac_status); } &&
74512 { ac_try='test -z "$ac_c_werror_flag"
74513 || test ! -s conftest.err'
74514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74515 (eval $ac_try) 2>&5
74516 ac_status=$?
74517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74518 (exit $ac_status); }; } &&
74519 { ac_try='test -s conftest$ac_exeext'
74520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74521 (eval $ac_try) 2>&5
74522 ac_status=$?
74523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74524 (exit $ac_status); }; }; then
74525 eval "$as_ac_var=yes"
74526 else
74527 echo "$as_me: failed program was:" >&5
74528 sed 's/^/| /' conftest.$ac_ext >&5
74530 eval "$as_ac_var=no"
74532 rm -f conftest.err conftest.$ac_objext \
74533 conftest$ac_exeext conftest.$ac_ext
74535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74537 if test `eval echo '${'$as_ac_var'}'` = yes; then
74538 cat >>confdefs.h <<_ACEOF
74539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74540 _ACEOF
74542 else
74543 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74545 done
74549 # Used in libmath/Makefile.am.
74550 if test -n "$LIBMATHOBJS"; then
74551 need_libmath=yes
74557 enable_iconv=no
74558 # Only continue checking if the ISO C99 headers exist and support is on.
74559 if test x"$enable_wchar_t" = xyes; then
74561 # Use iconv for wchar_t to char conversions. As such, check for
74562 # X/Open Portability Guide, version 2 features (XPG2).
74563 if test "${ac_cv_header_iconv_h+set}" = set; then
74564 echo "$as_me:$LINENO: checking for iconv.h" >&5
74565 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74566 if test "${ac_cv_header_iconv_h+set}" = set; then
74567 echo $ECHO_N "(cached) $ECHO_C" >&6
74569 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74570 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74571 else
74572 # Is the header compilable?
74573 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74574 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74575 cat >conftest.$ac_ext <<_ACEOF
74576 /* confdefs.h. */
74577 _ACEOF
74578 cat confdefs.h >>conftest.$ac_ext
74579 cat >>conftest.$ac_ext <<_ACEOF
74580 /* end confdefs.h. */
74581 $ac_includes_default
74582 #include <iconv.h>
74583 _ACEOF
74584 rm -f conftest.$ac_objext
74585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74586 (eval $ac_compile) 2>conftest.er1
74587 ac_status=$?
74588 grep -v '^ *+' conftest.er1 >conftest.err
74589 rm -f conftest.er1
74590 cat conftest.err >&5
74591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74592 (exit $ac_status); } &&
74593 { ac_try='test -z "$ac_c_werror_flag"
74594 || test ! -s conftest.err'
74595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74596 (eval $ac_try) 2>&5
74597 ac_status=$?
74598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74599 (exit $ac_status); }; } &&
74600 { ac_try='test -s conftest.$ac_objext'
74601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74602 (eval $ac_try) 2>&5
74603 ac_status=$?
74604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74605 (exit $ac_status); }; }; then
74606 ac_header_compiler=yes
74607 else
74608 echo "$as_me: failed program was:" >&5
74609 sed 's/^/| /' conftest.$ac_ext >&5
74611 ac_header_compiler=no
74613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74614 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74615 echo "${ECHO_T}$ac_header_compiler" >&6
74617 # Is the header present?
74618 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74619 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74620 cat >conftest.$ac_ext <<_ACEOF
74621 /* confdefs.h. */
74622 _ACEOF
74623 cat confdefs.h >>conftest.$ac_ext
74624 cat >>conftest.$ac_ext <<_ACEOF
74625 /* end confdefs.h. */
74626 #include <iconv.h>
74627 _ACEOF
74628 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74629 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74630 ac_status=$?
74631 grep -v '^ *+' conftest.er1 >conftest.err
74632 rm -f conftest.er1
74633 cat conftest.err >&5
74634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74635 (exit $ac_status); } >/dev/null; then
74636 if test -s conftest.err; then
74637 ac_cpp_err=$ac_c_preproc_warn_flag
74638 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74639 else
74640 ac_cpp_err=
74642 else
74643 ac_cpp_err=yes
74645 if test -z "$ac_cpp_err"; then
74646 ac_header_preproc=yes
74647 else
74648 echo "$as_me: failed program was:" >&5
74649 sed 's/^/| /' conftest.$ac_ext >&5
74651 ac_header_preproc=no
74653 rm -f conftest.err conftest.$ac_ext
74654 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74655 echo "${ECHO_T}$ac_header_preproc" >&6
74657 # So? What about this header?
74658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74659 yes:no: )
74660 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74661 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74662 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74663 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74664 ac_header_preproc=yes
74666 no:yes:* )
74667 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74668 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74669 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74670 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74671 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74672 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74673 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74674 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74675 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74676 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74677 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74678 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74680 cat <<\_ASBOX
74681 ## ----------------------------------------- ##
74682 ## Report this to the package-unused lists. ##
74683 ## ----------------------------------------- ##
74684 _ASBOX
74686 sed "s/^/$as_me: WARNING: /" >&2
74688 esac
74689 echo "$as_me:$LINENO: checking for iconv.h" >&5
74690 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74691 if test "${ac_cv_header_iconv_h+set}" = set; then
74692 echo $ECHO_N "(cached) $ECHO_C" >&6
74693 else
74694 ac_cv_header_iconv_h=$ac_header_preproc
74696 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74697 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74700 if test $ac_cv_header_iconv_h = yes; then
74701 ac_has_iconv_h=yes
74702 else
74703 ac_has_iconv_h=no
74707 if test "${ac_cv_header_langinfo_h+set}" = set; then
74708 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74709 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74710 if test "${ac_cv_header_langinfo_h+set}" = set; then
74711 echo $ECHO_N "(cached) $ECHO_C" >&6
74713 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74714 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74715 else
74716 # Is the header compilable?
74717 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74718 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74719 cat >conftest.$ac_ext <<_ACEOF
74720 /* confdefs.h. */
74721 _ACEOF
74722 cat confdefs.h >>conftest.$ac_ext
74723 cat >>conftest.$ac_ext <<_ACEOF
74724 /* end confdefs.h. */
74725 $ac_includes_default
74726 #include <langinfo.h>
74727 _ACEOF
74728 rm -f conftest.$ac_objext
74729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74730 (eval $ac_compile) 2>conftest.er1
74731 ac_status=$?
74732 grep -v '^ *+' conftest.er1 >conftest.err
74733 rm -f conftest.er1
74734 cat conftest.err >&5
74735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74736 (exit $ac_status); } &&
74737 { ac_try='test -z "$ac_c_werror_flag"
74738 || test ! -s conftest.err'
74739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74740 (eval $ac_try) 2>&5
74741 ac_status=$?
74742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74743 (exit $ac_status); }; } &&
74744 { ac_try='test -s conftest.$ac_objext'
74745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74746 (eval $ac_try) 2>&5
74747 ac_status=$?
74748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74749 (exit $ac_status); }; }; then
74750 ac_header_compiler=yes
74751 else
74752 echo "$as_me: failed program was:" >&5
74753 sed 's/^/| /' conftest.$ac_ext >&5
74755 ac_header_compiler=no
74757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74758 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74759 echo "${ECHO_T}$ac_header_compiler" >&6
74761 # Is the header present?
74762 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74763 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74764 cat >conftest.$ac_ext <<_ACEOF
74765 /* confdefs.h. */
74766 _ACEOF
74767 cat confdefs.h >>conftest.$ac_ext
74768 cat >>conftest.$ac_ext <<_ACEOF
74769 /* end confdefs.h. */
74770 #include <langinfo.h>
74771 _ACEOF
74772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74774 ac_status=$?
74775 grep -v '^ *+' conftest.er1 >conftest.err
74776 rm -f conftest.er1
74777 cat conftest.err >&5
74778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74779 (exit $ac_status); } >/dev/null; then
74780 if test -s conftest.err; then
74781 ac_cpp_err=$ac_c_preproc_warn_flag
74782 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74783 else
74784 ac_cpp_err=
74786 else
74787 ac_cpp_err=yes
74789 if test -z "$ac_cpp_err"; then
74790 ac_header_preproc=yes
74791 else
74792 echo "$as_me: failed program was:" >&5
74793 sed 's/^/| /' conftest.$ac_ext >&5
74795 ac_header_preproc=no
74797 rm -f conftest.err conftest.$ac_ext
74798 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74799 echo "${ECHO_T}$ac_header_preproc" >&6
74801 # So? What about this header?
74802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74803 yes:no: )
74804 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74805 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74806 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74807 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74808 ac_header_preproc=yes
74810 no:yes:* )
74811 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74812 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74813 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74814 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74815 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74816 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74817 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74818 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74819 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74820 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74821 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74822 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74824 cat <<\_ASBOX
74825 ## ----------------------------------------- ##
74826 ## Report this to the package-unused lists. ##
74827 ## ----------------------------------------- ##
74828 _ASBOX
74830 sed "s/^/$as_me: WARNING: /" >&2
74832 esac
74833 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74834 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74835 if test "${ac_cv_header_langinfo_h+set}" = set; then
74836 echo $ECHO_N "(cached) $ECHO_C" >&6
74837 else
74838 ac_cv_header_langinfo_h=$ac_header_preproc
74840 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74841 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74844 if test $ac_cv_header_langinfo_h = yes; then
74845 ac_has_langinfo_h=yes
74846 else
74847 ac_has_langinfo_h=no
74852 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74853 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74854 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74855 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74856 echo $ECHO_N "(cached) $ECHO_C" >&6
74857 else
74858 ac_check_lib_save_LIBS=$LIBS
74859 LIBS="-liconv $LIBS"
74860 if test x$gcc_no_link = xyes; then
74861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74863 { (exit 1); exit 1; }; }
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. */
74872 /* Override any gcc2 internal prototype to avoid an error. */
74873 #ifdef __cplusplus
74874 extern "C"
74875 #endif
74876 /* We use char because int might match the return type of a gcc2
74877 builtin and then its argument prototype would still apply. */
74878 char iconv ();
74880 main ()
74882 iconv ();
74884 return 0;
74886 _ACEOF
74887 rm -f conftest.$ac_objext conftest$ac_exeext
74888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74889 (eval $ac_link) 2>conftest.er1
74890 ac_status=$?
74891 grep -v '^ *+' conftest.er1 >conftest.err
74892 rm -f conftest.er1
74893 cat conftest.err >&5
74894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74895 (exit $ac_status); } &&
74896 { ac_try='test -z "$ac_c_werror_flag"
74897 || test ! -s conftest.err'
74898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74899 (eval $ac_try) 2>&5
74900 ac_status=$?
74901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74902 (exit $ac_status); }; } &&
74903 { ac_try='test -s conftest$ac_exeext'
74904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74905 (eval $ac_try) 2>&5
74906 ac_status=$?
74907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74908 (exit $ac_status); }; }; then
74909 ac_cv_lib_iconv_iconv=yes
74910 else
74911 echo "$as_me: failed program was:" >&5
74912 sed 's/^/| /' conftest.$ac_ext >&5
74914 ac_cv_lib_iconv_iconv=no
74916 rm -f conftest.err conftest.$ac_objext \
74917 conftest$ac_exeext conftest.$ac_ext
74918 LIBS=$ac_check_lib_save_LIBS
74920 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74921 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74922 if test $ac_cv_lib_iconv_iconv = yes; then
74923 LIBICONV="-liconv"
74926 ac_save_LIBS="$LIBS"
74927 LIBS="$LIBS $LIBICONV"
74934 for ac_func in iconv_open iconv_close iconv nl_langinfo
74936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74937 echo "$as_me:$LINENO: checking for $ac_func" >&5
74938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74939 if eval "test \"\${$as_ac_var+set}\" = set"; then
74940 echo $ECHO_N "(cached) $ECHO_C" >&6
74941 else
74942 if test x$gcc_no_link = xyes; then
74943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74945 { (exit 1); exit 1; }; }
74947 cat >conftest.$ac_ext <<_ACEOF
74948 /* confdefs.h. */
74949 _ACEOF
74950 cat confdefs.h >>conftest.$ac_ext
74951 cat >>conftest.$ac_ext <<_ACEOF
74952 /* end confdefs.h. */
74953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74955 #define $ac_func innocuous_$ac_func
74957 /* System header to define __stub macros and hopefully few prototypes,
74958 which can conflict with char $ac_func (); below.
74959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74960 <limits.h> exists even on freestanding compilers. */
74962 #ifdef __STDC__
74963 # include <limits.h>
74964 #else
74965 # include <assert.h>
74966 #endif
74968 #undef $ac_func
74970 /* Override any gcc2 internal prototype to avoid an error. */
74971 #ifdef __cplusplus
74972 extern "C"
74974 #endif
74975 /* We use char because int might match the return type of a gcc2
74976 builtin and then its argument prototype would still apply. */
74977 char $ac_func ();
74978 /* The GNU C library defines this for functions which it implements
74979 to always fail with ENOSYS. Some functions are actually named
74980 something starting with __ and the normal name is an alias. */
74981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74982 choke me
74983 #else
74984 char (*f) () = $ac_func;
74985 #endif
74986 #ifdef __cplusplus
74988 #endif
74991 main ()
74993 return f != $ac_func;
74995 return 0;
74997 _ACEOF
74998 rm -f conftest.$ac_objext conftest$ac_exeext
74999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75000 (eval $ac_link) 2>conftest.er1
75001 ac_status=$?
75002 grep -v '^ *+' conftest.er1 >conftest.err
75003 rm -f conftest.er1
75004 cat conftest.err >&5
75005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75006 (exit $ac_status); } &&
75007 { ac_try='test -z "$ac_c_werror_flag"
75008 || test ! -s conftest.err'
75009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75010 (eval $ac_try) 2>&5
75011 ac_status=$?
75012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75013 (exit $ac_status); }; } &&
75014 { ac_try='test -s conftest$ac_exeext'
75015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75016 (eval $ac_try) 2>&5
75017 ac_status=$?
75018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75019 (exit $ac_status); }; }; then
75020 eval "$as_ac_var=yes"
75021 else
75022 echo "$as_me: failed program was:" >&5
75023 sed 's/^/| /' conftest.$ac_ext >&5
75025 eval "$as_ac_var=no"
75027 rm -f conftest.err conftest.$ac_objext \
75028 conftest$ac_exeext conftest.$ac_ext
75030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75032 if test `eval echo '${'$as_ac_var'}'` = yes; then
75033 cat >>confdefs.h <<_ACEOF
75034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75035 _ACEOF
75036 ac_XPG2funcs=yes
75037 else
75038 ac_XPG2funcs=no
75040 done
75043 LIBS="$ac_save_LIBS"
75045 if test x"$ac_has_iconv_h" = xyes &&
75046 test x"$ac_has_langinfo_h" = xyes &&
75047 test x"$ac_XPG2funcs" = xyes;
75048 then
75050 cat >>confdefs.h <<\_ACEOF
75051 #define _GLIBCXX_USE_ICONV 1
75052 _ACEOF
75054 enable_iconv=yes
75057 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75058 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75059 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75060 echo "${ECHO_T}$enable_iconv" >&6
75063 ac_test_CXXFLAGS="${CXXFLAGS+set}"
75064 ac_save_CXXFLAGS="$CXXFLAGS"
75065 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
75068 echo "$as_me:$LINENO: checking for strtold declaration" >&5
75069 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
75070 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
75071 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
75072 echo $ECHO_N "(cached) $ECHO_C" >&6
75073 else
75077 ac_ext=cc
75078 ac_cpp='$CXXCPP $CPPFLAGS'
75079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75083 cat >conftest.$ac_ext <<_ACEOF
75084 /* confdefs.h. */
75085 _ACEOF
75086 cat confdefs.h >>conftest.$ac_ext
75087 cat >>conftest.$ac_ext <<_ACEOF
75088 /* end confdefs.h. */
75089 #include <stdlib.h>
75091 main ()
75093 strtold(0, 0);
75095 return 0;
75097 _ACEOF
75098 rm -f conftest.$ac_objext
75099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75100 (eval $ac_compile) 2>conftest.er1
75101 ac_status=$?
75102 grep -v '^ *+' conftest.er1 >conftest.err
75103 rm -f conftest.er1
75104 cat conftest.err >&5
75105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75106 (exit $ac_status); } &&
75107 { ac_try='test -z "$ac_cxx_werror_flag"
75108 || test ! -s conftest.err'
75109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75110 (eval $ac_try) 2>&5
75111 ac_status=$?
75112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75113 (exit $ac_status); }; } &&
75114 { ac_try='test -s conftest.$ac_objext'
75115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75116 (eval $ac_try) 2>&5
75117 ac_status=$?
75118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75119 (exit $ac_status); }; }; then
75120 glibcxx_cv_func_strtold_use=yes
75121 else
75122 echo "$as_me: failed program was:" >&5
75123 sed 's/^/| /' conftest.$ac_ext >&5
75125 glibcxx_cv_func_strtold_use=no
75127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75128 ac_ext=c
75129 ac_cpp='$CPP $CPPFLAGS'
75130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75138 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
75139 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
75140 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
75142 for ac_func in strtold
75144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75145 echo "$as_me:$LINENO: checking for $ac_func" >&5
75146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75147 if eval "test \"\${$as_ac_var+set}\" = set"; then
75148 echo $ECHO_N "(cached) $ECHO_C" >&6
75149 else
75150 if test x$gcc_no_link = xyes; then
75151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75153 { (exit 1); exit 1; }; }
75155 cat >conftest.$ac_ext <<_ACEOF
75156 /* confdefs.h. */
75157 _ACEOF
75158 cat confdefs.h >>conftest.$ac_ext
75159 cat >>conftest.$ac_ext <<_ACEOF
75160 /* end confdefs.h. */
75161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75163 #define $ac_func innocuous_$ac_func
75165 /* System header to define __stub macros and hopefully few prototypes,
75166 which can conflict with char $ac_func (); below.
75167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75168 <limits.h> exists even on freestanding compilers. */
75170 #ifdef __STDC__
75171 # include <limits.h>
75172 #else
75173 # include <assert.h>
75174 #endif
75176 #undef $ac_func
75178 /* Override any gcc2 internal prototype to avoid an error. */
75179 #ifdef __cplusplus
75180 extern "C"
75182 #endif
75183 /* We use char because int might match the return type of a gcc2
75184 builtin and then its argument prototype would still apply. */
75185 char $ac_func ();
75186 /* The GNU C library defines this for functions which it implements
75187 to always fail with ENOSYS. Some functions are actually named
75188 something starting with __ and the normal name is an alias. */
75189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75190 choke me
75191 #else
75192 char (*f) () = $ac_func;
75193 #endif
75194 #ifdef __cplusplus
75196 #endif
75199 main ()
75201 return f != $ac_func;
75203 return 0;
75205 _ACEOF
75206 rm -f conftest.$ac_objext conftest$ac_exeext
75207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75208 (eval $ac_link) 2>conftest.er1
75209 ac_status=$?
75210 grep -v '^ *+' conftest.er1 >conftest.err
75211 rm -f conftest.er1
75212 cat conftest.err >&5
75213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75214 (exit $ac_status); } &&
75215 { ac_try='test -z "$ac_c_werror_flag"
75216 || test ! -s conftest.err'
75217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75218 (eval $ac_try) 2>&5
75219 ac_status=$?
75220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75221 (exit $ac_status); }; } &&
75222 { ac_try='test -s conftest$ac_exeext'
75223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75224 (eval $ac_try) 2>&5
75225 ac_status=$?
75226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75227 (exit $ac_status); }; }; then
75228 eval "$as_ac_var=yes"
75229 else
75230 echo "$as_me: failed program was:" >&5
75231 sed 's/^/| /' conftest.$ac_ext >&5
75233 eval "$as_ac_var=no"
75235 rm -f conftest.err conftest.$ac_objext \
75236 conftest$ac_exeext conftest.$ac_ext
75238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75240 if test `eval echo '${'$as_ac_var'}'` = yes; then
75241 cat >>confdefs.h <<_ACEOF
75242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75243 _ACEOF
75246 done
75254 echo "$as_me:$LINENO: checking for strtof declaration" >&5
75255 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
75256 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
75257 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
75258 echo $ECHO_N "(cached) $ECHO_C" >&6
75259 else
75263 ac_ext=cc
75264 ac_cpp='$CXXCPP $CPPFLAGS'
75265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75269 cat >conftest.$ac_ext <<_ACEOF
75270 /* confdefs.h. */
75271 _ACEOF
75272 cat confdefs.h >>conftest.$ac_ext
75273 cat >>conftest.$ac_ext <<_ACEOF
75274 /* end confdefs.h. */
75275 #include <stdlib.h>
75277 main ()
75279 strtof(0, 0);
75281 return 0;
75283 _ACEOF
75284 rm -f conftest.$ac_objext
75285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75286 (eval $ac_compile) 2>conftest.er1
75287 ac_status=$?
75288 grep -v '^ *+' conftest.er1 >conftest.err
75289 rm -f conftest.er1
75290 cat conftest.err >&5
75291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75292 (exit $ac_status); } &&
75293 { ac_try='test -z "$ac_cxx_werror_flag"
75294 || test ! -s conftest.err'
75295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75296 (eval $ac_try) 2>&5
75297 ac_status=$?
75298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75299 (exit $ac_status); }; } &&
75300 { ac_try='test -s conftest.$ac_objext'
75301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75302 (eval $ac_try) 2>&5
75303 ac_status=$?
75304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75305 (exit $ac_status); }; }; then
75306 glibcxx_cv_func_strtof_use=yes
75307 else
75308 echo "$as_me: failed program was:" >&5
75309 sed 's/^/| /' conftest.$ac_ext >&5
75311 glibcxx_cv_func_strtof_use=no
75313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75314 ac_ext=c
75315 ac_cpp='$CPP $CPPFLAGS'
75316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75324 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
75325 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
75326 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
75328 for ac_func in strtof
75330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75331 echo "$as_me:$LINENO: checking for $ac_func" >&5
75332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75333 if eval "test \"\${$as_ac_var+set}\" = set"; then
75334 echo $ECHO_N "(cached) $ECHO_C" >&6
75335 else
75336 if test x$gcc_no_link = xyes; then
75337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75339 { (exit 1); exit 1; }; }
75341 cat >conftest.$ac_ext <<_ACEOF
75342 /* confdefs.h. */
75343 _ACEOF
75344 cat confdefs.h >>conftest.$ac_ext
75345 cat >>conftest.$ac_ext <<_ACEOF
75346 /* end confdefs.h. */
75347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75349 #define $ac_func innocuous_$ac_func
75351 /* System header to define __stub macros and hopefully few prototypes,
75352 which can conflict with char $ac_func (); below.
75353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75354 <limits.h> exists even on freestanding compilers. */
75356 #ifdef __STDC__
75357 # include <limits.h>
75358 #else
75359 # include <assert.h>
75360 #endif
75362 #undef $ac_func
75364 /* Override any gcc2 internal prototype to avoid an error. */
75365 #ifdef __cplusplus
75366 extern "C"
75368 #endif
75369 /* We use char because int might match the return type of a gcc2
75370 builtin and then its argument prototype would still apply. */
75371 char $ac_func ();
75372 /* The GNU C library defines this for functions which it implements
75373 to always fail with ENOSYS. Some functions are actually named
75374 something starting with __ and the normal name is an alias. */
75375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75376 choke me
75377 #else
75378 char (*f) () = $ac_func;
75379 #endif
75380 #ifdef __cplusplus
75382 #endif
75385 main ()
75387 return f != $ac_func;
75389 return 0;
75391 _ACEOF
75392 rm -f conftest.$ac_objext conftest$ac_exeext
75393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75394 (eval $ac_link) 2>conftest.er1
75395 ac_status=$?
75396 grep -v '^ *+' conftest.er1 >conftest.err
75397 rm -f conftest.er1
75398 cat conftest.err >&5
75399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75400 (exit $ac_status); } &&
75401 { ac_try='test -z "$ac_c_werror_flag"
75402 || test ! -s conftest.err'
75403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75404 (eval $ac_try) 2>&5
75405 ac_status=$?
75406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75407 (exit $ac_status); }; } &&
75408 { ac_try='test -s conftest$ac_exeext'
75409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75410 (eval $ac_try) 2>&5
75411 ac_status=$?
75412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75413 (exit $ac_status); }; }; then
75414 eval "$as_ac_var=yes"
75415 else
75416 echo "$as_me: failed program was:" >&5
75417 sed 's/^/| /' conftest.$ac_ext >&5
75419 eval "$as_ac_var=no"
75421 rm -f conftest.err conftest.$ac_objext \
75422 conftest$ac_exeext conftest.$ac_ext
75424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75426 if test `eval echo '${'$as_ac_var'}'` = yes; then
75427 cat >>confdefs.h <<_ACEOF
75428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75429 _ACEOF
75432 done
75440 CXXFLAGS="$ac_save_CXXFLAGS"
75443 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
75444 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
75445 if test "${glibcxx_cv_S_ISREG+set}" = set; then
75446 echo $ECHO_N "(cached) $ECHO_C" >&6
75447 else
75449 if test x$gcc_no_link = xyes; then
75450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75452 { (exit 1); exit 1; }; }
75454 cat >conftest.$ac_ext <<_ACEOF
75455 /* confdefs.h. */
75456 _ACEOF
75457 cat confdefs.h >>conftest.$ac_ext
75458 cat >>conftest.$ac_ext <<_ACEOF
75459 /* end confdefs.h. */
75460 #include <sys/stat.h>
75462 main ()
75464 struct stat buffer;
75465 fstat(0, &buffer);
75466 S_ISREG(buffer.st_mode);
75468 return 0;
75470 _ACEOF
75471 rm -f conftest.$ac_objext conftest$ac_exeext
75472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75473 (eval $ac_link) 2>conftest.er1
75474 ac_status=$?
75475 grep -v '^ *+' conftest.er1 >conftest.err
75476 rm -f conftest.er1
75477 cat conftest.err >&5
75478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75479 (exit $ac_status); } &&
75480 { ac_try='test -z "$ac_c_werror_flag"
75481 || test ! -s conftest.err'
75482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75483 (eval $ac_try) 2>&5
75484 ac_status=$?
75485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75486 (exit $ac_status); }; } &&
75487 { ac_try='test -s conftest$ac_exeext'
75488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75489 (eval $ac_try) 2>&5
75490 ac_status=$?
75491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75492 (exit $ac_status); }; }; then
75493 glibcxx_cv_S_ISREG=yes
75494 else
75495 echo "$as_me: failed program was:" >&5
75496 sed 's/^/| /' conftest.$ac_ext >&5
75498 glibcxx_cv_S_ISREG=no
75500 rm -f conftest.err conftest.$ac_objext \
75501 conftest$ac_exeext conftest.$ac_ext
75505 if test "${glibcxx_cv_S_IFREG+set}" = set; then
75506 echo $ECHO_N "(cached) $ECHO_C" >&6
75507 else
75509 if test x$gcc_no_link = xyes; then
75510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75512 { (exit 1); exit 1; }; }
75514 cat >conftest.$ac_ext <<_ACEOF
75515 /* confdefs.h. */
75516 _ACEOF
75517 cat confdefs.h >>conftest.$ac_ext
75518 cat >>conftest.$ac_ext <<_ACEOF
75519 /* end confdefs.h. */
75520 #include <sys/stat.h>
75522 main ()
75524 struct stat buffer;
75525 fstat(0, &buffer);
75526 S_IFREG & buffer.st_mode;
75528 return 0;
75530 _ACEOF
75531 rm -f conftest.$ac_objext conftest$ac_exeext
75532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75533 (eval $ac_link) 2>conftest.er1
75534 ac_status=$?
75535 grep -v '^ *+' conftest.er1 >conftest.err
75536 rm -f conftest.er1
75537 cat conftest.err >&5
75538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75539 (exit $ac_status); } &&
75540 { ac_try='test -z "$ac_c_werror_flag"
75541 || test ! -s conftest.err'
75542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75543 (eval $ac_try) 2>&5
75544 ac_status=$?
75545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75546 (exit $ac_status); }; } &&
75547 { ac_try='test -s conftest$ac_exeext'
75548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75549 (eval $ac_try) 2>&5
75550 ac_status=$?
75551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75552 (exit $ac_status); }; }; then
75553 glibcxx_cv_S_IFREG=yes
75554 else
75555 echo "$as_me: failed program was:" >&5
75556 sed 's/^/| /' conftest.$ac_ext >&5
75558 glibcxx_cv_S_IFREG=no
75560 rm -f conftest.err conftest.$ac_objext \
75561 conftest$ac_exeext conftest.$ac_ext
75565 res=no
75566 if test $glibcxx_cv_S_ISREG = yes; then
75568 cat >>confdefs.h <<\_ACEOF
75569 #define HAVE_S_ISREG 1
75570 _ACEOF
75572 res=S_ISREG
75573 elif test $glibcxx_cv_S_IFREG = yes; then
75575 cat >>confdefs.h <<\_ACEOF
75576 #define HAVE_S_IFREG 1
75577 _ACEOF
75579 res=S_IFREG
75581 echo "$as_me:$LINENO: result: $res" >&5
75582 echo "${ECHO_T}$res" >&6
75584 cat >>confdefs.h <<\_ACEOF
75585 #define HAVE_WRITEV 1
75586 _ACEOF
75590 *-freebsd*)
75607 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75608 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75609 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75610 sys/time.h unistd.h
75612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75614 echo "$as_me:$LINENO: checking for $ac_header" >&5
75615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75617 echo $ECHO_N "(cached) $ECHO_C" >&6
75619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75621 else
75622 # Is the header compilable?
75623 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75625 cat >conftest.$ac_ext <<_ACEOF
75626 /* confdefs.h. */
75627 _ACEOF
75628 cat confdefs.h >>conftest.$ac_ext
75629 cat >>conftest.$ac_ext <<_ACEOF
75630 /* end confdefs.h. */
75631 $ac_includes_default
75632 #include <$ac_header>
75633 _ACEOF
75634 rm -f conftest.$ac_objext
75635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75636 (eval $ac_compile) 2>conftest.er1
75637 ac_status=$?
75638 grep -v '^ *+' conftest.er1 >conftest.err
75639 rm -f conftest.er1
75640 cat conftest.err >&5
75641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75642 (exit $ac_status); } &&
75643 { ac_try='test -z "$ac_c_werror_flag"
75644 || test ! -s conftest.err'
75645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75646 (eval $ac_try) 2>&5
75647 ac_status=$?
75648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75649 (exit $ac_status); }; } &&
75650 { ac_try='test -s conftest.$ac_objext'
75651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75652 (eval $ac_try) 2>&5
75653 ac_status=$?
75654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75655 (exit $ac_status); }; }; then
75656 ac_header_compiler=yes
75657 else
75658 echo "$as_me: failed program was:" >&5
75659 sed 's/^/| /' conftest.$ac_ext >&5
75661 ac_header_compiler=no
75663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75664 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75665 echo "${ECHO_T}$ac_header_compiler" >&6
75667 # Is the header present?
75668 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75669 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75670 cat >conftest.$ac_ext <<_ACEOF
75671 /* confdefs.h. */
75672 _ACEOF
75673 cat confdefs.h >>conftest.$ac_ext
75674 cat >>conftest.$ac_ext <<_ACEOF
75675 /* end confdefs.h. */
75676 #include <$ac_header>
75677 _ACEOF
75678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75679 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75680 ac_status=$?
75681 grep -v '^ *+' conftest.er1 >conftest.err
75682 rm -f conftest.er1
75683 cat conftest.err >&5
75684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75685 (exit $ac_status); } >/dev/null; then
75686 if test -s conftest.err; then
75687 ac_cpp_err=$ac_c_preproc_warn_flag
75688 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75689 else
75690 ac_cpp_err=
75692 else
75693 ac_cpp_err=yes
75695 if test -z "$ac_cpp_err"; then
75696 ac_header_preproc=yes
75697 else
75698 echo "$as_me: failed program was:" >&5
75699 sed 's/^/| /' conftest.$ac_ext >&5
75701 ac_header_preproc=no
75703 rm -f conftest.err conftest.$ac_ext
75704 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75705 echo "${ECHO_T}$ac_header_preproc" >&6
75707 # So? What about this header?
75708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75709 yes:no: )
75710 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75713 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75714 ac_header_preproc=yes
75716 no:yes:* )
75717 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75719 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75720 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75721 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75722 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75723 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75724 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75727 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75728 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75730 cat <<\_ASBOX
75731 ## ----------------------------------------- ##
75732 ## Report this to the package-unused lists. ##
75733 ## ----------------------------------------- ##
75734 _ASBOX
75736 sed "s/^/$as_me: WARNING: /" >&2
75738 esac
75739 echo "$as_me:$LINENO: checking for $ac_header" >&5
75740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75742 echo $ECHO_N "(cached) $ECHO_C" >&6
75743 else
75744 eval "$as_ac_Header=\$ac_header_preproc"
75746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75751 cat >>confdefs.h <<_ACEOF
75752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75753 _ACEOF
75757 done
75759 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75762 # If we're not using GNU ld, then there's no point in even trying these
75763 # tests. Check for that first. We should have already tested for gld
75764 # by now (in libtool), but require it now just to be safe...
75765 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75766 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75770 # The name set by libtool depends on the version of libtool. Shame on us
75771 # for depending on an impl detail, but c'est la vie. Older versions used
75772 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75773 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75774 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75775 # set (hence we're using an older libtool), then set it.
75776 if test x${with_gnu_ld+set} != xset; then
75777 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75778 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75779 with_gnu_ld=no
75780 else
75781 with_gnu_ld=$ac_cv_prog_gnu_ld
75785 # Start by getting the version number. I think the libtool test already
75786 # does some of this, but throws away the result.
75787 echo "$as_me:$LINENO: checking for ld version" >&5
75788 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
75790 ldver=`$LD --version 2>/dev/null | head -1 | \
75791 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75793 glibcxx_gnu_ld_version=`echo $ldver | \
75794 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75795 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
75796 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
75798 # Set --gc-sections.
75799 glibcxx_gcsections_min_ld=21602
75800 if test x"$with_gnu_ld" = x"yes" &&
75801 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
75803 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
75804 # NB: This flag only works reliably after 2.16.1. Configure tests
75805 # for this are difficult, so hard wire a value that should work.
75807 # All these tests are for C++, but run with the "C" compiler driver.
75808 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
75809 ac_test_CFLAGS="${CFLAGS+set}"
75810 ac_save_CFLAGS="$CFLAGS"
75811 CFLAGS='-x c++ -Wl,--gc-sections'
75813 # Check for -Wl,--gc-sections
75814 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75815 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75816 if test x$gcc_no_link = xyes; then
75817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75819 { (exit 1); exit 1; }; }
75821 cat >conftest.$ac_ext <<_ACEOF
75822 /* confdefs.h. */
75823 _ACEOF
75824 cat confdefs.h >>conftest.$ac_ext
75825 cat >>conftest.$ac_ext <<_ACEOF
75826 /* end confdefs.h. */
75827 int one(void) { return 1; }
75828 int two(void) { return 2; }
75831 main ()
75833 two();
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 ac_gcsections=yes
75861 else
75862 echo "$as_me: failed program was:" >&5
75863 sed 's/^/| /' conftest.$ac_ext >&5
75865 ac_gcsections=no
75867 rm -f conftest.err conftest.$ac_objext \
75868 conftest$ac_exeext conftest.$ac_ext
75869 if test "$ac_gcsections" = "yes"; then
75870 rm -f conftest.c
75871 touch conftest.c
75872 if $CC -c conftest.c; then
75873 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
75874 grep "Warning: gc-sections option ignored" > /dev/null; then
75875 ac_gcsections=no
75878 rm -f conftest.c conftest.o conftest
75880 if test "$ac_gcsections" = "yes"; then
75881 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75883 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75884 echo "${ECHO_T}$ac_gcsections" >&6
75886 if test "$ac_test_CFLAGS" = set; then
75887 CFLAGS="$ac_save_CFLAGS"
75888 else
75889 # this is the suspicious part
75890 CFLAGS=''
75894 # Set -z,relro.
75895 # Note this is only for shared objects.
75896 ac_ld_relro=no
75897 if test x"$with_gnu_ld" = x"yes"; then
75898 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75899 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75900 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75901 if test -n "$cxx_z_relo"; then
75902 OPT_LDFLAGS="-Wl,-z,relro"
75903 ac_ld_relro=yes
75905 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75906 echo "${ECHO_T}$ac_ld_relro" >&6
75909 # Set linker optimization flags.
75910 if test x"$with_gnu_ld" = x"yes"; then
75911 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75919 echo "$as_me:$LINENO: checking for main in -lm" >&5
75920 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75921 if test "${ac_cv_lib_m_main+set}" = set; then
75922 echo $ECHO_N "(cached) $ECHO_C" >&6
75923 else
75924 ac_check_lib_save_LIBS=$LIBS
75925 LIBS="-lm $LIBS"
75926 if test x$gcc_no_link = xyes; then
75927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75929 { (exit 1); exit 1; }; }
75931 cat >conftest.$ac_ext <<_ACEOF
75932 /* confdefs.h. */
75933 _ACEOF
75934 cat confdefs.h >>conftest.$ac_ext
75935 cat >>conftest.$ac_ext <<_ACEOF
75936 /* end confdefs.h. */
75940 main ()
75942 main ();
75944 return 0;
75946 _ACEOF
75947 rm -f conftest.$ac_objext conftest$ac_exeext
75948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75949 (eval $ac_link) 2>conftest.er1
75950 ac_status=$?
75951 grep -v '^ *+' conftest.er1 >conftest.err
75952 rm -f conftest.er1
75953 cat conftest.err >&5
75954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75955 (exit $ac_status); } &&
75956 { ac_try='test -z "$ac_c_werror_flag"
75957 || test ! -s conftest.err'
75958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75959 (eval $ac_try) 2>&5
75960 ac_status=$?
75961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75962 (exit $ac_status); }; } &&
75963 { ac_try='test -s conftest$ac_exeext'
75964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75965 (eval $ac_try) 2>&5
75966 ac_status=$?
75967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75968 (exit $ac_status); }; }; then
75969 ac_cv_lib_m_main=yes
75970 else
75971 echo "$as_me: failed program was:" >&5
75972 sed 's/^/| /' conftest.$ac_ext >&5
75974 ac_cv_lib_m_main=no
75976 rm -f conftest.err conftest.$ac_objext \
75977 conftest$ac_exeext conftest.$ac_ext
75978 LIBS=$ac_check_lib_save_LIBS
75980 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75981 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75982 if test $ac_cv_lib_m_main = yes; then
75983 cat >>confdefs.h <<_ACEOF
75984 #define HAVE_LIBM 1
75985 _ACEOF
75987 LIBS="-lm $LIBS"
75992 for ac_func in copysignf
75994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75995 echo "$as_me:$LINENO: checking for $ac_func" >&5
75996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75997 if eval "test \"\${$as_ac_var+set}\" = set"; then
75998 echo $ECHO_N "(cached) $ECHO_C" >&6
75999 else
76000 if test x$gcc_no_link = xyes; then
76001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76003 { (exit 1); exit 1; }; }
76005 cat >conftest.$ac_ext <<_ACEOF
76006 /* confdefs.h. */
76007 _ACEOF
76008 cat confdefs.h >>conftest.$ac_ext
76009 cat >>conftest.$ac_ext <<_ACEOF
76010 /* end confdefs.h. */
76011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76013 #define $ac_func innocuous_$ac_func
76015 /* System header to define __stub macros and hopefully few prototypes,
76016 which can conflict with char $ac_func (); below.
76017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76018 <limits.h> exists even on freestanding compilers. */
76020 #ifdef __STDC__
76021 # include <limits.h>
76022 #else
76023 # include <assert.h>
76024 #endif
76026 #undef $ac_func
76028 /* Override any gcc2 internal prototype to avoid an error. */
76029 #ifdef __cplusplus
76030 extern "C"
76032 #endif
76033 /* We use char because int might match the return type of a gcc2
76034 builtin and then its argument prototype would still apply. */
76035 char $ac_func ();
76036 /* The GNU C library defines this for functions which it implements
76037 to always fail with ENOSYS. Some functions are actually named
76038 something starting with __ and the normal name is an alias. */
76039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76040 choke me
76041 #else
76042 char (*f) () = $ac_func;
76043 #endif
76044 #ifdef __cplusplus
76046 #endif
76049 main ()
76051 return f != $ac_func;
76053 return 0;
76055 _ACEOF
76056 rm -f conftest.$ac_objext conftest$ac_exeext
76057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76058 (eval $ac_link) 2>conftest.er1
76059 ac_status=$?
76060 grep -v '^ *+' conftest.er1 >conftest.err
76061 rm -f conftest.er1
76062 cat conftest.err >&5
76063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76064 (exit $ac_status); } &&
76065 { ac_try='test -z "$ac_c_werror_flag"
76066 || test ! -s conftest.err'
76067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76068 (eval $ac_try) 2>&5
76069 ac_status=$?
76070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76071 (exit $ac_status); }; } &&
76072 { ac_try='test -s conftest$ac_exeext'
76073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76074 (eval $ac_try) 2>&5
76075 ac_status=$?
76076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76077 (exit $ac_status); }; }; then
76078 eval "$as_ac_var=yes"
76079 else
76080 echo "$as_me: failed program was:" >&5
76081 sed 's/^/| /' conftest.$ac_ext >&5
76083 eval "$as_ac_var=no"
76085 rm -f conftest.err conftest.$ac_objext \
76086 conftest$ac_exeext conftest.$ac_ext
76088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76090 if test `eval echo '${'$as_ac_var'}'` = yes; then
76091 cat >>confdefs.h <<_ACEOF
76092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76093 _ACEOF
76095 else
76096 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76098 done
76102 for ac_func in __signbit
76104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76105 echo "$as_me:$LINENO: checking for $ac_func" >&5
76106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76107 if eval "test \"\${$as_ac_var+set}\" = set"; then
76108 echo $ECHO_N "(cached) $ECHO_C" >&6
76109 else
76110 if test x$gcc_no_link = xyes; then
76111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76113 { (exit 1); exit 1; }; }
76115 cat >conftest.$ac_ext <<_ACEOF
76116 /* confdefs.h. */
76117 _ACEOF
76118 cat confdefs.h >>conftest.$ac_ext
76119 cat >>conftest.$ac_ext <<_ACEOF
76120 /* end confdefs.h. */
76121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76123 #define $ac_func innocuous_$ac_func
76125 /* System header to define __stub macros and hopefully few prototypes,
76126 which can conflict with char $ac_func (); below.
76127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76128 <limits.h> exists even on freestanding compilers. */
76130 #ifdef __STDC__
76131 # include <limits.h>
76132 #else
76133 # include <assert.h>
76134 #endif
76136 #undef $ac_func
76138 /* Override any gcc2 internal prototype to avoid an error. */
76139 #ifdef __cplusplus
76140 extern "C"
76142 #endif
76143 /* We use char because int might match the return type of a gcc2
76144 builtin and then its argument prototype would still apply. */
76145 char $ac_func ();
76146 /* The GNU C library defines this for functions which it implements
76147 to always fail with ENOSYS. Some functions are actually named
76148 something starting with __ and the normal name is an alias. */
76149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76150 choke me
76151 #else
76152 char (*f) () = $ac_func;
76153 #endif
76154 #ifdef __cplusplus
76156 #endif
76159 main ()
76161 return f != $ac_func;
76163 return 0;
76165 _ACEOF
76166 rm -f conftest.$ac_objext conftest$ac_exeext
76167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76168 (eval $ac_link) 2>conftest.er1
76169 ac_status=$?
76170 grep -v '^ *+' conftest.er1 >conftest.err
76171 rm -f conftest.er1
76172 cat conftest.err >&5
76173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76174 (exit $ac_status); } &&
76175 { ac_try='test -z "$ac_c_werror_flag"
76176 || test ! -s conftest.err'
76177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76178 (eval $ac_try) 2>&5
76179 ac_status=$?
76180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76181 (exit $ac_status); }; } &&
76182 { ac_try='test -s conftest$ac_exeext'
76183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76184 (eval $ac_try) 2>&5
76185 ac_status=$?
76186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76187 (exit $ac_status); }; }; then
76188 eval "$as_ac_var=yes"
76189 else
76190 echo "$as_me: failed program was:" >&5
76191 sed 's/^/| /' conftest.$ac_ext >&5
76193 eval "$as_ac_var=no"
76195 rm -f conftest.err conftest.$ac_objext \
76196 conftest$ac_exeext conftest.$ac_ext
76198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76200 if test `eval echo '${'$as_ac_var'}'` = yes; then
76201 cat >>confdefs.h <<_ACEOF
76202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76203 _ACEOF
76205 else
76206 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76208 done
76212 for ac_func in __signbitf
76214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76215 echo "$as_me:$LINENO: checking for $ac_func" >&5
76216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76217 if eval "test \"\${$as_ac_var+set}\" = set"; then
76218 echo $ECHO_N "(cached) $ECHO_C" >&6
76219 else
76220 if test x$gcc_no_link = xyes; then
76221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76223 { (exit 1); exit 1; }; }
76225 cat >conftest.$ac_ext <<_ACEOF
76226 /* confdefs.h. */
76227 _ACEOF
76228 cat confdefs.h >>conftest.$ac_ext
76229 cat >>conftest.$ac_ext <<_ACEOF
76230 /* end confdefs.h. */
76231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76233 #define $ac_func innocuous_$ac_func
76235 /* System header to define __stub macros and hopefully few prototypes,
76236 which can conflict with char $ac_func (); below.
76237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76238 <limits.h> exists even on freestanding compilers. */
76240 #ifdef __STDC__
76241 # include <limits.h>
76242 #else
76243 # include <assert.h>
76244 #endif
76246 #undef $ac_func
76248 /* Override any gcc2 internal prototype to avoid an error. */
76249 #ifdef __cplusplus
76250 extern "C"
76252 #endif
76253 /* We use char because int might match the return type of a gcc2
76254 builtin and then its argument prototype would still apply. */
76255 char $ac_func ();
76256 /* The GNU C library defines this for functions which it implements
76257 to always fail with ENOSYS. Some functions are actually named
76258 something starting with __ and the normal name is an alias. */
76259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76260 choke me
76261 #else
76262 char (*f) () = $ac_func;
76263 #endif
76264 #ifdef __cplusplus
76266 #endif
76269 main ()
76271 return f != $ac_func;
76273 return 0;
76275 _ACEOF
76276 rm -f conftest.$ac_objext conftest$ac_exeext
76277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76278 (eval $ac_link) 2>conftest.er1
76279 ac_status=$?
76280 grep -v '^ *+' conftest.er1 >conftest.err
76281 rm -f conftest.er1
76282 cat conftest.err >&5
76283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76284 (exit $ac_status); } &&
76285 { ac_try='test -z "$ac_c_werror_flag"
76286 || test ! -s conftest.err'
76287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76288 (eval $ac_try) 2>&5
76289 ac_status=$?
76290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76291 (exit $ac_status); }; } &&
76292 { ac_try='test -s conftest$ac_exeext'
76293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76294 (eval $ac_try) 2>&5
76295 ac_status=$?
76296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76297 (exit $ac_status); }; }; then
76298 eval "$as_ac_var=yes"
76299 else
76300 echo "$as_me: failed program was:" >&5
76301 sed 's/^/| /' conftest.$ac_ext >&5
76303 eval "$as_ac_var=no"
76305 rm -f conftest.err conftest.$ac_objext \
76306 conftest$ac_exeext conftest.$ac_ext
76308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76310 if test `eval echo '${'$as_ac_var'}'` = yes; then
76311 cat >>confdefs.h <<_ACEOF
76312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76313 _ACEOF
76315 else
76316 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76318 done
76321 if test x$ac_cv_func_copysignl = x"yes"; then
76323 for ac_func in __signbitl
76325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76326 echo "$as_me:$LINENO: checking for $ac_func" >&5
76327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76328 if eval "test \"\${$as_ac_var+set}\" = set"; then
76329 echo $ECHO_N "(cached) $ECHO_C" >&6
76330 else
76331 if test x$gcc_no_link = xyes; then
76332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76334 { (exit 1); exit 1; }; }
76336 cat >conftest.$ac_ext <<_ACEOF
76337 /* confdefs.h. */
76338 _ACEOF
76339 cat confdefs.h >>conftest.$ac_ext
76340 cat >>conftest.$ac_ext <<_ACEOF
76341 /* end confdefs.h. */
76342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76344 #define $ac_func innocuous_$ac_func
76346 /* System header to define __stub macros and hopefully few prototypes,
76347 which can conflict with char $ac_func (); below.
76348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76349 <limits.h> exists even on freestanding compilers. */
76351 #ifdef __STDC__
76352 # include <limits.h>
76353 #else
76354 # include <assert.h>
76355 #endif
76357 #undef $ac_func
76359 /* Override any gcc2 internal prototype to avoid an error. */
76360 #ifdef __cplusplus
76361 extern "C"
76363 #endif
76364 /* We use char because int might match the return type of a gcc2
76365 builtin and then its argument prototype would still apply. */
76366 char $ac_func ();
76367 /* The GNU C library defines this for functions which it implements
76368 to always fail with ENOSYS. Some functions are actually named
76369 something starting with __ and the normal name is an alias. */
76370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76371 choke me
76372 #else
76373 char (*f) () = $ac_func;
76374 #endif
76375 #ifdef __cplusplus
76377 #endif
76380 main ()
76382 return f != $ac_func;
76384 return 0;
76386 _ACEOF
76387 rm -f conftest.$ac_objext conftest$ac_exeext
76388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76389 (eval $ac_link) 2>conftest.er1
76390 ac_status=$?
76391 grep -v '^ *+' conftest.er1 >conftest.err
76392 rm -f conftest.er1
76393 cat conftest.err >&5
76394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76395 (exit $ac_status); } &&
76396 { ac_try='test -z "$ac_c_werror_flag"
76397 || test ! -s conftest.err'
76398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76399 (eval $ac_try) 2>&5
76400 ac_status=$?
76401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76402 (exit $ac_status); }; } &&
76403 { ac_try='test -s conftest$ac_exeext'
76404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76405 (eval $ac_try) 2>&5
76406 ac_status=$?
76407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76408 (exit $ac_status); }; }; then
76409 eval "$as_ac_var=yes"
76410 else
76411 echo "$as_me: failed program was:" >&5
76412 sed 's/^/| /' conftest.$ac_ext >&5
76414 eval "$as_ac_var=no"
76416 rm -f conftest.err conftest.$ac_objext \
76417 conftest$ac_exeext conftest.$ac_ext
76419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76421 if test `eval echo '${'$as_ac_var'}'` = yes; then
76422 cat >>confdefs.h <<_ACEOF
76423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76424 _ACEOF
76426 else
76427 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76429 done
76433 # Used in libmath/Makefile.am.
76434 if test -n "$LIBMATHOBJS"; then
76435 need_libmath=yes
76441 enable_iconv=no
76442 # Only continue checking if the ISO C99 headers exist and support is on.
76443 if test x"$enable_wchar_t" = xyes; then
76445 # Use iconv for wchar_t to char conversions. As such, check for
76446 # X/Open Portability Guide, version 2 features (XPG2).
76447 if test "${ac_cv_header_iconv_h+set}" = set; then
76448 echo "$as_me:$LINENO: checking for iconv.h" >&5
76449 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76450 if test "${ac_cv_header_iconv_h+set}" = set; then
76451 echo $ECHO_N "(cached) $ECHO_C" >&6
76453 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76454 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76455 else
76456 # Is the header compilable?
76457 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76458 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76459 cat >conftest.$ac_ext <<_ACEOF
76460 /* confdefs.h. */
76461 _ACEOF
76462 cat confdefs.h >>conftest.$ac_ext
76463 cat >>conftest.$ac_ext <<_ACEOF
76464 /* end confdefs.h. */
76465 $ac_includes_default
76466 #include <iconv.h>
76467 _ACEOF
76468 rm -f conftest.$ac_objext
76469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76470 (eval $ac_compile) 2>conftest.er1
76471 ac_status=$?
76472 grep -v '^ *+' conftest.er1 >conftest.err
76473 rm -f conftest.er1
76474 cat conftest.err >&5
76475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76476 (exit $ac_status); } &&
76477 { ac_try='test -z "$ac_c_werror_flag"
76478 || test ! -s conftest.err'
76479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76480 (eval $ac_try) 2>&5
76481 ac_status=$?
76482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76483 (exit $ac_status); }; } &&
76484 { ac_try='test -s conftest.$ac_objext'
76485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76486 (eval $ac_try) 2>&5
76487 ac_status=$?
76488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76489 (exit $ac_status); }; }; then
76490 ac_header_compiler=yes
76491 else
76492 echo "$as_me: failed program was:" >&5
76493 sed 's/^/| /' conftest.$ac_ext >&5
76495 ac_header_compiler=no
76497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76499 echo "${ECHO_T}$ac_header_compiler" >&6
76501 # Is the header present?
76502 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76503 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76504 cat >conftest.$ac_ext <<_ACEOF
76505 /* confdefs.h. */
76506 _ACEOF
76507 cat confdefs.h >>conftest.$ac_ext
76508 cat >>conftest.$ac_ext <<_ACEOF
76509 /* end confdefs.h. */
76510 #include <iconv.h>
76511 _ACEOF
76512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76514 ac_status=$?
76515 grep -v '^ *+' conftest.er1 >conftest.err
76516 rm -f conftest.er1
76517 cat conftest.err >&5
76518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76519 (exit $ac_status); } >/dev/null; then
76520 if test -s conftest.err; then
76521 ac_cpp_err=$ac_c_preproc_warn_flag
76522 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76523 else
76524 ac_cpp_err=
76526 else
76527 ac_cpp_err=yes
76529 if test -z "$ac_cpp_err"; then
76530 ac_header_preproc=yes
76531 else
76532 echo "$as_me: failed program was:" >&5
76533 sed 's/^/| /' conftest.$ac_ext >&5
76535 ac_header_preproc=no
76537 rm -f conftest.err conftest.$ac_ext
76538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76539 echo "${ECHO_T}$ac_header_preproc" >&6
76541 # So? What about this header?
76542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76543 yes:no: )
76544 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76545 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76546 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76547 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76548 ac_header_preproc=yes
76550 no:yes:* )
76551 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76552 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76553 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76554 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76555 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76556 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76557 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76558 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76559 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76560 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76561 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76562 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76564 cat <<\_ASBOX
76565 ## ----------------------------------------- ##
76566 ## Report this to the package-unused lists. ##
76567 ## ----------------------------------------- ##
76568 _ASBOX
76570 sed "s/^/$as_me: WARNING: /" >&2
76572 esac
76573 echo "$as_me:$LINENO: checking for iconv.h" >&5
76574 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76575 if test "${ac_cv_header_iconv_h+set}" = set; then
76576 echo $ECHO_N "(cached) $ECHO_C" >&6
76577 else
76578 ac_cv_header_iconv_h=$ac_header_preproc
76580 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76581 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76584 if test $ac_cv_header_iconv_h = yes; then
76585 ac_has_iconv_h=yes
76586 else
76587 ac_has_iconv_h=no
76591 if test "${ac_cv_header_langinfo_h+set}" = set; then
76592 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76593 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76594 if test "${ac_cv_header_langinfo_h+set}" = set; then
76595 echo $ECHO_N "(cached) $ECHO_C" >&6
76597 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76598 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76599 else
76600 # Is the header compilable?
76601 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76602 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76603 cat >conftest.$ac_ext <<_ACEOF
76604 /* confdefs.h. */
76605 _ACEOF
76606 cat confdefs.h >>conftest.$ac_ext
76607 cat >>conftest.$ac_ext <<_ACEOF
76608 /* end confdefs.h. */
76609 $ac_includes_default
76610 #include <langinfo.h>
76611 _ACEOF
76612 rm -f conftest.$ac_objext
76613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76614 (eval $ac_compile) 2>conftest.er1
76615 ac_status=$?
76616 grep -v '^ *+' conftest.er1 >conftest.err
76617 rm -f conftest.er1
76618 cat conftest.err >&5
76619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76620 (exit $ac_status); } &&
76621 { ac_try='test -z "$ac_c_werror_flag"
76622 || test ! -s conftest.err'
76623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76624 (eval $ac_try) 2>&5
76625 ac_status=$?
76626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76627 (exit $ac_status); }; } &&
76628 { ac_try='test -s conftest.$ac_objext'
76629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76630 (eval $ac_try) 2>&5
76631 ac_status=$?
76632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76633 (exit $ac_status); }; }; then
76634 ac_header_compiler=yes
76635 else
76636 echo "$as_me: failed program was:" >&5
76637 sed 's/^/| /' conftest.$ac_ext >&5
76639 ac_header_compiler=no
76641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76642 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76643 echo "${ECHO_T}$ac_header_compiler" >&6
76645 # Is the header present?
76646 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76647 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76648 cat >conftest.$ac_ext <<_ACEOF
76649 /* confdefs.h. */
76650 _ACEOF
76651 cat confdefs.h >>conftest.$ac_ext
76652 cat >>conftest.$ac_ext <<_ACEOF
76653 /* end confdefs.h. */
76654 #include <langinfo.h>
76655 _ACEOF
76656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76658 ac_status=$?
76659 grep -v '^ *+' conftest.er1 >conftest.err
76660 rm -f conftest.er1
76661 cat conftest.err >&5
76662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76663 (exit $ac_status); } >/dev/null; then
76664 if test -s conftest.err; then
76665 ac_cpp_err=$ac_c_preproc_warn_flag
76666 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76667 else
76668 ac_cpp_err=
76670 else
76671 ac_cpp_err=yes
76673 if test -z "$ac_cpp_err"; then
76674 ac_header_preproc=yes
76675 else
76676 echo "$as_me: failed program was:" >&5
76677 sed 's/^/| /' conftest.$ac_ext >&5
76679 ac_header_preproc=no
76681 rm -f conftest.err conftest.$ac_ext
76682 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76683 echo "${ECHO_T}$ac_header_preproc" >&6
76685 # So? What about this header?
76686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76687 yes:no: )
76688 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76689 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76690 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76691 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76692 ac_header_preproc=yes
76694 no:yes:* )
76695 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76696 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76697 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76698 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76699 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76700 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76701 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76702 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76703 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76704 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76705 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76706 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76708 cat <<\_ASBOX
76709 ## ----------------------------------------- ##
76710 ## Report this to the package-unused lists. ##
76711 ## ----------------------------------------- ##
76712 _ASBOX
76714 sed "s/^/$as_me: WARNING: /" >&2
76716 esac
76717 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76718 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76719 if test "${ac_cv_header_langinfo_h+set}" = set; then
76720 echo $ECHO_N "(cached) $ECHO_C" >&6
76721 else
76722 ac_cv_header_langinfo_h=$ac_header_preproc
76724 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76725 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76728 if test $ac_cv_header_langinfo_h = yes; then
76729 ac_has_langinfo_h=yes
76730 else
76731 ac_has_langinfo_h=no
76736 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76737 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76738 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76739 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76740 echo $ECHO_N "(cached) $ECHO_C" >&6
76741 else
76742 ac_check_lib_save_LIBS=$LIBS
76743 LIBS="-liconv $LIBS"
76744 if test x$gcc_no_link = xyes; then
76745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76747 { (exit 1); exit 1; }; }
76749 cat >conftest.$ac_ext <<_ACEOF
76750 /* confdefs.h. */
76751 _ACEOF
76752 cat confdefs.h >>conftest.$ac_ext
76753 cat >>conftest.$ac_ext <<_ACEOF
76754 /* end confdefs.h. */
76756 /* Override any gcc2 internal prototype to avoid an error. */
76757 #ifdef __cplusplus
76758 extern "C"
76759 #endif
76760 /* We use char because int might match the return type of a gcc2
76761 builtin and then its argument prototype would still apply. */
76762 char iconv ();
76764 main ()
76766 iconv ();
76768 return 0;
76770 _ACEOF
76771 rm -f conftest.$ac_objext conftest$ac_exeext
76772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76773 (eval $ac_link) 2>conftest.er1
76774 ac_status=$?
76775 grep -v '^ *+' conftest.er1 >conftest.err
76776 rm -f conftest.er1
76777 cat conftest.err >&5
76778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76779 (exit $ac_status); } &&
76780 { ac_try='test -z "$ac_c_werror_flag"
76781 || test ! -s conftest.err'
76782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76783 (eval $ac_try) 2>&5
76784 ac_status=$?
76785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76786 (exit $ac_status); }; } &&
76787 { ac_try='test -s conftest$ac_exeext'
76788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76789 (eval $ac_try) 2>&5
76790 ac_status=$?
76791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76792 (exit $ac_status); }; }; then
76793 ac_cv_lib_iconv_iconv=yes
76794 else
76795 echo "$as_me: failed program was:" >&5
76796 sed 's/^/| /' conftest.$ac_ext >&5
76798 ac_cv_lib_iconv_iconv=no
76800 rm -f conftest.err conftest.$ac_objext \
76801 conftest$ac_exeext conftest.$ac_ext
76802 LIBS=$ac_check_lib_save_LIBS
76804 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76805 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76806 if test $ac_cv_lib_iconv_iconv = yes; then
76807 LIBICONV="-liconv"
76810 ac_save_LIBS="$LIBS"
76811 LIBS="$LIBS $LIBICONV"
76818 for ac_func in iconv_open iconv_close iconv nl_langinfo
76820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76821 echo "$as_me:$LINENO: checking for $ac_func" >&5
76822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76823 if eval "test \"\${$as_ac_var+set}\" = set"; then
76824 echo $ECHO_N "(cached) $ECHO_C" >&6
76825 else
76826 if test x$gcc_no_link = xyes; then
76827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76829 { (exit 1); exit 1; }; }
76831 cat >conftest.$ac_ext <<_ACEOF
76832 /* confdefs.h. */
76833 _ACEOF
76834 cat confdefs.h >>conftest.$ac_ext
76835 cat >>conftest.$ac_ext <<_ACEOF
76836 /* end confdefs.h. */
76837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76839 #define $ac_func innocuous_$ac_func
76841 /* System header to define __stub macros and hopefully few prototypes,
76842 which can conflict with char $ac_func (); below.
76843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76844 <limits.h> exists even on freestanding compilers. */
76846 #ifdef __STDC__
76847 # include <limits.h>
76848 #else
76849 # include <assert.h>
76850 #endif
76852 #undef $ac_func
76854 /* Override any gcc2 internal prototype to avoid an error. */
76855 #ifdef __cplusplus
76856 extern "C"
76858 #endif
76859 /* We use char because int might match the return type of a gcc2
76860 builtin and then its argument prototype would still apply. */
76861 char $ac_func ();
76862 /* The GNU C library defines this for functions which it implements
76863 to always fail with ENOSYS. Some functions are actually named
76864 something starting with __ and the normal name is an alias. */
76865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76866 choke me
76867 #else
76868 char (*f) () = $ac_func;
76869 #endif
76870 #ifdef __cplusplus
76872 #endif
76875 main ()
76877 return f != $ac_func;
76879 return 0;
76881 _ACEOF
76882 rm -f conftest.$ac_objext conftest$ac_exeext
76883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76884 (eval $ac_link) 2>conftest.er1
76885 ac_status=$?
76886 grep -v '^ *+' conftest.er1 >conftest.err
76887 rm -f conftest.er1
76888 cat conftest.err >&5
76889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76890 (exit $ac_status); } &&
76891 { ac_try='test -z "$ac_c_werror_flag"
76892 || test ! -s conftest.err'
76893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76894 (eval $ac_try) 2>&5
76895 ac_status=$?
76896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76897 (exit $ac_status); }; } &&
76898 { ac_try='test -s conftest$ac_exeext'
76899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76900 (eval $ac_try) 2>&5
76901 ac_status=$?
76902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76903 (exit $ac_status); }; }; then
76904 eval "$as_ac_var=yes"
76905 else
76906 echo "$as_me: failed program was:" >&5
76907 sed 's/^/| /' conftest.$ac_ext >&5
76909 eval "$as_ac_var=no"
76911 rm -f conftest.err conftest.$ac_objext \
76912 conftest$ac_exeext conftest.$ac_ext
76914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76916 if test `eval echo '${'$as_ac_var'}'` = yes; then
76917 cat >>confdefs.h <<_ACEOF
76918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76919 _ACEOF
76920 ac_XPG2funcs=yes
76921 else
76922 ac_XPG2funcs=no
76924 done
76927 LIBS="$ac_save_LIBS"
76929 if test x"$ac_has_iconv_h" = xyes &&
76930 test x"$ac_has_langinfo_h" = xyes &&
76931 test x"$ac_XPG2funcs" = xyes;
76932 then
76934 cat >>confdefs.h <<\_ACEOF
76935 #define _GLIBCXX_USE_ICONV 1
76936 _ACEOF
76938 enable_iconv=yes
76941 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76942 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76943 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76944 echo "${ECHO_T}$enable_iconv" >&6
76946 cat >>confdefs.h <<\_ACEOF
76947 #define HAVE_LC_MESSAGES 1
76948 _ACEOF
76950 cat >>confdefs.h <<\_ACEOF
76951 #define HAVE_GETPAGESIZE 1
76952 _ACEOF
76954 cat >>confdefs.h <<\_ACEOF
76955 #define HAVE_SETENV 1
76956 _ACEOF
76958 cat >>confdefs.h <<\_ACEOF
76959 #define HAVE_SIGSETJMP 1
76960 _ACEOF
76962 cat >>confdefs.h <<\_ACEOF
76963 #define HAVE_COPYSIGN 1
76964 _ACEOF
76966 cat >>confdefs.h <<\_ACEOF
76967 #define HAVE_COPYSIGNF 1
76968 _ACEOF
76970 cat >>confdefs.h <<\_ACEOF
76971 #define HAVE_FINITEF 1
76972 _ACEOF
76974 cat >>confdefs.h <<\_ACEOF
76975 #define HAVE_FINITE 1
76976 _ACEOF
76978 cat >>confdefs.h <<\_ACEOF
76979 #define HAVE_FREXPF 1
76980 _ACEOF
76982 cat >>confdefs.h <<\_ACEOF
76983 #define HAVE_HYPOT 1
76984 _ACEOF
76986 cat >>confdefs.h <<\_ACEOF
76987 #define HAVE_HYPOTF 1
76988 _ACEOF
76990 cat >>confdefs.h <<\_ACEOF
76991 #define HAVE_ISINF 1
76992 _ACEOF
76994 cat >>confdefs.h <<\_ACEOF
76995 #define HAVE_ISNAN 1
76996 _ACEOF
76998 cat >>confdefs.h <<\_ACEOF
76999 #define HAVE_ISNANF 1
77000 _ACEOF
77003 cat >>confdefs.h <<\_ACEOF
77004 #define HAVE_MMAP 1
77005 _ACEOF
77007 cat >>confdefs.h <<\_ACEOF
77008 #define HAVE_ACOSF 1
77009 _ACEOF
77011 cat >>confdefs.h <<\_ACEOF
77012 #define HAVE_ASINF 1
77013 _ACEOF
77015 cat >>confdefs.h <<\_ACEOF
77016 #define HAVE_ATAN2F 1
77017 _ACEOF
77019 cat >>confdefs.h <<\_ACEOF
77020 #define HAVE_ATANF 1
77021 _ACEOF
77023 cat >>confdefs.h <<\_ACEOF
77024 #define HAVE_CEILF 1
77025 _ACEOF
77027 cat >>confdefs.h <<\_ACEOF
77028 #define HAVE_COPYSIGN 1
77029 _ACEOF
77031 cat >>confdefs.h <<\_ACEOF
77032 #define HAVE_COPYSIGNF 1
77033 _ACEOF
77035 cat >>confdefs.h <<\_ACEOF
77036 #define HAVE_COSF 1
77037 _ACEOF
77039 cat >>confdefs.h <<\_ACEOF
77040 #define HAVE_COSHF 1
77041 _ACEOF
77043 cat >>confdefs.h <<\_ACEOF
77044 #define HAVE_EXPF 1
77045 _ACEOF
77047 cat >>confdefs.h <<\_ACEOF
77048 #define HAVE_FABSF 1
77049 _ACEOF
77051 cat >>confdefs.h <<\_ACEOF
77052 #define HAVE_FLOORF 1
77053 _ACEOF
77055 cat >>confdefs.h <<\_ACEOF
77056 #define HAVE_FMODF 1
77057 _ACEOF
77059 cat >>confdefs.h <<\_ACEOF
77060 #define HAVE_FREXPF 1
77061 _ACEOF
77063 cat >>confdefs.h <<\_ACEOF
77064 #define HAVE_LDEXPF 1
77065 _ACEOF
77067 cat >>confdefs.h <<\_ACEOF
77068 #define HAVE_LOG10F 1
77069 _ACEOF
77071 cat >>confdefs.h <<\_ACEOF
77072 #define HAVE_LOGF 1
77073 _ACEOF
77075 cat >>confdefs.h <<\_ACEOF
77076 #define HAVE_MODFF 1
77077 _ACEOF
77079 cat >>confdefs.h <<\_ACEOF
77080 #define HAVE_POWF 1
77081 _ACEOF
77083 cat >>confdefs.h <<\_ACEOF
77084 #define HAVE_SINF 1
77085 _ACEOF
77087 cat >>confdefs.h <<\_ACEOF
77088 #define HAVE_SINHF 1
77089 _ACEOF
77091 cat >>confdefs.h <<\_ACEOF
77092 #define HAVE_SQRTF 1
77093 _ACEOF
77095 cat >>confdefs.h <<\_ACEOF
77096 #define HAVE_TANF 1
77097 _ACEOF
77099 cat >>confdefs.h <<\_ACEOF
77100 #define HAVE_TANHF 1
77101 _ACEOF
77103 if test x"long_double_math_on_this_cpu" = x"yes"; then
77104 cat >>confdefs.h <<\_ACEOF
77105 #define HAVE_FINITEL 1
77106 _ACEOF
77108 cat >>confdefs.h <<\_ACEOF
77109 #define HAVE_ISINFL 1
77110 _ACEOF
77112 cat >>confdefs.h <<\_ACEOF
77113 #define HAVE_ISNANL 1
77114 _ACEOF
77118 *-hpux*)
77131 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77132 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77133 fp.h locale.h float.h inttypes.h
77135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77137 echo "$as_me:$LINENO: checking for $ac_header" >&5
77138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77140 echo $ECHO_N "(cached) $ECHO_C" >&6
77142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77144 else
77145 # Is the header compilable?
77146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77148 cat >conftest.$ac_ext <<_ACEOF
77149 /* confdefs.h. */
77150 _ACEOF
77151 cat confdefs.h >>conftest.$ac_ext
77152 cat >>conftest.$ac_ext <<_ACEOF
77153 /* end confdefs.h. */
77154 $ac_includes_default
77155 #include <$ac_header>
77156 _ACEOF
77157 rm -f conftest.$ac_objext
77158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77159 (eval $ac_compile) 2>conftest.er1
77160 ac_status=$?
77161 grep -v '^ *+' conftest.er1 >conftest.err
77162 rm -f conftest.er1
77163 cat conftest.err >&5
77164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77165 (exit $ac_status); } &&
77166 { ac_try='test -z "$ac_c_werror_flag"
77167 || test ! -s conftest.err'
77168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77169 (eval $ac_try) 2>&5
77170 ac_status=$?
77171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77172 (exit $ac_status); }; } &&
77173 { ac_try='test -s conftest.$ac_objext'
77174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77175 (eval $ac_try) 2>&5
77176 ac_status=$?
77177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77178 (exit $ac_status); }; }; then
77179 ac_header_compiler=yes
77180 else
77181 echo "$as_me: failed program was:" >&5
77182 sed 's/^/| /' conftest.$ac_ext >&5
77184 ac_header_compiler=no
77186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77188 echo "${ECHO_T}$ac_header_compiler" >&6
77190 # Is the header present?
77191 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77193 cat >conftest.$ac_ext <<_ACEOF
77194 /* confdefs.h. */
77195 _ACEOF
77196 cat confdefs.h >>conftest.$ac_ext
77197 cat >>conftest.$ac_ext <<_ACEOF
77198 /* end confdefs.h. */
77199 #include <$ac_header>
77200 _ACEOF
77201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77202 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77203 ac_status=$?
77204 grep -v '^ *+' conftest.er1 >conftest.err
77205 rm -f conftest.er1
77206 cat conftest.err >&5
77207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77208 (exit $ac_status); } >/dev/null; then
77209 if test -s conftest.err; then
77210 ac_cpp_err=$ac_c_preproc_warn_flag
77211 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77212 else
77213 ac_cpp_err=
77215 else
77216 ac_cpp_err=yes
77218 if test -z "$ac_cpp_err"; then
77219 ac_header_preproc=yes
77220 else
77221 echo "$as_me: failed program was:" >&5
77222 sed 's/^/| /' conftest.$ac_ext >&5
77224 ac_header_preproc=no
77226 rm -f conftest.err conftest.$ac_ext
77227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77228 echo "${ECHO_T}$ac_header_preproc" >&6
77230 # So? What about this header?
77231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77232 yes:no: )
77233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77237 ac_header_preproc=yes
77239 no:yes:* )
77240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77247 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77253 cat <<\_ASBOX
77254 ## ----------------------------------------- ##
77255 ## Report this to the package-unused lists. ##
77256 ## ----------------------------------------- ##
77257 _ASBOX
77259 sed "s/^/$as_me: WARNING: /" >&2
77261 esac
77262 echo "$as_me:$LINENO: checking for $ac_header" >&5
77263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77265 echo $ECHO_N "(cached) $ECHO_C" >&6
77266 else
77267 eval "$as_ac_Header=\$ac_header_preproc"
77269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77274 cat >>confdefs.h <<_ACEOF
77275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77276 _ACEOF
77280 done
77282 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77285 # If we're not using GNU ld, then there's no point in even trying these
77286 # tests. Check for that first. We should have already tested for gld
77287 # by now (in libtool), but require it now just to be safe...
77288 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77289 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77293 # The name set by libtool depends on the version of libtool. Shame on us
77294 # for depending on an impl detail, but c'est la vie. Older versions used
77295 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77296 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77297 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77298 # set (hence we're using an older libtool), then set it.
77299 if test x${with_gnu_ld+set} != xset; then
77300 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77301 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77302 with_gnu_ld=no
77303 else
77304 with_gnu_ld=$ac_cv_prog_gnu_ld
77308 # Start by getting the version number. I think the libtool test already
77309 # does some of this, but throws away the result.
77310 echo "$as_me:$LINENO: checking for ld version" >&5
77311 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77313 ldver=`$LD --version 2>/dev/null | head -1 | \
77314 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77316 glibcxx_gnu_ld_version=`echo $ldver | \
77317 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77318 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77319 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77321 # Set --gc-sections.
77322 glibcxx_gcsections_min_ld=21602
77323 if test x"$with_gnu_ld" = x"yes" &&
77324 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77326 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
77327 # NB: This flag only works reliably after 2.16.1. Configure tests
77328 # for this are difficult, so hard wire a value that should work.
77330 # All these tests are for C++, but run with the "C" compiler driver.
77331 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
77332 ac_test_CFLAGS="${CFLAGS+set}"
77333 ac_save_CFLAGS="$CFLAGS"
77334 CFLAGS='-x c++ -Wl,--gc-sections'
77336 # Check for -Wl,--gc-sections
77337 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77338 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77339 if test x$gcc_no_link = xyes; then
77340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77342 { (exit 1); exit 1; }; }
77344 cat >conftest.$ac_ext <<_ACEOF
77345 /* confdefs.h. */
77346 _ACEOF
77347 cat confdefs.h >>conftest.$ac_ext
77348 cat >>conftest.$ac_ext <<_ACEOF
77349 /* end confdefs.h. */
77350 int one(void) { return 1; }
77351 int two(void) { return 2; }
77354 main ()
77356 two();
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 ac_gcsections=yes
77384 else
77385 echo "$as_me: failed program was:" >&5
77386 sed 's/^/| /' conftest.$ac_ext >&5
77388 ac_gcsections=no
77390 rm -f conftest.err conftest.$ac_objext \
77391 conftest$ac_exeext conftest.$ac_ext
77392 if test "$ac_gcsections" = "yes"; then
77393 rm -f conftest.c
77394 touch conftest.c
77395 if $CC -c conftest.c; then
77396 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77397 grep "Warning: gc-sections option ignored" > /dev/null; then
77398 ac_gcsections=no
77401 rm -f conftest.c conftest.o conftest
77403 if test "$ac_gcsections" = "yes"; then
77404 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77406 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77407 echo "${ECHO_T}$ac_gcsections" >&6
77409 if test "$ac_test_CFLAGS" = set; then
77410 CFLAGS="$ac_save_CFLAGS"
77411 else
77412 # this is the suspicious part
77413 CFLAGS=''
77417 # Set -z,relro.
77418 # Note this is only for shared objects.
77419 ac_ld_relro=no
77420 if test x"$with_gnu_ld" = x"yes"; then
77421 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77422 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77423 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77424 if test -n "$cxx_z_relo"; then
77425 OPT_LDFLAGS="-Wl,-z,relro"
77426 ac_ld_relro=yes
77428 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77429 echo "${ECHO_T}$ac_ld_relro" >&6
77432 # Set linker optimization flags.
77433 if test x"$with_gnu_ld" = x"yes"; then
77434 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77442 echo "$as_me:$LINENO: checking for main in -lm" >&5
77443 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77444 if test "${ac_cv_lib_m_main+set}" = set; then
77445 echo $ECHO_N "(cached) $ECHO_C" >&6
77446 else
77447 ac_check_lib_save_LIBS=$LIBS
77448 LIBS="-lm $LIBS"
77449 if test x$gcc_no_link = xyes; then
77450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77452 { (exit 1); exit 1; }; }
77454 cat >conftest.$ac_ext <<_ACEOF
77455 /* confdefs.h. */
77456 _ACEOF
77457 cat confdefs.h >>conftest.$ac_ext
77458 cat >>conftest.$ac_ext <<_ACEOF
77459 /* end confdefs.h. */
77463 main ()
77465 main ();
77467 return 0;
77469 _ACEOF
77470 rm -f conftest.$ac_objext conftest$ac_exeext
77471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77472 (eval $ac_link) 2>conftest.er1
77473 ac_status=$?
77474 grep -v '^ *+' conftest.er1 >conftest.err
77475 rm -f conftest.er1
77476 cat conftest.err >&5
77477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77478 (exit $ac_status); } &&
77479 { ac_try='test -z "$ac_c_werror_flag"
77480 || test ! -s conftest.err'
77481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77482 (eval $ac_try) 2>&5
77483 ac_status=$?
77484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77485 (exit $ac_status); }; } &&
77486 { ac_try='test -s conftest$ac_exeext'
77487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77488 (eval $ac_try) 2>&5
77489 ac_status=$?
77490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77491 (exit $ac_status); }; }; then
77492 ac_cv_lib_m_main=yes
77493 else
77494 echo "$as_me: failed program was:" >&5
77495 sed 's/^/| /' conftest.$ac_ext >&5
77497 ac_cv_lib_m_main=no
77499 rm -f conftest.err conftest.$ac_objext \
77500 conftest$ac_exeext conftest.$ac_ext
77501 LIBS=$ac_check_lib_save_LIBS
77503 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77504 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77505 if test $ac_cv_lib_m_main = yes; then
77506 cat >>confdefs.h <<_ACEOF
77507 #define HAVE_LIBM 1
77508 _ACEOF
77510 LIBS="-lm $LIBS"
77515 for ac_func in copysignf
77517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77518 echo "$as_me:$LINENO: checking for $ac_func" >&5
77519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77520 if eval "test \"\${$as_ac_var+set}\" = set"; then
77521 echo $ECHO_N "(cached) $ECHO_C" >&6
77522 else
77523 if test x$gcc_no_link = xyes; then
77524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77526 { (exit 1); exit 1; }; }
77528 cat >conftest.$ac_ext <<_ACEOF
77529 /* confdefs.h. */
77530 _ACEOF
77531 cat confdefs.h >>conftest.$ac_ext
77532 cat >>conftest.$ac_ext <<_ACEOF
77533 /* end confdefs.h. */
77534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77536 #define $ac_func innocuous_$ac_func
77538 /* System header to define __stub macros and hopefully few prototypes,
77539 which can conflict with char $ac_func (); below.
77540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77541 <limits.h> exists even on freestanding compilers. */
77543 #ifdef __STDC__
77544 # include <limits.h>
77545 #else
77546 # include <assert.h>
77547 #endif
77549 #undef $ac_func
77551 /* Override any gcc2 internal prototype to avoid an error. */
77552 #ifdef __cplusplus
77553 extern "C"
77555 #endif
77556 /* We use char because int might match the return type of a gcc2
77557 builtin and then its argument prototype would still apply. */
77558 char $ac_func ();
77559 /* The GNU C library defines this for functions which it implements
77560 to always fail with ENOSYS. Some functions are actually named
77561 something starting with __ and the normal name is an alias. */
77562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77563 choke me
77564 #else
77565 char (*f) () = $ac_func;
77566 #endif
77567 #ifdef __cplusplus
77569 #endif
77572 main ()
77574 return f != $ac_func;
77576 return 0;
77578 _ACEOF
77579 rm -f conftest.$ac_objext conftest$ac_exeext
77580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77581 (eval $ac_link) 2>conftest.er1
77582 ac_status=$?
77583 grep -v '^ *+' conftest.er1 >conftest.err
77584 rm -f conftest.er1
77585 cat conftest.err >&5
77586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77587 (exit $ac_status); } &&
77588 { ac_try='test -z "$ac_c_werror_flag"
77589 || test ! -s conftest.err'
77590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77591 (eval $ac_try) 2>&5
77592 ac_status=$?
77593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77594 (exit $ac_status); }; } &&
77595 { ac_try='test -s conftest$ac_exeext'
77596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77597 (eval $ac_try) 2>&5
77598 ac_status=$?
77599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77600 (exit $ac_status); }; }; then
77601 eval "$as_ac_var=yes"
77602 else
77603 echo "$as_me: failed program was:" >&5
77604 sed 's/^/| /' conftest.$ac_ext >&5
77606 eval "$as_ac_var=no"
77608 rm -f conftest.err conftest.$ac_objext \
77609 conftest$ac_exeext conftest.$ac_ext
77611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77613 if test `eval echo '${'$as_ac_var'}'` = yes; then
77614 cat >>confdefs.h <<_ACEOF
77615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77616 _ACEOF
77618 else
77619 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77621 done
77625 for ac_func in __signbit
77627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77628 echo "$as_me:$LINENO: checking for $ac_func" >&5
77629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77630 if eval "test \"\${$as_ac_var+set}\" = set"; then
77631 echo $ECHO_N "(cached) $ECHO_C" >&6
77632 else
77633 if test x$gcc_no_link = xyes; then
77634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77636 { (exit 1); exit 1; }; }
77638 cat >conftest.$ac_ext <<_ACEOF
77639 /* confdefs.h. */
77640 _ACEOF
77641 cat confdefs.h >>conftest.$ac_ext
77642 cat >>conftest.$ac_ext <<_ACEOF
77643 /* end confdefs.h. */
77644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77646 #define $ac_func innocuous_$ac_func
77648 /* System header to define __stub macros and hopefully few prototypes,
77649 which can conflict with char $ac_func (); below.
77650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77651 <limits.h> exists even on freestanding compilers. */
77653 #ifdef __STDC__
77654 # include <limits.h>
77655 #else
77656 # include <assert.h>
77657 #endif
77659 #undef $ac_func
77661 /* Override any gcc2 internal prototype to avoid an error. */
77662 #ifdef __cplusplus
77663 extern "C"
77665 #endif
77666 /* We use char because int might match the return type of a gcc2
77667 builtin and then its argument prototype would still apply. */
77668 char $ac_func ();
77669 /* The GNU C library defines this for functions which it implements
77670 to always fail with ENOSYS. Some functions are actually named
77671 something starting with __ and the normal name is an alias. */
77672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77673 choke me
77674 #else
77675 char (*f) () = $ac_func;
77676 #endif
77677 #ifdef __cplusplus
77679 #endif
77682 main ()
77684 return f != $ac_func;
77686 return 0;
77688 _ACEOF
77689 rm -f conftest.$ac_objext conftest$ac_exeext
77690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77691 (eval $ac_link) 2>conftest.er1
77692 ac_status=$?
77693 grep -v '^ *+' conftest.er1 >conftest.err
77694 rm -f conftest.er1
77695 cat conftest.err >&5
77696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77697 (exit $ac_status); } &&
77698 { ac_try='test -z "$ac_c_werror_flag"
77699 || test ! -s conftest.err'
77700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77701 (eval $ac_try) 2>&5
77702 ac_status=$?
77703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77704 (exit $ac_status); }; } &&
77705 { ac_try='test -s conftest$ac_exeext'
77706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77707 (eval $ac_try) 2>&5
77708 ac_status=$?
77709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77710 (exit $ac_status); }; }; then
77711 eval "$as_ac_var=yes"
77712 else
77713 echo "$as_me: failed program was:" >&5
77714 sed 's/^/| /' conftest.$ac_ext >&5
77716 eval "$as_ac_var=no"
77718 rm -f conftest.err conftest.$ac_objext \
77719 conftest$ac_exeext conftest.$ac_ext
77721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77723 if test `eval echo '${'$as_ac_var'}'` = yes; then
77724 cat >>confdefs.h <<_ACEOF
77725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77726 _ACEOF
77728 else
77729 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77731 done
77735 for ac_func in __signbitf
77737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77738 echo "$as_me:$LINENO: checking for $ac_func" >&5
77739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77740 if eval "test \"\${$as_ac_var+set}\" = set"; then
77741 echo $ECHO_N "(cached) $ECHO_C" >&6
77742 else
77743 if test x$gcc_no_link = xyes; then
77744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77746 { (exit 1); exit 1; }; }
77748 cat >conftest.$ac_ext <<_ACEOF
77749 /* confdefs.h. */
77750 _ACEOF
77751 cat confdefs.h >>conftest.$ac_ext
77752 cat >>conftest.$ac_ext <<_ACEOF
77753 /* end confdefs.h. */
77754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77756 #define $ac_func innocuous_$ac_func
77758 /* System header to define __stub macros and hopefully few prototypes,
77759 which can conflict with char $ac_func (); below.
77760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77761 <limits.h> exists even on freestanding compilers. */
77763 #ifdef __STDC__
77764 # include <limits.h>
77765 #else
77766 # include <assert.h>
77767 #endif
77769 #undef $ac_func
77771 /* Override any gcc2 internal prototype to avoid an error. */
77772 #ifdef __cplusplus
77773 extern "C"
77775 #endif
77776 /* We use char because int might match the return type of a gcc2
77777 builtin and then its argument prototype would still apply. */
77778 char $ac_func ();
77779 /* The GNU C library defines this for functions which it implements
77780 to always fail with ENOSYS. Some functions are actually named
77781 something starting with __ and the normal name is an alias. */
77782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77783 choke me
77784 #else
77785 char (*f) () = $ac_func;
77786 #endif
77787 #ifdef __cplusplus
77789 #endif
77792 main ()
77794 return f != $ac_func;
77796 return 0;
77798 _ACEOF
77799 rm -f conftest.$ac_objext conftest$ac_exeext
77800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77801 (eval $ac_link) 2>conftest.er1
77802 ac_status=$?
77803 grep -v '^ *+' conftest.er1 >conftest.err
77804 rm -f conftest.er1
77805 cat conftest.err >&5
77806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77807 (exit $ac_status); } &&
77808 { ac_try='test -z "$ac_c_werror_flag"
77809 || test ! -s conftest.err'
77810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77811 (eval $ac_try) 2>&5
77812 ac_status=$?
77813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77814 (exit $ac_status); }; } &&
77815 { ac_try='test -s conftest$ac_exeext'
77816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77817 (eval $ac_try) 2>&5
77818 ac_status=$?
77819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77820 (exit $ac_status); }; }; then
77821 eval "$as_ac_var=yes"
77822 else
77823 echo "$as_me: failed program was:" >&5
77824 sed 's/^/| /' conftest.$ac_ext >&5
77826 eval "$as_ac_var=no"
77828 rm -f conftest.err conftest.$ac_objext \
77829 conftest$ac_exeext conftest.$ac_ext
77831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77833 if test `eval echo '${'$as_ac_var'}'` = yes; then
77834 cat >>confdefs.h <<_ACEOF
77835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77836 _ACEOF
77838 else
77839 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77841 done
77844 if test x$ac_cv_func_copysignl = x"yes"; then
77846 for ac_func in __signbitl
77848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77849 echo "$as_me:$LINENO: checking for $ac_func" >&5
77850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77851 if eval "test \"\${$as_ac_var+set}\" = set"; then
77852 echo $ECHO_N "(cached) $ECHO_C" >&6
77853 else
77854 if test x$gcc_no_link = xyes; then
77855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77857 { (exit 1); exit 1; }; }
77859 cat >conftest.$ac_ext <<_ACEOF
77860 /* confdefs.h. */
77861 _ACEOF
77862 cat confdefs.h >>conftest.$ac_ext
77863 cat >>conftest.$ac_ext <<_ACEOF
77864 /* end confdefs.h. */
77865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77867 #define $ac_func innocuous_$ac_func
77869 /* System header to define __stub macros and hopefully few prototypes,
77870 which can conflict with char $ac_func (); below.
77871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77872 <limits.h> exists even on freestanding compilers. */
77874 #ifdef __STDC__
77875 # include <limits.h>
77876 #else
77877 # include <assert.h>
77878 #endif
77880 #undef $ac_func
77882 /* Override any gcc2 internal prototype to avoid an error. */
77883 #ifdef __cplusplus
77884 extern "C"
77886 #endif
77887 /* We use char because int might match the return type of a gcc2
77888 builtin and then its argument prototype would still apply. */
77889 char $ac_func ();
77890 /* The GNU C library defines this for functions which it implements
77891 to always fail with ENOSYS. Some functions are actually named
77892 something starting with __ and the normal name is an alias. */
77893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77894 choke me
77895 #else
77896 char (*f) () = $ac_func;
77897 #endif
77898 #ifdef __cplusplus
77900 #endif
77903 main ()
77905 return f != $ac_func;
77907 return 0;
77909 _ACEOF
77910 rm -f conftest.$ac_objext conftest$ac_exeext
77911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77912 (eval $ac_link) 2>conftest.er1
77913 ac_status=$?
77914 grep -v '^ *+' conftest.er1 >conftest.err
77915 rm -f conftest.er1
77916 cat conftest.err >&5
77917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77918 (exit $ac_status); } &&
77919 { ac_try='test -z "$ac_c_werror_flag"
77920 || test ! -s conftest.err'
77921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77922 (eval $ac_try) 2>&5
77923 ac_status=$?
77924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77925 (exit $ac_status); }; } &&
77926 { ac_try='test -s conftest$ac_exeext'
77927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77928 (eval $ac_try) 2>&5
77929 ac_status=$?
77930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77931 (exit $ac_status); }; }; then
77932 eval "$as_ac_var=yes"
77933 else
77934 echo "$as_me: failed program was:" >&5
77935 sed 's/^/| /' conftest.$ac_ext >&5
77937 eval "$as_ac_var=no"
77939 rm -f conftest.err conftest.$ac_objext \
77940 conftest$ac_exeext conftest.$ac_ext
77942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77944 if test `eval echo '${'$as_ac_var'}'` = yes; then
77945 cat >>confdefs.h <<_ACEOF
77946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77947 _ACEOF
77949 else
77950 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77952 done
77956 # Used in libmath/Makefile.am.
77957 if test -n "$LIBMATHOBJS"; then
77958 need_libmath=yes
77964 enable_iconv=no
77965 # Only continue checking if the ISO C99 headers exist and support is on.
77966 if test x"$enable_wchar_t" = xyes; then
77968 # Use iconv for wchar_t to char conversions. As such, check for
77969 # X/Open Portability Guide, version 2 features (XPG2).
77970 if test "${ac_cv_header_iconv_h+set}" = set; then
77971 echo "$as_me:$LINENO: checking for iconv.h" >&5
77972 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77973 if test "${ac_cv_header_iconv_h+set}" = set; then
77974 echo $ECHO_N "(cached) $ECHO_C" >&6
77976 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77977 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77978 else
77979 # Is the header compilable?
77980 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77981 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77982 cat >conftest.$ac_ext <<_ACEOF
77983 /* confdefs.h. */
77984 _ACEOF
77985 cat confdefs.h >>conftest.$ac_ext
77986 cat >>conftest.$ac_ext <<_ACEOF
77987 /* end confdefs.h. */
77988 $ac_includes_default
77989 #include <iconv.h>
77990 _ACEOF
77991 rm -f conftest.$ac_objext
77992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77993 (eval $ac_compile) 2>conftest.er1
77994 ac_status=$?
77995 grep -v '^ *+' conftest.er1 >conftest.err
77996 rm -f conftest.er1
77997 cat conftest.err >&5
77998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77999 (exit $ac_status); } &&
78000 { ac_try='test -z "$ac_c_werror_flag"
78001 || test ! -s conftest.err'
78002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78003 (eval $ac_try) 2>&5
78004 ac_status=$?
78005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78006 (exit $ac_status); }; } &&
78007 { ac_try='test -s conftest.$ac_objext'
78008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78009 (eval $ac_try) 2>&5
78010 ac_status=$?
78011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78012 (exit $ac_status); }; }; then
78013 ac_header_compiler=yes
78014 else
78015 echo "$as_me: failed program was:" >&5
78016 sed 's/^/| /' conftest.$ac_ext >&5
78018 ac_header_compiler=no
78020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78022 echo "${ECHO_T}$ac_header_compiler" >&6
78024 # Is the header present?
78025 echo "$as_me:$LINENO: checking iconv.h presence" >&5
78026 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
78027 cat >conftest.$ac_ext <<_ACEOF
78028 /* confdefs.h. */
78029 _ACEOF
78030 cat confdefs.h >>conftest.$ac_ext
78031 cat >>conftest.$ac_ext <<_ACEOF
78032 /* end confdefs.h. */
78033 #include <iconv.h>
78034 _ACEOF
78035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78036 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78037 ac_status=$?
78038 grep -v '^ *+' conftest.er1 >conftest.err
78039 rm -f conftest.er1
78040 cat conftest.err >&5
78041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78042 (exit $ac_status); } >/dev/null; then
78043 if test -s conftest.err; then
78044 ac_cpp_err=$ac_c_preproc_warn_flag
78045 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78046 else
78047 ac_cpp_err=
78049 else
78050 ac_cpp_err=yes
78052 if test -z "$ac_cpp_err"; then
78053 ac_header_preproc=yes
78054 else
78055 echo "$as_me: failed program was:" >&5
78056 sed 's/^/| /' conftest.$ac_ext >&5
78058 ac_header_preproc=no
78060 rm -f conftest.err conftest.$ac_ext
78061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78062 echo "${ECHO_T}$ac_header_preproc" >&6
78064 # So? What about this header?
78065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78066 yes:no: )
78067 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
78068 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78069 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
78070 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
78071 ac_header_preproc=yes
78073 no:yes:* )
78074 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
78075 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
78076 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
78077 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
78078 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
78079 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
78080 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
78081 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
78082 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
78083 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
78084 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
78085 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
78087 cat <<\_ASBOX
78088 ## ----------------------------------------- ##
78089 ## Report this to the package-unused lists. ##
78090 ## ----------------------------------------- ##
78091 _ASBOX
78093 sed "s/^/$as_me: WARNING: /" >&2
78095 esac
78096 echo "$as_me:$LINENO: checking for iconv.h" >&5
78097 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78098 if test "${ac_cv_header_iconv_h+set}" = set; then
78099 echo $ECHO_N "(cached) $ECHO_C" >&6
78100 else
78101 ac_cv_header_iconv_h=$ac_header_preproc
78103 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78104 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78107 if test $ac_cv_header_iconv_h = yes; then
78108 ac_has_iconv_h=yes
78109 else
78110 ac_has_iconv_h=no
78114 if test "${ac_cv_header_langinfo_h+set}" = set; then
78115 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78116 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78117 if test "${ac_cv_header_langinfo_h+set}" = set; then
78118 echo $ECHO_N "(cached) $ECHO_C" >&6
78120 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78121 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78122 else
78123 # Is the header compilable?
78124 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
78125 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
78126 cat >conftest.$ac_ext <<_ACEOF
78127 /* confdefs.h. */
78128 _ACEOF
78129 cat confdefs.h >>conftest.$ac_ext
78130 cat >>conftest.$ac_ext <<_ACEOF
78131 /* end confdefs.h. */
78132 $ac_includes_default
78133 #include <langinfo.h>
78134 _ACEOF
78135 rm -f conftest.$ac_objext
78136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78137 (eval $ac_compile) 2>conftest.er1
78138 ac_status=$?
78139 grep -v '^ *+' conftest.er1 >conftest.err
78140 rm -f conftest.er1
78141 cat conftest.err >&5
78142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78143 (exit $ac_status); } &&
78144 { ac_try='test -z "$ac_c_werror_flag"
78145 || test ! -s conftest.err'
78146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78147 (eval $ac_try) 2>&5
78148 ac_status=$?
78149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78150 (exit $ac_status); }; } &&
78151 { ac_try='test -s conftest.$ac_objext'
78152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78153 (eval $ac_try) 2>&5
78154 ac_status=$?
78155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78156 (exit $ac_status); }; }; then
78157 ac_header_compiler=yes
78158 else
78159 echo "$as_me: failed program was:" >&5
78160 sed 's/^/| /' conftest.$ac_ext >&5
78162 ac_header_compiler=no
78164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78166 echo "${ECHO_T}$ac_header_compiler" >&6
78168 # Is the header present?
78169 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78170 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78171 cat >conftest.$ac_ext <<_ACEOF
78172 /* confdefs.h. */
78173 _ACEOF
78174 cat confdefs.h >>conftest.$ac_ext
78175 cat >>conftest.$ac_ext <<_ACEOF
78176 /* end confdefs.h. */
78177 #include <langinfo.h>
78178 _ACEOF
78179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78180 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78181 ac_status=$?
78182 grep -v '^ *+' conftest.er1 >conftest.err
78183 rm -f conftest.er1
78184 cat conftest.err >&5
78185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78186 (exit $ac_status); } >/dev/null; then
78187 if test -s conftest.err; then
78188 ac_cpp_err=$ac_c_preproc_warn_flag
78189 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78190 else
78191 ac_cpp_err=
78193 else
78194 ac_cpp_err=yes
78196 if test -z "$ac_cpp_err"; then
78197 ac_header_preproc=yes
78198 else
78199 echo "$as_me: failed program was:" >&5
78200 sed 's/^/| /' conftest.$ac_ext >&5
78202 ac_header_preproc=no
78204 rm -f conftest.err conftest.$ac_ext
78205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78206 echo "${ECHO_T}$ac_header_preproc" >&6
78208 # So? What about this header?
78209 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78210 yes:no: )
78211 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78212 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78213 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78214 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78215 ac_header_preproc=yes
78217 no:yes:* )
78218 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78219 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78220 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78221 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78222 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78223 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78224 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78225 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78226 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78227 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78228 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78229 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78231 cat <<\_ASBOX
78232 ## ----------------------------------------- ##
78233 ## Report this to the package-unused lists. ##
78234 ## ----------------------------------------- ##
78235 _ASBOX
78237 sed "s/^/$as_me: WARNING: /" >&2
78239 esac
78240 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78241 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78242 if test "${ac_cv_header_langinfo_h+set}" = set; then
78243 echo $ECHO_N "(cached) $ECHO_C" >&6
78244 else
78245 ac_cv_header_langinfo_h=$ac_header_preproc
78247 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78248 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78251 if test $ac_cv_header_langinfo_h = yes; then
78252 ac_has_langinfo_h=yes
78253 else
78254 ac_has_langinfo_h=no
78259 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78260 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78261 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78262 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78263 echo $ECHO_N "(cached) $ECHO_C" >&6
78264 else
78265 ac_check_lib_save_LIBS=$LIBS
78266 LIBS="-liconv $LIBS"
78267 if test x$gcc_no_link = xyes; then
78268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78270 { (exit 1); exit 1; }; }
78272 cat >conftest.$ac_ext <<_ACEOF
78273 /* confdefs.h. */
78274 _ACEOF
78275 cat confdefs.h >>conftest.$ac_ext
78276 cat >>conftest.$ac_ext <<_ACEOF
78277 /* end confdefs.h. */
78279 /* Override any gcc2 internal prototype to avoid an error. */
78280 #ifdef __cplusplus
78281 extern "C"
78282 #endif
78283 /* We use char because int might match the return type of a gcc2
78284 builtin and then its argument prototype would still apply. */
78285 char iconv ();
78287 main ()
78289 iconv ();
78291 return 0;
78293 _ACEOF
78294 rm -f conftest.$ac_objext conftest$ac_exeext
78295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78296 (eval $ac_link) 2>conftest.er1
78297 ac_status=$?
78298 grep -v '^ *+' conftest.er1 >conftest.err
78299 rm -f conftest.er1
78300 cat conftest.err >&5
78301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78302 (exit $ac_status); } &&
78303 { ac_try='test -z "$ac_c_werror_flag"
78304 || test ! -s conftest.err'
78305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78306 (eval $ac_try) 2>&5
78307 ac_status=$?
78308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78309 (exit $ac_status); }; } &&
78310 { ac_try='test -s conftest$ac_exeext'
78311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78312 (eval $ac_try) 2>&5
78313 ac_status=$?
78314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78315 (exit $ac_status); }; }; then
78316 ac_cv_lib_iconv_iconv=yes
78317 else
78318 echo "$as_me: failed program was:" >&5
78319 sed 's/^/| /' conftest.$ac_ext >&5
78321 ac_cv_lib_iconv_iconv=no
78323 rm -f conftest.err conftest.$ac_objext \
78324 conftest$ac_exeext conftest.$ac_ext
78325 LIBS=$ac_check_lib_save_LIBS
78327 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78328 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78329 if test $ac_cv_lib_iconv_iconv = yes; then
78330 LIBICONV="-liconv"
78333 ac_save_LIBS="$LIBS"
78334 LIBS="$LIBS $LIBICONV"
78341 for ac_func in iconv_open iconv_close iconv nl_langinfo
78343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78344 echo "$as_me:$LINENO: checking for $ac_func" >&5
78345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78346 if eval "test \"\${$as_ac_var+set}\" = set"; then
78347 echo $ECHO_N "(cached) $ECHO_C" >&6
78348 else
78349 if test x$gcc_no_link = xyes; then
78350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78352 { (exit 1); exit 1; }; }
78354 cat >conftest.$ac_ext <<_ACEOF
78355 /* confdefs.h. */
78356 _ACEOF
78357 cat confdefs.h >>conftest.$ac_ext
78358 cat >>conftest.$ac_ext <<_ACEOF
78359 /* end confdefs.h. */
78360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78362 #define $ac_func innocuous_$ac_func
78364 /* System header to define __stub macros and hopefully few prototypes,
78365 which can conflict with char $ac_func (); below.
78366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78367 <limits.h> exists even on freestanding compilers. */
78369 #ifdef __STDC__
78370 # include <limits.h>
78371 #else
78372 # include <assert.h>
78373 #endif
78375 #undef $ac_func
78377 /* Override any gcc2 internal prototype to avoid an error. */
78378 #ifdef __cplusplus
78379 extern "C"
78381 #endif
78382 /* We use char because int might match the return type of a gcc2
78383 builtin and then its argument prototype would still apply. */
78384 char $ac_func ();
78385 /* The GNU C library defines this for functions which it implements
78386 to always fail with ENOSYS. Some functions are actually named
78387 something starting with __ and the normal name is an alias. */
78388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78389 choke me
78390 #else
78391 char (*f) () = $ac_func;
78392 #endif
78393 #ifdef __cplusplus
78395 #endif
78398 main ()
78400 return f != $ac_func;
78402 return 0;
78404 _ACEOF
78405 rm -f conftest.$ac_objext conftest$ac_exeext
78406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78407 (eval $ac_link) 2>conftest.er1
78408 ac_status=$?
78409 grep -v '^ *+' conftest.er1 >conftest.err
78410 rm -f conftest.er1
78411 cat conftest.err >&5
78412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78413 (exit $ac_status); } &&
78414 { ac_try='test -z "$ac_c_werror_flag"
78415 || test ! -s conftest.err'
78416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78417 (eval $ac_try) 2>&5
78418 ac_status=$?
78419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78420 (exit $ac_status); }; } &&
78421 { ac_try='test -s conftest$ac_exeext'
78422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78423 (eval $ac_try) 2>&5
78424 ac_status=$?
78425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78426 (exit $ac_status); }; }; then
78427 eval "$as_ac_var=yes"
78428 else
78429 echo "$as_me: failed program was:" >&5
78430 sed 's/^/| /' conftest.$ac_ext >&5
78432 eval "$as_ac_var=no"
78434 rm -f conftest.err conftest.$ac_objext \
78435 conftest$ac_exeext conftest.$ac_ext
78437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78439 if test `eval echo '${'$as_ac_var'}'` = yes; then
78440 cat >>confdefs.h <<_ACEOF
78441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78442 _ACEOF
78443 ac_XPG2funcs=yes
78444 else
78445 ac_XPG2funcs=no
78447 done
78450 LIBS="$ac_save_LIBS"
78452 if test x"$ac_has_iconv_h" = xyes &&
78453 test x"$ac_has_langinfo_h" = xyes &&
78454 test x"$ac_XPG2funcs" = xyes;
78455 then
78457 cat >>confdefs.h <<\_ACEOF
78458 #define _GLIBCXX_USE_ICONV 1
78459 _ACEOF
78461 enable_iconv=yes
78464 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78465 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78466 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78467 echo "${ECHO_T}$enable_iconv" >&6
78469 cat >>confdefs.h <<\_ACEOF
78470 #define HAVE_COPYSIGN 1
78471 _ACEOF
78473 cat >>confdefs.h <<\_ACEOF
78474 #define HAVE_COPYSIGNF 1
78475 _ACEOF
78477 cat >>confdefs.h <<\_ACEOF
78478 #define HAVE_FREXPF 1
78479 _ACEOF
78481 cat >>confdefs.h <<\_ACEOF
78482 #define HAVE_HYPOT 1
78483 _ACEOF
78485 case "$target" in
78486 *-hpux10*)
78487 cat >>confdefs.h <<\_ACEOF
78488 #define HAVE_FINITE 1
78489 _ACEOF
78491 cat >>confdefs.h <<\_ACEOF
78492 #define HAVE_FINITEF 1
78493 _ACEOF
78495 cat >>confdefs.h <<\_ACEOF
78496 #define HAVE_ISINF 1
78497 _ACEOF
78499 cat >>confdefs.h <<\_ACEOF
78500 #define HAVE_ISINFF 1
78501 _ACEOF
78503 cat >>confdefs.h <<\_ACEOF
78504 #define HAVE_ISNAN 1
78505 _ACEOF
78507 cat >>confdefs.h <<\_ACEOF
78508 #define HAVE_ISNANF 1
78509 _ACEOF
78512 esac
78514 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
78530 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78531 machine/endian.h machine/param.h sys/machine.h sys/types.h \
78532 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
78534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78536 echo "$as_me:$LINENO: checking for $ac_header" >&5
78537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78539 echo $ECHO_N "(cached) $ECHO_C" >&6
78541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78543 else
78544 # Is the header compilable?
78545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78547 cat >conftest.$ac_ext <<_ACEOF
78548 /* confdefs.h. */
78549 _ACEOF
78550 cat confdefs.h >>conftest.$ac_ext
78551 cat >>conftest.$ac_ext <<_ACEOF
78552 /* end confdefs.h. */
78553 $ac_includes_default
78554 #include <$ac_header>
78555 _ACEOF
78556 rm -f conftest.$ac_objext
78557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78558 (eval $ac_compile) 2>conftest.er1
78559 ac_status=$?
78560 grep -v '^ *+' conftest.er1 >conftest.err
78561 rm -f conftest.er1
78562 cat conftest.err >&5
78563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78564 (exit $ac_status); } &&
78565 { ac_try='test -z "$ac_c_werror_flag"
78566 || test ! -s conftest.err'
78567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78568 (eval $ac_try) 2>&5
78569 ac_status=$?
78570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78571 (exit $ac_status); }; } &&
78572 { ac_try='test -s conftest.$ac_objext'
78573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78574 (eval $ac_try) 2>&5
78575 ac_status=$?
78576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78577 (exit $ac_status); }; }; then
78578 ac_header_compiler=yes
78579 else
78580 echo "$as_me: failed program was:" >&5
78581 sed 's/^/| /' conftest.$ac_ext >&5
78583 ac_header_compiler=no
78585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78587 echo "${ECHO_T}$ac_header_compiler" >&6
78589 # Is the header present?
78590 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78591 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78592 cat >conftest.$ac_ext <<_ACEOF
78593 /* confdefs.h. */
78594 _ACEOF
78595 cat confdefs.h >>conftest.$ac_ext
78596 cat >>conftest.$ac_ext <<_ACEOF
78597 /* end confdefs.h. */
78598 #include <$ac_header>
78599 _ACEOF
78600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78601 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78602 ac_status=$?
78603 grep -v '^ *+' conftest.er1 >conftest.err
78604 rm -f conftest.er1
78605 cat conftest.err >&5
78606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78607 (exit $ac_status); } >/dev/null; then
78608 if test -s conftest.err; then
78609 ac_cpp_err=$ac_c_preproc_warn_flag
78610 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78611 else
78612 ac_cpp_err=
78614 else
78615 ac_cpp_err=yes
78617 if test -z "$ac_cpp_err"; then
78618 ac_header_preproc=yes
78619 else
78620 echo "$as_me: failed program was:" >&5
78621 sed 's/^/| /' conftest.$ac_ext >&5
78623 ac_header_preproc=no
78625 rm -f conftest.err conftest.$ac_ext
78626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78627 echo "${ECHO_T}$ac_header_preproc" >&6
78629 # So? What about this header?
78630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78631 yes:no: )
78632 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78633 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78635 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78636 ac_header_preproc=yes
78638 no:yes:* )
78639 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78640 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78641 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78642 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78643 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78644 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78645 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78646 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78649 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78650 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78652 cat <<\_ASBOX
78653 ## ----------------------------------------- ##
78654 ## Report this to the package-unused lists. ##
78655 ## ----------------------------------------- ##
78656 _ASBOX
78658 sed "s/^/$as_me: WARNING: /" >&2
78660 esac
78661 echo "$as_me:$LINENO: checking for $ac_header" >&5
78662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78664 echo $ECHO_N "(cached) $ECHO_C" >&6
78665 else
78666 eval "$as_ac_Header=\$ac_header_preproc"
78668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78673 cat >>confdefs.h <<_ACEOF
78674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78675 _ACEOF
78679 done
78681 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78684 # All these tests are for C++; save the language and the compiler flags.
78685 # The CXXFLAGS thing is suspicious, but based on similar bits previously
78686 # found in GLIBCXX_CONFIGURE.
78689 ac_ext=cc
78690 ac_cpp='$CXXCPP $CPPFLAGS'
78691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78695 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78696 ac_save_CXXFLAGS="$CXXFLAGS"
78698 # Check for maintainer-mode bits.
78699 if test x"$USE_MAINTAINER_MODE" = xno; then
78700 WERROR=''
78701 else
78702 WERROR='-Werror'
78705 # Check for -ffunction-sections -fdata-sections
78706 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
78707 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
78708 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
78709 cat >conftest.$ac_ext <<_ACEOF
78710 /* confdefs.h. */
78711 _ACEOF
78712 cat confdefs.h >>conftest.$ac_ext
78713 cat >>conftest.$ac_ext <<_ACEOF
78714 /* end confdefs.h. */
78717 main ()
78719 int foo;
78721 return 0;
78723 _ACEOF
78724 rm -f conftest.$ac_objext
78725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78726 (eval $ac_compile) 2>conftest.er1
78727 ac_status=$?
78728 grep -v '^ *+' conftest.er1 >conftest.err
78729 rm -f conftest.er1
78730 cat conftest.err >&5
78731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78732 (exit $ac_status); } &&
78733 { ac_try='test -z "$ac_cxx_werror_flag"
78734 || test ! -s conftest.err'
78735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78736 (eval $ac_try) 2>&5
78737 ac_status=$?
78738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78739 (exit $ac_status); }; } &&
78740 { ac_try='test -s conftest.$ac_objext'
78741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78742 (eval $ac_try) 2>&5
78743 ac_status=$?
78744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78745 (exit $ac_status); }; }; then
78746 ac_fdsections=yes
78747 else
78748 echo "$as_me: failed program was:" >&5
78749 sed 's/^/| /' conftest.$ac_ext >&5
78751 ac_fdsections=no
78753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78754 if test "$ac_test_CXXFLAGS" = set; then
78755 CXXFLAGS="$ac_save_CXXFLAGS"
78756 else
78757 # this is the suspicious part
78758 CXXFLAGS=''
78760 if test x"$ac_fdsections" = x"yes"; then
78761 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78763 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
78764 echo "${ECHO_T}$ac_fdsections" >&6
78766 ac_ext=c
78767 ac_cpp='$CPP $CPPFLAGS'
78768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78776 # If we're not using GNU ld, then there's no point in even trying these
78777 # tests. Check for that first. We should have already tested for gld
78778 # by now (in libtool), but require it now just to be safe...
78779 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78780 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78784 # The name set by libtool depends on the version of libtool. Shame on us
78785 # for depending on an impl detail, but c'est la vie. Older versions used
78786 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78787 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78788 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78789 # set (hence we're using an older libtool), then set it.
78790 if test x${with_gnu_ld+set} != xset; then
78791 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78792 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78793 with_gnu_ld=no
78794 else
78795 with_gnu_ld=$ac_cv_prog_gnu_ld
78799 # Start by getting the version number. I think the libtool test already
78800 # does some of this, but throws away the result.
78801 echo "$as_me:$LINENO: checking for ld version" >&5
78802 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78804 ldver=`$LD --version 2>/dev/null | head -1 | \
78805 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
78807 glibcxx_gnu_ld_version=`echo $ldver | \
78808 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78809 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78810 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78812 # Set --gc-sections.
78813 glibcxx_gcsections_min_ld=21602
78814 if test x"$with_gnu_ld" = x"yes" &&
78815 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78817 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
78818 # NB: This flag only works reliably after 2.16.1. Configure tests
78819 # for this are difficult, so hard wire a value that should work.
78821 # All these tests are for C++, but run with the "C" compiler driver.
78822 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
78823 ac_test_CFLAGS="${CFLAGS+set}"
78824 ac_save_CFLAGS="$CFLAGS"
78825 CFLAGS='-x c++ -Wl,--gc-sections'
78827 # Check for -Wl,--gc-sections
78828 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78829 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78830 if test x$gcc_no_link = xyes; then
78831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78833 { (exit 1); exit 1; }; }
78835 cat >conftest.$ac_ext <<_ACEOF
78836 /* confdefs.h. */
78837 _ACEOF
78838 cat confdefs.h >>conftest.$ac_ext
78839 cat >>conftest.$ac_ext <<_ACEOF
78840 /* end confdefs.h. */
78841 int one(void) { return 1; }
78842 int two(void) { return 2; }
78845 main ()
78847 two();
78849 return 0;
78851 _ACEOF
78852 rm -f conftest.$ac_objext conftest$ac_exeext
78853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78854 (eval $ac_link) 2>conftest.er1
78855 ac_status=$?
78856 grep -v '^ *+' conftest.er1 >conftest.err
78857 rm -f conftest.er1
78858 cat conftest.err >&5
78859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78860 (exit $ac_status); } &&
78861 { ac_try='test -z "$ac_c_werror_flag"
78862 || test ! -s conftest.err'
78863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78864 (eval $ac_try) 2>&5
78865 ac_status=$?
78866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78867 (exit $ac_status); }; } &&
78868 { ac_try='test -s conftest$ac_exeext'
78869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78870 (eval $ac_try) 2>&5
78871 ac_status=$?
78872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78873 (exit $ac_status); }; }; then
78874 ac_gcsections=yes
78875 else
78876 echo "$as_me: failed program was:" >&5
78877 sed 's/^/| /' conftest.$ac_ext >&5
78879 ac_gcsections=no
78881 rm -f conftest.err conftest.$ac_objext \
78882 conftest$ac_exeext conftest.$ac_ext
78883 if test "$ac_gcsections" = "yes"; then
78884 rm -f conftest.c
78885 touch conftest.c
78886 if $CC -c conftest.c; then
78887 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78888 grep "Warning: gc-sections option ignored" > /dev/null; then
78889 ac_gcsections=no
78892 rm -f conftest.c conftest.o conftest
78894 if test "$ac_gcsections" = "yes"; then
78895 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78897 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78898 echo "${ECHO_T}$ac_gcsections" >&6
78900 if test "$ac_test_CFLAGS" = set; then
78901 CFLAGS="$ac_save_CFLAGS"
78902 else
78903 # this is the suspicious part
78904 CFLAGS=''
78908 # Set -z,relro.
78909 # Note this is only for shared objects.
78910 ac_ld_relro=no
78911 if test x"$with_gnu_ld" = x"yes"; then
78912 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78913 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78914 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78915 if test -n "$cxx_z_relo"; then
78916 OPT_LDFLAGS="-Wl,-z,relro"
78917 ac_ld_relro=yes
78919 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78920 echo "${ECHO_T}$ac_ld_relro" >&6
78923 # Set linker optimization flags.
78924 if test x"$with_gnu_ld" = x"yes"; then
78925 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78932 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78933 ac_save_CXXFLAGS="$CXXFLAGS"
78934 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78936 echo "$as_me:$LINENO: checking for sin in -lm" >&5
78937 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
78938 if test "${ac_cv_lib_m_sin+set}" = set; then
78939 echo $ECHO_N "(cached) $ECHO_C" >&6
78940 else
78941 ac_check_lib_save_LIBS=$LIBS
78942 LIBS="-lm $LIBS"
78943 if test x$gcc_no_link = xyes; then
78944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78946 { (exit 1); exit 1; }; }
78948 cat >conftest.$ac_ext <<_ACEOF
78949 /* confdefs.h. */
78950 _ACEOF
78951 cat confdefs.h >>conftest.$ac_ext
78952 cat >>conftest.$ac_ext <<_ACEOF
78953 /* end confdefs.h. */
78955 /* Override any gcc2 internal prototype to avoid an error. */
78956 #ifdef __cplusplus
78957 extern "C"
78958 #endif
78959 /* We use char because int might match the return type of a gcc2
78960 builtin and then its argument prototype would still apply. */
78961 char sin ();
78963 main ()
78965 sin ();
78967 return 0;
78969 _ACEOF
78970 rm -f conftest.$ac_objext conftest$ac_exeext
78971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78972 (eval $ac_link) 2>conftest.er1
78973 ac_status=$?
78974 grep -v '^ *+' conftest.er1 >conftest.err
78975 rm -f conftest.er1
78976 cat conftest.err >&5
78977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78978 (exit $ac_status); } &&
78979 { ac_try='test -z "$ac_c_werror_flag"
78980 || test ! -s conftest.err'
78981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78982 (eval $ac_try) 2>&5
78983 ac_status=$?
78984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78985 (exit $ac_status); }; } &&
78986 { ac_try='test -s conftest$ac_exeext'
78987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78988 (eval $ac_try) 2>&5
78989 ac_status=$?
78990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78991 (exit $ac_status); }; }; then
78992 ac_cv_lib_m_sin=yes
78993 else
78994 echo "$as_me: failed program was:" >&5
78995 sed 's/^/| /' conftest.$ac_ext >&5
78997 ac_cv_lib_m_sin=no
78999 rm -f conftest.err conftest.$ac_objext \
79000 conftest$ac_exeext conftest.$ac_ext
79001 LIBS=$ac_check_lib_save_LIBS
79003 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
79004 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
79005 if test $ac_cv_lib_m_sin = yes; then
79006 libm="-lm"
79009 ac_save_LIBS="$LIBS"
79010 LIBS="$LIBS $libm"
79014 echo "$as_me:$LINENO: checking for isinf declaration" >&5
79015 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
79016 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
79017 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
79018 echo $ECHO_N "(cached) $ECHO_C" >&6
79019 else
79023 ac_ext=cc
79024 ac_cpp='$CXXCPP $CPPFLAGS'
79025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79029 cat >conftest.$ac_ext <<_ACEOF
79030 /* confdefs.h. */
79031 _ACEOF
79032 cat confdefs.h >>conftest.$ac_ext
79033 cat >>conftest.$ac_ext <<_ACEOF
79034 /* end confdefs.h. */
79035 #include <math.h>
79036 #ifdef HAVE_IEEEFP_H
79037 #include <ieeefp.h>
79038 #endif
79041 main ()
79043 isinf(0);
79045 return 0;
79047 _ACEOF
79048 rm -f conftest.$ac_objext
79049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79050 (eval $ac_compile) 2>conftest.er1
79051 ac_status=$?
79052 grep -v '^ *+' conftest.er1 >conftest.err
79053 rm -f conftest.er1
79054 cat conftest.err >&5
79055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79056 (exit $ac_status); } &&
79057 { ac_try='test -z "$ac_cxx_werror_flag"
79058 || test ! -s conftest.err'
79059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79060 (eval $ac_try) 2>&5
79061 ac_status=$?
79062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79063 (exit $ac_status); }; } &&
79064 { ac_try='test -s conftest.$ac_objext'
79065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79066 (eval $ac_try) 2>&5
79067 ac_status=$?
79068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79069 (exit $ac_status); }; }; then
79070 glibcxx_cv_func_isinf_use=yes
79071 else
79072 echo "$as_me: failed program was:" >&5
79073 sed 's/^/| /' conftest.$ac_ext >&5
79075 glibcxx_cv_func_isinf_use=no
79077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79078 ac_ext=c
79079 ac_cpp='$CPP $CPPFLAGS'
79080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79088 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
79089 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
79091 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
79093 for ac_func in isinf
79095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79096 echo "$as_me:$LINENO: checking for $ac_func" >&5
79097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79098 if eval "test \"\${$as_ac_var+set}\" = set"; then
79099 echo $ECHO_N "(cached) $ECHO_C" >&6
79100 else
79101 if test x$gcc_no_link = xyes; then
79102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79104 { (exit 1); exit 1; }; }
79106 cat >conftest.$ac_ext <<_ACEOF
79107 /* confdefs.h. */
79108 _ACEOF
79109 cat confdefs.h >>conftest.$ac_ext
79110 cat >>conftest.$ac_ext <<_ACEOF
79111 /* end confdefs.h. */
79112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79114 #define $ac_func innocuous_$ac_func
79116 /* System header to define __stub macros and hopefully few prototypes,
79117 which can conflict with char $ac_func (); below.
79118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79119 <limits.h> exists even on freestanding compilers. */
79121 #ifdef __STDC__
79122 # include <limits.h>
79123 #else
79124 # include <assert.h>
79125 #endif
79127 #undef $ac_func
79129 /* Override any gcc2 internal prototype to avoid an error. */
79130 #ifdef __cplusplus
79131 extern "C"
79133 #endif
79134 /* We use char because int might match the return type of a gcc2
79135 builtin and then its argument prototype would still apply. */
79136 char $ac_func ();
79137 /* The GNU C library defines this for functions which it implements
79138 to always fail with ENOSYS. Some functions are actually named
79139 something starting with __ and the normal name is an alias. */
79140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79141 choke me
79142 #else
79143 char (*f) () = $ac_func;
79144 #endif
79145 #ifdef __cplusplus
79147 #endif
79150 main ()
79152 return f != $ac_func;
79154 return 0;
79156 _ACEOF
79157 rm -f conftest.$ac_objext conftest$ac_exeext
79158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79159 (eval $ac_link) 2>conftest.er1
79160 ac_status=$?
79161 grep -v '^ *+' conftest.er1 >conftest.err
79162 rm -f conftest.er1
79163 cat conftest.err >&5
79164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79165 (exit $ac_status); } &&
79166 { ac_try='test -z "$ac_c_werror_flag"
79167 || test ! -s conftest.err'
79168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79169 (eval $ac_try) 2>&5
79170 ac_status=$?
79171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79172 (exit $ac_status); }; } &&
79173 { ac_try='test -s conftest$ac_exeext'
79174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79175 (eval $ac_try) 2>&5
79176 ac_status=$?
79177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79178 (exit $ac_status); }; }; then
79179 eval "$as_ac_var=yes"
79180 else
79181 echo "$as_me: failed program was:" >&5
79182 sed 's/^/| /' conftest.$ac_ext >&5
79184 eval "$as_ac_var=no"
79186 rm -f conftest.err conftest.$ac_objext \
79187 conftest$ac_exeext conftest.$ac_ext
79189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79191 if test `eval echo '${'$as_ac_var'}'` = yes; then
79192 cat >>confdefs.h <<_ACEOF
79193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79194 _ACEOF
79197 done
79199 else
79201 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
79202 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
79203 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
79204 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
79205 echo $ECHO_N "(cached) $ECHO_C" >&6
79206 else
79210 ac_ext=cc
79211 ac_cpp='$CXXCPP $CPPFLAGS'
79212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79216 cat >conftest.$ac_ext <<_ACEOF
79217 /* confdefs.h. */
79218 _ACEOF
79219 cat confdefs.h >>conftest.$ac_ext
79220 cat >>conftest.$ac_ext <<_ACEOF
79221 /* end confdefs.h. */
79222 #include <math.h>
79223 #ifdef HAVE_IEEEFP_H
79224 #include <ieeefp.h>
79225 #endif
79228 main ()
79230 _isinf(0);
79232 return 0;
79234 _ACEOF
79235 rm -f conftest.$ac_objext
79236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79237 (eval $ac_compile) 2>conftest.er1
79238 ac_status=$?
79239 grep -v '^ *+' conftest.er1 >conftest.err
79240 rm -f conftest.er1
79241 cat conftest.err >&5
79242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79243 (exit $ac_status); } &&
79244 { ac_try='test -z "$ac_cxx_werror_flag"
79245 || test ! -s conftest.err'
79246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79247 (eval $ac_try) 2>&5
79248 ac_status=$?
79249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79250 (exit $ac_status); }; } &&
79251 { ac_try='test -s conftest.$ac_objext'
79252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79253 (eval $ac_try) 2>&5
79254 ac_status=$?
79255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79256 (exit $ac_status); }; }; then
79257 glibcxx_cv_func__isinf_use=yes
79258 else
79259 echo "$as_me: failed program was:" >&5
79260 sed 's/^/| /' conftest.$ac_ext >&5
79262 glibcxx_cv_func__isinf_use=no
79264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79265 ac_ext=c
79266 ac_cpp='$CPP $CPPFLAGS'
79267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79275 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
79276 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
79278 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
79280 for ac_func in _isinf
79282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79283 echo "$as_me:$LINENO: checking for $ac_func" >&5
79284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79285 if eval "test \"\${$as_ac_var+set}\" = set"; then
79286 echo $ECHO_N "(cached) $ECHO_C" >&6
79287 else
79288 if test x$gcc_no_link = xyes; then
79289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79291 { (exit 1); exit 1; }; }
79293 cat >conftest.$ac_ext <<_ACEOF
79294 /* confdefs.h. */
79295 _ACEOF
79296 cat confdefs.h >>conftest.$ac_ext
79297 cat >>conftest.$ac_ext <<_ACEOF
79298 /* end confdefs.h. */
79299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79301 #define $ac_func innocuous_$ac_func
79303 /* System header to define __stub macros and hopefully few prototypes,
79304 which can conflict with char $ac_func (); below.
79305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79306 <limits.h> exists even on freestanding compilers. */
79308 #ifdef __STDC__
79309 # include <limits.h>
79310 #else
79311 # include <assert.h>
79312 #endif
79314 #undef $ac_func
79316 /* Override any gcc2 internal prototype to avoid an error. */
79317 #ifdef __cplusplus
79318 extern "C"
79320 #endif
79321 /* We use char because int might match the return type of a gcc2
79322 builtin and then its argument prototype would still apply. */
79323 char $ac_func ();
79324 /* The GNU C library defines this for functions which it implements
79325 to always fail with ENOSYS. Some functions are actually named
79326 something starting with __ and the normal name is an alias. */
79327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79328 choke me
79329 #else
79330 char (*f) () = $ac_func;
79331 #endif
79332 #ifdef __cplusplus
79334 #endif
79337 main ()
79339 return f != $ac_func;
79341 return 0;
79343 _ACEOF
79344 rm -f conftest.$ac_objext conftest$ac_exeext
79345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79346 (eval $ac_link) 2>conftest.er1
79347 ac_status=$?
79348 grep -v '^ *+' conftest.er1 >conftest.err
79349 rm -f conftest.er1
79350 cat conftest.err >&5
79351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79352 (exit $ac_status); } &&
79353 { ac_try='test -z "$ac_c_werror_flag"
79354 || test ! -s conftest.err'
79355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79356 (eval $ac_try) 2>&5
79357 ac_status=$?
79358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79359 (exit $ac_status); }; } &&
79360 { ac_try='test -s conftest$ac_exeext'
79361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79362 (eval $ac_try) 2>&5
79363 ac_status=$?
79364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79365 (exit $ac_status); }; }; then
79366 eval "$as_ac_var=yes"
79367 else
79368 echo "$as_me: failed program was:" >&5
79369 sed 's/^/| /' conftest.$ac_ext >&5
79371 eval "$as_ac_var=no"
79373 rm -f conftest.err conftest.$ac_objext \
79374 conftest$ac_exeext conftest.$ac_ext
79376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79378 if test `eval echo '${'$as_ac_var'}'` = yes; then
79379 cat >>confdefs.h <<_ACEOF
79380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79381 _ACEOF
79384 done
79394 echo "$as_me:$LINENO: checking for isnan declaration" >&5
79395 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
79396 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
79397 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
79398 echo $ECHO_N "(cached) $ECHO_C" >&6
79399 else
79403 ac_ext=cc
79404 ac_cpp='$CXXCPP $CPPFLAGS'
79405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79409 cat >conftest.$ac_ext <<_ACEOF
79410 /* confdefs.h. */
79411 _ACEOF
79412 cat confdefs.h >>conftest.$ac_ext
79413 cat >>conftest.$ac_ext <<_ACEOF
79414 /* end confdefs.h. */
79415 #include <math.h>
79416 #ifdef HAVE_IEEEFP_H
79417 #include <ieeefp.h>
79418 #endif
79421 main ()
79423 isnan(0);
79425 return 0;
79427 _ACEOF
79428 rm -f conftest.$ac_objext
79429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79430 (eval $ac_compile) 2>conftest.er1
79431 ac_status=$?
79432 grep -v '^ *+' conftest.er1 >conftest.err
79433 rm -f conftest.er1
79434 cat conftest.err >&5
79435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79436 (exit $ac_status); } &&
79437 { ac_try='test -z "$ac_cxx_werror_flag"
79438 || test ! -s conftest.err'
79439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79440 (eval $ac_try) 2>&5
79441 ac_status=$?
79442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79443 (exit $ac_status); }; } &&
79444 { ac_try='test -s conftest.$ac_objext'
79445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79446 (eval $ac_try) 2>&5
79447 ac_status=$?
79448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79449 (exit $ac_status); }; }; then
79450 glibcxx_cv_func_isnan_use=yes
79451 else
79452 echo "$as_me: failed program was:" >&5
79453 sed 's/^/| /' conftest.$ac_ext >&5
79455 glibcxx_cv_func_isnan_use=no
79457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79458 ac_ext=c
79459 ac_cpp='$CPP $CPPFLAGS'
79460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79468 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
79469 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
79471 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
79473 for ac_func in isnan
79475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79476 echo "$as_me:$LINENO: checking for $ac_func" >&5
79477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79478 if eval "test \"\${$as_ac_var+set}\" = set"; then
79479 echo $ECHO_N "(cached) $ECHO_C" >&6
79480 else
79481 if test x$gcc_no_link = xyes; then
79482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79484 { (exit 1); exit 1; }; }
79486 cat >conftest.$ac_ext <<_ACEOF
79487 /* confdefs.h. */
79488 _ACEOF
79489 cat confdefs.h >>conftest.$ac_ext
79490 cat >>conftest.$ac_ext <<_ACEOF
79491 /* end confdefs.h. */
79492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79494 #define $ac_func innocuous_$ac_func
79496 /* System header to define __stub macros and hopefully few prototypes,
79497 which can conflict with char $ac_func (); below.
79498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79499 <limits.h> exists even on freestanding compilers. */
79501 #ifdef __STDC__
79502 # include <limits.h>
79503 #else
79504 # include <assert.h>
79505 #endif
79507 #undef $ac_func
79509 /* Override any gcc2 internal prototype to avoid an error. */
79510 #ifdef __cplusplus
79511 extern "C"
79513 #endif
79514 /* We use char because int might match the return type of a gcc2
79515 builtin and then its argument prototype would still apply. */
79516 char $ac_func ();
79517 /* The GNU C library defines this for functions which it implements
79518 to always fail with ENOSYS. Some functions are actually named
79519 something starting with __ and the normal name is an alias. */
79520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79521 choke me
79522 #else
79523 char (*f) () = $ac_func;
79524 #endif
79525 #ifdef __cplusplus
79527 #endif
79530 main ()
79532 return f != $ac_func;
79534 return 0;
79536 _ACEOF
79537 rm -f conftest.$ac_objext conftest$ac_exeext
79538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79539 (eval $ac_link) 2>conftest.er1
79540 ac_status=$?
79541 grep -v '^ *+' conftest.er1 >conftest.err
79542 rm -f conftest.er1
79543 cat conftest.err >&5
79544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79545 (exit $ac_status); } &&
79546 { ac_try='test -z "$ac_c_werror_flag"
79547 || test ! -s conftest.err'
79548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79549 (eval $ac_try) 2>&5
79550 ac_status=$?
79551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79552 (exit $ac_status); }; } &&
79553 { ac_try='test -s conftest$ac_exeext'
79554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79555 (eval $ac_try) 2>&5
79556 ac_status=$?
79557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79558 (exit $ac_status); }; }; then
79559 eval "$as_ac_var=yes"
79560 else
79561 echo "$as_me: failed program was:" >&5
79562 sed 's/^/| /' conftest.$ac_ext >&5
79564 eval "$as_ac_var=no"
79566 rm -f conftest.err conftest.$ac_objext \
79567 conftest$ac_exeext conftest.$ac_ext
79569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79571 if test `eval echo '${'$as_ac_var'}'` = yes; then
79572 cat >>confdefs.h <<_ACEOF
79573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79574 _ACEOF
79577 done
79579 else
79581 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
79582 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
79583 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
79584 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
79585 echo $ECHO_N "(cached) $ECHO_C" >&6
79586 else
79590 ac_ext=cc
79591 ac_cpp='$CXXCPP $CPPFLAGS'
79592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79596 cat >conftest.$ac_ext <<_ACEOF
79597 /* confdefs.h. */
79598 _ACEOF
79599 cat confdefs.h >>conftest.$ac_ext
79600 cat >>conftest.$ac_ext <<_ACEOF
79601 /* end confdefs.h. */
79602 #include <math.h>
79603 #ifdef HAVE_IEEEFP_H
79604 #include <ieeefp.h>
79605 #endif
79608 main ()
79610 _isnan(0);
79612 return 0;
79614 _ACEOF
79615 rm -f conftest.$ac_objext
79616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79617 (eval $ac_compile) 2>conftest.er1
79618 ac_status=$?
79619 grep -v '^ *+' conftest.er1 >conftest.err
79620 rm -f conftest.er1
79621 cat conftest.err >&5
79622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79623 (exit $ac_status); } &&
79624 { ac_try='test -z "$ac_cxx_werror_flag"
79625 || test ! -s conftest.err'
79626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79627 (eval $ac_try) 2>&5
79628 ac_status=$?
79629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79630 (exit $ac_status); }; } &&
79631 { ac_try='test -s conftest.$ac_objext'
79632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79633 (eval $ac_try) 2>&5
79634 ac_status=$?
79635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79636 (exit $ac_status); }; }; then
79637 glibcxx_cv_func__isnan_use=yes
79638 else
79639 echo "$as_me: failed program was:" >&5
79640 sed 's/^/| /' conftest.$ac_ext >&5
79642 glibcxx_cv_func__isnan_use=no
79644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79645 ac_ext=c
79646 ac_cpp='$CPP $CPPFLAGS'
79647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79655 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
79656 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
79658 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
79660 for ac_func in _isnan
79662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79663 echo "$as_me:$LINENO: checking for $ac_func" >&5
79664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79665 if eval "test \"\${$as_ac_var+set}\" = set"; then
79666 echo $ECHO_N "(cached) $ECHO_C" >&6
79667 else
79668 if test x$gcc_no_link = xyes; then
79669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79671 { (exit 1); exit 1; }; }
79673 cat >conftest.$ac_ext <<_ACEOF
79674 /* confdefs.h. */
79675 _ACEOF
79676 cat confdefs.h >>conftest.$ac_ext
79677 cat >>conftest.$ac_ext <<_ACEOF
79678 /* end confdefs.h. */
79679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79681 #define $ac_func innocuous_$ac_func
79683 /* System header to define __stub macros and hopefully few prototypes,
79684 which can conflict with char $ac_func (); below.
79685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79686 <limits.h> exists even on freestanding compilers. */
79688 #ifdef __STDC__
79689 # include <limits.h>
79690 #else
79691 # include <assert.h>
79692 #endif
79694 #undef $ac_func
79696 /* Override any gcc2 internal prototype to avoid an error. */
79697 #ifdef __cplusplus
79698 extern "C"
79700 #endif
79701 /* We use char because int might match the return type of a gcc2
79702 builtin and then its argument prototype would still apply. */
79703 char $ac_func ();
79704 /* The GNU C library defines this for functions which it implements
79705 to always fail with ENOSYS. Some functions are actually named
79706 something starting with __ and the normal name is an alias. */
79707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79708 choke me
79709 #else
79710 char (*f) () = $ac_func;
79711 #endif
79712 #ifdef __cplusplus
79714 #endif
79717 main ()
79719 return f != $ac_func;
79721 return 0;
79723 _ACEOF
79724 rm -f conftest.$ac_objext conftest$ac_exeext
79725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79726 (eval $ac_link) 2>conftest.er1
79727 ac_status=$?
79728 grep -v '^ *+' conftest.er1 >conftest.err
79729 rm -f conftest.er1
79730 cat conftest.err >&5
79731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79732 (exit $ac_status); } &&
79733 { ac_try='test -z "$ac_c_werror_flag"
79734 || test ! -s conftest.err'
79735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79736 (eval $ac_try) 2>&5
79737 ac_status=$?
79738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79739 (exit $ac_status); }; } &&
79740 { ac_try='test -s conftest$ac_exeext'
79741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79742 (eval $ac_try) 2>&5
79743 ac_status=$?
79744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79745 (exit $ac_status); }; }; then
79746 eval "$as_ac_var=yes"
79747 else
79748 echo "$as_me: failed program was:" >&5
79749 sed 's/^/| /' conftest.$ac_ext >&5
79751 eval "$as_ac_var=no"
79753 rm -f conftest.err conftest.$ac_objext \
79754 conftest$ac_exeext conftest.$ac_ext
79756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79758 if test `eval echo '${'$as_ac_var'}'` = yes; then
79759 cat >>confdefs.h <<_ACEOF
79760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79761 _ACEOF
79764 done
79774 echo "$as_me:$LINENO: checking for finite declaration" >&5
79775 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
79776 if test x${glibcxx_cv_func_finite_use+set} != xset; then
79777 if test "${glibcxx_cv_func_finite_use+set}" = set; then
79778 echo $ECHO_N "(cached) $ECHO_C" >&6
79779 else
79783 ac_ext=cc
79784 ac_cpp='$CXXCPP $CPPFLAGS'
79785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79789 cat >conftest.$ac_ext <<_ACEOF
79790 /* confdefs.h. */
79791 _ACEOF
79792 cat confdefs.h >>conftest.$ac_ext
79793 cat >>conftest.$ac_ext <<_ACEOF
79794 /* end confdefs.h. */
79795 #include <math.h>
79796 #ifdef HAVE_IEEEFP_H
79797 #include <ieeefp.h>
79798 #endif
79801 main ()
79803 finite(0);
79805 return 0;
79807 _ACEOF
79808 rm -f conftest.$ac_objext
79809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79810 (eval $ac_compile) 2>conftest.er1
79811 ac_status=$?
79812 grep -v '^ *+' conftest.er1 >conftest.err
79813 rm -f conftest.er1
79814 cat conftest.err >&5
79815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79816 (exit $ac_status); } &&
79817 { ac_try='test -z "$ac_cxx_werror_flag"
79818 || test ! -s conftest.err'
79819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79820 (eval $ac_try) 2>&5
79821 ac_status=$?
79822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79823 (exit $ac_status); }; } &&
79824 { ac_try='test -s conftest.$ac_objext'
79825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79826 (eval $ac_try) 2>&5
79827 ac_status=$?
79828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79829 (exit $ac_status); }; }; then
79830 glibcxx_cv_func_finite_use=yes
79831 else
79832 echo "$as_me: failed program was:" >&5
79833 sed 's/^/| /' conftest.$ac_ext >&5
79835 glibcxx_cv_func_finite_use=no
79837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79838 ac_ext=c
79839 ac_cpp='$CPP $CPPFLAGS'
79840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79848 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
79849 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
79851 if test x$glibcxx_cv_func_finite_use = x"yes"; then
79853 for ac_func in finite
79855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79856 echo "$as_me:$LINENO: checking for $ac_func" >&5
79857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79858 if eval "test \"\${$as_ac_var+set}\" = set"; then
79859 echo $ECHO_N "(cached) $ECHO_C" >&6
79860 else
79861 if test x$gcc_no_link = xyes; then
79862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79864 { (exit 1); exit 1; }; }
79866 cat >conftest.$ac_ext <<_ACEOF
79867 /* confdefs.h. */
79868 _ACEOF
79869 cat confdefs.h >>conftest.$ac_ext
79870 cat >>conftest.$ac_ext <<_ACEOF
79871 /* end confdefs.h. */
79872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79874 #define $ac_func innocuous_$ac_func
79876 /* System header to define __stub macros and hopefully few prototypes,
79877 which can conflict with char $ac_func (); below.
79878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79879 <limits.h> exists even on freestanding compilers. */
79881 #ifdef __STDC__
79882 # include <limits.h>
79883 #else
79884 # include <assert.h>
79885 #endif
79887 #undef $ac_func
79889 /* Override any gcc2 internal prototype to avoid an error. */
79890 #ifdef __cplusplus
79891 extern "C"
79893 #endif
79894 /* We use char because int might match the return type of a gcc2
79895 builtin and then its argument prototype would still apply. */
79896 char $ac_func ();
79897 /* The GNU C library defines this for functions which it implements
79898 to always fail with ENOSYS. Some functions are actually named
79899 something starting with __ and the normal name is an alias. */
79900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79901 choke me
79902 #else
79903 char (*f) () = $ac_func;
79904 #endif
79905 #ifdef __cplusplus
79907 #endif
79910 main ()
79912 return f != $ac_func;
79914 return 0;
79916 _ACEOF
79917 rm -f conftest.$ac_objext conftest$ac_exeext
79918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79919 (eval $ac_link) 2>conftest.er1
79920 ac_status=$?
79921 grep -v '^ *+' conftest.er1 >conftest.err
79922 rm -f conftest.er1
79923 cat conftest.err >&5
79924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79925 (exit $ac_status); } &&
79926 { ac_try='test -z "$ac_c_werror_flag"
79927 || test ! -s conftest.err'
79928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79929 (eval $ac_try) 2>&5
79930 ac_status=$?
79931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79932 (exit $ac_status); }; } &&
79933 { ac_try='test -s conftest$ac_exeext'
79934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79935 (eval $ac_try) 2>&5
79936 ac_status=$?
79937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79938 (exit $ac_status); }; }; then
79939 eval "$as_ac_var=yes"
79940 else
79941 echo "$as_me: failed program was:" >&5
79942 sed 's/^/| /' conftest.$ac_ext >&5
79944 eval "$as_ac_var=no"
79946 rm -f conftest.err conftest.$ac_objext \
79947 conftest$ac_exeext conftest.$ac_ext
79949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79951 if test `eval echo '${'$as_ac_var'}'` = yes; then
79952 cat >>confdefs.h <<_ACEOF
79953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79954 _ACEOF
79957 done
79959 else
79961 echo "$as_me:$LINENO: checking for _finite declaration" >&5
79962 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
79963 if test x${glibcxx_cv_func__finite_use+set} != xset; then
79964 if test "${glibcxx_cv_func__finite_use+set}" = set; then
79965 echo $ECHO_N "(cached) $ECHO_C" >&6
79966 else
79970 ac_ext=cc
79971 ac_cpp='$CXXCPP $CPPFLAGS'
79972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79976 cat >conftest.$ac_ext <<_ACEOF
79977 /* confdefs.h. */
79978 _ACEOF
79979 cat confdefs.h >>conftest.$ac_ext
79980 cat >>conftest.$ac_ext <<_ACEOF
79981 /* end confdefs.h. */
79982 #include <math.h>
79983 #ifdef HAVE_IEEEFP_H
79984 #include <ieeefp.h>
79985 #endif
79988 main ()
79990 _finite(0);
79992 return 0;
79994 _ACEOF
79995 rm -f conftest.$ac_objext
79996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79997 (eval $ac_compile) 2>conftest.er1
79998 ac_status=$?
79999 grep -v '^ *+' conftest.er1 >conftest.err
80000 rm -f conftest.er1
80001 cat conftest.err >&5
80002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80003 (exit $ac_status); } &&
80004 { ac_try='test -z "$ac_cxx_werror_flag"
80005 || test ! -s conftest.err'
80006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80007 (eval $ac_try) 2>&5
80008 ac_status=$?
80009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80010 (exit $ac_status); }; } &&
80011 { ac_try='test -s conftest.$ac_objext'
80012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80013 (eval $ac_try) 2>&5
80014 ac_status=$?
80015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80016 (exit $ac_status); }; }; then
80017 glibcxx_cv_func__finite_use=yes
80018 else
80019 echo "$as_me: failed program was:" >&5
80020 sed 's/^/| /' conftest.$ac_ext >&5
80022 glibcxx_cv_func__finite_use=no
80024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80025 ac_ext=c
80026 ac_cpp='$CPP $CPPFLAGS'
80027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80035 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
80036 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
80038 if test x$glibcxx_cv_func__finite_use = x"yes"; then
80040 for ac_func in _finite
80042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80043 echo "$as_me:$LINENO: checking for $ac_func" >&5
80044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80045 if eval "test \"\${$as_ac_var+set}\" = set"; then
80046 echo $ECHO_N "(cached) $ECHO_C" >&6
80047 else
80048 if test x$gcc_no_link = xyes; then
80049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80051 { (exit 1); exit 1; }; }
80053 cat >conftest.$ac_ext <<_ACEOF
80054 /* confdefs.h. */
80055 _ACEOF
80056 cat confdefs.h >>conftest.$ac_ext
80057 cat >>conftest.$ac_ext <<_ACEOF
80058 /* end confdefs.h. */
80059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80061 #define $ac_func innocuous_$ac_func
80063 /* System header to define __stub macros and hopefully few prototypes,
80064 which can conflict with char $ac_func (); below.
80065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80066 <limits.h> exists even on freestanding compilers. */
80068 #ifdef __STDC__
80069 # include <limits.h>
80070 #else
80071 # include <assert.h>
80072 #endif
80074 #undef $ac_func
80076 /* Override any gcc2 internal prototype to avoid an error. */
80077 #ifdef __cplusplus
80078 extern "C"
80080 #endif
80081 /* We use char because int might match the return type of a gcc2
80082 builtin and then its argument prototype would still apply. */
80083 char $ac_func ();
80084 /* The GNU C library defines this for functions which it implements
80085 to always fail with ENOSYS. Some functions are actually named
80086 something starting with __ and the normal name is an alias. */
80087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80088 choke me
80089 #else
80090 char (*f) () = $ac_func;
80091 #endif
80092 #ifdef __cplusplus
80094 #endif
80097 main ()
80099 return f != $ac_func;
80101 return 0;
80103 _ACEOF
80104 rm -f conftest.$ac_objext conftest$ac_exeext
80105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80106 (eval $ac_link) 2>conftest.er1
80107 ac_status=$?
80108 grep -v '^ *+' conftest.er1 >conftest.err
80109 rm -f conftest.er1
80110 cat conftest.err >&5
80111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80112 (exit $ac_status); } &&
80113 { ac_try='test -z "$ac_c_werror_flag"
80114 || test ! -s conftest.err'
80115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80116 (eval $ac_try) 2>&5
80117 ac_status=$?
80118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80119 (exit $ac_status); }; } &&
80120 { ac_try='test -s conftest$ac_exeext'
80121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80122 (eval $ac_try) 2>&5
80123 ac_status=$?
80124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80125 (exit $ac_status); }; }; then
80126 eval "$as_ac_var=yes"
80127 else
80128 echo "$as_me: failed program was:" >&5
80129 sed 's/^/| /' conftest.$ac_ext >&5
80131 eval "$as_ac_var=no"
80133 rm -f conftest.err conftest.$ac_objext \
80134 conftest$ac_exeext conftest.$ac_ext
80136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80138 if test `eval echo '${'$as_ac_var'}'` = yes; then
80139 cat >>confdefs.h <<_ACEOF
80140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80141 _ACEOF
80144 done
80154 echo "$as_me:$LINENO: checking for copysign declaration" >&5
80155 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
80156 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
80157 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
80158 echo $ECHO_N "(cached) $ECHO_C" >&6
80159 else
80163 ac_ext=cc
80164 ac_cpp='$CXXCPP $CPPFLAGS'
80165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80169 cat >conftest.$ac_ext <<_ACEOF
80170 /* confdefs.h. */
80171 _ACEOF
80172 cat confdefs.h >>conftest.$ac_ext
80173 cat >>conftest.$ac_ext <<_ACEOF
80174 /* end confdefs.h. */
80175 #include <math.h>
80177 main ()
80179 copysign(0, 0);
80181 return 0;
80183 _ACEOF
80184 rm -f conftest.$ac_objext
80185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80186 (eval $ac_compile) 2>conftest.er1
80187 ac_status=$?
80188 grep -v '^ *+' conftest.er1 >conftest.err
80189 rm -f conftest.er1
80190 cat conftest.err >&5
80191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80192 (exit $ac_status); } &&
80193 { ac_try='test -z "$ac_cxx_werror_flag"
80194 || test ! -s conftest.err'
80195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80196 (eval $ac_try) 2>&5
80197 ac_status=$?
80198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80199 (exit $ac_status); }; } &&
80200 { ac_try='test -s conftest.$ac_objext'
80201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80202 (eval $ac_try) 2>&5
80203 ac_status=$?
80204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80205 (exit $ac_status); }; }; then
80206 glibcxx_cv_func_copysign_use=yes
80207 else
80208 echo "$as_me: failed program was:" >&5
80209 sed 's/^/| /' conftest.$ac_ext >&5
80211 glibcxx_cv_func_copysign_use=no
80213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80214 ac_ext=c
80215 ac_cpp='$CPP $CPPFLAGS'
80216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80224 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
80225 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
80227 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
80229 for ac_func in copysign
80231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80232 echo "$as_me:$LINENO: checking for $ac_func" >&5
80233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80234 if eval "test \"\${$as_ac_var+set}\" = set"; then
80235 echo $ECHO_N "(cached) $ECHO_C" >&6
80236 else
80237 if test x$gcc_no_link = xyes; then
80238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80240 { (exit 1); exit 1; }; }
80242 cat >conftest.$ac_ext <<_ACEOF
80243 /* confdefs.h. */
80244 _ACEOF
80245 cat confdefs.h >>conftest.$ac_ext
80246 cat >>conftest.$ac_ext <<_ACEOF
80247 /* end confdefs.h. */
80248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80250 #define $ac_func innocuous_$ac_func
80252 /* System header to define __stub macros and hopefully few prototypes,
80253 which can conflict with char $ac_func (); below.
80254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80255 <limits.h> exists even on freestanding compilers. */
80257 #ifdef __STDC__
80258 # include <limits.h>
80259 #else
80260 # include <assert.h>
80261 #endif
80263 #undef $ac_func
80265 /* Override any gcc2 internal prototype to avoid an error. */
80266 #ifdef __cplusplus
80267 extern "C"
80269 #endif
80270 /* We use char because int might match the return type of a gcc2
80271 builtin and then its argument prototype would still apply. */
80272 char $ac_func ();
80273 /* The GNU C library defines this for functions which it implements
80274 to always fail with ENOSYS. Some functions are actually named
80275 something starting with __ and the normal name is an alias. */
80276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80277 choke me
80278 #else
80279 char (*f) () = $ac_func;
80280 #endif
80281 #ifdef __cplusplus
80283 #endif
80286 main ()
80288 return f != $ac_func;
80290 return 0;
80292 _ACEOF
80293 rm -f conftest.$ac_objext conftest$ac_exeext
80294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80295 (eval $ac_link) 2>conftest.er1
80296 ac_status=$?
80297 grep -v '^ *+' conftest.er1 >conftest.err
80298 rm -f conftest.er1
80299 cat conftest.err >&5
80300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80301 (exit $ac_status); } &&
80302 { ac_try='test -z "$ac_c_werror_flag"
80303 || test ! -s conftest.err'
80304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80305 (eval $ac_try) 2>&5
80306 ac_status=$?
80307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80308 (exit $ac_status); }; } &&
80309 { ac_try='test -s conftest$ac_exeext'
80310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80311 (eval $ac_try) 2>&5
80312 ac_status=$?
80313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80314 (exit $ac_status); }; }; then
80315 eval "$as_ac_var=yes"
80316 else
80317 echo "$as_me: failed program was:" >&5
80318 sed 's/^/| /' conftest.$ac_ext >&5
80320 eval "$as_ac_var=no"
80322 rm -f conftest.err conftest.$ac_objext \
80323 conftest$ac_exeext conftest.$ac_ext
80325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80327 if test `eval echo '${'$as_ac_var'}'` = yes; then
80328 cat >>confdefs.h <<_ACEOF
80329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80330 _ACEOF
80333 done
80335 else
80337 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
80338 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
80339 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
80340 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
80341 echo $ECHO_N "(cached) $ECHO_C" >&6
80342 else
80346 ac_ext=cc
80347 ac_cpp='$CXXCPP $CPPFLAGS'
80348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80352 cat >conftest.$ac_ext <<_ACEOF
80353 /* confdefs.h. */
80354 _ACEOF
80355 cat confdefs.h >>conftest.$ac_ext
80356 cat >>conftest.$ac_ext <<_ACEOF
80357 /* end confdefs.h. */
80358 #include <math.h>
80360 main ()
80362 _copysign(0, 0);
80364 return 0;
80366 _ACEOF
80367 rm -f conftest.$ac_objext
80368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80369 (eval $ac_compile) 2>conftest.er1
80370 ac_status=$?
80371 grep -v '^ *+' conftest.er1 >conftest.err
80372 rm -f conftest.er1
80373 cat conftest.err >&5
80374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80375 (exit $ac_status); } &&
80376 { ac_try='test -z "$ac_cxx_werror_flag"
80377 || test ! -s conftest.err'
80378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80379 (eval $ac_try) 2>&5
80380 ac_status=$?
80381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80382 (exit $ac_status); }; } &&
80383 { ac_try='test -s conftest.$ac_objext'
80384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80385 (eval $ac_try) 2>&5
80386 ac_status=$?
80387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80388 (exit $ac_status); }; }; then
80389 glibcxx_cv_func__copysign_use=yes
80390 else
80391 echo "$as_me: failed program was:" >&5
80392 sed 's/^/| /' conftest.$ac_ext >&5
80394 glibcxx_cv_func__copysign_use=no
80396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80397 ac_ext=c
80398 ac_cpp='$CPP $CPPFLAGS'
80399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80407 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
80408 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
80410 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
80412 for ac_func in _copysign
80414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80415 echo "$as_me:$LINENO: checking for $ac_func" >&5
80416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80417 if eval "test \"\${$as_ac_var+set}\" = set"; then
80418 echo $ECHO_N "(cached) $ECHO_C" >&6
80419 else
80420 if test x$gcc_no_link = xyes; then
80421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80423 { (exit 1); exit 1; }; }
80425 cat >conftest.$ac_ext <<_ACEOF
80426 /* confdefs.h. */
80427 _ACEOF
80428 cat confdefs.h >>conftest.$ac_ext
80429 cat >>conftest.$ac_ext <<_ACEOF
80430 /* end confdefs.h. */
80431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80433 #define $ac_func innocuous_$ac_func
80435 /* System header to define __stub macros and hopefully few prototypes,
80436 which can conflict with char $ac_func (); below.
80437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80438 <limits.h> exists even on freestanding compilers. */
80440 #ifdef __STDC__
80441 # include <limits.h>
80442 #else
80443 # include <assert.h>
80444 #endif
80446 #undef $ac_func
80448 /* Override any gcc2 internal prototype to avoid an error. */
80449 #ifdef __cplusplus
80450 extern "C"
80452 #endif
80453 /* We use char because int might match the return type of a gcc2
80454 builtin and then its argument prototype would still apply. */
80455 char $ac_func ();
80456 /* The GNU C library defines this for functions which it implements
80457 to always fail with ENOSYS. Some functions are actually named
80458 something starting with __ and the normal name is an alias. */
80459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80460 choke me
80461 #else
80462 char (*f) () = $ac_func;
80463 #endif
80464 #ifdef __cplusplus
80466 #endif
80469 main ()
80471 return f != $ac_func;
80473 return 0;
80475 _ACEOF
80476 rm -f conftest.$ac_objext conftest$ac_exeext
80477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80478 (eval $ac_link) 2>conftest.er1
80479 ac_status=$?
80480 grep -v '^ *+' conftest.er1 >conftest.err
80481 rm -f conftest.er1
80482 cat conftest.err >&5
80483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80484 (exit $ac_status); } &&
80485 { ac_try='test -z "$ac_c_werror_flag"
80486 || test ! -s conftest.err'
80487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80488 (eval $ac_try) 2>&5
80489 ac_status=$?
80490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80491 (exit $ac_status); }; } &&
80492 { ac_try='test -s conftest$ac_exeext'
80493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80494 (eval $ac_try) 2>&5
80495 ac_status=$?
80496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80497 (exit $ac_status); }; }; then
80498 eval "$as_ac_var=yes"
80499 else
80500 echo "$as_me: failed program was:" >&5
80501 sed 's/^/| /' conftest.$ac_ext >&5
80503 eval "$as_ac_var=no"
80505 rm -f conftest.err conftest.$ac_objext \
80506 conftest$ac_exeext conftest.$ac_ext
80508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80510 if test `eval echo '${'$as_ac_var'}'` = yes; then
80511 cat >>confdefs.h <<_ACEOF
80512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80513 _ACEOF
80516 done
80526 echo "$as_me:$LINENO: checking for sincos declaration" >&5
80527 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
80528 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
80529 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
80530 echo $ECHO_N "(cached) $ECHO_C" >&6
80531 else
80535 ac_ext=cc
80536 ac_cpp='$CXXCPP $CPPFLAGS'
80537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80541 cat >conftest.$ac_ext <<_ACEOF
80542 /* confdefs.h. */
80543 _ACEOF
80544 cat confdefs.h >>conftest.$ac_ext
80545 cat >>conftest.$ac_ext <<_ACEOF
80546 /* end confdefs.h. */
80547 #include <math.h>
80549 main ()
80551 sincos(0, 0, 0);
80553 return 0;
80555 _ACEOF
80556 rm -f conftest.$ac_objext
80557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80558 (eval $ac_compile) 2>conftest.er1
80559 ac_status=$?
80560 grep -v '^ *+' conftest.er1 >conftest.err
80561 rm -f conftest.er1
80562 cat conftest.err >&5
80563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80564 (exit $ac_status); } &&
80565 { ac_try='test -z "$ac_cxx_werror_flag"
80566 || test ! -s conftest.err'
80567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80568 (eval $ac_try) 2>&5
80569 ac_status=$?
80570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80571 (exit $ac_status); }; } &&
80572 { ac_try='test -s conftest.$ac_objext'
80573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80574 (eval $ac_try) 2>&5
80575 ac_status=$?
80576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80577 (exit $ac_status); }; }; then
80578 glibcxx_cv_func_sincos_use=yes
80579 else
80580 echo "$as_me: failed program was:" >&5
80581 sed 's/^/| /' conftest.$ac_ext >&5
80583 glibcxx_cv_func_sincos_use=no
80585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80586 ac_ext=c
80587 ac_cpp='$CPP $CPPFLAGS'
80588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80596 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
80597 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
80599 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
80601 for ac_func in sincos
80603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80604 echo "$as_me:$LINENO: checking for $ac_func" >&5
80605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80606 if eval "test \"\${$as_ac_var+set}\" = set"; then
80607 echo $ECHO_N "(cached) $ECHO_C" >&6
80608 else
80609 if test x$gcc_no_link = xyes; then
80610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80612 { (exit 1); exit 1; }; }
80614 cat >conftest.$ac_ext <<_ACEOF
80615 /* confdefs.h. */
80616 _ACEOF
80617 cat confdefs.h >>conftest.$ac_ext
80618 cat >>conftest.$ac_ext <<_ACEOF
80619 /* end confdefs.h. */
80620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80622 #define $ac_func innocuous_$ac_func
80624 /* System header to define __stub macros and hopefully few prototypes,
80625 which can conflict with char $ac_func (); below.
80626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80627 <limits.h> exists even on freestanding compilers. */
80629 #ifdef __STDC__
80630 # include <limits.h>
80631 #else
80632 # include <assert.h>
80633 #endif
80635 #undef $ac_func
80637 /* Override any gcc2 internal prototype to avoid an error. */
80638 #ifdef __cplusplus
80639 extern "C"
80641 #endif
80642 /* We use char because int might match the return type of a gcc2
80643 builtin and then its argument prototype would still apply. */
80644 char $ac_func ();
80645 /* The GNU C library defines this for functions which it implements
80646 to always fail with ENOSYS. Some functions are actually named
80647 something starting with __ and the normal name is an alias. */
80648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80649 choke me
80650 #else
80651 char (*f) () = $ac_func;
80652 #endif
80653 #ifdef __cplusplus
80655 #endif
80658 main ()
80660 return f != $ac_func;
80662 return 0;
80664 _ACEOF
80665 rm -f conftest.$ac_objext conftest$ac_exeext
80666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80667 (eval $ac_link) 2>conftest.er1
80668 ac_status=$?
80669 grep -v '^ *+' conftest.er1 >conftest.err
80670 rm -f conftest.er1
80671 cat conftest.err >&5
80672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80673 (exit $ac_status); } &&
80674 { ac_try='test -z "$ac_c_werror_flag"
80675 || test ! -s conftest.err'
80676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80677 (eval $ac_try) 2>&5
80678 ac_status=$?
80679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80680 (exit $ac_status); }; } &&
80681 { ac_try='test -s conftest$ac_exeext'
80682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80683 (eval $ac_try) 2>&5
80684 ac_status=$?
80685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80686 (exit $ac_status); }; }; then
80687 eval "$as_ac_var=yes"
80688 else
80689 echo "$as_me: failed program was:" >&5
80690 sed 's/^/| /' conftest.$ac_ext >&5
80692 eval "$as_ac_var=no"
80694 rm -f conftest.err conftest.$ac_objext \
80695 conftest$ac_exeext conftest.$ac_ext
80697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80699 if test `eval echo '${'$as_ac_var'}'` = yes; then
80700 cat >>confdefs.h <<_ACEOF
80701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80702 _ACEOF
80705 done
80707 else
80709 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
80710 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
80711 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
80712 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
80713 echo $ECHO_N "(cached) $ECHO_C" >&6
80714 else
80718 ac_ext=cc
80719 ac_cpp='$CXXCPP $CPPFLAGS'
80720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80724 cat >conftest.$ac_ext <<_ACEOF
80725 /* confdefs.h. */
80726 _ACEOF
80727 cat confdefs.h >>conftest.$ac_ext
80728 cat >>conftest.$ac_ext <<_ACEOF
80729 /* end confdefs.h. */
80730 #include <math.h>
80732 main ()
80734 _sincos(0, 0, 0);
80736 return 0;
80738 _ACEOF
80739 rm -f conftest.$ac_objext
80740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80741 (eval $ac_compile) 2>conftest.er1
80742 ac_status=$?
80743 grep -v '^ *+' conftest.er1 >conftest.err
80744 rm -f conftest.er1
80745 cat conftest.err >&5
80746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80747 (exit $ac_status); } &&
80748 { ac_try='test -z "$ac_cxx_werror_flag"
80749 || test ! -s conftest.err'
80750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80751 (eval $ac_try) 2>&5
80752 ac_status=$?
80753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80754 (exit $ac_status); }; } &&
80755 { ac_try='test -s conftest.$ac_objext'
80756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80757 (eval $ac_try) 2>&5
80758 ac_status=$?
80759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80760 (exit $ac_status); }; }; then
80761 glibcxx_cv_func__sincos_use=yes
80762 else
80763 echo "$as_me: failed program was:" >&5
80764 sed 's/^/| /' conftest.$ac_ext >&5
80766 glibcxx_cv_func__sincos_use=no
80768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80769 ac_ext=c
80770 ac_cpp='$CPP $CPPFLAGS'
80771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80779 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
80780 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
80782 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
80784 for ac_func in _sincos
80786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80787 echo "$as_me:$LINENO: checking for $ac_func" >&5
80788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80789 if eval "test \"\${$as_ac_var+set}\" = set"; then
80790 echo $ECHO_N "(cached) $ECHO_C" >&6
80791 else
80792 if test x$gcc_no_link = xyes; then
80793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80795 { (exit 1); exit 1; }; }
80797 cat >conftest.$ac_ext <<_ACEOF
80798 /* confdefs.h. */
80799 _ACEOF
80800 cat confdefs.h >>conftest.$ac_ext
80801 cat >>conftest.$ac_ext <<_ACEOF
80802 /* end confdefs.h. */
80803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80805 #define $ac_func innocuous_$ac_func
80807 /* System header to define __stub macros and hopefully few prototypes,
80808 which can conflict with char $ac_func (); below.
80809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80810 <limits.h> exists even on freestanding compilers. */
80812 #ifdef __STDC__
80813 # include <limits.h>
80814 #else
80815 # include <assert.h>
80816 #endif
80818 #undef $ac_func
80820 /* Override any gcc2 internal prototype to avoid an error. */
80821 #ifdef __cplusplus
80822 extern "C"
80824 #endif
80825 /* We use char because int might match the return type of a gcc2
80826 builtin and then its argument prototype would still apply. */
80827 char $ac_func ();
80828 /* The GNU C library defines this for functions which it implements
80829 to always fail with ENOSYS. Some functions are actually named
80830 something starting with __ and the normal name is an alias. */
80831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80832 choke me
80833 #else
80834 char (*f) () = $ac_func;
80835 #endif
80836 #ifdef __cplusplus
80838 #endif
80841 main ()
80843 return f != $ac_func;
80845 return 0;
80847 _ACEOF
80848 rm -f conftest.$ac_objext conftest$ac_exeext
80849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80850 (eval $ac_link) 2>conftest.er1
80851 ac_status=$?
80852 grep -v '^ *+' conftest.er1 >conftest.err
80853 rm -f conftest.er1
80854 cat conftest.err >&5
80855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80856 (exit $ac_status); } &&
80857 { ac_try='test -z "$ac_c_werror_flag"
80858 || test ! -s conftest.err'
80859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80860 (eval $ac_try) 2>&5
80861 ac_status=$?
80862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80863 (exit $ac_status); }; } &&
80864 { ac_try='test -s conftest$ac_exeext'
80865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80866 (eval $ac_try) 2>&5
80867 ac_status=$?
80868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80869 (exit $ac_status); }; }; then
80870 eval "$as_ac_var=yes"
80871 else
80872 echo "$as_me: failed program was:" >&5
80873 sed 's/^/| /' conftest.$ac_ext >&5
80875 eval "$as_ac_var=no"
80877 rm -f conftest.err conftest.$ac_objext \
80878 conftest$ac_exeext conftest.$ac_ext
80880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80882 if test `eval echo '${'$as_ac_var'}'` = yes; then
80883 cat >>confdefs.h <<_ACEOF
80884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80885 _ACEOF
80888 done
80898 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
80899 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
80900 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
80901 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
80902 echo $ECHO_N "(cached) $ECHO_C" >&6
80903 else
80907 ac_ext=cc
80908 ac_cpp='$CXXCPP $CPPFLAGS'
80909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80913 cat >conftest.$ac_ext <<_ACEOF
80914 /* confdefs.h. */
80915 _ACEOF
80916 cat confdefs.h >>conftest.$ac_ext
80917 cat >>conftest.$ac_ext <<_ACEOF
80918 /* end confdefs.h. */
80919 #include <math.h>
80920 #ifdef HAVE_IEEEFP_H
80921 #include <ieeefp.h>
80922 #endif
80925 main ()
80927 fpclass(0);
80929 return 0;
80931 _ACEOF
80932 rm -f conftest.$ac_objext
80933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80934 (eval $ac_compile) 2>conftest.er1
80935 ac_status=$?
80936 grep -v '^ *+' conftest.er1 >conftest.err
80937 rm -f conftest.er1
80938 cat conftest.err >&5
80939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80940 (exit $ac_status); } &&
80941 { ac_try='test -z "$ac_cxx_werror_flag"
80942 || test ! -s conftest.err'
80943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80944 (eval $ac_try) 2>&5
80945 ac_status=$?
80946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80947 (exit $ac_status); }; } &&
80948 { ac_try='test -s conftest.$ac_objext'
80949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80950 (eval $ac_try) 2>&5
80951 ac_status=$?
80952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80953 (exit $ac_status); }; }; then
80954 glibcxx_cv_func_fpclass_use=yes
80955 else
80956 echo "$as_me: failed program was:" >&5
80957 sed 's/^/| /' conftest.$ac_ext >&5
80959 glibcxx_cv_func_fpclass_use=no
80961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80962 ac_ext=c
80963 ac_cpp='$CPP $CPPFLAGS'
80964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80972 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
80973 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
80975 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
80977 for ac_func in fpclass
80979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80980 echo "$as_me:$LINENO: checking for $ac_func" >&5
80981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80982 if eval "test \"\${$as_ac_var+set}\" = set"; then
80983 echo $ECHO_N "(cached) $ECHO_C" >&6
80984 else
80985 if test x$gcc_no_link = xyes; then
80986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80988 { (exit 1); exit 1; }; }
80990 cat >conftest.$ac_ext <<_ACEOF
80991 /* confdefs.h. */
80992 _ACEOF
80993 cat confdefs.h >>conftest.$ac_ext
80994 cat >>conftest.$ac_ext <<_ACEOF
80995 /* end confdefs.h. */
80996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80998 #define $ac_func innocuous_$ac_func
81000 /* System header to define __stub macros and hopefully few prototypes,
81001 which can conflict with char $ac_func (); below.
81002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81003 <limits.h> exists even on freestanding compilers. */
81005 #ifdef __STDC__
81006 # include <limits.h>
81007 #else
81008 # include <assert.h>
81009 #endif
81011 #undef $ac_func
81013 /* Override any gcc2 internal prototype to avoid an error. */
81014 #ifdef __cplusplus
81015 extern "C"
81017 #endif
81018 /* We use char because int might match the return type of a gcc2
81019 builtin and then its argument prototype would still apply. */
81020 char $ac_func ();
81021 /* The GNU C library defines this for functions which it implements
81022 to always fail with ENOSYS. Some functions are actually named
81023 something starting with __ and the normal name is an alias. */
81024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81025 choke me
81026 #else
81027 char (*f) () = $ac_func;
81028 #endif
81029 #ifdef __cplusplus
81031 #endif
81034 main ()
81036 return f != $ac_func;
81038 return 0;
81040 _ACEOF
81041 rm -f conftest.$ac_objext conftest$ac_exeext
81042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81043 (eval $ac_link) 2>conftest.er1
81044 ac_status=$?
81045 grep -v '^ *+' conftest.er1 >conftest.err
81046 rm -f conftest.er1
81047 cat conftest.err >&5
81048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81049 (exit $ac_status); } &&
81050 { ac_try='test -z "$ac_c_werror_flag"
81051 || test ! -s conftest.err'
81052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81053 (eval $ac_try) 2>&5
81054 ac_status=$?
81055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81056 (exit $ac_status); }; } &&
81057 { ac_try='test -s conftest$ac_exeext'
81058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81059 (eval $ac_try) 2>&5
81060 ac_status=$?
81061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81062 (exit $ac_status); }; }; then
81063 eval "$as_ac_var=yes"
81064 else
81065 echo "$as_me: failed program was:" >&5
81066 sed 's/^/| /' conftest.$ac_ext >&5
81068 eval "$as_ac_var=no"
81070 rm -f conftest.err conftest.$ac_objext \
81071 conftest$ac_exeext conftest.$ac_ext
81073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81075 if test `eval echo '${'$as_ac_var'}'` = yes; then
81076 cat >>confdefs.h <<_ACEOF
81077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81078 _ACEOF
81081 done
81083 else
81085 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
81086 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
81087 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
81088 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
81089 echo $ECHO_N "(cached) $ECHO_C" >&6
81090 else
81094 ac_ext=cc
81095 ac_cpp='$CXXCPP $CPPFLAGS'
81096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81100 cat >conftest.$ac_ext <<_ACEOF
81101 /* confdefs.h. */
81102 _ACEOF
81103 cat confdefs.h >>conftest.$ac_ext
81104 cat >>conftest.$ac_ext <<_ACEOF
81105 /* end confdefs.h. */
81106 #include <math.h>
81107 #ifdef HAVE_IEEEFP_H
81108 #include <ieeefp.h>
81109 #endif
81112 main ()
81114 _fpclass(0);
81116 return 0;
81118 _ACEOF
81119 rm -f conftest.$ac_objext
81120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81121 (eval $ac_compile) 2>conftest.er1
81122 ac_status=$?
81123 grep -v '^ *+' conftest.er1 >conftest.err
81124 rm -f conftest.er1
81125 cat conftest.err >&5
81126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81127 (exit $ac_status); } &&
81128 { ac_try='test -z "$ac_cxx_werror_flag"
81129 || test ! -s conftest.err'
81130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81131 (eval $ac_try) 2>&5
81132 ac_status=$?
81133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81134 (exit $ac_status); }; } &&
81135 { ac_try='test -s conftest.$ac_objext'
81136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81137 (eval $ac_try) 2>&5
81138 ac_status=$?
81139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81140 (exit $ac_status); }; }; then
81141 glibcxx_cv_func__fpclass_use=yes
81142 else
81143 echo "$as_me: failed program was:" >&5
81144 sed 's/^/| /' conftest.$ac_ext >&5
81146 glibcxx_cv_func__fpclass_use=no
81148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81149 ac_ext=c
81150 ac_cpp='$CPP $CPPFLAGS'
81151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81159 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
81160 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
81162 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
81164 for ac_func in _fpclass
81166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81167 echo "$as_me:$LINENO: checking for $ac_func" >&5
81168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81169 if eval "test \"\${$as_ac_var+set}\" = set"; then
81170 echo $ECHO_N "(cached) $ECHO_C" >&6
81171 else
81172 if test x$gcc_no_link = xyes; then
81173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81175 { (exit 1); exit 1; }; }
81177 cat >conftest.$ac_ext <<_ACEOF
81178 /* confdefs.h. */
81179 _ACEOF
81180 cat confdefs.h >>conftest.$ac_ext
81181 cat >>conftest.$ac_ext <<_ACEOF
81182 /* end confdefs.h. */
81183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81185 #define $ac_func innocuous_$ac_func
81187 /* System header to define __stub macros and hopefully few prototypes,
81188 which can conflict with char $ac_func (); below.
81189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81190 <limits.h> exists even on freestanding compilers. */
81192 #ifdef __STDC__
81193 # include <limits.h>
81194 #else
81195 # include <assert.h>
81196 #endif
81198 #undef $ac_func
81200 /* Override any gcc2 internal prototype to avoid an error. */
81201 #ifdef __cplusplus
81202 extern "C"
81204 #endif
81205 /* We use char because int might match the return type of a gcc2
81206 builtin and then its argument prototype would still apply. */
81207 char $ac_func ();
81208 /* The GNU C library defines this for functions which it implements
81209 to always fail with ENOSYS. Some functions are actually named
81210 something starting with __ and the normal name is an alias. */
81211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81212 choke me
81213 #else
81214 char (*f) () = $ac_func;
81215 #endif
81216 #ifdef __cplusplus
81218 #endif
81221 main ()
81223 return f != $ac_func;
81225 return 0;
81227 _ACEOF
81228 rm -f conftest.$ac_objext conftest$ac_exeext
81229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81230 (eval $ac_link) 2>conftest.er1
81231 ac_status=$?
81232 grep -v '^ *+' conftest.er1 >conftest.err
81233 rm -f conftest.er1
81234 cat conftest.err >&5
81235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81236 (exit $ac_status); } &&
81237 { ac_try='test -z "$ac_c_werror_flag"
81238 || test ! -s conftest.err'
81239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81240 (eval $ac_try) 2>&5
81241 ac_status=$?
81242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81243 (exit $ac_status); }; } &&
81244 { ac_try='test -s conftest$ac_exeext'
81245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81246 (eval $ac_try) 2>&5
81247 ac_status=$?
81248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81249 (exit $ac_status); }; }; then
81250 eval "$as_ac_var=yes"
81251 else
81252 echo "$as_me: failed program was:" >&5
81253 sed 's/^/| /' conftest.$ac_ext >&5
81255 eval "$as_ac_var=no"
81257 rm -f conftest.err conftest.$ac_objext \
81258 conftest$ac_exeext conftest.$ac_ext
81260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81262 if test `eval echo '${'$as_ac_var'}'` = yes; then
81263 cat >>confdefs.h <<_ACEOF
81264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81265 _ACEOF
81268 done
81278 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
81279 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
81280 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
81281 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
81282 echo $ECHO_N "(cached) $ECHO_C" >&6
81283 else
81287 ac_ext=cc
81288 ac_cpp='$CXXCPP $CPPFLAGS'
81289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81293 cat >conftest.$ac_ext <<_ACEOF
81294 /* confdefs.h. */
81295 _ACEOF
81296 cat confdefs.h >>conftest.$ac_ext
81297 cat >>conftest.$ac_ext <<_ACEOF
81298 /* end confdefs.h. */
81299 #include <math.h>
81300 #ifdef HAVE_IEEEFP_H
81301 #include <ieeefp.h>
81302 #endif
81305 main ()
81307 qfpclass(0);
81309 return 0;
81311 _ACEOF
81312 rm -f conftest.$ac_objext
81313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81314 (eval $ac_compile) 2>conftest.er1
81315 ac_status=$?
81316 grep -v '^ *+' conftest.er1 >conftest.err
81317 rm -f conftest.er1
81318 cat conftest.err >&5
81319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81320 (exit $ac_status); } &&
81321 { ac_try='test -z "$ac_cxx_werror_flag"
81322 || test ! -s conftest.err'
81323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81324 (eval $ac_try) 2>&5
81325 ac_status=$?
81326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81327 (exit $ac_status); }; } &&
81328 { ac_try='test -s conftest.$ac_objext'
81329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81330 (eval $ac_try) 2>&5
81331 ac_status=$?
81332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81333 (exit $ac_status); }; }; then
81334 glibcxx_cv_func_qfpclass_use=yes
81335 else
81336 echo "$as_me: failed program was:" >&5
81337 sed 's/^/| /' conftest.$ac_ext >&5
81339 glibcxx_cv_func_qfpclass_use=no
81341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81342 ac_ext=c
81343 ac_cpp='$CPP $CPPFLAGS'
81344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
81353 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
81355 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
81357 for ac_func in qfpclass
81359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81360 echo "$as_me:$LINENO: checking for $ac_func" >&5
81361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81362 if eval "test \"\${$as_ac_var+set}\" = set"; then
81363 echo $ECHO_N "(cached) $ECHO_C" >&6
81364 else
81365 if test x$gcc_no_link = xyes; then
81366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81368 { (exit 1); exit 1; }; }
81370 cat >conftest.$ac_ext <<_ACEOF
81371 /* confdefs.h. */
81372 _ACEOF
81373 cat confdefs.h >>conftest.$ac_ext
81374 cat >>conftest.$ac_ext <<_ACEOF
81375 /* end confdefs.h. */
81376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81378 #define $ac_func innocuous_$ac_func
81380 /* System header to define __stub macros and hopefully few prototypes,
81381 which can conflict with char $ac_func (); below.
81382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81383 <limits.h> exists even on freestanding compilers. */
81385 #ifdef __STDC__
81386 # include <limits.h>
81387 #else
81388 # include <assert.h>
81389 #endif
81391 #undef $ac_func
81393 /* Override any gcc2 internal prototype to avoid an error. */
81394 #ifdef __cplusplus
81395 extern "C"
81397 #endif
81398 /* We use char because int might match the return type of a gcc2
81399 builtin and then its argument prototype would still apply. */
81400 char $ac_func ();
81401 /* The GNU C library defines this for functions which it implements
81402 to always fail with ENOSYS. Some functions are actually named
81403 something starting with __ and the normal name is an alias. */
81404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81405 choke me
81406 #else
81407 char (*f) () = $ac_func;
81408 #endif
81409 #ifdef __cplusplus
81411 #endif
81414 main ()
81416 return f != $ac_func;
81418 return 0;
81420 _ACEOF
81421 rm -f conftest.$ac_objext conftest$ac_exeext
81422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81423 (eval $ac_link) 2>conftest.er1
81424 ac_status=$?
81425 grep -v '^ *+' conftest.er1 >conftest.err
81426 rm -f conftest.er1
81427 cat conftest.err >&5
81428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81429 (exit $ac_status); } &&
81430 { ac_try='test -z "$ac_c_werror_flag"
81431 || test ! -s conftest.err'
81432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81433 (eval $ac_try) 2>&5
81434 ac_status=$?
81435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81436 (exit $ac_status); }; } &&
81437 { ac_try='test -s conftest$ac_exeext'
81438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81439 (eval $ac_try) 2>&5
81440 ac_status=$?
81441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81442 (exit $ac_status); }; }; then
81443 eval "$as_ac_var=yes"
81444 else
81445 echo "$as_me: failed program was:" >&5
81446 sed 's/^/| /' conftest.$ac_ext >&5
81448 eval "$as_ac_var=no"
81450 rm -f conftest.err conftest.$ac_objext \
81451 conftest$ac_exeext conftest.$ac_ext
81453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81455 if test `eval echo '${'$as_ac_var'}'` = yes; then
81456 cat >>confdefs.h <<_ACEOF
81457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81458 _ACEOF
81461 done
81463 else
81465 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
81466 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
81467 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
81468 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
81469 echo $ECHO_N "(cached) $ECHO_C" >&6
81470 else
81474 ac_ext=cc
81475 ac_cpp='$CXXCPP $CPPFLAGS'
81476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81480 cat >conftest.$ac_ext <<_ACEOF
81481 /* confdefs.h. */
81482 _ACEOF
81483 cat confdefs.h >>conftest.$ac_ext
81484 cat >>conftest.$ac_ext <<_ACEOF
81485 /* end confdefs.h. */
81486 #include <math.h>
81487 #ifdef HAVE_IEEEFP_H
81488 #include <ieeefp.h>
81489 #endif
81492 main ()
81494 _qfpclass(0);
81496 return 0;
81498 _ACEOF
81499 rm -f conftest.$ac_objext
81500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81501 (eval $ac_compile) 2>conftest.er1
81502 ac_status=$?
81503 grep -v '^ *+' conftest.er1 >conftest.err
81504 rm -f conftest.er1
81505 cat conftest.err >&5
81506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81507 (exit $ac_status); } &&
81508 { ac_try='test -z "$ac_cxx_werror_flag"
81509 || test ! -s conftest.err'
81510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81511 (eval $ac_try) 2>&5
81512 ac_status=$?
81513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81514 (exit $ac_status); }; } &&
81515 { ac_try='test -s conftest.$ac_objext'
81516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81517 (eval $ac_try) 2>&5
81518 ac_status=$?
81519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81520 (exit $ac_status); }; }; then
81521 glibcxx_cv_func__qfpclass_use=yes
81522 else
81523 echo "$as_me: failed program was:" >&5
81524 sed 's/^/| /' conftest.$ac_ext >&5
81526 glibcxx_cv_func__qfpclass_use=no
81528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81529 ac_ext=c
81530 ac_cpp='$CPP $CPPFLAGS'
81531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81539 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
81540 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
81542 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
81544 for ac_func in _qfpclass
81546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81547 echo "$as_me:$LINENO: checking for $ac_func" >&5
81548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81549 if eval "test \"\${$as_ac_var+set}\" = set"; then
81550 echo $ECHO_N "(cached) $ECHO_C" >&6
81551 else
81552 if test x$gcc_no_link = xyes; then
81553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81555 { (exit 1); exit 1; }; }
81557 cat >conftest.$ac_ext <<_ACEOF
81558 /* confdefs.h. */
81559 _ACEOF
81560 cat confdefs.h >>conftest.$ac_ext
81561 cat >>conftest.$ac_ext <<_ACEOF
81562 /* end confdefs.h. */
81563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81565 #define $ac_func innocuous_$ac_func
81567 /* System header to define __stub macros and hopefully few prototypes,
81568 which can conflict with char $ac_func (); below.
81569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81570 <limits.h> exists even on freestanding compilers. */
81572 #ifdef __STDC__
81573 # include <limits.h>
81574 #else
81575 # include <assert.h>
81576 #endif
81578 #undef $ac_func
81580 /* Override any gcc2 internal prototype to avoid an error. */
81581 #ifdef __cplusplus
81582 extern "C"
81584 #endif
81585 /* We use char because int might match the return type of a gcc2
81586 builtin and then its argument prototype would still apply. */
81587 char $ac_func ();
81588 /* The GNU C library defines this for functions which it implements
81589 to always fail with ENOSYS. Some functions are actually named
81590 something starting with __ and the normal name is an alias. */
81591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81592 choke me
81593 #else
81594 char (*f) () = $ac_func;
81595 #endif
81596 #ifdef __cplusplus
81598 #endif
81601 main ()
81603 return f != $ac_func;
81605 return 0;
81607 _ACEOF
81608 rm -f conftest.$ac_objext conftest$ac_exeext
81609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81610 (eval $ac_link) 2>conftest.er1
81611 ac_status=$?
81612 grep -v '^ *+' conftest.er1 >conftest.err
81613 rm -f conftest.er1
81614 cat conftest.err >&5
81615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81616 (exit $ac_status); } &&
81617 { ac_try='test -z "$ac_c_werror_flag"
81618 || test ! -s conftest.err'
81619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81620 (eval $ac_try) 2>&5
81621 ac_status=$?
81622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81623 (exit $ac_status); }; } &&
81624 { ac_try='test -s conftest$ac_exeext'
81625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81626 (eval $ac_try) 2>&5
81627 ac_status=$?
81628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81629 (exit $ac_status); }; }; then
81630 eval "$as_ac_var=yes"
81631 else
81632 echo "$as_me: failed program was:" >&5
81633 sed 's/^/| /' conftest.$ac_ext >&5
81635 eval "$as_ac_var=no"
81637 rm -f conftest.err conftest.$ac_objext \
81638 conftest$ac_exeext conftest.$ac_ext
81640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81642 if test `eval echo '${'$as_ac_var'}'` = yes; then
81643 cat >>confdefs.h <<_ACEOF
81644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81645 _ACEOF
81648 done
81658 echo "$as_me:$LINENO: checking for hypot declaration" >&5
81659 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
81660 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
81661 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
81662 echo $ECHO_N "(cached) $ECHO_C" >&6
81663 else
81667 ac_ext=cc
81668 ac_cpp='$CXXCPP $CPPFLAGS'
81669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81673 cat >conftest.$ac_ext <<_ACEOF
81674 /* confdefs.h. */
81675 _ACEOF
81676 cat confdefs.h >>conftest.$ac_ext
81677 cat >>conftest.$ac_ext <<_ACEOF
81678 /* end confdefs.h. */
81679 #include <math.h>
81681 main ()
81683 hypot(0, 0);
81685 return 0;
81687 _ACEOF
81688 rm -f conftest.$ac_objext
81689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81690 (eval $ac_compile) 2>conftest.er1
81691 ac_status=$?
81692 grep -v '^ *+' conftest.er1 >conftest.err
81693 rm -f conftest.er1
81694 cat conftest.err >&5
81695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81696 (exit $ac_status); } &&
81697 { ac_try='test -z "$ac_cxx_werror_flag"
81698 || test ! -s conftest.err'
81699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81700 (eval $ac_try) 2>&5
81701 ac_status=$?
81702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81703 (exit $ac_status); }; } &&
81704 { ac_try='test -s conftest.$ac_objext'
81705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81706 (eval $ac_try) 2>&5
81707 ac_status=$?
81708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81709 (exit $ac_status); }; }; then
81710 glibcxx_cv_func_hypot_use=yes
81711 else
81712 echo "$as_me: failed program was:" >&5
81713 sed 's/^/| /' conftest.$ac_ext >&5
81715 glibcxx_cv_func_hypot_use=no
81717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81718 ac_ext=c
81719 ac_cpp='$CPP $CPPFLAGS'
81720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
81729 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
81731 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
81733 for ac_func in hypot
81735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81736 echo "$as_me:$LINENO: checking for $ac_func" >&5
81737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81738 if eval "test \"\${$as_ac_var+set}\" = set"; then
81739 echo $ECHO_N "(cached) $ECHO_C" >&6
81740 else
81741 if test x$gcc_no_link = xyes; then
81742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81744 { (exit 1); exit 1; }; }
81746 cat >conftest.$ac_ext <<_ACEOF
81747 /* confdefs.h. */
81748 _ACEOF
81749 cat confdefs.h >>conftest.$ac_ext
81750 cat >>conftest.$ac_ext <<_ACEOF
81751 /* end confdefs.h. */
81752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81754 #define $ac_func innocuous_$ac_func
81756 /* System header to define __stub macros and hopefully few prototypes,
81757 which can conflict with char $ac_func (); below.
81758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81759 <limits.h> exists even on freestanding compilers. */
81761 #ifdef __STDC__
81762 # include <limits.h>
81763 #else
81764 # include <assert.h>
81765 #endif
81767 #undef $ac_func
81769 /* Override any gcc2 internal prototype to avoid an error. */
81770 #ifdef __cplusplus
81771 extern "C"
81773 #endif
81774 /* We use char because int might match the return type of a gcc2
81775 builtin and then its argument prototype would still apply. */
81776 char $ac_func ();
81777 /* The GNU C library defines this for functions which it implements
81778 to always fail with ENOSYS. Some functions are actually named
81779 something starting with __ and the normal name is an alias. */
81780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81781 choke me
81782 #else
81783 char (*f) () = $ac_func;
81784 #endif
81785 #ifdef __cplusplus
81787 #endif
81790 main ()
81792 return f != $ac_func;
81794 return 0;
81796 _ACEOF
81797 rm -f conftest.$ac_objext conftest$ac_exeext
81798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81799 (eval $ac_link) 2>conftest.er1
81800 ac_status=$?
81801 grep -v '^ *+' conftest.er1 >conftest.err
81802 rm -f conftest.er1
81803 cat conftest.err >&5
81804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81805 (exit $ac_status); } &&
81806 { ac_try='test -z "$ac_c_werror_flag"
81807 || test ! -s conftest.err'
81808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81809 (eval $ac_try) 2>&5
81810 ac_status=$?
81811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81812 (exit $ac_status); }; } &&
81813 { ac_try='test -s conftest$ac_exeext'
81814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81815 (eval $ac_try) 2>&5
81816 ac_status=$?
81817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81818 (exit $ac_status); }; }; then
81819 eval "$as_ac_var=yes"
81820 else
81821 echo "$as_me: failed program was:" >&5
81822 sed 's/^/| /' conftest.$ac_ext >&5
81824 eval "$as_ac_var=no"
81826 rm -f conftest.err conftest.$ac_objext \
81827 conftest$ac_exeext conftest.$ac_ext
81829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81831 if test `eval echo '${'$as_ac_var'}'` = yes; then
81832 cat >>confdefs.h <<_ACEOF
81833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81834 _ACEOF
81837 done
81839 else
81841 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
81842 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
81843 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
81844 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
81845 echo $ECHO_N "(cached) $ECHO_C" >&6
81846 else
81850 ac_ext=cc
81851 ac_cpp='$CXXCPP $CPPFLAGS'
81852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81856 cat >conftest.$ac_ext <<_ACEOF
81857 /* confdefs.h. */
81858 _ACEOF
81859 cat confdefs.h >>conftest.$ac_ext
81860 cat >>conftest.$ac_ext <<_ACEOF
81861 /* end confdefs.h. */
81862 #include <math.h>
81864 main ()
81866 _hypot(0, 0);
81868 return 0;
81870 _ACEOF
81871 rm -f conftest.$ac_objext
81872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81873 (eval $ac_compile) 2>conftest.er1
81874 ac_status=$?
81875 grep -v '^ *+' conftest.er1 >conftest.err
81876 rm -f conftest.er1
81877 cat conftest.err >&5
81878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81879 (exit $ac_status); } &&
81880 { ac_try='test -z "$ac_cxx_werror_flag"
81881 || test ! -s conftest.err'
81882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81883 (eval $ac_try) 2>&5
81884 ac_status=$?
81885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81886 (exit $ac_status); }; } &&
81887 { ac_try='test -s conftest.$ac_objext'
81888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81889 (eval $ac_try) 2>&5
81890 ac_status=$?
81891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81892 (exit $ac_status); }; }; then
81893 glibcxx_cv_func__hypot_use=yes
81894 else
81895 echo "$as_me: failed program was:" >&5
81896 sed 's/^/| /' conftest.$ac_ext >&5
81898 glibcxx_cv_func__hypot_use=no
81900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81901 ac_ext=c
81902 ac_cpp='$CPP $CPPFLAGS'
81903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
81912 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
81914 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
81916 for ac_func in _hypot
81918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81919 echo "$as_me:$LINENO: checking for $ac_func" >&5
81920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81921 if eval "test \"\${$as_ac_var+set}\" = set"; then
81922 echo $ECHO_N "(cached) $ECHO_C" >&6
81923 else
81924 if test x$gcc_no_link = xyes; then
81925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81927 { (exit 1); exit 1; }; }
81929 cat >conftest.$ac_ext <<_ACEOF
81930 /* confdefs.h. */
81931 _ACEOF
81932 cat confdefs.h >>conftest.$ac_ext
81933 cat >>conftest.$ac_ext <<_ACEOF
81934 /* end confdefs.h. */
81935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81937 #define $ac_func innocuous_$ac_func
81939 /* System header to define __stub macros and hopefully few prototypes,
81940 which can conflict with char $ac_func (); below.
81941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81942 <limits.h> exists even on freestanding compilers. */
81944 #ifdef __STDC__
81945 # include <limits.h>
81946 #else
81947 # include <assert.h>
81948 #endif
81950 #undef $ac_func
81952 /* Override any gcc2 internal prototype to avoid an error. */
81953 #ifdef __cplusplus
81954 extern "C"
81956 #endif
81957 /* We use char because int might match the return type of a gcc2
81958 builtin and then its argument prototype would still apply. */
81959 char $ac_func ();
81960 /* The GNU C library defines this for functions which it implements
81961 to always fail with ENOSYS. Some functions are actually named
81962 something starting with __ and the normal name is an alias. */
81963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81964 choke me
81965 #else
81966 char (*f) () = $ac_func;
81967 #endif
81968 #ifdef __cplusplus
81970 #endif
81973 main ()
81975 return f != $ac_func;
81977 return 0;
81979 _ACEOF
81980 rm -f conftest.$ac_objext conftest$ac_exeext
81981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81982 (eval $ac_link) 2>conftest.er1
81983 ac_status=$?
81984 grep -v '^ *+' conftest.er1 >conftest.err
81985 rm -f conftest.er1
81986 cat conftest.err >&5
81987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81988 (exit $ac_status); } &&
81989 { ac_try='test -z "$ac_c_werror_flag"
81990 || test ! -s conftest.err'
81991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81992 (eval $ac_try) 2>&5
81993 ac_status=$?
81994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81995 (exit $ac_status); }; } &&
81996 { ac_try='test -s conftest$ac_exeext'
81997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81998 (eval $ac_try) 2>&5
81999 ac_status=$?
82000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82001 (exit $ac_status); }; }; then
82002 eval "$as_ac_var=yes"
82003 else
82004 echo "$as_me: failed program was:" >&5
82005 sed 's/^/| /' conftest.$ac_ext >&5
82007 eval "$as_ac_var=no"
82009 rm -f conftest.err conftest.$ac_objext \
82010 conftest$ac_exeext conftest.$ac_ext
82012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82014 if test `eval echo '${'$as_ac_var'}'` = yes; then
82015 cat >>confdefs.h <<_ACEOF
82016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82017 _ACEOF
82020 done
82030 echo "$as_me:$LINENO: checking for float trig functions" >&5
82031 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
82032 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
82033 echo $ECHO_N "(cached) $ECHO_C" >&6
82034 else
82038 ac_ext=cc
82039 ac_cpp='$CXXCPP $CPPFLAGS'
82040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82044 cat >conftest.$ac_ext <<_ACEOF
82045 /* confdefs.h. */
82046 _ACEOF
82047 cat confdefs.h >>conftest.$ac_ext
82048 cat >>conftest.$ac_ext <<_ACEOF
82049 /* end confdefs.h. */
82050 #include <math.h>
82052 main ()
82054 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
82056 return 0;
82058 _ACEOF
82059 rm -f conftest.$ac_objext
82060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82061 (eval $ac_compile) 2>conftest.er1
82062 ac_status=$?
82063 grep -v '^ *+' conftest.er1 >conftest.err
82064 rm -f conftest.er1
82065 cat conftest.err >&5
82066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82067 (exit $ac_status); } &&
82068 { ac_try='test -z "$ac_cxx_werror_flag"
82069 || test ! -s conftest.err'
82070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82071 (eval $ac_try) 2>&5
82072 ac_status=$?
82073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82074 (exit $ac_status); }; } &&
82075 { ac_try='test -s conftest.$ac_objext'
82076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82077 (eval $ac_try) 2>&5
82078 ac_status=$?
82079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82080 (exit $ac_status); }; }; then
82081 glibcxx_cv_func_float_trig_use=yes
82082 else
82083 echo "$as_me: failed program was:" >&5
82084 sed 's/^/| /' conftest.$ac_ext >&5
82086 glibcxx_cv_func_float_trig_use=no
82088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82089 ac_ext=c
82090 ac_cpp='$CPP $CPPFLAGS'
82091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82097 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
82098 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
82099 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
82109 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
82111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82112 echo "$as_me:$LINENO: checking for $ac_func" >&5
82113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82114 if eval "test \"\${$as_ac_var+set}\" = set"; then
82115 echo $ECHO_N "(cached) $ECHO_C" >&6
82116 else
82117 if test x$gcc_no_link = xyes; then
82118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82120 { (exit 1); exit 1; }; }
82122 cat >conftest.$ac_ext <<_ACEOF
82123 /* confdefs.h. */
82124 _ACEOF
82125 cat confdefs.h >>conftest.$ac_ext
82126 cat >>conftest.$ac_ext <<_ACEOF
82127 /* end confdefs.h. */
82128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82130 #define $ac_func innocuous_$ac_func
82132 /* System header to define __stub macros and hopefully few prototypes,
82133 which can conflict with char $ac_func (); below.
82134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82135 <limits.h> exists even on freestanding compilers. */
82137 #ifdef __STDC__
82138 # include <limits.h>
82139 #else
82140 # include <assert.h>
82141 #endif
82143 #undef $ac_func
82145 /* Override any gcc2 internal prototype to avoid an error. */
82146 #ifdef __cplusplus
82147 extern "C"
82149 #endif
82150 /* We use char because int might match the return type of a gcc2
82151 builtin and then its argument prototype would still apply. */
82152 char $ac_func ();
82153 /* The GNU C library defines this for functions which it implements
82154 to always fail with ENOSYS. Some functions are actually named
82155 something starting with __ and the normal name is an alias. */
82156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82157 choke me
82158 #else
82159 char (*f) () = $ac_func;
82160 #endif
82161 #ifdef __cplusplus
82163 #endif
82166 main ()
82168 return f != $ac_func;
82170 return 0;
82172 _ACEOF
82173 rm -f conftest.$ac_objext conftest$ac_exeext
82174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82175 (eval $ac_link) 2>conftest.er1
82176 ac_status=$?
82177 grep -v '^ *+' conftest.er1 >conftest.err
82178 rm -f conftest.er1
82179 cat conftest.err >&5
82180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82181 (exit $ac_status); } &&
82182 { ac_try='test -z "$ac_c_werror_flag"
82183 || test ! -s conftest.err'
82184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82185 (eval $ac_try) 2>&5
82186 ac_status=$?
82187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82188 (exit $ac_status); }; } &&
82189 { ac_try='test -s conftest$ac_exeext'
82190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82191 (eval $ac_try) 2>&5
82192 ac_status=$?
82193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82194 (exit $ac_status); }; }; then
82195 eval "$as_ac_var=yes"
82196 else
82197 echo "$as_me: failed program was:" >&5
82198 sed 's/^/| /' conftest.$ac_ext >&5
82200 eval "$as_ac_var=no"
82202 rm -f conftest.err conftest.$ac_objext \
82203 conftest$ac_exeext conftest.$ac_ext
82205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82207 if test `eval echo '${'$as_ac_var'}'` = yes; then
82208 cat >>confdefs.h <<_ACEOF
82209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82210 _ACEOF
82213 done
82215 else
82216 echo "$as_me:$LINENO: checking for _float trig functions" >&5
82217 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
82218 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
82219 echo $ECHO_N "(cached) $ECHO_C" >&6
82220 else
82224 ac_ext=cc
82225 ac_cpp='$CXXCPP $CPPFLAGS'
82226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82230 cat >conftest.$ac_ext <<_ACEOF
82231 /* confdefs.h. */
82232 _ACEOF
82233 cat confdefs.h >>conftest.$ac_ext
82234 cat >>conftest.$ac_ext <<_ACEOF
82235 /* end confdefs.h. */
82236 #include <math.h>
82238 main ()
82240 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
82242 return 0;
82244 _ACEOF
82245 rm -f conftest.$ac_objext
82246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82247 (eval $ac_compile) 2>conftest.er1
82248 ac_status=$?
82249 grep -v '^ *+' conftest.er1 >conftest.err
82250 rm -f conftest.er1
82251 cat conftest.err >&5
82252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82253 (exit $ac_status); } &&
82254 { ac_try='test -z "$ac_cxx_werror_flag"
82255 || test ! -s conftest.err'
82256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82257 (eval $ac_try) 2>&5
82258 ac_status=$?
82259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82260 (exit $ac_status); }; } &&
82261 { ac_try='test -s conftest.$ac_objext'
82262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82263 (eval $ac_try) 2>&5
82264 ac_status=$?
82265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82266 (exit $ac_status); }; }; then
82267 glibcxx_cv_func__float_trig_use=yes
82268 else
82269 echo "$as_me: failed program was:" >&5
82270 sed 's/^/| /' conftest.$ac_ext >&5
82272 glibcxx_cv_func__float_trig_use=no
82274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82275 ac_ext=c
82276 ac_cpp='$CPP $CPPFLAGS'
82277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82283 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
82284 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
82285 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
82295 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
82297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82298 echo "$as_me:$LINENO: checking for $ac_func" >&5
82299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82300 if eval "test \"\${$as_ac_var+set}\" = set"; then
82301 echo $ECHO_N "(cached) $ECHO_C" >&6
82302 else
82303 if test x$gcc_no_link = xyes; then
82304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82306 { (exit 1); exit 1; }; }
82308 cat >conftest.$ac_ext <<_ACEOF
82309 /* confdefs.h. */
82310 _ACEOF
82311 cat confdefs.h >>conftest.$ac_ext
82312 cat >>conftest.$ac_ext <<_ACEOF
82313 /* end confdefs.h. */
82314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82316 #define $ac_func innocuous_$ac_func
82318 /* System header to define __stub macros and hopefully few prototypes,
82319 which can conflict with char $ac_func (); below.
82320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82321 <limits.h> exists even on freestanding compilers. */
82323 #ifdef __STDC__
82324 # include <limits.h>
82325 #else
82326 # include <assert.h>
82327 #endif
82329 #undef $ac_func
82331 /* Override any gcc2 internal prototype to avoid an error. */
82332 #ifdef __cplusplus
82333 extern "C"
82335 #endif
82336 /* We use char because int might match the return type of a gcc2
82337 builtin and then its argument prototype would still apply. */
82338 char $ac_func ();
82339 /* The GNU C library defines this for functions which it implements
82340 to always fail with ENOSYS. Some functions are actually named
82341 something starting with __ and the normal name is an alias. */
82342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82343 choke me
82344 #else
82345 char (*f) () = $ac_func;
82346 #endif
82347 #ifdef __cplusplus
82349 #endif
82352 main ()
82354 return f != $ac_func;
82356 return 0;
82358 _ACEOF
82359 rm -f conftest.$ac_objext conftest$ac_exeext
82360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82361 (eval $ac_link) 2>conftest.er1
82362 ac_status=$?
82363 grep -v '^ *+' conftest.er1 >conftest.err
82364 rm -f conftest.er1
82365 cat conftest.err >&5
82366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82367 (exit $ac_status); } &&
82368 { ac_try='test -z "$ac_c_werror_flag"
82369 || test ! -s conftest.err'
82370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82371 (eval $ac_try) 2>&5
82372 ac_status=$?
82373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82374 (exit $ac_status); }; } &&
82375 { ac_try='test -s conftest$ac_exeext'
82376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82377 (eval $ac_try) 2>&5
82378 ac_status=$?
82379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82380 (exit $ac_status); }; }; then
82381 eval "$as_ac_var=yes"
82382 else
82383 echo "$as_me: failed program was:" >&5
82384 sed 's/^/| /' conftest.$ac_ext >&5
82386 eval "$as_ac_var=no"
82388 rm -f conftest.err conftest.$ac_objext \
82389 conftest$ac_exeext conftest.$ac_ext
82391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82393 if test `eval echo '${'$as_ac_var'}'` = yes; then
82394 cat >>confdefs.h <<_ACEOF
82395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82396 _ACEOF
82399 done
82417 echo "$as_me:$LINENO: checking for float round functions" >&5
82418 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
82419 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
82420 echo $ECHO_N "(cached) $ECHO_C" >&6
82421 else
82425 ac_ext=cc
82426 ac_cpp='$CXXCPP $CPPFLAGS'
82427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82431 cat >conftest.$ac_ext <<_ACEOF
82432 /* confdefs.h. */
82433 _ACEOF
82434 cat confdefs.h >>conftest.$ac_ext
82435 cat >>conftest.$ac_ext <<_ACEOF
82436 /* end confdefs.h. */
82437 #include <math.h>
82439 main ()
82441 ceilf (0); floorf (0);
82443 return 0;
82445 _ACEOF
82446 rm -f conftest.$ac_objext
82447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82448 (eval $ac_compile) 2>conftest.er1
82449 ac_status=$?
82450 grep -v '^ *+' conftest.er1 >conftest.err
82451 rm -f conftest.er1
82452 cat conftest.err >&5
82453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82454 (exit $ac_status); } &&
82455 { ac_try='test -z "$ac_cxx_werror_flag"
82456 || test ! -s conftest.err'
82457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82458 (eval $ac_try) 2>&5
82459 ac_status=$?
82460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82461 (exit $ac_status); }; } &&
82462 { ac_try='test -s conftest.$ac_objext'
82463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82464 (eval $ac_try) 2>&5
82465 ac_status=$?
82466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82467 (exit $ac_status); }; }; then
82468 glibcxx_cv_func_float_round_use=yes
82469 else
82470 echo "$as_me: failed program was:" >&5
82471 sed 's/^/| /' conftest.$ac_ext >&5
82473 glibcxx_cv_func_float_round_use=no
82475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82476 ac_ext=c
82477 ac_cpp='$CPP $CPPFLAGS'
82478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82484 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
82485 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
82486 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
82489 for ac_func in ceilf floorf
82491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82492 echo "$as_me:$LINENO: checking for $ac_func" >&5
82493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82494 if eval "test \"\${$as_ac_var+set}\" = set"; then
82495 echo $ECHO_N "(cached) $ECHO_C" >&6
82496 else
82497 if test x$gcc_no_link = xyes; then
82498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82500 { (exit 1); exit 1; }; }
82502 cat >conftest.$ac_ext <<_ACEOF
82503 /* confdefs.h. */
82504 _ACEOF
82505 cat confdefs.h >>conftest.$ac_ext
82506 cat >>conftest.$ac_ext <<_ACEOF
82507 /* end confdefs.h. */
82508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82510 #define $ac_func innocuous_$ac_func
82512 /* System header to define __stub macros and hopefully few prototypes,
82513 which can conflict with char $ac_func (); below.
82514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82515 <limits.h> exists even on freestanding compilers. */
82517 #ifdef __STDC__
82518 # include <limits.h>
82519 #else
82520 # include <assert.h>
82521 #endif
82523 #undef $ac_func
82525 /* Override any gcc2 internal prototype to avoid an error. */
82526 #ifdef __cplusplus
82527 extern "C"
82529 #endif
82530 /* We use char because int might match the return type of a gcc2
82531 builtin and then its argument prototype would still apply. */
82532 char $ac_func ();
82533 /* The GNU C library defines this for functions which it implements
82534 to always fail with ENOSYS. Some functions are actually named
82535 something starting with __ and the normal name is an alias. */
82536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82537 choke me
82538 #else
82539 char (*f) () = $ac_func;
82540 #endif
82541 #ifdef __cplusplus
82543 #endif
82546 main ()
82548 return f != $ac_func;
82550 return 0;
82552 _ACEOF
82553 rm -f conftest.$ac_objext conftest$ac_exeext
82554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82555 (eval $ac_link) 2>conftest.er1
82556 ac_status=$?
82557 grep -v '^ *+' conftest.er1 >conftest.err
82558 rm -f conftest.er1
82559 cat conftest.err >&5
82560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82561 (exit $ac_status); } &&
82562 { ac_try='test -z "$ac_c_werror_flag"
82563 || test ! -s conftest.err'
82564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82565 (eval $ac_try) 2>&5
82566 ac_status=$?
82567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82568 (exit $ac_status); }; } &&
82569 { ac_try='test -s conftest$ac_exeext'
82570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82571 (eval $ac_try) 2>&5
82572 ac_status=$?
82573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82574 (exit $ac_status); }; }; then
82575 eval "$as_ac_var=yes"
82576 else
82577 echo "$as_me: failed program was:" >&5
82578 sed 's/^/| /' conftest.$ac_ext >&5
82580 eval "$as_ac_var=no"
82582 rm -f conftest.err conftest.$ac_objext \
82583 conftest$ac_exeext conftest.$ac_ext
82585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82587 if test `eval echo '${'$as_ac_var'}'` = yes; then
82588 cat >>confdefs.h <<_ACEOF
82589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82590 _ACEOF
82593 done
82595 else
82596 echo "$as_me:$LINENO: checking for _float round functions" >&5
82597 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
82598 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
82599 echo $ECHO_N "(cached) $ECHO_C" >&6
82600 else
82604 ac_ext=cc
82605 ac_cpp='$CXXCPP $CPPFLAGS'
82606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82610 cat >conftest.$ac_ext <<_ACEOF
82611 /* confdefs.h. */
82612 _ACEOF
82613 cat confdefs.h >>conftest.$ac_ext
82614 cat >>conftest.$ac_ext <<_ACEOF
82615 /* end confdefs.h. */
82616 #include <math.h>
82618 main ()
82620 _ceilf (0); _floorf (0);
82622 return 0;
82624 _ACEOF
82625 rm -f conftest.$ac_objext
82626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82627 (eval $ac_compile) 2>conftest.er1
82628 ac_status=$?
82629 grep -v '^ *+' conftest.er1 >conftest.err
82630 rm -f conftest.er1
82631 cat conftest.err >&5
82632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82633 (exit $ac_status); } &&
82634 { ac_try='test -z "$ac_cxx_werror_flag"
82635 || test ! -s conftest.err'
82636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82637 (eval $ac_try) 2>&5
82638 ac_status=$?
82639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82640 (exit $ac_status); }; } &&
82641 { ac_try='test -s conftest.$ac_objext'
82642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82643 (eval $ac_try) 2>&5
82644 ac_status=$?
82645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82646 (exit $ac_status); }; }; then
82647 glibcxx_cv_func__float_round_use=yes
82648 else
82649 echo "$as_me: failed program was:" >&5
82650 sed 's/^/| /' conftest.$ac_ext >&5
82652 glibcxx_cv_func__float_round_use=no
82654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82655 ac_ext=c
82656 ac_cpp='$CPP $CPPFLAGS'
82657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82663 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
82664 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
82665 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
82668 for ac_func in _ceilf _floorf
82670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82671 echo "$as_me:$LINENO: checking for $ac_func" >&5
82672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82673 if eval "test \"\${$as_ac_var+set}\" = set"; then
82674 echo $ECHO_N "(cached) $ECHO_C" >&6
82675 else
82676 if test x$gcc_no_link = xyes; then
82677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82679 { (exit 1); exit 1; }; }
82681 cat >conftest.$ac_ext <<_ACEOF
82682 /* confdefs.h. */
82683 _ACEOF
82684 cat confdefs.h >>conftest.$ac_ext
82685 cat >>conftest.$ac_ext <<_ACEOF
82686 /* end confdefs.h. */
82687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82689 #define $ac_func innocuous_$ac_func
82691 /* System header to define __stub macros and hopefully few prototypes,
82692 which can conflict with char $ac_func (); below.
82693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82694 <limits.h> exists even on freestanding compilers. */
82696 #ifdef __STDC__
82697 # include <limits.h>
82698 #else
82699 # include <assert.h>
82700 #endif
82702 #undef $ac_func
82704 /* Override any gcc2 internal prototype to avoid an error. */
82705 #ifdef __cplusplus
82706 extern "C"
82708 #endif
82709 /* We use char because int might match the return type of a gcc2
82710 builtin and then its argument prototype would still apply. */
82711 char $ac_func ();
82712 /* The GNU C library defines this for functions which it implements
82713 to always fail with ENOSYS. Some functions are actually named
82714 something starting with __ and the normal name is an alias. */
82715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82716 choke me
82717 #else
82718 char (*f) () = $ac_func;
82719 #endif
82720 #ifdef __cplusplus
82722 #endif
82725 main ()
82727 return f != $ac_func;
82729 return 0;
82731 _ACEOF
82732 rm -f conftest.$ac_objext conftest$ac_exeext
82733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82734 (eval $ac_link) 2>conftest.er1
82735 ac_status=$?
82736 grep -v '^ *+' conftest.er1 >conftest.err
82737 rm -f conftest.er1
82738 cat conftest.err >&5
82739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82740 (exit $ac_status); } &&
82741 { ac_try='test -z "$ac_c_werror_flag"
82742 || test ! -s conftest.err'
82743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82744 (eval $ac_try) 2>&5
82745 ac_status=$?
82746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82747 (exit $ac_status); }; } &&
82748 { ac_try='test -s conftest$ac_exeext'
82749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82750 (eval $ac_try) 2>&5
82751 ac_status=$?
82752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82753 (exit $ac_status); }; }; then
82754 eval "$as_ac_var=yes"
82755 else
82756 echo "$as_me: failed program was:" >&5
82757 sed 's/^/| /' conftest.$ac_ext >&5
82759 eval "$as_ac_var=no"
82761 rm -f conftest.err conftest.$ac_objext \
82762 conftest$ac_exeext conftest.$ac_ext
82764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82766 if test `eval echo '${'$as_ac_var'}'` = yes; then
82767 cat >>confdefs.h <<_ACEOF
82768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82769 _ACEOF
82772 done
82784 echo "$as_me:$LINENO: checking for expf declaration" >&5
82785 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
82786 if test x${glibcxx_cv_func_expf_use+set} != xset; then
82787 if test "${glibcxx_cv_func_expf_use+set}" = set; then
82788 echo $ECHO_N "(cached) $ECHO_C" >&6
82789 else
82793 ac_ext=cc
82794 ac_cpp='$CXXCPP $CPPFLAGS'
82795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82799 cat >conftest.$ac_ext <<_ACEOF
82800 /* confdefs.h. */
82801 _ACEOF
82802 cat confdefs.h >>conftest.$ac_ext
82803 cat >>conftest.$ac_ext <<_ACEOF
82804 /* end confdefs.h. */
82805 #include <math.h>
82806 #ifdef HAVE_IEEEFP_H
82807 #include <ieeefp.h>
82808 #endif
82811 main ()
82813 expf(0);
82815 return 0;
82817 _ACEOF
82818 rm -f conftest.$ac_objext
82819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82820 (eval $ac_compile) 2>conftest.er1
82821 ac_status=$?
82822 grep -v '^ *+' conftest.er1 >conftest.err
82823 rm -f conftest.er1
82824 cat conftest.err >&5
82825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82826 (exit $ac_status); } &&
82827 { ac_try='test -z "$ac_cxx_werror_flag"
82828 || test ! -s conftest.err'
82829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82830 (eval $ac_try) 2>&5
82831 ac_status=$?
82832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82833 (exit $ac_status); }; } &&
82834 { ac_try='test -s conftest.$ac_objext'
82835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82836 (eval $ac_try) 2>&5
82837 ac_status=$?
82838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82839 (exit $ac_status); }; }; then
82840 glibcxx_cv_func_expf_use=yes
82841 else
82842 echo "$as_me: failed program was:" >&5
82843 sed 's/^/| /' conftest.$ac_ext >&5
82845 glibcxx_cv_func_expf_use=no
82847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82848 ac_ext=c
82849 ac_cpp='$CPP $CPPFLAGS'
82850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82858 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
82859 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
82861 if test x$glibcxx_cv_func_expf_use = x"yes"; then
82863 for ac_func in expf
82865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82866 echo "$as_me:$LINENO: checking for $ac_func" >&5
82867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82868 if eval "test \"\${$as_ac_var+set}\" = set"; then
82869 echo $ECHO_N "(cached) $ECHO_C" >&6
82870 else
82871 if test x$gcc_no_link = xyes; then
82872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82874 { (exit 1); exit 1; }; }
82876 cat >conftest.$ac_ext <<_ACEOF
82877 /* confdefs.h. */
82878 _ACEOF
82879 cat confdefs.h >>conftest.$ac_ext
82880 cat >>conftest.$ac_ext <<_ACEOF
82881 /* end confdefs.h. */
82882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82884 #define $ac_func innocuous_$ac_func
82886 /* System header to define __stub macros and hopefully few prototypes,
82887 which can conflict with char $ac_func (); below.
82888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82889 <limits.h> exists even on freestanding compilers. */
82891 #ifdef __STDC__
82892 # include <limits.h>
82893 #else
82894 # include <assert.h>
82895 #endif
82897 #undef $ac_func
82899 /* Override any gcc2 internal prototype to avoid an error. */
82900 #ifdef __cplusplus
82901 extern "C"
82903 #endif
82904 /* We use char because int might match the return type of a gcc2
82905 builtin and then its argument prototype would still apply. */
82906 char $ac_func ();
82907 /* The GNU C library defines this for functions which it implements
82908 to always fail with ENOSYS. Some functions are actually named
82909 something starting with __ and the normal name is an alias. */
82910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82911 choke me
82912 #else
82913 char (*f) () = $ac_func;
82914 #endif
82915 #ifdef __cplusplus
82917 #endif
82920 main ()
82922 return f != $ac_func;
82924 return 0;
82926 _ACEOF
82927 rm -f conftest.$ac_objext conftest$ac_exeext
82928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82929 (eval $ac_link) 2>conftest.er1
82930 ac_status=$?
82931 grep -v '^ *+' conftest.er1 >conftest.err
82932 rm -f conftest.er1
82933 cat conftest.err >&5
82934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82935 (exit $ac_status); } &&
82936 { ac_try='test -z "$ac_c_werror_flag"
82937 || test ! -s conftest.err'
82938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82939 (eval $ac_try) 2>&5
82940 ac_status=$?
82941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82942 (exit $ac_status); }; } &&
82943 { ac_try='test -s conftest$ac_exeext'
82944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82945 (eval $ac_try) 2>&5
82946 ac_status=$?
82947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82948 (exit $ac_status); }; }; then
82949 eval "$as_ac_var=yes"
82950 else
82951 echo "$as_me: failed program was:" >&5
82952 sed 's/^/| /' conftest.$ac_ext >&5
82954 eval "$as_ac_var=no"
82956 rm -f conftest.err conftest.$ac_objext \
82957 conftest$ac_exeext conftest.$ac_ext
82959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82961 if test `eval echo '${'$as_ac_var'}'` = yes; then
82962 cat >>confdefs.h <<_ACEOF
82963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82964 _ACEOF
82967 done
82969 else
82971 echo "$as_me:$LINENO: checking for _expf declaration" >&5
82972 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
82973 if test x${glibcxx_cv_func__expf_use+set} != xset; then
82974 if test "${glibcxx_cv_func__expf_use+set}" = set; then
82975 echo $ECHO_N "(cached) $ECHO_C" >&6
82976 else
82980 ac_ext=cc
82981 ac_cpp='$CXXCPP $CPPFLAGS'
82982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82986 cat >conftest.$ac_ext <<_ACEOF
82987 /* confdefs.h. */
82988 _ACEOF
82989 cat confdefs.h >>conftest.$ac_ext
82990 cat >>conftest.$ac_ext <<_ACEOF
82991 /* end confdefs.h. */
82992 #include <math.h>
82993 #ifdef HAVE_IEEEFP_H
82994 #include <ieeefp.h>
82995 #endif
82998 main ()
83000 _expf(0);
83002 return 0;
83004 _ACEOF
83005 rm -f conftest.$ac_objext
83006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83007 (eval $ac_compile) 2>conftest.er1
83008 ac_status=$?
83009 grep -v '^ *+' conftest.er1 >conftest.err
83010 rm -f conftest.er1
83011 cat conftest.err >&5
83012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83013 (exit $ac_status); } &&
83014 { ac_try='test -z "$ac_cxx_werror_flag"
83015 || test ! -s conftest.err'
83016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83017 (eval $ac_try) 2>&5
83018 ac_status=$?
83019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83020 (exit $ac_status); }; } &&
83021 { ac_try='test -s conftest.$ac_objext'
83022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83023 (eval $ac_try) 2>&5
83024 ac_status=$?
83025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83026 (exit $ac_status); }; }; then
83027 glibcxx_cv_func__expf_use=yes
83028 else
83029 echo "$as_me: failed program was:" >&5
83030 sed 's/^/| /' conftest.$ac_ext >&5
83032 glibcxx_cv_func__expf_use=no
83034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83035 ac_ext=c
83036 ac_cpp='$CPP $CPPFLAGS'
83037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83045 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
83046 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
83048 if test x$glibcxx_cv_func__expf_use = x"yes"; then
83050 for ac_func in _expf
83052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83053 echo "$as_me:$LINENO: checking for $ac_func" >&5
83054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83055 if eval "test \"\${$as_ac_var+set}\" = set"; then
83056 echo $ECHO_N "(cached) $ECHO_C" >&6
83057 else
83058 if test x$gcc_no_link = xyes; then
83059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83061 { (exit 1); exit 1; }; }
83063 cat >conftest.$ac_ext <<_ACEOF
83064 /* confdefs.h. */
83065 _ACEOF
83066 cat confdefs.h >>conftest.$ac_ext
83067 cat >>conftest.$ac_ext <<_ACEOF
83068 /* end confdefs.h. */
83069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83071 #define $ac_func innocuous_$ac_func
83073 /* System header to define __stub macros and hopefully few prototypes,
83074 which can conflict with char $ac_func (); below.
83075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83076 <limits.h> exists even on freestanding compilers. */
83078 #ifdef __STDC__
83079 # include <limits.h>
83080 #else
83081 # include <assert.h>
83082 #endif
83084 #undef $ac_func
83086 /* Override any gcc2 internal prototype to avoid an error. */
83087 #ifdef __cplusplus
83088 extern "C"
83090 #endif
83091 /* We use char because int might match the return type of a gcc2
83092 builtin and then its argument prototype would still apply. */
83093 char $ac_func ();
83094 /* The GNU C library defines this for functions which it implements
83095 to always fail with ENOSYS. Some functions are actually named
83096 something starting with __ and the normal name is an alias. */
83097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83098 choke me
83099 #else
83100 char (*f) () = $ac_func;
83101 #endif
83102 #ifdef __cplusplus
83104 #endif
83107 main ()
83109 return f != $ac_func;
83111 return 0;
83113 _ACEOF
83114 rm -f conftest.$ac_objext conftest$ac_exeext
83115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83116 (eval $ac_link) 2>conftest.er1
83117 ac_status=$?
83118 grep -v '^ *+' conftest.er1 >conftest.err
83119 rm -f conftest.er1
83120 cat conftest.err >&5
83121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83122 (exit $ac_status); } &&
83123 { ac_try='test -z "$ac_c_werror_flag"
83124 || test ! -s conftest.err'
83125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83126 (eval $ac_try) 2>&5
83127 ac_status=$?
83128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83129 (exit $ac_status); }; } &&
83130 { ac_try='test -s conftest$ac_exeext'
83131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83132 (eval $ac_try) 2>&5
83133 ac_status=$?
83134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83135 (exit $ac_status); }; }; then
83136 eval "$as_ac_var=yes"
83137 else
83138 echo "$as_me: failed program was:" >&5
83139 sed 's/^/| /' conftest.$ac_ext >&5
83141 eval "$as_ac_var=no"
83143 rm -f conftest.err conftest.$ac_objext \
83144 conftest$ac_exeext conftest.$ac_ext
83146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83148 if test `eval echo '${'$as_ac_var'}'` = yes; then
83149 cat >>confdefs.h <<_ACEOF
83150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83151 _ACEOF
83154 done
83164 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
83165 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
83166 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
83167 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
83168 echo $ECHO_N "(cached) $ECHO_C" >&6
83169 else
83173 ac_ext=cc
83174 ac_cpp='$CXXCPP $CPPFLAGS'
83175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83179 cat >conftest.$ac_ext <<_ACEOF
83180 /* confdefs.h. */
83181 _ACEOF
83182 cat confdefs.h >>conftest.$ac_ext
83183 cat >>conftest.$ac_ext <<_ACEOF
83184 /* end confdefs.h. */
83185 #include <math.h>
83186 #ifdef HAVE_IEEEFP_H
83187 #include <ieeefp.h>
83188 #endif
83191 main ()
83193 isnanf(0);
83195 return 0;
83197 _ACEOF
83198 rm -f conftest.$ac_objext
83199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83200 (eval $ac_compile) 2>conftest.er1
83201 ac_status=$?
83202 grep -v '^ *+' conftest.er1 >conftest.err
83203 rm -f conftest.er1
83204 cat conftest.err >&5
83205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83206 (exit $ac_status); } &&
83207 { ac_try='test -z "$ac_cxx_werror_flag"
83208 || test ! -s conftest.err'
83209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83210 (eval $ac_try) 2>&5
83211 ac_status=$?
83212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83213 (exit $ac_status); }; } &&
83214 { ac_try='test -s conftest.$ac_objext'
83215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83216 (eval $ac_try) 2>&5
83217 ac_status=$?
83218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83219 (exit $ac_status); }; }; then
83220 glibcxx_cv_func_isnanf_use=yes
83221 else
83222 echo "$as_me: failed program was:" >&5
83223 sed 's/^/| /' conftest.$ac_ext >&5
83225 glibcxx_cv_func_isnanf_use=no
83227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83228 ac_ext=c
83229 ac_cpp='$CPP $CPPFLAGS'
83230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83238 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
83239 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
83241 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
83243 for ac_func in isnanf
83245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83246 echo "$as_me:$LINENO: checking for $ac_func" >&5
83247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83248 if eval "test \"\${$as_ac_var+set}\" = set"; then
83249 echo $ECHO_N "(cached) $ECHO_C" >&6
83250 else
83251 if test x$gcc_no_link = xyes; then
83252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83254 { (exit 1); exit 1; }; }
83256 cat >conftest.$ac_ext <<_ACEOF
83257 /* confdefs.h. */
83258 _ACEOF
83259 cat confdefs.h >>conftest.$ac_ext
83260 cat >>conftest.$ac_ext <<_ACEOF
83261 /* end confdefs.h. */
83262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83264 #define $ac_func innocuous_$ac_func
83266 /* System header to define __stub macros and hopefully few prototypes,
83267 which can conflict with char $ac_func (); below.
83268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83269 <limits.h> exists even on freestanding compilers. */
83271 #ifdef __STDC__
83272 # include <limits.h>
83273 #else
83274 # include <assert.h>
83275 #endif
83277 #undef $ac_func
83279 /* Override any gcc2 internal prototype to avoid an error. */
83280 #ifdef __cplusplus
83281 extern "C"
83283 #endif
83284 /* We use char because int might match the return type of a gcc2
83285 builtin and then its argument prototype would still apply. */
83286 char $ac_func ();
83287 /* The GNU C library defines this for functions which it implements
83288 to always fail with ENOSYS. Some functions are actually named
83289 something starting with __ and the normal name is an alias. */
83290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83291 choke me
83292 #else
83293 char (*f) () = $ac_func;
83294 #endif
83295 #ifdef __cplusplus
83297 #endif
83300 main ()
83302 return f != $ac_func;
83304 return 0;
83306 _ACEOF
83307 rm -f conftest.$ac_objext conftest$ac_exeext
83308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83309 (eval $ac_link) 2>conftest.er1
83310 ac_status=$?
83311 grep -v '^ *+' conftest.er1 >conftest.err
83312 rm -f conftest.er1
83313 cat conftest.err >&5
83314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83315 (exit $ac_status); } &&
83316 { ac_try='test -z "$ac_c_werror_flag"
83317 || test ! -s conftest.err'
83318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83319 (eval $ac_try) 2>&5
83320 ac_status=$?
83321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83322 (exit $ac_status); }; } &&
83323 { ac_try='test -s conftest$ac_exeext'
83324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83325 (eval $ac_try) 2>&5
83326 ac_status=$?
83327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83328 (exit $ac_status); }; }; then
83329 eval "$as_ac_var=yes"
83330 else
83331 echo "$as_me: failed program was:" >&5
83332 sed 's/^/| /' conftest.$ac_ext >&5
83334 eval "$as_ac_var=no"
83336 rm -f conftest.err conftest.$ac_objext \
83337 conftest$ac_exeext conftest.$ac_ext
83339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83341 if test `eval echo '${'$as_ac_var'}'` = yes; then
83342 cat >>confdefs.h <<_ACEOF
83343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83344 _ACEOF
83347 done
83349 else
83351 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
83352 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
83353 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
83354 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
83355 echo $ECHO_N "(cached) $ECHO_C" >&6
83356 else
83360 ac_ext=cc
83361 ac_cpp='$CXXCPP $CPPFLAGS'
83362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83366 cat >conftest.$ac_ext <<_ACEOF
83367 /* confdefs.h. */
83368 _ACEOF
83369 cat confdefs.h >>conftest.$ac_ext
83370 cat >>conftest.$ac_ext <<_ACEOF
83371 /* end confdefs.h. */
83372 #include <math.h>
83373 #ifdef HAVE_IEEEFP_H
83374 #include <ieeefp.h>
83375 #endif
83378 main ()
83380 _isnanf(0);
83382 return 0;
83384 _ACEOF
83385 rm -f conftest.$ac_objext
83386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83387 (eval $ac_compile) 2>conftest.er1
83388 ac_status=$?
83389 grep -v '^ *+' conftest.er1 >conftest.err
83390 rm -f conftest.er1
83391 cat conftest.err >&5
83392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83393 (exit $ac_status); } &&
83394 { ac_try='test -z "$ac_cxx_werror_flag"
83395 || test ! -s conftest.err'
83396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83397 (eval $ac_try) 2>&5
83398 ac_status=$?
83399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83400 (exit $ac_status); }; } &&
83401 { ac_try='test -s conftest.$ac_objext'
83402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83403 (eval $ac_try) 2>&5
83404 ac_status=$?
83405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83406 (exit $ac_status); }; }; then
83407 glibcxx_cv_func__isnanf_use=yes
83408 else
83409 echo "$as_me: failed program was:" >&5
83410 sed 's/^/| /' conftest.$ac_ext >&5
83412 glibcxx_cv_func__isnanf_use=no
83414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83415 ac_ext=c
83416 ac_cpp='$CPP $CPPFLAGS'
83417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
83426 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
83428 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
83430 for ac_func in _isnanf
83432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83433 echo "$as_me:$LINENO: checking for $ac_func" >&5
83434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83435 if eval "test \"\${$as_ac_var+set}\" = set"; then
83436 echo $ECHO_N "(cached) $ECHO_C" >&6
83437 else
83438 if test x$gcc_no_link = xyes; then
83439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83441 { (exit 1); exit 1; }; }
83443 cat >conftest.$ac_ext <<_ACEOF
83444 /* confdefs.h. */
83445 _ACEOF
83446 cat confdefs.h >>conftest.$ac_ext
83447 cat >>conftest.$ac_ext <<_ACEOF
83448 /* end confdefs.h. */
83449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83451 #define $ac_func innocuous_$ac_func
83453 /* System header to define __stub macros and hopefully few prototypes,
83454 which can conflict with char $ac_func (); below.
83455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83456 <limits.h> exists even on freestanding compilers. */
83458 #ifdef __STDC__
83459 # include <limits.h>
83460 #else
83461 # include <assert.h>
83462 #endif
83464 #undef $ac_func
83466 /* Override any gcc2 internal prototype to avoid an error. */
83467 #ifdef __cplusplus
83468 extern "C"
83470 #endif
83471 /* We use char because int might match the return type of a gcc2
83472 builtin and then its argument prototype would still apply. */
83473 char $ac_func ();
83474 /* The GNU C library defines this for functions which it implements
83475 to always fail with ENOSYS. Some functions are actually named
83476 something starting with __ and the normal name is an alias. */
83477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83478 choke me
83479 #else
83480 char (*f) () = $ac_func;
83481 #endif
83482 #ifdef __cplusplus
83484 #endif
83487 main ()
83489 return f != $ac_func;
83491 return 0;
83493 _ACEOF
83494 rm -f conftest.$ac_objext conftest$ac_exeext
83495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83496 (eval $ac_link) 2>conftest.er1
83497 ac_status=$?
83498 grep -v '^ *+' conftest.er1 >conftest.err
83499 rm -f conftest.er1
83500 cat conftest.err >&5
83501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83502 (exit $ac_status); } &&
83503 { ac_try='test -z "$ac_c_werror_flag"
83504 || test ! -s conftest.err'
83505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83506 (eval $ac_try) 2>&5
83507 ac_status=$?
83508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83509 (exit $ac_status); }; } &&
83510 { ac_try='test -s conftest$ac_exeext'
83511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83512 (eval $ac_try) 2>&5
83513 ac_status=$?
83514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83515 (exit $ac_status); }; }; then
83516 eval "$as_ac_var=yes"
83517 else
83518 echo "$as_me: failed program was:" >&5
83519 sed 's/^/| /' conftest.$ac_ext >&5
83521 eval "$as_ac_var=no"
83523 rm -f conftest.err conftest.$ac_objext \
83524 conftest$ac_exeext conftest.$ac_ext
83526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83528 if test `eval echo '${'$as_ac_var'}'` = yes; then
83529 cat >>confdefs.h <<_ACEOF
83530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83531 _ACEOF
83534 done
83544 echo "$as_me:$LINENO: checking for isinff declaration" >&5
83545 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
83546 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
83547 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
83548 echo $ECHO_N "(cached) $ECHO_C" >&6
83549 else
83553 ac_ext=cc
83554 ac_cpp='$CXXCPP $CPPFLAGS'
83555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83559 cat >conftest.$ac_ext <<_ACEOF
83560 /* confdefs.h. */
83561 _ACEOF
83562 cat confdefs.h >>conftest.$ac_ext
83563 cat >>conftest.$ac_ext <<_ACEOF
83564 /* end confdefs.h. */
83565 #include <math.h>
83566 #ifdef HAVE_IEEEFP_H
83567 #include <ieeefp.h>
83568 #endif
83571 main ()
83573 isinff(0);
83575 return 0;
83577 _ACEOF
83578 rm -f conftest.$ac_objext
83579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83580 (eval $ac_compile) 2>conftest.er1
83581 ac_status=$?
83582 grep -v '^ *+' conftest.er1 >conftest.err
83583 rm -f conftest.er1
83584 cat conftest.err >&5
83585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83586 (exit $ac_status); } &&
83587 { ac_try='test -z "$ac_cxx_werror_flag"
83588 || test ! -s conftest.err'
83589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83590 (eval $ac_try) 2>&5
83591 ac_status=$?
83592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83593 (exit $ac_status); }; } &&
83594 { ac_try='test -s conftest.$ac_objext'
83595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83596 (eval $ac_try) 2>&5
83597 ac_status=$?
83598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83599 (exit $ac_status); }; }; then
83600 glibcxx_cv_func_isinff_use=yes
83601 else
83602 echo "$as_me: failed program was:" >&5
83603 sed 's/^/| /' conftest.$ac_ext >&5
83605 glibcxx_cv_func_isinff_use=no
83607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83608 ac_ext=c
83609 ac_cpp='$CPP $CPPFLAGS'
83610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
83619 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
83621 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
83623 for ac_func in isinff
83625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83626 echo "$as_me:$LINENO: checking for $ac_func" >&5
83627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83628 if eval "test \"\${$as_ac_var+set}\" = set"; then
83629 echo $ECHO_N "(cached) $ECHO_C" >&6
83630 else
83631 if test x$gcc_no_link = xyes; then
83632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83634 { (exit 1); exit 1; }; }
83636 cat >conftest.$ac_ext <<_ACEOF
83637 /* confdefs.h. */
83638 _ACEOF
83639 cat confdefs.h >>conftest.$ac_ext
83640 cat >>conftest.$ac_ext <<_ACEOF
83641 /* end confdefs.h. */
83642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83644 #define $ac_func innocuous_$ac_func
83646 /* System header to define __stub macros and hopefully few prototypes,
83647 which can conflict with char $ac_func (); below.
83648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83649 <limits.h> exists even on freestanding compilers. */
83651 #ifdef __STDC__
83652 # include <limits.h>
83653 #else
83654 # include <assert.h>
83655 #endif
83657 #undef $ac_func
83659 /* Override any gcc2 internal prototype to avoid an error. */
83660 #ifdef __cplusplus
83661 extern "C"
83663 #endif
83664 /* We use char because int might match the return type of a gcc2
83665 builtin and then its argument prototype would still apply. */
83666 char $ac_func ();
83667 /* The GNU C library defines this for functions which it implements
83668 to always fail with ENOSYS. Some functions are actually named
83669 something starting with __ and the normal name is an alias. */
83670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83671 choke me
83672 #else
83673 char (*f) () = $ac_func;
83674 #endif
83675 #ifdef __cplusplus
83677 #endif
83680 main ()
83682 return f != $ac_func;
83684 return 0;
83686 _ACEOF
83687 rm -f conftest.$ac_objext conftest$ac_exeext
83688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83689 (eval $ac_link) 2>conftest.er1
83690 ac_status=$?
83691 grep -v '^ *+' conftest.er1 >conftest.err
83692 rm -f conftest.er1
83693 cat conftest.err >&5
83694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83695 (exit $ac_status); } &&
83696 { ac_try='test -z "$ac_c_werror_flag"
83697 || test ! -s conftest.err'
83698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83699 (eval $ac_try) 2>&5
83700 ac_status=$?
83701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83702 (exit $ac_status); }; } &&
83703 { ac_try='test -s conftest$ac_exeext'
83704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83705 (eval $ac_try) 2>&5
83706 ac_status=$?
83707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83708 (exit $ac_status); }; }; then
83709 eval "$as_ac_var=yes"
83710 else
83711 echo "$as_me: failed program was:" >&5
83712 sed 's/^/| /' conftest.$ac_ext >&5
83714 eval "$as_ac_var=no"
83716 rm -f conftest.err conftest.$ac_objext \
83717 conftest$ac_exeext conftest.$ac_ext
83719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83721 if test `eval echo '${'$as_ac_var'}'` = yes; then
83722 cat >>confdefs.h <<_ACEOF
83723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83724 _ACEOF
83727 done
83729 else
83731 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
83732 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
83733 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
83734 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
83735 echo $ECHO_N "(cached) $ECHO_C" >&6
83736 else
83740 ac_ext=cc
83741 ac_cpp='$CXXCPP $CPPFLAGS'
83742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83746 cat >conftest.$ac_ext <<_ACEOF
83747 /* confdefs.h. */
83748 _ACEOF
83749 cat confdefs.h >>conftest.$ac_ext
83750 cat >>conftest.$ac_ext <<_ACEOF
83751 /* end confdefs.h. */
83752 #include <math.h>
83753 #ifdef HAVE_IEEEFP_H
83754 #include <ieeefp.h>
83755 #endif
83758 main ()
83760 _isinff(0);
83762 return 0;
83764 _ACEOF
83765 rm -f conftest.$ac_objext
83766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83767 (eval $ac_compile) 2>conftest.er1
83768 ac_status=$?
83769 grep -v '^ *+' conftest.er1 >conftest.err
83770 rm -f conftest.er1
83771 cat conftest.err >&5
83772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83773 (exit $ac_status); } &&
83774 { ac_try='test -z "$ac_cxx_werror_flag"
83775 || test ! -s conftest.err'
83776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83777 (eval $ac_try) 2>&5
83778 ac_status=$?
83779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83780 (exit $ac_status); }; } &&
83781 { ac_try='test -s conftest.$ac_objext'
83782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83783 (eval $ac_try) 2>&5
83784 ac_status=$?
83785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83786 (exit $ac_status); }; }; then
83787 glibcxx_cv_func__isinff_use=yes
83788 else
83789 echo "$as_me: failed program was:" >&5
83790 sed 's/^/| /' conftest.$ac_ext >&5
83792 glibcxx_cv_func__isinff_use=no
83794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83795 ac_ext=c
83796 ac_cpp='$CPP $CPPFLAGS'
83797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
83806 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
83808 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
83810 for ac_func in _isinff
83812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83813 echo "$as_me:$LINENO: checking for $ac_func" >&5
83814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83815 if eval "test \"\${$as_ac_var+set}\" = set"; then
83816 echo $ECHO_N "(cached) $ECHO_C" >&6
83817 else
83818 if test x$gcc_no_link = xyes; then
83819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83821 { (exit 1); exit 1; }; }
83823 cat >conftest.$ac_ext <<_ACEOF
83824 /* confdefs.h. */
83825 _ACEOF
83826 cat confdefs.h >>conftest.$ac_ext
83827 cat >>conftest.$ac_ext <<_ACEOF
83828 /* end confdefs.h. */
83829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83831 #define $ac_func innocuous_$ac_func
83833 /* System header to define __stub macros and hopefully few prototypes,
83834 which can conflict with char $ac_func (); below.
83835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83836 <limits.h> exists even on freestanding compilers. */
83838 #ifdef __STDC__
83839 # include <limits.h>
83840 #else
83841 # include <assert.h>
83842 #endif
83844 #undef $ac_func
83846 /* Override any gcc2 internal prototype to avoid an error. */
83847 #ifdef __cplusplus
83848 extern "C"
83850 #endif
83851 /* We use char because int might match the return type of a gcc2
83852 builtin and then its argument prototype would still apply. */
83853 char $ac_func ();
83854 /* The GNU C library defines this for functions which it implements
83855 to always fail with ENOSYS. Some functions are actually named
83856 something starting with __ and the normal name is an alias. */
83857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83858 choke me
83859 #else
83860 char (*f) () = $ac_func;
83861 #endif
83862 #ifdef __cplusplus
83864 #endif
83867 main ()
83869 return f != $ac_func;
83871 return 0;
83873 _ACEOF
83874 rm -f conftest.$ac_objext conftest$ac_exeext
83875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83876 (eval $ac_link) 2>conftest.er1
83877 ac_status=$?
83878 grep -v '^ *+' conftest.er1 >conftest.err
83879 rm -f conftest.er1
83880 cat conftest.err >&5
83881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83882 (exit $ac_status); } &&
83883 { ac_try='test -z "$ac_c_werror_flag"
83884 || test ! -s conftest.err'
83885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83886 (eval $ac_try) 2>&5
83887 ac_status=$?
83888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83889 (exit $ac_status); }; } &&
83890 { ac_try='test -s conftest$ac_exeext'
83891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83892 (eval $ac_try) 2>&5
83893 ac_status=$?
83894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83895 (exit $ac_status); }; }; then
83896 eval "$as_ac_var=yes"
83897 else
83898 echo "$as_me: failed program was:" >&5
83899 sed 's/^/| /' conftest.$ac_ext >&5
83901 eval "$as_ac_var=no"
83903 rm -f conftest.err conftest.$ac_objext \
83904 conftest$ac_exeext conftest.$ac_ext
83906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83908 if test `eval echo '${'$as_ac_var'}'` = yes; then
83909 cat >>confdefs.h <<_ACEOF
83910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83911 _ACEOF
83914 done
83924 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
83925 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
83926 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
83927 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
83928 echo $ECHO_N "(cached) $ECHO_C" >&6
83929 else
83933 ac_ext=cc
83934 ac_cpp='$CXXCPP $CPPFLAGS'
83935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83939 cat >conftest.$ac_ext <<_ACEOF
83940 /* confdefs.h. */
83941 _ACEOF
83942 cat confdefs.h >>conftest.$ac_ext
83943 cat >>conftest.$ac_ext <<_ACEOF
83944 /* end confdefs.h. */
83945 #include <math.h>
83947 main ()
83949 atan2f(0, 0);
83951 return 0;
83953 _ACEOF
83954 rm -f conftest.$ac_objext
83955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83956 (eval $ac_compile) 2>conftest.er1
83957 ac_status=$?
83958 grep -v '^ *+' conftest.er1 >conftest.err
83959 rm -f conftest.er1
83960 cat conftest.err >&5
83961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83962 (exit $ac_status); } &&
83963 { ac_try='test -z "$ac_cxx_werror_flag"
83964 || test ! -s conftest.err'
83965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83966 (eval $ac_try) 2>&5
83967 ac_status=$?
83968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83969 (exit $ac_status); }; } &&
83970 { ac_try='test -s conftest.$ac_objext'
83971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83972 (eval $ac_try) 2>&5
83973 ac_status=$?
83974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83975 (exit $ac_status); }; }; then
83976 glibcxx_cv_func_atan2f_use=yes
83977 else
83978 echo "$as_me: failed program was:" >&5
83979 sed 's/^/| /' conftest.$ac_ext >&5
83981 glibcxx_cv_func_atan2f_use=no
83983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83984 ac_ext=c
83985 ac_cpp='$CPP $CPPFLAGS'
83986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
83995 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
83997 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
83999 for ac_func in atan2f
84001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84002 echo "$as_me:$LINENO: checking for $ac_func" >&5
84003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84004 if eval "test \"\${$as_ac_var+set}\" = set"; then
84005 echo $ECHO_N "(cached) $ECHO_C" >&6
84006 else
84007 if test x$gcc_no_link = xyes; then
84008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84010 { (exit 1); exit 1; }; }
84012 cat >conftest.$ac_ext <<_ACEOF
84013 /* confdefs.h. */
84014 _ACEOF
84015 cat confdefs.h >>conftest.$ac_ext
84016 cat >>conftest.$ac_ext <<_ACEOF
84017 /* end confdefs.h. */
84018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84020 #define $ac_func innocuous_$ac_func
84022 /* System header to define __stub macros and hopefully few prototypes,
84023 which can conflict with char $ac_func (); below.
84024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84025 <limits.h> exists even on freestanding compilers. */
84027 #ifdef __STDC__
84028 # include <limits.h>
84029 #else
84030 # include <assert.h>
84031 #endif
84033 #undef $ac_func
84035 /* Override any gcc2 internal prototype to avoid an error. */
84036 #ifdef __cplusplus
84037 extern "C"
84039 #endif
84040 /* We use char because int might match the return type of a gcc2
84041 builtin and then its argument prototype would still apply. */
84042 char $ac_func ();
84043 /* The GNU C library defines this for functions which it implements
84044 to always fail with ENOSYS. Some functions are actually named
84045 something starting with __ and the normal name is an alias. */
84046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84047 choke me
84048 #else
84049 char (*f) () = $ac_func;
84050 #endif
84051 #ifdef __cplusplus
84053 #endif
84056 main ()
84058 return f != $ac_func;
84060 return 0;
84062 _ACEOF
84063 rm -f conftest.$ac_objext conftest$ac_exeext
84064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84065 (eval $ac_link) 2>conftest.er1
84066 ac_status=$?
84067 grep -v '^ *+' conftest.er1 >conftest.err
84068 rm -f conftest.er1
84069 cat conftest.err >&5
84070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84071 (exit $ac_status); } &&
84072 { ac_try='test -z "$ac_c_werror_flag"
84073 || test ! -s conftest.err'
84074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84075 (eval $ac_try) 2>&5
84076 ac_status=$?
84077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84078 (exit $ac_status); }; } &&
84079 { ac_try='test -s conftest$ac_exeext'
84080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84081 (eval $ac_try) 2>&5
84082 ac_status=$?
84083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84084 (exit $ac_status); }; }; then
84085 eval "$as_ac_var=yes"
84086 else
84087 echo "$as_me: failed program was:" >&5
84088 sed 's/^/| /' conftest.$ac_ext >&5
84090 eval "$as_ac_var=no"
84092 rm -f conftest.err conftest.$ac_objext \
84093 conftest$ac_exeext conftest.$ac_ext
84095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84097 if test `eval echo '${'$as_ac_var'}'` = yes; then
84098 cat >>confdefs.h <<_ACEOF
84099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84100 _ACEOF
84103 done
84105 else
84107 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
84108 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
84109 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
84110 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
84111 echo $ECHO_N "(cached) $ECHO_C" >&6
84112 else
84116 ac_ext=cc
84117 ac_cpp='$CXXCPP $CPPFLAGS'
84118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84122 cat >conftest.$ac_ext <<_ACEOF
84123 /* confdefs.h. */
84124 _ACEOF
84125 cat confdefs.h >>conftest.$ac_ext
84126 cat >>conftest.$ac_ext <<_ACEOF
84127 /* end confdefs.h. */
84128 #include <math.h>
84130 main ()
84132 _atan2f(0, 0);
84134 return 0;
84136 _ACEOF
84137 rm -f conftest.$ac_objext
84138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84139 (eval $ac_compile) 2>conftest.er1
84140 ac_status=$?
84141 grep -v '^ *+' conftest.er1 >conftest.err
84142 rm -f conftest.er1
84143 cat conftest.err >&5
84144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84145 (exit $ac_status); } &&
84146 { ac_try='test -z "$ac_cxx_werror_flag"
84147 || test ! -s conftest.err'
84148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84149 (eval $ac_try) 2>&5
84150 ac_status=$?
84151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84152 (exit $ac_status); }; } &&
84153 { ac_try='test -s conftest.$ac_objext'
84154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84155 (eval $ac_try) 2>&5
84156 ac_status=$?
84157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84158 (exit $ac_status); }; }; then
84159 glibcxx_cv_func__atan2f_use=yes
84160 else
84161 echo "$as_me: failed program was:" >&5
84162 sed 's/^/| /' conftest.$ac_ext >&5
84164 glibcxx_cv_func__atan2f_use=no
84166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84167 ac_ext=c
84168 ac_cpp='$CPP $CPPFLAGS'
84169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
84178 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
84180 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
84182 for ac_func in _atan2f
84184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84185 echo "$as_me:$LINENO: checking for $ac_func" >&5
84186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84187 if eval "test \"\${$as_ac_var+set}\" = set"; then
84188 echo $ECHO_N "(cached) $ECHO_C" >&6
84189 else
84190 if test x$gcc_no_link = xyes; then
84191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84193 { (exit 1); exit 1; }; }
84195 cat >conftest.$ac_ext <<_ACEOF
84196 /* confdefs.h. */
84197 _ACEOF
84198 cat confdefs.h >>conftest.$ac_ext
84199 cat >>conftest.$ac_ext <<_ACEOF
84200 /* end confdefs.h. */
84201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84203 #define $ac_func innocuous_$ac_func
84205 /* System header to define __stub macros and hopefully few prototypes,
84206 which can conflict with char $ac_func (); below.
84207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84208 <limits.h> exists even on freestanding compilers. */
84210 #ifdef __STDC__
84211 # include <limits.h>
84212 #else
84213 # include <assert.h>
84214 #endif
84216 #undef $ac_func
84218 /* Override any gcc2 internal prototype to avoid an error. */
84219 #ifdef __cplusplus
84220 extern "C"
84222 #endif
84223 /* We use char because int might match the return type of a gcc2
84224 builtin and then its argument prototype would still apply. */
84225 char $ac_func ();
84226 /* The GNU C library defines this for functions which it implements
84227 to always fail with ENOSYS. Some functions are actually named
84228 something starting with __ and the normal name is an alias. */
84229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84230 choke me
84231 #else
84232 char (*f) () = $ac_func;
84233 #endif
84234 #ifdef __cplusplus
84236 #endif
84239 main ()
84241 return f != $ac_func;
84243 return 0;
84245 _ACEOF
84246 rm -f conftest.$ac_objext conftest$ac_exeext
84247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84248 (eval $ac_link) 2>conftest.er1
84249 ac_status=$?
84250 grep -v '^ *+' conftest.er1 >conftest.err
84251 rm -f conftest.er1
84252 cat conftest.err >&5
84253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84254 (exit $ac_status); } &&
84255 { ac_try='test -z "$ac_c_werror_flag"
84256 || test ! -s conftest.err'
84257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84258 (eval $ac_try) 2>&5
84259 ac_status=$?
84260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84261 (exit $ac_status); }; } &&
84262 { ac_try='test -s conftest$ac_exeext'
84263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84264 (eval $ac_try) 2>&5
84265 ac_status=$?
84266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84267 (exit $ac_status); }; }; then
84268 eval "$as_ac_var=yes"
84269 else
84270 echo "$as_me: failed program was:" >&5
84271 sed 's/^/| /' conftest.$ac_ext >&5
84273 eval "$as_ac_var=no"
84275 rm -f conftest.err conftest.$ac_objext \
84276 conftest$ac_exeext conftest.$ac_ext
84278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84280 if test `eval echo '${'$as_ac_var'}'` = yes; then
84281 cat >>confdefs.h <<_ACEOF
84282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84283 _ACEOF
84286 done
84296 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
84297 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
84298 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
84299 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
84300 echo $ECHO_N "(cached) $ECHO_C" >&6
84301 else
84305 ac_ext=cc
84306 ac_cpp='$CXXCPP $CPPFLAGS'
84307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84311 cat >conftest.$ac_ext <<_ACEOF
84312 /* confdefs.h. */
84313 _ACEOF
84314 cat confdefs.h >>conftest.$ac_ext
84315 cat >>conftest.$ac_ext <<_ACEOF
84316 /* end confdefs.h. */
84317 #include <math.h>
84318 #ifdef HAVE_IEEEFP_H
84319 #include <ieeefp.h>
84320 #endif
84323 main ()
84325 fabsf(0);
84327 return 0;
84329 _ACEOF
84330 rm -f conftest.$ac_objext
84331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84332 (eval $ac_compile) 2>conftest.er1
84333 ac_status=$?
84334 grep -v '^ *+' conftest.er1 >conftest.err
84335 rm -f conftest.er1
84336 cat conftest.err >&5
84337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84338 (exit $ac_status); } &&
84339 { ac_try='test -z "$ac_cxx_werror_flag"
84340 || test ! -s conftest.err'
84341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84342 (eval $ac_try) 2>&5
84343 ac_status=$?
84344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84345 (exit $ac_status); }; } &&
84346 { ac_try='test -s conftest.$ac_objext'
84347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84348 (eval $ac_try) 2>&5
84349 ac_status=$?
84350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84351 (exit $ac_status); }; }; then
84352 glibcxx_cv_func_fabsf_use=yes
84353 else
84354 echo "$as_me: failed program was:" >&5
84355 sed 's/^/| /' conftest.$ac_ext >&5
84357 glibcxx_cv_func_fabsf_use=no
84359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84360 ac_ext=c
84361 ac_cpp='$CPP $CPPFLAGS'
84362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84370 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
84371 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
84373 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
84375 for ac_func in fabsf
84377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84378 echo "$as_me:$LINENO: checking for $ac_func" >&5
84379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84380 if eval "test \"\${$as_ac_var+set}\" = set"; then
84381 echo $ECHO_N "(cached) $ECHO_C" >&6
84382 else
84383 if test x$gcc_no_link = xyes; then
84384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84386 { (exit 1); exit 1; }; }
84388 cat >conftest.$ac_ext <<_ACEOF
84389 /* confdefs.h. */
84390 _ACEOF
84391 cat confdefs.h >>conftest.$ac_ext
84392 cat >>conftest.$ac_ext <<_ACEOF
84393 /* end confdefs.h. */
84394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84396 #define $ac_func innocuous_$ac_func
84398 /* System header to define __stub macros and hopefully few prototypes,
84399 which can conflict with char $ac_func (); below.
84400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84401 <limits.h> exists even on freestanding compilers. */
84403 #ifdef __STDC__
84404 # include <limits.h>
84405 #else
84406 # include <assert.h>
84407 #endif
84409 #undef $ac_func
84411 /* Override any gcc2 internal prototype to avoid an error. */
84412 #ifdef __cplusplus
84413 extern "C"
84415 #endif
84416 /* We use char because int might match the return type of a gcc2
84417 builtin and then its argument prototype would still apply. */
84418 char $ac_func ();
84419 /* The GNU C library defines this for functions which it implements
84420 to always fail with ENOSYS. Some functions are actually named
84421 something starting with __ and the normal name is an alias. */
84422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84423 choke me
84424 #else
84425 char (*f) () = $ac_func;
84426 #endif
84427 #ifdef __cplusplus
84429 #endif
84432 main ()
84434 return f != $ac_func;
84436 return 0;
84438 _ACEOF
84439 rm -f conftest.$ac_objext conftest$ac_exeext
84440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84441 (eval $ac_link) 2>conftest.er1
84442 ac_status=$?
84443 grep -v '^ *+' conftest.er1 >conftest.err
84444 rm -f conftest.er1
84445 cat conftest.err >&5
84446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84447 (exit $ac_status); } &&
84448 { ac_try='test -z "$ac_c_werror_flag"
84449 || test ! -s conftest.err'
84450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84451 (eval $ac_try) 2>&5
84452 ac_status=$?
84453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84454 (exit $ac_status); }; } &&
84455 { ac_try='test -s conftest$ac_exeext'
84456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84457 (eval $ac_try) 2>&5
84458 ac_status=$?
84459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84460 (exit $ac_status); }; }; then
84461 eval "$as_ac_var=yes"
84462 else
84463 echo "$as_me: failed program was:" >&5
84464 sed 's/^/| /' conftest.$ac_ext >&5
84466 eval "$as_ac_var=no"
84468 rm -f conftest.err conftest.$ac_objext \
84469 conftest$ac_exeext conftest.$ac_ext
84471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84473 if test `eval echo '${'$as_ac_var'}'` = yes; then
84474 cat >>confdefs.h <<_ACEOF
84475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84476 _ACEOF
84479 done
84481 else
84483 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
84484 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
84485 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
84486 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
84487 echo $ECHO_N "(cached) $ECHO_C" >&6
84488 else
84492 ac_ext=cc
84493 ac_cpp='$CXXCPP $CPPFLAGS'
84494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84498 cat >conftest.$ac_ext <<_ACEOF
84499 /* confdefs.h. */
84500 _ACEOF
84501 cat confdefs.h >>conftest.$ac_ext
84502 cat >>conftest.$ac_ext <<_ACEOF
84503 /* end confdefs.h. */
84504 #include <math.h>
84505 #ifdef HAVE_IEEEFP_H
84506 #include <ieeefp.h>
84507 #endif
84510 main ()
84512 _fabsf(0);
84514 return 0;
84516 _ACEOF
84517 rm -f conftest.$ac_objext
84518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84519 (eval $ac_compile) 2>conftest.er1
84520 ac_status=$?
84521 grep -v '^ *+' conftest.er1 >conftest.err
84522 rm -f conftest.er1
84523 cat conftest.err >&5
84524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84525 (exit $ac_status); } &&
84526 { ac_try='test -z "$ac_cxx_werror_flag"
84527 || test ! -s conftest.err'
84528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84529 (eval $ac_try) 2>&5
84530 ac_status=$?
84531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84532 (exit $ac_status); }; } &&
84533 { ac_try='test -s conftest.$ac_objext'
84534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84535 (eval $ac_try) 2>&5
84536 ac_status=$?
84537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84538 (exit $ac_status); }; }; then
84539 glibcxx_cv_func__fabsf_use=yes
84540 else
84541 echo "$as_me: failed program was:" >&5
84542 sed 's/^/| /' conftest.$ac_ext >&5
84544 glibcxx_cv_func__fabsf_use=no
84546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84547 ac_ext=c
84548 ac_cpp='$CPP $CPPFLAGS'
84549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
84558 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
84560 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
84562 for ac_func in _fabsf
84564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84565 echo "$as_me:$LINENO: checking for $ac_func" >&5
84566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84567 if eval "test \"\${$as_ac_var+set}\" = set"; then
84568 echo $ECHO_N "(cached) $ECHO_C" >&6
84569 else
84570 if test x$gcc_no_link = xyes; then
84571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84573 { (exit 1); exit 1; }; }
84575 cat >conftest.$ac_ext <<_ACEOF
84576 /* confdefs.h. */
84577 _ACEOF
84578 cat confdefs.h >>conftest.$ac_ext
84579 cat >>conftest.$ac_ext <<_ACEOF
84580 /* end confdefs.h. */
84581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84583 #define $ac_func innocuous_$ac_func
84585 /* System header to define __stub macros and hopefully few prototypes,
84586 which can conflict with char $ac_func (); below.
84587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84588 <limits.h> exists even on freestanding compilers. */
84590 #ifdef __STDC__
84591 # include <limits.h>
84592 #else
84593 # include <assert.h>
84594 #endif
84596 #undef $ac_func
84598 /* Override any gcc2 internal prototype to avoid an error. */
84599 #ifdef __cplusplus
84600 extern "C"
84602 #endif
84603 /* We use char because int might match the return type of a gcc2
84604 builtin and then its argument prototype would still apply. */
84605 char $ac_func ();
84606 /* The GNU C library defines this for functions which it implements
84607 to always fail with ENOSYS. Some functions are actually named
84608 something starting with __ and the normal name is an alias. */
84609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84610 choke me
84611 #else
84612 char (*f) () = $ac_func;
84613 #endif
84614 #ifdef __cplusplus
84616 #endif
84619 main ()
84621 return f != $ac_func;
84623 return 0;
84625 _ACEOF
84626 rm -f conftest.$ac_objext conftest$ac_exeext
84627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84628 (eval $ac_link) 2>conftest.er1
84629 ac_status=$?
84630 grep -v '^ *+' conftest.er1 >conftest.err
84631 rm -f conftest.er1
84632 cat conftest.err >&5
84633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84634 (exit $ac_status); } &&
84635 { ac_try='test -z "$ac_c_werror_flag"
84636 || test ! -s conftest.err'
84637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84638 (eval $ac_try) 2>&5
84639 ac_status=$?
84640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84641 (exit $ac_status); }; } &&
84642 { ac_try='test -s conftest$ac_exeext'
84643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84644 (eval $ac_try) 2>&5
84645 ac_status=$?
84646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84647 (exit $ac_status); }; }; then
84648 eval "$as_ac_var=yes"
84649 else
84650 echo "$as_me: failed program was:" >&5
84651 sed 's/^/| /' conftest.$ac_ext >&5
84653 eval "$as_ac_var=no"
84655 rm -f conftest.err conftest.$ac_objext \
84656 conftest$ac_exeext conftest.$ac_ext
84658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84660 if test `eval echo '${'$as_ac_var'}'` = yes; then
84661 cat >>confdefs.h <<_ACEOF
84662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84663 _ACEOF
84666 done
84676 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
84677 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
84678 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
84679 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
84680 echo $ECHO_N "(cached) $ECHO_C" >&6
84681 else
84685 ac_ext=cc
84686 ac_cpp='$CXXCPP $CPPFLAGS'
84687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84691 cat >conftest.$ac_ext <<_ACEOF
84692 /* confdefs.h. */
84693 _ACEOF
84694 cat confdefs.h >>conftest.$ac_ext
84695 cat >>conftest.$ac_ext <<_ACEOF
84696 /* end confdefs.h. */
84697 #include <math.h>
84699 main ()
84701 fmodf(0, 0);
84703 return 0;
84705 _ACEOF
84706 rm -f conftest.$ac_objext
84707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84708 (eval $ac_compile) 2>conftest.er1
84709 ac_status=$?
84710 grep -v '^ *+' conftest.er1 >conftest.err
84711 rm -f conftest.er1
84712 cat conftest.err >&5
84713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84714 (exit $ac_status); } &&
84715 { ac_try='test -z "$ac_cxx_werror_flag"
84716 || test ! -s conftest.err'
84717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84718 (eval $ac_try) 2>&5
84719 ac_status=$?
84720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84721 (exit $ac_status); }; } &&
84722 { ac_try='test -s conftest.$ac_objext'
84723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84724 (eval $ac_try) 2>&5
84725 ac_status=$?
84726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84727 (exit $ac_status); }; }; then
84728 glibcxx_cv_func_fmodf_use=yes
84729 else
84730 echo "$as_me: failed program was:" >&5
84731 sed 's/^/| /' conftest.$ac_ext >&5
84733 glibcxx_cv_func_fmodf_use=no
84735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84736 ac_ext=c
84737 ac_cpp='$CPP $CPPFLAGS'
84738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84746 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
84747 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
84749 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
84751 for ac_func in fmodf
84753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84754 echo "$as_me:$LINENO: checking for $ac_func" >&5
84755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84756 if eval "test \"\${$as_ac_var+set}\" = set"; then
84757 echo $ECHO_N "(cached) $ECHO_C" >&6
84758 else
84759 if test x$gcc_no_link = xyes; then
84760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84762 { (exit 1); exit 1; }; }
84764 cat >conftest.$ac_ext <<_ACEOF
84765 /* confdefs.h. */
84766 _ACEOF
84767 cat confdefs.h >>conftest.$ac_ext
84768 cat >>conftest.$ac_ext <<_ACEOF
84769 /* end confdefs.h. */
84770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84772 #define $ac_func innocuous_$ac_func
84774 /* System header to define __stub macros and hopefully few prototypes,
84775 which can conflict with char $ac_func (); below.
84776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84777 <limits.h> exists even on freestanding compilers. */
84779 #ifdef __STDC__
84780 # include <limits.h>
84781 #else
84782 # include <assert.h>
84783 #endif
84785 #undef $ac_func
84787 /* Override any gcc2 internal prototype to avoid an error. */
84788 #ifdef __cplusplus
84789 extern "C"
84791 #endif
84792 /* We use char because int might match the return type of a gcc2
84793 builtin and then its argument prototype would still apply. */
84794 char $ac_func ();
84795 /* The GNU C library defines this for functions which it implements
84796 to always fail with ENOSYS. Some functions are actually named
84797 something starting with __ and the normal name is an alias. */
84798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84799 choke me
84800 #else
84801 char (*f) () = $ac_func;
84802 #endif
84803 #ifdef __cplusplus
84805 #endif
84808 main ()
84810 return f != $ac_func;
84812 return 0;
84814 _ACEOF
84815 rm -f conftest.$ac_objext conftest$ac_exeext
84816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84817 (eval $ac_link) 2>conftest.er1
84818 ac_status=$?
84819 grep -v '^ *+' conftest.er1 >conftest.err
84820 rm -f conftest.er1
84821 cat conftest.err >&5
84822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84823 (exit $ac_status); } &&
84824 { ac_try='test -z "$ac_c_werror_flag"
84825 || test ! -s conftest.err'
84826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84827 (eval $ac_try) 2>&5
84828 ac_status=$?
84829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84830 (exit $ac_status); }; } &&
84831 { ac_try='test -s conftest$ac_exeext'
84832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84833 (eval $ac_try) 2>&5
84834 ac_status=$?
84835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84836 (exit $ac_status); }; }; then
84837 eval "$as_ac_var=yes"
84838 else
84839 echo "$as_me: failed program was:" >&5
84840 sed 's/^/| /' conftest.$ac_ext >&5
84842 eval "$as_ac_var=no"
84844 rm -f conftest.err conftest.$ac_objext \
84845 conftest$ac_exeext conftest.$ac_ext
84847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84849 if test `eval echo '${'$as_ac_var'}'` = yes; then
84850 cat >>confdefs.h <<_ACEOF
84851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84852 _ACEOF
84855 done
84857 else
84859 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
84860 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
84861 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
84862 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
84863 echo $ECHO_N "(cached) $ECHO_C" >&6
84864 else
84868 ac_ext=cc
84869 ac_cpp='$CXXCPP $CPPFLAGS'
84870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84874 cat >conftest.$ac_ext <<_ACEOF
84875 /* confdefs.h. */
84876 _ACEOF
84877 cat confdefs.h >>conftest.$ac_ext
84878 cat >>conftest.$ac_ext <<_ACEOF
84879 /* end confdefs.h. */
84880 #include <math.h>
84882 main ()
84884 _fmodf(0, 0);
84886 return 0;
84888 _ACEOF
84889 rm -f conftest.$ac_objext
84890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84891 (eval $ac_compile) 2>conftest.er1
84892 ac_status=$?
84893 grep -v '^ *+' conftest.er1 >conftest.err
84894 rm -f conftest.er1
84895 cat conftest.err >&5
84896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84897 (exit $ac_status); } &&
84898 { ac_try='test -z "$ac_cxx_werror_flag"
84899 || test ! -s conftest.err'
84900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84901 (eval $ac_try) 2>&5
84902 ac_status=$?
84903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84904 (exit $ac_status); }; } &&
84905 { ac_try='test -s conftest.$ac_objext'
84906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84907 (eval $ac_try) 2>&5
84908 ac_status=$?
84909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84910 (exit $ac_status); }; }; then
84911 glibcxx_cv_func__fmodf_use=yes
84912 else
84913 echo "$as_me: failed program was:" >&5
84914 sed 's/^/| /' conftest.$ac_ext >&5
84916 glibcxx_cv_func__fmodf_use=no
84918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84919 ac_ext=c
84920 ac_cpp='$CPP $CPPFLAGS'
84921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
84930 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
84932 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
84934 for ac_func in _fmodf
84936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84937 echo "$as_me:$LINENO: checking for $ac_func" >&5
84938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84939 if eval "test \"\${$as_ac_var+set}\" = set"; then
84940 echo $ECHO_N "(cached) $ECHO_C" >&6
84941 else
84942 if test x$gcc_no_link = xyes; then
84943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84945 { (exit 1); exit 1; }; }
84947 cat >conftest.$ac_ext <<_ACEOF
84948 /* confdefs.h. */
84949 _ACEOF
84950 cat confdefs.h >>conftest.$ac_ext
84951 cat >>conftest.$ac_ext <<_ACEOF
84952 /* end confdefs.h. */
84953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84955 #define $ac_func innocuous_$ac_func
84957 /* System header to define __stub macros and hopefully few prototypes,
84958 which can conflict with char $ac_func (); below.
84959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84960 <limits.h> exists even on freestanding compilers. */
84962 #ifdef __STDC__
84963 # include <limits.h>
84964 #else
84965 # include <assert.h>
84966 #endif
84968 #undef $ac_func
84970 /* Override any gcc2 internal prototype to avoid an error. */
84971 #ifdef __cplusplus
84972 extern "C"
84974 #endif
84975 /* We use char because int might match the return type of a gcc2
84976 builtin and then its argument prototype would still apply. */
84977 char $ac_func ();
84978 /* The GNU C library defines this for functions which it implements
84979 to always fail with ENOSYS. Some functions are actually named
84980 something starting with __ and the normal name is an alias. */
84981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84982 choke me
84983 #else
84984 char (*f) () = $ac_func;
84985 #endif
84986 #ifdef __cplusplus
84988 #endif
84991 main ()
84993 return f != $ac_func;
84995 return 0;
84997 _ACEOF
84998 rm -f conftest.$ac_objext conftest$ac_exeext
84999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85000 (eval $ac_link) 2>conftest.er1
85001 ac_status=$?
85002 grep -v '^ *+' conftest.er1 >conftest.err
85003 rm -f conftest.er1
85004 cat conftest.err >&5
85005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85006 (exit $ac_status); } &&
85007 { ac_try='test -z "$ac_c_werror_flag"
85008 || test ! -s conftest.err'
85009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85010 (eval $ac_try) 2>&5
85011 ac_status=$?
85012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85013 (exit $ac_status); }; } &&
85014 { ac_try='test -s conftest$ac_exeext'
85015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85016 (eval $ac_try) 2>&5
85017 ac_status=$?
85018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85019 (exit $ac_status); }; }; then
85020 eval "$as_ac_var=yes"
85021 else
85022 echo "$as_me: failed program was:" >&5
85023 sed 's/^/| /' conftest.$ac_ext >&5
85025 eval "$as_ac_var=no"
85027 rm -f conftest.err conftest.$ac_objext \
85028 conftest$ac_exeext conftest.$ac_ext
85030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85032 if test `eval echo '${'$as_ac_var'}'` = yes; then
85033 cat >>confdefs.h <<_ACEOF
85034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85035 _ACEOF
85038 done
85048 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
85049 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
85050 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
85051 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
85052 echo $ECHO_N "(cached) $ECHO_C" >&6
85053 else
85057 ac_ext=cc
85058 ac_cpp='$CXXCPP $CPPFLAGS'
85059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85063 cat >conftest.$ac_ext <<_ACEOF
85064 /* confdefs.h. */
85065 _ACEOF
85066 cat confdefs.h >>conftest.$ac_ext
85067 cat >>conftest.$ac_ext <<_ACEOF
85068 /* end confdefs.h. */
85069 #include <math.h>
85071 main ()
85073 frexpf(0, 0);
85075 return 0;
85077 _ACEOF
85078 rm -f conftest.$ac_objext
85079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85080 (eval $ac_compile) 2>conftest.er1
85081 ac_status=$?
85082 grep -v '^ *+' conftest.er1 >conftest.err
85083 rm -f conftest.er1
85084 cat conftest.err >&5
85085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85086 (exit $ac_status); } &&
85087 { ac_try='test -z "$ac_cxx_werror_flag"
85088 || test ! -s conftest.err'
85089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85090 (eval $ac_try) 2>&5
85091 ac_status=$?
85092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85093 (exit $ac_status); }; } &&
85094 { ac_try='test -s conftest.$ac_objext'
85095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85096 (eval $ac_try) 2>&5
85097 ac_status=$?
85098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85099 (exit $ac_status); }; }; then
85100 glibcxx_cv_func_frexpf_use=yes
85101 else
85102 echo "$as_me: failed program was:" >&5
85103 sed 's/^/| /' conftest.$ac_ext >&5
85105 glibcxx_cv_func_frexpf_use=no
85107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85108 ac_ext=c
85109 ac_cpp='$CPP $CPPFLAGS'
85110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85118 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
85119 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
85121 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
85123 for ac_func in frexpf
85125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85126 echo "$as_me:$LINENO: checking for $ac_func" >&5
85127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85128 if eval "test \"\${$as_ac_var+set}\" = set"; then
85129 echo $ECHO_N "(cached) $ECHO_C" >&6
85130 else
85131 if test x$gcc_no_link = xyes; then
85132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85134 { (exit 1); exit 1; }; }
85136 cat >conftest.$ac_ext <<_ACEOF
85137 /* confdefs.h. */
85138 _ACEOF
85139 cat confdefs.h >>conftest.$ac_ext
85140 cat >>conftest.$ac_ext <<_ACEOF
85141 /* end confdefs.h. */
85142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85144 #define $ac_func innocuous_$ac_func
85146 /* System header to define __stub macros and hopefully few prototypes,
85147 which can conflict with char $ac_func (); below.
85148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85149 <limits.h> exists even on freestanding compilers. */
85151 #ifdef __STDC__
85152 # include <limits.h>
85153 #else
85154 # include <assert.h>
85155 #endif
85157 #undef $ac_func
85159 /* Override any gcc2 internal prototype to avoid an error. */
85160 #ifdef __cplusplus
85161 extern "C"
85163 #endif
85164 /* We use char because int might match the return type of a gcc2
85165 builtin and then its argument prototype would still apply. */
85166 char $ac_func ();
85167 /* The GNU C library defines this for functions which it implements
85168 to always fail with ENOSYS. Some functions are actually named
85169 something starting with __ and the normal name is an alias. */
85170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85171 choke me
85172 #else
85173 char (*f) () = $ac_func;
85174 #endif
85175 #ifdef __cplusplus
85177 #endif
85180 main ()
85182 return f != $ac_func;
85184 return 0;
85186 _ACEOF
85187 rm -f conftest.$ac_objext conftest$ac_exeext
85188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85189 (eval $ac_link) 2>conftest.er1
85190 ac_status=$?
85191 grep -v '^ *+' conftest.er1 >conftest.err
85192 rm -f conftest.er1
85193 cat conftest.err >&5
85194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85195 (exit $ac_status); } &&
85196 { ac_try='test -z "$ac_c_werror_flag"
85197 || test ! -s conftest.err'
85198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85199 (eval $ac_try) 2>&5
85200 ac_status=$?
85201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85202 (exit $ac_status); }; } &&
85203 { ac_try='test -s conftest$ac_exeext'
85204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85205 (eval $ac_try) 2>&5
85206 ac_status=$?
85207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85208 (exit $ac_status); }; }; then
85209 eval "$as_ac_var=yes"
85210 else
85211 echo "$as_me: failed program was:" >&5
85212 sed 's/^/| /' conftest.$ac_ext >&5
85214 eval "$as_ac_var=no"
85216 rm -f conftest.err conftest.$ac_objext \
85217 conftest$ac_exeext conftest.$ac_ext
85219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85221 if test `eval echo '${'$as_ac_var'}'` = yes; then
85222 cat >>confdefs.h <<_ACEOF
85223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85224 _ACEOF
85227 done
85229 else
85231 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
85232 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
85233 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
85234 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
85235 echo $ECHO_N "(cached) $ECHO_C" >&6
85236 else
85240 ac_ext=cc
85241 ac_cpp='$CXXCPP $CPPFLAGS'
85242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85246 cat >conftest.$ac_ext <<_ACEOF
85247 /* confdefs.h. */
85248 _ACEOF
85249 cat confdefs.h >>conftest.$ac_ext
85250 cat >>conftest.$ac_ext <<_ACEOF
85251 /* end confdefs.h. */
85252 #include <math.h>
85254 main ()
85256 _frexpf(0, 0);
85258 return 0;
85260 _ACEOF
85261 rm -f conftest.$ac_objext
85262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85263 (eval $ac_compile) 2>conftest.er1
85264 ac_status=$?
85265 grep -v '^ *+' conftest.er1 >conftest.err
85266 rm -f conftest.er1
85267 cat conftest.err >&5
85268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85269 (exit $ac_status); } &&
85270 { ac_try='test -z "$ac_cxx_werror_flag"
85271 || test ! -s conftest.err'
85272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85273 (eval $ac_try) 2>&5
85274 ac_status=$?
85275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85276 (exit $ac_status); }; } &&
85277 { ac_try='test -s conftest.$ac_objext'
85278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85279 (eval $ac_try) 2>&5
85280 ac_status=$?
85281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85282 (exit $ac_status); }; }; then
85283 glibcxx_cv_func__frexpf_use=yes
85284 else
85285 echo "$as_me: failed program was:" >&5
85286 sed 's/^/| /' conftest.$ac_ext >&5
85288 glibcxx_cv_func__frexpf_use=no
85290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85291 ac_ext=c
85292 ac_cpp='$CPP $CPPFLAGS'
85293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
85302 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
85304 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
85306 for ac_func in _frexpf
85308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85309 echo "$as_me:$LINENO: checking for $ac_func" >&5
85310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85311 if eval "test \"\${$as_ac_var+set}\" = set"; then
85312 echo $ECHO_N "(cached) $ECHO_C" >&6
85313 else
85314 if test x$gcc_no_link = xyes; then
85315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85317 { (exit 1); exit 1; }; }
85319 cat >conftest.$ac_ext <<_ACEOF
85320 /* confdefs.h. */
85321 _ACEOF
85322 cat confdefs.h >>conftest.$ac_ext
85323 cat >>conftest.$ac_ext <<_ACEOF
85324 /* end confdefs.h. */
85325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85327 #define $ac_func innocuous_$ac_func
85329 /* System header to define __stub macros and hopefully few prototypes,
85330 which can conflict with char $ac_func (); below.
85331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85332 <limits.h> exists even on freestanding compilers. */
85334 #ifdef __STDC__
85335 # include <limits.h>
85336 #else
85337 # include <assert.h>
85338 #endif
85340 #undef $ac_func
85342 /* Override any gcc2 internal prototype to avoid an error. */
85343 #ifdef __cplusplus
85344 extern "C"
85346 #endif
85347 /* We use char because int might match the return type of a gcc2
85348 builtin and then its argument prototype would still apply. */
85349 char $ac_func ();
85350 /* The GNU C library defines this for functions which it implements
85351 to always fail with ENOSYS. Some functions are actually named
85352 something starting with __ and the normal name is an alias. */
85353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85354 choke me
85355 #else
85356 char (*f) () = $ac_func;
85357 #endif
85358 #ifdef __cplusplus
85360 #endif
85363 main ()
85365 return f != $ac_func;
85367 return 0;
85369 _ACEOF
85370 rm -f conftest.$ac_objext conftest$ac_exeext
85371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85372 (eval $ac_link) 2>conftest.er1
85373 ac_status=$?
85374 grep -v '^ *+' conftest.er1 >conftest.err
85375 rm -f conftest.er1
85376 cat conftest.err >&5
85377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85378 (exit $ac_status); } &&
85379 { ac_try='test -z "$ac_c_werror_flag"
85380 || test ! -s conftest.err'
85381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85382 (eval $ac_try) 2>&5
85383 ac_status=$?
85384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85385 (exit $ac_status); }; } &&
85386 { ac_try='test -s conftest$ac_exeext'
85387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85388 (eval $ac_try) 2>&5
85389 ac_status=$?
85390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85391 (exit $ac_status); }; }; then
85392 eval "$as_ac_var=yes"
85393 else
85394 echo "$as_me: failed program was:" >&5
85395 sed 's/^/| /' conftest.$ac_ext >&5
85397 eval "$as_ac_var=no"
85399 rm -f conftest.err conftest.$ac_objext \
85400 conftest$ac_exeext conftest.$ac_ext
85402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85404 if test `eval echo '${'$as_ac_var'}'` = yes; then
85405 cat >>confdefs.h <<_ACEOF
85406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85407 _ACEOF
85410 done
85420 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
85421 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
85422 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
85423 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
85424 echo $ECHO_N "(cached) $ECHO_C" >&6
85425 else
85429 ac_ext=cc
85430 ac_cpp='$CXXCPP $CPPFLAGS'
85431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85435 cat >conftest.$ac_ext <<_ACEOF
85436 /* confdefs.h. */
85437 _ACEOF
85438 cat confdefs.h >>conftest.$ac_ext
85439 cat >>conftest.$ac_ext <<_ACEOF
85440 /* end confdefs.h. */
85441 #include <math.h>
85443 main ()
85445 hypotf(0, 0);
85447 return 0;
85449 _ACEOF
85450 rm -f conftest.$ac_objext
85451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85452 (eval $ac_compile) 2>conftest.er1
85453 ac_status=$?
85454 grep -v '^ *+' conftest.er1 >conftest.err
85455 rm -f conftest.er1
85456 cat conftest.err >&5
85457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85458 (exit $ac_status); } &&
85459 { ac_try='test -z "$ac_cxx_werror_flag"
85460 || test ! -s conftest.err'
85461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85462 (eval $ac_try) 2>&5
85463 ac_status=$?
85464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85465 (exit $ac_status); }; } &&
85466 { ac_try='test -s conftest.$ac_objext'
85467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85468 (eval $ac_try) 2>&5
85469 ac_status=$?
85470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85471 (exit $ac_status); }; }; then
85472 glibcxx_cv_func_hypotf_use=yes
85473 else
85474 echo "$as_me: failed program was:" >&5
85475 sed 's/^/| /' conftest.$ac_ext >&5
85477 glibcxx_cv_func_hypotf_use=no
85479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85480 ac_ext=c
85481 ac_cpp='$CPP $CPPFLAGS'
85482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85490 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
85491 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
85493 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
85495 for ac_func in hypotf
85497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85498 echo "$as_me:$LINENO: checking for $ac_func" >&5
85499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85500 if eval "test \"\${$as_ac_var+set}\" = set"; then
85501 echo $ECHO_N "(cached) $ECHO_C" >&6
85502 else
85503 if test x$gcc_no_link = xyes; then
85504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85506 { (exit 1); exit 1; }; }
85508 cat >conftest.$ac_ext <<_ACEOF
85509 /* confdefs.h. */
85510 _ACEOF
85511 cat confdefs.h >>conftest.$ac_ext
85512 cat >>conftest.$ac_ext <<_ACEOF
85513 /* end confdefs.h. */
85514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85516 #define $ac_func innocuous_$ac_func
85518 /* System header to define __stub macros and hopefully few prototypes,
85519 which can conflict with char $ac_func (); below.
85520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85521 <limits.h> exists even on freestanding compilers. */
85523 #ifdef __STDC__
85524 # include <limits.h>
85525 #else
85526 # include <assert.h>
85527 #endif
85529 #undef $ac_func
85531 /* Override any gcc2 internal prototype to avoid an error. */
85532 #ifdef __cplusplus
85533 extern "C"
85535 #endif
85536 /* We use char because int might match the return type of a gcc2
85537 builtin and then its argument prototype would still apply. */
85538 char $ac_func ();
85539 /* The GNU C library defines this for functions which it implements
85540 to always fail with ENOSYS. Some functions are actually named
85541 something starting with __ and the normal name is an alias. */
85542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85543 choke me
85544 #else
85545 char (*f) () = $ac_func;
85546 #endif
85547 #ifdef __cplusplus
85549 #endif
85552 main ()
85554 return f != $ac_func;
85556 return 0;
85558 _ACEOF
85559 rm -f conftest.$ac_objext conftest$ac_exeext
85560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85561 (eval $ac_link) 2>conftest.er1
85562 ac_status=$?
85563 grep -v '^ *+' conftest.er1 >conftest.err
85564 rm -f conftest.er1
85565 cat conftest.err >&5
85566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85567 (exit $ac_status); } &&
85568 { ac_try='test -z "$ac_c_werror_flag"
85569 || test ! -s conftest.err'
85570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85571 (eval $ac_try) 2>&5
85572 ac_status=$?
85573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85574 (exit $ac_status); }; } &&
85575 { ac_try='test -s conftest$ac_exeext'
85576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85577 (eval $ac_try) 2>&5
85578 ac_status=$?
85579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85580 (exit $ac_status); }; }; then
85581 eval "$as_ac_var=yes"
85582 else
85583 echo "$as_me: failed program was:" >&5
85584 sed 's/^/| /' conftest.$ac_ext >&5
85586 eval "$as_ac_var=no"
85588 rm -f conftest.err conftest.$ac_objext \
85589 conftest$ac_exeext conftest.$ac_ext
85591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85593 if test `eval echo '${'$as_ac_var'}'` = yes; then
85594 cat >>confdefs.h <<_ACEOF
85595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85596 _ACEOF
85599 done
85601 else
85603 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
85604 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
85605 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
85606 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
85607 echo $ECHO_N "(cached) $ECHO_C" >&6
85608 else
85612 ac_ext=cc
85613 ac_cpp='$CXXCPP $CPPFLAGS'
85614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85618 cat >conftest.$ac_ext <<_ACEOF
85619 /* confdefs.h. */
85620 _ACEOF
85621 cat confdefs.h >>conftest.$ac_ext
85622 cat >>conftest.$ac_ext <<_ACEOF
85623 /* end confdefs.h. */
85624 #include <math.h>
85626 main ()
85628 _hypotf(0, 0);
85630 return 0;
85632 _ACEOF
85633 rm -f conftest.$ac_objext
85634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85635 (eval $ac_compile) 2>conftest.er1
85636 ac_status=$?
85637 grep -v '^ *+' conftest.er1 >conftest.err
85638 rm -f conftest.er1
85639 cat conftest.err >&5
85640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85641 (exit $ac_status); } &&
85642 { ac_try='test -z "$ac_cxx_werror_flag"
85643 || test ! -s conftest.err'
85644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85645 (eval $ac_try) 2>&5
85646 ac_status=$?
85647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85648 (exit $ac_status); }; } &&
85649 { ac_try='test -s conftest.$ac_objext'
85650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85651 (eval $ac_try) 2>&5
85652 ac_status=$?
85653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85654 (exit $ac_status); }; }; then
85655 glibcxx_cv_func__hypotf_use=yes
85656 else
85657 echo "$as_me: failed program was:" >&5
85658 sed 's/^/| /' conftest.$ac_ext >&5
85660 glibcxx_cv_func__hypotf_use=no
85662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85663 ac_ext=c
85664 ac_cpp='$CPP $CPPFLAGS'
85665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85673 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
85674 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
85676 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
85678 for ac_func in _hypotf
85680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85681 echo "$as_me:$LINENO: checking for $ac_func" >&5
85682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85683 if eval "test \"\${$as_ac_var+set}\" = set"; then
85684 echo $ECHO_N "(cached) $ECHO_C" >&6
85685 else
85686 if test x$gcc_no_link = xyes; then
85687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85689 { (exit 1); exit 1; }; }
85691 cat >conftest.$ac_ext <<_ACEOF
85692 /* confdefs.h. */
85693 _ACEOF
85694 cat confdefs.h >>conftest.$ac_ext
85695 cat >>conftest.$ac_ext <<_ACEOF
85696 /* end confdefs.h. */
85697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85699 #define $ac_func innocuous_$ac_func
85701 /* System header to define __stub macros and hopefully few prototypes,
85702 which can conflict with char $ac_func (); below.
85703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85704 <limits.h> exists even on freestanding compilers. */
85706 #ifdef __STDC__
85707 # include <limits.h>
85708 #else
85709 # include <assert.h>
85710 #endif
85712 #undef $ac_func
85714 /* Override any gcc2 internal prototype to avoid an error. */
85715 #ifdef __cplusplus
85716 extern "C"
85718 #endif
85719 /* We use char because int might match the return type of a gcc2
85720 builtin and then its argument prototype would still apply. */
85721 char $ac_func ();
85722 /* The GNU C library defines this for functions which it implements
85723 to always fail with ENOSYS. Some functions are actually named
85724 something starting with __ and the normal name is an alias. */
85725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85726 choke me
85727 #else
85728 char (*f) () = $ac_func;
85729 #endif
85730 #ifdef __cplusplus
85732 #endif
85735 main ()
85737 return f != $ac_func;
85739 return 0;
85741 _ACEOF
85742 rm -f conftest.$ac_objext conftest$ac_exeext
85743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85744 (eval $ac_link) 2>conftest.er1
85745 ac_status=$?
85746 grep -v '^ *+' conftest.er1 >conftest.err
85747 rm -f conftest.er1
85748 cat conftest.err >&5
85749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85750 (exit $ac_status); } &&
85751 { ac_try='test -z "$ac_c_werror_flag"
85752 || test ! -s conftest.err'
85753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85754 (eval $ac_try) 2>&5
85755 ac_status=$?
85756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85757 (exit $ac_status); }; } &&
85758 { ac_try='test -s conftest$ac_exeext'
85759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85760 (eval $ac_try) 2>&5
85761 ac_status=$?
85762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85763 (exit $ac_status); }; }; then
85764 eval "$as_ac_var=yes"
85765 else
85766 echo "$as_me: failed program was:" >&5
85767 sed 's/^/| /' conftest.$ac_ext >&5
85769 eval "$as_ac_var=no"
85771 rm -f conftest.err conftest.$ac_objext \
85772 conftest$ac_exeext conftest.$ac_ext
85774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85776 if test `eval echo '${'$as_ac_var'}'` = yes; then
85777 cat >>confdefs.h <<_ACEOF
85778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85779 _ACEOF
85782 done
85792 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
85793 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
85794 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
85795 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
85796 echo $ECHO_N "(cached) $ECHO_C" >&6
85797 else
85801 ac_ext=cc
85802 ac_cpp='$CXXCPP $CPPFLAGS'
85803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85807 cat >conftest.$ac_ext <<_ACEOF
85808 /* confdefs.h. */
85809 _ACEOF
85810 cat confdefs.h >>conftest.$ac_ext
85811 cat >>conftest.$ac_ext <<_ACEOF
85812 /* end confdefs.h. */
85813 #include <math.h>
85815 main ()
85817 ldexpf(0, 0);
85819 return 0;
85821 _ACEOF
85822 rm -f conftest.$ac_objext
85823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85824 (eval $ac_compile) 2>conftest.er1
85825 ac_status=$?
85826 grep -v '^ *+' conftest.er1 >conftest.err
85827 rm -f conftest.er1
85828 cat conftest.err >&5
85829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85830 (exit $ac_status); } &&
85831 { ac_try='test -z "$ac_cxx_werror_flag"
85832 || test ! -s conftest.err'
85833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85834 (eval $ac_try) 2>&5
85835 ac_status=$?
85836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85837 (exit $ac_status); }; } &&
85838 { ac_try='test -s conftest.$ac_objext'
85839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85840 (eval $ac_try) 2>&5
85841 ac_status=$?
85842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85843 (exit $ac_status); }; }; then
85844 glibcxx_cv_func_ldexpf_use=yes
85845 else
85846 echo "$as_me: failed program was:" >&5
85847 sed 's/^/| /' conftest.$ac_ext >&5
85849 glibcxx_cv_func_ldexpf_use=no
85851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85852 ac_ext=c
85853 ac_cpp='$CPP $CPPFLAGS'
85854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85862 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
85863 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
85865 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
85867 for ac_func in ldexpf
85869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85870 echo "$as_me:$LINENO: checking for $ac_func" >&5
85871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85872 if eval "test \"\${$as_ac_var+set}\" = set"; then
85873 echo $ECHO_N "(cached) $ECHO_C" >&6
85874 else
85875 if test x$gcc_no_link = xyes; then
85876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85878 { (exit 1); exit 1; }; }
85880 cat >conftest.$ac_ext <<_ACEOF
85881 /* confdefs.h. */
85882 _ACEOF
85883 cat confdefs.h >>conftest.$ac_ext
85884 cat >>conftest.$ac_ext <<_ACEOF
85885 /* end confdefs.h. */
85886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85888 #define $ac_func innocuous_$ac_func
85890 /* System header to define __stub macros and hopefully few prototypes,
85891 which can conflict with char $ac_func (); below.
85892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85893 <limits.h> exists even on freestanding compilers. */
85895 #ifdef __STDC__
85896 # include <limits.h>
85897 #else
85898 # include <assert.h>
85899 #endif
85901 #undef $ac_func
85903 /* Override any gcc2 internal prototype to avoid an error. */
85904 #ifdef __cplusplus
85905 extern "C"
85907 #endif
85908 /* We use char because int might match the return type of a gcc2
85909 builtin and then its argument prototype would still apply. */
85910 char $ac_func ();
85911 /* The GNU C library defines this for functions which it implements
85912 to always fail with ENOSYS. Some functions are actually named
85913 something starting with __ and the normal name is an alias. */
85914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85915 choke me
85916 #else
85917 char (*f) () = $ac_func;
85918 #endif
85919 #ifdef __cplusplus
85921 #endif
85924 main ()
85926 return f != $ac_func;
85928 return 0;
85930 _ACEOF
85931 rm -f conftest.$ac_objext conftest$ac_exeext
85932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85933 (eval $ac_link) 2>conftest.er1
85934 ac_status=$?
85935 grep -v '^ *+' conftest.er1 >conftest.err
85936 rm -f conftest.er1
85937 cat conftest.err >&5
85938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85939 (exit $ac_status); } &&
85940 { ac_try='test -z "$ac_c_werror_flag"
85941 || test ! -s conftest.err'
85942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85943 (eval $ac_try) 2>&5
85944 ac_status=$?
85945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85946 (exit $ac_status); }; } &&
85947 { ac_try='test -s conftest$ac_exeext'
85948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85949 (eval $ac_try) 2>&5
85950 ac_status=$?
85951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85952 (exit $ac_status); }; }; then
85953 eval "$as_ac_var=yes"
85954 else
85955 echo "$as_me: failed program was:" >&5
85956 sed 's/^/| /' conftest.$ac_ext >&5
85958 eval "$as_ac_var=no"
85960 rm -f conftest.err conftest.$ac_objext \
85961 conftest$ac_exeext conftest.$ac_ext
85963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85965 if test `eval echo '${'$as_ac_var'}'` = yes; then
85966 cat >>confdefs.h <<_ACEOF
85967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85968 _ACEOF
85971 done
85973 else
85975 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
85976 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
85977 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
85978 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
85979 echo $ECHO_N "(cached) $ECHO_C" >&6
85980 else
85984 ac_ext=cc
85985 ac_cpp='$CXXCPP $CPPFLAGS'
85986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85990 cat >conftest.$ac_ext <<_ACEOF
85991 /* confdefs.h. */
85992 _ACEOF
85993 cat confdefs.h >>conftest.$ac_ext
85994 cat >>conftest.$ac_ext <<_ACEOF
85995 /* end confdefs.h. */
85996 #include <math.h>
85998 main ()
86000 _ldexpf(0, 0);
86002 return 0;
86004 _ACEOF
86005 rm -f conftest.$ac_objext
86006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86007 (eval $ac_compile) 2>conftest.er1
86008 ac_status=$?
86009 grep -v '^ *+' conftest.er1 >conftest.err
86010 rm -f conftest.er1
86011 cat conftest.err >&5
86012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86013 (exit $ac_status); } &&
86014 { ac_try='test -z "$ac_cxx_werror_flag"
86015 || test ! -s conftest.err'
86016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86017 (eval $ac_try) 2>&5
86018 ac_status=$?
86019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86020 (exit $ac_status); }; } &&
86021 { ac_try='test -s conftest.$ac_objext'
86022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86023 (eval $ac_try) 2>&5
86024 ac_status=$?
86025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86026 (exit $ac_status); }; }; then
86027 glibcxx_cv_func__ldexpf_use=yes
86028 else
86029 echo "$as_me: failed program was:" >&5
86030 sed 's/^/| /' conftest.$ac_ext >&5
86032 glibcxx_cv_func__ldexpf_use=no
86034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86035 ac_ext=c
86036 ac_cpp='$CPP $CPPFLAGS'
86037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86045 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
86046 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
86048 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
86050 for ac_func in _ldexpf
86052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86053 echo "$as_me:$LINENO: checking for $ac_func" >&5
86054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86055 if eval "test \"\${$as_ac_var+set}\" = set"; then
86056 echo $ECHO_N "(cached) $ECHO_C" >&6
86057 else
86058 if test x$gcc_no_link = xyes; then
86059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86061 { (exit 1); exit 1; }; }
86063 cat >conftest.$ac_ext <<_ACEOF
86064 /* confdefs.h. */
86065 _ACEOF
86066 cat confdefs.h >>conftest.$ac_ext
86067 cat >>conftest.$ac_ext <<_ACEOF
86068 /* end confdefs.h. */
86069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86071 #define $ac_func innocuous_$ac_func
86073 /* System header to define __stub macros and hopefully few prototypes,
86074 which can conflict with char $ac_func (); below.
86075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86076 <limits.h> exists even on freestanding compilers. */
86078 #ifdef __STDC__
86079 # include <limits.h>
86080 #else
86081 # include <assert.h>
86082 #endif
86084 #undef $ac_func
86086 /* Override any gcc2 internal prototype to avoid an error. */
86087 #ifdef __cplusplus
86088 extern "C"
86090 #endif
86091 /* We use char because int might match the return type of a gcc2
86092 builtin and then its argument prototype would still apply. */
86093 char $ac_func ();
86094 /* The GNU C library defines this for functions which it implements
86095 to always fail with ENOSYS. Some functions are actually named
86096 something starting with __ and the normal name is an alias. */
86097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86098 choke me
86099 #else
86100 char (*f) () = $ac_func;
86101 #endif
86102 #ifdef __cplusplus
86104 #endif
86107 main ()
86109 return f != $ac_func;
86111 return 0;
86113 _ACEOF
86114 rm -f conftest.$ac_objext conftest$ac_exeext
86115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86116 (eval $ac_link) 2>conftest.er1
86117 ac_status=$?
86118 grep -v '^ *+' conftest.er1 >conftest.err
86119 rm -f conftest.er1
86120 cat conftest.err >&5
86121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86122 (exit $ac_status); } &&
86123 { ac_try='test -z "$ac_c_werror_flag"
86124 || test ! -s conftest.err'
86125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86126 (eval $ac_try) 2>&5
86127 ac_status=$?
86128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86129 (exit $ac_status); }; } &&
86130 { ac_try='test -s conftest$ac_exeext'
86131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86132 (eval $ac_try) 2>&5
86133 ac_status=$?
86134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86135 (exit $ac_status); }; }; then
86136 eval "$as_ac_var=yes"
86137 else
86138 echo "$as_me: failed program was:" >&5
86139 sed 's/^/| /' conftest.$ac_ext >&5
86141 eval "$as_ac_var=no"
86143 rm -f conftest.err conftest.$ac_objext \
86144 conftest$ac_exeext conftest.$ac_ext
86146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86148 if test `eval echo '${'$as_ac_var'}'` = yes; then
86149 cat >>confdefs.h <<_ACEOF
86150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86151 _ACEOF
86154 done
86164 echo "$as_me:$LINENO: checking for logf declaration" >&5
86165 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
86166 if test x${glibcxx_cv_func_logf_use+set} != xset; then
86167 if test "${glibcxx_cv_func_logf_use+set}" = set; then
86168 echo $ECHO_N "(cached) $ECHO_C" >&6
86169 else
86173 ac_ext=cc
86174 ac_cpp='$CXXCPP $CPPFLAGS'
86175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86179 cat >conftest.$ac_ext <<_ACEOF
86180 /* confdefs.h. */
86181 _ACEOF
86182 cat confdefs.h >>conftest.$ac_ext
86183 cat >>conftest.$ac_ext <<_ACEOF
86184 /* end confdefs.h. */
86185 #include <math.h>
86186 #ifdef HAVE_IEEEFP_H
86187 #include <ieeefp.h>
86188 #endif
86191 main ()
86193 logf(0);
86195 return 0;
86197 _ACEOF
86198 rm -f conftest.$ac_objext
86199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86200 (eval $ac_compile) 2>conftest.er1
86201 ac_status=$?
86202 grep -v '^ *+' conftest.er1 >conftest.err
86203 rm -f conftest.er1
86204 cat conftest.err >&5
86205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86206 (exit $ac_status); } &&
86207 { ac_try='test -z "$ac_cxx_werror_flag"
86208 || test ! -s conftest.err'
86209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86210 (eval $ac_try) 2>&5
86211 ac_status=$?
86212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86213 (exit $ac_status); }; } &&
86214 { ac_try='test -s conftest.$ac_objext'
86215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86216 (eval $ac_try) 2>&5
86217 ac_status=$?
86218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86219 (exit $ac_status); }; }; then
86220 glibcxx_cv_func_logf_use=yes
86221 else
86222 echo "$as_me: failed program was:" >&5
86223 sed 's/^/| /' conftest.$ac_ext >&5
86225 glibcxx_cv_func_logf_use=no
86227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86228 ac_ext=c
86229 ac_cpp='$CPP $CPPFLAGS'
86230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86238 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
86239 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
86241 if test x$glibcxx_cv_func_logf_use = x"yes"; then
86243 for ac_func in logf
86245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86246 echo "$as_me:$LINENO: checking for $ac_func" >&5
86247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86248 if eval "test \"\${$as_ac_var+set}\" = set"; then
86249 echo $ECHO_N "(cached) $ECHO_C" >&6
86250 else
86251 if test x$gcc_no_link = xyes; then
86252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86254 { (exit 1); exit 1; }; }
86256 cat >conftest.$ac_ext <<_ACEOF
86257 /* confdefs.h. */
86258 _ACEOF
86259 cat confdefs.h >>conftest.$ac_ext
86260 cat >>conftest.$ac_ext <<_ACEOF
86261 /* end confdefs.h. */
86262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86264 #define $ac_func innocuous_$ac_func
86266 /* System header to define __stub macros and hopefully few prototypes,
86267 which can conflict with char $ac_func (); below.
86268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86269 <limits.h> exists even on freestanding compilers. */
86271 #ifdef __STDC__
86272 # include <limits.h>
86273 #else
86274 # include <assert.h>
86275 #endif
86277 #undef $ac_func
86279 /* Override any gcc2 internal prototype to avoid an error. */
86280 #ifdef __cplusplus
86281 extern "C"
86283 #endif
86284 /* We use char because int might match the return type of a gcc2
86285 builtin and then its argument prototype would still apply. */
86286 char $ac_func ();
86287 /* The GNU C library defines this for functions which it implements
86288 to always fail with ENOSYS. Some functions are actually named
86289 something starting with __ and the normal name is an alias. */
86290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86291 choke me
86292 #else
86293 char (*f) () = $ac_func;
86294 #endif
86295 #ifdef __cplusplus
86297 #endif
86300 main ()
86302 return f != $ac_func;
86304 return 0;
86306 _ACEOF
86307 rm -f conftest.$ac_objext conftest$ac_exeext
86308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86309 (eval $ac_link) 2>conftest.er1
86310 ac_status=$?
86311 grep -v '^ *+' conftest.er1 >conftest.err
86312 rm -f conftest.er1
86313 cat conftest.err >&5
86314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86315 (exit $ac_status); } &&
86316 { ac_try='test -z "$ac_c_werror_flag"
86317 || test ! -s conftest.err'
86318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86319 (eval $ac_try) 2>&5
86320 ac_status=$?
86321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86322 (exit $ac_status); }; } &&
86323 { ac_try='test -s conftest$ac_exeext'
86324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86325 (eval $ac_try) 2>&5
86326 ac_status=$?
86327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86328 (exit $ac_status); }; }; then
86329 eval "$as_ac_var=yes"
86330 else
86331 echo "$as_me: failed program was:" >&5
86332 sed 's/^/| /' conftest.$ac_ext >&5
86334 eval "$as_ac_var=no"
86336 rm -f conftest.err conftest.$ac_objext \
86337 conftest$ac_exeext conftest.$ac_ext
86339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86341 if test `eval echo '${'$as_ac_var'}'` = yes; then
86342 cat >>confdefs.h <<_ACEOF
86343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86344 _ACEOF
86347 done
86349 else
86351 echo "$as_me:$LINENO: checking for _logf declaration" >&5
86352 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
86353 if test x${glibcxx_cv_func__logf_use+set} != xset; then
86354 if test "${glibcxx_cv_func__logf_use+set}" = set; then
86355 echo $ECHO_N "(cached) $ECHO_C" >&6
86356 else
86360 ac_ext=cc
86361 ac_cpp='$CXXCPP $CPPFLAGS'
86362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86366 cat >conftest.$ac_ext <<_ACEOF
86367 /* confdefs.h. */
86368 _ACEOF
86369 cat confdefs.h >>conftest.$ac_ext
86370 cat >>conftest.$ac_ext <<_ACEOF
86371 /* end confdefs.h. */
86372 #include <math.h>
86373 #ifdef HAVE_IEEEFP_H
86374 #include <ieeefp.h>
86375 #endif
86378 main ()
86380 _logf(0);
86382 return 0;
86384 _ACEOF
86385 rm -f conftest.$ac_objext
86386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86387 (eval $ac_compile) 2>conftest.er1
86388 ac_status=$?
86389 grep -v '^ *+' conftest.er1 >conftest.err
86390 rm -f conftest.er1
86391 cat conftest.err >&5
86392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86393 (exit $ac_status); } &&
86394 { ac_try='test -z "$ac_cxx_werror_flag"
86395 || test ! -s conftest.err'
86396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86397 (eval $ac_try) 2>&5
86398 ac_status=$?
86399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86400 (exit $ac_status); }; } &&
86401 { ac_try='test -s conftest.$ac_objext'
86402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86403 (eval $ac_try) 2>&5
86404 ac_status=$?
86405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86406 (exit $ac_status); }; }; then
86407 glibcxx_cv_func__logf_use=yes
86408 else
86409 echo "$as_me: failed program was:" >&5
86410 sed 's/^/| /' conftest.$ac_ext >&5
86412 glibcxx_cv_func__logf_use=no
86414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86415 ac_ext=c
86416 ac_cpp='$CPP $CPPFLAGS'
86417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
86426 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
86428 if test x$glibcxx_cv_func__logf_use = x"yes"; then
86430 for ac_func in _logf
86432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86433 echo "$as_me:$LINENO: checking for $ac_func" >&5
86434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86435 if eval "test \"\${$as_ac_var+set}\" = set"; then
86436 echo $ECHO_N "(cached) $ECHO_C" >&6
86437 else
86438 if test x$gcc_no_link = xyes; then
86439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86441 { (exit 1); exit 1; }; }
86443 cat >conftest.$ac_ext <<_ACEOF
86444 /* confdefs.h. */
86445 _ACEOF
86446 cat confdefs.h >>conftest.$ac_ext
86447 cat >>conftest.$ac_ext <<_ACEOF
86448 /* end confdefs.h. */
86449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86451 #define $ac_func innocuous_$ac_func
86453 /* System header to define __stub macros and hopefully few prototypes,
86454 which can conflict with char $ac_func (); below.
86455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86456 <limits.h> exists even on freestanding compilers. */
86458 #ifdef __STDC__
86459 # include <limits.h>
86460 #else
86461 # include <assert.h>
86462 #endif
86464 #undef $ac_func
86466 /* Override any gcc2 internal prototype to avoid an error. */
86467 #ifdef __cplusplus
86468 extern "C"
86470 #endif
86471 /* We use char because int might match the return type of a gcc2
86472 builtin and then its argument prototype would still apply. */
86473 char $ac_func ();
86474 /* The GNU C library defines this for functions which it implements
86475 to always fail with ENOSYS. Some functions are actually named
86476 something starting with __ and the normal name is an alias. */
86477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86478 choke me
86479 #else
86480 char (*f) () = $ac_func;
86481 #endif
86482 #ifdef __cplusplus
86484 #endif
86487 main ()
86489 return f != $ac_func;
86491 return 0;
86493 _ACEOF
86494 rm -f conftest.$ac_objext conftest$ac_exeext
86495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86496 (eval $ac_link) 2>conftest.er1
86497 ac_status=$?
86498 grep -v '^ *+' conftest.er1 >conftest.err
86499 rm -f conftest.er1
86500 cat conftest.err >&5
86501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86502 (exit $ac_status); } &&
86503 { ac_try='test -z "$ac_c_werror_flag"
86504 || test ! -s conftest.err'
86505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86506 (eval $ac_try) 2>&5
86507 ac_status=$?
86508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86509 (exit $ac_status); }; } &&
86510 { ac_try='test -s conftest$ac_exeext'
86511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86512 (eval $ac_try) 2>&5
86513 ac_status=$?
86514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86515 (exit $ac_status); }; }; then
86516 eval "$as_ac_var=yes"
86517 else
86518 echo "$as_me: failed program was:" >&5
86519 sed 's/^/| /' conftest.$ac_ext >&5
86521 eval "$as_ac_var=no"
86523 rm -f conftest.err conftest.$ac_objext \
86524 conftest$ac_exeext conftest.$ac_ext
86526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86528 if test `eval echo '${'$as_ac_var'}'` = yes; then
86529 cat >>confdefs.h <<_ACEOF
86530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86531 _ACEOF
86534 done
86544 echo "$as_me:$LINENO: checking for log10f declaration" >&5
86545 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
86546 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
86547 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
86548 echo $ECHO_N "(cached) $ECHO_C" >&6
86549 else
86553 ac_ext=cc
86554 ac_cpp='$CXXCPP $CPPFLAGS'
86555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86559 cat >conftest.$ac_ext <<_ACEOF
86560 /* confdefs.h. */
86561 _ACEOF
86562 cat confdefs.h >>conftest.$ac_ext
86563 cat >>conftest.$ac_ext <<_ACEOF
86564 /* end confdefs.h. */
86565 #include <math.h>
86566 #ifdef HAVE_IEEEFP_H
86567 #include <ieeefp.h>
86568 #endif
86571 main ()
86573 log10f(0);
86575 return 0;
86577 _ACEOF
86578 rm -f conftest.$ac_objext
86579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86580 (eval $ac_compile) 2>conftest.er1
86581 ac_status=$?
86582 grep -v '^ *+' conftest.er1 >conftest.err
86583 rm -f conftest.er1
86584 cat conftest.err >&5
86585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86586 (exit $ac_status); } &&
86587 { ac_try='test -z "$ac_cxx_werror_flag"
86588 || test ! -s conftest.err'
86589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86590 (eval $ac_try) 2>&5
86591 ac_status=$?
86592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86593 (exit $ac_status); }; } &&
86594 { ac_try='test -s conftest.$ac_objext'
86595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86596 (eval $ac_try) 2>&5
86597 ac_status=$?
86598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86599 (exit $ac_status); }; }; then
86600 glibcxx_cv_func_log10f_use=yes
86601 else
86602 echo "$as_me: failed program was:" >&5
86603 sed 's/^/| /' conftest.$ac_ext >&5
86605 glibcxx_cv_func_log10f_use=no
86607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86608 ac_ext=c
86609 ac_cpp='$CPP $CPPFLAGS'
86610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
86619 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
86621 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
86623 for ac_func in log10f
86625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86626 echo "$as_me:$LINENO: checking for $ac_func" >&5
86627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86628 if eval "test \"\${$as_ac_var+set}\" = set"; then
86629 echo $ECHO_N "(cached) $ECHO_C" >&6
86630 else
86631 if test x$gcc_no_link = xyes; then
86632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86634 { (exit 1); exit 1; }; }
86636 cat >conftest.$ac_ext <<_ACEOF
86637 /* confdefs.h. */
86638 _ACEOF
86639 cat confdefs.h >>conftest.$ac_ext
86640 cat >>conftest.$ac_ext <<_ACEOF
86641 /* end confdefs.h. */
86642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86644 #define $ac_func innocuous_$ac_func
86646 /* System header to define __stub macros and hopefully few prototypes,
86647 which can conflict with char $ac_func (); below.
86648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86649 <limits.h> exists even on freestanding compilers. */
86651 #ifdef __STDC__
86652 # include <limits.h>
86653 #else
86654 # include <assert.h>
86655 #endif
86657 #undef $ac_func
86659 /* Override any gcc2 internal prototype to avoid an error. */
86660 #ifdef __cplusplus
86661 extern "C"
86663 #endif
86664 /* We use char because int might match the return type of a gcc2
86665 builtin and then its argument prototype would still apply. */
86666 char $ac_func ();
86667 /* The GNU C library defines this for functions which it implements
86668 to always fail with ENOSYS. Some functions are actually named
86669 something starting with __ and the normal name is an alias. */
86670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86671 choke me
86672 #else
86673 char (*f) () = $ac_func;
86674 #endif
86675 #ifdef __cplusplus
86677 #endif
86680 main ()
86682 return f != $ac_func;
86684 return 0;
86686 _ACEOF
86687 rm -f conftest.$ac_objext conftest$ac_exeext
86688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86689 (eval $ac_link) 2>conftest.er1
86690 ac_status=$?
86691 grep -v '^ *+' conftest.er1 >conftest.err
86692 rm -f conftest.er1
86693 cat conftest.err >&5
86694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86695 (exit $ac_status); } &&
86696 { ac_try='test -z "$ac_c_werror_flag"
86697 || test ! -s conftest.err'
86698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86699 (eval $ac_try) 2>&5
86700 ac_status=$?
86701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86702 (exit $ac_status); }; } &&
86703 { ac_try='test -s conftest$ac_exeext'
86704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86705 (eval $ac_try) 2>&5
86706 ac_status=$?
86707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86708 (exit $ac_status); }; }; then
86709 eval "$as_ac_var=yes"
86710 else
86711 echo "$as_me: failed program was:" >&5
86712 sed 's/^/| /' conftest.$ac_ext >&5
86714 eval "$as_ac_var=no"
86716 rm -f conftest.err conftest.$ac_objext \
86717 conftest$ac_exeext conftest.$ac_ext
86719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86721 if test `eval echo '${'$as_ac_var'}'` = yes; then
86722 cat >>confdefs.h <<_ACEOF
86723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86724 _ACEOF
86727 done
86729 else
86731 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
86732 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
86733 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
86734 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
86735 echo $ECHO_N "(cached) $ECHO_C" >&6
86736 else
86740 ac_ext=cc
86741 ac_cpp='$CXXCPP $CPPFLAGS'
86742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86746 cat >conftest.$ac_ext <<_ACEOF
86747 /* confdefs.h. */
86748 _ACEOF
86749 cat confdefs.h >>conftest.$ac_ext
86750 cat >>conftest.$ac_ext <<_ACEOF
86751 /* end confdefs.h. */
86752 #include <math.h>
86753 #ifdef HAVE_IEEEFP_H
86754 #include <ieeefp.h>
86755 #endif
86758 main ()
86760 _log10f(0);
86762 return 0;
86764 _ACEOF
86765 rm -f conftest.$ac_objext
86766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86767 (eval $ac_compile) 2>conftest.er1
86768 ac_status=$?
86769 grep -v '^ *+' conftest.er1 >conftest.err
86770 rm -f conftest.er1
86771 cat conftest.err >&5
86772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86773 (exit $ac_status); } &&
86774 { ac_try='test -z "$ac_cxx_werror_flag"
86775 || test ! -s conftest.err'
86776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86777 (eval $ac_try) 2>&5
86778 ac_status=$?
86779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86780 (exit $ac_status); }; } &&
86781 { ac_try='test -s conftest.$ac_objext'
86782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86783 (eval $ac_try) 2>&5
86784 ac_status=$?
86785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86786 (exit $ac_status); }; }; then
86787 glibcxx_cv_func__log10f_use=yes
86788 else
86789 echo "$as_me: failed program was:" >&5
86790 sed 's/^/| /' conftest.$ac_ext >&5
86792 glibcxx_cv_func__log10f_use=no
86794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86795 ac_ext=c
86796 ac_cpp='$CPP $CPPFLAGS'
86797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
86806 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
86808 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
86810 for ac_func in _log10f
86812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86813 echo "$as_me:$LINENO: checking for $ac_func" >&5
86814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86815 if eval "test \"\${$as_ac_var+set}\" = set"; then
86816 echo $ECHO_N "(cached) $ECHO_C" >&6
86817 else
86818 if test x$gcc_no_link = xyes; then
86819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86821 { (exit 1); exit 1; }; }
86823 cat >conftest.$ac_ext <<_ACEOF
86824 /* confdefs.h. */
86825 _ACEOF
86826 cat confdefs.h >>conftest.$ac_ext
86827 cat >>conftest.$ac_ext <<_ACEOF
86828 /* end confdefs.h. */
86829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86831 #define $ac_func innocuous_$ac_func
86833 /* System header to define __stub macros and hopefully few prototypes,
86834 which can conflict with char $ac_func (); below.
86835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86836 <limits.h> exists even on freestanding compilers. */
86838 #ifdef __STDC__
86839 # include <limits.h>
86840 #else
86841 # include <assert.h>
86842 #endif
86844 #undef $ac_func
86846 /* Override any gcc2 internal prototype to avoid an error. */
86847 #ifdef __cplusplus
86848 extern "C"
86850 #endif
86851 /* We use char because int might match the return type of a gcc2
86852 builtin and then its argument prototype would still apply. */
86853 char $ac_func ();
86854 /* The GNU C library defines this for functions which it implements
86855 to always fail with ENOSYS. Some functions are actually named
86856 something starting with __ and the normal name is an alias. */
86857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86858 choke me
86859 #else
86860 char (*f) () = $ac_func;
86861 #endif
86862 #ifdef __cplusplus
86864 #endif
86867 main ()
86869 return f != $ac_func;
86871 return 0;
86873 _ACEOF
86874 rm -f conftest.$ac_objext conftest$ac_exeext
86875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86876 (eval $ac_link) 2>conftest.er1
86877 ac_status=$?
86878 grep -v '^ *+' conftest.er1 >conftest.err
86879 rm -f conftest.er1
86880 cat conftest.err >&5
86881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86882 (exit $ac_status); } &&
86883 { ac_try='test -z "$ac_c_werror_flag"
86884 || test ! -s conftest.err'
86885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86886 (eval $ac_try) 2>&5
86887 ac_status=$?
86888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86889 (exit $ac_status); }; } &&
86890 { ac_try='test -s conftest$ac_exeext'
86891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86892 (eval $ac_try) 2>&5
86893 ac_status=$?
86894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86895 (exit $ac_status); }; }; then
86896 eval "$as_ac_var=yes"
86897 else
86898 echo "$as_me: failed program was:" >&5
86899 sed 's/^/| /' conftest.$ac_ext >&5
86901 eval "$as_ac_var=no"
86903 rm -f conftest.err conftest.$ac_objext \
86904 conftest$ac_exeext conftest.$ac_ext
86906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86908 if test `eval echo '${'$as_ac_var'}'` = yes; then
86909 cat >>confdefs.h <<_ACEOF
86910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86911 _ACEOF
86914 done
86924 echo "$as_me:$LINENO: checking for modff declaration" >&5
86925 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
86926 if test x${glibcxx_cv_func_modff_use+set} != xset; then
86927 if test "${glibcxx_cv_func_modff_use+set}" = set; then
86928 echo $ECHO_N "(cached) $ECHO_C" >&6
86929 else
86933 ac_ext=cc
86934 ac_cpp='$CXXCPP $CPPFLAGS'
86935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86939 cat >conftest.$ac_ext <<_ACEOF
86940 /* confdefs.h. */
86941 _ACEOF
86942 cat confdefs.h >>conftest.$ac_ext
86943 cat >>conftest.$ac_ext <<_ACEOF
86944 /* end confdefs.h. */
86945 #include <math.h>
86947 main ()
86949 modff(0, 0);
86951 return 0;
86953 _ACEOF
86954 rm -f conftest.$ac_objext
86955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86956 (eval $ac_compile) 2>conftest.er1
86957 ac_status=$?
86958 grep -v '^ *+' conftest.er1 >conftest.err
86959 rm -f conftest.er1
86960 cat conftest.err >&5
86961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86962 (exit $ac_status); } &&
86963 { ac_try='test -z "$ac_cxx_werror_flag"
86964 || test ! -s conftest.err'
86965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86966 (eval $ac_try) 2>&5
86967 ac_status=$?
86968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86969 (exit $ac_status); }; } &&
86970 { ac_try='test -s conftest.$ac_objext'
86971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86972 (eval $ac_try) 2>&5
86973 ac_status=$?
86974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86975 (exit $ac_status); }; }; then
86976 glibcxx_cv_func_modff_use=yes
86977 else
86978 echo "$as_me: failed program was:" >&5
86979 sed 's/^/| /' conftest.$ac_ext >&5
86981 glibcxx_cv_func_modff_use=no
86983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86984 ac_ext=c
86985 ac_cpp='$CPP $CPPFLAGS'
86986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
86995 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
86997 if test x$glibcxx_cv_func_modff_use = x"yes"; then
86999 for ac_func in modff
87001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87002 echo "$as_me:$LINENO: checking for $ac_func" >&5
87003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87004 if eval "test \"\${$as_ac_var+set}\" = set"; then
87005 echo $ECHO_N "(cached) $ECHO_C" >&6
87006 else
87007 if test x$gcc_no_link = xyes; then
87008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87010 { (exit 1); exit 1; }; }
87012 cat >conftest.$ac_ext <<_ACEOF
87013 /* confdefs.h. */
87014 _ACEOF
87015 cat confdefs.h >>conftest.$ac_ext
87016 cat >>conftest.$ac_ext <<_ACEOF
87017 /* end confdefs.h. */
87018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87020 #define $ac_func innocuous_$ac_func
87022 /* System header to define __stub macros and hopefully few prototypes,
87023 which can conflict with char $ac_func (); below.
87024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87025 <limits.h> exists even on freestanding compilers. */
87027 #ifdef __STDC__
87028 # include <limits.h>
87029 #else
87030 # include <assert.h>
87031 #endif
87033 #undef $ac_func
87035 /* Override any gcc2 internal prototype to avoid an error. */
87036 #ifdef __cplusplus
87037 extern "C"
87039 #endif
87040 /* We use char because int might match the return type of a gcc2
87041 builtin and then its argument prototype would still apply. */
87042 char $ac_func ();
87043 /* The GNU C library defines this for functions which it implements
87044 to always fail with ENOSYS. Some functions are actually named
87045 something starting with __ and the normal name is an alias. */
87046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87047 choke me
87048 #else
87049 char (*f) () = $ac_func;
87050 #endif
87051 #ifdef __cplusplus
87053 #endif
87056 main ()
87058 return f != $ac_func;
87060 return 0;
87062 _ACEOF
87063 rm -f conftest.$ac_objext conftest$ac_exeext
87064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87065 (eval $ac_link) 2>conftest.er1
87066 ac_status=$?
87067 grep -v '^ *+' conftest.er1 >conftest.err
87068 rm -f conftest.er1
87069 cat conftest.err >&5
87070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87071 (exit $ac_status); } &&
87072 { ac_try='test -z "$ac_c_werror_flag"
87073 || test ! -s conftest.err'
87074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87075 (eval $ac_try) 2>&5
87076 ac_status=$?
87077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87078 (exit $ac_status); }; } &&
87079 { ac_try='test -s conftest$ac_exeext'
87080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87081 (eval $ac_try) 2>&5
87082 ac_status=$?
87083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87084 (exit $ac_status); }; }; then
87085 eval "$as_ac_var=yes"
87086 else
87087 echo "$as_me: failed program was:" >&5
87088 sed 's/^/| /' conftest.$ac_ext >&5
87090 eval "$as_ac_var=no"
87092 rm -f conftest.err conftest.$ac_objext \
87093 conftest$ac_exeext conftest.$ac_ext
87095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87097 if test `eval echo '${'$as_ac_var'}'` = yes; then
87098 cat >>confdefs.h <<_ACEOF
87099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87100 _ACEOF
87103 done
87105 else
87107 echo "$as_me:$LINENO: checking for _modff declaration" >&5
87108 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
87109 if test x${glibcxx_cv_func__modff_use+set} != xset; then
87110 if test "${glibcxx_cv_func__modff_use+set}" = set; then
87111 echo $ECHO_N "(cached) $ECHO_C" >&6
87112 else
87116 ac_ext=cc
87117 ac_cpp='$CXXCPP $CPPFLAGS'
87118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87122 cat >conftest.$ac_ext <<_ACEOF
87123 /* confdefs.h. */
87124 _ACEOF
87125 cat confdefs.h >>conftest.$ac_ext
87126 cat >>conftest.$ac_ext <<_ACEOF
87127 /* end confdefs.h. */
87128 #include <math.h>
87130 main ()
87132 _modff(0, 0);
87134 return 0;
87136 _ACEOF
87137 rm -f conftest.$ac_objext
87138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87139 (eval $ac_compile) 2>conftest.er1
87140 ac_status=$?
87141 grep -v '^ *+' conftest.er1 >conftest.err
87142 rm -f conftest.er1
87143 cat conftest.err >&5
87144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87145 (exit $ac_status); } &&
87146 { ac_try='test -z "$ac_cxx_werror_flag"
87147 || test ! -s conftest.err'
87148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87149 (eval $ac_try) 2>&5
87150 ac_status=$?
87151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87152 (exit $ac_status); }; } &&
87153 { ac_try='test -s conftest.$ac_objext'
87154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87155 (eval $ac_try) 2>&5
87156 ac_status=$?
87157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87158 (exit $ac_status); }; }; then
87159 glibcxx_cv_func__modff_use=yes
87160 else
87161 echo "$as_me: failed program was:" >&5
87162 sed 's/^/| /' conftest.$ac_ext >&5
87164 glibcxx_cv_func__modff_use=no
87166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87167 ac_ext=c
87168 ac_cpp='$CPP $CPPFLAGS'
87169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
87178 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
87180 if test x$glibcxx_cv_func__modff_use = x"yes"; then
87182 for ac_func in _modff
87184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87185 echo "$as_me:$LINENO: checking for $ac_func" >&5
87186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87187 if eval "test \"\${$as_ac_var+set}\" = set"; then
87188 echo $ECHO_N "(cached) $ECHO_C" >&6
87189 else
87190 if test x$gcc_no_link = xyes; then
87191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87193 { (exit 1); exit 1; }; }
87195 cat >conftest.$ac_ext <<_ACEOF
87196 /* confdefs.h. */
87197 _ACEOF
87198 cat confdefs.h >>conftest.$ac_ext
87199 cat >>conftest.$ac_ext <<_ACEOF
87200 /* end confdefs.h. */
87201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87203 #define $ac_func innocuous_$ac_func
87205 /* System header to define __stub macros and hopefully few prototypes,
87206 which can conflict with char $ac_func (); below.
87207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87208 <limits.h> exists even on freestanding compilers. */
87210 #ifdef __STDC__
87211 # include <limits.h>
87212 #else
87213 # include <assert.h>
87214 #endif
87216 #undef $ac_func
87218 /* Override any gcc2 internal prototype to avoid an error. */
87219 #ifdef __cplusplus
87220 extern "C"
87222 #endif
87223 /* We use char because int might match the return type of a gcc2
87224 builtin and then its argument prototype would still apply. */
87225 char $ac_func ();
87226 /* The GNU C library defines this for functions which it implements
87227 to always fail with ENOSYS. Some functions are actually named
87228 something starting with __ and the normal name is an alias. */
87229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87230 choke me
87231 #else
87232 char (*f) () = $ac_func;
87233 #endif
87234 #ifdef __cplusplus
87236 #endif
87239 main ()
87241 return f != $ac_func;
87243 return 0;
87245 _ACEOF
87246 rm -f conftest.$ac_objext conftest$ac_exeext
87247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87248 (eval $ac_link) 2>conftest.er1
87249 ac_status=$?
87250 grep -v '^ *+' conftest.er1 >conftest.err
87251 rm -f conftest.er1
87252 cat conftest.err >&5
87253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87254 (exit $ac_status); } &&
87255 { ac_try='test -z "$ac_c_werror_flag"
87256 || test ! -s conftest.err'
87257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87258 (eval $ac_try) 2>&5
87259 ac_status=$?
87260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87261 (exit $ac_status); }; } &&
87262 { ac_try='test -s conftest$ac_exeext'
87263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87264 (eval $ac_try) 2>&5
87265 ac_status=$?
87266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87267 (exit $ac_status); }; }; then
87268 eval "$as_ac_var=yes"
87269 else
87270 echo "$as_me: failed program was:" >&5
87271 sed 's/^/| /' conftest.$ac_ext >&5
87273 eval "$as_ac_var=no"
87275 rm -f conftest.err conftest.$ac_objext \
87276 conftest$ac_exeext conftest.$ac_ext
87278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87280 if test `eval echo '${'$as_ac_var'}'` = yes; then
87281 cat >>confdefs.h <<_ACEOF
87282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87283 _ACEOF
87286 done
87296 echo "$as_me:$LINENO: checking for modf declaration" >&5
87297 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
87298 if test x${glibcxx_cv_func_modf_use+set} != xset; then
87299 if test "${glibcxx_cv_func_modf_use+set}" = set; then
87300 echo $ECHO_N "(cached) $ECHO_C" >&6
87301 else
87305 ac_ext=cc
87306 ac_cpp='$CXXCPP $CPPFLAGS'
87307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87311 cat >conftest.$ac_ext <<_ACEOF
87312 /* confdefs.h. */
87313 _ACEOF
87314 cat confdefs.h >>conftest.$ac_ext
87315 cat >>conftest.$ac_ext <<_ACEOF
87316 /* end confdefs.h. */
87317 #include <math.h>
87319 main ()
87321 modf(0, 0);
87323 return 0;
87325 _ACEOF
87326 rm -f conftest.$ac_objext
87327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87328 (eval $ac_compile) 2>conftest.er1
87329 ac_status=$?
87330 grep -v '^ *+' conftest.er1 >conftest.err
87331 rm -f conftest.er1
87332 cat conftest.err >&5
87333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87334 (exit $ac_status); } &&
87335 { ac_try='test -z "$ac_cxx_werror_flag"
87336 || test ! -s conftest.err'
87337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87338 (eval $ac_try) 2>&5
87339 ac_status=$?
87340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87341 (exit $ac_status); }; } &&
87342 { ac_try='test -s conftest.$ac_objext'
87343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87344 (eval $ac_try) 2>&5
87345 ac_status=$?
87346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87347 (exit $ac_status); }; }; then
87348 glibcxx_cv_func_modf_use=yes
87349 else
87350 echo "$as_me: failed program was:" >&5
87351 sed 's/^/| /' conftest.$ac_ext >&5
87353 glibcxx_cv_func_modf_use=no
87355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87356 ac_ext=c
87357 ac_cpp='$CPP $CPPFLAGS'
87358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87366 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
87367 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
87369 if test x$glibcxx_cv_func_modf_use = x"yes"; then
87371 for ac_func in modf
87373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87374 echo "$as_me:$LINENO: checking for $ac_func" >&5
87375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87376 if eval "test \"\${$as_ac_var+set}\" = set"; then
87377 echo $ECHO_N "(cached) $ECHO_C" >&6
87378 else
87379 if test x$gcc_no_link = xyes; then
87380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87382 { (exit 1); exit 1; }; }
87384 cat >conftest.$ac_ext <<_ACEOF
87385 /* confdefs.h. */
87386 _ACEOF
87387 cat confdefs.h >>conftest.$ac_ext
87388 cat >>conftest.$ac_ext <<_ACEOF
87389 /* end confdefs.h. */
87390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87392 #define $ac_func innocuous_$ac_func
87394 /* System header to define __stub macros and hopefully few prototypes,
87395 which can conflict with char $ac_func (); below.
87396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87397 <limits.h> exists even on freestanding compilers. */
87399 #ifdef __STDC__
87400 # include <limits.h>
87401 #else
87402 # include <assert.h>
87403 #endif
87405 #undef $ac_func
87407 /* Override any gcc2 internal prototype to avoid an error. */
87408 #ifdef __cplusplus
87409 extern "C"
87411 #endif
87412 /* We use char because int might match the return type of a gcc2
87413 builtin and then its argument prototype would still apply. */
87414 char $ac_func ();
87415 /* The GNU C library defines this for functions which it implements
87416 to always fail with ENOSYS. Some functions are actually named
87417 something starting with __ and the normal name is an alias. */
87418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87419 choke me
87420 #else
87421 char (*f) () = $ac_func;
87422 #endif
87423 #ifdef __cplusplus
87425 #endif
87428 main ()
87430 return f != $ac_func;
87432 return 0;
87434 _ACEOF
87435 rm -f conftest.$ac_objext conftest$ac_exeext
87436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87437 (eval $ac_link) 2>conftest.er1
87438 ac_status=$?
87439 grep -v '^ *+' conftest.er1 >conftest.err
87440 rm -f conftest.er1
87441 cat conftest.err >&5
87442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87443 (exit $ac_status); } &&
87444 { ac_try='test -z "$ac_c_werror_flag"
87445 || test ! -s conftest.err'
87446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87447 (eval $ac_try) 2>&5
87448 ac_status=$?
87449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87450 (exit $ac_status); }; } &&
87451 { ac_try='test -s conftest$ac_exeext'
87452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87453 (eval $ac_try) 2>&5
87454 ac_status=$?
87455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87456 (exit $ac_status); }; }; then
87457 eval "$as_ac_var=yes"
87458 else
87459 echo "$as_me: failed program was:" >&5
87460 sed 's/^/| /' conftest.$ac_ext >&5
87462 eval "$as_ac_var=no"
87464 rm -f conftest.err conftest.$ac_objext \
87465 conftest$ac_exeext conftest.$ac_ext
87467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87469 if test `eval echo '${'$as_ac_var'}'` = yes; then
87470 cat >>confdefs.h <<_ACEOF
87471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87472 _ACEOF
87475 done
87477 else
87479 echo "$as_me:$LINENO: checking for _modf declaration" >&5
87480 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
87481 if test x${glibcxx_cv_func__modf_use+set} != xset; then
87482 if test "${glibcxx_cv_func__modf_use+set}" = set; then
87483 echo $ECHO_N "(cached) $ECHO_C" >&6
87484 else
87488 ac_ext=cc
87489 ac_cpp='$CXXCPP $CPPFLAGS'
87490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87494 cat >conftest.$ac_ext <<_ACEOF
87495 /* confdefs.h. */
87496 _ACEOF
87497 cat confdefs.h >>conftest.$ac_ext
87498 cat >>conftest.$ac_ext <<_ACEOF
87499 /* end confdefs.h. */
87500 #include <math.h>
87502 main ()
87504 _modf(0, 0);
87506 return 0;
87508 _ACEOF
87509 rm -f conftest.$ac_objext
87510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87511 (eval $ac_compile) 2>conftest.er1
87512 ac_status=$?
87513 grep -v '^ *+' conftest.er1 >conftest.err
87514 rm -f conftest.er1
87515 cat conftest.err >&5
87516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87517 (exit $ac_status); } &&
87518 { ac_try='test -z "$ac_cxx_werror_flag"
87519 || test ! -s conftest.err'
87520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87521 (eval $ac_try) 2>&5
87522 ac_status=$?
87523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87524 (exit $ac_status); }; } &&
87525 { ac_try='test -s conftest.$ac_objext'
87526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87527 (eval $ac_try) 2>&5
87528 ac_status=$?
87529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87530 (exit $ac_status); }; }; then
87531 glibcxx_cv_func__modf_use=yes
87532 else
87533 echo "$as_me: failed program was:" >&5
87534 sed 's/^/| /' conftest.$ac_ext >&5
87536 glibcxx_cv_func__modf_use=no
87538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87539 ac_ext=c
87540 ac_cpp='$CPP $CPPFLAGS'
87541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87549 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
87550 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
87552 if test x$glibcxx_cv_func__modf_use = x"yes"; then
87554 for ac_func in _modf
87556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87557 echo "$as_me:$LINENO: checking for $ac_func" >&5
87558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87559 if eval "test \"\${$as_ac_var+set}\" = set"; then
87560 echo $ECHO_N "(cached) $ECHO_C" >&6
87561 else
87562 if test x$gcc_no_link = xyes; then
87563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87565 { (exit 1); exit 1; }; }
87567 cat >conftest.$ac_ext <<_ACEOF
87568 /* confdefs.h. */
87569 _ACEOF
87570 cat confdefs.h >>conftest.$ac_ext
87571 cat >>conftest.$ac_ext <<_ACEOF
87572 /* end confdefs.h. */
87573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87575 #define $ac_func innocuous_$ac_func
87577 /* System header to define __stub macros and hopefully few prototypes,
87578 which can conflict with char $ac_func (); below.
87579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87580 <limits.h> exists even on freestanding compilers. */
87582 #ifdef __STDC__
87583 # include <limits.h>
87584 #else
87585 # include <assert.h>
87586 #endif
87588 #undef $ac_func
87590 /* Override any gcc2 internal prototype to avoid an error. */
87591 #ifdef __cplusplus
87592 extern "C"
87594 #endif
87595 /* We use char because int might match the return type of a gcc2
87596 builtin and then its argument prototype would still apply. */
87597 char $ac_func ();
87598 /* The GNU C library defines this for functions which it implements
87599 to always fail with ENOSYS. Some functions are actually named
87600 something starting with __ and the normal name is an alias. */
87601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87602 choke me
87603 #else
87604 char (*f) () = $ac_func;
87605 #endif
87606 #ifdef __cplusplus
87608 #endif
87611 main ()
87613 return f != $ac_func;
87615 return 0;
87617 _ACEOF
87618 rm -f conftest.$ac_objext conftest$ac_exeext
87619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87620 (eval $ac_link) 2>conftest.er1
87621 ac_status=$?
87622 grep -v '^ *+' conftest.er1 >conftest.err
87623 rm -f conftest.er1
87624 cat conftest.err >&5
87625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87626 (exit $ac_status); } &&
87627 { ac_try='test -z "$ac_c_werror_flag"
87628 || test ! -s conftest.err'
87629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87630 (eval $ac_try) 2>&5
87631 ac_status=$?
87632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87633 (exit $ac_status); }; } &&
87634 { ac_try='test -s conftest$ac_exeext'
87635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87636 (eval $ac_try) 2>&5
87637 ac_status=$?
87638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87639 (exit $ac_status); }; }; then
87640 eval "$as_ac_var=yes"
87641 else
87642 echo "$as_me: failed program was:" >&5
87643 sed 's/^/| /' conftest.$ac_ext >&5
87645 eval "$as_ac_var=no"
87647 rm -f conftest.err conftest.$ac_objext \
87648 conftest$ac_exeext conftest.$ac_ext
87650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87652 if test `eval echo '${'$as_ac_var'}'` = yes; then
87653 cat >>confdefs.h <<_ACEOF
87654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87655 _ACEOF
87658 done
87668 echo "$as_me:$LINENO: checking for powf declaration" >&5
87669 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
87670 if test x${glibcxx_cv_func_powf_use+set} != xset; then
87671 if test "${glibcxx_cv_func_powf_use+set}" = set; then
87672 echo $ECHO_N "(cached) $ECHO_C" >&6
87673 else
87677 ac_ext=cc
87678 ac_cpp='$CXXCPP $CPPFLAGS'
87679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87683 cat >conftest.$ac_ext <<_ACEOF
87684 /* confdefs.h. */
87685 _ACEOF
87686 cat confdefs.h >>conftest.$ac_ext
87687 cat >>conftest.$ac_ext <<_ACEOF
87688 /* end confdefs.h. */
87689 #include <math.h>
87691 main ()
87693 powf(0, 0);
87695 return 0;
87697 _ACEOF
87698 rm -f conftest.$ac_objext
87699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87700 (eval $ac_compile) 2>conftest.er1
87701 ac_status=$?
87702 grep -v '^ *+' conftest.er1 >conftest.err
87703 rm -f conftest.er1
87704 cat conftest.err >&5
87705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87706 (exit $ac_status); } &&
87707 { ac_try='test -z "$ac_cxx_werror_flag"
87708 || test ! -s conftest.err'
87709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87710 (eval $ac_try) 2>&5
87711 ac_status=$?
87712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87713 (exit $ac_status); }; } &&
87714 { ac_try='test -s conftest.$ac_objext'
87715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87716 (eval $ac_try) 2>&5
87717 ac_status=$?
87718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87719 (exit $ac_status); }; }; then
87720 glibcxx_cv_func_powf_use=yes
87721 else
87722 echo "$as_me: failed program was:" >&5
87723 sed 's/^/| /' conftest.$ac_ext >&5
87725 glibcxx_cv_func_powf_use=no
87727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87728 ac_ext=c
87729 ac_cpp='$CPP $CPPFLAGS'
87730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87738 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
87739 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
87741 if test x$glibcxx_cv_func_powf_use = x"yes"; then
87743 for ac_func in powf
87745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87746 echo "$as_me:$LINENO: checking for $ac_func" >&5
87747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87748 if eval "test \"\${$as_ac_var+set}\" = set"; then
87749 echo $ECHO_N "(cached) $ECHO_C" >&6
87750 else
87751 if test x$gcc_no_link = xyes; then
87752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87754 { (exit 1); exit 1; }; }
87756 cat >conftest.$ac_ext <<_ACEOF
87757 /* confdefs.h. */
87758 _ACEOF
87759 cat confdefs.h >>conftest.$ac_ext
87760 cat >>conftest.$ac_ext <<_ACEOF
87761 /* end confdefs.h. */
87762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87764 #define $ac_func innocuous_$ac_func
87766 /* System header to define __stub macros and hopefully few prototypes,
87767 which can conflict with char $ac_func (); below.
87768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87769 <limits.h> exists even on freestanding compilers. */
87771 #ifdef __STDC__
87772 # include <limits.h>
87773 #else
87774 # include <assert.h>
87775 #endif
87777 #undef $ac_func
87779 /* Override any gcc2 internal prototype to avoid an error. */
87780 #ifdef __cplusplus
87781 extern "C"
87783 #endif
87784 /* We use char because int might match the return type of a gcc2
87785 builtin and then its argument prototype would still apply. */
87786 char $ac_func ();
87787 /* The GNU C library defines this for functions which it implements
87788 to always fail with ENOSYS. Some functions are actually named
87789 something starting with __ and the normal name is an alias. */
87790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87791 choke me
87792 #else
87793 char (*f) () = $ac_func;
87794 #endif
87795 #ifdef __cplusplus
87797 #endif
87800 main ()
87802 return f != $ac_func;
87804 return 0;
87806 _ACEOF
87807 rm -f conftest.$ac_objext conftest$ac_exeext
87808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87809 (eval $ac_link) 2>conftest.er1
87810 ac_status=$?
87811 grep -v '^ *+' conftest.er1 >conftest.err
87812 rm -f conftest.er1
87813 cat conftest.err >&5
87814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87815 (exit $ac_status); } &&
87816 { ac_try='test -z "$ac_c_werror_flag"
87817 || test ! -s conftest.err'
87818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87819 (eval $ac_try) 2>&5
87820 ac_status=$?
87821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87822 (exit $ac_status); }; } &&
87823 { ac_try='test -s conftest$ac_exeext'
87824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87825 (eval $ac_try) 2>&5
87826 ac_status=$?
87827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87828 (exit $ac_status); }; }; then
87829 eval "$as_ac_var=yes"
87830 else
87831 echo "$as_me: failed program was:" >&5
87832 sed 's/^/| /' conftest.$ac_ext >&5
87834 eval "$as_ac_var=no"
87836 rm -f conftest.err conftest.$ac_objext \
87837 conftest$ac_exeext conftest.$ac_ext
87839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87841 if test `eval echo '${'$as_ac_var'}'` = yes; then
87842 cat >>confdefs.h <<_ACEOF
87843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87844 _ACEOF
87847 done
87849 else
87851 echo "$as_me:$LINENO: checking for _powf declaration" >&5
87852 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
87853 if test x${glibcxx_cv_func__powf_use+set} != xset; then
87854 if test "${glibcxx_cv_func__powf_use+set}" = set; then
87855 echo $ECHO_N "(cached) $ECHO_C" >&6
87856 else
87860 ac_ext=cc
87861 ac_cpp='$CXXCPP $CPPFLAGS'
87862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87866 cat >conftest.$ac_ext <<_ACEOF
87867 /* confdefs.h. */
87868 _ACEOF
87869 cat confdefs.h >>conftest.$ac_ext
87870 cat >>conftest.$ac_ext <<_ACEOF
87871 /* end confdefs.h. */
87872 #include <math.h>
87874 main ()
87876 _powf(0, 0);
87878 return 0;
87880 _ACEOF
87881 rm -f conftest.$ac_objext
87882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87883 (eval $ac_compile) 2>conftest.er1
87884 ac_status=$?
87885 grep -v '^ *+' conftest.er1 >conftest.err
87886 rm -f conftest.er1
87887 cat conftest.err >&5
87888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87889 (exit $ac_status); } &&
87890 { ac_try='test -z "$ac_cxx_werror_flag"
87891 || test ! -s conftest.err'
87892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87893 (eval $ac_try) 2>&5
87894 ac_status=$?
87895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87896 (exit $ac_status); }; } &&
87897 { ac_try='test -s conftest.$ac_objext'
87898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87899 (eval $ac_try) 2>&5
87900 ac_status=$?
87901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87902 (exit $ac_status); }; }; then
87903 glibcxx_cv_func__powf_use=yes
87904 else
87905 echo "$as_me: failed program was:" >&5
87906 sed 's/^/| /' conftest.$ac_ext >&5
87908 glibcxx_cv_func__powf_use=no
87910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87911 ac_ext=c
87912 ac_cpp='$CPP $CPPFLAGS'
87913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87921 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
87922 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
87924 if test x$glibcxx_cv_func__powf_use = x"yes"; then
87926 for ac_func in _powf
87928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87929 echo "$as_me:$LINENO: checking for $ac_func" >&5
87930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87931 if eval "test \"\${$as_ac_var+set}\" = set"; then
87932 echo $ECHO_N "(cached) $ECHO_C" >&6
87933 else
87934 if test x$gcc_no_link = xyes; then
87935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87937 { (exit 1); exit 1; }; }
87939 cat >conftest.$ac_ext <<_ACEOF
87940 /* confdefs.h. */
87941 _ACEOF
87942 cat confdefs.h >>conftest.$ac_ext
87943 cat >>conftest.$ac_ext <<_ACEOF
87944 /* end confdefs.h. */
87945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87947 #define $ac_func innocuous_$ac_func
87949 /* System header to define __stub macros and hopefully few prototypes,
87950 which can conflict with char $ac_func (); below.
87951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87952 <limits.h> exists even on freestanding compilers. */
87954 #ifdef __STDC__
87955 # include <limits.h>
87956 #else
87957 # include <assert.h>
87958 #endif
87960 #undef $ac_func
87962 /* Override any gcc2 internal prototype to avoid an error. */
87963 #ifdef __cplusplus
87964 extern "C"
87966 #endif
87967 /* We use char because int might match the return type of a gcc2
87968 builtin and then its argument prototype would still apply. */
87969 char $ac_func ();
87970 /* The GNU C library defines this for functions which it implements
87971 to always fail with ENOSYS. Some functions are actually named
87972 something starting with __ and the normal name is an alias. */
87973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87974 choke me
87975 #else
87976 char (*f) () = $ac_func;
87977 #endif
87978 #ifdef __cplusplus
87980 #endif
87983 main ()
87985 return f != $ac_func;
87987 return 0;
87989 _ACEOF
87990 rm -f conftest.$ac_objext conftest$ac_exeext
87991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87992 (eval $ac_link) 2>conftest.er1
87993 ac_status=$?
87994 grep -v '^ *+' conftest.er1 >conftest.err
87995 rm -f conftest.er1
87996 cat conftest.err >&5
87997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87998 (exit $ac_status); } &&
87999 { ac_try='test -z "$ac_c_werror_flag"
88000 || test ! -s conftest.err'
88001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88002 (eval $ac_try) 2>&5
88003 ac_status=$?
88004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88005 (exit $ac_status); }; } &&
88006 { ac_try='test -s conftest$ac_exeext'
88007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88008 (eval $ac_try) 2>&5
88009 ac_status=$?
88010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88011 (exit $ac_status); }; }; then
88012 eval "$as_ac_var=yes"
88013 else
88014 echo "$as_me: failed program was:" >&5
88015 sed 's/^/| /' conftest.$ac_ext >&5
88017 eval "$as_ac_var=no"
88019 rm -f conftest.err conftest.$ac_objext \
88020 conftest$ac_exeext conftest.$ac_ext
88022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88024 if test `eval echo '${'$as_ac_var'}'` = yes; then
88025 cat >>confdefs.h <<_ACEOF
88026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88027 _ACEOF
88030 done
88040 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
88041 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
88042 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
88043 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
88044 echo $ECHO_N "(cached) $ECHO_C" >&6
88045 else
88049 ac_ext=cc
88050 ac_cpp='$CXXCPP $CPPFLAGS'
88051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88055 cat >conftest.$ac_ext <<_ACEOF
88056 /* confdefs.h. */
88057 _ACEOF
88058 cat confdefs.h >>conftest.$ac_ext
88059 cat >>conftest.$ac_ext <<_ACEOF
88060 /* end confdefs.h. */
88061 #include <math.h>
88062 #ifdef HAVE_IEEEFP_H
88063 #include <ieeefp.h>
88064 #endif
88067 main ()
88069 sqrtf(0);
88071 return 0;
88073 _ACEOF
88074 rm -f conftest.$ac_objext
88075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88076 (eval $ac_compile) 2>conftest.er1
88077 ac_status=$?
88078 grep -v '^ *+' conftest.er1 >conftest.err
88079 rm -f conftest.er1
88080 cat conftest.err >&5
88081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88082 (exit $ac_status); } &&
88083 { ac_try='test -z "$ac_cxx_werror_flag"
88084 || test ! -s conftest.err'
88085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88086 (eval $ac_try) 2>&5
88087 ac_status=$?
88088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88089 (exit $ac_status); }; } &&
88090 { ac_try='test -s conftest.$ac_objext'
88091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88092 (eval $ac_try) 2>&5
88093 ac_status=$?
88094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88095 (exit $ac_status); }; }; then
88096 glibcxx_cv_func_sqrtf_use=yes
88097 else
88098 echo "$as_me: failed program was:" >&5
88099 sed 's/^/| /' conftest.$ac_ext >&5
88101 glibcxx_cv_func_sqrtf_use=no
88103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88104 ac_ext=c
88105 ac_cpp='$CPP $CPPFLAGS'
88106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88114 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
88115 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
88117 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
88119 for ac_func in sqrtf
88121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88122 echo "$as_me:$LINENO: checking for $ac_func" >&5
88123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88124 if eval "test \"\${$as_ac_var+set}\" = set"; then
88125 echo $ECHO_N "(cached) $ECHO_C" >&6
88126 else
88127 if test x$gcc_no_link = xyes; then
88128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88130 { (exit 1); exit 1; }; }
88132 cat >conftest.$ac_ext <<_ACEOF
88133 /* confdefs.h. */
88134 _ACEOF
88135 cat confdefs.h >>conftest.$ac_ext
88136 cat >>conftest.$ac_ext <<_ACEOF
88137 /* end confdefs.h. */
88138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88140 #define $ac_func innocuous_$ac_func
88142 /* System header to define __stub macros and hopefully few prototypes,
88143 which can conflict with char $ac_func (); below.
88144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88145 <limits.h> exists even on freestanding compilers. */
88147 #ifdef __STDC__
88148 # include <limits.h>
88149 #else
88150 # include <assert.h>
88151 #endif
88153 #undef $ac_func
88155 /* Override any gcc2 internal prototype to avoid an error. */
88156 #ifdef __cplusplus
88157 extern "C"
88159 #endif
88160 /* We use char because int might match the return type of a gcc2
88161 builtin and then its argument prototype would still apply. */
88162 char $ac_func ();
88163 /* The GNU C library defines this for functions which it implements
88164 to always fail with ENOSYS. Some functions are actually named
88165 something starting with __ and the normal name is an alias. */
88166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88167 choke me
88168 #else
88169 char (*f) () = $ac_func;
88170 #endif
88171 #ifdef __cplusplus
88173 #endif
88176 main ()
88178 return f != $ac_func;
88180 return 0;
88182 _ACEOF
88183 rm -f conftest.$ac_objext conftest$ac_exeext
88184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88185 (eval $ac_link) 2>conftest.er1
88186 ac_status=$?
88187 grep -v '^ *+' conftest.er1 >conftest.err
88188 rm -f conftest.er1
88189 cat conftest.err >&5
88190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88191 (exit $ac_status); } &&
88192 { ac_try='test -z "$ac_c_werror_flag"
88193 || test ! -s conftest.err'
88194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88195 (eval $ac_try) 2>&5
88196 ac_status=$?
88197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88198 (exit $ac_status); }; } &&
88199 { ac_try='test -s conftest$ac_exeext'
88200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88201 (eval $ac_try) 2>&5
88202 ac_status=$?
88203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88204 (exit $ac_status); }; }; then
88205 eval "$as_ac_var=yes"
88206 else
88207 echo "$as_me: failed program was:" >&5
88208 sed 's/^/| /' conftest.$ac_ext >&5
88210 eval "$as_ac_var=no"
88212 rm -f conftest.err conftest.$ac_objext \
88213 conftest$ac_exeext conftest.$ac_ext
88215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88217 if test `eval echo '${'$as_ac_var'}'` = yes; then
88218 cat >>confdefs.h <<_ACEOF
88219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88220 _ACEOF
88223 done
88225 else
88227 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
88228 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
88229 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
88230 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
88231 echo $ECHO_N "(cached) $ECHO_C" >&6
88232 else
88236 ac_ext=cc
88237 ac_cpp='$CXXCPP $CPPFLAGS'
88238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88242 cat >conftest.$ac_ext <<_ACEOF
88243 /* confdefs.h. */
88244 _ACEOF
88245 cat confdefs.h >>conftest.$ac_ext
88246 cat >>conftest.$ac_ext <<_ACEOF
88247 /* end confdefs.h. */
88248 #include <math.h>
88249 #ifdef HAVE_IEEEFP_H
88250 #include <ieeefp.h>
88251 #endif
88254 main ()
88256 _sqrtf(0);
88258 return 0;
88260 _ACEOF
88261 rm -f conftest.$ac_objext
88262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88263 (eval $ac_compile) 2>conftest.er1
88264 ac_status=$?
88265 grep -v '^ *+' conftest.er1 >conftest.err
88266 rm -f conftest.er1
88267 cat conftest.err >&5
88268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88269 (exit $ac_status); } &&
88270 { ac_try='test -z "$ac_cxx_werror_flag"
88271 || test ! -s conftest.err'
88272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88273 (eval $ac_try) 2>&5
88274 ac_status=$?
88275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88276 (exit $ac_status); }; } &&
88277 { ac_try='test -s conftest.$ac_objext'
88278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88279 (eval $ac_try) 2>&5
88280 ac_status=$?
88281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88282 (exit $ac_status); }; }; then
88283 glibcxx_cv_func__sqrtf_use=yes
88284 else
88285 echo "$as_me: failed program was:" >&5
88286 sed 's/^/| /' conftest.$ac_ext >&5
88288 glibcxx_cv_func__sqrtf_use=no
88290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88291 ac_ext=c
88292 ac_cpp='$CPP $CPPFLAGS'
88293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
88302 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
88304 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
88306 for ac_func in _sqrtf
88308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88309 echo "$as_me:$LINENO: checking for $ac_func" >&5
88310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88311 if eval "test \"\${$as_ac_var+set}\" = set"; then
88312 echo $ECHO_N "(cached) $ECHO_C" >&6
88313 else
88314 if test x$gcc_no_link = xyes; then
88315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88317 { (exit 1); exit 1; }; }
88319 cat >conftest.$ac_ext <<_ACEOF
88320 /* confdefs.h. */
88321 _ACEOF
88322 cat confdefs.h >>conftest.$ac_ext
88323 cat >>conftest.$ac_ext <<_ACEOF
88324 /* end confdefs.h. */
88325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88327 #define $ac_func innocuous_$ac_func
88329 /* System header to define __stub macros and hopefully few prototypes,
88330 which can conflict with char $ac_func (); below.
88331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88332 <limits.h> exists even on freestanding compilers. */
88334 #ifdef __STDC__
88335 # include <limits.h>
88336 #else
88337 # include <assert.h>
88338 #endif
88340 #undef $ac_func
88342 /* Override any gcc2 internal prototype to avoid an error. */
88343 #ifdef __cplusplus
88344 extern "C"
88346 #endif
88347 /* We use char because int might match the return type of a gcc2
88348 builtin and then its argument prototype would still apply. */
88349 char $ac_func ();
88350 /* The GNU C library defines this for functions which it implements
88351 to always fail with ENOSYS. Some functions are actually named
88352 something starting with __ and the normal name is an alias. */
88353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88354 choke me
88355 #else
88356 char (*f) () = $ac_func;
88357 #endif
88358 #ifdef __cplusplus
88360 #endif
88363 main ()
88365 return f != $ac_func;
88367 return 0;
88369 _ACEOF
88370 rm -f conftest.$ac_objext conftest$ac_exeext
88371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88372 (eval $ac_link) 2>conftest.er1
88373 ac_status=$?
88374 grep -v '^ *+' conftest.er1 >conftest.err
88375 rm -f conftest.er1
88376 cat conftest.err >&5
88377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88378 (exit $ac_status); } &&
88379 { ac_try='test -z "$ac_c_werror_flag"
88380 || test ! -s conftest.err'
88381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88382 (eval $ac_try) 2>&5
88383 ac_status=$?
88384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88385 (exit $ac_status); }; } &&
88386 { ac_try='test -s conftest$ac_exeext'
88387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88388 (eval $ac_try) 2>&5
88389 ac_status=$?
88390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88391 (exit $ac_status); }; }; then
88392 eval "$as_ac_var=yes"
88393 else
88394 echo "$as_me: failed program was:" >&5
88395 sed 's/^/| /' conftest.$ac_ext >&5
88397 eval "$as_ac_var=no"
88399 rm -f conftest.err conftest.$ac_objext \
88400 conftest$ac_exeext conftest.$ac_ext
88402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88404 if test `eval echo '${'$as_ac_var'}'` = yes; then
88405 cat >>confdefs.h <<_ACEOF
88406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88407 _ACEOF
88410 done
88420 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
88421 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
88422 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
88423 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
88424 echo $ECHO_N "(cached) $ECHO_C" >&6
88425 else
88429 ac_ext=cc
88430 ac_cpp='$CXXCPP $CPPFLAGS'
88431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88435 cat >conftest.$ac_ext <<_ACEOF
88436 /* confdefs.h. */
88437 _ACEOF
88438 cat confdefs.h >>conftest.$ac_ext
88439 cat >>conftest.$ac_ext <<_ACEOF
88440 /* end confdefs.h. */
88441 #include <math.h>
88443 main ()
88445 sincosf(0, 0, 0);
88447 return 0;
88449 _ACEOF
88450 rm -f conftest.$ac_objext
88451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88452 (eval $ac_compile) 2>conftest.er1
88453 ac_status=$?
88454 grep -v '^ *+' conftest.er1 >conftest.err
88455 rm -f conftest.er1
88456 cat conftest.err >&5
88457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88458 (exit $ac_status); } &&
88459 { ac_try='test -z "$ac_cxx_werror_flag"
88460 || test ! -s conftest.err'
88461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88462 (eval $ac_try) 2>&5
88463 ac_status=$?
88464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88465 (exit $ac_status); }; } &&
88466 { ac_try='test -s conftest.$ac_objext'
88467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88468 (eval $ac_try) 2>&5
88469 ac_status=$?
88470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88471 (exit $ac_status); }; }; then
88472 glibcxx_cv_func_sincosf_use=yes
88473 else
88474 echo "$as_me: failed program was:" >&5
88475 sed 's/^/| /' conftest.$ac_ext >&5
88477 glibcxx_cv_func_sincosf_use=no
88479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88480 ac_ext=c
88481 ac_cpp='$CPP $CPPFLAGS'
88482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88490 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
88491 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
88493 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
88495 for ac_func in sincosf
88497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88498 echo "$as_me:$LINENO: checking for $ac_func" >&5
88499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88500 if eval "test \"\${$as_ac_var+set}\" = set"; then
88501 echo $ECHO_N "(cached) $ECHO_C" >&6
88502 else
88503 if test x$gcc_no_link = xyes; then
88504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88506 { (exit 1); exit 1; }; }
88508 cat >conftest.$ac_ext <<_ACEOF
88509 /* confdefs.h. */
88510 _ACEOF
88511 cat confdefs.h >>conftest.$ac_ext
88512 cat >>conftest.$ac_ext <<_ACEOF
88513 /* end confdefs.h. */
88514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88516 #define $ac_func innocuous_$ac_func
88518 /* System header to define __stub macros and hopefully few prototypes,
88519 which can conflict with char $ac_func (); below.
88520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88521 <limits.h> exists even on freestanding compilers. */
88523 #ifdef __STDC__
88524 # include <limits.h>
88525 #else
88526 # include <assert.h>
88527 #endif
88529 #undef $ac_func
88531 /* Override any gcc2 internal prototype to avoid an error. */
88532 #ifdef __cplusplus
88533 extern "C"
88535 #endif
88536 /* We use char because int might match the return type of a gcc2
88537 builtin and then its argument prototype would still apply. */
88538 char $ac_func ();
88539 /* The GNU C library defines this for functions which it implements
88540 to always fail with ENOSYS. Some functions are actually named
88541 something starting with __ and the normal name is an alias. */
88542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88543 choke me
88544 #else
88545 char (*f) () = $ac_func;
88546 #endif
88547 #ifdef __cplusplus
88549 #endif
88552 main ()
88554 return f != $ac_func;
88556 return 0;
88558 _ACEOF
88559 rm -f conftest.$ac_objext conftest$ac_exeext
88560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88561 (eval $ac_link) 2>conftest.er1
88562 ac_status=$?
88563 grep -v '^ *+' conftest.er1 >conftest.err
88564 rm -f conftest.er1
88565 cat conftest.err >&5
88566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88567 (exit $ac_status); } &&
88568 { ac_try='test -z "$ac_c_werror_flag"
88569 || test ! -s conftest.err'
88570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88571 (eval $ac_try) 2>&5
88572 ac_status=$?
88573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88574 (exit $ac_status); }; } &&
88575 { ac_try='test -s conftest$ac_exeext'
88576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88577 (eval $ac_try) 2>&5
88578 ac_status=$?
88579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88580 (exit $ac_status); }; }; then
88581 eval "$as_ac_var=yes"
88582 else
88583 echo "$as_me: failed program was:" >&5
88584 sed 's/^/| /' conftest.$ac_ext >&5
88586 eval "$as_ac_var=no"
88588 rm -f conftest.err conftest.$ac_objext \
88589 conftest$ac_exeext conftest.$ac_ext
88591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88593 if test `eval echo '${'$as_ac_var'}'` = yes; then
88594 cat >>confdefs.h <<_ACEOF
88595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88596 _ACEOF
88599 done
88601 else
88603 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
88604 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
88605 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
88606 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
88607 echo $ECHO_N "(cached) $ECHO_C" >&6
88608 else
88612 ac_ext=cc
88613 ac_cpp='$CXXCPP $CPPFLAGS'
88614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88618 cat >conftest.$ac_ext <<_ACEOF
88619 /* confdefs.h. */
88620 _ACEOF
88621 cat confdefs.h >>conftest.$ac_ext
88622 cat >>conftest.$ac_ext <<_ACEOF
88623 /* end confdefs.h. */
88624 #include <math.h>
88626 main ()
88628 _sincosf(0, 0, 0);
88630 return 0;
88632 _ACEOF
88633 rm -f conftest.$ac_objext
88634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88635 (eval $ac_compile) 2>conftest.er1
88636 ac_status=$?
88637 grep -v '^ *+' conftest.er1 >conftest.err
88638 rm -f conftest.er1
88639 cat conftest.err >&5
88640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88641 (exit $ac_status); } &&
88642 { ac_try='test -z "$ac_cxx_werror_flag"
88643 || test ! -s conftest.err'
88644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88645 (eval $ac_try) 2>&5
88646 ac_status=$?
88647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88648 (exit $ac_status); }; } &&
88649 { ac_try='test -s conftest.$ac_objext'
88650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88651 (eval $ac_try) 2>&5
88652 ac_status=$?
88653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88654 (exit $ac_status); }; }; then
88655 glibcxx_cv_func__sincosf_use=yes
88656 else
88657 echo "$as_me: failed program was:" >&5
88658 sed 's/^/| /' conftest.$ac_ext >&5
88660 glibcxx_cv_func__sincosf_use=no
88662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88663 ac_ext=c
88664 ac_cpp='$CPP $CPPFLAGS'
88665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88673 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
88674 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
88676 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
88678 for ac_func in _sincosf
88680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88681 echo "$as_me:$LINENO: checking for $ac_func" >&5
88682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88683 if eval "test \"\${$as_ac_var+set}\" = set"; then
88684 echo $ECHO_N "(cached) $ECHO_C" >&6
88685 else
88686 if test x$gcc_no_link = xyes; then
88687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88689 { (exit 1); exit 1; }; }
88691 cat >conftest.$ac_ext <<_ACEOF
88692 /* confdefs.h. */
88693 _ACEOF
88694 cat confdefs.h >>conftest.$ac_ext
88695 cat >>conftest.$ac_ext <<_ACEOF
88696 /* end confdefs.h. */
88697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88699 #define $ac_func innocuous_$ac_func
88701 /* System header to define __stub macros and hopefully few prototypes,
88702 which can conflict with char $ac_func (); below.
88703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88704 <limits.h> exists even on freestanding compilers. */
88706 #ifdef __STDC__
88707 # include <limits.h>
88708 #else
88709 # include <assert.h>
88710 #endif
88712 #undef $ac_func
88714 /* Override any gcc2 internal prototype to avoid an error. */
88715 #ifdef __cplusplus
88716 extern "C"
88718 #endif
88719 /* We use char because int might match the return type of a gcc2
88720 builtin and then its argument prototype would still apply. */
88721 char $ac_func ();
88722 /* The GNU C library defines this for functions which it implements
88723 to always fail with ENOSYS. Some functions are actually named
88724 something starting with __ and the normal name is an alias. */
88725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88726 choke me
88727 #else
88728 char (*f) () = $ac_func;
88729 #endif
88730 #ifdef __cplusplus
88732 #endif
88735 main ()
88737 return f != $ac_func;
88739 return 0;
88741 _ACEOF
88742 rm -f conftest.$ac_objext conftest$ac_exeext
88743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88744 (eval $ac_link) 2>conftest.er1
88745 ac_status=$?
88746 grep -v '^ *+' conftest.er1 >conftest.err
88747 rm -f conftest.er1
88748 cat conftest.err >&5
88749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88750 (exit $ac_status); } &&
88751 { ac_try='test -z "$ac_c_werror_flag"
88752 || test ! -s conftest.err'
88753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88754 (eval $ac_try) 2>&5
88755 ac_status=$?
88756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88757 (exit $ac_status); }; } &&
88758 { ac_try='test -s conftest$ac_exeext'
88759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88760 (eval $ac_try) 2>&5
88761 ac_status=$?
88762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88763 (exit $ac_status); }; }; then
88764 eval "$as_ac_var=yes"
88765 else
88766 echo "$as_me: failed program was:" >&5
88767 sed 's/^/| /' conftest.$ac_ext >&5
88769 eval "$as_ac_var=no"
88771 rm -f conftest.err conftest.$ac_objext \
88772 conftest$ac_exeext conftest.$ac_ext
88774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88776 if test `eval echo '${'$as_ac_var'}'` = yes; then
88777 cat >>confdefs.h <<_ACEOF
88778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88779 _ACEOF
88782 done
88792 echo "$as_me:$LINENO: checking for finitef declaration" >&5
88793 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
88794 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
88795 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
88796 echo $ECHO_N "(cached) $ECHO_C" >&6
88797 else
88801 ac_ext=cc
88802 ac_cpp='$CXXCPP $CPPFLAGS'
88803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88807 cat >conftest.$ac_ext <<_ACEOF
88808 /* confdefs.h. */
88809 _ACEOF
88810 cat confdefs.h >>conftest.$ac_ext
88811 cat >>conftest.$ac_ext <<_ACEOF
88812 /* end confdefs.h. */
88813 #include <math.h>
88814 #ifdef HAVE_IEEEFP_H
88815 #include <ieeefp.h>
88816 #endif
88819 main ()
88821 finitef(0);
88823 return 0;
88825 _ACEOF
88826 rm -f conftest.$ac_objext
88827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88828 (eval $ac_compile) 2>conftest.er1
88829 ac_status=$?
88830 grep -v '^ *+' conftest.er1 >conftest.err
88831 rm -f conftest.er1
88832 cat conftest.err >&5
88833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88834 (exit $ac_status); } &&
88835 { ac_try='test -z "$ac_cxx_werror_flag"
88836 || test ! -s conftest.err'
88837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88838 (eval $ac_try) 2>&5
88839 ac_status=$?
88840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88841 (exit $ac_status); }; } &&
88842 { ac_try='test -s conftest.$ac_objext'
88843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88844 (eval $ac_try) 2>&5
88845 ac_status=$?
88846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88847 (exit $ac_status); }; }; then
88848 glibcxx_cv_func_finitef_use=yes
88849 else
88850 echo "$as_me: failed program was:" >&5
88851 sed 's/^/| /' conftest.$ac_ext >&5
88853 glibcxx_cv_func_finitef_use=no
88855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88856 ac_ext=c
88857 ac_cpp='$CPP $CPPFLAGS'
88858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
88867 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
88869 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
88871 for ac_func in finitef
88873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88874 echo "$as_me:$LINENO: checking for $ac_func" >&5
88875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88876 if eval "test \"\${$as_ac_var+set}\" = set"; then
88877 echo $ECHO_N "(cached) $ECHO_C" >&6
88878 else
88879 if test x$gcc_no_link = xyes; then
88880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88882 { (exit 1); exit 1; }; }
88884 cat >conftest.$ac_ext <<_ACEOF
88885 /* confdefs.h. */
88886 _ACEOF
88887 cat confdefs.h >>conftest.$ac_ext
88888 cat >>conftest.$ac_ext <<_ACEOF
88889 /* end confdefs.h. */
88890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88892 #define $ac_func innocuous_$ac_func
88894 /* System header to define __stub macros and hopefully few prototypes,
88895 which can conflict with char $ac_func (); below.
88896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88897 <limits.h> exists even on freestanding compilers. */
88899 #ifdef __STDC__
88900 # include <limits.h>
88901 #else
88902 # include <assert.h>
88903 #endif
88905 #undef $ac_func
88907 /* Override any gcc2 internal prototype to avoid an error. */
88908 #ifdef __cplusplus
88909 extern "C"
88911 #endif
88912 /* We use char because int might match the return type of a gcc2
88913 builtin and then its argument prototype would still apply. */
88914 char $ac_func ();
88915 /* The GNU C library defines this for functions which it implements
88916 to always fail with ENOSYS. Some functions are actually named
88917 something starting with __ and the normal name is an alias. */
88918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88919 choke me
88920 #else
88921 char (*f) () = $ac_func;
88922 #endif
88923 #ifdef __cplusplus
88925 #endif
88928 main ()
88930 return f != $ac_func;
88932 return 0;
88934 _ACEOF
88935 rm -f conftest.$ac_objext conftest$ac_exeext
88936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88937 (eval $ac_link) 2>conftest.er1
88938 ac_status=$?
88939 grep -v '^ *+' conftest.er1 >conftest.err
88940 rm -f conftest.er1
88941 cat conftest.err >&5
88942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88943 (exit $ac_status); } &&
88944 { ac_try='test -z "$ac_c_werror_flag"
88945 || test ! -s conftest.err'
88946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88947 (eval $ac_try) 2>&5
88948 ac_status=$?
88949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88950 (exit $ac_status); }; } &&
88951 { ac_try='test -s conftest$ac_exeext'
88952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88953 (eval $ac_try) 2>&5
88954 ac_status=$?
88955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88956 (exit $ac_status); }; }; then
88957 eval "$as_ac_var=yes"
88958 else
88959 echo "$as_me: failed program was:" >&5
88960 sed 's/^/| /' conftest.$ac_ext >&5
88962 eval "$as_ac_var=no"
88964 rm -f conftest.err conftest.$ac_objext \
88965 conftest$ac_exeext conftest.$ac_ext
88967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88969 if test `eval echo '${'$as_ac_var'}'` = yes; then
88970 cat >>confdefs.h <<_ACEOF
88971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88972 _ACEOF
88975 done
88977 else
88979 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
88980 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
88981 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
88982 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
88983 echo $ECHO_N "(cached) $ECHO_C" >&6
88984 else
88988 ac_ext=cc
88989 ac_cpp='$CXXCPP $CPPFLAGS'
88990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88994 cat >conftest.$ac_ext <<_ACEOF
88995 /* confdefs.h. */
88996 _ACEOF
88997 cat confdefs.h >>conftest.$ac_ext
88998 cat >>conftest.$ac_ext <<_ACEOF
88999 /* end confdefs.h. */
89000 #include <math.h>
89001 #ifdef HAVE_IEEEFP_H
89002 #include <ieeefp.h>
89003 #endif
89006 main ()
89008 _finitef(0);
89010 return 0;
89012 _ACEOF
89013 rm -f conftest.$ac_objext
89014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89015 (eval $ac_compile) 2>conftest.er1
89016 ac_status=$?
89017 grep -v '^ *+' conftest.er1 >conftest.err
89018 rm -f conftest.er1
89019 cat conftest.err >&5
89020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89021 (exit $ac_status); } &&
89022 { ac_try='test -z "$ac_cxx_werror_flag"
89023 || test ! -s conftest.err'
89024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89025 (eval $ac_try) 2>&5
89026 ac_status=$?
89027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89028 (exit $ac_status); }; } &&
89029 { ac_try='test -s conftest.$ac_objext'
89030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89031 (eval $ac_try) 2>&5
89032 ac_status=$?
89033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89034 (exit $ac_status); }; }; then
89035 glibcxx_cv_func__finitef_use=yes
89036 else
89037 echo "$as_me: failed program was:" >&5
89038 sed 's/^/| /' conftest.$ac_ext >&5
89040 glibcxx_cv_func__finitef_use=no
89042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89043 ac_ext=c
89044 ac_cpp='$CPP $CPPFLAGS'
89045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
89054 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
89056 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
89058 for ac_func in _finitef
89060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89061 echo "$as_me:$LINENO: checking for $ac_func" >&5
89062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89063 if eval "test \"\${$as_ac_var+set}\" = set"; then
89064 echo $ECHO_N "(cached) $ECHO_C" >&6
89065 else
89066 if test x$gcc_no_link = xyes; then
89067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89069 { (exit 1); exit 1; }; }
89071 cat >conftest.$ac_ext <<_ACEOF
89072 /* confdefs.h. */
89073 _ACEOF
89074 cat confdefs.h >>conftest.$ac_ext
89075 cat >>conftest.$ac_ext <<_ACEOF
89076 /* end confdefs.h. */
89077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89079 #define $ac_func innocuous_$ac_func
89081 /* System header to define __stub macros and hopefully few prototypes,
89082 which can conflict with char $ac_func (); below.
89083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89084 <limits.h> exists even on freestanding compilers. */
89086 #ifdef __STDC__
89087 # include <limits.h>
89088 #else
89089 # include <assert.h>
89090 #endif
89092 #undef $ac_func
89094 /* Override any gcc2 internal prototype to avoid an error. */
89095 #ifdef __cplusplus
89096 extern "C"
89098 #endif
89099 /* We use char because int might match the return type of a gcc2
89100 builtin and then its argument prototype would still apply. */
89101 char $ac_func ();
89102 /* The GNU C library defines this for functions which it implements
89103 to always fail with ENOSYS. Some functions are actually named
89104 something starting with __ and the normal name is an alias. */
89105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89106 choke me
89107 #else
89108 char (*f) () = $ac_func;
89109 #endif
89110 #ifdef __cplusplus
89112 #endif
89115 main ()
89117 return f != $ac_func;
89119 return 0;
89121 _ACEOF
89122 rm -f conftest.$ac_objext conftest$ac_exeext
89123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89124 (eval $ac_link) 2>conftest.er1
89125 ac_status=$?
89126 grep -v '^ *+' conftest.er1 >conftest.err
89127 rm -f conftest.er1
89128 cat conftest.err >&5
89129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89130 (exit $ac_status); } &&
89131 { ac_try='test -z "$ac_c_werror_flag"
89132 || test ! -s conftest.err'
89133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89134 (eval $ac_try) 2>&5
89135 ac_status=$?
89136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89137 (exit $ac_status); }; } &&
89138 { ac_try='test -s conftest$ac_exeext'
89139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89140 (eval $ac_try) 2>&5
89141 ac_status=$?
89142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89143 (exit $ac_status); }; }; then
89144 eval "$as_ac_var=yes"
89145 else
89146 echo "$as_me: failed program was:" >&5
89147 sed 's/^/| /' conftest.$ac_ext >&5
89149 eval "$as_ac_var=no"
89151 rm -f conftest.err conftest.$ac_objext \
89152 conftest$ac_exeext conftest.$ac_ext
89154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89156 if test `eval echo '${'$as_ac_var'}'` = yes; then
89157 cat >>confdefs.h <<_ACEOF
89158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89159 _ACEOF
89162 done
89172 echo "$as_me:$LINENO: checking for long double trig functions" >&5
89173 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
89174 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
89175 echo $ECHO_N "(cached) $ECHO_C" >&6
89176 else
89180 ac_ext=cc
89181 ac_cpp='$CXXCPP $CPPFLAGS'
89182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89186 cat >conftest.$ac_ext <<_ACEOF
89187 /* confdefs.h. */
89188 _ACEOF
89189 cat confdefs.h >>conftest.$ac_ext
89190 cat >>conftest.$ac_ext <<_ACEOF
89191 /* end confdefs.h. */
89192 #include <math.h>
89194 main ()
89196 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
89198 return 0;
89200 _ACEOF
89201 rm -f conftest.$ac_objext
89202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89203 (eval $ac_compile) 2>conftest.er1
89204 ac_status=$?
89205 grep -v '^ *+' conftest.er1 >conftest.err
89206 rm -f conftest.er1
89207 cat conftest.err >&5
89208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89209 (exit $ac_status); } &&
89210 { ac_try='test -z "$ac_cxx_werror_flag"
89211 || test ! -s conftest.err'
89212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89213 (eval $ac_try) 2>&5
89214 ac_status=$?
89215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89216 (exit $ac_status); }; } &&
89217 { ac_try='test -s conftest.$ac_objext'
89218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89219 (eval $ac_try) 2>&5
89220 ac_status=$?
89221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89222 (exit $ac_status); }; }; then
89223 glibcxx_cv_func_long_double_trig_use=yes
89224 else
89225 echo "$as_me: failed program was:" >&5
89226 sed 's/^/| /' conftest.$ac_ext >&5
89228 glibcxx_cv_func_long_double_trig_use=no
89230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89231 ac_ext=c
89232 ac_cpp='$CPP $CPPFLAGS'
89233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89239 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
89240 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
89241 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
89251 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
89253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89254 echo "$as_me:$LINENO: checking for $ac_func" >&5
89255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89256 if eval "test \"\${$as_ac_var+set}\" = set"; then
89257 echo $ECHO_N "(cached) $ECHO_C" >&6
89258 else
89259 if test x$gcc_no_link = xyes; then
89260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89262 { (exit 1); exit 1; }; }
89264 cat >conftest.$ac_ext <<_ACEOF
89265 /* confdefs.h. */
89266 _ACEOF
89267 cat confdefs.h >>conftest.$ac_ext
89268 cat >>conftest.$ac_ext <<_ACEOF
89269 /* end confdefs.h. */
89270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89272 #define $ac_func innocuous_$ac_func
89274 /* System header to define __stub macros and hopefully few prototypes,
89275 which can conflict with char $ac_func (); below.
89276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89277 <limits.h> exists even on freestanding compilers. */
89279 #ifdef __STDC__
89280 # include <limits.h>
89281 #else
89282 # include <assert.h>
89283 #endif
89285 #undef $ac_func
89287 /* Override any gcc2 internal prototype to avoid an error. */
89288 #ifdef __cplusplus
89289 extern "C"
89291 #endif
89292 /* We use char because int might match the return type of a gcc2
89293 builtin and then its argument prototype would still apply. */
89294 char $ac_func ();
89295 /* The GNU C library defines this for functions which it implements
89296 to always fail with ENOSYS. Some functions are actually named
89297 something starting with __ and the normal name is an alias. */
89298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89299 choke me
89300 #else
89301 char (*f) () = $ac_func;
89302 #endif
89303 #ifdef __cplusplus
89305 #endif
89308 main ()
89310 return f != $ac_func;
89312 return 0;
89314 _ACEOF
89315 rm -f conftest.$ac_objext conftest$ac_exeext
89316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89317 (eval $ac_link) 2>conftest.er1
89318 ac_status=$?
89319 grep -v '^ *+' conftest.er1 >conftest.err
89320 rm -f conftest.er1
89321 cat conftest.err >&5
89322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89323 (exit $ac_status); } &&
89324 { ac_try='test -z "$ac_c_werror_flag"
89325 || test ! -s conftest.err'
89326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89327 (eval $ac_try) 2>&5
89328 ac_status=$?
89329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89330 (exit $ac_status); }; } &&
89331 { ac_try='test -s conftest$ac_exeext'
89332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89333 (eval $ac_try) 2>&5
89334 ac_status=$?
89335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89336 (exit $ac_status); }; }; then
89337 eval "$as_ac_var=yes"
89338 else
89339 echo "$as_me: failed program was:" >&5
89340 sed 's/^/| /' conftest.$ac_ext >&5
89342 eval "$as_ac_var=no"
89344 rm -f conftest.err conftest.$ac_objext \
89345 conftest$ac_exeext conftest.$ac_ext
89347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89349 if test `eval echo '${'$as_ac_var'}'` = yes; then
89350 cat >>confdefs.h <<_ACEOF
89351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89352 _ACEOF
89355 done
89357 else
89358 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
89359 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
89360 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
89361 echo $ECHO_N "(cached) $ECHO_C" >&6
89362 else
89366 ac_ext=cc
89367 ac_cpp='$CXXCPP $CPPFLAGS'
89368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89372 cat >conftest.$ac_ext <<_ACEOF
89373 /* confdefs.h. */
89374 _ACEOF
89375 cat confdefs.h >>conftest.$ac_ext
89376 cat >>conftest.$ac_ext <<_ACEOF
89377 /* end confdefs.h. */
89378 #include <math.h>
89380 main ()
89382 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
89384 return 0;
89386 _ACEOF
89387 rm -f conftest.$ac_objext
89388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89389 (eval $ac_compile) 2>conftest.er1
89390 ac_status=$?
89391 grep -v '^ *+' conftest.er1 >conftest.err
89392 rm -f conftest.er1
89393 cat conftest.err >&5
89394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89395 (exit $ac_status); } &&
89396 { ac_try='test -z "$ac_cxx_werror_flag"
89397 || test ! -s conftest.err'
89398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89399 (eval $ac_try) 2>&5
89400 ac_status=$?
89401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89402 (exit $ac_status); }; } &&
89403 { ac_try='test -s conftest.$ac_objext'
89404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89405 (eval $ac_try) 2>&5
89406 ac_status=$?
89407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89408 (exit $ac_status); }; }; then
89409 glibcxx_cv_func__long_double_trig_use=yes
89410 else
89411 echo "$as_me: failed program was:" >&5
89412 sed 's/^/| /' conftest.$ac_ext >&5
89414 glibcxx_cv_func__long_double_trig_use=no
89416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89417 ac_ext=c
89418 ac_cpp='$CPP $CPPFLAGS'
89419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
89426 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
89427 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
89437 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
89439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89440 echo "$as_me:$LINENO: checking for $ac_func" >&5
89441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89442 if eval "test \"\${$as_ac_var+set}\" = set"; then
89443 echo $ECHO_N "(cached) $ECHO_C" >&6
89444 else
89445 if test x$gcc_no_link = xyes; then
89446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89448 { (exit 1); exit 1; }; }
89450 cat >conftest.$ac_ext <<_ACEOF
89451 /* confdefs.h. */
89452 _ACEOF
89453 cat confdefs.h >>conftest.$ac_ext
89454 cat >>conftest.$ac_ext <<_ACEOF
89455 /* end confdefs.h. */
89456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89458 #define $ac_func innocuous_$ac_func
89460 /* System header to define __stub macros and hopefully few prototypes,
89461 which can conflict with char $ac_func (); below.
89462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89463 <limits.h> exists even on freestanding compilers. */
89465 #ifdef __STDC__
89466 # include <limits.h>
89467 #else
89468 # include <assert.h>
89469 #endif
89471 #undef $ac_func
89473 /* Override any gcc2 internal prototype to avoid an error. */
89474 #ifdef __cplusplus
89475 extern "C"
89477 #endif
89478 /* We use char because int might match the return type of a gcc2
89479 builtin and then its argument prototype would still apply. */
89480 char $ac_func ();
89481 /* The GNU C library defines this for functions which it implements
89482 to always fail with ENOSYS. Some functions are actually named
89483 something starting with __ and the normal name is an alias. */
89484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89485 choke me
89486 #else
89487 char (*f) () = $ac_func;
89488 #endif
89489 #ifdef __cplusplus
89491 #endif
89494 main ()
89496 return f != $ac_func;
89498 return 0;
89500 _ACEOF
89501 rm -f conftest.$ac_objext conftest$ac_exeext
89502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89503 (eval $ac_link) 2>conftest.er1
89504 ac_status=$?
89505 grep -v '^ *+' conftest.er1 >conftest.err
89506 rm -f conftest.er1
89507 cat conftest.err >&5
89508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89509 (exit $ac_status); } &&
89510 { ac_try='test -z "$ac_c_werror_flag"
89511 || test ! -s conftest.err'
89512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89513 (eval $ac_try) 2>&5
89514 ac_status=$?
89515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89516 (exit $ac_status); }; } &&
89517 { ac_try='test -s conftest$ac_exeext'
89518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89519 (eval $ac_try) 2>&5
89520 ac_status=$?
89521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89522 (exit $ac_status); }; }; then
89523 eval "$as_ac_var=yes"
89524 else
89525 echo "$as_me: failed program was:" >&5
89526 sed 's/^/| /' conftest.$ac_ext >&5
89528 eval "$as_ac_var=no"
89530 rm -f conftest.err conftest.$ac_objext \
89531 conftest$ac_exeext conftest.$ac_ext
89533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89535 if test `eval echo '${'$as_ac_var'}'` = yes; then
89536 cat >>confdefs.h <<_ACEOF
89537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89538 _ACEOF
89541 done
89559 echo "$as_me:$LINENO: checking for long double round functions" >&5
89560 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
89561 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
89562 echo $ECHO_N "(cached) $ECHO_C" >&6
89563 else
89567 ac_ext=cc
89568 ac_cpp='$CXXCPP $CPPFLAGS'
89569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89573 cat >conftest.$ac_ext <<_ACEOF
89574 /* confdefs.h. */
89575 _ACEOF
89576 cat confdefs.h >>conftest.$ac_ext
89577 cat >>conftest.$ac_ext <<_ACEOF
89578 /* end confdefs.h. */
89579 #include <math.h>
89581 main ()
89583 ceill (0); floorl (0);
89585 return 0;
89587 _ACEOF
89588 rm -f conftest.$ac_objext
89589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89590 (eval $ac_compile) 2>conftest.er1
89591 ac_status=$?
89592 grep -v '^ *+' conftest.er1 >conftest.err
89593 rm -f conftest.er1
89594 cat conftest.err >&5
89595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89596 (exit $ac_status); } &&
89597 { ac_try='test -z "$ac_cxx_werror_flag"
89598 || test ! -s conftest.err'
89599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89600 (eval $ac_try) 2>&5
89601 ac_status=$?
89602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89603 (exit $ac_status); }; } &&
89604 { ac_try='test -s conftest.$ac_objext'
89605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89606 (eval $ac_try) 2>&5
89607 ac_status=$?
89608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89609 (exit $ac_status); }; }; then
89610 glibcxx_cv_func_long_double_round_use=yes
89611 else
89612 echo "$as_me: failed program was:" >&5
89613 sed 's/^/| /' conftest.$ac_ext >&5
89615 glibcxx_cv_func_long_double_round_use=no
89617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89618 ac_ext=c
89619 ac_cpp='$CPP $CPPFLAGS'
89620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89626 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
89627 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
89628 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
89631 for ac_func in ceill floorl
89633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89634 echo "$as_me:$LINENO: checking for $ac_func" >&5
89635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89636 if eval "test \"\${$as_ac_var+set}\" = set"; then
89637 echo $ECHO_N "(cached) $ECHO_C" >&6
89638 else
89639 if test x$gcc_no_link = xyes; then
89640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89642 { (exit 1); exit 1; }; }
89644 cat >conftest.$ac_ext <<_ACEOF
89645 /* confdefs.h. */
89646 _ACEOF
89647 cat confdefs.h >>conftest.$ac_ext
89648 cat >>conftest.$ac_ext <<_ACEOF
89649 /* end confdefs.h. */
89650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89652 #define $ac_func innocuous_$ac_func
89654 /* System header to define __stub macros and hopefully few prototypes,
89655 which can conflict with char $ac_func (); below.
89656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89657 <limits.h> exists even on freestanding compilers. */
89659 #ifdef __STDC__
89660 # include <limits.h>
89661 #else
89662 # include <assert.h>
89663 #endif
89665 #undef $ac_func
89667 /* Override any gcc2 internal prototype to avoid an error. */
89668 #ifdef __cplusplus
89669 extern "C"
89671 #endif
89672 /* We use char because int might match the return type of a gcc2
89673 builtin and then its argument prototype would still apply. */
89674 char $ac_func ();
89675 /* The GNU C library defines this for functions which it implements
89676 to always fail with ENOSYS. Some functions are actually named
89677 something starting with __ and the normal name is an alias. */
89678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89679 choke me
89680 #else
89681 char (*f) () = $ac_func;
89682 #endif
89683 #ifdef __cplusplus
89685 #endif
89688 main ()
89690 return f != $ac_func;
89692 return 0;
89694 _ACEOF
89695 rm -f conftest.$ac_objext conftest$ac_exeext
89696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89697 (eval $ac_link) 2>conftest.er1
89698 ac_status=$?
89699 grep -v '^ *+' conftest.er1 >conftest.err
89700 rm -f conftest.er1
89701 cat conftest.err >&5
89702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89703 (exit $ac_status); } &&
89704 { ac_try='test -z "$ac_c_werror_flag"
89705 || test ! -s conftest.err'
89706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89707 (eval $ac_try) 2>&5
89708 ac_status=$?
89709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89710 (exit $ac_status); }; } &&
89711 { ac_try='test -s conftest$ac_exeext'
89712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89713 (eval $ac_try) 2>&5
89714 ac_status=$?
89715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89716 (exit $ac_status); }; }; then
89717 eval "$as_ac_var=yes"
89718 else
89719 echo "$as_me: failed program was:" >&5
89720 sed 's/^/| /' conftest.$ac_ext >&5
89722 eval "$as_ac_var=no"
89724 rm -f conftest.err conftest.$ac_objext \
89725 conftest$ac_exeext conftest.$ac_ext
89727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89729 if test `eval echo '${'$as_ac_var'}'` = yes; then
89730 cat >>confdefs.h <<_ACEOF
89731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89732 _ACEOF
89735 done
89737 else
89738 echo "$as_me:$LINENO: checking for _long double round functions" >&5
89739 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
89740 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
89741 echo $ECHO_N "(cached) $ECHO_C" >&6
89742 else
89746 ac_ext=cc
89747 ac_cpp='$CXXCPP $CPPFLAGS'
89748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89752 cat >conftest.$ac_ext <<_ACEOF
89753 /* confdefs.h. */
89754 _ACEOF
89755 cat confdefs.h >>conftest.$ac_ext
89756 cat >>conftest.$ac_ext <<_ACEOF
89757 /* end confdefs.h. */
89758 #include <math.h>
89760 main ()
89762 _ceill (0); _floorl (0);
89764 return 0;
89766 _ACEOF
89767 rm -f conftest.$ac_objext
89768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89769 (eval $ac_compile) 2>conftest.er1
89770 ac_status=$?
89771 grep -v '^ *+' conftest.er1 >conftest.err
89772 rm -f conftest.er1
89773 cat conftest.err >&5
89774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89775 (exit $ac_status); } &&
89776 { ac_try='test -z "$ac_cxx_werror_flag"
89777 || test ! -s conftest.err'
89778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89779 (eval $ac_try) 2>&5
89780 ac_status=$?
89781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89782 (exit $ac_status); }; } &&
89783 { ac_try='test -s conftest.$ac_objext'
89784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89785 (eval $ac_try) 2>&5
89786 ac_status=$?
89787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89788 (exit $ac_status); }; }; then
89789 glibcxx_cv_func__long_double_round_use=yes
89790 else
89791 echo "$as_me: failed program was:" >&5
89792 sed 's/^/| /' conftest.$ac_ext >&5
89794 glibcxx_cv_func__long_double_round_use=no
89796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89797 ac_ext=c
89798 ac_cpp='$CPP $CPPFLAGS'
89799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
89806 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
89807 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
89810 for ac_func in _ceill _floorl
89812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89813 echo "$as_me:$LINENO: checking for $ac_func" >&5
89814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89815 if eval "test \"\${$as_ac_var+set}\" = set"; then
89816 echo $ECHO_N "(cached) $ECHO_C" >&6
89817 else
89818 if test x$gcc_no_link = xyes; then
89819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89821 { (exit 1); exit 1; }; }
89823 cat >conftest.$ac_ext <<_ACEOF
89824 /* confdefs.h. */
89825 _ACEOF
89826 cat confdefs.h >>conftest.$ac_ext
89827 cat >>conftest.$ac_ext <<_ACEOF
89828 /* end confdefs.h. */
89829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89831 #define $ac_func innocuous_$ac_func
89833 /* System header to define __stub macros and hopefully few prototypes,
89834 which can conflict with char $ac_func (); below.
89835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89836 <limits.h> exists even on freestanding compilers. */
89838 #ifdef __STDC__
89839 # include <limits.h>
89840 #else
89841 # include <assert.h>
89842 #endif
89844 #undef $ac_func
89846 /* Override any gcc2 internal prototype to avoid an error. */
89847 #ifdef __cplusplus
89848 extern "C"
89850 #endif
89851 /* We use char because int might match the return type of a gcc2
89852 builtin and then its argument prototype would still apply. */
89853 char $ac_func ();
89854 /* The GNU C library defines this for functions which it implements
89855 to always fail with ENOSYS. Some functions are actually named
89856 something starting with __ and the normal name is an alias. */
89857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89858 choke me
89859 #else
89860 char (*f) () = $ac_func;
89861 #endif
89862 #ifdef __cplusplus
89864 #endif
89867 main ()
89869 return f != $ac_func;
89871 return 0;
89873 _ACEOF
89874 rm -f conftest.$ac_objext conftest$ac_exeext
89875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89876 (eval $ac_link) 2>conftest.er1
89877 ac_status=$?
89878 grep -v '^ *+' conftest.er1 >conftest.err
89879 rm -f conftest.er1
89880 cat conftest.err >&5
89881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89882 (exit $ac_status); } &&
89883 { ac_try='test -z "$ac_c_werror_flag"
89884 || test ! -s conftest.err'
89885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89886 (eval $ac_try) 2>&5
89887 ac_status=$?
89888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89889 (exit $ac_status); }; } &&
89890 { ac_try='test -s conftest$ac_exeext'
89891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89892 (eval $ac_try) 2>&5
89893 ac_status=$?
89894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89895 (exit $ac_status); }; }; then
89896 eval "$as_ac_var=yes"
89897 else
89898 echo "$as_me: failed program was:" >&5
89899 sed 's/^/| /' conftest.$ac_ext >&5
89901 eval "$as_ac_var=no"
89903 rm -f conftest.err conftest.$ac_objext \
89904 conftest$ac_exeext conftest.$ac_ext
89906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89908 if test `eval echo '${'$as_ac_var'}'` = yes; then
89909 cat >>confdefs.h <<_ACEOF
89910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89911 _ACEOF
89914 done
89926 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
89927 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
89928 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
89929 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
89930 echo $ECHO_N "(cached) $ECHO_C" >&6
89931 else
89935 ac_ext=cc
89936 ac_cpp='$CXXCPP $CPPFLAGS'
89937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89941 cat >conftest.$ac_ext <<_ACEOF
89942 /* confdefs.h. */
89943 _ACEOF
89944 cat confdefs.h >>conftest.$ac_ext
89945 cat >>conftest.$ac_ext <<_ACEOF
89946 /* end confdefs.h. */
89947 #include <math.h>
89948 #ifdef HAVE_IEEEFP_H
89949 #include <ieeefp.h>
89950 #endif
89953 main ()
89955 isnanl(0);
89957 return 0;
89959 _ACEOF
89960 rm -f conftest.$ac_objext
89961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89962 (eval $ac_compile) 2>conftest.er1
89963 ac_status=$?
89964 grep -v '^ *+' conftest.er1 >conftest.err
89965 rm -f conftest.er1
89966 cat conftest.err >&5
89967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89968 (exit $ac_status); } &&
89969 { ac_try='test -z "$ac_cxx_werror_flag"
89970 || test ! -s conftest.err'
89971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89972 (eval $ac_try) 2>&5
89973 ac_status=$?
89974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89975 (exit $ac_status); }; } &&
89976 { ac_try='test -s conftest.$ac_objext'
89977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89978 (eval $ac_try) 2>&5
89979 ac_status=$?
89980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89981 (exit $ac_status); }; }; then
89982 glibcxx_cv_func_isnanl_use=yes
89983 else
89984 echo "$as_me: failed program was:" >&5
89985 sed 's/^/| /' conftest.$ac_ext >&5
89987 glibcxx_cv_func_isnanl_use=no
89989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89990 ac_ext=c
89991 ac_cpp='$CPP $CPPFLAGS'
89992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
90001 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
90003 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
90005 for ac_func in isnanl
90007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90008 echo "$as_me:$LINENO: checking for $ac_func" >&5
90009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90010 if eval "test \"\${$as_ac_var+set}\" = set"; then
90011 echo $ECHO_N "(cached) $ECHO_C" >&6
90012 else
90013 if test x$gcc_no_link = xyes; then
90014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90016 { (exit 1); exit 1; }; }
90018 cat >conftest.$ac_ext <<_ACEOF
90019 /* confdefs.h. */
90020 _ACEOF
90021 cat confdefs.h >>conftest.$ac_ext
90022 cat >>conftest.$ac_ext <<_ACEOF
90023 /* end confdefs.h. */
90024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90026 #define $ac_func innocuous_$ac_func
90028 /* System header to define __stub macros and hopefully few prototypes,
90029 which can conflict with char $ac_func (); below.
90030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90031 <limits.h> exists even on freestanding compilers. */
90033 #ifdef __STDC__
90034 # include <limits.h>
90035 #else
90036 # include <assert.h>
90037 #endif
90039 #undef $ac_func
90041 /* Override any gcc2 internal prototype to avoid an error. */
90042 #ifdef __cplusplus
90043 extern "C"
90045 #endif
90046 /* We use char because int might match the return type of a gcc2
90047 builtin and then its argument prototype would still apply. */
90048 char $ac_func ();
90049 /* The GNU C library defines this for functions which it implements
90050 to always fail with ENOSYS. Some functions are actually named
90051 something starting with __ and the normal name is an alias. */
90052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90053 choke me
90054 #else
90055 char (*f) () = $ac_func;
90056 #endif
90057 #ifdef __cplusplus
90059 #endif
90062 main ()
90064 return f != $ac_func;
90066 return 0;
90068 _ACEOF
90069 rm -f conftest.$ac_objext conftest$ac_exeext
90070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90071 (eval $ac_link) 2>conftest.er1
90072 ac_status=$?
90073 grep -v '^ *+' conftest.er1 >conftest.err
90074 rm -f conftest.er1
90075 cat conftest.err >&5
90076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90077 (exit $ac_status); } &&
90078 { ac_try='test -z "$ac_c_werror_flag"
90079 || test ! -s conftest.err'
90080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90081 (eval $ac_try) 2>&5
90082 ac_status=$?
90083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90084 (exit $ac_status); }; } &&
90085 { ac_try='test -s conftest$ac_exeext'
90086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90087 (eval $ac_try) 2>&5
90088 ac_status=$?
90089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90090 (exit $ac_status); }; }; then
90091 eval "$as_ac_var=yes"
90092 else
90093 echo "$as_me: failed program was:" >&5
90094 sed 's/^/| /' conftest.$ac_ext >&5
90096 eval "$as_ac_var=no"
90098 rm -f conftest.err conftest.$ac_objext \
90099 conftest$ac_exeext conftest.$ac_ext
90101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90103 if test `eval echo '${'$as_ac_var'}'` = yes; then
90104 cat >>confdefs.h <<_ACEOF
90105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90106 _ACEOF
90109 done
90111 else
90113 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
90114 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
90115 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
90116 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
90117 echo $ECHO_N "(cached) $ECHO_C" >&6
90118 else
90122 ac_ext=cc
90123 ac_cpp='$CXXCPP $CPPFLAGS'
90124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90128 cat >conftest.$ac_ext <<_ACEOF
90129 /* confdefs.h. */
90130 _ACEOF
90131 cat confdefs.h >>conftest.$ac_ext
90132 cat >>conftest.$ac_ext <<_ACEOF
90133 /* end confdefs.h. */
90134 #include <math.h>
90135 #ifdef HAVE_IEEEFP_H
90136 #include <ieeefp.h>
90137 #endif
90140 main ()
90142 _isnanl(0);
90144 return 0;
90146 _ACEOF
90147 rm -f conftest.$ac_objext
90148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90149 (eval $ac_compile) 2>conftest.er1
90150 ac_status=$?
90151 grep -v '^ *+' conftest.er1 >conftest.err
90152 rm -f conftest.er1
90153 cat conftest.err >&5
90154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90155 (exit $ac_status); } &&
90156 { ac_try='test -z "$ac_cxx_werror_flag"
90157 || test ! -s conftest.err'
90158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90159 (eval $ac_try) 2>&5
90160 ac_status=$?
90161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90162 (exit $ac_status); }; } &&
90163 { ac_try='test -s conftest.$ac_objext'
90164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90165 (eval $ac_try) 2>&5
90166 ac_status=$?
90167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90168 (exit $ac_status); }; }; then
90169 glibcxx_cv_func__isnanl_use=yes
90170 else
90171 echo "$as_me: failed program was:" >&5
90172 sed 's/^/| /' conftest.$ac_ext >&5
90174 glibcxx_cv_func__isnanl_use=no
90176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90177 ac_ext=c
90178 ac_cpp='$CPP $CPPFLAGS'
90179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
90188 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
90190 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
90192 for ac_func in _isnanl
90194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90195 echo "$as_me:$LINENO: checking for $ac_func" >&5
90196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90197 if eval "test \"\${$as_ac_var+set}\" = set"; then
90198 echo $ECHO_N "(cached) $ECHO_C" >&6
90199 else
90200 if test x$gcc_no_link = xyes; then
90201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90203 { (exit 1); exit 1; }; }
90205 cat >conftest.$ac_ext <<_ACEOF
90206 /* confdefs.h. */
90207 _ACEOF
90208 cat confdefs.h >>conftest.$ac_ext
90209 cat >>conftest.$ac_ext <<_ACEOF
90210 /* end confdefs.h. */
90211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90213 #define $ac_func innocuous_$ac_func
90215 /* System header to define __stub macros and hopefully few prototypes,
90216 which can conflict with char $ac_func (); below.
90217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90218 <limits.h> exists even on freestanding compilers. */
90220 #ifdef __STDC__
90221 # include <limits.h>
90222 #else
90223 # include <assert.h>
90224 #endif
90226 #undef $ac_func
90228 /* Override any gcc2 internal prototype to avoid an error. */
90229 #ifdef __cplusplus
90230 extern "C"
90232 #endif
90233 /* We use char because int might match the return type of a gcc2
90234 builtin and then its argument prototype would still apply. */
90235 char $ac_func ();
90236 /* The GNU C library defines this for functions which it implements
90237 to always fail with ENOSYS. Some functions are actually named
90238 something starting with __ and the normal name is an alias. */
90239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90240 choke me
90241 #else
90242 char (*f) () = $ac_func;
90243 #endif
90244 #ifdef __cplusplus
90246 #endif
90249 main ()
90251 return f != $ac_func;
90253 return 0;
90255 _ACEOF
90256 rm -f conftest.$ac_objext conftest$ac_exeext
90257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90258 (eval $ac_link) 2>conftest.er1
90259 ac_status=$?
90260 grep -v '^ *+' conftest.er1 >conftest.err
90261 rm -f conftest.er1
90262 cat conftest.err >&5
90263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90264 (exit $ac_status); } &&
90265 { ac_try='test -z "$ac_c_werror_flag"
90266 || test ! -s conftest.err'
90267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90268 (eval $ac_try) 2>&5
90269 ac_status=$?
90270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90271 (exit $ac_status); }; } &&
90272 { ac_try='test -s conftest$ac_exeext'
90273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90274 (eval $ac_try) 2>&5
90275 ac_status=$?
90276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90277 (exit $ac_status); }; }; then
90278 eval "$as_ac_var=yes"
90279 else
90280 echo "$as_me: failed program was:" >&5
90281 sed 's/^/| /' conftest.$ac_ext >&5
90283 eval "$as_ac_var=no"
90285 rm -f conftest.err conftest.$ac_objext \
90286 conftest$ac_exeext conftest.$ac_ext
90288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90290 if test `eval echo '${'$as_ac_var'}'` = yes; then
90291 cat >>confdefs.h <<_ACEOF
90292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90293 _ACEOF
90296 done
90306 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
90307 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
90308 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
90309 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
90310 echo $ECHO_N "(cached) $ECHO_C" >&6
90311 else
90315 ac_ext=cc
90316 ac_cpp='$CXXCPP $CPPFLAGS'
90317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90321 cat >conftest.$ac_ext <<_ACEOF
90322 /* confdefs.h. */
90323 _ACEOF
90324 cat confdefs.h >>conftest.$ac_ext
90325 cat >>conftest.$ac_ext <<_ACEOF
90326 /* end confdefs.h. */
90327 #include <math.h>
90328 #ifdef HAVE_IEEEFP_H
90329 #include <ieeefp.h>
90330 #endif
90333 main ()
90335 isinfl(0);
90337 return 0;
90339 _ACEOF
90340 rm -f conftest.$ac_objext
90341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90342 (eval $ac_compile) 2>conftest.er1
90343 ac_status=$?
90344 grep -v '^ *+' conftest.er1 >conftest.err
90345 rm -f conftest.er1
90346 cat conftest.err >&5
90347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90348 (exit $ac_status); } &&
90349 { ac_try='test -z "$ac_cxx_werror_flag"
90350 || test ! -s conftest.err'
90351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90352 (eval $ac_try) 2>&5
90353 ac_status=$?
90354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90355 (exit $ac_status); }; } &&
90356 { ac_try='test -s conftest.$ac_objext'
90357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90358 (eval $ac_try) 2>&5
90359 ac_status=$?
90360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90361 (exit $ac_status); }; }; then
90362 glibcxx_cv_func_isinfl_use=yes
90363 else
90364 echo "$as_me: failed program was:" >&5
90365 sed 's/^/| /' conftest.$ac_ext >&5
90367 glibcxx_cv_func_isinfl_use=no
90369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90370 ac_ext=c
90371 ac_cpp='$CPP $CPPFLAGS'
90372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
90381 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
90383 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
90385 for ac_func in isinfl
90387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90388 echo "$as_me:$LINENO: checking for $ac_func" >&5
90389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90390 if eval "test \"\${$as_ac_var+set}\" = set"; then
90391 echo $ECHO_N "(cached) $ECHO_C" >&6
90392 else
90393 if test x$gcc_no_link = xyes; then
90394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90396 { (exit 1); exit 1; }; }
90398 cat >conftest.$ac_ext <<_ACEOF
90399 /* confdefs.h. */
90400 _ACEOF
90401 cat confdefs.h >>conftest.$ac_ext
90402 cat >>conftest.$ac_ext <<_ACEOF
90403 /* end confdefs.h. */
90404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90406 #define $ac_func innocuous_$ac_func
90408 /* System header to define __stub macros and hopefully few prototypes,
90409 which can conflict with char $ac_func (); below.
90410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90411 <limits.h> exists even on freestanding compilers. */
90413 #ifdef __STDC__
90414 # include <limits.h>
90415 #else
90416 # include <assert.h>
90417 #endif
90419 #undef $ac_func
90421 /* Override any gcc2 internal prototype to avoid an error. */
90422 #ifdef __cplusplus
90423 extern "C"
90425 #endif
90426 /* We use char because int might match the return type of a gcc2
90427 builtin and then its argument prototype would still apply. */
90428 char $ac_func ();
90429 /* The GNU C library defines this for functions which it implements
90430 to always fail with ENOSYS. Some functions are actually named
90431 something starting with __ and the normal name is an alias. */
90432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90433 choke me
90434 #else
90435 char (*f) () = $ac_func;
90436 #endif
90437 #ifdef __cplusplus
90439 #endif
90442 main ()
90444 return f != $ac_func;
90446 return 0;
90448 _ACEOF
90449 rm -f conftest.$ac_objext conftest$ac_exeext
90450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90451 (eval $ac_link) 2>conftest.er1
90452 ac_status=$?
90453 grep -v '^ *+' conftest.er1 >conftest.err
90454 rm -f conftest.er1
90455 cat conftest.err >&5
90456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90457 (exit $ac_status); } &&
90458 { ac_try='test -z "$ac_c_werror_flag"
90459 || test ! -s conftest.err'
90460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90461 (eval $ac_try) 2>&5
90462 ac_status=$?
90463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90464 (exit $ac_status); }; } &&
90465 { ac_try='test -s conftest$ac_exeext'
90466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90467 (eval $ac_try) 2>&5
90468 ac_status=$?
90469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90470 (exit $ac_status); }; }; then
90471 eval "$as_ac_var=yes"
90472 else
90473 echo "$as_me: failed program was:" >&5
90474 sed 's/^/| /' conftest.$ac_ext >&5
90476 eval "$as_ac_var=no"
90478 rm -f conftest.err conftest.$ac_objext \
90479 conftest$ac_exeext conftest.$ac_ext
90481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90483 if test `eval echo '${'$as_ac_var'}'` = yes; then
90484 cat >>confdefs.h <<_ACEOF
90485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90486 _ACEOF
90489 done
90491 else
90493 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
90494 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
90495 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
90496 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
90497 echo $ECHO_N "(cached) $ECHO_C" >&6
90498 else
90502 ac_ext=cc
90503 ac_cpp='$CXXCPP $CPPFLAGS'
90504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90508 cat >conftest.$ac_ext <<_ACEOF
90509 /* confdefs.h. */
90510 _ACEOF
90511 cat confdefs.h >>conftest.$ac_ext
90512 cat >>conftest.$ac_ext <<_ACEOF
90513 /* end confdefs.h. */
90514 #include <math.h>
90515 #ifdef HAVE_IEEEFP_H
90516 #include <ieeefp.h>
90517 #endif
90520 main ()
90522 _isinfl(0);
90524 return 0;
90526 _ACEOF
90527 rm -f conftest.$ac_objext
90528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90529 (eval $ac_compile) 2>conftest.er1
90530 ac_status=$?
90531 grep -v '^ *+' conftest.er1 >conftest.err
90532 rm -f conftest.er1
90533 cat conftest.err >&5
90534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90535 (exit $ac_status); } &&
90536 { ac_try='test -z "$ac_cxx_werror_flag"
90537 || test ! -s conftest.err'
90538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90539 (eval $ac_try) 2>&5
90540 ac_status=$?
90541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90542 (exit $ac_status); }; } &&
90543 { ac_try='test -s conftest.$ac_objext'
90544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90545 (eval $ac_try) 2>&5
90546 ac_status=$?
90547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90548 (exit $ac_status); }; }; then
90549 glibcxx_cv_func__isinfl_use=yes
90550 else
90551 echo "$as_me: failed program was:" >&5
90552 sed 's/^/| /' conftest.$ac_ext >&5
90554 glibcxx_cv_func__isinfl_use=no
90556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90557 ac_ext=c
90558 ac_cpp='$CPP $CPPFLAGS'
90559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90567 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
90568 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
90570 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
90572 for ac_func in _isinfl
90574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90575 echo "$as_me:$LINENO: checking for $ac_func" >&5
90576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90577 if eval "test \"\${$as_ac_var+set}\" = set"; then
90578 echo $ECHO_N "(cached) $ECHO_C" >&6
90579 else
90580 if test x$gcc_no_link = xyes; then
90581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90583 { (exit 1); exit 1; }; }
90585 cat >conftest.$ac_ext <<_ACEOF
90586 /* confdefs.h. */
90587 _ACEOF
90588 cat confdefs.h >>conftest.$ac_ext
90589 cat >>conftest.$ac_ext <<_ACEOF
90590 /* end confdefs.h. */
90591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90593 #define $ac_func innocuous_$ac_func
90595 /* System header to define __stub macros and hopefully few prototypes,
90596 which can conflict with char $ac_func (); below.
90597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90598 <limits.h> exists even on freestanding compilers. */
90600 #ifdef __STDC__
90601 # include <limits.h>
90602 #else
90603 # include <assert.h>
90604 #endif
90606 #undef $ac_func
90608 /* Override any gcc2 internal prototype to avoid an error. */
90609 #ifdef __cplusplus
90610 extern "C"
90612 #endif
90613 /* We use char because int might match the return type of a gcc2
90614 builtin and then its argument prototype would still apply. */
90615 char $ac_func ();
90616 /* The GNU C library defines this for functions which it implements
90617 to always fail with ENOSYS. Some functions are actually named
90618 something starting with __ and the normal name is an alias. */
90619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90620 choke me
90621 #else
90622 char (*f) () = $ac_func;
90623 #endif
90624 #ifdef __cplusplus
90626 #endif
90629 main ()
90631 return f != $ac_func;
90633 return 0;
90635 _ACEOF
90636 rm -f conftest.$ac_objext conftest$ac_exeext
90637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90638 (eval $ac_link) 2>conftest.er1
90639 ac_status=$?
90640 grep -v '^ *+' conftest.er1 >conftest.err
90641 rm -f conftest.er1
90642 cat conftest.err >&5
90643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90644 (exit $ac_status); } &&
90645 { ac_try='test -z "$ac_c_werror_flag"
90646 || test ! -s conftest.err'
90647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90648 (eval $ac_try) 2>&5
90649 ac_status=$?
90650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90651 (exit $ac_status); }; } &&
90652 { ac_try='test -s conftest$ac_exeext'
90653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90654 (eval $ac_try) 2>&5
90655 ac_status=$?
90656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90657 (exit $ac_status); }; }; then
90658 eval "$as_ac_var=yes"
90659 else
90660 echo "$as_me: failed program was:" >&5
90661 sed 's/^/| /' conftest.$ac_ext >&5
90663 eval "$as_ac_var=no"
90665 rm -f conftest.err conftest.$ac_objext \
90666 conftest$ac_exeext conftest.$ac_ext
90668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90670 if test `eval echo '${'$as_ac_var'}'` = yes; then
90671 cat >>confdefs.h <<_ACEOF
90672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90673 _ACEOF
90676 done
90686 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
90687 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
90688 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
90689 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
90690 echo $ECHO_N "(cached) $ECHO_C" >&6
90691 else
90695 ac_ext=cc
90696 ac_cpp='$CXXCPP $CPPFLAGS'
90697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90701 cat >conftest.$ac_ext <<_ACEOF
90702 /* confdefs.h. */
90703 _ACEOF
90704 cat confdefs.h >>conftest.$ac_ext
90705 cat >>conftest.$ac_ext <<_ACEOF
90706 /* end confdefs.h. */
90707 #include <math.h>
90709 main ()
90711 copysignl(0, 0);
90713 return 0;
90715 _ACEOF
90716 rm -f conftest.$ac_objext
90717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90718 (eval $ac_compile) 2>conftest.er1
90719 ac_status=$?
90720 grep -v '^ *+' conftest.er1 >conftest.err
90721 rm -f conftest.er1
90722 cat conftest.err >&5
90723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90724 (exit $ac_status); } &&
90725 { ac_try='test -z "$ac_cxx_werror_flag"
90726 || test ! -s conftest.err'
90727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90728 (eval $ac_try) 2>&5
90729 ac_status=$?
90730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90731 (exit $ac_status); }; } &&
90732 { ac_try='test -s conftest.$ac_objext'
90733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90734 (eval $ac_try) 2>&5
90735 ac_status=$?
90736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90737 (exit $ac_status); }; }; then
90738 glibcxx_cv_func_copysignl_use=yes
90739 else
90740 echo "$as_me: failed program was:" >&5
90741 sed 's/^/| /' conftest.$ac_ext >&5
90743 glibcxx_cv_func_copysignl_use=no
90745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90746 ac_ext=c
90747 ac_cpp='$CPP $CPPFLAGS'
90748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
90757 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
90759 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
90761 for ac_func in copysignl
90763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90764 echo "$as_me:$LINENO: checking for $ac_func" >&5
90765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90766 if eval "test \"\${$as_ac_var+set}\" = set"; then
90767 echo $ECHO_N "(cached) $ECHO_C" >&6
90768 else
90769 if test x$gcc_no_link = xyes; then
90770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90772 { (exit 1); exit 1; }; }
90774 cat >conftest.$ac_ext <<_ACEOF
90775 /* confdefs.h. */
90776 _ACEOF
90777 cat confdefs.h >>conftest.$ac_ext
90778 cat >>conftest.$ac_ext <<_ACEOF
90779 /* end confdefs.h. */
90780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90782 #define $ac_func innocuous_$ac_func
90784 /* System header to define __stub macros and hopefully few prototypes,
90785 which can conflict with char $ac_func (); below.
90786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90787 <limits.h> exists even on freestanding compilers. */
90789 #ifdef __STDC__
90790 # include <limits.h>
90791 #else
90792 # include <assert.h>
90793 #endif
90795 #undef $ac_func
90797 /* Override any gcc2 internal prototype to avoid an error. */
90798 #ifdef __cplusplus
90799 extern "C"
90801 #endif
90802 /* We use char because int might match the return type of a gcc2
90803 builtin and then its argument prototype would still apply. */
90804 char $ac_func ();
90805 /* The GNU C library defines this for functions which it implements
90806 to always fail with ENOSYS. Some functions are actually named
90807 something starting with __ and the normal name is an alias. */
90808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90809 choke me
90810 #else
90811 char (*f) () = $ac_func;
90812 #endif
90813 #ifdef __cplusplus
90815 #endif
90818 main ()
90820 return f != $ac_func;
90822 return 0;
90824 _ACEOF
90825 rm -f conftest.$ac_objext conftest$ac_exeext
90826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90827 (eval $ac_link) 2>conftest.er1
90828 ac_status=$?
90829 grep -v '^ *+' conftest.er1 >conftest.err
90830 rm -f conftest.er1
90831 cat conftest.err >&5
90832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90833 (exit $ac_status); } &&
90834 { ac_try='test -z "$ac_c_werror_flag"
90835 || test ! -s conftest.err'
90836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90837 (eval $ac_try) 2>&5
90838 ac_status=$?
90839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90840 (exit $ac_status); }; } &&
90841 { ac_try='test -s conftest$ac_exeext'
90842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90843 (eval $ac_try) 2>&5
90844 ac_status=$?
90845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90846 (exit $ac_status); }; }; then
90847 eval "$as_ac_var=yes"
90848 else
90849 echo "$as_me: failed program was:" >&5
90850 sed 's/^/| /' conftest.$ac_ext >&5
90852 eval "$as_ac_var=no"
90854 rm -f conftest.err conftest.$ac_objext \
90855 conftest$ac_exeext conftest.$ac_ext
90857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90859 if test `eval echo '${'$as_ac_var'}'` = yes; then
90860 cat >>confdefs.h <<_ACEOF
90861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90862 _ACEOF
90865 done
90867 else
90869 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
90870 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
90871 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
90872 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
90873 echo $ECHO_N "(cached) $ECHO_C" >&6
90874 else
90878 ac_ext=cc
90879 ac_cpp='$CXXCPP $CPPFLAGS'
90880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90884 cat >conftest.$ac_ext <<_ACEOF
90885 /* confdefs.h. */
90886 _ACEOF
90887 cat confdefs.h >>conftest.$ac_ext
90888 cat >>conftest.$ac_ext <<_ACEOF
90889 /* end confdefs.h. */
90890 #include <math.h>
90892 main ()
90894 _copysignl(0, 0);
90896 return 0;
90898 _ACEOF
90899 rm -f conftest.$ac_objext
90900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90901 (eval $ac_compile) 2>conftest.er1
90902 ac_status=$?
90903 grep -v '^ *+' conftest.er1 >conftest.err
90904 rm -f conftest.er1
90905 cat conftest.err >&5
90906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90907 (exit $ac_status); } &&
90908 { ac_try='test -z "$ac_cxx_werror_flag"
90909 || test ! -s conftest.err'
90910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90911 (eval $ac_try) 2>&5
90912 ac_status=$?
90913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90914 (exit $ac_status); }; } &&
90915 { ac_try='test -s conftest.$ac_objext'
90916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90917 (eval $ac_try) 2>&5
90918 ac_status=$?
90919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90920 (exit $ac_status); }; }; then
90921 glibcxx_cv_func__copysignl_use=yes
90922 else
90923 echo "$as_me: failed program was:" >&5
90924 sed 's/^/| /' conftest.$ac_ext >&5
90926 glibcxx_cv_func__copysignl_use=no
90928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90929 ac_ext=c
90930 ac_cpp='$CPP $CPPFLAGS'
90931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90939 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
90940 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
90942 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
90944 for ac_func in _copysignl
90946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90947 echo "$as_me:$LINENO: checking for $ac_func" >&5
90948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90949 if eval "test \"\${$as_ac_var+set}\" = set"; then
90950 echo $ECHO_N "(cached) $ECHO_C" >&6
90951 else
90952 if test x$gcc_no_link = xyes; then
90953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90955 { (exit 1); exit 1; }; }
90957 cat >conftest.$ac_ext <<_ACEOF
90958 /* confdefs.h. */
90959 _ACEOF
90960 cat confdefs.h >>conftest.$ac_ext
90961 cat >>conftest.$ac_ext <<_ACEOF
90962 /* end confdefs.h. */
90963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90965 #define $ac_func innocuous_$ac_func
90967 /* System header to define __stub macros and hopefully few prototypes,
90968 which can conflict with char $ac_func (); below.
90969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90970 <limits.h> exists even on freestanding compilers. */
90972 #ifdef __STDC__
90973 # include <limits.h>
90974 #else
90975 # include <assert.h>
90976 #endif
90978 #undef $ac_func
90980 /* Override any gcc2 internal prototype to avoid an error. */
90981 #ifdef __cplusplus
90982 extern "C"
90984 #endif
90985 /* We use char because int might match the return type of a gcc2
90986 builtin and then its argument prototype would still apply. */
90987 char $ac_func ();
90988 /* The GNU C library defines this for functions which it implements
90989 to always fail with ENOSYS. Some functions are actually named
90990 something starting with __ and the normal name is an alias. */
90991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90992 choke me
90993 #else
90994 char (*f) () = $ac_func;
90995 #endif
90996 #ifdef __cplusplus
90998 #endif
91001 main ()
91003 return f != $ac_func;
91005 return 0;
91007 _ACEOF
91008 rm -f conftest.$ac_objext conftest$ac_exeext
91009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91010 (eval $ac_link) 2>conftest.er1
91011 ac_status=$?
91012 grep -v '^ *+' conftest.er1 >conftest.err
91013 rm -f conftest.er1
91014 cat conftest.err >&5
91015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91016 (exit $ac_status); } &&
91017 { ac_try='test -z "$ac_c_werror_flag"
91018 || test ! -s conftest.err'
91019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91020 (eval $ac_try) 2>&5
91021 ac_status=$?
91022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91023 (exit $ac_status); }; } &&
91024 { ac_try='test -s conftest$ac_exeext'
91025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91026 (eval $ac_try) 2>&5
91027 ac_status=$?
91028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91029 (exit $ac_status); }; }; then
91030 eval "$as_ac_var=yes"
91031 else
91032 echo "$as_me: failed program was:" >&5
91033 sed 's/^/| /' conftest.$ac_ext >&5
91035 eval "$as_ac_var=no"
91037 rm -f conftest.err conftest.$ac_objext \
91038 conftest$ac_exeext conftest.$ac_ext
91040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91042 if test `eval echo '${'$as_ac_var'}'` = yes; then
91043 cat >>confdefs.h <<_ACEOF
91044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91045 _ACEOF
91048 done
91058 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
91059 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
91060 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
91061 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
91062 echo $ECHO_N "(cached) $ECHO_C" >&6
91063 else
91067 ac_ext=cc
91068 ac_cpp='$CXXCPP $CPPFLAGS'
91069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91073 cat >conftest.$ac_ext <<_ACEOF
91074 /* confdefs.h. */
91075 _ACEOF
91076 cat confdefs.h >>conftest.$ac_ext
91077 cat >>conftest.$ac_ext <<_ACEOF
91078 /* end confdefs.h. */
91079 #include <math.h>
91081 main ()
91083 atan2l(0, 0);
91085 return 0;
91087 _ACEOF
91088 rm -f conftest.$ac_objext
91089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91090 (eval $ac_compile) 2>conftest.er1
91091 ac_status=$?
91092 grep -v '^ *+' conftest.er1 >conftest.err
91093 rm -f conftest.er1
91094 cat conftest.err >&5
91095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91096 (exit $ac_status); } &&
91097 { ac_try='test -z "$ac_cxx_werror_flag"
91098 || test ! -s conftest.err'
91099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91100 (eval $ac_try) 2>&5
91101 ac_status=$?
91102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91103 (exit $ac_status); }; } &&
91104 { ac_try='test -s conftest.$ac_objext'
91105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91106 (eval $ac_try) 2>&5
91107 ac_status=$?
91108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91109 (exit $ac_status); }; }; then
91110 glibcxx_cv_func_atan2l_use=yes
91111 else
91112 echo "$as_me: failed program was:" >&5
91113 sed 's/^/| /' conftest.$ac_ext >&5
91115 glibcxx_cv_func_atan2l_use=no
91117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91118 ac_ext=c
91119 ac_cpp='$CPP $CPPFLAGS'
91120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
91129 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
91131 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
91133 for ac_func in atan2l
91135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91136 echo "$as_me:$LINENO: checking for $ac_func" >&5
91137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91138 if eval "test \"\${$as_ac_var+set}\" = set"; then
91139 echo $ECHO_N "(cached) $ECHO_C" >&6
91140 else
91141 if test x$gcc_no_link = xyes; then
91142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91144 { (exit 1); exit 1; }; }
91146 cat >conftest.$ac_ext <<_ACEOF
91147 /* confdefs.h. */
91148 _ACEOF
91149 cat confdefs.h >>conftest.$ac_ext
91150 cat >>conftest.$ac_ext <<_ACEOF
91151 /* end confdefs.h. */
91152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91154 #define $ac_func innocuous_$ac_func
91156 /* System header to define __stub macros and hopefully few prototypes,
91157 which can conflict with char $ac_func (); below.
91158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91159 <limits.h> exists even on freestanding compilers. */
91161 #ifdef __STDC__
91162 # include <limits.h>
91163 #else
91164 # include <assert.h>
91165 #endif
91167 #undef $ac_func
91169 /* Override any gcc2 internal prototype to avoid an error. */
91170 #ifdef __cplusplus
91171 extern "C"
91173 #endif
91174 /* We use char because int might match the return type of a gcc2
91175 builtin and then its argument prototype would still apply. */
91176 char $ac_func ();
91177 /* The GNU C library defines this for functions which it implements
91178 to always fail with ENOSYS. Some functions are actually named
91179 something starting with __ and the normal name is an alias. */
91180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91181 choke me
91182 #else
91183 char (*f) () = $ac_func;
91184 #endif
91185 #ifdef __cplusplus
91187 #endif
91190 main ()
91192 return f != $ac_func;
91194 return 0;
91196 _ACEOF
91197 rm -f conftest.$ac_objext conftest$ac_exeext
91198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91199 (eval $ac_link) 2>conftest.er1
91200 ac_status=$?
91201 grep -v '^ *+' conftest.er1 >conftest.err
91202 rm -f conftest.er1
91203 cat conftest.err >&5
91204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91205 (exit $ac_status); } &&
91206 { ac_try='test -z "$ac_c_werror_flag"
91207 || test ! -s conftest.err'
91208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91209 (eval $ac_try) 2>&5
91210 ac_status=$?
91211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91212 (exit $ac_status); }; } &&
91213 { ac_try='test -s conftest$ac_exeext'
91214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91215 (eval $ac_try) 2>&5
91216 ac_status=$?
91217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91218 (exit $ac_status); }; }; then
91219 eval "$as_ac_var=yes"
91220 else
91221 echo "$as_me: failed program was:" >&5
91222 sed 's/^/| /' conftest.$ac_ext >&5
91224 eval "$as_ac_var=no"
91226 rm -f conftest.err conftest.$ac_objext \
91227 conftest$ac_exeext conftest.$ac_ext
91229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91231 if test `eval echo '${'$as_ac_var'}'` = yes; then
91232 cat >>confdefs.h <<_ACEOF
91233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91234 _ACEOF
91237 done
91239 else
91241 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
91242 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
91243 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
91244 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
91245 echo $ECHO_N "(cached) $ECHO_C" >&6
91246 else
91250 ac_ext=cc
91251 ac_cpp='$CXXCPP $CPPFLAGS'
91252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91256 cat >conftest.$ac_ext <<_ACEOF
91257 /* confdefs.h. */
91258 _ACEOF
91259 cat confdefs.h >>conftest.$ac_ext
91260 cat >>conftest.$ac_ext <<_ACEOF
91261 /* end confdefs.h. */
91262 #include <math.h>
91264 main ()
91266 _atan2l(0, 0);
91268 return 0;
91270 _ACEOF
91271 rm -f conftest.$ac_objext
91272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91273 (eval $ac_compile) 2>conftest.er1
91274 ac_status=$?
91275 grep -v '^ *+' conftest.er1 >conftest.err
91276 rm -f conftest.er1
91277 cat conftest.err >&5
91278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91279 (exit $ac_status); } &&
91280 { ac_try='test -z "$ac_cxx_werror_flag"
91281 || test ! -s conftest.err'
91282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91283 (eval $ac_try) 2>&5
91284 ac_status=$?
91285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91286 (exit $ac_status); }; } &&
91287 { ac_try='test -s conftest.$ac_objext'
91288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91289 (eval $ac_try) 2>&5
91290 ac_status=$?
91291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91292 (exit $ac_status); }; }; then
91293 glibcxx_cv_func__atan2l_use=yes
91294 else
91295 echo "$as_me: failed program was:" >&5
91296 sed 's/^/| /' conftest.$ac_ext >&5
91298 glibcxx_cv_func__atan2l_use=no
91300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91301 ac_ext=c
91302 ac_cpp='$CPP $CPPFLAGS'
91303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91311 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
91312 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
91314 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
91316 for ac_func in _atan2l
91318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91319 echo "$as_me:$LINENO: checking for $ac_func" >&5
91320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91321 if eval "test \"\${$as_ac_var+set}\" = set"; then
91322 echo $ECHO_N "(cached) $ECHO_C" >&6
91323 else
91324 if test x$gcc_no_link = xyes; then
91325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91327 { (exit 1); exit 1; }; }
91329 cat >conftest.$ac_ext <<_ACEOF
91330 /* confdefs.h. */
91331 _ACEOF
91332 cat confdefs.h >>conftest.$ac_ext
91333 cat >>conftest.$ac_ext <<_ACEOF
91334 /* end confdefs.h. */
91335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91337 #define $ac_func innocuous_$ac_func
91339 /* System header to define __stub macros and hopefully few prototypes,
91340 which can conflict with char $ac_func (); below.
91341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91342 <limits.h> exists even on freestanding compilers. */
91344 #ifdef __STDC__
91345 # include <limits.h>
91346 #else
91347 # include <assert.h>
91348 #endif
91350 #undef $ac_func
91352 /* Override any gcc2 internal prototype to avoid an error. */
91353 #ifdef __cplusplus
91354 extern "C"
91356 #endif
91357 /* We use char because int might match the return type of a gcc2
91358 builtin and then its argument prototype would still apply. */
91359 char $ac_func ();
91360 /* The GNU C library defines this for functions which it implements
91361 to always fail with ENOSYS. Some functions are actually named
91362 something starting with __ and the normal name is an alias. */
91363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91364 choke me
91365 #else
91366 char (*f) () = $ac_func;
91367 #endif
91368 #ifdef __cplusplus
91370 #endif
91373 main ()
91375 return f != $ac_func;
91377 return 0;
91379 _ACEOF
91380 rm -f conftest.$ac_objext conftest$ac_exeext
91381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91382 (eval $ac_link) 2>conftest.er1
91383 ac_status=$?
91384 grep -v '^ *+' conftest.er1 >conftest.err
91385 rm -f conftest.er1
91386 cat conftest.err >&5
91387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91388 (exit $ac_status); } &&
91389 { ac_try='test -z "$ac_c_werror_flag"
91390 || test ! -s conftest.err'
91391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91392 (eval $ac_try) 2>&5
91393 ac_status=$?
91394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91395 (exit $ac_status); }; } &&
91396 { ac_try='test -s conftest$ac_exeext'
91397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91398 (eval $ac_try) 2>&5
91399 ac_status=$?
91400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91401 (exit $ac_status); }; }; then
91402 eval "$as_ac_var=yes"
91403 else
91404 echo "$as_me: failed program was:" >&5
91405 sed 's/^/| /' conftest.$ac_ext >&5
91407 eval "$as_ac_var=no"
91409 rm -f conftest.err conftest.$ac_objext \
91410 conftest$ac_exeext conftest.$ac_ext
91412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91414 if test `eval echo '${'$as_ac_var'}'` = yes; then
91415 cat >>confdefs.h <<_ACEOF
91416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91417 _ACEOF
91420 done
91430 echo "$as_me:$LINENO: checking for expl declaration" >&5
91431 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
91432 if test x${glibcxx_cv_func_expl_use+set} != xset; then
91433 if test "${glibcxx_cv_func_expl_use+set}" = set; then
91434 echo $ECHO_N "(cached) $ECHO_C" >&6
91435 else
91439 ac_ext=cc
91440 ac_cpp='$CXXCPP $CPPFLAGS'
91441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91445 cat >conftest.$ac_ext <<_ACEOF
91446 /* confdefs.h. */
91447 _ACEOF
91448 cat confdefs.h >>conftest.$ac_ext
91449 cat >>conftest.$ac_ext <<_ACEOF
91450 /* end confdefs.h. */
91451 #include <math.h>
91452 #ifdef HAVE_IEEEFP_H
91453 #include <ieeefp.h>
91454 #endif
91457 main ()
91459 expl(0);
91461 return 0;
91463 _ACEOF
91464 rm -f conftest.$ac_objext
91465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91466 (eval $ac_compile) 2>conftest.er1
91467 ac_status=$?
91468 grep -v '^ *+' conftest.er1 >conftest.err
91469 rm -f conftest.er1
91470 cat conftest.err >&5
91471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91472 (exit $ac_status); } &&
91473 { ac_try='test -z "$ac_cxx_werror_flag"
91474 || test ! -s conftest.err'
91475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91476 (eval $ac_try) 2>&5
91477 ac_status=$?
91478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91479 (exit $ac_status); }; } &&
91480 { ac_try='test -s conftest.$ac_objext'
91481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91482 (eval $ac_try) 2>&5
91483 ac_status=$?
91484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91485 (exit $ac_status); }; }; then
91486 glibcxx_cv_func_expl_use=yes
91487 else
91488 echo "$as_me: failed program was:" >&5
91489 sed 's/^/| /' conftest.$ac_ext >&5
91491 glibcxx_cv_func_expl_use=no
91493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91494 ac_ext=c
91495 ac_cpp='$CPP $CPPFLAGS'
91496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
91505 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
91507 if test x$glibcxx_cv_func_expl_use = x"yes"; then
91509 for ac_func in expl
91511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91512 echo "$as_me:$LINENO: checking for $ac_func" >&5
91513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91514 if eval "test \"\${$as_ac_var+set}\" = set"; then
91515 echo $ECHO_N "(cached) $ECHO_C" >&6
91516 else
91517 if test x$gcc_no_link = xyes; then
91518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91520 { (exit 1); exit 1; }; }
91522 cat >conftest.$ac_ext <<_ACEOF
91523 /* confdefs.h. */
91524 _ACEOF
91525 cat confdefs.h >>conftest.$ac_ext
91526 cat >>conftest.$ac_ext <<_ACEOF
91527 /* end confdefs.h. */
91528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91530 #define $ac_func innocuous_$ac_func
91532 /* System header to define __stub macros and hopefully few prototypes,
91533 which can conflict with char $ac_func (); below.
91534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91535 <limits.h> exists even on freestanding compilers. */
91537 #ifdef __STDC__
91538 # include <limits.h>
91539 #else
91540 # include <assert.h>
91541 #endif
91543 #undef $ac_func
91545 /* Override any gcc2 internal prototype to avoid an error. */
91546 #ifdef __cplusplus
91547 extern "C"
91549 #endif
91550 /* We use char because int might match the return type of a gcc2
91551 builtin and then its argument prototype would still apply. */
91552 char $ac_func ();
91553 /* The GNU C library defines this for functions which it implements
91554 to always fail with ENOSYS. Some functions are actually named
91555 something starting with __ and the normal name is an alias. */
91556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91557 choke me
91558 #else
91559 char (*f) () = $ac_func;
91560 #endif
91561 #ifdef __cplusplus
91563 #endif
91566 main ()
91568 return f != $ac_func;
91570 return 0;
91572 _ACEOF
91573 rm -f conftest.$ac_objext conftest$ac_exeext
91574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91575 (eval $ac_link) 2>conftest.er1
91576 ac_status=$?
91577 grep -v '^ *+' conftest.er1 >conftest.err
91578 rm -f conftest.er1
91579 cat conftest.err >&5
91580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91581 (exit $ac_status); } &&
91582 { ac_try='test -z "$ac_c_werror_flag"
91583 || test ! -s conftest.err'
91584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91585 (eval $ac_try) 2>&5
91586 ac_status=$?
91587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91588 (exit $ac_status); }; } &&
91589 { ac_try='test -s conftest$ac_exeext'
91590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91591 (eval $ac_try) 2>&5
91592 ac_status=$?
91593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91594 (exit $ac_status); }; }; then
91595 eval "$as_ac_var=yes"
91596 else
91597 echo "$as_me: failed program was:" >&5
91598 sed 's/^/| /' conftest.$ac_ext >&5
91600 eval "$as_ac_var=no"
91602 rm -f conftest.err conftest.$ac_objext \
91603 conftest$ac_exeext conftest.$ac_ext
91605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91607 if test `eval echo '${'$as_ac_var'}'` = yes; then
91608 cat >>confdefs.h <<_ACEOF
91609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91610 _ACEOF
91613 done
91615 else
91617 echo "$as_me:$LINENO: checking for _expl declaration" >&5
91618 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
91619 if test x${glibcxx_cv_func__expl_use+set} != xset; then
91620 if test "${glibcxx_cv_func__expl_use+set}" = set; then
91621 echo $ECHO_N "(cached) $ECHO_C" >&6
91622 else
91626 ac_ext=cc
91627 ac_cpp='$CXXCPP $CPPFLAGS'
91628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91632 cat >conftest.$ac_ext <<_ACEOF
91633 /* confdefs.h. */
91634 _ACEOF
91635 cat confdefs.h >>conftest.$ac_ext
91636 cat >>conftest.$ac_ext <<_ACEOF
91637 /* end confdefs.h. */
91638 #include <math.h>
91639 #ifdef HAVE_IEEEFP_H
91640 #include <ieeefp.h>
91641 #endif
91644 main ()
91646 _expl(0);
91648 return 0;
91650 _ACEOF
91651 rm -f conftest.$ac_objext
91652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91653 (eval $ac_compile) 2>conftest.er1
91654 ac_status=$?
91655 grep -v '^ *+' conftest.er1 >conftest.err
91656 rm -f conftest.er1
91657 cat conftest.err >&5
91658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91659 (exit $ac_status); } &&
91660 { ac_try='test -z "$ac_cxx_werror_flag"
91661 || test ! -s conftest.err'
91662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91663 (eval $ac_try) 2>&5
91664 ac_status=$?
91665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91666 (exit $ac_status); }; } &&
91667 { ac_try='test -s conftest.$ac_objext'
91668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91669 (eval $ac_try) 2>&5
91670 ac_status=$?
91671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91672 (exit $ac_status); }; }; then
91673 glibcxx_cv_func__expl_use=yes
91674 else
91675 echo "$as_me: failed program was:" >&5
91676 sed 's/^/| /' conftest.$ac_ext >&5
91678 glibcxx_cv_func__expl_use=no
91680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91681 ac_ext=c
91682 ac_cpp='$CPP $CPPFLAGS'
91683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91691 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
91692 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
91694 if test x$glibcxx_cv_func__expl_use = x"yes"; then
91696 for ac_func in _expl
91698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91699 echo "$as_me:$LINENO: checking for $ac_func" >&5
91700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91701 if eval "test \"\${$as_ac_var+set}\" = set"; then
91702 echo $ECHO_N "(cached) $ECHO_C" >&6
91703 else
91704 if test x$gcc_no_link = xyes; then
91705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91707 { (exit 1); exit 1; }; }
91709 cat >conftest.$ac_ext <<_ACEOF
91710 /* confdefs.h. */
91711 _ACEOF
91712 cat confdefs.h >>conftest.$ac_ext
91713 cat >>conftest.$ac_ext <<_ACEOF
91714 /* end confdefs.h. */
91715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91717 #define $ac_func innocuous_$ac_func
91719 /* System header to define __stub macros and hopefully few prototypes,
91720 which can conflict with char $ac_func (); below.
91721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91722 <limits.h> exists even on freestanding compilers. */
91724 #ifdef __STDC__
91725 # include <limits.h>
91726 #else
91727 # include <assert.h>
91728 #endif
91730 #undef $ac_func
91732 /* Override any gcc2 internal prototype to avoid an error. */
91733 #ifdef __cplusplus
91734 extern "C"
91736 #endif
91737 /* We use char because int might match the return type of a gcc2
91738 builtin and then its argument prototype would still apply. */
91739 char $ac_func ();
91740 /* The GNU C library defines this for functions which it implements
91741 to always fail with ENOSYS. Some functions are actually named
91742 something starting with __ and the normal name is an alias. */
91743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91744 choke me
91745 #else
91746 char (*f) () = $ac_func;
91747 #endif
91748 #ifdef __cplusplus
91750 #endif
91753 main ()
91755 return f != $ac_func;
91757 return 0;
91759 _ACEOF
91760 rm -f conftest.$ac_objext conftest$ac_exeext
91761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91762 (eval $ac_link) 2>conftest.er1
91763 ac_status=$?
91764 grep -v '^ *+' conftest.er1 >conftest.err
91765 rm -f conftest.er1
91766 cat conftest.err >&5
91767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91768 (exit $ac_status); } &&
91769 { ac_try='test -z "$ac_c_werror_flag"
91770 || test ! -s conftest.err'
91771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91772 (eval $ac_try) 2>&5
91773 ac_status=$?
91774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91775 (exit $ac_status); }; } &&
91776 { ac_try='test -s conftest$ac_exeext'
91777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91778 (eval $ac_try) 2>&5
91779 ac_status=$?
91780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91781 (exit $ac_status); }; }; then
91782 eval "$as_ac_var=yes"
91783 else
91784 echo "$as_me: failed program was:" >&5
91785 sed 's/^/| /' conftest.$ac_ext >&5
91787 eval "$as_ac_var=no"
91789 rm -f conftest.err conftest.$ac_objext \
91790 conftest$ac_exeext conftest.$ac_ext
91792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91794 if test `eval echo '${'$as_ac_var'}'` = yes; then
91795 cat >>confdefs.h <<_ACEOF
91796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91797 _ACEOF
91800 done
91810 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
91811 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
91812 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
91813 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
91814 echo $ECHO_N "(cached) $ECHO_C" >&6
91815 else
91819 ac_ext=cc
91820 ac_cpp='$CXXCPP $CPPFLAGS'
91821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91825 cat >conftest.$ac_ext <<_ACEOF
91826 /* confdefs.h. */
91827 _ACEOF
91828 cat confdefs.h >>conftest.$ac_ext
91829 cat >>conftest.$ac_ext <<_ACEOF
91830 /* end confdefs.h. */
91831 #include <math.h>
91832 #ifdef HAVE_IEEEFP_H
91833 #include <ieeefp.h>
91834 #endif
91837 main ()
91839 fabsl(0);
91841 return 0;
91843 _ACEOF
91844 rm -f conftest.$ac_objext
91845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91846 (eval $ac_compile) 2>conftest.er1
91847 ac_status=$?
91848 grep -v '^ *+' conftest.er1 >conftest.err
91849 rm -f conftest.er1
91850 cat conftest.err >&5
91851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91852 (exit $ac_status); } &&
91853 { ac_try='test -z "$ac_cxx_werror_flag"
91854 || test ! -s conftest.err'
91855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91856 (eval $ac_try) 2>&5
91857 ac_status=$?
91858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91859 (exit $ac_status); }; } &&
91860 { ac_try='test -s conftest.$ac_objext'
91861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91862 (eval $ac_try) 2>&5
91863 ac_status=$?
91864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91865 (exit $ac_status); }; }; then
91866 glibcxx_cv_func_fabsl_use=yes
91867 else
91868 echo "$as_me: failed program was:" >&5
91869 sed 's/^/| /' conftest.$ac_ext >&5
91871 glibcxx_cv_func_fabsl_use=no
91873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91874 ac_ext=c
91875 ac_cpp='$CPP $CPPFLAGS'
91876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
91885 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
91887 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
91889 for ac_func in fabsl
91891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91892 echo "$as_me:$LINENO: checking for $ac_func" >&5
91893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91894 if eval "test \"\${$as_ac_var+set}\" = set"; then
91895 echo $ECHO_N "(cached) $ECHO_C" >&6
91896 else
91897 if test x$gcc_no_link = xyes; then
91898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91900 { (exit 1); exit 1; }; }
91902 cat >conftest.$ac_ext <<_ACEOF
91903 /* confdefs.h. */
91904 _ACEOF
91905 cat confdefs.h >>conftest.$ac_ext
91906 cat >>conftest.$ac_ext <<_ACEOF
91907 /* end confdefs.h. */
91908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91910 #define $ac_func innocuous_$ac_func
91912 /* System header to define __stub macros and hopefully few prototypes,
91913 which can conflict with char $ac_func (); below.
91914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91915 <limits.h> exists even on freestanding compilers. */
91917 #ifdef __STDC__
91918 # include <limits.h>
91919 #else
91920 # include <assert.h>
91921 #endif
91923 #undef $ac_func
91925 /* Override any gcc2 internal prototype to avoid an error. */
91926 #ifdef __cplusplus
91927 extern "C"
91929 #endif
91930 /* We use char because int might match the return type of a gcc2
91931 builtin and then its argument prototype would still apply. */
91932 char $ac_func ();
91933 /* The GNU C library defines this for functions which it implements
91934 to always fail with ENOSYS. Some functions are actually named
91935 something starting with __ and the normal name is an alias. */
91936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91937 choke me
91938 #else
91939 char (*f) () = $ac_func;
91940 #endif
91941 #ifdef __cplusplus
91943 #endif
91946 main ()
91948 return f != $ac_func;
91950 return 0;
91952 _ACEOF
91953 rm -f conftest.$ac_objext conftest$ac_exeext
91954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91955 (eval $ac_link) 2>conftest.er1
91956 ac_status=$?
91957 grep -v '^ *+' conftest.er1 >conftest.err
91958 rm -f conftest.er1
91959 cat conftest.err >&5
91960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91961 (exit $ac_status); } &&
91962 { ac_try='test -z "$ac_c_werror_flag"
91963 || test ! -s conftest.err'
91964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91965 (eval $ac_try) 2>&5
91966 ac_status=$?
91967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91968 (exit $ac_status); }; } &&
91969 { ac_try='test -s conftest$ac_exeext'
91970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91971 (eval $ac_try) 2>&5
91972 ac_status=$?
91973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91974 (exit $ac_status); }; }; then
91975 eval "$as_ac_var=yes"
91976 else
91977 echo "$as_me: failed program was:" >&5
91978 sed 's/^/| /' conftest.$ac_ext >&5
91980 eval "$as_ac_var=no"
91982 rm -f conftest.err conftest.$ac_objext \
91983 conftest$ac_exeext conftest.$ac_ext
91985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91987 if test `eval echo '${'$as_ac_var'}'` = yes; then
91988 cat >>confdefs.h <<_ACEOF
91989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91990 _ACEOF
91993 done
91995 else
91997 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
91998 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
91999 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
92000 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
92001 echo $ECHO_N "(cached) $ECHO_C" >&6
92002 else
92006 ac_ext=cc
92007 ac_cpp='$CXXCPP $CPPFLAGS'
92008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92012 cat >conftest.$ac_ext <<_ACEOF
92013 /* confdefs.h. */
92014 _ACEOF
92015 cat confdefs.h >>conftest.$ac_ext
92016 cat >>conftest.$ac_ext <<_ACEOF
92017 /* end confdefs.h. */
92018 #include <math.h>
92019 #ifdef HAVE_IEEEFP_H
92020 #include <ieeefp.h>
92021 #endif
92024 main ()
92026 _fabsl(0);
92028 return 0;
92030 _ACEOF
92031 rm -f conftest.$ac_objext
92032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92033 (eval $ac_compile) 2>conftest.er1
92034 ac_status=$?
92035 grep -v '^ *+' conftest.er1 >conftest.err
92036 rm -f conftest.er1
92037 cat conftest.err >&5
92038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92039 (exit $ac_status); } &&
92040 { ac_try='test -z "$ac_cxx_werror_flag"
92041 || test ! -s conftest.err'
92042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92043 (eval $ac_try) 2>&5
92044 ac_status=$?
92045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92046 (exit $ac_status); }; } &&
92047 { ac_try='test -s conftest.$ac_objext'
92048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92049 (eval $ac_try) 2>&5
92050 ac_status=$?
92051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92052 (exit $ac_status); }; }; then
92053 glibcxx_cv_func__fabsl_use=yes
92054 else
92055 echo "$as_me: failed program was:" >&5
92056 sed 's/^/| /' conftest.$ac_ext >&5
92058 glibcxx_cv_func__fabsl_use=no
92060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92061 ac_ext=c
92062 ac_cpp='$CPP $CPPFLAGS'
92063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92071 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
92072 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
92074 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
92076 for ac_func in _fabsl
92078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92079 echo "$as_me:$LINENO: checking for $ac_func" >&5
92080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92081 if eval "test \"\${$as_ac_var+set}\" = set"; then
92082 echo $ECHO_N "(cached) $ECHO_C" >&6
92083 else
92084 if test x$gcc_no_link = xyes; then
92085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92087 { (exit 1); exit 1; }; }
92089 cat >conftest.$ac_ext <<_ACEOF
92090 /* confdefs.h. */
92091 _ACEOF
92092 cat confdefs.h >>conftest.$ac_ext
92093 cat >>conftest.$ac_ext <<_ACEOF
92094 /* end confdefs.h. */
92095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92097 #define $ac_func innocuous_$ac_func
92099 /* System header to define __stub macros and hopefully few prototypes,
92100 which can conflict with char $ac_func (); below.
92101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92102 <limits.h> exists even on freestanding compilers. */
92104 #ifdef __STDC__
92105 # include <limits.h>
92106 #else
92107 # include <assert.h>
92108 #endif
92110 #undef $ac_func
92112 /* Override any gcc2 internal prototype to avoid an error. */
92113 #ifdef __cplusplus
92114 extern "C"
92116 #endif
92117 /* We use char because int might match the return type of a gcc2
92118 builtin and then its argument prototype would still apply. */
92119 char $ac_func ();
92120 /* The GNU C library defines this for functions which it implements
92121 to always fail with ENOSYS. Some functions are actually named
92122 something starting with __ and the normal name is an alias. */
92123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92124 choke me
92125 #else
92126 char (*f) () = $ac_func;
92127 #endif
92128 #ifdef __cplusplus
92130 #endif
92133 main ()
92135 return f != $ac_func;
92137 return 0;
92139 _ACEOF
92140 rm -f conftest.$ac_objext conftest$ac_exeext
92141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92142 (eval $ac_link) 2>conftest.er1
92143 ac_status=$?
92144 grep -v '^ *+' conftest.er1 >conftest.err
92145 rm -f conftest.er1
92146 cat conftest.err >&5
92147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92148 (exit $ac_status); } &&
92149 { ac_try='test -z "$ac_c_werror_flag"
92150 || test ! -s conftest.err'
92151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92152 (eval $ac_try) 2>&5
92153 ac_status=$?
92154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92155 (exit $ac_status); }; } &&
92156 { ac_try='test -s conftest$ac_exeext'
92157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92158 (eval $ac_try) 2>&5
92159 ac_status=$?
92160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92161 (exit $ac_status); }; }; then
92162 eval "$as_ac_var=yes"
92163 else
92164 echo "$as_me: failed program was:" >&5
92165 sed 's/^/| /' conftest.$ac_ext >&5
92167 eval "$as_ac_var=no"
92169 rm -f conftest.err conftest.$ac_objext \
92170 conftest$ac_exeext conftest.$ac_ext
92172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92174 if test `eval echo '${'$as_ac_var'}'` = yes; then
92175 cat >>confdefs.h <<_ACEOF
92176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92177 _ACEOF
92180 done
92190 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
92191 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
92192 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
92193 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
92194 echo $ECHO_N "(cached) $ECHO_C" >&6
92195 else
92199 ac_ext=cc
92200 ac_cpp='$CXXCPP $CPPFLAGS'
92201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92205 cat >conftest.$ac_ext <<_ACEOF
92206 /* confdefs.h. */
92207 _ACEOF
92208 cat confdefs.h >>conftest.$ac_ext
92209 cat >>conftest.$ac_ext <<_ACEOF
92210 /* end confdefs.h. */
92211 #include <math.h>
92213 main ()
92215 fmodl(0, 0);
92217 return 0;
92219 _ACEOF
92220 rm -f conftest.$ac_objext
92221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92222 (eval $ac_compile) 2>conftest.er1
92223 ac_status=$?
92224 grep -v '^ *+' conftest.er1 >conftest.err
92225 rm -f conftest.er1
92226 cat conftest.err >&5
92227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92228 (exit $ac_status); } &&
92229 { ac_try='test -z "$ac_cxx_werror_flag"
92230 || test ! -s conftest.err'
92231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92232 (eval $ac_try) 2>&5
92233 ac_status=$?
92234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92235 (exit $ac_status); }; } &&
92236 { ac_try='test -s conftest.$ac_objext'
92237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92238 (eval $ac_try) 2>&5
92239 ac_status=$?
92240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92241 (exit $ac_status); }; }; then
92242 glibcxx_cv_func_fmodl_use=yes
92243 else
92244 echo "$as_me: failed program was:" >&5
92245 sed 's/^/| /' conftest.$ac_ext >&5
92247 glibcxx_cv_func_fmodl_use=no
92249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92250 ac_ext=c
92251 ac_cpp='$CPP $CPPFLAGS'
92252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
92261 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
92263 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
92265 for ac_func in fmodl
92267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92268 echo "$as_me:$LINENO: checking for $ac_func" >&5
92269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92270 if eval "test \"\${$as_ac_var+set}\" = set"; then
92271 echo $ECHO_N "(cached) $ECHO_C" >&6
92272 else
92273 if test x$gcc_no_link = xyes; then
92274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92276 { (exit 1); exit 1; }; }
92278 cat >conftest.$ac_ext <<_ACEOF
92279 /* confdefs.h. */
92280 _ACEOF
92281 cat confdefs.h >>conftest.$ac_ext
92282 cat >>conftest.$ac_ext <<_ACEOF
92283 /* end confdefs.h. */
92284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92286 #define $ac_func innocuous_$ac_func
92288 /* System header to define __stub macros and hopefully few prototypes,
92289 which can conflict with char $ac_func (); below.
92290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92291 <limits.h> exists even on freestanding compilers. */
92293 #ifdef __STDC__
92294 # include <limits.h>
92295 #else
92296 # include <assert.h>
92297 #endif
92299 #undef $ac_func
92301 /* Override any gcc2 internal prototype to avoid an error. */
92302 #ifdef __cplusplus
92303 extern "C"
92305 #endif
92306 /* We use char because int might match the return type of a gcc2
92307 builtin and then its argument prototype would still apply. */
92308 char $ac_func ();
92309 /* The GNU C library defines this for functions which it implements
92310 to always fail with ENOSYS. Some functions are actually named
92311 something starting with __ and the normal name is an alias. */
92312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92313 choke me
92314 #else
92315 char (*f) () = $ac_func;
92316 #endif
92317 #ifdef __cplusplus
92319 #endif
92322 main ()
92324 return f != $ac_func;
92326 return 0;
92328 _ACEOF
92329 rm -f conftest.$ac_objext conftest$ac_exeext
92330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92331 (eval $ac_link) 2>conftest.er1
92332 ac_status=$?
92333 grep -v '^ *+' conftest.er1 >conftest.err
92334 rm -f conftest.er1
92335 cat conftest.err >&5
92336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92337 (exit $ac_status); } &&
92338 { ac_try='test -z "$ac_c_werror_flag"
92339 || test ! -s conftest.err'
92340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92341 (eval $ac_try) 2>&5
92342 ac_status=$?
92343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92344 (exit $ac_status); }; } &&
92345 { ac_try='test -s conftest$ac_exeext'
92346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92347 (eval $ac_try) 2>&5
92348 ac_status=$?
92349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92350 (exit $ac_status); }; }; then
92351 eval "$as_ac_var=yes"
92352 else
92353 echo "$as_me: failed program was:" >&5
92354 sed 's/^/| /' conftest.$ac_ext >&5
92356 eval "$as_ac_var=no"
92358 rm -f conftest.err conftest.$ac_objext \
92359 conftest$ac_exeext conftest.$ac_ext
92361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92363 if test `eval echo '${'$as_ac_var'}'` = yes; then
92364 cat >>confdefs.h <<_ACEOF
92365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92366 _ACEOF
92369 done
92371 else
92373 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
92374 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
92375 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
92376 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
92377 echo $ECHO_N "(cached) $ECHO_C" >&6
92378 else
92382 ac_ext=cc
92383 ac_cpp='$CXXCPP $CPPFLAGS'
92384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92388 cat >conftest.$ac_ext <<_ACEOF
92389 /* confdefs.h. */
92390 _ACEOF
92391 cat confdefs.h >>conftest.$ac_ext
92392 cat >>conftest.$ac_ext <<_ACEOF
92393 /* end confdefs.h. */
92394 #include <math.h>
92396 main ()
92398 _fmodl(0, 0);
92400 return 0;
92402 _ACEOF
92403 rm -f conftest.$ac_objext
92404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92405 (eval $ac_compile) 2>conftest.er1
92406 ac_status=$?
92407 grep -v '^ *+' conftest.er1 >conftest.err
92408 rm -f conftest.er1
92409 cat conftest.err >&5
92410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92411 (exit $ac_status); } &&
92412 { ac_try='test -z "$ac_cxx_werror_flag"
92413 || test ! -s conftest.err'
92414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92415 (eval $ac_try) 2>&5
92416 ac_status=$?
92417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92418 (exit $ac_status); }; } &&
92419 { ac_try='test -s conftest.$ac_objext'
92420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92421 (eval $ac_try) 2>&5
92422 ac_status=$?
92423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92424 (exit $ac_status); }; }; then
92425 glibcxx_cv_func__fmodl_use=yes
92426 else
92427 echo "$as_me: failed program was:" >&5
92428 sed 's/^/| /' conftest.$ac_ext >&5
92430 glibcxx_cv_func__fmodl_use=no
92432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92433 ac_ext=c
92434 ac_cpp='$CPP $CPPFLAGS'
92435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
92444 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
92446 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
92448 for ac_func in _fmodl
92450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92451 echo "$as_me:$LINENO: checking for $ac_func" >&5
92452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92453 if eval "test \"\${$as_ac_var+set}\" = set"; then
92454 echo $ECHO_N "(cached) $ECHO_C" >&6
92455 else
92456 if test x$gcc_no_link = xyes; then
92457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92459 { (exit 1); exit 1; }; }
92461 cat >conftest.$ac_ext <<_ACEOF
92462 /* confdefs.h. */
92463 _ACEOF
92464 cat confdefs.h >>conftest.$ac_ext
92465 cat >>conftest.$ac_ext <<_ACEOF
92466 /* end confdefs.h. */
92467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92469 #define $ac_func innocuous_$ac_func
92471 /* System header to define __stub macros and hopefully few prototypes,
92472 which can conflict with char $ac_func (); below.
92473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92474 <limits.h> exists even on freestanding compilers. */
92476 #ifdef __STDC__
92477 # include <limits.h>
92478 #else
92479 # include <assert.h>
92480 #endif
92482 #undef $ac_func
92484 /* Override any gcc2 internal prototype to avoid an error. */
92485 #ifdef __cplusplus
92486 extern "C"
92488 #endif
92489 /* We use char because int might match the return type of a gcc2
92490 builtin and then its argument prototype would still apply. */
92491 char $ac_func ();
92492 /* The GNU C library defines this for functions which it implements
92493 to always fail with ENOSYS. Some functions are actually named
92494 something starting with __ and the normal name is an alias. */
92495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92496 choke me
92497 #else
92498 char (*f) () = $ac_func;
92499 #endif
92500 #ifdef __cplusplus
92502 #endif
92505 main ()
92507 return f != $ac_func;
92509 return 0;
92511 _ACEOF
92512 rm -f conftest.$ac_objext conftest$ac_exeext
92513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92514 (eval $ac_link) 2>conftest.er1
92515 ac_status=$?
92516 grep -v '^ *+' conftest.er1 >conftest.err
92517 rm -f conftest.er1
92518 cat conftest.err >&5
92519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92520 (exit $ac_status); } &&
92521 { ac_try='test -z "$ac_c_werror_flag"
92522 || test ! -s conftest.err'
92523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92524 (eval $ac_try) 2>&5
92525 ac_status=$?
92526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92527 (exit $ac_status); }; } &&
92528 { ac_try='test -s conftest$ac_exeext'
92529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92530 (eval $ac_try) 2>&5
92531 ac_status=$?
92532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92533 (exit $ac_status); }; }; then
92534 eval "$as_ac_var=yes"
92535 else
92536 echo "$as_me: failed program was:" >&5
92537 sed 's/^/| /' conftest.$ac_ext >&5
92539 eval "$as_ac_var=no"
92541 rm -f conftest.err conftest.$ac_objext \
92542 conftest$ac_exeext conftest.$ac_ext
92544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92546 if test `eval echo '${'$as_ac_var'}'` = yes; then
92547 cat >>confdefs.h <<_ACEOF
92548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92549 _ACEOF
92552 done
92562 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
92563 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
92564 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
92565 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
92566 echo $ECHO_N "(cached) $ECHO_C" >&6
92567 else
92571 ac_ext=cc
92572 ac_cpp='$CXXCPP $CPPFLAGS'
92573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92577 cat >conftest.$ac_ext <<_ACEOF
92578 /* confdefs.h. */
92579 _ACEOF
92580 cat confdefs.h >>conftest.$ac_ext
92581 cat >>conftest.$ac_ext <<_ACEOF
92582 /* end confdefs.h. */
92583 #include <math.h>
92585 main ()
92587 frexpl(0, 0);
92589 return 0;
92591 _ACEOF
92592 rm -f conftest.$ac_objext
92593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92594 (eval $ac_compile) 2>conftest.er1
92595 ac_status=$?
92596 grep -v '^ *+' conftest.er1 >conftest.err
92597 rm -f conftest.er1
92598 cat conftest.err >&5
92599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92600 (exit $ac_status); } &&
92601 { ac_try='test -z "$ac_cxx_werror_flag"
92602 || test ! -s conftest.err'
92603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92604 (eval $ac_try) 2>&5
92605 ac_status=$?
92606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92607 (exit $ac_status); }; } &&
92608 { ac_try='test -s conftest.$ac_objext'
92609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92610 (eval $ac_try) 2>&5
92611 ac_status=$?
92612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92613 (exit $ac_status); }; }; then
92614 glibcxx_cv_func_frexpl_use=yes
92615 else
92616 echo "$as_me: failed program was:" >&5
92617 sed 's/^/| /' conftest.$ac_ext >&5
92619 glibcxx_cv_func_frexpl_use=no
92621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92622 ac_ext=c
92623 ac_cpp='$CPP $CPPFLAGS'
92624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92632 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
92633 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
92635 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
92637 for ac_func in frexpl
92639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92640 echo "$as_me:$LINENO: checking for $ac_func" >&5
92641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92642 if eval "test \"\${$as_ac_var+set}\" = set"; then
92643 echo $ECHO_N "(cached) $ECHO_C" >&6
92644 else
92645 if test x$gcc_no_link = xyes; then
92646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92648 { (exit 1); exit 1; }; }
92650 cat >conftest.$ac_ext <<_ACEOF
92651 /* confdefs.h. */
92652 _ACEOF
92653 cat confdefs.h >>conftest.$ac_ext
92654 cat >>conftest.$ac_ext <<_ACEOF
92655 /* end confdefs.h. */
92656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92658 #define $ac_func innocuous_$ac_func
92660 /* System header to define __stub macros and hopefully few prototypes,
92661 which can conflict with char $ac_func (); below.
92662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92663 <limits.h> exists even on freestanding compilers. */
92665 #ifdef __STDC__
92666 # include <limits.h>
92667 #else
92668 # include <assert.h>
92669 #endif
92671 #undef $ac_func
92673 /* Override any gcc2 internal prototype to avoid an error. */
92674 #ifdef __cplusplus
92675 extern "C"
92677 #endif
92678 /* We use char because int might match the return type of a gcc2
92679 builtin and then its argument prototype would still apply. */
92680 char $ac_func ();
92681 /* The GNU C library defines this for functions which it implements
92682 to always fail with ENOSYS. Some functions are actually named
92683 something starting with __ and the normal name is an alias. */
92684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92685 choke me
92686 #else
92687 char (*f) () = $ac_func;
92688 #endif
92689 #ifdef __cplusplus
92691 #endif
92694 main ()
92696 return f != $ac_func;
92698 return 0;
92700 _ACEOF
92701 rm -f conftest.$ac_objext conftest$ac_exeext
92702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92703 (eval $ac_link) 2>conftest.er1
92704 ac_status=$?
92705 grep -v '^ *+' conftest.er1 >conftest.err
92706 rm -f conftest.er1
92707 cat conftest.err >&5
92708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92709 (exit $ac_status); } &&
92710 { ac_try='test -z "$ac_c_werror_flag"
92711 || test ! -s conftest.err'
92712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92713 (eval $ac_try) 2>&5
92714 ac_status=$?
92715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92716 (exit $ac_status); }; } &&
92717 { ac_try='test -s conftest$ac_exeext'
92718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92719 (eval $ac_try) 2>&5
92720 ac_status=$?
92721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92722 (exit $ac_status); }; }; then
92723 eval "$as_ac_var=yes"
92724 else
92725 echo "$as_me: failed program was:" >&5
92726 sed 's/^/| /' conftest.$ac_ext >&5
92728 eval "$as_ac_var=no"
92730 rm -f conftest.err conftest.$ac_objext \
92731 conftest$ac_exeext conftest.$ac_ext
92733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92735 if test `eval echo '${'$as_ac_var'}'` = yes; then
92736 cat >>confdefs.h <<_ACEOF
92737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92738 _ACEOF
92741 done
92743 else
92745 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
92746 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
92747 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
92748 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
92749 echo $ECHO_N "(cached) $ECHO_C" >&6
92750 else
92754 ac_ext=cc
92755 ac_cpp='$CXXCPP $CPPFLAGS'
92756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92760 cat >conftest.$ac_ext <<_ACEOF
92761 /* confdefs.h. */
92762 _ACEOF
92763 cat confdefs.h >>conftest.$ac_ext
92764 cat >>conftest.$ac_ext <<_ACEOF
92765 /* end confdefs.h. */
92766 #include <math.h>
92768 main ()
92770 _frexpl(0, 0);
92772 return 0;
92774 _ACEOF
92775 rm -f conftest.$ac_objext
92776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92777 (eval $ac_compile) 2>conftest.er1
92778 ac_status=$?
92779 grep -v '^ *+' conftest.er1 >conftest.err
92780 rm -f conftest.er1
92781 cat conftest.err >&5
92782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92783 (exit $ac_status); } &&
92784 { ac_try='test -z "$ac_cxx_werror_flag"
92785 || test ! -s conftest.err'
92786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92787 (eval $ac_try) 2>&5
92788 ac_status=$?
92789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92790 (exit $ac_status); }; } &&
92791 { ac_try='test -s conftest.$ac_objext'
92792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92793 (eval $ac_try) 2>&5
92794 ac_status=$?
92795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92796 (exit $ac_status); }; }; then
92797 glibcxx_cv_func__frexpl_use=yes
92798 else
92799 echo "$as_me: failed program was:" >&5
92800 sed 's/^/| /' conftest.$ac_ext >&5
92802 glibcxx_cv_func__frexpl_use=no
92804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92805 ac_ext=c
92806 ac_cpp='$CPP $CPPFLAGS'
92807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92815 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
92816 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
92818 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
92820 for ac_func in _frexpl
92822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92823 echo "$as_me:$LINENO: checking for $ac_func" >&5
92824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92825 if eval "test \"\${$as_ac_var+set}\" = set"; then
92826 echo $ECHO_N "(cached) $ECHO_C" >&6
92827 else
92828 if test x$gcc_no_link = xyes; then
92829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92831 { (exit 1); exit 1; }; }
92833 cat >conftest.$ac_ext <<_ACEOF
92834 /* confdefs.h. */
92835 _ACEOF
92836 cat confdefs.h >>conftest.$ac_ext
92837 cat >>conftest.$ac_ext <<_ACEOF
92838 /* end confdefs.h. */
92839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92841 #define $ac_func innocuous_$ac_func
92843 /* System header to define __stub macros and hopefully few prototypes,
92844 which can conflict with char $ac_func (); below.
92845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92846 <limits.h> exists even on freestanding compilers. */
92848 #ifdef __STDC__
92849 # include <limits.h>
92850 #else
92851 # include <assert.h>
92852 #endif
92854 #undef $ac_func
92856 /* Override any gcc2 internal prototype to avoid an error. */
92857 #ifdef __cplusplus
92858 extern "C"
92860 #endif
92861 /* We use char because int might match the return type of a gcc2
92862 builtin and then its argument prototype would still apply. */
92863 char $ac_func ();
92864 /* The GNU C library defines this for functions which it implements
92865 to always fail with ENOSYS. Some functions are actually named
92866 something starting with __ and the normal name is an alias. */
92867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92868 choke me
92869 #else
92870 char (*f) () = $ac_func;
92871 #endif
92872 #ifdef __cplusplus
92874 #endif
92877 main ()
92879 return f != $ac_func;
92881 return 0;
92883 _ACEOF
92884 rm -f conftest.$ac_objext conftest$ac_exeext
92885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92886 (eval $ac_link) 2>conftest.er1
92887 ac_status=$?
92888 grep -v '^ *+' conftest.er1 >conftest.err
92889 rm -f conftest.er1
92890 cat conftest.err >&5
92891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92892 (exit $ac_status); } &&
92893 { ac_try='test -z "$ac_c_werror_flag"
92894 || test ! -s conftest.err'
92895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92896 (eval $ac_try) 2>&5
92897 ac_status=$?
92898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92899 (exit $ac_status); }; } &&
92900 { ac_try='test -s conftest$ac_exeext'
92901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92902 (eval $ac_try) 2>&5
92903 ac_status=$?
92904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92905 (exit $ac_status); }; }; then
92906 eval "$as_ac_var=yes"
92907 else
92908 echo "$as_me: failed program was:" >&5
92909 sed 's/^/| /' conftest.$ac_ext >&5
92911 eval "$as_ac_var=no"
92913 rm -f conftest.err conftest.$ac_objext \
92914 conftest$ac_exeext conftest.$ac_ext
92916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92918 if test `eval echo '${'$as_ac_var'}'` = yes; then
92919 cat >>confdefs.h <<_ACEOF
92920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92921 _ACEOF
92924 done
92934 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
92935 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
92936 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
92937 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
92938 echo $ECHO_N "(cached) $ECHO_C" >&6
92939 else
92943 ac_ext=cc
92944 ac_cpp='$CXXCPP $CPPFLAGS'
92945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92949 cat >conftest.$ac_ext <<_ACEOF
92950 /* confdefs.h. */
92951 _ACEOF
92952 cat confdefs.h >>conftest.$ac_ext
92953 cat >>conftest.$ac_ext <<_ACEOF
92954 /* end confdefs.h. */
92955 #include <math.h>
92957 main ()
92959 hypotl(0, 0);
92961 return 0;
92963 _ACEOF
92964 rm -f conftest.$ac_objext
92965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92966 (eval $ac_compile) 2>conftest.er1
92967 ac_status=$?
92968 grep -v '^ *+' conftest.er1 >conftest.err
92969 rm -f conftest.er1
92970 cat conftest.err >&5
92971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92972 (exit $ac_status); } &&
92973 { ac_try='test -z "$ac_cxx_werror_flag"
92974 || test ! -s conftest.err'
92975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92976 (eval $ac_try) 2>&5
92977 ac_status=$?
92978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92979 (exit $ac_status); }; } &&
92980 { ac_try='test -s conftest.$ac_objext'
92981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92982 (eval $ac_try) 2>&5
92983 ac_status=$?
92984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92985 (exit $ac_status); }; }; then
92986 glibcxx_cv_func_hypotl_use=yes
92987 else
92988 echo "$as_me: failed program was:" >&5
92989 sed 's/^/| /' conftest.$ac_ext >&5
92991 glibcxx_cv_func_hypotl_use=no
92993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92994 ac_ext=c
92995 ac_cpp='$CPP $CPPFLAGS'
92996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93004 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
93005 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
93007 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
93009 for ac_func in hypotl
93011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93012 echo "$as_me:$LINENO: checking for $ac_func" >&5
93013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93014 if eval "test \"\${$as_ac_var+set}\" = set"; then
93015 echo $ECHO_N "(cached) $ECHO_C" >&6
93016 else
93017 if test x$gcc_no_link = xyes; then
93018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93020 { (exit 1); exit 1; }; }
93022 cat >conftest.$ac_ext <<_ACEOF
93023 /* confdefs.h. */
93024 _ACEOF
93025 cat confdefs.h >>conftest.$ac_ext
93026 cat >>conftest.$ac_ext <<_ACEOF
93027 /* end confdefs.h. */
93028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93030 #define $ac_func innocuous_$ac_func
93032 /* System header to define __stub macros and hopefully few prototypes,
93033 which can conflict with char $ac_func (); below.
93034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93035 <limits.h> exists even on freestanding compilers. */
93037 #ifdef __STDC__
93038 # include <limits.h>
93039 #else
93040 # include <assert.h>
93041 #endif
93043 #undef $ac_func
93045 /* Override any gcc2 internal prototype to avoid an error. */
93046 #ifdef __cplusplus
93047 extern "C"
93049 #endif
93050 /* We use char because int might match the return type of a gcc2
93051 builtin and then its argument prototype would still apply. */
93052 char $ac_func ();
93053 /* The GNU C library defines this for functions which it implements
93054 to always fail with ENOSYS. Some functions are actually named
93055 something starting with __ and the normal name is an alias. */
93056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93057 choke me
93058 #else
93059 char (*f) () = $ac_func;
93060 #endif
93061 #ifdef __cplusplus
93063 #endif
93066 main ()
93068 return f != $ac_func;
93070 return 0;
93072 _ACEOF
93073 rm -f conftest.$ac_objext conftest$ac_exeext
93074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93075 (eval $ac_link) 2>conftest.er1
93076 ac_status=$?
93077 grep -v '^ *+' conftest.er1 >conftest.err
93078 rm -f conftest.er1
93079 cat conftest.err >&5
93080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93081 (exit $ac_status); } &&
93082 { ac_try='test -z "$ac_c_werror_flag"
93083 || test ! -s conftest.err'
93084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93085 (eval $ac_try) 2>&5
93086 ac_status=$?
93087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93088 (exit $ac_status); }; } &&
93089 { ac_try='test -s conftest$ac_exeext'
93090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93091 (eval $ac_try) 2>&5
93092 ac_status=$?
93093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93094 (exit $ac_status); }; }; then
93095 eval "$as_ac_var=yes"
93096 else
93097 echo "$as_me: failed program was:" >&5
93098 sed 's/^/| /' conftest.$ac_ext >&5
93100 eval "$as_ac_var=no"
93102 rm -f conftest.err conftest.$ac_objext \
93103 conftest$ac_exeext conftest.$ac_ext
93105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93107 if test `eval echo '${'$as_ac_var'}'` = yes; then
93108 cat >>confdefs.h <<_ACEOF
93109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93110 _ACEOF
93113 done
93115 else
93117 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
93118 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
93119 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
93120 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
93121 echo $ECHO_N "(cached) $ECHO_C" >&6
93122 else
93126 ac_ext=cc
93127 ac_cpp='$CXXCPP $CPPFLAGS'
93128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93132 cat >conftest.$ac_ext <<_ACEOF
93133 /* confdefs.h. */
93134 _ACEOF
93135 cat confdefs.h >>conftest.$ac_ext
93136 cat >>conftest.$ac_ext <<_ACEOF
93137 /* end confdefs.h. */
93138 #include <math.h>
93140 main ()
93142 _hypotl(0, 0);
93144 return 0;
93146 _ACEOF
93147 rm -f conftest.$ac_objext
93148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93149 (eval $ac_compile) 2>conftest.er1
93150 ac_status=$?
93151 grep -v '^ *+' conftest.er1 >conftest.err
93152 rm -f conftest.er1
93153 cat conftest.err >&5
93154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93155 (exit $ac_status); } &&
93156 { ac_try='test -z "$ac_cxx_werror_flag"
93157 || test ! -s conftest.err'
93158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93159 (eval $ac_try) 2>&5
93160 ac_status=$?
93161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93162 (exit $ac_status); }; } &&
93163 { ac_try='test -s conftest.$ac_objext'
93164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93165 (eval $ac_try) 2>&5
93166 ac_status=$?
93167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93168 (exit $ac_status); }; }; then
93169 glibcxx_cv_func__hypotl_use=yes
93170 else
93171 echo "$as_me: failed program was:" >&5
93172 sed 's/^/| /' conftest.$ac_ext >&5
93174 glibcxx_cv_func__hypotl_use=no
93176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93177 ac_ext=c
93178 ac_cpp='$CPP $CPPFLAGS'
93179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
93188 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
93190 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
93192 for ac_func in _hypotl
93194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93195 echo "$as_me:$LINENO: checking for $ac_func" >&5
93196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93197 if eval "test \"\${$as_ac_var+set}\" = set"; then
93198 echo $ECHO_N "(cached) $ECHO_C" >&6
93199 else
93200 if test x$gcc_no_link = xyes; then
93201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93203 { (exit 1); exit 1; }; }
93205 cat >conftest.$ac_ext <<_ACEOF
93206 /* confdefs.h. */
93207 _ACEOF
93208 cat confdefs.h >>conftest.$ac_ext
93209 cat >>conftest.$ac_ext <<_ACEOF
93210 /* end confdefs.h. */
93211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93213 #define $ac_func innocuous_$ac_func
93215 /* System header to define __stub macros and hopefully few prototypes,
93216 which can conflict with char $ac_func (); below.
93217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93218 <limits.h> exists even on freestanding compilers. */
93220 #ifdef __STDC__
93221 # include <limits.h>
93222 #else
93223 # include <assert.h>
93224 #endif
93226 #undef $ac_func
93228 /* Override any gcc2 internal prototype to avoid an error. */
93229 #ifdef __cplusplus
93230 extern "C"
93232 #endif
93233 /* We use char because int might match the return type of a gcc2
93234 builtin and then its argument prototype would still apply. */
93235 char $ac_func ();
93236 /* The GNU C library defines this for functions which it implements
93237 to always fail with ENOSYS. Some functions are actually named
93238 something starting with __ and the normal name is an alias. */
93239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93240 choke me
93241 #else
93242 char (*f) () = $ac_func;
93243 #endif
93244 #ifdef __cplusplus
93246 #endif
93249 main ()
93251 return f != $ac_func;
93253 return 0;
93255 _ACEOF
93256 rm -f conftest.$ac_objext conftest$ac_exeext
93257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93258 (eval $ac_link) 2>conftest.er1
93259 ac_status=$?
93260 grep -v '^ *+' conftest.er1 >conftest.err
93261 rm -f conftest.er1
93262 cat conftest.err >&5
93263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93264 (exit $ac_status); } &&
93265 { ac_try='test -z "$ac_c_werror_flag"
93266 || test ! -s conftest.err'
93267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93268 (eval $ac_try) 2>&5
93269 ac_status=$?
93270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93271 (exit $ac_status); }; } &&
93272 { ac_try='test -s conftest$ac_exeext'
93273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93274 (eval $ac_try) 2>&5
93275 ac_status=$?
93276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93277 (exit $ac_status); }; }; then
93278 eval "$as_ac_var=yes"
93279 else
93280 echo "$as_me: failed program was:" >&5
93281 sed 's/^/| /' conftest.$ac_ext >&5
93283 eval "$as_ac_var=no"
93285 rm -f conftest.err conftest.$ac_objext \
93286 conftest$ac_exeext conftest.$ac_ext
93288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93290 if test `eval echo '${'$as_ac_var'}'` = yes; then
93291 cat >>confdefs.h <<_ACEOF
93292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93293 _ACEOF
93296 done
93306 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
93307 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
93308 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
93309 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
93310 echo $ECHO_N "(cached) $ECHO_C" >&6
93311 else
93315 ac_ext=cc
93316 ac_cpp='$CXXCPP $CPPFLAGS'
93317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93321 cat >conftest.$ac_ext <<_ACEOF
93322 /* confdefs.h. */
93323 _ACEOF
93324 cat confdefs.h >>conftest.$ac_ext
93325 cat >>conftest.$ac_ext <<_ACEOF
93326 /* end confdefs.h. */
93327 #include <math.h>
93329 main ()
93331 ldexpl(0, 0);
93333 return 0;
93335 _ACEOF
93336 rm -f conftest.$ac_objext
93337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93338 (eval $ac_compile) 2>conftest.er1
93339 ac_status=$?
93340 grep -v '^ *+' conftest.er1 >conftest.err
93341 rm -f conftest.er1
93342 cat conftest.err >&5
93343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93344 (exit $ac_status); } &&
93345 { ac_try='test -z "$ac_cxx_werror_flag"
93346 || test ! -s conftest.err'
93347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93348 (eval $ac_try) 2>&5
93349 ac_status=$?
93350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93351 (exit $ac_status); }; } &&
93352 { ac_try='test -s conftest.$ac_objext'
93353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93354 (eval $ac_try) 2>&5
93355 ac_status=$?
93356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93357 (exit $ac_status); }; }; then
93358 glibcxx_cv_func_ldexpl_use=yes
93359 else
93360 echo "$as_me: failed program was:" >&5
93361 sed 's/^/| /' conftest.$ac_ext >&5
93363 glibcxx_cv_func_ldexpl_use=no
93365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93366 ac_ext=c
93367 ac_cpp='$CPP $CPPFLAGS'
93368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93376 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
93377 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
93379 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
93381 for ac_func in ldexpl
93383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93384 echo "$as_me:$LINENO: checking for $ac_func" >&5
93385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93386 if eval "test \"\${$as_ac_var+set}\" = set"; then
93387 echo $ECHO_N "(cached) $ECHO_C" >&6
93388 else
93389 if test x$gcc_no_link = xyes; then
93390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93392 { (exit 1); exit 1; }; }
93394 cat >conftest.$ac_ext <<_ACEOF
93395 /* confdefs.h. */
93396 _ACEOF
93397 cat confdefs.h >>conftest.$ac_ext
93398 cat >>conftest.$ac_ext <<_ACEOF
93399 /* end confdefs.h. */
93400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93402 #define $ac_func innocuous_$ac_func
93404 /* System header to define __stub macros and hopefully few prototypes,
93405 which can conflict with char $ac_func (); below.
93406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93407 <limits.h> exists even on freestanding compilers. */
93409 #ifdef __STDC__
93410 # include <limits.h>
93411 #else
93412 # include <assert.h>
93413 #endif
93415 #undef $ac_func
93417 /* Override any gcc2 internal prototype to avoid an error. */
93418 #ifdef __cplusplus
93419 extern "C"
93421 #endif
93422 /* We use char because int might match the return type of a gcc2
93423 builtin and then its argument prototype would still apply. */
93424 char $ac_func ();
93425 /* The GNU C library defines this for functions which it implements
93426 to always fail with ENOSYS. Some functions are actually named
93427 something starting with __ and the normal name is an alias. */
93428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93429 choke me
93430 #else
93431 char (*f) () = $ac_func;
93432 #endif
93433 #ifdef __cplusplus
93435 #endif
93438 main ()
93440 return f != $ac_func;
93442 return 0;
93444 _ACEOF
93445 rm -f conftest.$ac_objext conftest$ac_exeext
93446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93447 (eval $ac_link) 2>conftest.er1
93448 ac_status=$?
93449 grep -v '^ *+' conftest.er1 >conftest.err
93450 rm -f conftest.er1
93451 cat conftest.err >&5
93452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93453 (exit $ac_status); } &&
93454 { ac_try='test -z "$ac_c_werror_flag"
93455 || test ! -s conftest.err'
93456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93457 (eval $ac_try) 2>&5
93458 ac_status=$?
93459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93460 (exit $ac_status); }; } &&
93461 { ac_try='test -s conftest$ac_exeext'
93462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93463 (eval $ac_try) 2>&5
93464 ac_status=$?
93465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93466 (exit $ac_status); }; }; then
93467 eval "$as_ac_var=yes"
93468 else
93469 echo "$as_me: failed program was:" >&5
93470 sed 's/^/| /' conftest.$ac_ext >&5
93472 eval "$as_ac_var=no"
93474 rm -f conftest.err conftest.$ac_objext \
93475 conftest$ac_exeext conftest.$ac_ext
93477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93479 if test `eval echo '${'$as_ac_var'}'` = yes; then
93480 cat >>confdefs.h <<_ACEOF
93481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93482 _ACEOF
93485 done
93487 else
93489 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
93490 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
93491 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
93492 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
93493 echo $ECHO_N "(cached) $ECHO_C" >&6
93494 else
93498 ac_ext=cc
93499 ac_cpp='$CXXCPP $CPPFLAGS'
93500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93504 cat >conftest.$ac_ext <<_ACEOF
93505 /* confdefs.h. */
93506 _ACEOF
93507 cat confdefs.h >>conftest.$ac_ext
93508 cat >>conftest.$ac_ext <<_ACEOF
93509 /* end confdefs.h. */
93510 #include <math.h>
93512 main ()
93514 _ldexpl(0, 0);
93516 return 0;
93518 _ACEOF
93519 rm -f conftest.$ac_objext
93520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93521 (eval $ac_compile) 2>conftest.er1
93522 ac_status=$?
93523 grep -v '^ *+' conftest.er1 >conftest.err
93524 rm -f conftest.er1
93525 cat conftest.err >&5
93526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93527 (exit $ac_status); } &&
93528 { ac_try='test -z "$ac_cxx_werror_flag"
93529 || test ! -s conftest.err'
93530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93531 (eval $ac_try) 2>&5
93532 ac_status=$?
93533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93534 (exit $ac_status); }; } &&
93535 { ac_try='test -s conftest.$ac_objext'
93536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93537 (eval $ac_try) 2>&5
93538 ac_status=$?
93539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93540 (exit $ac_status); }; }; then
93541 glibcxx_cv_func__ldexpl_use=yes
93542 else
93543 echo "$as_me: failed program was:" >&5
93544 sed 's/^/| /' conftest.$ac_ext >&5
93546 glibcxx_cv_func__ldexpl_use=no
93548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93549 ac_ext=c
93550 ac_cpp='$CPP $CPPFLAGS'
93551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93559 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
93560 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
93562 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
93564 for ac_func in _ldexpl
93566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93567 echo "$as_me:$LINENO: checking for $ac_func" >&5
93568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93569 if eval "test \"\${$as_ac_var+set}\" = set"; then
93570 echo $ECHO_N "(cached) $ECHO_C" >&6
93571 else
93572 if test x$gcc_no_link = xyes; then
93573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93575 { (exit 1); exit 1; }; }
93577 cat >conftest.$ac_ext <<_ACEOF
93578 /* confdefs.h. */
93579 _ACEOF
93580 cat confdefs.h >>conftest.$ac_ext
93581 cat >>conftest.$ac_ext <<_ACEOF
93582 /* end confdefs.h. */
93583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93585 #define $ac_func innocuous_$ac_func
93587 /* System header to define __stub macros and hopefully few prototypes,
93588 which can conflict with char $ac_func (); below.
93589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93590 <limits.h> exists even on freestanding compilers. */
93592 #ifdef __STDC__
93593 # include <limits.h>
93594 #else
93595 # include <assert.h>
93596 #endif
93598 #undef $ac_func
93600 /* Override any gcc2 internal prototype to avoid an error. */
93601 #ifdef __cplusplus
93602 extern "C"
93604 #endif
93605 /* We use char because int might match the return type of a gcc2
93606 builtin and then its argument prototype would still apply. */
93607 char $ac_func ();
93608 /* The GNU C library defines this for functions which it implements
93609 to always fail with ENOSYS. Some functions are actually named
93610 something starting with __ and the normal name is an alias. */
93611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93612 choke me
93613 #else
93614 char (*f) () = $ac_func;
93615 #endif
93616 #ifdef __cplusplus
93618 #endif
93621 main ()
93623 return f != $ac_func;
93625 return 0;
93627 _ACEOF
93628 rm -f conftest.$ac_objext conftest$ac_exeext
93629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93630 (eval $ac_link) 2>conftest.er1
93631 ac_status=$?
93632 grep -v '^ *+' conftest.er1 >conftest.err
93633 rm -f conftest.er1
93634 cat conftest.err >&5
93635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93636 (exit $ac_status); } &&
93637 { ac_try='test -z "$ac_c_werror_flag"
93638 || test ! -s conftest.err'
93639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93640 (eval $ac_try) 2>&5
93641 ac_status=$?
93642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93643 (exit $ac_status); }; } &&
93644 { ac_try='test -s conftest$ac_exeext'
93645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93646 (eval $ac_try) 2>&5
93647 ac_status=$?
93648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93649 (exit $ac_status); }; }; then
93650 eval "$as_ac_var=yes"
93651 else
93652 echo "$as_me: failed program was:" >&5
93653 sed 's/^/| /' conftest.$ac_ext >&5
93655 eval "$as_ac_var=no"
93657 rm -f conftest.err conftest.$ac_objext \
93658 conftest$ac_exeext conftest.$ac_ext
93660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93662 if test `eval echo '${'$as_ac_var'}'` = yes; then
93663 cat >>confdefs.h <<_ACEOF
93664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93665 _ACEOF
93668 done
93678 echo "$as_me:$LINENO: checking for logl declaration" >&5
93679 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
93680 if test x${glibcxx_cv_func_logl_use+set} != xset; then
93681 if test "${glibcxx_cv_func_logl_use+set}" = set; then
93682 echo $ECHO_N "(cached) $ECHO_C" >&6
93683 else
93687 ac_ext=cc
93688 ac_cpp='$CXXCPP $CPPFLAGS'
93689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93693 cat >conftest.$ac_ext <<_ACEOF
93694 /* confdefs.h. */
93695 _ACEOF
93696 cat confdefs.h >>conftest.$ac_ext
93697 cat >>conftest.$ac_ext <<_ACEOF
93698 /* end confdefs.h. */
93699 #include <math.h>
93700 #ifdef HAVE_IEEEFP_H
93701 #include <ieeefp.h>
93702 #endif
93705 main ()
93707 logl(0);
93709 return 0;
93711 _ACEOF
93712 rm -f conftest.$ac_objext
93713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93714 (eval $ac_compile) 2>conftest.er1
93715 ac_status=$?
93716 grep -v '^ *+' conftest.er1 >conftest.err
93717 rm -f conftest.er1
93718 cat conftest.err >&5
93719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93720 (exit $ac_status); } &&
93721 { ac_try='test -z "$ac_cxx_werror_flag"
93722 || test ! -s conftest.err'
93723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93724 (eval $ac_try) 2>&5
93725 ac_status=$?
93726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93727 (exit $ac_status); }; } &&
93728 { ac_try='test -s conftest.$ac_objext'
93729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93730 (eval $ac_try) 2>&5
93731 ac_status=$?
93732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93733 (exit $ac_status); }; }; then
93734 glibcxx_cv_func_logl_use=yes
93735 else
93736 echo "$as_me: failed program was:" >&5
93737 sed 's/^/| /' conftest.$ac_ext >&5
93739 glibcxx_cv_func_logl_use=no
93741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93742 ac_ext=c
93743 ac_cpp='$CPP $CPPFLAGS'
93744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93752 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
93753 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
93755 if test x$glibcxx_cv_func_logl_use = x"yes"; then
93757 for ac_func in logl
93759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93760 echo "$as_me:$LINENO: checking for $ac_func" >&5
93761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93762 if eval "test \"\${$as_ac_var+set}\" = set"; then
93763 echo $ECHO_N "(cached) $ECHO_C" >&6
93764 else
93765 if test x$gcc_no_link = xyes; then
93766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93768 { (exit 1); exit 1; }; }
93770 cat >conftest.$ac_ext <<_ACEOF
93771 /* confdefs.h. */
93772 _ACEOF
93773 cat confdefs.h >>conftest.$ac_ext
93774 cat >>conftest.$ac_ext <<_ACEOF
93775 /* end confdefs.h. */
93776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93778 #define $ac_func innocuous_$ac_func
93780 /* System header to define __stub macros and hopefully few prototypes,
93781 which can conflict with char $ac_func (); below.
93782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93783 <limits.h> exists even on freestanding compilers. */
93785 #ifdef __STDC__
93786 # include <limits.h>
93787 #else
93788 # include <assert.h>
93789 #endif
93791 #undef $ac_func
93793 /* Override any gcc2 internal prototype to avoid an error. */
93794 #ifdef __cplusplus
93795 extern "C"
93797 #endif
93798 /* We use char because int might match the return type of a gcc2
93799 builtin and then its argument prototype would still apply. */
93800 char $ac_func ();
93801 /* The GNU C library defines this for functions which it implements
93802 to always fail with ENOSYS. Some functions are actually named
93803 something starting with __ and the normal name is an alias. */
93804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93805 choke me
93806 #else
93807 char (*f) () = $ac_func;
93808 #endif
93809 #ifdef __cplusplus
93811 #endif
93814 main ()
93816 return f != $ac_func;
93818 return 0;
93820 _ACEOF
93821 rm -f conftest.$ac_objext conftest$ac_exeext
93822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93823 (eval $ac_link) 2>conftest.er1
93824 ac_status=$?
93825 grep -v '^ *+' conftest.er1 >conftest.err
93826 rm -f conftest.er1
93827 cat conftest.err >&5
93828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93829 (exit $ac_status); } &&
93830 { ac_try='test -z "$ac_c_werror_flag"
93831 || test ! -s conftest.err'
93832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93833 (eval $ac_try) 2>&5
93834 ac_status=$?
93835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93836 (exit $ac_status); }; } &&
93837 { ac_try='test -s conftest$ac_exeext'
93838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93839 (eval $ac_try) 2>&5
93840 ac_status=$?
93841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93842 (exit $ac_status); }; }; then
93843 eval "$as_ac_var=yes"
93844 else
93845 echo "$as_me: failed program was:" >&5
93846 sed 's/^/| /' conftest.$ac_ext >&5
93848 eval "$as_ac_var=no"
93850 rm -f conftest.err conftest.$ac_objext \
93851 conftest$ac_exeext conftest.$ac_ext
93853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93855 if test `eval echo '${'$as_ac_var'}'` = yes; then
93856 cat >>confdefs.h <<_ACEOF
93857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93858 _ACEOF
93861 done
93863 else
93865 echo "$as_me:$LINENO: checking for _logl declaration" >&5
93866 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
93867 if test x${glibcxx_cv_func__logl_use+set} != xset; then
93868 if test "${glibcxx_cv_func__logl_use+set}" = set; then
93869 echo $ECHO_N "(cached) $ECHO_C" >&6
93870 else
93874 ac_ext=cc
93875 ac_cpp='$CXXCPP $CPPFLAGS'
93876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93880 cat >conftest.$ac_ext <<_ACEOF
93881 /* confdefs.h. */
93882 _ACEOF
93883 cat confdefs.h >>conftest.$ac_ext
93884 cat >>conftest.$ac_ext <<_ACEOF
93885 /* end confdefs.h. */
93886 #include <math.h>
93887 #ifdef HAVE_IEEEFP_H
93888 #include <ieeefp.h>
93889 #endif
93892 main ()
93894 _logl(0);
93896 return 0;
93898 _ACEOF
93899 rm -f conftest.$ac_objext
93900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93901 (eval $ac_compile) 2>conftest.er1
93902 ac_status=$?
93903 grep -v '^ *+' conftest.er1 >conftest.err
93904 rm -f conftest.er1
93905 cat conftest.err >&5
93906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93907 (exit $ac_status); } &&
93908 { ac_try='test -z "$ac_cxx_werror_flag"
93909 || test ! -s conftest.err'
93910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93911 (eval $ac_try) 2>&5
93912 ac_status=$?
93913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93914 (exit $ac_status); }; } &&
93915 { ac_try='test -s conftest.$ac_objext'
93916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93917 (eval $ac_try) 2>&5
93918 ac_status=$?
93919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93920 (exit $ac_status); }; }; then
93921 glibcxx_cv_func__logl_use=yes
93922 else
93923 echo "$as_me: failed program was:" >&5
93924 sed 's/^/| /' conftest.$ac_ext >&5
93926 glibcxx_cv_func__logl_use=no
93928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93929 ac_ext=c
93930 ac_cpp='$CPP $CPPFLAGS'
93931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93939 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
93940 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
93942 if test x$glibcxx_cv_func__logl_use = x"yes"; then
93944 for ac_func in _logl
93946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93947 echo "$as_me:$LINENO: checking for $ac_func" >&5
93948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93949 if eval "test \"\${$as_ac_var+set}\" = set"; then
93950 echo $ECHO_N "(cached) $ECHO_C" >&6
93951 else
93952 if test x$gcc_no_link = xyes; then
93953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93955 { (exit 1); exit 1; }; }
93957 cat >conftest.$ac_ext <<_ACEOF
93958 /* confdefs.h. */
93959 _ACEOF
93960 cat confdefs.h >>conftest.$ac_ext
93961 cat >>conftest.$ac_ext <<_ACEOF
93962 /* end confdefs.h. */
93963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93965 #define $ac_func innocuous_$ac_func
93967 /* System header to define __stub macros and hopefully few prototypes,
93968 which can conflict with char $ac_func (); below.
93969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93970 <limits.h> exists even on freestanding compilers. */
93972 #ifdef __STDC__
93973 # include <limits.h>
93974 #else
93975 # include <assert.h>
93976 #endif
93978 #undef $ac_func
93980 /* Override any gcc2 internal prototype to avoid an error. */
93981 #ifdef __cplusplus
93982 extern "C"
93984 #endif
93985 /* We use char because int might match the return type of a gcc2
93986 builtin and then its argument prototype would still apply. */
93987 char $ac_func ();
93988 /* The GNU C library defines this for functions which it implements
93989 to always fail with ENOSYS. Some functions are actually named
93990 something starting with __ and the normal name is an alias. */
93991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93992 choke me
93993 #else
93994 char (*f) () = $ac_func;
93995 #endif
93996 #ifdef __cplusplus
93998 #endif
94001 main ()
94003 return f != $ac_func;
94005 return 0;
94007 _ACEOF
94008 rm -f conftest.$ac_objext conftest$ac_exeext
94009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94010 (eval $ac_link) 2>conftest.er1
94011 ac_status=$?
94012 grep -v '^ *+' conftest.er1 >conftest.err
94013 rm -f conftest.er1
94014 cat conftest.err >&5
94015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94016 (exit $ac_status); } &&
94017 { ac_try='test -z "$ac_c_werror_flag"
94018 || test ! -s conftest.err'
94019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94020 (eval $ac_try) 2>&5
94021 ac_status=$?
94022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94023 (exit $ac_status); }; } &&
94024 { ac_try='test -s conftest$ac_exeext'
94025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94026 (eval $ac_try) 2>&5
94027 ac_status=$?
94028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94029 (exit $ac_status); }; }; then
94030 eval "$as_ac_var=yes"
94031 else
94032 echo "$as_me: failed program was:" >&5
94033 sed 's/^/| /' conftest.$ac_ext >&5
94035 eval "$as_ac_var=no"
94037 rm -f conftest.err conftest.$ac_objext \
94038 conftest$ac_exeext conftest.$ac_ext
94040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94042 if test `eval echo '${'$as_ac_var'}'` = yes; then
94043 cat >>confdefs.h <<_ACEOF
94044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94045 _ACEOF
94048 done
94058 echo "$as_me:$LINENO: checking for log10l declaration" >&5
94059 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
94060 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
94061 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
94062 echo $ECHO_N "(cached) $ECHO_C" >&6
94063 else
94067 ac_ext=cc
94068 ac_cpp='$CXXCPP $CPPFLAGS'
94069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94073 cat >conftest.$ac_ext <<_ACEOF
94074 /* confdefs.h. */
94075 _ACEOF
94076 cat confdefs.h >>conftest.$ac_ext
94077 cat >>conftest.$ac_ext <<_ACEOF
94078 /* end confdefs.h. */
94079 #include <math.h>
94080 #ifdef HAVE_IEEEFP_H
94081 #include <ieeefp.h>
94082 #endif
94085 main ()
94087 log10l(0);
94089 return 0;
94091 _ACEOF
94092 rm -f conftest.$ac_objext
94093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94094 (eval $ac_compile) 2>conftest.er1
94095 ac_status=$?
94096 grep -v '^ *+' conftest.er1 >conftest.err
94097 rm -f conftest.er1
94098 cat conftest.err >&5
94099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94100 (exit $ac_status); } &&
94101 { ac_try='test -z "$ac_cxx_werror_flag"
94102 || test ! -s conftest.err'
94103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94104 (eval $ac_try) 2>&5
94105 ac_status=$?
94106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94107 (exit $ac_status); }; } &&
94108 { ac_try='test -s conftest.$ac_objext'
94109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94110 (eval $ac_try) 2>&5
94111 ac_status=$?
94112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94113 (exit $ac_status); }; }; then
94114 glibcxx_cv_func_log10l_use=yes
94115 else
94116 echo "$as_me: failed program was:" >&5
94117 sed 's/^/| /' conftest.$ac_ext >&5
94119 glibcxx_cv_func_log10l_use=no
94121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94122 ac_ext=c
94123 ac_cpp='$CPP $CPPFLAGS'
94124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94132 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
94133 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
94135 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
94137 for ac_func in log10l
94139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94140 echo "$as_me:$LINENO: checking for $ac_func" >&5
94141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94142 if eval "test \"\${$as_ac_var+set}\" = set"; then
94143 echo $ECHO_N "(cached) $ECHO_C" >&6
94144 else
94145 if test x$gcc_no_link = xyes; then
94146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94148 { (exit 1); exit 1; }; }
94150 cat >conftest.$ac_ext <<_ACEOF
94151 /* confdefs.h. */
94152 _ACEOF
94153 cat confdefs.h >>conftest.$ac_ext
94154 cat >>conftest.$ac_ext <<_ACEOF
94155 /* end confdefs.h. */
94156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94158 #define $ac_func innocuous_$ac_func
94160 /* System header to define __stub macros and hopefully few prototypes,
94161 which can conflict with char $ac_func (); below.
94162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94163 <limits.h> exists even on freestanding compilers. */
94165 #ifdef __STDC__
94166 # include <limits.h>
94167 #else
94168 # include <assert.h>
94169 #endif
94171 #undef $ac_func
94173 /* Override any gcc2 internal prototype to avoid an error. */
94174 #ifdef __cplusplus
94175 extern "C"
94177 #endif
94178 /* We use char because int might match the return type of a gcc2
94179 builtin and then its argument prototype would still apply. */
94180 char $ac_func ();
94181 /* The GNU C library defines this for functions which it implements
94182 to always fail with ENOSYS. Some functions are actually named
94183 something starting with __ and the normal name is an alias. */
94184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94185 choke me
94186 #else
94187 char (*f) () = $ac_func;
94188 #endif
94189 #ifdef __cplusplus
94191 #endif
94194 main ()
94196 return f != $ac_func;
94198 return 0;
94200 _ACEOF
94201 rm -f conftest.$ac_objext conftest$ac_exeext
94202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94203 (eval $ac_link) 2>conftest.er1
94204 ac_status=$?
94205 grep -v '^ *+' conftest.er1 >conftest.err
94206 rm -f conftest.er1
94207 cat conftest.err >&5
94208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94209 (exit $ac_status); } &&
94210 { ac_try='test -z "$ac_c_werror_flag"
94211 || test ! -s conftest.err'
94212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94213 (eval $ac_try) 2>&5
94214 ac_status=$?
94215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94216 (exit $ac_status); }; } &&
94217 { ac_try='test -s conftest$ac_exeext'
94218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94219 (eval $ac_try) 2>&5
94220 ac_status=$?
94221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94222 (exit $ac_status); }; }; then
94223 eval "$as_ac_var=yes"
94224 else
94225 echo "$as_me: failed program was:" >&5
94226 sed 's/^/| /' conftest.$ac_ext >&5
94228 eval "$as_ac_var=no"
94230 rm -f conftest.err conftest.$ac_objext \
94231 conftest$ac_exeext conftest.$ac_ext
94233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94235 if test `eval echo '${'$as_ac_var'}'` = yes; then
94236 cat >>confdefs.h <<_ACEOF
94237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94238 _ACEOF
94241 done
94243 else
94245 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
94246 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
94247 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
94248 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
94249 echo $ECHO_N "(cached) $ECHO_C" >&6
94250 else
94254 ac_ext=cc
94255 ac_cpp='$CXXCPP $CPPFLAGS'
94256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94260 cat >conftest.$ac_ext <<_ACEOF
94261 /* confdefs.h. */
94262 _ACEOF
94263 cat confdefs.h >>conftest.$ac_ext
94264 cat >>conftest.$ac_ext <<_ACEOF
94265 /* end confdefs.h. */
94266 #include <math.h>
94267 #ifdef HAVE_IEEEFP_H
94268 #include <ieeefp.h>
94269 #endif
94272 main ()
94274 _log10l(0);
94276 return 0;
94278 _ACEOF
94279 rm -f conftest.$ac_objext
94280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94281 (eval $ac_compile) 2>conftest.er1
94282 ac_status=$?
94283 grep -v '^ *+' conftest.er1 >conftest.err
94284 rm -f conftest.er1
94285 cat conftest.err >&5
94286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94287 (exit $ac_status); } &&
94288 { ac_try='test -z "$ac_cxx_werror_flag"
94289 || test ! -s conftest.err'
94290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94291 (eval $ac_try) 2>&5
94292 ac_status=$?
94293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94294 (exit $ac_status); }; } &&
94295 { ac_try='test -s conftest.$ac_objext'
94296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94297 (eval $ac_try) 2>&5
94298 ac_status=$?
94299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94300 (exit $ac_status); }; }; then
94301 glibcxx_cv_func__log10l_use=yes
94302 else
94303 echo "$as_me: failed program was:" >&5
94304 sed 's/^/| /' conftest.$ac_ext >&5
94306 glibcxx_cv_func__log10l_use=no
94308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94309 ac_ext=c
94310 ac_cpp='$CPP $CPPFLAGS'
94311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94319 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
94320 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
94322 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
94324 for ac_func in _log10l
94326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94327 echo "$as_me:$LINENO: checking for $ac_func" >&5
94328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94329 if eval "test \"\${$as_ac_var+set}\" = set"; then
94330 echo $ECHO_N "(cached) $ECHO_C" >&6
94331 else
94332 if test x$gcc_no_link = xyes; then
94333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94335 { (exit 1); exit 1; }; }
94337 cat >conftest.$ac_ext <<_ACEOF
94338 /* confdefs.h. */
94339 _ACEOF
94340 cat confdefs.h >>conftest.$ac_ext
94341 cat >>conftest.$ac_ext <<_ACEOF
94342 /* end confdefs.h. */
94343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94345 #define $ac_func innocuous_$ac_func
94347 /* System header to define __stub macros and hopefully few prototypes,
94348 which can conflict with char $ac_func (); below.
94349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94350 <limits.h> exists even on freestanding compilers. */
94352 #ifdef __STDC__
94353 # include <limits.h>
94354 #else
94355 # include <assert.h>
94356 #endif
94358 #undef $ac_func
94360 /* Override any gcc2 internal prototype to avoid an error. */
94361 #ifdef __cplusplus
94362 extern "C"
94364 #endif
94365 /* We use char because int might match the return type of a gcc2
94366 builtin and then its argument prototype would still apply. */
94367 char $ac_func ();
94368 /* The GNU C library defines this for functions which it implements
94369 to always fail with ENOSYS. Some functions are actually named
94370 something starting with __ and the normal name is an alias. */
94371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94372 choke me
94373 #else
94374 char (*f) () = $ac_func;
94375 #endif
94376 #ifdef __cplusplus
94378 #endif
94381 main ()
94383 return f != $ac_func;
94385 return 0;
94387 _ACEOF
94388 rm -f conftest.$ac_objext conftest$ac_exeext
94389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94390 (eval $ac_link) 2>conftest.er1
94391 ac_status=$?
94392 grep -v '^ *+' conftest.er1 >conftest.err
94393 rm -f conftest.er1
94394 cat conftest.err >&5
94395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94396 (exit $ac_status); } &&
94397 { ac_try='test -z "$ac_c_werror_flag"
94398 || test ! -s conftest.err'
94399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94400 (eval $ac_try) 2>&5
94401 ac_status=$?
94402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94403 (exit $ac_status); }; } &&
94404 { ac_try='test -s conftest$ac_exeext'
94405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94406 (eval $ac_try) 2>&5
94407 ac_status=$?
94408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94409 (exit $ac_status); }; }; then
94410 eval "$as_ac_var=yes"
94411 else
94412 echo "$as_me: failed program was:" >&5
94413 sed 's/^/| /' conftest.$ac_ext >&5
94415 eval "$as_ac_var=no"
94417 rm -f conftest.err conftest.$ac_objext \
94418 conftest$ac_exeext conftest.$ac_ext
94420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94422 if test `eval echo '${'$as_ac_var'}'` = yes; then
94423 cat >>confdefs.h <<_ACEOF
94424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94425 _ACEOF
94428 done
94438 echo "$as_me:$LINENO: checking for modfl declaration" >&5
94439 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
94440 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
94441 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
94442 echo $ECHO_N "(cached) $ECHO_C" >&6
94443 else
94447 ac_ext=cc
94448 ac_cpp='$CXXCPP $CPPFLAGS'
94449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94453 cat >conftest.$ac_ext <<_ACEOF
94454 /* confdefs.h. */
94455 _ACEOF
94456 cat confdefs.h >>conftest.$ac_ext
94457 cat >>conftest.$ac_ext <<_ACEOF
94458 /* end confdefs.h. */
94459 #include <math.h>
94461 main ()
94463 modfl(0, 0);
94465 return 0;
94467 _ACEOF
94468 rm -f conftest.$ac_objext
94469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94470 (eval $ac_compile) 2>conftest.er1
94471 ac_status=$?
94472 grep -v '^ *+' conftest.er1 >conftest.err
94473 rm -f conftest.er1
94474 cat conftest.err >&5
94475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94476 (exit $ac_status); } &&
94477 { ac_try='test -z "$ac_cxx_werror_flag"
94478 || test ! -s conftest.err'
94479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94480 (eval $ac_try) 2>&5
94481 ac_status=$?
94482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94483 (exit $ac_status); }; } &&
94484 { ac_try='test -s conftest.$ac_objext'
94485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94486 (eval $ac_try) 2>&5
94487 ac_status=$?
94488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94489 (exit $ac_status); }; }; then
94490 glibcxx_cv_func_modfl_use=yes
94491 else
94492 echo "$as_me: failed program was:" >&5
94493 sed 's/^/| /' conftest.$ac_ext >&5
94495 glibcxx_cv_func_modfl_use=no
94497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94498 ac_ext=c
94499 ac_cpp='$CPP $CPPFLAGS'
94500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
94509 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
94511 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
94513 for ac_func in modfl
94515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94516 echo "$as_me:$LINENO: checking for $ac_func" >&5
94517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94518 if eval "test \"\${$as_ac_var+set}\" = set"; then
94519 echo $ECHO_N "(cached) $ECHO_C" >&6
94520 else
94521 if test x$gcc_no_link = xyes; then
94522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94524 { (exit 1); exit 1; }; }
94526 cat >conftest.$ac_ext <<_ACEOF
94527 /* confdefs.h. */
94528 _ACEOF
94529 cat confdefs.h >>conftest.$ac_ext
94530 cat >>conftest.$ac_ext <<_ACEOF
94531 /* end confdefs.h. */
94532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94534 #define $ac_func innocuous_$ac_func
94536 /* System header to define __stub macros and hopefully few prototypes,
94537 which can conflict with char $ac_func (); below.
94538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94539 <limits.h> exists even on freestanding compilers. */
94541 #ifdef __STDC__
94542 # include <limits.h>
94543 #else
94544 # include <assert.h>
94545 #endif
94547 #undef $ac_func
94549 /* Override any gcc2 internal prototype to avoid an error. */
94550 #ifdef __cplusplus
94551 extern "C"
94553 #endif
94554 /* We use char because int might match the return type of a gcc2
94555 builtin and then its argument prototype would still apply. */
94556 char $ac_func ();
94557 /* The GNU C library defines this for functions which it implements
94558 to always fail with ENOSYS. Some functions are actually named
94559 something starting with __ and the normal name is an alias. */
94560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94561 choke me
94562 #else
94563 char (*f) () = $ac_func;
94564 #endif
94565 #ifdef __cplusplus
94567 #endif
94570 main ()
94572 return f != $ac_func;
94574 return 0;
94576 _ACEOF
94577 rm -f conftest.$ac_objext conftest$ac_exeext
94578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94579 (eval $ac_link) 2>conftest.er1
94580 ac_status=$?
94581 grep -v '^ *+' conftest.er1 >conftest.err
94582 rm -f conftest.er1
94583 cat conftest.err >&5
94584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94585 (exit $ac_status); } &&
94586 { ac_try='test -z "$ac_c_werror_flag"
94587 || test ! -s conftest.err'
94588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94589 (eval $ac_try) 2>&5
94590 ac_status=$?
94591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94592 (exit $ac_status); }; } &&
94593 { ac_try='test -s conftest$ac_exeext'
94594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94595 (eval $ac_try) 2>&5
94596 ac_status=$?
94597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94598 (exit $ac_status); }; }; then
94599 eval "$as_ac_var=yes"
94600 else
94601 echo "$as_me: failed program was:" >&5
94602 sed 's/^/| /' conftest.$ac_ext >&5
94604 eval "$as_ac_var=no"
94606 rm -f conftest.err conftest.$ac_objext \
94607 conftest$ac_exeext conftest.$ac_ext
94609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94611 if test `eval echo '${'$as_ac_var'}'` = yes; then
94612 cat >>confdefs.h <<_ACEOF
94613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94614 _ACEOF
94617 done
94619 else
94621 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
94622 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
94623 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
94624 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
94625 echo $ECHO_N "(cached) $ECHO_C" >&6
94626 else
94630 ac_ext=cc
94631 ac_cpp='$CXXCPP $CPPFLAGS'
94632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94636 cat >conftest.$ac_ext <<_ACEOF
94637 /* confdefs.h. */
94638 _ACEOF
94639 cat confdefs.h >>conftest.$ac_ext
94640 cat >>conftest.$ac_ext <<_ACEOF
94641 /* end confdefs.h. */
94642 #include <math.h>
94644 main ()
94646 _modfl(0, 0);
94648 return 0;
94650 _ACEOF
94651 rm -f conftest.$ac_objext
94652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94653 (eval $ac_compile) 2>conftest.er1
94654 ac_status=$?
94655 grep -v '^ *+' conftest.er1 >conftest.err
94656 rm -f conftest.er1
94657 cat conftest.err >&5
94658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94659 (exit $ac_status); } &&
94660 { ac_try='test -z "$ac_cxx_werror_flag"
94661 || test ! -s conftest.err'
94662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94663 (eval $ac_try) 2>&5
94664 ac_status=$?
94665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94666 (exit $ac_status); }; } &&
94667 { ac_try='test -s conftest.$ac_objext'
94668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94669 (eval $ac_try) 2>&5
94670 ac_status=$?
94671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94672 (exit $ac_status); }; }; then
94673 glibcxx_cv_func__modfl_use=yes
94674 else
94675 echo "$as_me: failed program was:" >&5
94676 sed 's/^/| /' conftest.$ac_ext >&5
94678 glibcxx_cv_func__modfl_use=no
94680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94681 ac_ext=c
94682 ac_cpp='$CPP $CPPFLAGS'
94683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94691 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
94692 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
94694 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
94696 for ac_func in _modfl
94698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94699 echo "$as_me:$LINENO: checking for $ac_func" >&5
94700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94701 if eval "test \"\${$as_ac_var+set}\" = set"; then
94702 echo $ECHO_N "(cached) $ECHO_C" >&6
94703 else
94704 if test x$gcc_no_link = xyes; then
94705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94707 { (exit 1); exit 1; }; }
94709 cat >conftest.$ac_ext <<_ACEOF
94710 /* confdefs.h. */
94711 _ACEOF
94712 cat confdefs.h >>conftest.$ac_ext
94713 cat >>conftest.$ac_ext <<_ACEOF
94714 /* end confdefs.h. */
94715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94717 #define $ac_func innocuous_$ac_func
94719 /* System header to define __stub macros and hopefully few prototypes,
94720 which can conflict with char $ac_func (); below.
94721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94722 <limits.h> exists even on freestanding compilers. */
94724 #ifdef __STDC__
94725 # include <limits.h>
94726 #else
94727 # include <assert.h>
94728 #endif
94730 #undef $ac_func
94732 /* Override any gcc2 internal prototype to avoid an error. */
94733 #ifdef __cplusplus
94734 extern "C"
94736 #endif
94737 /* We use char because int might match the return type of a gcc2
94738 builtin and then its argument prototype would still apply. */
94739 char $ac_func ();
94740 /* The GNU C library defines this for functions which it implements
94741 to always fail with ENOSYS. Some functions are actually named
94742 something starting with __ and the normal name is an alias. */
94743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94744 choke me
94745 #else
94746 char (*f) () = $ac_func;
94747 #endif
94748 #ifdef __cplusplus
94750 #endif
94753 main ()
94755 return f != $ac_func;
94757 return 0;
94759 _ACEOF
94760 rm -f conftest.$ac_objext conftest$ac_exeext
94761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94762 (eval $ac_link) 2>conftest.er1
94763 ac_status=$?
94764 grep -v '^ *+' conftest.er1 >conftest.err
94765 rm -f conftest.er1
94766 cat conftest.err >&5
94767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94768 (exit $ac_status); } &&
94769 { ac_try='test -z "$ac_c_werror_flag"
94770 || test ! -s conftest.err'
94771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94772 (eval $ac_try) 2>&5
94773 ac_status=$?
94774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94775 (exit $ac_status); }; } &&
94776 { ac_try='test -s conftest$ac_exeext'
94777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94778 (eval $ac_try) 2>&5
94779 ac_status=$?
94780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94781 (exit $ac_status); }; }; then
94782 eval "$as_ac_var=yes"
94783 else
94784 echo "$as_me: failed program was:" >&5
94785 sed 's/^/| /' conftest.$ac_ext >&5
94787 eval "$as_ac_var=no"
94789 rm -f conftest.err conftest.$ac_objext \
94790 conftest$ac_exeext conftest.$ac_ext
94792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94794 if test `eval echo '${'$as_ac_var'}'` = yes; then
94795 cat >>confdefs.h <<_ACEOF
94796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94797 _ACEOF
94800 done
94810 echo "$as_me:$LINENO: checking for powl declaration" >&5
94811 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
94812 if test x${glibcxx_cv_func_powl_use+set} != xset; then
94813 if test "${glibcxx_cv_func_powl_use+set}" = set; then
94814 echo $ECHO_N "(cached) $ECHO_C" >&6
94815 else
94819 ac_ext=cc
94820 ac_cpp='$CXXCPP $CPPFLAGS'
94821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94825 cat >conftest.$ac_ext <<_ACEOF
94826 /* confdefs.h. */
94827 _ACEOF
94828 cat confdefs.h >>conftest.$ac_ext
94829 cat >>conftest.$ac_ext <<_ACEOF
94830 /* end confdefs.h. */
94831 #include <math.h>
94833 main ()
94835 powl(0, 0);
94837 return 0;
94839 _ACEOF
94840 rm -f conftest.$ac_objext
94841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94842 (eval $ac_compile) 2>conftest.er1
94843 ac_status=$?
94844 grep -v '^ *+' conftest.er1 >conftest.err
94845 rm -f conftest.er1
94846 cat conftest.err >&5
94847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94848 (exit $ac_status); } &&
94849 { ac_try='test -z "$ac_cxx_werror_flag"
94850 || test ! -s conftest.err'
94851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94852 (eval $ac_try) 2>&5
94853 ac_status=$?
94854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94855 (exit $ac_status); }; } &&
94856 { ac_try='test -s conftest.$ac_objext'
94857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94858 (eval $ac_try) 2>&5
94859 ac_status=$?
94860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94861 (exit $ac_status); }; }; then
94862 glibcxx_cv_func_powl_use=yes
94863 else
94864 echo "$as_me: failed program was:" >&5
94865 sed 's/^/| /' conftest.$ac_ext >&5
94867 glibcxx_cv_func_powl_use=no
94869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94870 ac_ext=c
94871 ac_cpp='$CPP $CPPFLAGS'
94872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94880 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
94881 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
94883 if test x$glibcxx_cv_func_powl_use = x"yes"; then
94885 for ac_func in powl
94887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94888 echo "$as_me:$LINENO: checking for $ac_func" >&5
94889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94890 if eval "test \"\${$as_ac_var+set}\" = set"; then
94891 echo $ECHO_N "(cached) $ECHO_C" >&6
94892 else
94893 if test x$gcc_no_link = xyes; then
94894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94896 { (exit 1); exit 1; }; }
94898 cat >conftest.$ac_ext <<_ACEOF
94899 /* confdefs.h. */
94900 _ACEOF
94901 cat confdefs.h >>conftest.$ac_ext
94902 cat >>conftest.$ac_ext <<_ACEOF
94903 /* end confdefs.h. */
94904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94906 #define $ac_func innocuous_$ac_func
94908 /* System header to define __stub macros and hopefully few prototypes,
94909 which can conflict with char $ac_func (); below.
94910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94911 <limits.h> exists even on freestanding compilers. */
94913 #ifdef __STDC__
94914 # include <limits.h>
94915 #else
94916 # include <assert.h>
94917 #endif
94919 #undef $ac_func
94921 /* Override any gcc2 internal prototype to avoid an error. */
94922 #ifdef __cplusplus
94923 extern "C"
94925 #endif
94926 /* We use char because int might match the return type of a gcc2
94927 builtin and then its argument prototype would still apply. */
94928 char $ac_func ();
94929 /* The GNU C library defines this for functions which it implements
94930 to always fail with ENOSYS. Some functions are actually named
94931 something starting with __ and the normal name is an alias. */
94932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94933 choke me
94934 #else
94935 char (*f) () = $ac_func;
94936 #endif
94937 #ifdef __cplusplus
94939 #endif
94942 main ()
94944 return f != $ac_func;
94946 return 0;
94948 _ACEOF
94949 rm -f conftest.$ac_objext conftest$ac_exeext
94950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94951 (eval $ac_link) 2>conftest.er1
94952 ac_status=$?
94953 grep -v '^ *+' conftest.er1 >conftest.err
94954 rm -f conftest.er1
94955 cat conftest.err >&5
94956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94957 (exit $ac_status); } &&
94958 { ac_try='test -z "$ac_c_werror_flag"
94959 || test ! -s conftest.err'
94960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94961 (eval $ac_try) 2>&5
94962 ac_status=$?
94963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94964 (exit $ac_status); }; } &&
94965 { ac_try='test -s conftest$ac_exeext'
94966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94967 (eval $ac_try) 2>&5
94968 ac_status=$?
94969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94970 (exit $ac_status); }; }; then
94971 eval "$as_ac_var=yes"
94972 else
94973 echo "$as_me: failed program was:" >&5
94974 sed 's/^/| /' conftest.$ac_ext >&5
94976 eval "$as_ac_var=no"
94978 rm -f conftest.err conftest.$ac_objext \
94979 conftest$ac_exeext conftest.$ac_ext
94981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94983 if test `eval echo '${'$as_ac_var'}'` = yes; then
94984 cat >>confdefs.h <<_ACEOF
94985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94986 _ACEOF
94989 done
94991 else
94993 echo "$as_me:$LINENO: checking for _powl declaration" >&5
94994 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
94995 if test x${glibcxx_cv_func__powl_use+set} != xset; then
94996 if test "${glibcxx_cv_func__powl_use+set}" = set; then
94997 echo $ECHO_N "(cached) $ECHO_C" >&6
94998 else
95002 ac_ext=cc
95003 ac_cpp='$CXXCPP $CPPFLAGS'
95004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95008 cat >conftest.$ac_ext <<_ACEOF
95009 /* confdefs.h. */
95010 _ACEOF
95011 cat confdefs.h >>conftest.$ac_ext
95012 cat >>conftest.$ac_ext <<_ACEOF
95013 /* end confdefs.h. */
95014 #include <math.h>
95016 main ()
95018 _powl(0, 0);
95020 return 0;
95022 _ACEOF
95023 rm -f conftest.$ac_objext
95024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95025 (eval $ac_compile) 2>conftest.er1
95026 ac_status=$?
95027 grep -v '^ *+' conftest.er1 >conftest.err
95028 rm -f conftest.er1
95029 cat conftest.err >&5
95030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95031 (exit $ac_status); } &&
95032 { ac_try='test -z "$ac_cxx_werror_flag"
95033 || test ! -s conftest.err'
95034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95035 (eval $ac_try) 2>&5
95036 ac_status=$?
95037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95038 (exit $ac_status); }; } &&
95039 { ac_try='test -s conftest.$ac_objext'
95040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95041 (eval $ac_try) 2>&5
95042 ac_status=$?
95043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95044 (exit $ac_status); }; }; then
95045 glibcxx_cv_func__powl_use=yes
95046 else
95047 echo "$as_me: failed program was:" >&5
95048 sed 's/^/| /' conftest.$ac_ext >&5
95050 glibcxx_cv_func__powl_use=no
95052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95053 ac_ext=c
95054 ac_cpp='$CPP $CPPFLAGS'
95055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95063 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
95064 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
95066 if test x$glibcxx_cv_func__powl_use = x"yes"; then
95068 for ac_func in _powl
95070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95071 echo "$as_me:$LINENO: checking for $ac_func" >&5
95072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95073 if eval "test \"\${$as_ac_var+set}\" = set"; then
95074 echo $ECHO_N "(cached) $ECHO_C" >&6
95075 else
95076 if test x$gcc_no_link = xyes; then
95077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95079 { (exit 1); exit 1; }; }
95081 cat >conftest.$ac_ext <<_ACEOF
95082 /* confdefs.h. */
95083 _ACEOF
95084 cat confdefs.h >>conftest.$ac_ext
95085 cat >>conftest.$ac_ext <<_ACEOF
95086 /* end confdefs.h. */
95087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95089 #define $ac_func innocuous_$ac_func
95091 /* System header to define __stub macros and hopefully few prototypes,
95092 which can conflict with char $ac_func (); below.
95093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95094 <limits.h> exists even on freestanding compilers. */
95096 #ifdef __STDC__
95097 # include <limits.h>
95098 #else
95099 # include <assert.h>
95100 #endif
95102 #undef $ac_func
95104 /* Override any gcc2 internal prototype to avoid an error. */
95105 #ifdef __cplusplus
95106 extern "C"
95108 #endif
95109 /* We use char because int might match the return type of a gcc2
95110 builtin and then its argument prototype would still apply. */
95111 char $ac_func ();
95112 /* The GNU C library defines this for functions which it implements
95113 to always fail with ENOSYS. Some functions are actually named
95114 something starting with __ and the normal name is an alias. */
95115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95116 choke me
95117 #else
95118 char (*f) () = $ac_func;
95119 #endif
95120 #ifdef __cplusplus
95122 #endif
95125 main ()
95127 return f != $ac_func;
95129 return 0;
95131 _ACEOF
95132 rm -f conftest.$ac_objext conftest$ac_exeext
95133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95134 (eval $ac_link) 2>conftest.er1
95135 ac_status=$?
95136 grep -v '^ *+' conftest.er1 >conftest.err
95137 rm -f conftest.er1
95138 cat conftest.err >&5
95139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95140 (exit $ac_status); } &&
95141 { ac_try='test -z "$ac_c_werror_flag"
95142 || test ! -s conftest.err'
95143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95144 (eval $ac_try) 2>&5
95145 ac_status=$?
95146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95147 (exit $ac_status); }; } &&
95148 { ac_try='test -s conftest$ac_exeext'
95149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95150 (eval $ac_try) 2>&5
95151 ac_status=$?
95152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95153 (exit $ac_status); }; }; then
95154 eval "$as_ac_var=yes"
95155 else
95156 echo "$as_me: failed program was:" >&5
95157 sed 's/^/| /' conftest.$ac_ext >&5
95159 eval "$as_ac_var=no"
95161 rm -f conftest.err conftest.$ac_objext \
95162 conftest$ac_exeext conftest.$ac_ext
95164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95166 if test `eval echo '${'$as_ac_var'}'` = yes; then
95167 cat >>confdefs.h <<_ACEOF
95168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95169 _ACEOF
95172 done
95182 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
95183 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
95184 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
95185 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
95186 echo $ECHO_N "(cached) $ECHO_C" >&6
95187 else
95191 ac_ext=cc
95192 ac_cpp='$CXXCPP $CPPFLAGS'
95193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95197 cat >conftest.$ac_ext <<_ACEOF
95198 /* confdefs.h. */
95199 _ACEOF
95200 cat confdefs.h >>conftest.$ac_ext
95201 cat >>conftest.$ac_ext <<_ACEOF
95202 /* end confdefs.h. */
95203 #include <math.h>
95204 #ifdef HAVE_IEEEFP_H
95205 #include <ieeefp.h>
95206 #endif
95209 main ()
95211 sqrtl(0);
95213 return 0;
95215 _ACEOF
95216 rm -f conftest.$ac_objext
95217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95218 (eval $ac_compile) 2>conftest.er1
95219 ac_status=$?
95220 grep -v '^ *+' conftest.er1 >conftest.err
95221 rm -f conftest.er1
95222 cat conftest.err >&5
95223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95224 (exit $ac_status); } &&
95225 { ac_try='test -z "$ac_cxx_werror_flag"
95226 || test ! -s conftest.err'
95227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95228 (eval $ac_try) 2>&5
95229 ac_status=$?
95230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95231 (exit $ac_status); }; } &&
95232 { ac_try='test -s conftest.$ac_objext'
95233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95234 (eval $ac_try) 2>&5
95235 ac_status=$?
95236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95237 (exit $ac_status); }; }; then
95238 glibcxx_cv_func_sqrtl_use=yes
95239 else
95240 echo "$as_me: failed program was:" >&5
95241 sed 's/^/| /' conftest.$ac_ext >&5
95243 glibcxx_cv_func_sqrtl_use=no
95245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95246 ac_ext=c
95247 ac_cpp='$CPP $CPPFLAGS'
95248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95256 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
95257 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
95259 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
95261 for ac_func in sqrtl
95263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95264 echo "$as_me:$LINENO: checking for $ac_func" >&5
95265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95266 if eval "test \"\${$as_ac_var+set}\" = set"; then
95267 echo $ECHO_N "(cached) $ECHO_C" >&6
95268 else
95269 if test x$gcc_no_link = xyes; then
95270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95272 { (exit 1); exit 1; }; }
95274 cat >conftest.$ac_ext <<_ACEOF
95275 /* confdefs.h. */
95276 _ACEOF
95277 cat confdefs.h >>conftest.$ac_ext
95278 cat >>conftest.$ac_ext <<_ACEOF
95279 /* end confdefs.h. */
95280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95282 #define $ac_func innocuous_$ac_func
95284 /* System header to define __stub macros and hopefully few prototypes,
95285 which can conflict with char $ac_func (); below.
95286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95287 <limits.h> exists even on freestanding compilers. */
95289 #ifdef __STDC__
95290 # include <limits.h>
95291 #else
95292 # include <assert.h>
95293 #endif
95295 #undef $ac_func
95297 /* Override any gcc2 internal prototype to avoid an error. */
95298 #ifdef __cplusplus
95299 extern "C"
95301 #endif
95302 /* We use char because int might match the return type of a gcc2
95303 builtin and then its argument prototype would still apply. */
95304 char $ac_func ();
95305 /* The GNU C library defines this for functions which it implements
95306 to always fail with ENOSYS. Some functions are actually named
95307 something starting with __ and the normal name is an alias. */
95308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95309 choke me
95310 #else
95311 char (*f) () = $ac_func;
95312 #endif
95313 #ifdef __cplusplus
95315 #endif
95318 main ()
95320 return f != $ac_func;
95322 return 0;
95324 _ACEOF
95325 rm -f conftest.$ac_objext conftest$ac_exeext
95326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95327 (eval $ac_link) 2>conftest.er1
95328 ac_status=$?
95329 grep -v '^ *+' conftest.er1 >conftest.err
95330 rm -f conftest.er1
95331 cat conftest.err >&5
95332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95333 (exit $ac_status); } &&
95334 { ac_try='test -z "$ac_c_werror_flag"
95335 || test ! -s conftest.err'
95336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95337 (eval $ac_try) 2>&5
95338 ac_status=$?
95339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95340 (exit $ac_status); }; } &&
95341 { ac_try='test -s conftest$ac_exeext'
95342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95343 (eval $ac_try) 2>&5
95344 ac_status=$?
95345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95346 (exit $ac_status); }; }; then
95347 eval "$as_ac_var=yes"
95348 else
95349 echo "$as_me: failed program was:" >&5
95350 sed 's/^/| /' conftest.$ac_ext >&5
95352 eval "$as_ac_var=no"
95354 rm -f conftest.err conftest.$ac_objext \
95355 conftest$ac_exeext conftest.$ac_ext
95357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95359 if test `eval echo '${'$as_ac_var'}'` = yes; then
95360 cat >>confdefs.h <<_ACEOF
95361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95362 _ACEOF
95365 done
95367 else
95369 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
95370 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
95371 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
95372 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
95373 echo $ECHO_N "(cached) $ECHO_C" >&6
95374 else
95378 ac_ext=cc
95379 ac_cpp='$CXXCPP $CPPFLAGS'
95380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95384 cat >conftest.$ac_ext <<_ACEOF
95385 /* confdefs.h. */
95386 _ACEOF
95387 cat confdefs.h >>conftest.$ac_ext
95388 cat >>conftest.$ac_ext <<_ACEOF
95389 /* end confdefs.h. */
95390 #include <math.h>
95391 #ifdef HAVE_IEEEFP_H
95392 #include <ieeefp.h>
95393 #endif
95396 main ()
95398 _sqrtl(0);
95400 return 0;
95402 _ACEOF
95403 rm -f conftest.$ac_objext
95404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95405 (eval $ac_compile) 2>conftest.er1
95406 ac_status=$?
95407 grep -v '^ *+' conftest.er1 >conftest.err
95408 rm -f conftest.er1
95409 cat conftest.err >&5
95410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95411 (exit $ac_status); } &&
95412 { ac_try='test -z "$ac_cxx_werror_flag"
95413 || test ! -s conftest.err'
95414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95415 (eval $ac_try) 2>&5
95416 ac_status=$?
95417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95418 (exit $ac_status); }; } &&
95419 { ac_try='test -s conftest.$ac_objext'
95420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95421 (eval $ac_try) 2>&5
95422 ac_status=$?
95423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95424 (exit $ac_status); }; }; then
95425 glibcxx_cv_func__sqrtl_use=yes
95426 else
95427 echo "$as_me: failed program was:" >&5
95428 sed 's/^/| /' conftest.$ac_ext >&5
95430 glibcxx_cv_func__sqrtl_use=no
95432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95433 ac_ext=c
95434 ac_cpp='$CPP $CPPFLAGS'
95435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
95444 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
95446 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
95448 for ac_func in _sqrtl
95450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95451 echo "$as_me:$LINENO: checking for $ac_func" >&5
95452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95453 if eval "test \"\${$as_ac_var+set}\" = set"; then
95454 echo $ECHO_N "(cached) $ECHO_C" >&6
95455 else
95456 if test x$gcc_no_link = xyes; then
95457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95459 { (exit 1); exit 1; }; }
95461 cat >conftest.$ac_ext <<_ACEOF
95462 /* confdefs.h. */
95463 _ACEOF
95464 cat confdefs.h >>conftest.$ac_ext
95465 cat >>conftest.$ac_ext <<_ACEOF
95466 /* end confdefs.h. */
95467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95469 #define $ac_func innocuous_$ac_func
95471 /* System header to define __stub macros and hopefully few prototypes,
95472 which can conflict with char $ac_func (); below.
95473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95474 <limits.h> exists even on freestanding compilers. */
95476 #ifdef __STDC__
95477 # include <limits.h>
95478 #else
95479 # include <assert.h>
95480 #endif
95482 #undef $ac_func
95484 /* Override any gcc2 internal prototype to avoid an error. */
95485 #ifdef __cplusplus
95486 extern "C"
95488 #endif
95489 /* We use char because int might match the return type of a gcc2
95490 builtin and then its argument prototype would still apply. */
95491 char $ac_func ();
95492 /* The GNU C library defines this for functions which it implements
95493 to always fail with ENOSYS. Some functions are actually named
95494 something starting with __ and the normal name is an alias. */
95495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95496 choke me
95497 #else
95498 char (*f) () = $ac_func;
95499 #endif
95500 #ifdef __cplusplus
95502 #endif
95505 main ()
95507 return f != $ac_func;
95509 return 0;
95511 _ACEOF
95512 rm -f conftest.$ac_objext conftest$ac_exeext
95513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95514 (eval $ac_link) 2>conftest.er1
95515 ac_status=$?
95516 grep -v '^ *+' conftest.er1 >conftest.err
95517 rm -f conftest.er1
95518 cat conftest.err >&5
95519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95520 (exit $ac_status); } &&
95521 { ac_try='test -z "$ac_c_werror_flag"
95522 || test ! -s conftest.err'
95523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95524 (eval $ac_try) 2>&5
95525 ac_status=$?
95526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95527 (exit $ac_status); }; } &&
95528 { ac_try='test -s conftest$ac_exeext'
95529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95530 (eval $ac_try) 2>&5
95531 ac_status=$?
95532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95533 (exit $ac_status); }; }; then
95534 eval "$as_ac_var=yes"
95535 else
95536 echo "$as_me: failed program was:" >&5
95537 sed 's/^/| /' conftest.$ac_ext >&5
95539 eval "$as_ac_var=no"
95541 rm -f conftest.err conftest.$ac_objext \
95542 conftest$ac_exeext conftest.$ac_ext
95544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95546 if test `eval echo '${'$as_ac_var'}'` = yes; then
95547 cat >>confdefs.h <<_ACEOF
95548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95549 _ACEOF
95552 done
95562 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
95563 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
95564 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
95565 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
95566 echo $ECHO_N "(cached) $ECHO_C" >&6
95567 else
95571 ac_ext=cc
95572 ac_cpp='$CXXCPP $CPPFLAGS'
95573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95577 cat >conftest.$ac_ext <<_ACEOF
95578 /* confdefs.h. */
95579 _ACEOF
95580 cat confdefs.h >>conftest.$ac_ext
95581 cat >>conftest.$ac_ext <<_ACEOF
95582 /* end confdefs.h. */
95583 #include <math.h>
95585 main ()
95587 sincosl(0, 0, 0);
95589 return 0;
95591 _ACEOF
95592 rm -f conftest.$ac_objext
95593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95594 (eval $ac_compile) 2>conftest.er1
95595 ac_status=$?
95596 grep -v '^ *+' conftest.er1 >conftest.err
95597 rm -f conftest.er1
95598 cat conftest.err >&5
95599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95600 (exit $ac_status); } &&
95601 { ac_try='test -z "$ac_cxx_werror_flag"
95602 || test ! -s conftest.err'
95603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95604 (eval $ac_try) 2>&5
95605 ac_status=$?
95606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95607 (exit $ac_status); }; } &&
95608 { ac_try='test -s conftest.$ac_objext'
95609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95610 (eval $ac_try) 2>&5
95611 ac_status=$?
95612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95613 (exit $ac_status); }; }; then
95614 glibcxx_cv_func_sincosl_use=yes
95615 else
95616 echo "$as_me: failed program was:" >&5
95617 sed 's/^/| /' conftest.$ac_ext >&5
95619 glibcxx_cv_func_sincosl_use=no
95621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95622 ac_ext=c
95623 ac_cpp='$CPP $CPPFLAGS'
95624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95632 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
95633 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
95635 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
95637 for ac_func in sincosl
95639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95640 echo "$as_me:$LINENO: checking for $ac_func" >&5
95641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95642 if eval "test \"\${$as_ac_var+set}\" = set"; then
95643 echo $ECHO_N "(cached) $ECHO_C" >&6
95644 else
95645 if test x$gcc_no_link = xyes; then
95646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95648 { (exit 1); exit 1; }; }
95650 cat >conftest.$ac_ext <<_ACEOF
95651 /* confdefs.h. */
95652 _ACEOF
95653 cat confdefs.h >>conftest.$ac_ext
95654 cat >>conftest.$ac_ext <<_ACEOF
95655 /* end confdefs.h. */
95656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95658 #define $ac_func innocuous_$ac_func
95660 /* System header to define __stub macros and hopefully few prototypes,
95661 which can conflict with char $ac_func (); below.
95662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95663 <limits.h> exists even on freestanding compilers. */
95665 #ifdef __STDC__
95666 # include <limits.h>
95667 #else
95668 # include <assert.h>
95669 #endif
95671 #undef $ac_func
95673 /* Override any gcc2 internal prototype to avoid an error. */
95674 #ifdef __cplusplus
95675 extern "C"
95677 #endif
95678 /* We use char because int might match the return type of a gcc2
95679 builtin and then its argument prototype would still apply. */
95680 char $ac_func ();
95681 /* The GNU C library defines this for functions which it implements
95682 to always fail with ENOSYS. Some functions are actually named
95683 something starting with __ and the normal name is an alias. */
95684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95685 choke me
95686 #else
95687 char (*f) () = $ac_func;
95688 #endif
95689 #ifdef __cplusplus
95691 #endif
95694 main ()
95696 return f != $ac_func;
95698 return 0;
95700 _ACEOF
95701 rm -f conftest.$ac_objext conftest$ac_exeext
95702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95703 (eval $ac_link) 2>conftest.er1
95704 ac_status=$?
95705 grep -v '^ *+' conftest.er1 >conftest.err
95706 rm -f conftest.er1
95707 cat conftest.err >&5
95708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95709 (exit $ac_status); } &&
95710 { ac_try='test -z "$ac_c_werror_flag"
95711 || test ! -s conftest.err'
95712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95713 (eval $ac_try) 2>&5
95714 ac_status=$?
95715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95716 (exit $ac_status); }; } &&
95717 { ac_try='test -s conftest$ac_exeext'
95718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95719 (eval $ac_try) 2>&5
95720 ac_status=$?
95721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95722 (exit $ac_status); }; }; then
95723 eval "$as_ac_var=yes"
95724 else
95725 echo "$as_me: failed program was:" >&5
95726 sed 's/^/| /' conftest.$ac_ext >&5
95728 eval "$as_ac_var=no"
95730 rm -f conftest.err conftest.$ac_objext \
95731 conftest$ac_exeext conftest.$ac_ext
95733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95735 if test `eval echo '${'$as_ac_var'}'` = yes; then
95736 cat >>confdefs.h <<_ACEOF
95737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95738 _ACEOF
95741 done
95743 else
95745 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
95746 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
95747 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
95748 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
95749 echo $ECHO_N "(cached) $ECHO_C" >&6
95750 else
95754 ac_ext=cc
95755 ac_cpp='$CXXCPP $CPPFLAGS'
95756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95760 cat >conftest.$ac_ext <<_ACEOF
95761 /* confdefs.h. */
95762 _ACEOF
95763 cat confdefs.h >>conftest.$ac_ext
95764 cat >>conftest.$ac_ext <<_ACEOF
95765 /* end confdefs.h. */
95766 #include <math.h>
95768 main ()
95770 _sincosl(0, 0, 0);
95772 return 0;
95774 _ACEOF
95775 rm -f conftest.$ac_objext
95776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95777 (eval $ac_compile) 2>conftest.er1
95778 ac_status=$?
95779 grep -v '^ *+' conftest.er1 >conftest.err
95780 rm -f conftest.er1
95781 cat conftest.err >&5
95782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95783 (exit $ac_status); } &&
95784 { ac_try='test -z "$ac_cxx_werror_flag"
95785 || test ! -s conftest.err'
95786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95787 (eval $ac_try) 2>&5
95788 ac_status=$?
95789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95790 (exit $ac_status); }; } &&
95791 { ac_try='test -s conftest.$ac_objext'
95792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95793 (eval $ac_try) 2>&5
95794 ac_status=$?
95795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95796 (exit $ac_status); }; }; then
95797 glibcxx_cv_func__sincosl_use=yes
95798 else
95799 echo "$as_me: failed program was:" >&5
95800 sed 's/^/| /' conftest.$ac_ext >&5
95802 glibcxx_cv_func__sincosl_use=no
95804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95805 ac_ext=c
95806 ac_cpp='$CPP $CPPFLAGS'
95807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95815 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
95816 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
95818 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
95820 for ac_func in _sincosl
95822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95823 echo "$as_me:$LINENO: checking for $ac_func" >&5
95824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95825 if eval "test \"\${$as_ac_var+set}\" = set"; then
95826 echo $ECHO_N "(cached) $ECHO_C" >&6
95827 else
95828 if test x$gcc_no_link = xyes; then
95829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95831 { (exit 1); exit 1; }; }
95833 cat >conftest.$ac_ext <<_ACEOF
95834 /* confdefs.h. */
95835 _ACEOF
95836 cat confdefs.h >>conftest.$ac_ext
95837 cat >>conftest.$ac_ext <<_ACEOF
95838 /* end confdefs.h. */
95839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95841 #define $ac_func innocuous_$ac_func
95843 /* System header to define __stub macros and hopefully few prototypes,
95844 which can conflict with char $ac_func (); below.
95845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95846 <limits.h> exists even on freestanding compilers. */
95848 #ifdef __STDC__
95849 # include <limits.h>
95850 #else
95851 # include <assert.h>
95852 #endif
95854 #undef $ac_func
95856 /* Override any gcc2 internal prototype to avoid an error. */
95857 #ifdef __cplusplus
95858 extern "C"
95860 #endif
95861 /* We use char because int might match the return type of a gcc2
95862 builtin and then its argument prototype would still apply. */
95863 char $ac_func ();
95864 /* The GNU C library defines this for functions which it implements
95865 to always fail with ENOSYS. Some functions are actually named
95866 something starting with __ and the normal name is an alias. */
95867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95868 choke me
95869 #else
95870 char (*f) () = $ac_func;
95871 #endif
95872 #ifdef __cplusplus
95874 #endif
95877 main ()
95879 return f != $ac_func;
95881 return 0;
95883 _ACEOF
95884 rm -f conftest.$ac_objext conftest$ac_exeext
95885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95886 (eval $ac_link) 2>conftest.er1
95887 ac_status=$?
95888 grep -v '^ *+' conftest.er1 >conftest.err
95889 rm -f conftest.er1
95890 cat conftest.err >&5
95891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95892 (exit $ac_status); } &&
95893 { ac_try='test -z "$ac_c_werror_flag"
95894 || test ! -s conftest.err'
95895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95896 (eval $ac_try) 2>&5
95897 ac_status=$?
95898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95899 (exit $ac_status); }; } &&
95900 { ac_try='test -s conftest$ac_exeext'
95901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95902 (eval $ac_try) 2>&5
95903 ac_status=$?
95904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95905 (exit $ac_status); }; }; then
95906 eval "$as_ac_var=yes"
95907 else
95908 echo "$as_me: failed program was:" >&5
95909 sed 's/^/| /' conftest.$ac_ext >&5
95911 eval "$as_ac_var=no"
95913 rm -f conftest.err conftest.$ac_objext \
95914 conftest$ac_exeext conftest.$ac_ext
95916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95918 if test `eval echo '${'$as_ac_var'}'` = yes; then
95919 cat >>confdefs.h <<_ACEOF
95920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95921 _ACEOF
95924 done
95934 echo "$as_me:$LINENO: checking for finitel declaration" >&5
95935 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
95936 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
95937 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
95938 echo $ECHO_N "(cached) $ECHO_C" >&6
95939 else
95943 ac_ext=cc
95944 ac_cpp='$CXXCPP $CPPFLAGS'
95945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95949 cat >conftest.$ac_ext <<_ACEOF
95950 /* confdefs.h. */
95951 _ACEOF
95952 cat confdefs.h >>conftest.$ac_ext
95953 cat >>conftest.$ac_ext <<_ACEOF
95954 /* end confdefs.h. */
95955 #include <math.h>
95956 #ifdef HAVE_IEEEFP_H
95957 #include <ieeefp.h>
95958 #endif
95961 main ()
95963 finitel(0);
95965 return 0;
95967 _ACEOF
95968 rm -f conftest.$ac_objext
95969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95970 (eval $ac_compile) 2>conftest.er1
95971 ac_status=$?
95972 grep -v '^ *+' conftest.er1 >conftest.err
95973 rm -f conftest.er1
95974 cat conftest.err >&5
95975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95976 (exit $ac_status); } &&
95977 { ac_try='test -z "$ac_cxx_werror_flag"
95978 || test ! -s conftest.err'
95979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95980 (eval $ac_try) 2>&5
95981 ac_status=$?
95982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95983 (exit $ac_status); }; } &&
95984 { ac_try='test -s conftest.$ac_objext'
95985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95986 (eval $ac_try) 2>&5
95987 ac_status=$?
95988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95989 (exit $ac_status); }; }; then
95990 glibcxx_cv_func_finitel_use=yes
95991 else
95992 echo "$as_me: failed program was:" >&5
95993 sed 's/^/| /' conftest.$ac_ext >&5
95995 glibcxx_cv_func_finitel_use=no
95997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95998 ac_ext=c
95999 ac_cpp='$CPP $CPPFLAGS'
96000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
96009 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
96011 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
96013 for ac_func in finitel
96015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96016 echo "$as_me:$LINENO: checking for $ac_func" >&5
96017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96018 if eval "test \"\${$as_ac_var+set}\" = set"; then
96019 echo $ECHO_N "(cached) $ECHO_C" >&6
96020 else
96021 if test x$gcc_no_link = xyes; then
96022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96024 { (exit 1); exit 1; }; }
96026 cat >conftest.$ac_ext <<_ACEOF
96027 /* confdefs.h. */
96028 _ACEOF
96029 cat confdefs.h >>conftest.$ac_ext
96030 cat >>conftest.$ac_ext <<_ACEOF
96031 /* end confdefs.h. */
96032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96034 #define $ac_func innocuous_$ac_func
96036 /* System header to define __stub macros and hopefully few prototypes,
96037 which can conflict with char $ac_func (); below.
96038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96039 <limits.h> exists even on freestanding compilers. */
96041 #ifdef __STDC__
96042 # include <limits.h>
96043 #else
96044 # include <assert.h>
96045 #endif
96047 #undef $ac_func
96049 /* Override any gcc2 internal prototype to avoid an error. */
96050 #ifdef __cplusplus
96051 extern "C"
96053 #endif
96054 /* We use char because int might match the return type of a gcc2
96055 builtin and then its argument prototype would still apply. */
96056 char $ac_func ();
96057 /* The GNU C library defines this for functions which it implements
96058 to always fail with ENOSYS. Some functions are actually named
96059 something starting with __ and the normal name is an alias. */
96060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96061 choke me
96062 #else
96063 char (*f) () = $ac_func;
96064 #endif
96065 #ifdef __cplusplus
96067 #endif
96070 main ()
96072 return f != $ac_func;
96074 return 0;
96076 _ACEOF
96077 rm -f conftest.$ac_objext conftest$ac_exeext
96078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96079 (eval $ac_link) 2>conftest.er1
96080 ac_status=$?
96081 grep -v '^ *+' conftest.er1 >conftest.err
96082 rm -f conftest.er1
96083 cat conftest.err >&5
96084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96085 (exit $ac_status); } &&
96086 { ac_try='test -z "$ac_c_werror_flag"
96087 || test ! -s conftest.err'
96088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96089 (eval $ac_try) 2>&5
96090 ac_status=$?
96091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96092 (exit $ac_status); }; } &&
96093 { ac_try='test -s conftest$ac_exeext'
96094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96095 (eval $ac_try) 2>&5
96096 ac_status=$?
96097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96098 (exit $ac_status); }; }; then
96099 eval "$as_ac_var=yes"
96100 else
96101 echo "$as_me: failed program was:" >&5
96102 sed 's/^/| /' conftest.$ac_ext >&5
96104 eval "$as_ac_var=no"
96106 rm -f conftest.err conftest.$ac_objext \
96107 conftest$ac_exeext conftest.$ac_ext
96109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96111 if test `eval echo '${'$as_ac_var'}'` = yes; then
96112 cat >>confdefs.h <<_ACEOF
96113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96114 _ACEOF
96117 done
96119 else
96121 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
96122 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
96123 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
96124 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
96125 echo $ECHO_N "(cached) $ECHO_C" >&6
96126 else
96130 ac_ext=cc
96131 ac_cpp='$CXXCPP $CPPFLAGS'
96132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96136 cat >conftest.$ac_ext <<_ACEOF
96137 /* confdefs.h. */
96138 _ACEOF
96139 cat confdefs.h >>conftest.$ac_ext
96140 cat >>conftest.$ac_ext <<_ACEOF
96141 /* end confdefs.h. */
96142 #include <math.h>
96143 #ifdef HAVE_IEEEFP_H
96144 #include <ieeefp.h>
96145 #endif
96148 main ()
96150 _finitel(0);
96152 return 0;
96154 _ACEOF
96155 rm -f conftest.$ac_objext
96156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96157 (eval $ac_compile) 2>conftest.er1
96158 ac_status=$?
96159 grep -v '^ *+' conftest.er1 >conftest.err
96160 rm -f conftest.er1
96161 cat conftest.err >&5
96162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96163 (exit $ac_status); } &&
96164 { ac_try='test -z "$ac_cxx_werror_flag"
96165 || test ! -s conftest.err'
96166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96167 (eval $ac_try) 2>&5
96168 ac_status=$?
96169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96170 (exit $ac_status); }; } &&
96171 { ac_try='test -s conftest.$ac_objext'
96172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96173 (eval $ac_try) 2>&5
96174 ac_status=$?
96175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96176 (exit $ac_status); }; }; then
96177 glibcxx_cv_func__finitel_use=yes
96178 else
96179 echo "$as_me: failed program was:" >&5
96180 sed 's/^/| /' conftest.$ac_ext >&5
96182 glibcxx_cv_func__finitel_use=no
96184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96185 ac_ext=c
96186 ac_cpp='$CPP $CPPFLAGS'
96187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96195 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
96196 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
96198 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
96200 for ac_func in _finitel
96202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96203 echo "$as_me:$LINENO: checking for $ac_func" >&5
96204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96205 if eval "test \"\${$as_ac_var+set}\" = set"; then
96206 echo $ECHO_N "(cached) $ECHO_C" >&6
96207 else
96208 if test x$gcc_no_link = xyes; then
96209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96211 { (exit 1); exit 1; }; }
96213 cat >conftest.$ac_ext <<_ACEOF
96214 /* confdefs.h. */
96215 _ACEOF
96216 cat confdefs.h >>conftest.$ac_ext
96217 cat >>conftest.$ac_ext <<_ACEOF
96218 /* end confdefs.h. */
96219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96221 #define $ac_func innocuous_$ac_func
96223 /* System header to define __stub macros and hopefully few prototypes,
96224 which can conflict with char $ac_func (); below.
96225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96226 <limits.h> exists even on freestanding compilers. */
96228 #ifdef __STDC__
96229 # include <limits.h>
96230 #else
96231 # include <assert.h>
96232 #endif
96234 #undef $ac_func
96236 /* Override any gcc2 internal prototype to avoid an error. */
96237 #ifdef __cplusplus
96238 extern "C"
96240 #endif
96241 /* We use char because int might match the return type of a gcc2
96242 builtin and then its argument prototype would still apply. */
96243 char $ac_func ();
96244 /* The GNU C library defines this for functions which it implements
96245 to always fail with ENOSYS. Some functions are actually named
96246 something starting with __ and the normal name is an alias. */
96247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96248 choke me
96249 #else
96250 char (*f) () = $ac_func;
96251 #endif
96252 #ifdef __cplusplus
96254 #endif
96257 main ()
96259 return f != $ac_func;
96261 return 0;
96263 _ACEOF
96264 rm -f conftest.$ac_objext conftest$ac_exeext
96265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96266 (eval $ac_link) 2>conftest.er1
96267 ac_status=$?
96268 grep -v '^ *+' conftest.er1 >conftest.err
96269 rm -f conftest.er1
96270 cat conftest.err >&5
96271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96272 (exit $ac_status); } &&
96273 { ac_try='test -z "$ac_c_werror_flag"
96274 || test ! -s conftest.err'
96275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96276 (eval $ac_try) 2>&5
96277 ac_status=$?
96278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96279 (exit $ac_status); }; } &&
96280 { ac_try='test -s conftest$ac_exeext'
96281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96282 (eval $ac_try) 2>&5
96283 ac_status=$?
96284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96285 (exit $ac_status); }; }; then
96286 eval "$as_ac_var=yes"
96287 else
96288 echo "$as_me: failed program was:" >&5
96289 sed 's/^/| /' conftest.$ac_ext >&5
96291 eval "$as_ac_var=no"
96293 rm -f conftest.err conftest.$ac_objext \
96294 conftest$ac_exeext conftest.$ac_ext
96296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96298 if test `eval echo '${'$as_ac_var'}'` = yes; then
96299 cat >>confdefs.h <<_ACEOF
96300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96301 _ACEOF
96304 done
96313 LIBS="$ac_save_LIBS"
96314 CXXFLAGS="$ac_save_CXXFLAGS"
96318 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
96319 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
96320 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
96321 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
96322 echo $ECHO_N "(cached) $ECHO_C" >&6
96323 else
96327 ac_ext=cc
96328 ac_cpp='$CXXCPP $CPPFLAGS'
96329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96333 cat >conftest.$ac_ext <<_ACEOF
96334 /* confdefs.h. */
96335 _ACEOF
96336 cat confdefs.h >>conftest.$ac_ext
96337 cat >>conftest.$ac_ext <<_ACEOF
96338 /* end confdefs.h. */
96339 #include <math.h>
96341 main ()
96343 __builtin_abs(0);
96345 return 0;
96347 _ACEOF
96348 rm -f conftest.$ac_objext
96349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96350 (eval $ac_compile) 2>conftest.er1
96351 ac_status=$?
96352 grep -v '^ *+' conftest.er1 >conftest.err
96353 rm -f conftest.er1
96354 cat conftest.err >&5
96355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96356 (exit $ac_status); } &&
96357 { ac_try='test -z "$ac_cxx_werror_flag"
96358 || test ! -s conftest.err'
96359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96360 (eval $ac_try) 2>&5
96361 ac_status=$?
96362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96363 (exit $ac_status); }; } &&
96364 { ac_try='test -s conftest.$ac_objext'
96365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96366 (eval $ac_try) 2>&5
96367 ac_status=$?
96368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96369 (exit $ac_status); }; }; then
96370 glibcxx_cv_func___builtin_abs_use=yes
96371 else
96372 echo "$as_me: failed program was:" >&5
96373 sed 's/^/| /' conftest.$ac_ext >&5
96375 glibcxx_cv_func___builtin_abs_use=no
96377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96378 ac_ext=c
96379 ac_cpp='$CPP $CPPFLAGS'
96380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96388 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
96389 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
96390 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
96391 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
96392 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
96393 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
96394 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
96395 echo $ECHO_N "(cached) $ECHO_C" >&6
96396 else
96398 if test x$gcc_no_link = xyes; then
96399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96401 { (exit 1); exit 1; }; }
96403 cat >conftest.$ac_ext <<_ACEOF
96404 /* confdefs.h. */
96405 _ACEOF
96406 cat confdefs.h >>conftest.$ac_ext
96407 cat >>conftest.$ac_ext <<_ACEOF
96408 /* end confdefs.h. */
96409 #include <math.h>
96411 main ()
96413 __builtin_abs(0);
96415 return 0;
96417 _ACEOF
96418 rm -f conftest.$ac_objext conftest$ac_exeext
96419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96420 (eval $ac_link) 2>conftest.er1
96421 ac_status=$?
96422 grep -v '^ *+' conftest.er1 >conftest.err
96423 rm -f conftest.er1
96424 cat conftest.err >&5
96425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96426 (exit $ac_status); } &&
96427 { ac_try='test -z "$ac_c_werror_flag"
96428 || test ! -s conftest.err'
96429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96430 (eval $ac_try) 2>&5
96431 ac_status=$?
96432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96433 (exit $ac_status); }; } &&
96434 { ac_try='test -s conftest$ac_exeext'
96435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96436 (eval $ac_try) 2>&5
96437 ac_status=$?
96438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96439 (exit $ac_status); }; }; then
96440 glibcxx_cv_func___builtin_abs_link=yes
96441 else
96442 echo "$as_me: failed program was:" >&5
96443 sed 's/^/| /' conftest.$ac_ext >&5
96445 glibcxx_cv_func___builtin_abs_link=no
96447 rm -f conftest.err conftest.$ac_objext \
96448 conftest$ac_exeext conftest.$ac_ext
96453 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
96454 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
96456 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
96458 cat >>confdefs.h <<\_ACEOF
96459 #define HAVE___BUILTIN_ABS 1
96460 _ACEOF
96467 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
96468 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
96469 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
96470 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
96471 echo $ECHO_N "(cached) $ECHO_C" >&6
96472 else
96476 ac_ext=cc
96477 ac_cpp='$CXXCPP $CPPFLAGS'
96478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96482 cat >conftest.$ac_ext <<_ACEOF
96483 /* confdefs.h. */
96484 _ACEOF
96485 cat confdefs.h >>conftest.$ac_ext
96486 cat >>conftest.$ac_ext <<_ACEOF
96487 /* end confdefs.h. */
96488 #include <math.h>
96490 main ()
96492 __builtin_fabsf(0);
96494 return 0;
96496 _ACEOF
96497 rm -f conftest.$ac_objext
96498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96499 (eval $ac_compile) 2>conftest.er1
96500 ac_status=$?
96501 grep -v '^ *+' conftest.er1 >conftest.err
96502 rm -f conftest.er1
96503 cat conftest.err >&5
96504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96505 (exit $ac_status); } &&
96506 { ac_try='test -z "$ac_cxx_werror_flag"
96507 || test ! -s conftest.err'
96508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96509 (eval $ac_try) 2>&5
96510 ac_status=$?
96511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96512 (exit $ac_status); }; } &&
96513 { ac_try='test -s conftest.$ac_objext'
96514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96515 (eval $ac_try) 2>&5
96516 ac_status=$?
96517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96518 (exit $ac_status); }; }; then
96519 glibcxx_cv_func___builtin_fabsf_use=yes
96520 else
96521 echo "$as_me: failed program was:" >&5
96522 sed 's/^/| /' conftest.$ac_ext >&5
96524 glibcxx_cv_func___builtin_fabsf_use=no
96526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96527 ac_ext=c
96528 ac_cpp='$CPP $CPPFLAGS'
96529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96537 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
96538 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
96539 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
96540 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
96541 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
96542 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
96543 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
96544 echo $ECHO_N "(cached) $ECHO_C" >&6
96545 else
96547 if test x$gcc_no_link = xyes; then
96548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96550 { (exit 1); exit 1; }; }
96552 cat >conftest.$ac_ext <<_ACEOF
96553 /* confdefs.h. */
96554 _ACEOF
96555 cat confdefs.h >>conftest.$ac_ext
96556 cat >>conftest.$ac_ext <<_ACEOF
96557 /* end confdefs.h. */
96558 #include <math.h>
96560 main ()
96562 __builtin_fabsf(0);
96564 return 0;
96566 _ACEOF
96567 rm -f conftest.$ac_objext conftest$ac_exeext
96568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96569 (eval $ac_link) 2>conftest.er1
96570 ac_status=$?
96571 grep -v '^ *+' conftest.er1 >conftest.err
96572 rm -f conftest.er1
96573 cat conftest.err >&5
96574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96575 (exit $ac_status); } &&
96576 { ac_try='test -z "$ac_c_werror_flag"
96577 || test ! -s conftest.err'
96578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96579 (eval $ac_try) 2>&5
96580 ac_status=$?
96581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96582 (exit $ac_status); }; } &&
96583 { ac_try='test -s conftest$ac_exeext'
96584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96585 (eval $ac_try) 2>&5
96586 ac_status=$?
96587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96588 (exit $ac_status); }; }; then
96589 glibcxx_cv_func___builtin_fabsf_link=yes
96590 else
96591 echo "$as_me: failed program was:" >&5
96592 sed 's/^/| /' conftest.$ac_ext >&5
96594 glibcxx_cv_func___builtin_fabsf_link=no
96596 rm -f conftest.err conftest.$ac_objext \
96597 conftest$ac_exeext conftest.$ac_ext
96602 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
96603 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
96605 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
96607 cat >>confdefs.h <<\_ACEOF
96608 #define HAVE___BUILTIN_FABSF 1
96609 _ACEOF
96616 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
96617 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
96618 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
96619 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
96620 echo $ECHO_N "(cached) $ECHO_C" >&6
96621 else
96625 ac_ext=cc
96626 ac_cpp='$CXXCPP $CPPFLAGS'
96627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96631 cat >conftest.$ac_ext <<_ACEOF
96632 /* confdefs.h. */
96633 _ACEOF
96634 cat confdefs.h >>conftest.$ac_ext
96635 cat >>conftest.$ac_ext <<_ACEOF
96636 /* end confdefs.h. */
96637 #include <math.h>
96639 main ()
96641 __builtin_fabs(0);
96643 return 0;
96645 _ACEOF
96646 rm -f conftest.$ac_objext
96647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96648 (eval $ac_compile) 2>conftest.er1
96649 ac_status=$?
96650 grep -v '^ *+' conftest.er1 >conftest.err
96651 rm -f conftest.er1
96652 cat conftest.err >&5
96653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96654 (exit $ac_status); } &&
96655 { ac_try='test -z "$ac_cxx_werror_flag"
96656 || test ! -s conftest.err'
96657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96658 (eval $ac_try) 2>&5
96659 ac_status=$?
96660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96661 (exit $ac_status); }; } &&
96662 { ac_try='test -s conftest.$ac_objext'
96663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96664 (eval $ac_try) 2>&5
96665 ac_status=$?
96666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96667 (exit $ac_status); }; }; then
96668 glibcxx_cv_func___builtin_fabs_use=yes
96669 else
96670 echo "$as_me: failed program was:" >&5
96671 sed 's/^/| /' conftest.$ac_ext >&5
96673 glibcxx_cv_func___builtin_fabs_use=no
96675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96676 ac_ext=c
96677 ac_cpp='$CPP $CPPFLAGS'
96678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
96687 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
96688 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
96689 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
96690 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
96691 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
96692 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
96693 echo $ECHO_N "(cached) $ECHO_C" >&6
96694 else
96696 if test x$gcc_no_link = xyes; then
96697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96699 { (exit 1); exit 1; }; }
96701 cat >conftest.$ac_ext <<_ACEOF
96702 /* confdefs.h. */
96703 _ACEOF
96704 cat confdefs.h >>conftest.$ac_ext
96705 cat >>conftest.$ac_ext <<_ACEOF
96706 /* end confdefs.h. */
96707 #include <math.h>
96709 main ()
96711 __builtin_fabs(0);
96713 return 0;
96715 _ACEOF
96716 rm -f conftest.$ac_objext conftest$ac_exeext
96717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96718 (eval $ac_link) 2>conftest.er1
96719 ac_status=$?
96720 grep -v '^ *+' conftest.er1 >conftest.err
96721 rm -f conftest.er1
96722 cat conftest.err >&5
96723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96724 (exit $ac_status); } &&
96725 { ac_try='test -z "$ac_c_werror_flag"
96726 || test ! -s conftest.err'
96727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96728 (eval $ac_try) 2>&5
96729 ac_status=$?
96730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96731 (exit $ac_status); }; } &&
96732 { ac_try='test -s conftest$ac_exeext'
96733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96734 (eval $ac_try) 2>&5
96735 ac_status=$?
96736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96737 (exit $ac_status); }; }; then
96738 glibcxx_cv_func___builtin_fabs_link=yes
96739 else
96740 echo "$as_me: failed program was:" >&5
96741 sed 's/^/| /' conftest.$ac_ext >&5
96743 glibcxx_cv_func___builtin_fabs_link=no
96745 rm -f conftest.err conftest.$ac_objext \
96746 conftest$ac_exeext conftest.$ac_ext
96751 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
96752 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
96754 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
96756 cat >>confdefs.h <<\_ACEOF
96757 #define HAVE___BUILTIN_FABS 1
96758 _ACEOF
96765 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
96766 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
96767 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
96768 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
96769 echo $ECHO_N "(cached) $ECHO_C" >&6
96770 else
96774 ac_ext=cc
96775 ac_cpp='$CXXCPP $CPPFLAGS'
96776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96780 cat >conftest.$ac_ext <<_ACEOF
96781 /* confdefs.h. */
96782 _ACEOF
96783 cat confdefs.h >>conftest.$ac_ext
96784 cat >>conftest.$ac_ext <<_ACEOF
96785 /* end confdefs.h. */
96786 #include <math.h>
96788 main ()
96790 __builtin_fabsl(0);
96792 return 0;
96794 _ACEOF
96795 rm -f conftest.$ac_objext
96796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96797 (eval $ac_compile) 2>conftest.er1
96798 ac_status=$?
96799 grep -v '^ *+' conftest.er1 >conftest.err
96800 rm -f conftest.er1
96801 cat conftest.err >&5
96802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96803 (exit $ac_status); } &&
96804 { ac_try='test -z "$ac_cxx_werror_flag"
96805 || test ! -s conftest.err'
96806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96807 (eval $ac_try) 2>&5
96808 ac_status=$?
96809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96810 (exit $ac_status); }; } &&
96811 { ac_try='test -s conftest.$ac_objext'
96812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96813 (eval $ac_try) 2>&5
96814 ac_status=$?
96815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96816 (exit $ac_status); }; }; then
96817 glibcxx_cv_func___builtin_fabsl_use=yes
96818 else
96819 echo "$as_me: failed program was:" >&5
96820 sed 's/^/| /' conftest.$ac_ext >&5
96822 glibcxx_cv_func___builtin_fabsl_use=no
96824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96825 ac_ext=c
96826 ac_cpp='$CPP $CPPFLAGS'
96827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96835 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
96836 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
96837 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
96838 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
96839 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
96840 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
96841 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
96842 echo $ECHO_N "(cached) $ECHO_C" >&6
96843 else
96845 if test x$gcc_no_link = xyes; then
96846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96848 { (exit 1); exit 1; }; }
96850 cat >conftest.$ac_ext <<_ACEOF
96851 /* confdefs.h. */
96852 _ACEOF
96853 cat confdefs.h >>conftest.$ac_ext
96854 cat >>conftest.$ac_ext <<_ACEOF
96855 /* end confdefs.h. */
96856 #include <math.h>
96858 main ()
96860 __builtin_fabsl(0);
96862 return 0;
96864 _ACEOF
96865 rm -f conftest.$ac_objext conftest$ac_exeext
96866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96867 (eval $ac_link) 2>conftest.er1
96868 ac_status=$?
96869 grep -v '^ *+' conftest.er1 >conftest.err
96870 rm -f conftest.er1
96871 cat conftest.err >&5
96872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96873 (exit $ac_status); } &&
96874 { ac_try='test -z "$ac_c_werror_flag"
96875 || test ! -s conftest.err'
96876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96877 (eval $ac_try) 2>&5
96878 ac_status=$?
96879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96880 (exit $ac_status); }; } &&
96881 { ac_try='test -s conftest$ac_exeext'
96882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96883 (eval $ac_try) 2>&5
96884 ac_status=$?
96885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96886 (exit $ac_status); }; }; then
96887 glibcxx_cv_func___builtin_fabsl_link=yes
96888 else
96889 echo "$as_me: failed program was:" >&5
96890 sed 's/^/| /' conftest.$ac_ext >&5
96892 glibcxx_cv_func___builtin_fabsl_link=no
96894 rm -f conftest.err conftest.$ac_objext \
96895 conftest$ac_exeext conftest.$ac_ext
96900 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
96901 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
96903 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
96905 cat >>confdefs.h <<\_ACEOF
96906 #define HAVE___BUILTIN_FABSL 1
96907 _ACEOF
96914 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
96915 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
96916 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
96917 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
96918 echo $ECHO_N "(cached) $ECHO_C" >&6
96919 else
96923 ac_ext=cc
96924 ac_cpp='$CXXCPP $CPPFLAGS'
96925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96929 cat >conftest.$ac_ext <<_ACEOF
96930 /* confdefs.h. */
96931 _ACEOF
96932 cat confdefs.h >>conftest.$ac_ext
96933 cat >>conftest.$ac_ext <<_ACEOF
96934 /* end confdefs.h. */
96935 #include <math.h>
96937 main ()
96939 __builtin_labs(0);
96941 return 0;
96943 _ACEOF
96944 rm -f conftest.$ac_objext
96945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96946 (eval $ac_compile) 2>conftest.er1
96947 ac_status=$?
96948 grep -v '^ *+' conftest.er1 >conftest.err
96949 rm -f conftest.er1
96950 cat conftest.err >&5
96951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96952 (exit $ac_status); } &&
96953 { ac_try='test -z "$ac_cxx_werror_flag"
96954 || test ! -s conftest.err'
96955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96956 (eval $ac_try) 2>&5
96957 ac_status=$?
96958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96959 (exit $ac_status); }; } &&
96960 { ac_try='test -s conftest.$ac_objext'
96961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96962 (eval $ac_try) 2>&5
96963 ac_status=$?
96964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96965 (exit $ac_status); }; }; then
96966 glibcxx_cv_func___builtin_labs_use=yes
96967 else
96968 echo "$as_me: failed program was:" >&5
96969 sed 's/^/| /' conftest.$ac_ext >&5
96971 glibcxx_cv_func___builtin_labs_use=no
96973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96974 ac_ext=c
96975 ac_cpp='$CPP $CPPFLAGS'
96976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96984 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
96985 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
96986 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
96987 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
96988 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
96989 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
96990 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
96991 echo $ECHO_N "(cached) $ECHO_C" >&6
96992 else
96994 if test x$gcc_no_link = xyes; then
96995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96997 { (exit 1); exit 1; }; }
96999 cat >conftest.$ac_ext <<_ACEOF
97000 /* confdefs.h. */
97001 _ACEOF
97002 cat confdefs.h >>conftest.$ac_ext
97003 cat >>conftest.$ac_ext <<_ACEOF
97004 /* end confdefs.h. */
97005 #include <math.h>
97007 main ()
97009 __builtin_labs(0);
97011 return 0;
97013 _ACEOF
97014 rm -f conftest.$ac_objext conftest$ac_exeext
97015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97016 (eval $ac_link) 2>conftest.er1
97017 ac_status=$?
97018 grep -v '^ *+' conftest.er1 >conftest.err
97019 rm -f conftest.er1
97020 cat conftest.err >&5
97021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97022 (exit $ac_status); } &&
97023 { ac_try='test -z "$ac_c_werror_flag"
97024 || test ! -s conftest.err'
97025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97026 (eval $ac_try) 2>&5
97027 ac_status=$?
97028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97029 (exit $ac_status); }; } &&
97030 { ac_try='test -s conftest$ac_exeext'
97031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97032 (eval $ac_try) 2>&5
97033 ac_status=$?
97034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97035 (exit $ac_status); }; }; then
97036 glibcxx_cv_func___builtin_labs_link=yes
97037 else
97038 echo "$as_me: failed program was:" >&5
97039 sed 's/^/| /' conftest.$ac_ext >&5
97041 glibcxx_cv_func___builtin_labs_link=no
97043 rm -f conftest.err conftest.$ac_objext \
97044 conftest$ac_exeext conftest.$ac_ext
97049 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
97050 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
97052 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
97054 cat >>confdefs.h <<\_ACEOF
97055 #define HAVE___BUILTIN_LABS 1
97056 _ACEOF
97064 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
97065 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
97066 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
97067 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
97068 echo $ECHO_N "(cached) $ECHO_C" >&6
97069 else
97073 ac_ext=cc
97074 ac_cpp='$CXXCPP $CPPFLAGS'
97075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97079 cat >conftest.$ac_ext <<_ACEOF
97080 /* confdefs.h. */
97081 _ACEOF
97082 cat confdefs.h >>conftest.$ac_ext
97083 cat >>conftest.$ac_ext <<_ACEOF
97084 /* end confdefs.h. */
97085 #include <math.h>
97087 main ()
97089 __builtin_sqrtf(0);
97091 return 0;
97093 _ACEOF
97094 rm -f conftest.$ac_objext
97095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97096 (eval $ac_compile) 2>conftest.er1
97097 ac_status=$?
97098 grep -v '^ *+' conftest.er1 >conftest.err
97099 rm -f conftest.er1
97100 cat conftest.err >&5
97101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97102 (exit $ac_status); } &&
97103 { ac_try='test -z "$ac_cxx_werror_flag"
97104 || test ! -s conftest.err'
97105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97106 (eval $ac_try) 2>&5
97107 ac_status=$?
97108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97109 (exit $ac_status); }; } &&
97110 { ac_try='test -s conftest.$ac_objext'
97111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97112 (eval $ac_try) 2>&5
97113 ac_status=$?
97114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97115 (exit $ac_status); }; }; then
97116 glibcxx_cv_func___builtin_sqrtf_use=yes
97117 else
97118 echo "$as_me: failed program was:" >&5
97119 sed 's/^/| /' conftest.$ac_ext >&5
97121 glibcxx_cv_func___builtin_sqrtf_use=no
97123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97124 ac_ext=c
97125 ac_cpp='$CPP $CPPFLAGS'
97126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97134 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
97135 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
97136 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
97137 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
97138 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
97139 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
97140 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
97141 echo $ECHO_N "(cached) $ECHO_C" >&6
97142 else
97144 if test x$gcc_no_link = xyes; then
97145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97147 { (exit 1); exit 1; }; }
97149 cat >conftest.$ac_ext <<_ACEOF
97150 /* confdefs.h. */
97151 _ACEOF
97152 cat confdefs.h >>conftest.$ac_ext
97153 cat >>conftest.$ac_ext <<_ACEOF
97154 /* end confdefs.h. */
97155 #include <math.h>
97157 main ()
97159 __builtin_sqrtf(0);
97161 return 0;
97163 _ACEOF
97164 rm -f conftest.$ac_objext conftest$ac_exeext
97165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97166 (eval $ac_link) 2>conftest.er1
97167 ac_status=$?
97168 grep -v '^ *+' conftest.er1 >conftest.err
97169 rm -f conftest.er1
97170 cat conftest.err >&5
97171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97172 (exit $ac_status); } &&
97173 { ac_try='test -z "$ac_c_werror_flag"
97174 || test ! -s conftest.err'
97175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97176 (eval $ac_try) 2>&5
97177 ac_status=$?
97178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97179 (exit $ac_status); }; } &&
97180 { ac_try='test -s conftest$ac_exeext'
97181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97182 (eval $ac_try) 2>&5
97183 ac_status=$?
97184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97185 (exit $ac_status); }; }; then
97186 glibcxx_cv_func___builtin_sqrtf_link=yes
97187 else
97188 echo "$as_me: failed program was:" >&5
97189 sed 's/^/| /' conftest.$ac_ext >&5
97191 glibcxx_cv_func___builtin_sqrtf_link=no
97193 rm -f conftest.err conftest.$ac_objext \
97194 conftest$ac_exeext conftest.$ac_ext
97199 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
97200 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
97202 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
97204 cat >>confdefs.h <<\_ACEOF
97205 #define HAVE___BUILTIN_SQRTF 1
97206 _ACEOF
97213 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
97214 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
97215 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
97216 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
97217 echo $ECHO_N "(cached) $ECHO_C" >&6
97218 else
97222 ac_ext=cc
97223 ac_cpp='$CXXCPP $CPPFLAGS'
97224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97228 cat >conftest.$ac_ext <<_ACEOF
97229 /* confdefs.h. */
97230 _ACEOF
97231 cat confdefs.h >>conftest.$ac_ext
97232 cat >>conftest.$ac_ext <<_ACEOF
97233 /* end confdefs.h. */
97234 #include <math.h>
97236 main ()
97238 __builtin_sqrt(0);
97240 return 0;
97242 _ACEOF
97243 rm -f conftest.$ac_objext
97244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97245 (eval $ac_compile) 2>conftest.er1
97246 ac_status=$?
97247 grep -v '^ *+' conftest.er1 >conftest.err
97248 rm -f conftest.er1
97249 cat conftest.err >&5
97250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97251 (exit $ac_status); } &&
97252 { ac_try='test -z "$ac_cxx_werror_flag"
97253 || test ! -s conftest.err'
97254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97255 (eval $ac_try) 2>&5
97256 ac_status=$?
97257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97258 (exit $ac_status); }; } &&
97259 { ac_try='test -s conftest.$ac_objext'
97260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97261 (eval $ac_try) 2>&5
97262 ac_status=$?
97263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97264 (exit $ac_status); }; }; then
97265 glibcxx_cv_func___builtin_sqrt_use=yes
97266 else
97267 echo "$as_me: failed program was:" >&5
97268 sed 's/^/| /' conftest.$ac_ext >&5
97270 glibcxx_cv_func___builtin_sqrt_use=no
97272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97273 ac_ext=c
97274 ac_cpp='$CPP $CPPFLAGS'
97275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97283 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
97284 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
97285 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
97286 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
97287 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
97288 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
97289 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
97290 echo $ECHO_N "(cached) $ECHO_C" >&6
97291 else
97293 if test x$gcc_no_link = xyes; then
97294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97296 { (exit 1); exit 1; }; }
97298 cat >conftest.$ac_ext <<_ACEOF
97299 /* confdefs.h. */
97300 _ACEOF
97301 cat confdefs.h >>conftest.$ac_ext
97302 cat >>conftest.$ac_ext <<_ACEOF
97303 /* end confdefs.h. */
97304 #include <math.h>
97306 main ()
97308 __builtin_sqrt(0);
97310 return 0;
97312 _ACEOF
97313 rm -f conftest.$ac_objext conftest$ac_exeext
97314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97315 (eval $ac_link) 2>conftest.er1
97316 ac_status=$?
97317 grep -v '^ *+' conftest.er1 >conftest.err
97318 rm -f conftest.er1
97319 cat conftest.err >&5
97320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97321 (exit $ac_status); } &&
97322 { ac_try='test -z "$ac_c_werror_flag"
97323 || test ! -s conftest.err'
97324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97325 (eval $ac_try) 2>&5
97326 ac_status=$?
97327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97328 (exit $ac_status); }; } &&
97329 { ac_try='test -s conftest$ac_exeext'
97330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97331 (eval $ac_try) 2>&5
97332 ac_status=$?
97333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97334 (exit $ac_status); }; }; then
97335 glibcxx_cv_func___builtin_sqrt_link=yes
97336 else
97337 echo "$as_me: failed program was:" >&5
97338 sed 's/^/| /' conftest.$ac_ext >&5
97340 glibcxx_cv_func___builtin_sqrt_link=no
97342 rm -f conftest.err conftest.$ac_objext \
97343 conftest$ac_exeext conftest.$ac_ext
97348 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
97349 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
97351 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
97353 cat >>confdefs.h <<\_ACEOF
97354 #define HAVE___BUILTIN_SQRT 1
97355 _ACEOF
97362 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
97363 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
97364 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
97365 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
97366 echo $ECHO_N "(cached) $ECHO_C" >&6
97367 else
97371 ac_ext=cc
97372 ac_cpp='$CXXCPP $CPPFLAGS'
97373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97377 cat >conftest.$ac_ext <<_ACEOF
97378 /* confdefs.h. */
97379 _ACEOF
97380 cat confdefs.h >>conftest.$ac_ext
97381 cat >>conftest.$ac_ext <<_ACEOF
97382 /* end confdefs.h. */
97383 #include <math.h>
97385 main ()
97387 __builtin_sqrtl(0);
97389 return 0;
97391 _ACEOF
97392 rm -f conftest.$ac_objext
97393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97394 (eval $ac_compile) 2>conftest.er1
97395 ac_status=$?
97396 grep -v '^ *+' conftest.er1 >conftest.err
97397 rm -f conftest.er1
97398 cat conftest.err >&5
97399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97400 (exit $ac_status); } &&
97401 { ac_try='test -z "$ac_cxx_werror_flag"
97402 || test ! -s conftest.err'
97403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97404 (eval $ac_try) 2>&5
97405 ac_status=$?
97406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97407 (exit $ac_status); }; } &&
97408 { ac_try='test -s conftest.$ac_objext'
97409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97410 (eval $ac_try) 2>&5
97411 ac_status=$?
97412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97413 (exit $ac_status); }; }; then
97414 glibcxx_cv_func___builtin_sqrtl_use=yes
97415 else
97416 echo "$as_me: failed program was:" >&5
97417 sed 's/^/| /' conftest.$ac_ext >&5
97419 glibcxx_cv_func___builtin_sqrtl_use=no
97421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97422 ac_ext=c
97423 ac_cpp='$CPP $CPPFLAGS'
97424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97432 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
97433 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
97434 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
97435 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
97436 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
97437 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
97438 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
97439 echo $ECHO_N "(cached) $ECHO_C" >&6
97440 else
97442 if test x$gcc_no_link = xyes; then
97443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97445 { (exit 1); exit 1; }; }
97447 cat >conftest.$ac_ext <<_ACEOF
97448 /* confdefs.h. */
97449 _ACEOF
97450 cat confdefs.h >>conftest.$ac_ext
97451 cat >>conftest.$ac_ext <<_ACEOF
97452 /* end confdefs.h. */
97453 #include <math.h>
97455 main ()
97457 __builtin_sqrtl(0);
97459 return 0;
97461 _ACEOF
97462 rm -f conftest.$ac_objext conftest$ac_exeext
97463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97464 (eval $ac_link) 2>conftest.er1
97465 ac_status=$?
97466 grep -v '^ *+' conftest.er1 >conftest.err
97467 rm -f conftest.er1
97468 cat conftest.err >&5
97469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97470 (exit $ac_status); } &&
97471 { ac_try='test -z "$ac_c_werror_flag"
97472 || test ! -s conftest.err'
97473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97474 (eval $ac_try) 2>&5
97475 ac_status=$?
97476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97477 (exit $ac_status); }; } &&
97478 { ac_try='test -s conftest$ac_exeext'
97479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97480 (eval $ac_try) 2>&5
97481 ac_status=$?
97482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97483 (exit $ac_status); }; }; then
97484 glibcxx_cv_func___builtin_sqrtl_link=yes
97485 else
97486 echo "$as_me: failed program was:" >&5
97487 sed 's/^/| /' conftest.$ac_ext >&5
97489 glibcxx_cv_func___builtin_sqrtl_link=no
97491 rm -f conftest.err conftest.$ac_objext \
97492 conftest$ac_exeext conftest.$ac_ext
97497 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
97498 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
97500 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
97502 cat >>confdefs.h <<\_ACEOF
97503 #define HAVE___BUILTIN_SQRTL 1
97504 _ACEOF
97512 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
97513 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
97514 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
97515 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
97516 echo $ECHO_N "(cached) $ECHO_C" >&6
97517 else
97521 ac_ext=cc
97522 ac_cpp='$CXXCPP $CPPFLAGS'
97523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97527 cat >conftest.$ac_ext <<_ACEOF
97528 /* confdefs.h. */
97529 _ACEOF
97530 cat confdefs.h >>conftest.$ac_ext
97531 cat >>conftest.$ac_ext <<_ACEOF
97532 /* end confdefs.h. */
97533 #include <math.h>
97535 main ()
97537 __builtin_sinf(0);
97539 return 0;
97541 _ACEOF
97542 rm -f conftest.$ac_objext
97543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97544 (eval $ac_compile) 2>conftest.er1
97545 ac_status=$?
97546 grep -v '^ *+' conftest.er1 >conftest.err
97547 rm -f conftest.er1
97548 cat conftest.err >&5
97549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97550 (exit $ac_status); } &&
97551 { ac_try='test -z "$ac_cxx_werror_flag"
97552 || test ! -s conftest.err'
97553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97554 (eval $ac_try) 2>&5
97555 ac_status=$?
97556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97557 (exit $ac_status); }; } &&
97558 { ac_try='test -s conftest.$ac_objext'
97559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97560 (eval $ac_try) 2>&5
97561 ac_status=$?
97562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97563 (exit $ac_status); }; }; then
97564 glibcxx_cv_func___builtin_sinf_use=yes
97565 else
97566 echo "$as_me: failed program was:" >&5
97567 sed 's/^/| /' conftest.$ac_ext >&5
97569 glibcxx_cv_func___builtin_sinf_use=no
97571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97572 ac_ext=c
97573 ac_cpp='$CPP $CPPFLAGS'
97574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97582 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
97583 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
97584 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
97585 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
97586 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
97587 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
97588 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
97589 echo $ECHO_N "(cached) $ECHO_C" >&6
97590 else
97592 if test x$gcc_no_link = xyes; then
97593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97595 { (exit 1); exit 1; }; }
97597 cat >conftest.$ac_ext <<_ACEOF
97598 /* confdefs.h. */
97599 _ACEOF
97600 cat confdefs.h >>conftest.$ac_ext
97601 cat >>conftest.$ac_ext <<_ACEOF
97602 /* end confdefs.h. */
97603 #include <math.h>
97605 main ()
97607 __builtin_sinf(0);
97609 return 0;
97611 _ACEOF
97612 rm -f conftest.$ac_objext conftest$ac_exeext
97613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97614 (eval $ac_link) 2>conftest.er1
97615 ac_status=$?
97616 grep -v '^ *+' conftest.er1 >conftest.err
97617 rm -f conftest.er1
97618 cat conftest.err >&5
97619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97620 (exit $ac_status); } &&
97621 { ac_try='test -z "$ac_c_werror_flag"
97622 || test ! -s conftest.err'
97623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97624 (eval $ac_try) 2>&5
97625 ac_status=$?
97626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97627 (exit $ac_status); }; } &&
97628 { ac_try='test -s conftest$ac_exeext'
97629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97630 (eval $ac_try) 2>&5
97631 ac_status=$?
97632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97633 (exit $ac_status); }; }; then
97634 glibcxx_cv_func___builtin_sinf_link=yes
97635 else
97636 echo "$as_me: failed program was:" >&5
97637 sed 's/^/| /' conftest.$ac_ext >&5
97639 glibcxx_cv_func___builtin_sinf_link=no
97641 rm -f conftest.err conftest.$ac_objext \
97642 conftest$ac_exeext conftest.$ac_ext
97647 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
97648 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
97650 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
97652 cat >>confdefs.h <<\_ACEOF
97653 #define HAVE___BUILTIN_SINF 1
97654 _ACEOF
97661 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
97662 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
97663 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
97664 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
97665 echo $ECHO_N "(cached) $ECHO_C" >&6
97666 else
97670 ac_ext=cc
97671 ac_cpp='$CXXCPP $CPPFLAGS'
97672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97676 cat >conftest.$ac_ext <<_ACEOF
97677 /* confdefs.h. */
97678 _ACEOF
97679 cat confdefs.h >>conftest.$ac_ext
97680 cat >>conftest.$ac_ext <<_ACEOF
97681 /* end confdefs.h. */
97682 #include <math.h>
97684 main ()
97686 __builtin_sin(0);
97688 return 0;
97690 _ACEOF
97691 rm -f conftest.$ac_objext
97692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97693 (eval $ac_compile) 2>conftest.er1
97694 ac_status=$?
97695 grep -v '^ *+' conftest.er1 >conftest.err
97696 rm -f conftest.er1
97697 cat conftest.err >&5
97698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97699 (exit $ac_status); } &&
97700 { ac_try='test -z "$ac_cxx_werror_flag"
97701 || test ! -s conftest.err'
97702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97703 (eval $ac_try) 2>&5
97704 ac_status=$?
97705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97706 (exit $ac_status); }; } &&
97707 { ac_try='test -s conftest.$ac_objext'
97708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97709 (eval $ac_try) 2>&5
97710 ac_status=$?
97711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97712 (exit $ac_status); }; }; then
97713 glibcxx_cv_func___builtin_sin_use=yes
97714 else
97715 echo "$as_me: failed program was:" >&5
97716 sed 's/^/| /' conftest.$ac_ext >&5
97718 glibcxx_cv_func___builtin_sin_use=no
97720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97721 ac_ext=c
97722 ac_cpp='$CPP $CPPFLAGS'
97723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97731 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
97732 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
97733 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
97734 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
97735 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
97736 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
97737 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
97738 echo $ECHO_N "(cached) $ECHO_C" >&6
97739 else
97741 if test x$gcc_no_link = xyes; then
97742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97744 { (exit 1); exit 1; }; }
97746 cat >conftest.$ac_ext <<_ACEOF
97747 /* confdefs.h. */
97748 _ACEOF
97749 cat confdefs.h >>conftest.$ac_ext
97750 cat >>conftest.$ac_ext <<_ACEOF
97751 /* end confdefs.h. */
97752 #include <math.h>
97754 main ()
97756 __builtin_sin(0);
97758 return 0;
97760 _ACEOF
97761 rm -f conftest.$ac_objext conftest$ac_exeext
97762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97763 (eval $ac_link) 2>conftest.er1
97764 ac_status=$?
97765 grep -v '^ *+' conftest.er1 >conftest.err
97766 rm -f conftest.er1
97767 cat conftest.err >&5
97768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97769 (exit $ac_status); } &&
97770 { ac_try='test -z "$ac_c_werror_flag"
97771 || test ! -s conftest.err'
97772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97773 (eval $ac_try) 2>&5
97774 ac_status=$?
97775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97776 (exit $ac_status); }; } &&
97777 { ac_try='test -s conftest$ac_exeext'
97778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97779 (eval $ac_try) 2>&5
97780 ac_status=$?
97781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97782 (exit $ac_status); }; }; then
97783 glibcxx_cv_func___builtin_sin_link=yes
97784 else
97785 echo "$as_me: failed program was:" >&5
97786 sed 's/^/| /' conftest.$ac_ext >&5
97788 glibcxx_cv_func___builtin_sin_link=no
97790 rm -f conftest.err conftest.$ac_objext \
97791 conftest$ac_exeext conftest.$ac_ext
97796 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
97797 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
97799 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
97801 cat >>confdefs.h <<\_ACEOF
97802 #define HAVE___BUILTIN_SIN 1
97803 _ACEOF
97810 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
97811 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
97812 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
97813 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
97814 echo $ECHO_N "(cached) $ECHO_C" >&6
97815 else
97819 ac_ext=cc
97820 ac_cpp='$CXXCPP $CPPFLAGS'
97821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97825 cat >conftest.$ac_ext <<_ACEOF
97826 /* confdefs.h. */
97827 _ACEOF
97828 cat confdefs.h >>conftest.$ac_ext
97829 cat >>conftest.$ac_ext <<_ACEOF
97830 /* end confdefs.h. */
97831 #include <math.h>
97833 main ()
97835 __builtin_sinl(0);
97837 return 0;
97839 _ACEOF
97840 rm -f conftest.$ac_objext
97841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97842 (eval $ac_compile) 2>conftest.er1
97843 ac_status=$?
97844 grep -v '^ *+' conftest.er1 >conftest.err
97845 rm -f conftest.er1
97846 cat conftest.err >&5
97847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97848 (exit $ac_status); } &&
97849 { ac_try='test -z "$ac_cxx_werror_flag"
97850 || test ! -s conftest.err'
97851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97852 (eval $ac_try) 2>&5
97853 ac_status=$?
97854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97855 (exit $ac_status); }; } &&
97856 { ac_try='test -s conftest.$ac_objext'
97857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97858 (eval $ac_try) 2>&5
97859 ac_status=$?
97860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97861 (exit $ac_status); }; }; then
97862 glibcxx_cv_func___builtin_sinl_use=yes
97863 else
97864 echo "$as_me: failed program was:" >&5
97865 sed 's/^/| /' conftest.$ac_ext >&5
97867 glibcxx_cv_func___builtin_sinl_use=no
97869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97870 ac_ext=c
97871 ac_cpp='$CPP $CPPFLAGS'
97872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97880 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
97881 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
97882 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
97883 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
97884 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
97885 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
97886 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
97887 echo $ECHO_N "(cached) $ECHO_C" >&6
97888 else
97890 if test x$gcc_no_link = xyes; then
97891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97893 { (exit 1); exit 1; }; }
97895 cat >conftest.$ac_ext <<_ACEOF
97896 /* confdefs.h. */
97897 _ACEOF
97898 cat confdefs.h >>conftest.$ac_ext
97899 cat >>conftest.$ac_ext <<_ACEOF
97900 /* end confdefs.h. */
97901 #include <math.h>
97903 main ()
97905 __builtin_sinl(0);
97907 return 0;
97909 _ACEOF
97910 rm -f conftest.$ac_objext conftest$ac_exeext
97911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97912 (eval $ac_link) 2>conftest.er1
97913 ac_status=$?
97914 grep -v '^ *+' conftest.er1 >conftest.err
97915 rm -f conftest.er1
97916 cat conftest.err >&5
97917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97918 (exit $ac_status); } &&
97919 { ac_try='test -z "$ac_c_werror_flag"
97920 || test ! -s conftest.err'
97921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97922 (eval $ac_try) 2>&5
97923 ac_status=$?
97924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97925 (exit $ac_status); }; } &&
97926 { ac_try='test -s conftest$ac_exeext'
97927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97928 (eval $ac_try) 2>&5
97929 ac_status=$?
97930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97931 (exit $ac_status); }; }; then
97932 glibcxx_cv_func___builtin_sinl_link=yes
97933 else
97934 echo "$as_me: failed program was:" >&5
97935 sed 's/^/| /' conftest.$ac_ext >&5
97937 glibcxx_cv_func___builtin_sinl_link=no
97939 rm -f conftest.err conftest.$ac_objext \
97940 conftest$ac_exeext conftest.$ac_ext
97945 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
97946 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
97948 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
97950 cat >>confdefs.h <<\_ACEOF
97951 #define HAVE___BUILTIN_SINL 1
97952 _ACEOF
97960 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
97961 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
97962 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
97963 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
97964 echo $ECHO_N "(cached) $ECHO_C" >&6
97965 else
97969 ac_ext=cc
97970 ac_cpp='$CXXCPP $CPPFLAGS'
97971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97975 cat >conftest.$ac_ext <<_ACEOF
97976 /* confdefs.h. */
97977 _ACEOF
97978 cat confdefs.h >>conftest.$ac_ext
97979 cat >>conftest.$ac_ext <<_ACEOF
97980 /* end confdefs.h. */
97981 #include <math.h>
97983 main ()
97985 __builtin_cosf(0);
97987 return 0;
97989 _ACEOF
97990 rm -f conftest.$ac_objext
97991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97992 (eval $ac_compile) 2>conftest.er1
97993 ac_status=$?
97994 grep -v '^ *+' conftest.er1 >conftest.err
97995 rm -f conftest.er1
97996 cat conftest.err >&5
97997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97998 (exit $ac_status); } &&
97999 { ac_try='test -z "$ac_cxx_werror_flag"
98000 || test ! -s conftest.err'
98001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98002 (eval $ac_try) 2>&5
98003 ac_status=$?
98004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98005 (exit $ac_status); }; } &&
98006 { ac_try='test -s conftest.$ac_objext'
98007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98008 (eval $ac_try) 2>&5
98009 ac_status=$?
98010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98011 (exit $ac_status); }; }; then
98012 glibcxx_cv_func___builtin_cosf_use=yes
98013 else
98014 echo "$as_me: failed program was:" >&5
98015 sed 's/^/| /' conftest.$ac_ext >&5
98017 glibcxx_cv_func___builtin_cosf_use=no
98019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98020 ac_ext=c
98021 ac_cpp='$CPP $CPPFLAGS'
98022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98030 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
98031 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
98032 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
98033 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
98034 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
98035 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
98036 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
98037 echo $ECHO_N "(cached) $ECHO_C" >&6
98038 else
98040 if test x$gcc_no_link = xyes; then
98041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98043 { (exit 1); exit 1; }; }
98045 cat >conftest.$ac_ext <<_ACEOF
98046 /* confdefs.h. */
98047 _ACEOF
98048 cat confdefs.h >>conftest.$ac_ext
98049 cat >>conftest.$ac_ext <<_ACEOF
98050 /* end confdefs.h. */
98051 #include <math.h>
98053 main ()
98055 __builtin_cosf(0);
98057 return 0;
98059 _ACEOF
98060 rm -f conftest.$ac_objext conftest$ac_exeext
98061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98062 (eval $ac_link) 2>conftest.er1
98063 ac_status=$?
98064 grep -v '^ *+' conftest.er1 >conftest.err
98065 rm -f conftest.er1
98066 cat conftest.err >&5
98067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98068 (exit $ac_status); } &&
98069 { ac_try='test -z "$ac_c_werror_flag"
98070 || test ! -s conftest.err'
98071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98072 (eval $ac_try) 2>&5
98073 ac_status=$?
98074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98075 (exit $ac_status); }; } &&
98076 { ac_try='test -s conftest$ac_exeext'
98077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98078 (eval $ac_try) 2>&5
98079 ac_status=$?
98080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98081 (exit $ac_status); }; }; then
98082 glibcxx_cv_func___builtin_cosf_link=yes
98083 else
98084 echo "$as_me: failed program was:" >&5
98085 sed 's/^/| /' conftest.$ac_ext >&5
98087 glibcxx_cv_func___builtin_cosf_link=no
98089 rm -f conftest.err conftest.$ac_objext \
98090 conftest$ac_exeext conftest.$ac_ext
98095 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
98096 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
98098 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
98100 cat >>confdefs.h <<\_ACEOF
98101 #define HAVE___BUILTIN_COSF 1
98102 _ACEOF
98109 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
98110 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
98111 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
98112 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
98113 echo $ECHO_N "(cached) $ECHO_C" >&6
98114 else
98118 ac_ext=cc
98119 ac_cpp='$CXXCPP $CPPFLAGS'
98120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98124 cat >conftest.$ac_ext <<_ACEOF
98125 /* confdefs.h. */
98126 _ACEOF
98127 cat confdefs.h >>conftest.$ac_ext
98128 cat >>conftest.$ac_ext <<_ACEOF
98129 /* end confdefs.h. */
98130 #include <math.h>
98132 main ()
98134 __builtin_cos(0);
98136 return 0;
98138 _ACEOF
98139 rm -f conftest.$ac_objext
98140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98141 (eval $ac_compile) 2>conftest.er1
98142 ac_status=$?
98143 grep -v '^ *+' conftest.er1 >conftest.err
98144 rm -f conftest.er1
98145 cat conftest.err >&5
98146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98147 (exit $ac_status); } &&
98148 { ac_try='test -z "$ac_cxx_werror_flag"
98149 || test ! -s conftest.err'
98150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98151 (eval $ac_try) 2>&5
98152 ac_status=$?
98153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98154 (exit $ac_status); }; } &&
98155 { ac_try='test -s conftest.$ac_objext'
98156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98157 (eval $ac_try) 2>&5
98158 ac_status=$?
98159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98160 (exit $ac_status); }; }; then
98161 glibcxx_cv_func___builtin_cos_use=yes
98162 else
98163 echo "$as_me: failed program was:" >&5
98164 sed 's/^/| /' conftest.$ac_ext >&5
98166 glibcxx_cv_func___builtin_cos_use=no
98168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98169 ac_ext=c
98170 ac_cpp='$CPP $CPPFLAGS'
98171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98179 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
98180 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
98181 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
98182 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
98183 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
98184 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
98185 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
98186 echo $ECHO_N "(cached) $ECHO_C" >&6
98187 else
98189 if test x$gcc_no_link = xyes; then
98190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98192 { (exit 1); exit 1; }; }
98194 cat >conftest.$ac_ext <<_ACEOF
98195 /* confdefs.h. */
98196 _ACEOF
98197 cat confdefs.h >>conftest.$ac_ext
98198 cat >>conftest.$ac_ext <<_ACEOF
98199 /* end confdefs.h. */
98200 #include <math.h>
98202 main ()
98204 __builtin_cos(0);
98206 return 0;
98208 _ACEOF
98209 rm -f conftest.$ac_objext conftest$ac_exeext
98210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98211 (eval $ac_link) 2>conftest.er1
98212 ac_status=$?
98213 grep -v '^ *+' conftest.er1 >conftest.err
98214 rm -f conftest.er1
98215 cat conftest.err >&5
98216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98217 (exit $ac_status); } &&
98218 { ac_try='test -z "$ac_c_werror_flag"
98219 || test ! -s conftest.err'
98220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98221 (eval $ac_try) 2>&5
98222 ac_status=$?
98223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98224 (exit $ac_status); }; } &&
98225 { ac_try='test -s conftest$ac_exeext'
98226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98227 (eval $ac_try) 2>&5
98228 ac_status=$?
98229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98230 (exit $ac_status); }; }; then
98231 glibcxx_cv_func___builtin_cos_link=yes
98232 else
98233 echo "$as_me: failed program was:" >&5
98234 sed 's/^/| /' conftest.$ac_ext >&5
98236 glibcxx_cv_func___builtin_cos_link=no
98238 rm -f conftest.err conftest.$ac_objext \
98239 conftest$ac_exeext conftest.$ac_ext
98244 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
98245 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
98247 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
98249 cat >>confdefs.h <<\_ACEOF
98250 #define HAVE___BUILTIN_COS 1
98251 _ACEOF
98258 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
98259 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
98260 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
98261 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
98262 echo $ECHO_N "(cached) $ECHO_C" >&6
98263 else
98267 ac_ext=cc
98268 ac_cpp='$CXXCPP $CPPFLAGS'
98269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98273 cat >conftest.$ac_ext <<_ACEOF
98274 /* confdefs.h. */
98275 _ACEOF
98276 cat confdefs.h >>conftest.$ac_ext
98277 cat >>conftest.$ac_ext <<_ACEOF
98278 /* end confdefs.h. */
98279 #include <math.h>
98281 main ()
98283 __builtin_cosl(0);
98285 return 0;
98287 _ACEOF
98288 rm -f conftest.$ac_objext
98289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98290 (eval $ac_compile) 2>conftest.er1
98291 ac_status=$?
98292 grep -v '^ *+' conftest.er1 >conftest.err
98293 rm -f conftest.er1
98294 cat conftest.err >&5
98295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98296 (exit $ac_status); } &&
98297 { ac_try='test -z "$ac_cxx_werror_flag"
98298 || test ! -s conftest.err'
98299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98300 (eval $ac_try) 2>&5
98301 ac_status=$?
98302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98303 (exit $ac_status); }; } &&
98304 { ac_try='test -s conftest.$ac_objext'
98305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98306 (eval $ac_try) 2>&5
98307 ac_status=$?
98308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98309 (exit $ac_status); }; }; then
98310 glibcxx_cv_func___builtin_cosl_use=yes
98311 else
98312 echo "$as_me: failed program was:" >&5
98313 sed 's/^/| /' conftest.$ac_ext >&5
98315 glibcxx_cv_func___builtin_cosl_use=no
98317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98318 ac_ext=c
98319 ac_cpp='$CPP $CPPFLAGS'
98320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98328 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
98329 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
98330 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
98331 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
98332 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
98333 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
98334 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
98335 echo $ECHO_N "(cached) $ECHO_C" >&6
98336 else
98338 if test x$gcc_no_link = xyes; then
98339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98341 { (exit 1); exit 1; }; }
98343 cat >conftest.$ac_ext <<_ACEOF
98344 /* confdefs.h. */
98345 _ACEOF
98346 cat confdefs.h >>conftest.$ac_ext
98347 cat >>conftest.$ac_ext <<_ACEOF
98348 /* end confdefs.h. */
98349 #include <math.h>
98351 main ()
98353 __builtin_cosl(0);
98355 return 0;
98357 _ACEOF
98358 rm -f conftest.$ac_objext conftest$ac_exeext
98359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98360 (eval $ac_link) 2>conftest.er1
98361 ac_status=$?
98362 grep -v '^ *+' conftest.er1 >conftest.err
98363 rm -f conftest.er1
98364 cat conftest.err >&5
98365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98366 (exit $ac_status); } &&
98367 { ac_try='test -z "$ac_c_werror_flag"
98368 || test ! -s conftest.err'
98369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98370 (eval $ac_try) 2>&5
98371 ac_status=$?
98372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98373 (exit $ac_status); }; } &&
98374 { ac_try='test -s conftest$ac_exeext'
98375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98376 (eval $ac_try) 2>&5
98377 ac_status=$?
98378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98379 (exit $ac_status); }; }; then
98380 glibcxx_cv_func___builtin_cosl_link=yes
98381 else
98382 echo "$as_me: failed program was:" >&5
98383 sed 's/^/| /' conftest.$ac_ext >&5
98385 glibcxx_cv_func___builtin_cosl_link=no
98387 rm -f conftest.err conftest.$ac_objext \
98388 conftest$ac_exeext conftest.$ac_ext
98393 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
98394 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
98396 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
98398 cat >>confdefs.h <<\_ACEOF
98399 #define HAVE___BUILTIN_COSL 1
98400 _ACEOF
98409 echo "$as_me:$LINENO: checking for main in -lm" >&5
98410 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
98411 if test "${ac_cv_lib_m_main+set}" = set; then
98412 echo $ECHO_N "(cached) $ECHO_C" >&6
98413 else
98414 ac_check_lib_save_LIBS=$LIBS
98415 LIBS="-lm $LIBS"
98416 if test x$gcc_no_link = xyes; then
98417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98419 { (exit 1); exit 1; }; }
98421 cat >conftest.$ac_ext <<_ACEOF
98422 /* confdefs.h. */
98423 _ACEOF
98424 cat confdefs.h >>conftest.$ac_ext
98425 cat >>conftest.$ac_ext <<_ACEOF
98426 /* end confdefs.h. */
98430 main ()
98432 main ();
98434 return 0;
98436 _ACEOF
98437 rm -f conftest.$ac_objext conftest$ac_exeext
98438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98439 (eval $ac_link) 2>conftest.er1
98440 ac_status=$?
98441 grep -v '^ *+' conftest.er1 >conftest.err
98442 rm -f conftest.er1
98443 cat conftest.err >&5
98444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98445 (exit $ac_status); } &&
98446 { ac_try='test -z "$ac_c_werror_flag"
98447 || test ! -s conftest.err'
98448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98449 (eval $ac_try) 2>&5
98450 ac_status=$?
98451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98452 (exit $ac_status); }; } &&
98453 { ac_try='test -s conftest$ac_exeext'
98454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98455 (eval $ac_try) 2>&5
98456 ac_status=$?
98457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98458 (exit $ac_status); }; }; then
98459 ac_cv_lib_m_main=yes
98460 else
98461 echo "$as_me: failed program was:" >&5
98462 sed 's/^/| /' conftest.$ac_ext >&5
98464 ac_cv_lib_m_main=no
98466 rm -f conftest.err conftest.$ac_objext \
98467 conftest$ac_exeext conftest.$ac_ext
98468 LIBS=$ac_check_lib_save_LIBS
98470 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
98471 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
98472 if test $ac_cv_lib_m_main = yes; then
98473 cat >>confdefs.h <<_ACEOF
98474 #define HAVE_LIBM 1
98475 _ACEOF
98477 LIBS="-lm $LIBS"
98482 for ac_func in copysignf
98484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98485 echo "$as_me:$LINENO: checking for $ac_func" >&5
98486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98487 if eval "test \"\${$as_ac_var+set}\" = set"; then
98488 echo $ECHO_N "(cached) $ECHO_C" >&6
98489 else
98490 if test x$gcc_no_link = xyes; then
98491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98493 { (exit 1); exit 1; }; }
98495 cat >conftest.$ac_ext <<_ACEOF
98496 /* confdefs.h. */
98497 _ACEOF
98498 cat confdefs.h >>conftest.$ac_ext
98499 cat >>conftest.$ac_ext <<_ACEOF
98500 /* end confdefs.h. */
98501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98503 #define $ac_func innocuous_$ac_func
98505 /* System header to define __stub macros and hopefully few prototypes,
98506 which can conflict with char $ac_func (); below.
98507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98508 <limits.h> exists even on freestanding compilers. */
98510 #ifdef __STDC__
98511 # include <limits.h>
98512 #else
98513 # include <assert.h>
98514 #endif
98516 #undef $ac_func
98518 /* Override any gcc2 internal prototype to avoid an error. */
98519 #ifdef __cplusplus
98520 extern "C"
98522 #endif
98523 /* We use char because int might match the return type of a gcc2
98524 builtin and then its argument prototype would still apply. */
98525 char $ac_func ();
98526 /* The GNU C library defines this for functions which it implements
98527 to always fail with ENOSYS. Some functions are actually named
98528 something starting with __ and the normal name is an alias. */
98529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98530 choke me
98531 #else
98532 char (*f) () = $ac_func;
98533 #endif
98534 #ifdef __cplusplus
98536 #endif
98539 main ()
98541 return f != $ac_func;
98543 return 0;
98545 _ACEOF
98546 rm -f conftest.$ac_objext conftest$ac_exeext
98547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98548 (eval $ac_link) 2>conftest.er1
98549 ac_status=$?
98550 grep -v '^ *+' conftest.er1 >conftest.err
98551 rm -f conftest.er1
98552 cat conftest.err >&5
98553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98554 (exit $ac_status); } &&
98555 { ac_try='test -z "$ac_c_werror_flag"
98556 || test ! -s conftest.err'
98557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98558 (eval $ac_try) 2>&5
98559 ac_status=$?
98560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98561 (exit $ac_status); }; } &&
98562 { ac_try='test -s conftest$ac_exeext'
98563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98564 (eval $ac_try) 2>&5
98565 ac_status=$?
98566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98567 (exit $ac_status); }; }; then
98568 eval "$as_ac_var=yes"
98569 else
98570 echo "$as_me: failed program was:" >&5
98571 sed 's/^/| /' conftest.$ac_ext >&5
98573 eval "$as_ac_var=no"
98575 rm -f conftest.err conftest.$ac_objext \
98576 conftest$ac_exeext conftest.$ac_ext
98578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98580 if test `eval echo '${'$as_ac_var'}'` = yes; then
98581 cat >>confdefs.h <<_ACEOF
98582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98583 _ACEOF
98585 else
98586 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
98588 done
98592 for ac_func in __signbit
98594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98595 echo "$as_me:$LINENO: checking for $ac_func" >&5
98596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98597 if eval "test \"\${$as_ac_var+set}\" = set"; then
98598 echo $ECHO_N "(cached) $ECHO_C" >&6
98599 else
98600 if test x$gcc_no_link = xyes; then
98601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98603 { (exit 1); exit 1; }; }
98605 cat >conftest.$ac_ext <<_ACEOF
98606 /* confdefs.h. */
98607 _ACEOF
98608 cat confdefs.h >>conftest.$ac_ext
98609 cat >>conftest.$ac_ext <<_ACEOF
98610 /* end confdefs.h. */
98611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98613 #define $ac_func innocuous_$ac_func
98615 /* System header to define __stub macros and hopefully few prototypes,
98616 which can conflict with char $ac_func (); below.
98617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98618 <limits.h> exists even on freestanding compilers. */
98620 #ifdef __STDC__
98621 # include <limits.h>
98622 #else
98623 # include <assert.h>
98624 #endif
98626 #undef $ac_func
98628 /* Override any gcc2 internal prototype to avoid an error. */
98629 #ifdef __cplusplus
98630 extern "C"
98632 #endif
98633 /* We use char because int might match the return type of a gcc2
98634 builtin and then its argument prototype would still apply. */
98635 char $ac_func ();
98636 /* The GNU C library defines this for functions which it implements
98637 to always fail with ENOSYS. Some functions are actually named
98638 something starting with __ and the normal name is an alias. */
98639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98640 choke me
98641 #else
98642 char (*f) () = $ac_func;
98643 #endif
98644 #ifdef __cplusplus
98646 #endif
98649 main ()
98651 return f != $ac_func;
98653 return 0;
98655 _ACEOF
98656 rm -f conftest.$ac_objext conftest$ac_exeext
98657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98658 (eval $ac_link) 2>conftest.er1
98659 ac_status=$?
98660 grep -v '^ *+' conftest.er1 >conftest.err
98661 rm -f conftest.er1
98662 cat conftest.err >&5
98663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98664 (exit $ac_status); } &&
98665 { ac_try='test -z "$ac_c_werror_flag"
98666 || test ! -s conftest.err'
98667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98668 (eval $ac_try) 2>&5
98669 ac_status=$?
98670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98671 (exit $ac_status); }; } &&
98672 { ac_try='test -s conftest$ac_exeext'
98673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98674 (eval $ac_try) 2>&5
98675 ac_status=$?
98676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98677 (exit $ac_status); }; }; then
98678 eval "$as_ac_var=yes"
98679 else
98680 echo "$as_me: failed program was:" >&5
98681 sed 's/^/| /' conftest.$ac_ext >&5
98683 eval "$as_ac_var=no"
98685 rm -f conftest.err conftest.$ac_objext \
98686 conftest$ac_exeext conftest.$ac_ext
98688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98690 if test `eval echo '${'$as_ac_var'}'` = yes; then
98691 cat >>confdefs.h <<_ACEOF
98692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98693 _ACEOF
98695 else
98696 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
98698 done
98702 for ac_func in __signbitf
98704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98705 echo "$as_me:$LINENO: checking for $ac_func" >&5
98706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98707 if eval "test \"\${$as_ac_var+set}\" = set"; then
98708 echo $ECHO_N "(cached) $ECHO_C" >&6
98709 else
98710 if test x$gcc_no_link = xyes; then
98711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98713 { (exit 1); exit 1; }; }
98715 cat >conftest.$ac_ext <<_ACEOF
98716 /* confdefs.h. */
98717 _ACEOF
98718 cat confdefs.h >>conftest.$ac_ext
98719 cat >>conftest.$ac_ext <<_ACEOF
98720 /* end confdefs.h. */
98721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98723 #define $ac_func innocuous_$ac_func
98725 /* System header to define __stub macros and hopefully few prototypes,
98726 which can conflict with char $ac_func (); below.
98727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98728 <limits.h> exists even on freestanding compilers. */
98730 #ifdef __STDC__
98731 # include <limits.h>
98732 #else
98733 # include <assert.h>
98734 #endif
98736 #undef $ac_func
98738 /* Override any gcc2 internal prototype to avoid an error. */
98739 #ifdef __cplusplus
98740 extern "C"
98742 #endif
98743 /* We use char because int might match the return type of a gcc2
98744 builtin and then its argument prototype would still apply. */
98745 char $ac_func ();
98746 /* The GNU C library defines this for functions which it implements
98747 to always fail with ENOSYS. Some functions are actually named
98748 something starting with __ and the normal name is an alias. */
98749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98750 choke me
98751 #else
98752 char (*f) () = $ac_func;
98753 #endif
98754 #ifdef __cplusplus
98756 #endif
98759 main ()
98761 return f != $ac_func;
98763 return 0;
98765 _ACEOF
98766 rm -f conftest.$ac_objext conftest$ac_exeext
98767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98768 (eval $ac_link) 2>conftest.er1
98769 ac_status=$?
98770 grep -v '^ *+' conftest.er1 >conftest.err
98771 rm -f conftest.er1
98772 cat conftest.err >&5
98773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98774 (exit $ac_status); } &&
98775 { ac_try='test -z "$ac_c_werror_flag"
98776 || test ! -s conftest.err'
98777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98778 (eval $ac_try) 2>&5
98779 ac_status=$?
98780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98781 (exit $ac_status); }; } &&
98782 { ac_try='test -s conftest$ac_exeext'
98783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98784 (eval $ac_try) 2>&5
98785 ac_status=$?
98786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98787 (exit $ac_status); }; }; then
98788 eval "$as_ac_var=yes"
98789 else
98790 echo "$as_me: failed program was:" >&5
98791 sed 's/^/| /' conftest.$ac_ext >&5
98793 eval "$as_ac_var=no"
98795 rm -f conftest.err conftest.$ac_objext \
98796 conftest$ac_exeext conftest.$ac_ext
98798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98800 if test `eval echo '${'$as_ac_var'}'` = yes; then
98801 cat >>confdefs.h <<_ACEOF
98802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98803 _ACEOF
98805 else
98806 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
98808 done
98811 if test x$ac_cv_func_copysignl = x"yes"; then
98813 for ac_func in __signbitl
98815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98816 echo "$as_me:$LINENO: checking for $ac_func" >&5
98817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98818 if eval "test \"\${$as_ac_var+set}\" = set"; then
98819 echo $ECHO_N "(cached) $ECHO_C" >&6
98820 else
98821 if test x$gcc_no_link = xyes; then
98822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98824 { (exit 1); exit 1; }; }
98826 cat >conftest.$ac_ext <<_ACEOF
98827 /* confdefs.h. */
98828 _ACEOF
98829 cat confdefs.h >>conftest.$ac_ext
98830 cat >>conftest.$ac_ext <<_ACEOF
98831 /* end confdefs.h. */
98832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98834 #define $ac_func innocuous_$ac_func
98836 /* System header to define __stub macros and hopefully few prototypes,
98837 which can conflict with char $ac_func (); below.
98838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98839 <limits.h> exists even on freestanding compilers. */
98841 #ifdef __STDC__
98842 # include <limits.h>
98843 #else
98844 # include <assert.h>
98845 #endif
98847 #undef $ac_func
98849 /* Override any gcc2 internal prototype to avoid an error. */
98850 #ifdef __cplusplus
98851 extern "C"
98853 #endif
98854 /* We use char because int might match the return type of a gcc2
98855 builtin and then its argument prototype would still apply. */
98856 char $ac_func ();
98857 /* The GNU C library defines this for functions which it implements
98858 to always fail with ENOSYS. Some functions are actually named
98859 something starting with __ and the normal name is an alias. */
98860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98861 choke me
98862 #else
98863 char (*f) () = $ac_func;
98864 #endif
98865 #ifdef __cplusplus
98867 #endif
98870 main ()
98872 return f != $ac_func;
98874 return 0;
98876 _ACEOF
98877 rm -f conftest.$ac_objext conftest$ac_exeext
98878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98879 (eval $ac_link) 2>conftest.er1
98880 ac_status=$?
98881 grep -v '^ *+' conftest.er1 >conftest.err
98882 rm -f conftest.er1
98883 cat conftest.err >&5
98884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98885 (exit $ac_status); } &&
98886 { ac_try='test -z "$ac_c_werror_flag"
98887 || test ! -s conftest.err'
98888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98889 (eval $ac_try) 2>&5
98890 ac_status=$?
98891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98892 (exit $ac_status); }; } &&
98893 { ac_try='test -s conftest$ac_exeext'
98894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98895 (eval $ac_try) 2>&5
98896 ac_status=$?
98897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98898 (exit $ac_status); }; }; then
98899 eval "$as_ac_var=yes"
98900 else
98901 echo "$as_me: failed program was:" >&5
98902 sed 's/^/| /' conftest.$ac_ext >&5
98904 eval "$as_ac_var=no"
98906 rm -f conftest.err conftest.$ac_objext \
98907 conftest$ac_exeext conftest.$ac_ext
98909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98911 if test `eval echo '${'$as_ac_var'}'` = yes; then
98912 cat >>confdefs.h <<_ACEOF
98913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98914 _ACEOF
98916 else
98917 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
98919 done
98923 # Used in libmath/Makefile.am.
98924 if test -n "$LIBMATHOBJS"; then
98925 need_libmath=yes
98931 enable_iconv=no
98932 # Only continue checking if the ISO C99 headers exist and support is on.
98933 if test x"$enable_wchar_t" = xyes; then
98935 # Use iconv for wchar_t to char conversions. As such, check for
98936 # X/Open Portability Guide, version 2 features (XPG2).
98937 if test "${ac_cv_header_iconv_h+set}" = set; then
98938 echo "$as_me:$LINENO: checking for iconv.h" >&5
98939 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98940 if test "${ac_cv_header_iconv_h+set}" = set; then
98941 echo $ECHO_N "(cached) $ECHO_C" >&6
98943 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98944 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98945 else
98946 # Is the header compilable?
98947 echo "$as_me:$LINENO: checking iconv.h usability" >&5
98948 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
98949 cat >conftest.$ac_ext <<_ACEOF
98950 /* confdefs.h. */
98951 _ACEOF
98952 cat confdefs.h >>conftest.$ac_ext
98953 cat >>conftest.$ac_ext <<_ACEOF
98954 /* end confdefs.h. */
98955 $ac_includes_default
98956 #include <iconv.h>
98957 _ACEOF
98958 rm -f conftest.$ac_objext
98959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98960 (eval $ac_compile) 2>conftest.er1
98961 ac_status=$?
98962 grep -v '^ *+' conftest.er1 >conftest.err
98963 rm -f conftest.er1
98964 cat conftest.err >&5
98965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98966 (exit $ac_status); } &&
98967 { ac_try='test -z "$ac_c_werror_flag"
98968 || test ! -s conftest.err'
98969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98970 (eval $ac_try) 2>&5
98971 ac_status=$?
98972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98973 (exit $ac_status); }; } &&
98974 { ac_try='test -s conftest.$ac_objext'
98975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98976 (eval $ac_try) 2>&5
98977 ac_status=$?
98978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98979 (exit $ac_status); }; }; then
98980 ac_header_compiler=yes
98981 else
98982 echo "$as_me: failed program was:" >&5
98983 sed 's/^/| /' conftest.$ac_ext >&5
98985 ac_header_compiler=no
98987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98989 echo "${ECHO_T}$ac_header_compiler" >&6
98991 # Is the header present?
98992 echo "$as_me:$LINENO: checking iconv.h presence" >&5
98993 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
98994 cat >conftest.$ac_ext <<_ACEOF
98995 /* confdefs.h. */
98996 _ACEOF
98997 cat confdefs.h >>conftest.$ac_ext
98998 cat >>conftest.$ac_ext <<_ACEOF
98999 /* end confdefs.h. */
99000 #include <iconv.h>
99001 _ACEOF
99002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99004 ac_status=$?
99005 grep -v '^ *+' conftest.er1 >conftest.err
99006 rm -f conftest.er1
99007 cat conftest.err >&5
99008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99009 (exit $ac_status); } >/dev/null; then
99010 if test -s conftest.err; then
99011 ac_cpp_err=$ac_c_preproc_warn_flag
99012 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99013 else
99014 ac_cpp_err=
99016 else
99017 ac_cpp_err=yes
99019 if test -z "$ac_cpp_err"; then
99020 ac_header_preproc=yes
99021 else
99022 echo "$as_me: failed program was:" >&5
99023 sed 's/^/| /' conftest.$ac_ext >&5
99025 ac_header_preproc=no
99027 rm -f conftest.err conftest.$ac_ext
99028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99029 echo "${ECHO_T}$ac_header_preproc" >&6
99031 # So? What about this header?
99032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99033 yes:no: )
99034 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
99035 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
99036 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
99037 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
99038 ac_header_preproc=yes
99040 no:yes:* )
99041 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
99042 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
99043 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
99044 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
99045 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
99046 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
99047 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
99048 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
99049 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
99050 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
99051 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
99052 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
99054 cat <<\_ASBOX
99055 ## ----------------------------------------- ##
99056 ## Report this to the package-unused lists. ##
99057 ## ----------------------------------------- ##
99058 _ASBOX
99060 sed "s/^/$as_me: WARNING: /" >&2
99062 esac
99063 echo "$as_me:$LINENO: checking for iconv.h" >&5
99064 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
99065 if test "${ac_cv_header_iconv_h+set}" = set; then
99066 echo $ECHO_N "(cached) $ECHO_C" >&6
99067 else
99068 ac_cv_header_iconv_h=$ac_header_preproc
99070 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
99071 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
99074 if test $ac_cv_header_iconv_h = yes; then
99075 ac_has_iconv_h=yes
99076 else
99077 ac_has_iconv_h=no
99081 if test "${ac_cv_header_langinfo_h+set}" = set; then
99082 echo "$as_me:$LINENO: checking for langinfo.h" >&5
99083 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
99084 if test "${ac_cv_header_langinfo_h+set}" = set; then
99085 echo $ECHO_N "(cached) $ECHO_C" >&6
99087 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
99088 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
99089 else
99090 # Is the header compilable?
99091 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
99092 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
99093 cat >conftest.$ac_ext <<_ACEOF
99094 /* confdefs.h. */
99095 _ACEOF
99096 cat confdefs.h >>conftest.$ac_ext
99097 cat >>conftest.$ac_ext <<_ACEOF
99098 /* end confdefs.h. */
99099 $ac_includes_default
99100 #include <langinfo.h>
99101 _ACEOF
99102 rm -f conftest.$ac_objext
99103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99104 (eval $ac_compile) 2>conftest.er1
99105 ac_status=$?
99106 grep -v '^ *+' conftest.er1 >conftest.err
99107 rm -f conftest.er1
99108 cat conftest.err >&5
99109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99110 (exit $ac_status); } &&
99111 { ac_try='test -z "$ac_c_werror_flag"
99112 || test ! -s conftest.err'
99113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99114 (eval $ac_try) 2>&5
99115 ac_status=$?
99116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99117 (exit $ac_status); }; } &&
99118 { ac_try='test -s conftest.$ac_objext'
99119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99120 (eval $ac_try) 2>&5
99121 ac_status=$?
99122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99123 (exit $ac_status); }; }; then
99124 ac_header_compiler=yes
99125 else
99126 echo "$as_me: failed program was:" >&5
99127 sed 's/^/| /' conftest.$ac_ext >&5
99129 ac_header_compiler=no
99131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99133 echo "${ECHO_T}$ac_header_compiler" >&6
99135 # Is the header present?
99136 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
99137 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
99138 cat >conftest.$ac_ext <<_ACEOF
99139 /* confdefs.h. */
99140 _ACEOF
99141 cat confdefs.h >>conftest.$ac_ext
99142 cat >>conftest.$ac_ext <<_ACEOF
99143 /* end confdefs.h. */
99144 #include <langinfo.h>
99145 _ACEOF
99146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99147 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99148 ac_status=$?
99149 grep -v '^ *+' conftest.er1 >conftest.err
99150 rm -f conftest.er1
99151 cat conftest.err >&5
99152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99153 (exit $ac_status); } >/dev/null; then
99154 if test -s conftest.err; then
99155 ac_cpp_err=$ac_c_preproc_warn_flag
99156 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99157 else
99158 ac_cpp_err=
99160 else
99161 ac_cpp_err=yes
99163 if test -z "$ac_cpp_err"; then
99164 ac_header_preproc=yes
99165 else
99166 echo "$as_me: failed program was:" >&5
99167 sed 's/^/| /' conftest.$ac_ext >&5
99169 ac_header_preproc=no
99171 rm -f conftest.err conftest.$ac_ext
99172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99173 echo "${ECHO_T}$ac_header_preproc" >&6
99175 # So? What about this header?
99176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99177 yes:no: )
99178 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
99179 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
99180 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
99181 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
99182 ac_header_preproc=yes
99184 no:yes:* )
99185 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
99186 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
99187 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
99188 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
99189 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
99190 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
99191 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
99192 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
99193 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
99194 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
99195 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
99196 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
99198 cat <<\_ASBOX
99199 ## ----------------------------------------- ##
99200 ## Report this to the package-unused lists. ##
99201 ## ----------------------------------------- ##
99202 _ASBOX
99204 sed "s/^/$as_me: WARNING: /" >&2
99206 esac
99207 echo "$as_me:$LINENO: checking for langinfo.h" >&5
99208 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
99209 if test "${ac_cv_header_langinfo_h+set}" = set; then
99210 echo $ECHO_N "(cached) $ECHO_C" >&6
99211 else
99212 ac_cv_header_langinfo_h=$ac_header_preproc
99214 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
99215 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
99218 if test $ac_cv_header_langinfo_h = yes; then
99219 ac_has_langinfo_h=yes
99220 else
99221 ac_has_langinfo_h=no
99226 # Check for existence of libiconv.a providing XPG2 wchar_t support.
99227 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
99228 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
99229 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
99230 echo $ECHO_N "(cached) $ECHO_C" >&6
99231 else
99232 ac_check_lib_save_LIBS=$LIBS
99233 LIBS="-liconv $LIBS"
99234 if test x$gcc_no_link = xyes; then
99235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99237 { (exit 1); exit 1; }; }
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. */
99246 /* Override any gcc2 internal prototype to avoid an error. */
99247 #ifdef __cplusplus
99248 extern "C"
99249 #endif
99250 /* We use char because int might match the return type of a gcc2
99251 builtin and then its argument prototype would still apply. */
99252 char iconv ();
99254 main ()
99256 iconv ();
99258 return 0;
99260 _ACEOF
99261 rm -f conftest.$ac_objext conftest$ac_exeext
99262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99263 (eval $ac_link) 2>conftest.er1
99264 ac_status=$?
99265 grep -v '^ *+' conftest.er1 >conftest.err
99266 rm -f conftest.er1
99267 cat conftest.err >&5
99268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99269 (exit $ac_status); } &&
99270 { ac_try='test -z "$ac_c_werror_flag"
99271 || test ! -s conftest.err'
99272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99273 (eval $ac_try) 2>&5
99274 ac_status=$?
99275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99276 (exit $ac_status); }; } &&
99277 { ac_try='test -s conftest$ac_exeext'
99278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99279 (eval $ac_try) 2>&5
99280 ac_status=$?
99281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99282 (exit $ac_status); }; }; then
99283 ac_cv_lib_iconv_iconv=yes
99284 else
99285 echo "$as_me: failed program was:" >&5
99286 sed 's/^/| /' conftest.$ac_ext >&5
99288 ac_cv_lib_iconv_iconv=no
99290 rm -f conftest.err conftest.$ac_objext \
99291 conftest$ac_exeext conftest.$ac_ext
99292 LIBS=$ac_check_lib_save_LIBS
99294 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
99295 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
99296 if test $ac_cv_lib_iconv_iconv = yes; then
99297 LIBICONV="-liconv"
99300 ac_save_LIBS="$LIBS"
99301 LIBS="$LIBS $LIBICONV"
99308 for ac_func in iconv_open iconv_close iconv nl_langinfo
99310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99311 echo "$as_me:$LINENO: checking for $ac_func" >&5
99312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99313 if eval "test \"\${$as_ac_var+set}\" = set"; then
99314 echo $ECHO_N "(cached) $ECHO_C" >&6
99315 else
99316 if test x$gcc_no_link = xyes; then
99317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99319 { (exit 1); exit 1; }; }
99321 cat >conftest.$ac_ext <<_ACEOF
99322 /* confdefs.h. */
99323 _ACEOF
99324 cat confdefs.h >>conftest.$ac_ext
99325 cat >>conftest.$ac_ext <<_ACEOF
99326 /* end confdefs.h. */
99327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99329 #define $ac_func innocuous_$ac_func
99331 /* System header to define __stub macros and hopefully few prototypes,
99332 which can conflict with char $ac_func (); below.
99333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99334 <limits.h> exists even on freestanding compilers. */
99336 #ifdef __STDC__
99337 # include <limits.h>
99338 #else
99339 # include <assert.h>
99340 #endif
99342 #undef $ac_func
99344 /* Override any gcc2 internal prototype to avoid an error. */
99345 #ifdef __cplusplus
99346 extern "C"
99348 #endif
99349 /* We use char because int might match the return type of a gcc2
99350 builtin and then its argument prototype would still apply. */
99351 char $ac_func ();
99352 /* The GNU C library defines this for functions which it implements
99353 to always fail with ENOSYS. Some functions are actually named
99354 something starting with __ and the normal name is an alias. */
99355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99356 choke me
99357 #else
99358 char (*f) () = $ac_func;
99359 #endif
99360 #ifdef __cplusplus
99362 #endif
99365 main ()
99367 return f != $ac_func;
99369 return 0;
99371 _ACEOF
99372 rm -f conftest.$ac_objext conftest$ac_exeext
99373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99374 (eval $ac_link) 2>conftest.er1
99375 ac_status=$?
99376 grep -v '^ *+' conftest.er1 >conftest.err
99377 rm -f conftest.er1
99378 cat conftest.err >&5
99379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99380 (exit $ac_status); } &&
99381 { ac_try='test -z "$ac_c_werror_flag"
99382 || test ! -s conftest.err'
99383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99384 (eval $ac_try) 2>&5
99385 ac_status=$?
99386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99387 (exit $ac_status); }; } &&
99388 { ac_try='test -s conftest$ac_exeext'
99389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99390 (eval $ac_try) 2>&5
99391 ac_status=$?
99392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99393 (exit $ac_status); }; }; then
99394 eval "$as_ac_var=yes"
99395 else
99396 echo "$as_me: failed program was:" >&5
99397 sed 's/^/| /' conftest.$ac_ext >&5
99399 eval "$as_ac_var=no"
99401 rm -f conftest.err conftest.$ac_objext \
99402 conftest$ac_exeext conftest.$ac_ext
99404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99406 if test `eval echo '${'$as_ac_var'}'` = yes; then
99407 cat >>confdefs.h <<_ACEOF
99408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99409 _ACEOF
99410 ac_XPG2funcs=yes
99411 else
99412 ac_XPG2funcs=no
99414 done
99417 LIBS="$ac_save_LIBS"
99419 if test x"$ac_has_iconv_h" = xyes &&
99420 test x"$ac_has_langinfo_h" = xyes &&
99421 test x"$ac_XPG2funcs" = xyes;
99422 then
99424 cat >>confdefs.h <<\_ACEOF
99425 #define _GLIBCXX_USE_ICONV 1
99426 _ACEOF
99428 enable_iconv=yes
99431 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
99432 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
99433 echo "$as_me:$LINENO: result: $enable_iconv" >&5
99434 echo "${ECHO_T}$enable_iconv" >&6
99437 ac_test_CXXFLAGS="${CXXFLAGS+set}"
99438 ac_save_CXXFLAGS="$CXXFLAGS"
99439 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
99442 echo "$as_me:$LINENO: checking for strtold declaration" >&5
99443 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
99444 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
99445 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
99446 echo $ECHO_N "(cached) $ECHO_C" >&6
99447 else
99451 ac_ext=cc
99452 ac_cpp='$CXXCPP $CPPFLAGS'
99453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99457 cat >conftest.$ac_ext <<_ACEOF
99458 /* confdefs.h. */
99459 _ACEOF
99460 cat confdefs.h >>conftest.$ac_ext
99461 cat >>conftest.$ac_ext <<_ACEOF
99462 /* end confdefs.h. */
99463 #include <stdlib.h>
99465 main ()
99467 strtold(0, 0);
99469 return 0;
99471 _ACEOF
99472 rm -f conftest.$ac_objext
99473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99474 (eval $ac_compile) 2>conftest.er1
99475 ac_status=$?
99476 grep -v '^ *+' conftest.er1 >conftest.err
99477 rm -f conftest.er1
99478 cat conftest.err >&5
99479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99480 (exit $ac_status); } &&
99481 { ac_try='test -z "$ac_cxx_werror_flag"
99482 || test ! -s conftest.err'
99483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99484 (eval $ac_try) 2>&5
99485 ac_status=$?
99486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99487 (exit $ac_status); }; } &&
99488 { ac_try='test -s conftest.$ac_objext'
99489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99490 (eval $ac_try) 2>&5
99491 ac_status=$?
99492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99493 (exit $ac_status); }; }; then
99494 glibcxx_cv_func_strtold_use=yes
99495 else
99496 echo "$as_me: failed program was:" >&5
99497 sed 's/^/| /' conftest.$ac_ext >&5
99499 glibcxx_cv_func_strtold_use=no
99501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99502 ac_ext=c
99503 ac_cpp='$CPP $CPPFLAGS'
99504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
99513 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
99514 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
99516 for ac_func in strtold
99518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99519 echo "$as_me:$LINENO: checking for $ac_func" >&5
99520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99521 if eval "test \"\${$as_ac_var+set}\" = set"; then
99522 echo $ECHO_N "(cached) $ECHO_C" >&6
99523 else
99524 if test x$gcc_no_link = xyes; then
99525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99527 { (exit 1); exit 1; }; }
99529 cat >conftest.$ac_ext <<_ACEOF
99530 /* confdefs.h. */
99531 _ACEOF
99532 cat confdefs.h >>conftest.$ac_ext
99533 cat >>conftest.$ac_ext <<_ACEOF
99534 /* end confdefs.h. */
99535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99537 #define $ac_func innocuous_$ac_func
99539 /* System header to define __stub macros and hopefully few prototypes,
99540 which can conflict with char $ac_func (); below.
99541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99542 <limits.h> exists even on freestanding compilers. */
99544 #ifdef __STDC__
99545 # include <limits.h>
99546 #else
99547 # include <assert.h>
99548 #endif
99550 #undef $ac_func
99552 /* Override any gcc2 internal prototype to avoid an error. */
99553 #ifdef __cplusplus
99554 extern "C"
99556 #endif
99557 /* We use char because int might match the return type of a gcc2
99558 builtin and then its argument prototype would still apply. */
99559 char $ac_func ();
99560 /* The GNU C library defines this for functions which it implements
99561 to always fail with ENOSYS. Some functions are actually named
99562 something starting with __ and the normal name is an alias. */
99563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99564 choke me
99565 #else
99566 char (*f) () = $ac_func;
99567 #endif
99568 #ifdef __cplusplus
99570 #endif
99573 main ()
99575 return f != $ac_func;
99577 return 0;
99579 _ACEOF
99580 rm -f conftest.$ac_objext conftest$ac_exeext
99581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99582 (eval $ac_link) 2>conftest.er1
99583 ac_status=$?
99584 grep -v '^ *+' conftest.er1 >conftest.err
99585 rm -f conftest.er1
99586 cat conftest.err >&5
99587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99588 (exit $ac_status); } &&
99589 { ac_try='test -z "$ac_c_werror_flag"
99590 || test ! -s conftest.err'
99591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99592 (eval $ac_try) 2>&5
99593 ac_status=$?
99594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99595 (exit $ac_status); }; } &&
99596 { ac_try='test -s conftest$ac_exeext'
99597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99598 (eval $ac_try) 2>&5
99599 ac_status=$?
99600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99601 (exit $ac_status); }; }; then
99602 eval "$as_ac_var=yes"
99603 else
99604 echo "$as_me: failed program was:" >&5
99605 sed 's/^/| /' conftest.$ac_ext >&5
99607 eval "$as_ac_var=no"
99609 rm -f conftest.err conftest.$ac_objext \
99610 conftest$ac_exeext conftest.$ac_ext
99612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99614 if test `eval echo '${'$as_ac_var'}'` = yes; then
99615 cat >>confdefs.h <<_ACEOF
99616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99617 _ACEOF
99620 done
99628 echo "$as_me:$LINENO: checking for strtof declaration" >&5
99629 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
99630 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
99631 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
99632 echo $ECHO_N "(cached) $ECHO_C" >&6
99633 else
99637 ac_ext=cc
99638 ac_cpp='$CXXCPP $CPPFLAGS'
99639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99643 cat >conftest.$ac_ext <<_ACEOF
99644 /* confdefs.h. */
99645 _ACEOF
99646 cat confdefs.h >>conftest.$ac_ext
99647 cat >>conftest.$ac_ext <<_ACEOF
99648 /* end confdefs.h. */
99649 #include <stdlib.h>
99651 main ()
99653 strtof(0, 0);
99655 return 0;
99657 _ACEOF
99658 rm -f conftest.$ac_objext
99659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99660 (eval $ac_compile) 2>conftest.er1
99661 ac_status=$?
99662 grep -v '^ *+' conftest.er1 >conftest.err
99663 rm -f conftest.er1
99664 cat conftest.err >&5
99665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99666 (exit $ac_status); } &&
99667 { ac_try='test -z "$ac_cxx_werror_flag"
99668 || test ! -s conftest.err'
99669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99670 (eval $ac_try) 2>&5
99671 ac_status=$?
99672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99673 (exit $ac_status); }; } &&
99674 { ac_try='test -s conftest.$ac_objext'
99675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99676 (eval $ac_try) 2>&5
99677 ac_status=$?
99678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99679 (exit $ac_status); }; }; then
99680 glibcxx_cv_func_strtof_use=yes
99681 else
99682 echo "$as_me: failed program was:" >&5
99683 sed 's/^/| /' conftest.$ac_ext >&5
99685 glibcxx_cv_func_strtof_use=no
99687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99688 ac_ext=c
99689 ac_cpp='$CPP $CPPFLAGS'
99690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99698 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
99699 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
99700 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
99702 for ac_func in strtof
99704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99705 echo "$as_me:$LINENO: checking for $ac_func" >&5
99706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99707 if eval "test \"\${$as_ac_var+set}\" = set"; then
99708 echo $ECHO_N "(cached) $ECHO_C" >&6
99709 else
99710 if test x$gcc_no_link = xyes; then
99711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99713 { (exit 1); exit 1; }; }
99715 cat >conftest.$ac_ext <<_ACEOF
99716 /* confdefs.h. */
99717 _ACEOF
99718 cat confdefs.h >>conftest.$ac_ext
99719 cat >>conftest.$ac_ext <<_ACEOF
99720 /* end confdefs.h. */
99721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99723 #define $ac_func innocuous_$ac_func
99725 /* System header to define __stub macros and hopefully few prototypes,
99726 which can conflict with char $ac_func (); below.
99727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99728 <limits.h> exists even on freestanding compilers. */
99730 #ifdef __STDC__
99731 # include <limits.h>
99732 #else
99733 # include <assert.h>
99734 #endif
99736 #undef $ac_func
99738 /* Override any gcc2 internal prototype to avoid an error. */
99739 #ifdef __cplusplus
99740 extern "C"
99742 #endif
99743 /* We use char because int might match the return type of a gcc2
99744 builtin and then its argument prototype would still apply. */
99745 char $ac_func ();
99746 /* The GNU C library defines this for functions which it implements
99747 to always fail with ENOSYS. Some functions are actually named
99748 something starting with __ and the normal name is an alias. */
99749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99750 choke me
99751 #else
99752 char (*f) () = $ac_func;
99753 #endif
99754 #ifdef __cplusplus
99756 #endif
99759 main ()
99761 return f != $ac_func;
99763 return 0;
99765 _ACEOF
99766 rm -f conftest.$ac_objext conftest$ac_exeext
99767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99768 (eval $ac_link) 2>conftest.er1
99769 ac_status=$?
99770 grep -v '^ *+' conftest.er1 >conftest.err
99771 rm -f conftest.er1
99772 cat conftest.err >&5
99773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99774 (exit $ac_status); } &&
99775 { ac_try='test -z "$ac_c_werror_flag"
99776 || test ! -s conftest.err'
99777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99778 (eval $ac_try) 2>&5
99779 ac_status=$?
99780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99781 (exit $ac_status); }; } &&
99782 { ac_try='test -s conftest$ac_exeext'
99783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99784 (eval $ac_try) 2>&5
99785 ac_status=$?
99786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99787 (exit $ac_status); }; }; then
99788 eval "$as_ac_var=yes"
99789 else
99790 echo "$as_me: failed program was:" >&5
99791 sed 's/^/| /' conftest.$ac_ext >&5
99793 eval "$as_ac_var=no"
99795 rm -f conftest.err conftest.$ac_objext \
99796 conftest$ac_exeext conftest.$ac_ext
99798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99800 if test `eval echo '${'$as_ac_var'}'` = yes; then
99801 cat >>confdefs.h <<_ACEOF
99802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99803 _ACEOF
99806 done
99814 CXXFLAGS="$ac_save_CXXFLAGS"
99817 # For LFS.
99818 cat >>confdefs.h <<\_ACEOF
99819 #define HAVE_INT64_T 1
99820 _ACEOF
99822 case "$target" in
99823 *-uclinux*)
99824 # Don't enable LFS with uClibc
99827 cat >>confdefs.h <<\_ACEOF
99828 #define _GLIBCXX_USE_LFS 1
99829 _ACEOF
99831 esac
99833 # For showmanyc_helper().
99836 for ac_header in sys/ioctl.h sys/filio.h
99838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99840 echo "$as_me:$LINENO: checking for $ac_header" >&5
99841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99843 echo $ECHO_N "(cached) $ECHO_C" >&6
99845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99847 else
99848 # Is the header compilable?
99849 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99851 cat >conftest.$ac_ext <<_ACEOF
99852 /* confdefs.h. */
99853 _ACEOF
99854 cat confdefs.h >>conftest.$ac_ext
99855 cat >>conftest.$ac_ext <<_ACEOF
99856 /* end confdefs.h. */
99857 $ac_includes_default
99858 #include <$ac_header>
99859 _ACEOF
99860 rm -f conftest.$ac_objext
99861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99862 (eval $ac_compile) 2>conftest.er1
99863 ac_status=$?
99864 grep -v '^ *+' conftest.er1 >conftest.err
99865 rm -f conftest.er1
99866 cat conftest.err >&5
99867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99868 (exit $ac_status); } &&
99869 { ac_try='test -z "$ac_c_werror_flag"
99870 || test ! -s conftest.err'
99871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99872 (eval $ac_try) 2>&5
99873 ac_status=$?
99874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99875 (exit $ac_status); }; } &&
99876 { ac_try='test -s conftest.$ac_objext'
99877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99878 (eval $ac_try) 2>&5
99879 ac_status=$?
99880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99881 (exit $ac_status); }; }; then
99882 ac_header_compiler=yes
99883 else
99884 echo "$as_me: failed program was:" >&5
99885 sed 's/^/| /' conftest.$ac_ext >&5
99887 ac_header_compiler=no
99889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99890 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99891 echo "${ECHO_T}$ac_header_compiler" >&6
99893 # Is the header present?
99894 echo "$as_me:$LINENO: checking $ac_header presence" >&5
99895 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
99896 cat >conftest.$ac_ext <<_ACEOF
99897 /* confdefs.h. */
99898 _ACEOF
99899 cat confdefs.h >>conftest.$ac_ext
99900 cat >>conftest.$ac_ext <<_ACEOF
99901 /* end confdefs.h. */
99902 #include <$ac_header>
99903 _ACEOF
99904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99906 ac_status=$?
99907 grep -v '^ *+' conftest.er1 >conftest.err
99908 rm -f conftest.er1
99909 cat conftest.err >&5
99910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99911 (exit $ac_status); } >/dev/null; then
99912 if test -s conftest.err; then
99913 ac_cpp_err=$ac_c_preproc_warn_flag
99914 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99915 else
99916 ac_cpp_err=
99918 else
99919 ac_cpp_err=yes
99921 if test -z "$ac_cpp_err"; then
99922 ac_header_preproc=yes
99923 else
99924 echo "$as_me: failed program was:" >&5
99925 sed 's/^/| /' conftest.$ac_ext >&5
99927 ac_header_preproc=no
99929 rm -f conftest.err conftest.$ac_ext
99930 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99931 echo "${ECHO_T}$ac_header_preproc" >&6
99933 # So? What about this header?
99934 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99935 yes:no: )
99936 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
99937 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
99938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
99939 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
99940 ac_header_preproc=yes
99942 no:yes:* )
99943 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
99944 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
99945 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
99946 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
99947 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
99948 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
99949 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
99950 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
99951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
99952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
99953 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
99954 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
99956 cat <<\_ASBOX
99957 ## ----------------------------------------- ##
99958 ## Report this to the package-unused lists. ##
99959 ## ----------------------------------------- ##
99960 _ASBOX
99962 sed "s/^/$as_me: WARNING: /" >&2
99964 esac
99965 echo "$as_me:$LINENO: checking for $ac_header" >&5
99966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99968 echo $ECHO_N "(cached) $ECHO_C" >&6
99969 else
99970 eval "$as_ac_Header=\$ac_header_preproc"
99972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99976 if test `eval echo '${'$as_ac_Header'}'` = yes; then
99977 cat >>confdefs.h <<_ACEOF
99978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
99979 _ACEOF
99983 done
99986 echo "$as_me:$LINENO: checking for poll" >&5
99987 echo $ECHO_N "checking for poll... $ECHO_C" >&6
99988 if test "${glibcxx_cv_POLL+set}" = set; then
99989 echo $ECHO_N "(cached) $ECHO_C" >&6
99990 else
99992 if test x$gcc_no_link = xyes; then
99993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99995 { (exit 1); exit 1; }; }
99997 cat >conftest.$ac_ext <<_ACEOF
99998 /* confdefs.h. */
99999 _ACEOF
100000 cat confdefs.h >>conftest.$ac_ext
100001 cat >>conftest.$ac_ext <<_ACEOF
100002 /* end confdefs.h. */
100003 #include <poll.h>
100005 main ()
100007 struct pollfd pfd[1];
100008 pfd[0].events = POLLIN;
100009 poll(pfd, 1, 0);
100011 return 0;
100013 _ACEOF
100014 rm -f conftest.$ac_objext conftest$ac_exeext
100015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100016 (eval $ac_link) 2>conftest.er1
100017 ac_status=$?
100018 grep -v '^ *+' conftest.er1 >conftest.err
100019 rm -f conftest.er1
100020 cat conftest.err >&5
100021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100022 (exit $ac_status); } &&
100023 { ac_try='test -z "$ac_c_werror_flag"
100024 || test ! -s conftest.err'
100025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100026 (eval $ac_try) 2>&5
100027 ac_status=$?
100028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100029 (exit $ac_status); }; } &&
100030 { ac_try='test -s conftest$ac_exeext'
100031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100032 (eval $ac_try) 2>&5
100033 ac_status=$?
100034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100035 (exit $ac_status); }; }; then
100036 glibcxx_cv_POLL=yes
100038 echo "$as_me: failed program was:" >&5
100039 sed 's/^/| /' conftest.$ac_ext >&5
100041 glibcxx_cv_POLL=no
100043 rm -f conftest.err conftest.$ac_objext \
100044 conftest$ac_exeext conftest.$ac_ext
100048 if test $glibcxx_cv_POLL = yes; then
100050 cat >>confdefs.h <<\_ACEOF
100051 #define HAVE_POLL 1
100052 _ACEOF
100055 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
100056 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
100059 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
100060 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
100061 if test "${glibcxx_cv_S_ISREG+set}" = set; then
100062 echo $ECHO_N "(cached) $ECHO_C" >&6
100065 if test x$gcc_no_link = xyes; then
100066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100068 { (exit 1); exit 1; }; }
100070 cat >conftest.$ac_ext <<_ACEOF
100071 /* confdefs.h. */
100072 _ACEOF
100073 cat confdefs.h >>conftest.$ac_ext
100074 cat >>conftest.$ac_ext <<_ACEOF
100075 /* end confdefs.h. */
100076 #include <sys/stat.h>
100078 main ()
100080 struct stat buffer;
100081 fstat(0, &buffer);
100082 S_ISREG(buffer.st_mode);
100084 return 0;
100086 _ACEOF
100087 rm -f conftest.$ac_objext conftest$ac_exeext
100088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100089 (eval $ac_link) 2>conftest.er1
100090 ac_status=$?
100091 grep -v '^ *+' conftest.er1 >conftest.err
100092 rm -f conftest.er1
100093 cat conftest.err >&5
100094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100095 (exit $ac_status); } &&
100096 { ac_try='test -z "$ac_c_werror_flag"
100097 || test ! -s conftest.err'
100098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100099 (eval $ac_try) 2>&5
100100 ac_status=$?
100101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100102 (exit $ac_status); }; } &&
100103 { ac_try='test -s conftest$ac_exeext'
100104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100105 (eval $ac_try) 2>&5
100106 ac_status=$?
100107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100108 (exit $ac_status); }; }; then
100109 glibcxx_cv_S_ISREG=yes
100111 echo "$as_me: failed program was:" >&5
100112 sed 's/^/| /' conftest.$ac_ext >&5
100114 glibcxx_cv_S_ISREG=no
100116 rm -f conftest.err conftest.$ac_objext \
100117 conftest$ac_exeext conftest.$ac_ext
100121 if test "${glibcxx_cv_S_IFREG+set}" = set; then
100122 echo $ECHO_N "(cached) $ECHO_C" >&6
100125 if test x$gcc_no_link = xyes; then
100126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100128 { (exit 1); exit 1; }; }
100130 cat >conftest.$ac_ext <<_ACEOF
100131 /* confdefs.h. */
100132 _ACEOF
100133 cat confdefs.h >>conftest.$ac_ext
100134 cat >>conftest.$ac_ext <<_ACEOF
100135 /* end confdefs.h. */
100136 #include <sys/stat.h>
100138 main ()
100140 struct stat buffer;
100141 fstat(0, &buffer);
100142 S_IFREG & buffer.st_mode;
100144 return 0;
100146 _ACEOF
100147 rm -f conftest.$ac_objext conftest$ac_exeext
100148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100149 (eval $ac_link) 2>conftest.er1
100150 ac_status=$?
100151 grep -v '^ *+' conftest.er1 >conftest.err
100152 rm -f conftest.er1
100153 cat conftest.err >&5
100154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100155 (exit $ac_status); } &&
100156 { ac_try='test -z "$ac_c_werror_flag"
100157 || test ! -s conftest.err'
100158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100159 (eval $ac_try) 2>&5
100160 ac_status=$?
100161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100162 (exit $ac_status); }; } &&
100163 { ac_try='test -s conftest$ac_exeext'
100164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100165 (eval $ac_try) 2>&5
100166 ac_status=$?
100167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100168 (exit $ac_status); }; }; then
100169 glibcxx_cv_S_IFREG=yes
100171 echo "$as_me: failed program was:" >&5
100172 sed 's/^/| /' conftest.$ac_ext >&5
100174 glibcxx_cv_S_IFREG=no
100176 rm -f conftest.err conftest.$ac_objext \
100177 conftest$ac_exeext conftest.$ac_ext
100181 res=no
100182 if test $glibcxx_cv_S_ISREG = yes; then
100184 cat >>confdefs.h <<\_ACEOF
100185 #define HAVE_S_ISREG 1
100186 _ACEOF
100188 res=S_ISREG
100189 elif test $glibcxx_cv_S_IFREG = yes; then
100191 cat >>confdefs.h <<\_ACEOF
100192 #define HAVE_S_IFREG 1
100193 _ACEOF
100195 res=S_IFREG
100197 echo "$as_me:$LINENO: result: $res" >&5
100198 echo "${ECHO_T}$res" >&6
100201 # For xsputn_2().
100203 for ac_header in sys/uio.h
100205 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100207 echo "$as_me:$LINENO: checking for $ac_header" >&5
100208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100210 echo $ECHO_N "(cached) $ECHO_C" >&6
100212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100215 # Is the header compilable?
100216 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100218 cat >conftest.$ac_ext <<_ACEOF
100219 /* confdefs.h. */
100220 _ACEOF
100221 cat confdefs.h >>conftest.$ac_ext
100222 cat >>conftest.$ac_ext <<_ACEOF
100223 /* end confdefs.h. */
100224 $ac_includes_default
100225 #include <$ac_header>
100226 _ACEOF
100227 rm -f conftest.$ac_objext
100228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100229 (eval $ac_compile) 2>conftest.er1
100230 ac_status=$?
100231 grep -v '^ *+' conftest.er1 >conftest.err
100232 rm -f conftest.er1
100233 cat conftest.err >&5
100234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100235 (exit $ac_status); } &&
100236 { ac_try='test -z "$ac_c_werror_flag"
100237 || test ! -s conftest.err'
100238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100239 (eval $ac_try) 2>&5
100240 ac_status=$?
100241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100242 (exit $ac_status); }; } &&
100243 { ac_try='test -s conftest.$ac_objext'
100244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100245 (eval $ac_try) 2>&5
100246 ac_status=$?
100247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100248 (exit $ac_status); }; }; then
100249 ac_header_compiler=yes
100251 echo "$as_me: failed program was:" >&5
100252 sed 's/^/| /' conftest.$ac_ext >&5
100254 ac_header_compiler=no
100256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100258 echo "${ECHO_T}$ac_header_compiler" >&6
100260 # Is the header present?
100261 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100263 cat >conftest.$ac_ext <<_ACEOF
100264 /* confdefs.h. */
100265 _ACEOF
100266 cat confdefs.h >>conftest.$ac_ext
100267 cat >>conftest.$ac_ext <<_ACEOF
100268 /* end confdefs.h. */
100269 #include <$ac_header>
100270 _ACEOF
100271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100273 ac_status=$?
100274 grep -v '^ *+' conftest.er1 >conftest.err
100275 rm -f conftest.er1
100276 cat conftest.err >&5
100277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100278 (exit $ac_status); } >/dev/null; then
100279 if test -s conftest.err; then
100280 ac_cpp_err=$ac_c_preproc_warn_flag
100281 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100283 ac_cpp_err=
100286 ac_cpp_err=yes
100288 if test -z "$ac_cpp_err"; then
100289 ac_header_preproc=yes
100291 echo "$as_me: failed program was:" >&5
100292 sed 's/^/| /' conftest.$ac_ext >&5
100294 ac_header_preproc=no
100296 rm -f conftest.err conftest.$ac_ext
100297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100298 echo "${ECHO_T}$ac_header_preproc" >&6
100300 # So? What about this header?
100301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100302 yes:no: )
100303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100307 ac_header_preproc=yes
100309 no:yes:* )
100310 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100312 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100314 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100316 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100317 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100320 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100323 cat <<\_ASBOX
100324 ## ----------------------------------------- ##
100325 ## Report this to the package-unused lists. ##
100326 ## ----------------------------------------- ##
100327 _ASBOX
100329 sed "s/^/$as_me: WARNING: /" >&2
100332 echo "$as_me:$LINENO: checking for $ac_header" >&5
100333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100335 echo $ECHO_N "(cached) $ECHO_C" >&6
100337 eval "$as_ac_Header=\$ac_header_preproc"
100339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100344 cat >>confdefs.h <<_ACEOF
100345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100346 _ACEOF
100353 echo "$as_me:$LINENO: checking for writev" >&5
100354 echo $ECHO_N "checking for writev... $ECHO_C" >&6
100355 if test "${glibcxx_cv_WRITEV+set}" = set; then
100356 echo $ECHO_N "(cached) $ECHO_C" >&6
100359 if test x$gcc_no_link = xyes; then
100360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100362 { (exit 1); exit 1; }; }
100364 cat >conftest.$ac_ext <<_ACEOF
100365 /* confdefs.h. */
100366 _ACEOF
100367 cat confdefs.h >>conftest.$ac_ext
100368 cat >>conftest.$ac_ext <<_ACEOF
100369 /* end confdefs.h. */
100370 #include <sys/uio.h>
100372 main ()
100374 struct iovec iov[2];
100375 writev(0, iov, 0);
100377 return 0;
100379 _ACEOF
100380 rm -f conftest.$ac_objext conftest$ac_exeext
100381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100382 (eval $ac_link) 2>conftest.er1
100383 ac_status=$?
100384 grep -v '^ *+' conftest.er1 >conftest.err
100385 rm -f conftest.er1
100386 cat conftest.err >&5
100387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100388 (exit $ac_status); } &&
100389 { ac_try='test -z "$ac_c_werror_flag"
100390 || test ! -s conftest.err'
100391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100392 (eval $ac_try) 2>&5
100393 ac_status=$?
100394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100395 (exit $ac_status); }; } &&
100396 { ac_try='test -s conftest$ac_exeext'
100397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100398 (eval $ac_try) 2>&5
100399 ac_status=$?
100400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100401 (exit $ac_status); }; }; then
100402 glibcxx_cv_WRITEV=yes
100404 echo "$as_me: failed program was:" >&5
100405 sed 's/^/| /' conftest.$ac_ext >&5
100407 glibcxx_cv_WRITEV=no
100409 rm -f conftest.err conftest.$ac_objext \
100410 conftest$ac_exeext conftest.$ac_ext
100414 if test $glibcxx_cv_WRITEV = yes; then
100416 cat >>confdefs.h <<\_ACEOF
100417 #define HAVE_WRITEV 1
100418 _ACEOF
100421 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
100422 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
100425 *-mingw32*)
100429 for ac_header in sys/types.h locale.h float.h
100431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100433 echo "$as_me:$LINENO: checking for $ac_header" >&5
100434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100436 echo $ECHO_N "(cached) $ECHO_C" >&6
100438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100441 # Is the header compilable?
100442 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100443 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100444 cat >conftest.$ac_ext <<_ACEOF
100445 /* confdefs.h. */
100446 _ACEOF
100447 cat confdefs.h >>conftest.$ac_ext
100448 cat >>conftest.$ac_ext <<_ACEOF
100449 /* end confdefs.h. */
100450 $ac_includes_default
100451 #include <$ac_header>
100452 _ACEOF
100453 rm -f conftest.$ac_objext
100454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100455 (eval $ac_compile) 2>conftest.er1
100456 ac_status=$?
100457 grep -v '^ *+' conftest.er1 >conftest.err
100458 rm -f conftest.er1
100459 cat conftest.err >&5
100460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100461 (exit $ac_status); } &&
100462 { ac_try='test -z "$ac_c_werror_flag"
100463 || test ! -s conftest.err'
100464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100465 (eval $ac_try) 2>&5
100466 ac_status=$?
100467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100468 (exit $ac_status); }; } &&
100469 { ac_try='test -s conftest.$ac_objext'
100470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100471 (eval $ac_try) 2>&5
100472 ac_status=$?
100473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100474 (exit $ac_status); }; }; then
100475 ac_header_compiler=yes
100477 echo "$as_me: failed program was:" >&5
100478 sed 's/^/| /' conftest.$ac_ext >&5
100480 ac_header_compiler=no
100482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100484 echo "${ECHO_T}$ac_header_compiler" >&6
100486 # Is the header present?
100487 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100489 cat >conftest.$ac_ext <<_ACEOF
100490 /* confdefs.h. */
100491 _ACEOF
100492 cat confdefs.h >>conftest.$ac_ext
100493 cat >>conftest.$ac_ext <<_ACEOF
100494 /* end confdefs.h. */
100495 #include <$ac_header>
100496 _ACEOF
100497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100498 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100499 ac_status=$?
100500 grep -v '^ *+' conftest.er1 >conftest.err
100501 rm -f conftest.er1
100502 cat conftest.err >&5
100503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100504 (exit $ac_status); } >/dev/null; then
100505 if test -s conftest.err; then
100506 ac_cpp_err=$ac_c_preproc_warn_flag
100507 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100509 ac_cpp_err=
100512 ac_cpp_err=yes
100514 if test -z "$ac_cpp_err"; then
100515 ac_header_preproc=yes
100517 echo "$as_me: failed program was:" >&5
100518 sed 's/^/| /' conftest.$ac_ext >&5
100520 ac_header_preproc=no
100522 rm -f conftest.err conftest.$ac_ext
100523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100524 echo "${ECHO_T}$ac_header_preproc" >&6
100526 # So? What about this header?
100527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100528 yes:no: )
100529 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100530 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100532 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100533 ac_header_preproc=yes
100535 no:yes:* )
100536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100537 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100539 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100540 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100541 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100542 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100543 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100546 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100547 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100549 cat <<\_ASBOX
100550 ## ----------------------------------------- ##
100551 ## Report this to the package-unused lists. ##
100552 ## ----------------------------------------- ##
100553 _ASBOX
100555 sed "s/^/$as_me: WARNING: /" >&2
100558 echo "$as_me:$LINENO: checking for $ac_header" >&5
100559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100561 echo $ECHO_N "(cached) $ECHO_C" >&6
100563 eval "$as_ac_Header=\$ac_header_preproc"
100565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100570 cat >>confdefs.h <<_ACEOF
100571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100572 _ACEOF
100579 # If we're not using GNU ld, then there's no point in even trying these
100580 # tests. Check for that first. We should have already tested for gld
100581 # by now (in libtool), but require it now just to be safe...
100582 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100583 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100587 # The name set by libtool depends on the version of libtool. Shame on us
100588 # for depending on an impl detail, but c'est la vie. Older versions used
100589 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100590 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100591 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
100592 # set (hence we're using an older libtool), then set it.
100593 if test x${with_gnu_ld+set} != xset; then
100594 if test x${ac_cv_prog_gnu_ld+set} != xset; then
100595 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
100596 with_gnu_ld=no
100598 with_gnu_ld=$ac_cv_prog_gnu_ld
100602 # Start by getting the version number. I think the libtool test already
100603 # does some of this, but throws away the result.
100604 echo "$as_me:$LINENO: checking for ld version" >&5
100605 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100607 ldver=`$LD --version 2>/dev/null | head -1 | \
100608 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
100610 glibcxx_gnu_ld_version=`echo $ldver | \
100611 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100612 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100613 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100615 # Set --gc-sections.
100616 glibcxx_gcsections_min_ld=21602
100617 if test x"$with_gnu_ld" = x"yes" &&
100618 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100620 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
100621 # NB: This flag only works reliably after 2.16.1. Configure tests
100622 # for this are difficult, so hard wire a value that should work.
100624 # All these tests are for C++, but run with the "C" compiler driver.
100625 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
100626 ac_test_CFLAGS="${CFLAGS+set}"
100627 ac_save_CFLAGS="$CFLAGS"
100628 CFLAGS='-x c++ -Wl,--gc-sections'
100630 # Check for -Wl,--gc-sections
100631 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100632 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100633 if test x$gcc_no_link = xyes; then
100634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100636 { (exit 1); exit 1; }; }
100638 cat >conftest.$ac_ext <<_ACEOF
100639 /* confdefs.h. */
100640 _ACEOF
100641 cat confdefs.h >>conftest.$ac_ext
100642 cat >>conftest.$ac_ext <<_ACEOF
100643 /* end confdefs.h. */
100644 int one(void) { return 1; }
100645 int two(void) { return 2; }
100648 main ()
100650 two();
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 ac_gcsections=yes
100679 echo "$as_me: failed program was:" >&5
100680 sed 's/^/| /' conftest.$ac_ext >&5
100682 ac_gcsections=no
100684 rm -f conftest.err conftest.$ac_objext \
100685 conftest$ac_exeext conftest.$ac_ext
100686 if test "$ac_gcsections" = "yes"; then
100687 rm -f conftest.c
100688 touch conftest.c
100689 if $CC -c conftest.c; then
100690 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100691 grep "Warning: gc-sections option ignored" > /dev/null; then
100692 ac_gcsections=no
100695 rm -f conftest.c conftest.o conftest
100697 if test "$ac_gcsections" = "yes"; then
100698 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100700 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100701 echo "${ECHO_T}$ac_gcsections" >&6
100703 if test "$ac_test_CFLAGS" = set; then
100704 CFLAGS="$ac_save_CFLAGS"
100706 # this is the suspicious part
100707 CFLAGS=''
100711 # Set -z,relro.
100712 # Note this is only for shared objects.
100713 ac_ld_relro=no
100714 if test x"$with_gnu_ld" = x"yes"; then
100715 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100716 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100717 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100718 if test -n "$cxx_z_relo"; then
100719 OPT_LDFLAGS="-Wl,-z,relro"
100720 ac_ld_relro=yes
100722 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100723 echo "${ECHO_T}$ac_ld_relro" >&6
100726 # Set linker optimization flags.
100727 if test x"$with_gnu_ld" = x"yes"; then
100728 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100736 echo "$as_me:$LINENO: checking for main in -lm" >&5
100737 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100738 if test "${ac_cv_lib_m_main+set}" = set; then
100739 echo $ECHO_N "(cached) $ECHO_C" >&6
100741 ac_check_lib_save_LIBS=$LIBS
100742 LIBS="-lm $LIBS"
100743 if test x$gcc_no_link = xyes; then
100744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100746 { (exit 1); exit 1; }; }
100748 cat >conftest.$ac_ext <<_ACEOF
100749 /* confdefs.h. */
100750 _ACEOF
100751 cat confdefs.h >>conftest.$ac_ext
100752 cat >>conftest.$ac_ext <<_ACEOF
100753 /* end confdefs.h. */
100757 main ()
100759 main ();
100761 return 0;
100763 _ACEOF
100764 rm -f conftest.$ac_objext conftest$ac_exeext
100765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100766 (eval $ac_link) 2>conftest.er1
100767 ac_status=$?
100768 grep -v '^ *+' conftest.er1 >conftest.err
100769 rm -f conftest.er1
100770 cat conftest.err >&5
100771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100772 (exit $ac_status); } &&
100773 { ac_try='test -z "$ac_c_werror_flag"
100774 || test ! -s conftest.err'
100775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100776 (eval $ac_try) 2>&5
100777 ac_status=$?
100778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100779 (exit $ac_status); }; } &&
100780 { ac_try='test -s conftest$ac_exeext'
100781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100782 (eval $ac_try) 2>&5
100783 ac_status=$?
100784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100785 (exit $ac_status); }; }; then
100786 ac_cv_lib_m_main=yes
100788 echo "$as_me: failed program was:" >&5
100789 sed 's/^/| /' conftest.$ac_ext >&5
100791 ac_cv_lib_m_main=no
100793 rm -f conftest.err conftest.$ac_objext \
100794 conftest$ac_exeext conftest.$ac_ext
100795 LIBS=$ac_check_lib_save_LIBS
100797 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100798 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100799 if test $ac_cv_lib_m_main = yes; then
100800 cat >>confdefs.h <<_ACEOF
100801 #define HAVE_LIBM 1
100802 _ACEOF
100804 LIBS="-lm $LIBS"
100809 for ac_func in copysignf
100811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100812 echo "$as_me:$LINENO: checking for $ac_func" >&5
100813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100814 if eval "test \"\${$as_ac_var+set}\" = set"; then
100815 echo $ECHO_N "(cached) $ECHO_C" >&6
100817 if test x$gcc_no_link = xyes; then
100818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100820 { (exit 1); exit 1; }; }
100822 cat >conftest.$ac_ext <<_ACEOF
100823 /* confdefs.h. */
100824 _ACEOF
100825 cat confdefs.h >>conftest.$ac_ext
100826 cat >>conftest.$ac_ext <<_ACEOF
100827 /* end confdefs.h. */
100828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100830 #define $ac_func innocuous_$ac_func
100832 /* System header to define __stub macros and hopefully few prototypes,
100833 which can conflict with char $ac_func (); below.
100834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100835 <limits.h> exists even on freestanding compilers. */
100837 #ifdef __STDC__
100838 # include <limits.h>
100839 #else
100840 # include <assert.h>
100841 #endif
100843 #undef $ac_func
100845 /* Override any gcc2 internal prototype to avoid an error. */
100846 #ifdef __cplusplus
100847 extern "C"
100849 #endif
100850 /* We use char because int might match the return type of a gcc2
100851 builtin and then its argument prototype would still apply. */
100852 char $ac_func ();
100853 /* The GNU C library defines this for functions which it implements
100854 to always fail with ENOSYS. Some functions are actually named
100855 something starting with __ and the normal name is an alias. */
100856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100857 choke me
100858 #else
100859 char (*f) () = $ac_func;
100860 #endif
100861 #ifdef __cplusplus
100863 #endif
100866 main ()
100868 return f != $ac_func;
100870 return 0;
100872 _ACEOF
100873 rm -f conftest.$ac_objext conftest$ac_exeext
100874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100875 (eval $ac_link) 2>conftest.er1
100876 ac_status=$?
100877 grep -v '^ *+' conftest.er1 >conftest.err
100878 rm -f conftest.er1
100879 cat conftest.err >&5
100880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100881 (exit $ac_status); } &&
100882 { ac_try='test -z "$ac_c_werror_flag"
100883 || test ! -s conftest.err'
100884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100885 (eval $ac_try) 2>&5
100886 ac_status=$?
100887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100888 (exit $ac_status); }; } &&
100889 { ac_try='test -s conftest$ac_exeext'
100890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100891 (eval $ac_try) 2>&5
100892 ac_status=$?
100893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100894 (exit $ac_status); }; }; then
100895 eval "$as_ac_var=yes"
100897 echo "$as_me: failed program was:" >&5
100898 sed 's/^/| /' conftest.$ac_ext >&5
100900 eval "$as_ac_var=no"
100902 rm -f conftest.err conftest.$ac_objext \
100903 conftest$ac_exeext conftest.$ac_ext
100905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100907 if test `eval echo '${'$as_ac_var'}'` = yes; then
100908 cat >>confdefs.h <<_ACEOF
100909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100910 _ACEOF
100913 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
100919 for ac_func in __signbit
100921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100922 echo "$as_me:$LINENO: checking for $ac_func" >&5
100923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100924 if eval "test \"\${$as_ac_var+set}\" = set"; then
100925 echo $ECHO_N "(cached) $ECHO_C" >&6
100927 if test x$gcc_no_link = xyes; then
100928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100930 { (exit 1); exit 1; }; }
100932 cat >conftest.$ac_ext <<_ACEOF
100933 /* confdefs.h. */
100934 _ACEOF
100935 cat confdefs.h >>conftest.$ac_ext
100936 cat >>conftest.$ac_ext <<_ACEOF
100937 /* end confdefs.h. */
100938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100940 #define $ac_func innocuous_$ac_func
100942 /* System header to define __stub macros and hopefully few prototypes,
100943 which can conflict with char $ac_func (); below.
100944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100945 <limits.h> exists even on freestanding compilers. */
100947 #ifdef __STDC__
100948 # include <limits.h>
100949 #else
100950 # include <assert.h>
100951 #endif
100953 #undef $ac_func
100955 /* Override any gcc2 internal prototype to avoid an error. */
100956 #ifdef __cplusplus
100957 extern "C"
100959 #endif
100960 /* We use char because int might match the return type of a gcc2
100961 builtin and then its argument prototype would still apply. */
100962 char $ac_func ();
100963 /* The GNU C library defines this for functions which it implements
100964 to always fail with ENOSYS. Some functions are actually named
100965 something starting with __ and the normal name is an alias. */
100966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100967 choke me
100968 #else
100969 char (*f) () = $ac_func;
100970 #endif
100971 #ifdef __cplusplus
100973 #endif
100976 main ()
100978 return f != $ac_func;
100980 return 0;
100982 _ACEOF
100983 rm -f conftest.$ac_objext conftest$ac_exeext
100984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100985 (eval $ac_link) 2>conftest.er1
100986 ac_status=$?
100987 grep -v '^ *+' conftest.er1 >conftest.err
100988 rm -f conftest.er1
100989 cat conftest.err >&5
100990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100991 (exit $ac_status); } &&
100992 { ac_try='test -z "$ac_c_werror_flag"
100993 || test ! -s conftest.err'
100994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100995 (eval $ac_try) 2>&5
100996 ac_status=$?
100997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100998 (exit $ac_status); }; } &&
100999 { ac_try='test -s conftest$ac_exeext'
101000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101001 (eval $ac_try) 2>&5
101002 ac_status=$?
101003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101004 (exit $ac_status); }; }; then
101005 eval "$as_ac_var=yes"
101007 echo "$as_me: failed program was:" >&5
101008 sed 's/^/| /' conftest.$ac_ext >&5
101010 eval "$as_ac_var=no"
101012 rm -f conftest.err conftest.$ac_objext \
101013 conftest$ac_exeext conftest.$ac_ext
101015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101017 if test `eval echo '${'$as_ac_var'}'` = yes; then
101018 cat >>confdefs.h <<_ACEOF
101019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101020 _ACEOF
101023 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101029 for ac_func in __signbitf
101031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101032 echo "$as_me:$LINENO: checking for $ac_func" >&5
101033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101034 if eval "test \"\${$as_ac_var+set}\" = set"; then
101035 echo $ECHO_N "(cached) $ECHO_C" >&6
101037 if test x$gcc_no_link = xyes; then
101038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101040 { (exit 1); exit 1; }; }
101042 cat >conftest.$ac_ext <<_ACEOF
101043 /* confdefs.h. */
101044 _ACEOF
101045 cat confdefs.h >>conftest.$ac_ext
101046 cat >>conftest.$ac_ext <<_ACEOF
101047 /* end confdefs.h. */
101048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101050 #define $ac_func innocuous_$ac_func
101052 /* System header to define __stub macros and hopefully few prototypes,
101053 which can conflict with char $ac_func (); below.
101054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101055 <limits.h> exists even on freestanding compilers. */
101057 #ifdef __STDC__
101058 # include <limits.h>
101059 #else
101060 # include <assert.h>
101061 #endif
101063 #undef $ac_func
101065 /* Override any gcc2 internal prototype to avoid an error. */
101066 #ifdef __cplusplus
101067 extern "C"
101069 #endif
101070 /* We use char because int might match the return type of a gcc2
101071 builtin and then its argument prototype would still apply. */
101072 char $ac_func ();
101073 /* The GNU C library defines this for functions which it implements
101074 to always fail with ENOSYS. Some functions are actually named
101075 something starting with __ and the normal name is an alias. */
101076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101077 choke me
101078 #else
101079 char (*f) () = $ac_func;
101080 #endif
101081 #ifdef __cplusplus
101083 #endif
101086 main ()
101088 return f != $ac_func;
101090 return 0;
101092 _ACEOF
101093 rm -f conftest.$ac_objext conftest$ac_exeext
101094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101095 (eval $ac_link) 2>conftest.er1
101096 ac_status=$?
101097 grep -v '^ *+' conftest.er1 >conftest.err
101098 rm -f conftest.er1
101099 cat conftest.err >&5
101100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101101 (exit $ac_status); } &&
101102 { ac_try='test -z "$ac_c_werror_flag"
101103 || test ! -s conftest.err'
101104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101105 (eval $ac_try) 2>&5
101106 ac_status=$?
101107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101108 (exit $ac_status); }; } &&
101109 { ac_try='test -s conftest$ac_exeext'
101110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101111 (eval $ac_try) 2>&5
101112 ac_status=$?
101113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101114 (exit $ac_status); }; }; then
101115 eval "$as_ac_var=yes"
101117 echo "$as_me: failed program was:" >&5
101118 sed 's/^/| /' conftest.$ac_ext >&5
101120 eval "$as_ac_var=no"
101122 rm -f conftest.err conftest.$ac_objext \
101123 conftest$ac_exeext conftest.$ac_ext
101125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101127 if test `eval echo '${'$as_ac_var'}'` = yes; then
101128 cat >>confdefs.h <<_ACEOF
101129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101130 _ACEOF
101133 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101138 if test x$ac_cv_func_copysignl = x"yes"; then
101140 for ac_func in __signbitl
101142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101143 echo "$as_me:$LINENO: checking for $ac_func" >&5
101144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101145 if eval "test \"\${$as_ac_var+set}\" = set"; then
101146 echo $ECHO_N "(cached) $ECHO_C" >&6
101148 if test x$gcc_no_link = xyes; then
101149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101151 { (exit 1); exit 1; }; }
101153 cat >conftest.$ac_ext <<_ACEOF
101154 /* confdefs.h. */
101155 _ACEOF
101156 cat confdefs.h >>conftest.$ac_ext
101157 cat >>conftest.$ac_ext <<_ACEOF
101158 /* end confdefs.h. */
101159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101161 #define $ac_func innocuous_$ac_func
101163 /* System header to define __stub macros and hopefully few prototypes,
101164 which can conflict with char $ac_func (); below.
101165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101166 <limits.h> exists even on freestanding compilers. */
101168 #ifdef __STDC__
101169 # include <limits.h>
101170 #else
101171 # include <assert.h>
101172 #endif
101174 #undef $ac_func
101176 /* Override any gcc2 internal prototype to avoid an error. */
101177 #ifdef __cplusplus
101178 extern "C"
101180 #endif
101181 /* We use char because int might match the return type of a gcc2
101182 builtin and then its argument prototype would still apply. */
101183 char $ac_func ();
101184 /* The GNU C library defines this for functions which it implements
101185 to always fail with ENOSYS. Some functions are actually named
101186 something starting with __ and the normal name is an alias. */
101187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101188 choke me
101189 #else
101190 char (*f) () = $ac_func;
101191 #endif
101192 #ifdef __cplusplus
101194 #endif
101197 main ()
101199 return f != $ac_func;
101201 return 0;
101203 _ACEOF
101204 rm -f conftest.$ac_objext conftest$ac_exeext
101205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101206 (eval $ac_link) 2>conftest.er1
101207 ac_status=$?
101208 grep -v '^ *+' conftest.er1 >conftest.err
101209 rm -f conftest.er1
101210 cat conftest.err >&5
101211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101212 (exit $ac_status); } &&
101213 { ac_try='test -z "$ac_c_werror_flag"
101214 || test ! -s conftest.err'
101215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101216 (eval $ac_try) 2>&5
101217 ac_status=$?
101218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101219 (exit $ac_status); }; } &&
101220 { ac_try='test -s conftest$ac_exeext'
101221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101222 (eval $ac_try) 2>&5
101223 ac_status=$?
101224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101225 (exit $ac_status); }; }; then
101226 eval "$as_ac_var=yes"
101228 echo "$as_me: failed program was:" >&5
101229 sed 's/^/| /' conftest.$ac_ext >&5
101231 eval "$as_ac_var=no"
101233 rm -f conftest.err conftest.$ac_objext \
101234 conftest$ac_exeext conftest.$ac_ext
101236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101238 if test `eval echo '${'$as_ac_var'}'` = yes; then
101239 cat >>confdefs.h <<_ACEOF
101240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101241 _ACEOF
101244 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101250 # Used in libmath/Makefile.am.
101251 if test -n "$LIBMATHOBJS"; then
101252 need_libmath=yes
101258 enable_iconv=no
101259 # Only continue checking if the ISO C99 headers exist and support is on.
101260 if test x"$enable_wchar_t" = xyes; then
101262 # Use iconv for wchar_t to char conversions. As such, check for
101263 # X/Open Portability Guide, version 2 features (XPG2).
101264 if test "${ac_cv_header_iconv_h+set}" = set; then
101265 echo "$as_me:$LINENO: checking for iconv.h" >&5
101266 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101267 if test "${ac_cv_header_iconv_h+set}" = set; then
101268 echo $ECHO_N "(cached) $ECHO_C" >&6
101270 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101271 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101273 # Is the header compilable?
101274 echo "$as_me:$LINENO: checking iconv.h usability" >&5
101275 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
101276 cat >conftest.$ac_ext <<_ACEOF
101277 /* confdefs.h. */
101278 _ACEOF
101279 cat confdefs.h >>conftest.$ac_ext
101280 cat >>conftest.$ac_ext <<_ACEOF
101281 /* end confdefs.h. */
101282 $ac_includes_default
101283 #include <iconv.h>
101284 _ACEOF
101285 rm -f conftest.$ac_objext
101286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101287 (eval $ac_compile) 2>conftest.er1
101288 ac_status=$?
101289 grep -v '^ *+' conftest.er1 >conftest.err
101290 rm -f conftest.er1
101291 cat conftest.err >&5
101292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101293 (exit $ac_status); } &&
101294 { ac_try='test -z "$ac_c_werror_flag"
101295 || test ! -s conftest.err'
101296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101297 (eval $ac_try) 2>&5
101298 ac_status=$?
101299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101300 (exit $ac_status); }; } &&
101301 { ac_try='test -s conftest.$ac_objext'
101302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101303 (eval $ac_try) 2>&5
101304 ac_status=$?
101305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101306 (exit $ac_status); }; }; then
101307 ac_header_compiler=yes
101309 echo "$as_me: failed program was:" >&5
101310 sed 's/^/| /' conftest.$ac_ext >&5
101312 ac_header_compiler=no
101314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101316 echo "${ECHO_T}$ac_header_compiler" >&6
101318 # Is the header present?
101319 echo "$as_me:$LINENO: checking iconv.h presence" >&5
101320 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
101321 cat >conftest.$ac_ext <<_ACEOF
101322 /* confdefs.h. */
101323 _ACEOF
101324 cat confdefs.h >>conftest.$ac_ext
101325 cat >>conftest.$ac_ext <<_ACEOF
101326 /* end confdefs.h. */
101327 #include <iconv.h>
101328 _ACEOF
101329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101331 ac_status=$?
101332 grep -v '^ *+' conftest.er1 >conftest.err
101333 rm -f conftest.er1
101334 cat conftest.err >&5
101335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101336 (exit $ac_status); } >/dev/null; then
101337 if test -s conftest.err; then
101338 ac_cpp_err=$ac_c_preproc_warn_flag
101339 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101341 ac_cpp_err=
101344 ac_cpp_err=yes
101346 if test -z "$ac_cpp_err"; then
101347 ac_header_preproc=yes
101349 echo "$as_me: failed program was:" >&5
101350 sed 's/^/| /' conftest.$ac_ext >&5
101352 ac_header_preproc=no
101354 rm -f conftest.err conftest.$ac_ext
101355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101356 echo "${ECHO_T}$ac_header_preproc" >&6
101358 # So? What about this header?
101359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101360 yes:no: )
101361 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
101362 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
101363 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
101364 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
101365 ac_header_preproc=yes
101367 no:yes:* )
101368 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
101369 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
101370 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
101371 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
101372 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
101373 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
101374 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
101375 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
101376 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
101377 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
101378 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
101379 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
101381 cat <<\_ASBOX
101382 ## ----------------------------------------- ##
101383 ## Report this to the package-unused lists. ##
101384 ## ----------------------------------------- ##
101385 _ASBOX
101387 sed "s/^/$as_me: WARNING: /" >&2
101390 echo "$as_me:$LINENO: checking for iconv.h" >&5
101391 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101392 if test "${ac_cv_header_iconv_h+set}" = set; then
101393 echo $ECHO_N "(cached) $ECHO_C" >&6
101395 ac_cv_header_iconv_h=$ac_header_preproc
101397 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101398 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101401 if test $ac_cv_header_iconv_h = yes; then
101402 ac_has_iconv_h=yes
101404 ac_has_iconv_h=no
101408 if test "${ac_cv_header_langinfo_h+set}" = set; then
101409 echo "$as_me:$LINENO: checking for langinfo.h" >&5
101410 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
101411 if test "${ac_cv_header_langinfo_h+set}" = set; then
101412 echo $ECHO_N "(cached) $ECHO_C" >&6
101414 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
101415 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
101417 # Is the header compilable?
101418 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
101419 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
101420 cat >conftest.$ac_ext <<_ACEOF
101421 /* confdefs.h. */
101422 _ACEOF
101423 cat confdefs.h >>conftest.$ac_ext
101424 cat >>conftest.$ac_ext <<_ACEOF
101425 /* end confdefs.h. */
101426 $ac_includes_default
101427 #include <langinfo.h>
101428 _ACEOF
101429 rm -f conftest.$ac_objext
101430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101431 (eval $ac_compile) 2>conftest.er1
101432 ac_status=$?
101433 grep -v '^ *+' conftest.er1 >conftest.err
101434 rm -f conftest.er1
101435 cat conftest.err >&5
101436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101437 (exit $ac_status); } &&
101438 { ac_try='test -z "$ac_c_werror_flag"
101439 || test ! -s conftest.err'
101440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101441 (eval $ac_try) 2>&5
101442 ac_status=$?
101443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101444 (exit $ac_status); }; } &&
101445 { ac_try='test -s conftest.$ac_objext'
101446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101447 (eval $ac_try) 2>&5
101448 ac_status=$?
101449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101450 (exit $ac_status); }; }; then
101451 ac_header_compiler=yes
101453 echo "$as_me: failed program was:" >&5
101454 sed 's/^/| /' conftest.$ac_ext >&5
101456 ac_header_compiler=no
101458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101459 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101460 echo "${ECHO_T}$ac_header_compiler" >&6
101462 # Is the header present?
101463 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
101464 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
101465 cat >conftest.$ac_ext <<_ACEOF
101466 /* confdefs.h. */
101467 _ACEOF
101468 cat confdefs.h >>conftest.$ac_ext
101469 cat >>conftest.$ac_ext <<_ACEOF
101470 /* end confdefs.h. */
101471 #include <langinfo.h>
101472 _ACEOF
101473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101474 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101475 ac_status=$?
101476 grep -v '^ *+' conftest.er1 >conftest.err
101477 rm -f conftest.er1
101478 cat conftest.err >&5
101479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101480 (exit $ac_status); } >/dev/null; then
101481 if test -s conftest.err; then
101482 ac_cpp_err=$ac_c_preproc_warn_flag
101483 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101485 ac_cpp_err=
101488 ac_cpp_err=yes
101490 if test -z "$ac_cpp_err"; then
101491 ac_header_preproc=yes
101493 echo "$as_me: failed program was:" >&5
101494 sed 's/^/| /' conftest.$ac_ext >&5
101496 ac_header_preproc=no
101498 rm -f conftest.err conftest.$ac_ext
101499 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101500 echo "${ECHO_T}$ac_header_preproc" >&6
101502 # So? What about this header?
101503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101504 yes:no: )
101505 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
101506 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
101507 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
101508 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
101509 ac_header_preproc=yes
101511 no:yes:* )
101512 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
101513 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
101514 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
101515 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
101516 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
101517 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
101518 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
101519 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
101520 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
101521 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
101522 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
101523 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
101525 cat <<\_ASBOX
101526 ## ----------------------------------------- ##
101527 ## Report this to the package-unused lists. ##
101528 ## ----------------------------------------- ##
101529 _ASBOX
101531 sed "s/^/$as_me: WARNING: /" >&2
101534 echo "$as_me:$LINENO: checking for langinfo.h" >&5
101535 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
101536 if test "${ac_cv_header_langinfo_h+set}" = set; then
101537 echo $ECHO_N "(cached) $ECHO_C" >&6
101539 ac_cv_header_langinfo_h=$ac_header_preproc
101541 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
101542 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
101545 if test $ac_cv_header_langinfo_h = yes; then
101546 ac_has_langinfo_h=yes
101548 ac_has_langinfo_h=no
101553 # Check for existence of libiconv.a providing XPG2 wchar_t support.
101554 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
101555 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
101556 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
101557 echo $ECHO_N "(cached) $ECHO_C" >&6
101559 ac_check_lib_save_LIBS=$LIBS
101560 LIBS="-liconv $LIBS"
101561 if test x$gcc_no_link = xyes; then
101562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101564 { (exit 1); exit 1; }; }
101566 cat >conftest.$ac_ext <<_ACEOF
101567 /* confdefs.h. */
101568 _ACEOF
101569 cat confdefs.h >>conftest.$ac_ext
101570 cat >>conftest.$ac_ext <<_ACEOF
101571 /* end confdefs.h. */
101573 /* Override any gcc2 internal prototype to avoid an error. */
101574 #ifdef __cplusplus
101575 extern "C"
101576 #endif
101577 /* We use char because int might match the return type of a gcc2
101578 builtin and then its argument prototype would still apply. */
101579 char iconv ();
101581 main ()
101583 iconv ();
101585 return 0;
101587 _ACEOF
101588 rm -f conftest.$ac_objext conftest$ac_exeext
101589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101590 (eval $ac_link) 2>conftest.er1
101591 ac_status=$?
101592 grep -v '^ *+' conftest.er1 >conftest.err
101593 rm -f conftest.er1
101594 cat conftest.err >&5
101595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101596 (exit $ac_status); } &&
101597 { ac_try='test -z "$ac_c_werror_flag"
101598 || test ! -s conftest.err'
101599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101600 (eval $ac_try) 2>&5
101601 ac_status=$?
101602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101603 (exit $ac_status); }; } &&
101604 { ac_try='test -s conftest$ac_exeext'
101605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101606 (eval $ac_try) 2>&5
101607 ac_status=$?
101608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101609 (exit $ac_status); }; }; then
101610 ac_cv_lib_iconv_iconv=yes
101612 echo "$as_me: failed program was:" >&5
101613 sed 's/^/| /' conftest.$ac_ext >&5
101615 ac_cv_lib_iconv_iconv=no
101617 rm -f conftest.err conftest.$ac_objext \
101618 conftest$ac_exeext conftest.$ac_ext
101619 LIBS=$ac_check_lib_save_LIBS
101621 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
101622 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
101623 if test $ac_cv_lib_iconv_iconv = yes; then
101624 LIBICONV="-liconv"
101627 ac_save_LIBS="$LIBS"
101628 LIBS="$LIBS $LIBICONV"
101635 for ac_func in iconv_open iconv_close iconv nl_langinfo
101637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101638 echo "$as_me:$LINENO: checking for $ac_func" >&5
101639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101640 if eval "test \"\${$as_ac_var+set}\" = set"; then
101641 echo $ECHO_N "(cached) $ECHO_C" >&6
101643 if test x$gcc_no_link = xyes; then
101644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101646 { (exit 1); exit 1; }; }
101648 cat >conftest.$ac_ext <<_ACEOF
101649 /* confdefs.h. */
101650 _ACEOF
101651 cat confdefs.h >>conftest.$ac_ext
101652 cat >>conftest.$ac_ext <<_ACEOF
101653 /* end confdefs.h. */
101654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101656 #define $ac_func innocuous_$ac_func
101658 /* System header to define __stub macros and hopefully few prototypes,
101659 which can conflict with char $ac_func (); below.
101660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101661 <limits.h> exists even on freestanding compilers. */
101663 #ifdef __STDC__
101664 # include <limits.h>
101665 #else
101666 # include <assert.h>
101667 #endif
101669 #undef $ac_func
101671 /* Override any gcc2 internal prototype to avoid an error. */
101672 #ifdef __cplusplus
101673 extern "C"
101675 #endif
101676 /* We use char because int might match the return type of a gcc2
101677 builtin and then its argument prototype would still apply. */
101678 char $ac_func ();
101679 /* The GNU C library defines this for functions which it implements
101680 to always fail with ENOSYS. Some functions are actually named
101681 something starting with __ and the normal name is an alias. */
101682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101683 choke me
101684 #else
101685 char (*f) () = $ac_func;
101686 #endif
101687 #ifdef __cplusplus
101689 #endif
101692 main ()
101694 return f != $ac_func;
101696 return 0;
101698 _ACEOF
101699 rm -f conftest.$ac_objext conftest$ac_exeext
101700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101701 (eval $ac_link) 2>conftest.er1
101702 ac_status=$?
101703 grep -v '^ *+' conftest.er1 >conftest.err
101704 rm -f conftest.er1
101705 cat conftest.err >&5
101706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101707 (exit $ac_status); } &&
101708 { ac_try='test -z "$ac_c_werror_flag"
101709 || test ! -s conftest.err'
101710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101711 (eval $ac_try) 2>&5
101712 ac_status=$?
101713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101714 (exit $ac_status); }; } &&
101715 { ac_try='test -s conftest$ac_exeext'
101716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101717 (eval $ac_try) 2>&5
101718 ac_status=$?
101719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101720 (exit $ac_status); }; }; then
101721 eval "$as_ac_var=yes"
101723 echo "$as_me: failed program was:" >&5
101724 sed 's/^/| /' conftest.$ac_ext >&5
101726 eval "$as_ac_var=no"
101728 rm -f conftest.err conftest.$ac_objext \
101729 conftest$ac_exeext conftest.$ac_ext
101731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101733 if test `eval echo '${'$as_ac_var'}'` = yes; then
101734 cat >>confdefs.h <<_ACEOF
101735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101736 _ACEOF
101737 ac_XPG2funcs=yes
101739 ac_XPG2funcs=no
101744 LIBS="$ac_save_LIBS"
101746 if test x"$ac_has_iconv_h" = xyes &&
101747 test x"$ac_has_langinfo_h" = xyes &&
101748 test x"$ac_XPG2funcs" = xyes;
101751 cat >>confdefs.h <<\_ACEOF
101752 #define _GLIBCXX_USE_ICONV 1
101753 _ACEOF
101755 enable_iconv=yes
101758 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
101759 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
101760 echo "$as_me:$LINENO: result: $enable_iconv" >&5
101761 echo "${ECHO_T}$enable_iconv" >&6
101764 *-netbsd*)
101777 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
101778 machine/endian.h machine/param.h sys/machine.h sys/types.h \
101779 fp.h locale.h float.h inttypes.h
101781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
101782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101783 echo "$as_me:$LINENO: checking for $ac_header" >&5
101784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101786 echo $ECHO_N "(cached) $ECHO_C" >&6
101788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101791 # Is the header compilable?
101792 echo "$as_me:$LINENO: checking $ac_header usability" >&5
101793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
101794 cat >conftest.$ac_ext <<_ACEOF
101795 /* confdefs.h. */
101796 _ACEOF
101797 cat confdefs.h >>conftest.$ac_ext
101798 cat >>conftest.$ac_ext <<_ACEOF
101799 /* end confdefs.h. */
101800 $ac_includes_default
101801 #include <$ac_header>
101802 _ACEOF
101803 rm -f conftest.$ac_objext
101804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101805 (eval $ac_compile) 2>conftest.er1
101806 ac_status=$?
101807 grep -v '^ *+' conftest.er1 >conftest.err
101808 rm -f conftest.er1
101809 cat conftest.err >&5
101810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101811 (exit $ac_status); } &&
101812 { ac_try='test -z "$ac_c_werror_flag"
101813 || test ! -s conftest.err'
101814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101815 (eval $ac_try) 2>&5
101816 ac_status=$?
101817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101818 (exit $ac_status); }; } &&
101819 { ac_try='test -s conftest.$ac_objext'
101820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101821 (eval $ac_try) 2>&5
101822 ac_status=$?
101823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101824 (exit $ac_status); }; }; then
101825 ac_header_compiler=yes
101827 echo "$as_me: failed program was:" >&5
101828 sed 's/^/| /' conftest.$ac_ext >&5
101830 ac_header_compiler=no
101832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101834 echo "${ECHO_T}$ac_header_compiler" >&6
101836 # Is the header present?
101837 echo "$as_me:$LINENO: checking $ac_header presence" >&5
101838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
101839 cat >conftest.$ac_ext <<_ACEOF
101840 /* confdefs.h. */
101841 _ACEOF
101842 cat confdefs.h >>conftest.$ac_ext
101843 cat >>conftest.$ac_ext <<_ACEOF
101844 /* end confdefs.h. */
101845 #include <$ac_header>
101846 _ACEOF
101847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101849 ac_status=$?
101850 grep -v '^ *+' conftest.er1 >conftest.err
101851 rm -f conftest.er1
101852 cat conftest.err >&5
101853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101854 (exit $ac_status); } >/dev/null; then
101855 if test -s conftest.err; then
101856 ac_cpp_err=$ac_c_preproc_warn_flag
101857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101859 ac_cpp_err=
101862 ac_cpp_err=yes
101864 if test -z "$ac_cpp_err"; then
101865 ac_header_preproc=yes
101867 echo "$as_me: failed program was:" >&5
101868 sed 's/^/| /' conftest.$ac_ext >&5
101870 ac_header_preproc=no
101872 rm -f conftest.err conftest.$ac_ext
101873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101874 echo "${ECHO_T}$ac_header_preproc" >&6
101876 # So? What about this header?
101877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101878 yes:no: )
101879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
101880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
101881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
101882 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
101883 ac_header_preproc=yes
101885 no:yes:* )
101886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
101887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
101888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
101889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
101890 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
101891 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
101892 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
101893 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
101894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
101895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
101896 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
101897 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
101899 cat <<\_ASBOX
101900 ## ----------------------------------------- ##
101901 ## Report this to the package-unused lists. ##
101902 ## ----------------------------------------- ##
101903 _ASBOX
101905 sed "s/^/$as_me: WARNING: /" >&2
101908 echo "$as_me:$LINENO: checking for $ac_header" >&5
101909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101911 echo $ECHO_N "(cached) $ECHO_C" >&6
101913 eval "$as_ac_Header=\$ac_header_preproc"
101915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
101920 cat >>confdefs.h <<_ACEOF
101921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
101922 _ACEOF
101928 SECTION_FLAGS='-ffunction-sections -fdata-sections'
101931 # If we're not using GNU ld, then there's no point in even trying these
101932 # tests. Check for that first. We should have already tested for gld
101933 # by now (in libtool), but require it now just to be safe...
101934 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101935 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101939 # The name set by libtool depends on the version of libtool. Shame on us
101940 # for depending on an impl detail, but c'est la vie. Older versions used
101941 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101942 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101943 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
101944 # set (hence we're using an older libtool), then set it.
101945 if test x${with_gnu_ld+set} != xset; then
101946 if test x${ac_cv_prog_gnu_ld+set} != xset; then
101947 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
101948 with_gnu_ld=no
101950 with_gnu_ld=$ac_cv_prog_gnu_ld
101954 # Start by getting the version number. I think the libtool test already
101955 # does some of this, but throws away the result.
101956 echo "$as_me:$LINENO: checking for ld version" >&5
101957 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101959 ldver=`$LD --version 2>/dev/null | head -1 | \
101960 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
101962 glibcxx_gnu_ld_version=`echo $ldver | \
101963 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101964 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101965 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101967 # Set --gc-sections.
101968 glibcxx_gcsections_min_ld=21602
101969 if test x"$with_gnu_ld" = x"yes" &&
101970 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101972 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
101973 # NB: This flag only works reliably after 2.16.1. Configure tests
101974 # for this are difficult, so hard wire a value that should work.
101976 # All these tests are for C++, but run with the "C" compiler driver.
101977 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
101978 ac_test_CFLAGS="${CFLAGS+set}"
101979 ac_save_CFLAGS="$CFLAGS"
101980 CFLAGS='-x c++ -Wl,--gc-sections'
101982 # Check for -Wl,--gc-sections
101983 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101984 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101985 if test x$gcc_no_link = xyes; then
101986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101988 { (exit 1); exit 1; }; }
101990 cat >conftest.$ac_ext <<_ACEOF
101991 /* confdefs.h. */
101992 _ACEOF
101993 cat confdefs.h >>conftest.$ac_ext
101994 cat >>conftest.$ac_ext <<_ACEOF
101995 /* end confdefs.h. */
101996 int one(void) { return 1; }
101997 int two(void) { return 2; }
102000 main ()
102002 two();
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 ac_gcsections=yes
102031 echo "$as_me: failed program was:" >&5
102032 sed 's/^/| /' conftest.$ac_ext >&5
102034 ac_gcsections=no
102036 rm -f conftest.err conftest.$ac_objext \
102037 conftest$ac_exeext conftest.$ac_ext
102038 if test "$ac_gcsections" = "yes"; then
102039 rm -f conftest.c
102040 touch conftest.c
102041 if $CC -c conftest.c; then
102042 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102043 grep "Warning: gc-sections option ignored" > /dev/null; then
102044 ac_gcsections=no
102047 rm -f conftest.c conftest.o conftest
102049 if test "$ac_gcsections" = "yes"; then
102050 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102052 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102053 echo "${ECHO_T}$ac_gcsections" >&6
102055 if test "$ac_test_CFLAGS" = set; then
102056 CFLAGS="$ac_save_CFLAGS"
102058 # this is the suspicious part
102059 CFLAGS=''
102063 # Set -z,relro.
102064 # Note this is only for shared objects.
102065 ac_ld_relro=no
102066 if test x"$with_gnu_ld" = x"yes"; then
102067 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102068 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102069 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102070 if test -n "$cxx_z_relo"; then
102071 OPT_LDFLAGS="-Wl,-z,relro"
102072 ac_ld_relro=yes
102074 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102075 echo "${ECHO_T}$ac_ld_relro" >&6
102078 # Set linker optimization flags.
102079 if test x"$with_gnu_ld" = x"yes"; then
102080 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102088 echo "$as_me:$LINENO: checking for main in -lm" >&5
102089 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
102090 if test "${ac_cv_lib_m_main+set}" = set; then
102091 echo $ECHO_N "(cached) $ECHO_C" >&6
102093 ac_check_lib_save_LIBS=$LIBS
102094 LIBS="-lm $LIBS"
102095 if test x$gcc_no_link = xyes; then
102096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102098 { (exit 1); exit 1; }; }
102100 cat >conftest.$ac_ext <<_ACEOF
102101 /* confdefs.h. */
102102 _ACEOF
102103 cat confdefs.h >>conftest.$ac_ext
102104 cat >>conftest.$ac_ext <<_ACEOF
102105 /* end confdefs.h. */
102109 main ()
102111 main ();
102113 return 0;
102115 _ACEOF
102116 rm -f conftest.$ac_objext conftest$ac_exeext
102117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102118 (eval $ac_link) 2>conftest.er1
102119 ac_status=$?
102120 grep -v '^ *+' conftest.er1 >conftest.err
102121 rm -f conftest.er1
102122 cat conftest.err >&5
102123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102124 (exit $ac_status); } &&
102125 { ac_try='test -z "$ac_c_werror_flag"
102126 || test ! -s conftest.err'
102127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102128 (eval $ac_try) 2>&5
102129 ac_status=$?
102130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102131 (exit $ac_status); }; } &&
102132 { ac_try='test -s conftest$ac_exeext'
102133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102134 (eval $ac_try) 2>&5
102135 ac_status=$?
102136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102137 (exit $ac_status); }; }; then
102138 ac_cv_lib_m_main=yes
102140 echo "$as_me: failed program was:" >&5
102141 sed 's/^/| /' conftest.$ac_ext >&5
102143 ac_cv_lib_m_main=no
102145 rm -f conftest.err conftest.$ac_objext \
102146 conftest$ac_exeext conftest.$ac_ext
102147 LIBS=$ac_check_lib_save_LIBS
102149 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
102150 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
102151 if test $ac_cv_lib_m_main = yes; then
102152 cat >>confdefs.h <<_ACEOF
102153 #define HAVE_LIBM 1
102154 _ACEOF
102156 LIBS="-lm $LIBS"
102161 for ac_func in copysignf
102163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102164 echo "$as_me:$LINENO: checking for $ac_func" >&5
102165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102166 if eval "test \"\${$as_ac_var+set}\" = set"; then
102167 echo $ECHO_N "(cached) $ECHO_C" >&6
102169 if test x$gcc_no_link = xyes; then
102170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102172 { (exit 1); exit 1; }; }
102174 cat >conftest.$ac_ext <<_ACEOF
102175 /* confdefs.h. */
102176 _ACEOF
102177 cat confdefs.h >>conftest.$ac_ext
102178 cat >>conftest.$ac_ext <<_ACEOF
102179 /* end confdefs.h. */
102180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102182 #define $ac_func innocuous_$ac_func
102184 /* System header to define __stub macros and hopefully few prototypes,
102185 which can conflict with char $ac_func (); below.
102186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102187 <limits.h> exists even on freestanding compilers. */
102189 #ifdef __STDC__
102190 # include <limits.h>
102191 #else
102192 # include <assert.h>
102193 #endif
102195 #undef $ac_func
102197 /* Override any gcc2 internal prototype to avoid an error. */
102198 #ifdef __cplusplus
102199 extern "C"
102201 #endif
102202 /* We use char because int might match the return type of a gcc2
102203 builtin and then its argument prototype would still apply. */
102204 char $ac_func ();
102205 /* The GNU C library defines this for functions which it implements
102206 to always fail with ENOSYS. Some functions are actually named
102207 something starting with __ and the normal name is an alias. */
102208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102209 choke me
102210 #else
102211 char (*f) () = $ac_func;
102212 #endif
102213 #ifdef __cplusplus
102215 #endif
102218 main ()
102220 return f != $ac_func;
102222 return 0;
102224 _ACEOF
102225 rm -f conftest.$ac_objext conftest$ac_exeext
102226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102227 (eval $ac_link) 2>conftest.er1
102228 ac_status=$?
102229 grep -v '^ *+' conftest.er1 >conftest.err
102230 rm -f conftest.er1
102231 cat conftest.err >&5
102232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102233 (exit $ac_status); } &&
102234 { ac_try='test -z "$ac_c_werror_flag"
102235 || test ! -s conftest.err'
102236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102237 (eval $ac_try) 2>&5
102238 ac_status=$?
102239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102240 (exit $ac_status); }; } &&
102241 { ac_try='test -s conftest$ac_exeext'
102242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102243 (eval $ac_try) 2>&5
102244 ac_status=$?
102245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102246 (exit $ac_status); }; }; then
102247 eval "$as_ac_var=yes"
102249 echo "$as_me: failed program was:" >&5
102250 sed 's/^/| /' conftest.$ac_ext >&5
102252 eval "$as_ac_var=no"
102254 rm -f conftest.err conftest.$ac_objext \
102255 conftest$ac_exeext conftest.$ac_ext
102257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102259 if test `eval echo '${'$as_ac_var'}'` = yes; then
102260 cat >>confdefs.h <<_ACEOF
102261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102262 _ACEOF
102265 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102271 for ac_func in __signbit
102273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102274 echo "$as_me:$LINENO: checking for $ac_func" >&5
102275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102276 if eval "test \"\${$as_ac_var+set}\" = set"; then
102277 echo $ECHO_N "(cached) $ECHO_C" >&6
102279 if test x$gcc_no_link = xyes; then
102280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102282 { (exit 1); exit 1; }; }
102284 cat >conftest.$ac_ext <<_ACEOF
102285 /* confdefs.h. */
102286 _ACEOF
102287 cat confdefs.h >>conftest.$ac_ext
102288 cat >>conftest.$ac_ext <<_ACEOF
102289 /* end confdefs.h. */
102290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102292 #define $ac_func innocuous_$ac_func
102294 /* System header to define __stub macros and hopefully few prototypes,
102295 which can conflict with char $ac_func (); below.
102296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102297 <limits.h> exists even on freestanding compilers. */
102299 #ifdef __STDC__
102300 # include <limits.h>
102301 #else
102302 # include <assert.h>
102303 #endif
102305 #undef $ac_func
102307 /* Override any gcc2 internal prototype to avoid an error. */
102308 #ifdef __cplusplus
102309 extern "C"
102311 #endif
102312 /* We use char because int might match the return type of a gcc2
102313 builtin and then its argument prototype would still apply. */
102314 char $ac_func ();
102315 /* The GNU C library defines this for functions which it implements
102316 to always fail with ENOSYS. Some functions are actually named
102317 something starting with __ and the normal name is an alias. */
102318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102319 choke me
102320 #else
102321 char (*f) () = $ac_func;
102322 #endif
102323 #ifdef __cplusplus
102325 #endif
102328 main ()
102330 return f != $ac_func;
102332 return 0;
102334 _ACEOF
102335 rm -f conftest.$ac_objext conftest$ac_exeext
102336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102337 (eval $ac_link) 2>conftest.er1
102338 ac_status=$?
102339 grep -v '^ *+' conftest.er1 >conftest.err
102340 rm -f conftest.er1
102341 cat conftest.err >&5
102342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102343 (exit $ac_status); } &&
102344 { ac_try='test -z "$ac_c_werror_flag"
102345 || test ! -s conftest.err'
102346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102347 (eval $ac_try) 2>&5
102348 ac_status=$?
102349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102350 (exit $ac_status); }; } &&
102351 { ac_try='test -s conftest$ac_exeext'
102352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102353 (eval $ac_try) 2>&5
102354 ac_status=$?
102355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102356 (exit $ac_status); }; }; then
102357 eval "$as_ac_var=yes"
102359 echo "$as_me: failed program was:" >&5
102360 sed 's/^/| /' conftest.$ac_ext >&5
102362 eval "$as_ac_var=no"
102364 rm -f conftest.err conftest.$ac_objext \
102365 conftest$ac_exeext conftest.$ac_ext
102367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102369 if test `eval echo '${'$as_ac_var'}'` = yes; then
102370 cat >>confdefs.h <<_ACEOF
102371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102372 _ACEOF
102375 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102381 for ac_func in __signbitf
102383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102384 echo "$as_me:$LINENO: checking for $ac_func" >&5
102385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102386 if eval "test \"\${$as_ac_var+set}\" = set"; then
102387 echo $ECHO_N "(cached) $ECHO_C" >&6
102389 if test x$gcc_no_link = xyes; then
102390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102392 { (exit 1); exit 1; }; }
102394 cat >conftest.$ac_ext <<_ACEOF
102395 /* confdefs.h. */
102396 _ACEOF
102397 cat confdefs.h >>conftest.$ac_ext
102398 cat >>conftest.$ac_ext <<_ACEOF
102399 /* end confdefs.h. */
102400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102402 #define $ac_func innocuous_$ac_func
102404 /* System header to define __stub macros and hopefully few prototypes,
102405 which can conflict with char $ac_func (); below.
102406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102407 <limits.h> exists even on freestanding compilers. */
102409 #ifdef __STDC__
102410 # include <limits.h>
102411 #else
102412 # include <assert.h>
102413 #endif
102415 #undef $ac_func
102417 /* Override any gcc2 internal prototype to avoid an error. */
102418 #ifdef __cplusplus
102419 extern "C"
102421 #endif
102422 /* We use char because int might match the return type of a gcc2
102423 builtin and then its argument prototype would still apply. */
102424 char $ac_func ();
102425 /* The GNU C library defines this for functions which it implements
102426 to always fail with ENOSYS. Some functions are actually named
102427 something starting with __ and the normal name is an alias. */
102428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102429 choke me
102430 #else
102431 char (*f) () = $ac_func;
102432 #endif
102433 #ifdef __cplusplus
102435 #endif
102438 main ()
102440 return f != $ac_func;
102442 return 0;
102444 _ACEOF
102445 rm -f conftest.$ac_objext conftest$ac_exeext
102446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102447 (eval $ac_link) 2>conftest.er1
102448 ac_status=$?
102449 grep -v '^ *+' conftest.er1 >conftest.err
102450 rm -f conftest.er1
102451 cat conftest.err >&5
102452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102453 (exit $ac_status); } &&
102454 { ac_try='test -z "$ac_c_werror_flag"
102455 || test ! -s conftest.err'
102456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102457 (eval $ac_try) 2>&5
102458 ac_status=$?
102459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102460 (exit $ac_status); }; } &&
102461 { ac_try='test -s conftest$ac_exeext'
102462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102463 (eval $ac_try) 2>&5
102464 ac_status=$?
102465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102466 (exit $ac_status); }; }; then
102467 eval "$as_ac_var=yes"
102469 echo "$as_me: failed program was:" >&5
102470 sed 's/^/| /' conftest.$ac_ext >&5
102472 eval "$as_ac_var=no"
102474 rm -f conftest.err conftest.$ac_objext \
102475 conftest$ac_exeext conftest.$ac_ext
102477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102479 if test `eval echo '${'$as_ac_var'}'` = yes; then
102480 cat >>confdefs.h <<_ACEOF
102481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102482 _ACEOF
102485 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102490 if test x$ac_cv_func_copysignl = x"yes"; then
102492 for ac_func in __signbitl
102494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102495 echo "$as_me:$LINENO: checking for $ac_func" >&5
102496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102497 if eval "test \"\${$as_ac_var+set}\" = set"; then
102498 echo $ECHO_N "(cached) $ECHO_C" >&6
102500 if test x$gcc_no_link = xyes; then
102501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102503 { (exit 1); exit 1; }; }
102505 cat >conftest.$ac_ext <<_ACEOF
102506 /* confdefs.h. */
102507 _ACEOF
102508 cat confdefs.h >>conftest.$ac_ext
102509 cat >>conftest.$ac_ext <<_ACEOF
102510 /* end confdefs.h. */
102511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102513 #define $ac_func innocuous_$ac_func
102515 /* System header to define __stub macros and hopefully few prototypes,
102516 which can conflict with char $ac_func (); below.
102517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102518 <limits.h> exists even on freestanding compilers. */
102520 #ifdef __STDC__
102521 # include <limits.h>
102522 #else
102523 # include <assert.h>
102524 #endif
102526 #undef $ac_func
102528 /* Override any gcc2 internal prototype to avoid an error. */
102529 #ifdef __cplusplus
102530 extern "C"
102532 #endif
102533 /* We use char because int might match the return type of a gcc2
102534 builtin and then its argument prototype would still apply. */
102535 char $ac_func ();
102536 /* The GNU C library defines this for functions which it implements
102537 to always fail with ENOSYS. Some functions are actually named
102538 something starting with __ and the normal name is an alias. */
102539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102540 choke me
102541 #else
102542 char (*f) () = $ac_func;
102543 #endif
102544 #ifdef __cplusplus
102546 #endif
102549 main ()
102551 return f != $ac_func;
102553 return 0;
102555 _ACEOF
102556 rm -f conftest.$ac_objext conftest$ac_exeext
102557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102558 (eval $ac_link) 2>conftest.er1
102559 ac_status=$?
102560 grep -v '^ *+' conftest.er1 >conftest.err
102561 rm -f conftest.er1
102562 cat conftest.err >&5
102563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102564 (exit $ac_status); } &&
102565 { ac_try='test -z "$ac_c_werror_flag"
102566 || test ! -s conftest.err'
102567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102568 (eval $ac_try) 2>&5
102569 ac_status=$?
102570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102571 (exit $ac_status); }; } &&
102572 { ac_try='test -s conftest$ac_exeext'
102573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102574 (eval $ac_try) 2>&5
102575 ac_status=$?
102576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102577 (exit $ac_status); }; }; then
102578 eval "$as_ac_var=yes"
102580 echo "$as_me: failed program was:" >&5
102581 sed 's/^/| /' conftest.$ac_ext >&5
102583 eval "$as_ac_var=no"
102585 rm -f conftest.err conftest.$ac_objext \
102586 conftest$ac_exeext conftest.$ac_ext
102588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102590 if test `eval echo '${'$as_ac_var'}'` = yes; then
102591 cat >>confdefs.h <<_ACEOF
102592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102593 _ACEOF
102596 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102602 # Used in libmath/Makefile.am.
102603 if test -n "$LIBMATHOBJS"; then
102604 need_libmath=yes
102610 enable_iconv=no
102611 # Only continue checking if the ISO C99 headers exist and support is on.
102612 if test x"$enable_wchar_t" = xyes; then
102614 # Use iconv for wchar_t to char conversions. As such, check for
102615 # X/Open Portability Guide, version 2 features (XPG2).
102616 if test "${ac_cv_header_iconv_h+set}" = set; then
102617 echo "$as_me:$LINENO: checking for iconv.h" >&5
102618 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102619 if test "${ac_cv_header_iconv_h+set}" = set; then
102620 echo $ECHO_N "(cached) $ECHO_C" >&6
102622 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102623 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102625 # Is the header compilable?
102626 echo "$as_me:$LINENO: checking iconv.h usability" >&5
102627 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
102628 cat >conftest.$ac_ext <<_ACEOF
102629 /* confdefs.h. */
102630 _ACEOF
102631 cat confdefs.h >>conftest.$ac_ext
102632 cat >>conftest.$ac_ext <<_ACEOF
102633 /* end confdefs.h. */
102634 $ac_includes_default
102635 #include <iconv.h>
102636 _ACEOF
102637 rm -f conftest.$ac_objext
102638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102639 (eval $ac_compile) 2>conftest.er1
102640 ac_status=$?
102641 grep -v '^ *+' conftest.er1 >conftest.err
102642 rm -f conftest.er1
102643 cat conftest.err >&5
102644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102645 (exit $ac_status); } &&
102646 { ac_try='test -z "$ac_c_werror_flag"
102647 || test ! -s conftest.err'
102648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102649 (eval $ac_try) 2>&5
102650 ac_status=$?
102651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102652 (exit $ac_status); }; } &&
102653 { ac_try='test -s conftest.$ac_objext'
102654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102655 (eval $ac_try) 2>&5
102656 ac_status=$?
102657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102658 (exit $ac_status); }; }; then
102659 ac_header_compiler=yes
102661 echo "$as_me: failed program was:" >&5
102662 sed 's/^/| /' conftest.$ac_ext >&5
102664 ac_header_compiler=no
102666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102668 echo "${ECHO_T}$ac_header_compiler" >&6
102670 # Is the header present?
102671 echo "$as_me:$LINENO: checking iconv.h presence" >&5
102672 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
102673 cat >conftest.$ac_ext <<_ACEOF
102674 /* confdefs.h. */
102675 _ACEOF
102676 cat confdefs.h >>conftest.$ac_ext
102677 cat >>conftest.$ac_ext <<_ACEOF
102678 /* end confdefs.h. */
102679 #include <iconv.h>
102680 _ACEOF
102681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102682 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102683 ac_status=$?
102684 grep -v '^ *+' conftest.er1 >conftest.err
102685 rm -f conftest.er1
102686 cat conftest.err >&5
102687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102688 (exit $ac_status); } >/dev/null; then
102689 if test -s conftest.err; then
102690 ac_cpp_err=$ac_c_preproc_warn_flag
102691 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102693 ac_cpp_err=
102696 ac_cpp_err=yes
102698 if test -z "$ac_cpp_err"; then
102699 ac_header_preproc=yes
102701 echo "$as_me: failed program was:" >&5
102702 sed 's/^/| /' conftest.$ac_ext >&5
102704 ac_header_preproc=no
102706 rm -f conftest.err conftest.$ac_ext
102707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102708 echo "${ECHO_T}$ac_header_preproc" >&6
102710 # So? What about this header?
102711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102712 yes:no: )
102713 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
102714 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102715 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
102716 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
102717 ac_header_preproc=yes
102719 no:yes:* )
102720 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
102721 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
102722 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
102723 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
102724 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
102725 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
102726 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
102727 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
102728 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
102729 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
102730 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
102731 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
102733 cat <<\_ASBOX
102734 ## ----------------------------------------- ##
102735 ## Report this to the package-unused lists. ##
102736 ## ----------------------------------------- ##
102737 _ASBOX
102739 sed "s/^/$as_me: WARNING: /" >&2
102742 echo "$as_me:$LINENO: checking for iconv.h" >&5
102743 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102744 if test "${ac_cv_header_iconv_h+set}" = set; then
102745 echo $ECHO_N "(cached) $ECHO_C" >&6
102747 ac_cv_header_iconv_h=$ac_header_preproc
102749 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102750 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102753 if test $ac_cv_header_iconv_h = yes; then
102754 ac_has_iconv_h=yes
102756 ac_has_iconv_h=no
102760 if test "${ac_cv_header_langinfo_h+set}" = set; then
102761 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102762 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102763 if test "${ac_cv_header_langinfo_h+set}" = set; then
102764 echo $ECHO_N "(cached) $ECHO_C" >&6
102766 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102767 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102769 # Is the header compilable?
102770 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
102771 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
102772 cat >conftest.$ac_ext <<_ACEOF
102773 /* confdefs.h. */
102774 _ACEOF
102775 cat confdefs.h >>conftest.$ac_ext
102776 cat >>conftest.$ac_ext <<_ACEOF
102777 /* end confdefs.h. */
102778 $ac_includes_default
102779 #include <langinfo.h>
102780 _ACEOF
102781 rm -f conftest.$ac_objext
102782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102783 (eval $ac_compile) 2>conftest.er1
102784 ac_status=$?
102785 grep -v '^ *+' conftest.er1 >conftest.err
102786 rm -f conftest.er1
102787 cat conftest.err >&5
102788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102789 (exit $ac_status); } &&
102790 { ac_try='test -z "$ac_c_werror_flag"
102791 || test ! -s conftest.err'
102792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102793 (eval $ac_try) 2>&5
102794 ac_status=$?
102795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102796 (exit $ac_status); }; } &&
102797 { ac_try='test -s conftest.$ac_objext'
102798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102799 (eval $ac_try) 2>&5
102800 ac_status=$?
102801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102802 (exit $ac_status); }; }; then
102803 ac_header_compiler=yes
102805 echo "$as_me: failed program was:" >&5
102806 sed 's/^/| /' conftest.$ac_ext >&5
102808 ac_header_compiler=no
102810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102812 echo "${ECHO_T}$ac_header_compiler" >&6
102814 # Is the header present?
102815 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
102816 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
102817 cat >conftest.$ac_ext <<_ACEOF
102818 /* confdefs.h. */
102819 _ACEOF
102820 cat confdefs.h >>conftest.$ac_ext
102821 cat >>conftest.$ac_ext <<_ACEOF
102822 /* end confdefs.h. */
102823 #include <langinfo.h>
102824 _ACEOF
102825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102826 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102827 ac_status=$?
102828 grep -v '^ *+' conftest.er1 >conftest.err
102829 rm -f conftest.er1
102830 cat conftest.err >&5
102831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102832 (exit $ac_status); } >/dev/null; then
102833 if test -s conftest.err; then
102834 ac_cpp_err=$ac_c_preproc_warn_flag
102835 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102837 ac_cpp_err=
102840 ac_cpp_err=yes
102842 if test -z "$ac_cpp_err"; then
102843 ac_header_preproc=yes
102845 echo "$as_me: failed program was:" >&5
102846 sed 's/^/| /' conftest.$ac_ext >&5
102848 ac_header_preproc=no
102850 rm -f conftest.err conftest.$ac_ext
102851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102852 echo "${ECHO_T}$ac_header_preproc" >&6
102854 # So? What about this header?
102855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102856 yes:no: )
102857 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
102858 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102859 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
102860 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
102861 ac_header_preproc=yes
102863 no:yes:* )
102864 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
102865 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
102866 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
102867 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
102868 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
102869 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
102870 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
102871 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
102872 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
102873 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
102874 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
102875 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
102877 cat <<\_ASBOX
102878 ## ----------------------------------------- ##
102879 ## Report this to the package-unused lists. ##
102880 ## ----------------------------------------- ##
102881 _ASBOX
102883 sed "s/^/$as_me: WARNING: /" >&2
102886 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102887 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102888 if test "${ac_cv_header_langinfo_h+set}" = set; then
102889 echo $ECHO_N "(cached) $ECHO_C" >&6
102891 ac_cv_header_langinfo_h=$ac_header_preproc
102893 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102894 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102897 if test $ac_cv_header_langinfo_h = yes; then
102898 ac_has_langinfo_h=yes
102900 ac_has_langinfo_h=no
102905 # Check for existence of libiconv.a providing XPG2 wchar_t support.
102906 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
102907 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
102908 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
102909 echo $ECHO_N "(cached) $ECHO_C" >&6
102911 ac_check_lib_save_LIBS=$LIBS
102912 LIBS="-liconv $LIBS"
102913 if test x$gcc_no_link = xyes; then
102914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102916 { (exit 1); exit 1; }; }
102918 cat >conftest.$ac_ext <<_ACEOF
102919 /* confdefs.h. */
102920 _ACEOF
102921 cat confdefs.h >>conftest.$ac_ext
102922 cat >>conftest.$ac_ext <<_ACEOF
102923 /* end confdefs.h. */
102925 /* Override any gcc2 internal prototype to avoid an error. */
102926 #ifdef __cplusplus
102927 extern "C"
102928 #endif
102929 /* We use char because int might match the return type of a gcc2
102930 builtin and then its argument prototype would still apply. */
102931 char iconv ();
102933 main ()
102935 iconv ();
102937 return 0;
102939 _ACEOF
102940 rm -f conftest.$ac_objext conftest$ac_exeext
102941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102942 (eval $ac_link) 2>conftest.er1
102943 ac_status=$?
102944 grep -v '^ *+' conftest.er1 >conftest.err
102945 rm -f conftest.er1
102946 cat conftest.err >&5
102947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102948 (exit $ac_status); } &&
102949 { ac_try='test -z "$ac_c_werror_flag"
102950 || test ! -s conftest.err'
102951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102952 (eval $ac_try) 2>&5
102953 ac_status=$?
102954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102955 (exit $ac_status); }; } &&
102956 { ac_try='test -s conftest$ac_exeext'
102957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102958 (eval $ac_try) 2>&5
102959 ac_status=$?
102960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102961 (exit $ac_status); }; }; then
102962 ac_cv_lib_iconv_iconv=yes
102964 echo "$as_me: failed program was:" >&5
102965 sed 's/^/| /' conftest.$ac_ext >&5
102967 ac_cv_lib_iconv_iconv=no
102969 rm -f conftest.err conftest.$ac_objext \
102970 conftest$ac_exeext conftest.$ac_ext
102971 LIBS=$ac_check_lib_save_LIBS
102973 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
102974 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
102975 if test $ac_cv_lib_iconv_iconv = yes; then
102976 LIBICONV="-liconv"
102979 ac_save_LIBS="$LIBS"
102980 LIBS="$LIBS $LIBICONV"
102987 for ac_func in iconv_open iconv_close iconv nl_langinfo
102989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102990 echo "$as_me:$LINENO: checking for $ac_func" >&5
102991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102992 if eval "test \"\${$as_ac_var+set}\" = set"; then
102993 echo $ECHO_N "(cached) $ECHO_C" >&6
102995 if test x$gcc_no_link = xyes; then
102996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102998 { (exit 1); exit 1; }; }
103000 cat >conftest.$ac_ext <<_ACEOF
103001 /* confdefs.h. */
103002 _ACEOF
103003 cat confdefs.h >>conftest.$ac_ext
103004 cat >>conftest.$ac_ext <<_ACEOF
103005 /* end confdefs.h. */
103006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103008 #define $ac_func innocuous_$ac_func
103010 /* System header to define __stub macros and hopefully few prototypes,
103011 which can conflict with char $ac_func (); below.
103012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103013 <limits.h> exists even on freestanding compilers. */
103015 #ifdef __STDC__
103016 # include <limits.h>
103017 #else
103018 # include <assert.h>
103019 #endif
103021 #undef $ac_func
103023 /* Override any gcc2 internal prototype to avoid an error. */
103024 #ifdef __cplusplus
103025 extern "C"
103027 #endif
103028 /* We use char because int might match the return type of a gcc2
103029 builtin and then its argument prototype would still apply. */
103030 char $ac_func ();
103031 /* The GNU C library defines this for functions which it implements
103032 to always fail with ENOSYS. Some functions are actually named
103033 something starting with __ and the normal name is an alias. */
103034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103035 choke me
103036 #else
103037 char (*f) () = $ac_func;
103038 #endif
103039 #ifdef __cplusplus
103041 #endif
103044 main ()
103046 return f != $ac_func;
103048 return 0;
103050 _ACEOF
103051 rm -f conftest.$ac_objext conftest$ac_exeext
103052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103053 (eval $ac_link) 2>conftest.er1
103054 ac_status=$?
103055 grep -v '^ *+' conftest.er1 >conftest.err
103056 rm -f conftest.er1
103057 cat conftest.err >&5
103058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103059 (exit $ac_status); } &&
103060 { ac_try='test -z "$ac_c_werror_flag"
103061 || test ! -s conftest.err'
103062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103063 (eval $ac_try) 2>&5
103064 ac_status=$?
103065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103066 (exit $ac_status); }; } &&
103067 { ac_try='test -s conftest$ac_exeext'
103068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103069 (eval $ac_try) 2>&5
103070 ac_status=$?
103071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103072 (exit $ac_status); }; }; then
103073 eval "$as_ac_var=yes"
103075 echo "$as_me: failed program was:" >&5
103076 sed 's/^/| /' conftest.$ac_ext >&5
103078 eval "$as_ac_var=no"
103080 rm -f conftest.err conftest.$ac_objext \
103081 conftest$ac_exeext conftest.$ac_ext
103083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103085 if test `eval echo '${'$as_ac_var'}'` = yes; then
103086 cat >>confdefs.h <<_ACEOF
103087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103088 _ACEOF
103089 ac_XPG2funcs=yes
103091 ac_XPG2funcs=no
103096 LIBS="$ac_save_LIBS"
103098 if test x"$ac_has_iconv_h" = xyes &&
103099 test x"$ac_has_langinfo_h" = xyes &&
103100 test x"$ac_XPG2funcs" = xyes;
103103 cat >>confdefs.h <<\_ACEOF
103104 #define _GLIBCXX_USE_ICONV 1
103105 _ACEOF
103107 enable_iconv=yes
103110 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
103111 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
103112 echo "$as_me:$LINENO: result: $enable_iconv" >&5
103113 echo "${ECHO_T}$enable_iconv" >&6
103115 cat >>confdefs.h <<\_ACEOF
103116 #define HAVE_COPYSIGN 1
103117 _ACEOF
103119 cat >>confdefs.h <<\_ACEOF
103120 #define HAVE_COPYSIGNF 1
103121 _ACEOF
103123 cat >>confdefs.h <<\_ACEOF
103124 #define HAVE_FINITEF 1
103125 _ACEOF
103127 cat >>confdefs.h <<\_ACEOF
103128 #define HAVE_FINITE 1
103129 _ACEOF
103131 cat >>confdefs.h <<\_ACEOF
103132 #define HAVE_FREXPF 1
103133 _ACEOF
103135 cat >>confdefs.h <<\_ACEOF
103136 #define HAVE_HYPOTF 1
103137 _ACEOF
103139 cat >>confdefs.h <<\_ACEOF
103140 #define HAVE_ISINF 1
103141 _ACEOF
103143 cat >>confdefs.h <<\_ACEOF
103144 #define HAVE_ISINFF 1
103145 _ACEOF
103147 cat >>confdefs.h <<\_ACEOF
103148 #define HAVE_ISNAN 1
103149 _ACEOF
103151 cat >>confdefs.h <<\_ACEOF
103152 #define HAVE_ISNANF 1
103153 _ACEOF
103155 if test x"long_double_math_on_this_cpu" = x"yes"; then
103156 cat >>confdefs.h <<\_ACEOF
103157 #define HAVE_FINITEL 1
103158 _ACEOF
103160 cat >>confdefs.h <<\_ACEOF
103161 #define HAVE_ISINFL 1
103162 _ACEOF
103164 cat >>confdefs.h <<\_ACEOF
103165 #define HAVE_ISNANL 1
103166 _ACEOF
103170 *-netware)
103179 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
103180 sys/types.h locale.h float.h inttypes.h
103182 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
103183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103184 echo "$as_me:$LINENO: checking for $ac_header" >&5
103185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103187 echo $ECHO_N "(cached) $ECHO_C" >&6
103189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103192 # Is the header compilable?
103193 echo "$as_me:$LINENO: checking $ac_header usability" >&5
103194 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
103195 cat >conftest.$ac_ext <<_ACEOF
103196 /* confdefs.h. */
103197 _ACEOF
103198 cat confdefs.h >>conftest.$ac_ext
103199 cat >>conftest.$ac_ext <<_ACEOF
103200 /* end confdefs.h. */
103201 $ac_includes_default
103202 #include <$ac_header>
103203 _ACEOF
103204 rm -f conftest.$ac_objext
103205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103206 (eval $ac_compile) 2>conftest.er1
103207 ac_status=$?
103208 grep -v '^ *+' conftest.er1 >conftest.err
103209 rm -f conftest.er1
103210 cat conftest.err >&5
103211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103212 (exit $ac_status); } &&
103213 { ac_try='test -z "$ac_c_werror_flag"
103214 || test ! -s conftest.err'
103215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103216 (eval $ac_try) 2>&5
103217 ac_status=$?
103218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103219 (exit $ac_status); }; } &&
103220 { ac_try='test -s conftest.$ac_objext'
103221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103222 (eval $ac_try) 2>&5
103223 ac_status=$?
103224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103225 (exit $ac_status); }; }; then
103226 ac_header_compiler=yes
103228 echo "$as_me: failed program was:" >&5
103229 sed 's/^/| /' conftest.$ac_ext >&5
103231 ac_header_compiler=no
103233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103235 echo "${ECHO_T}$ac_header_compiler" >&6
103237 # Is the header present?
103238 echo "$as_me:$LINENO: checking $ac_header presence" >&5
103239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
103240 cat >conftest.$ac_ext <<_ACEOF
103241 /* confdefs.h. */
103242 _ACEOF
103243 cat confdefs.h >>conftest.$ac_ext
103244 cat >>conftest.$ac_ext <<_ACEOF
103245 /* end confdefs.h. */
103246 #include <$ac_header>
103247 _ACEOF
103248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103250 ac_status=$?
103251 grep -v '^ *+' conftest.er1 >conftest.err
103252 rm -f conftest.er1
103253 cat conftest.err >&5
103254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103255 (exit $ac_status); } >/dev/null; then
103256 if test -s conftest.err; then
103257 ac_cpp_err=$ac_c_preproc_warn_flag
103258 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103260 ac_cpp_err=
103263 ac_cpp_err=yes
103265 if test -z "$ac_cpp_err"; then
103266 ac_header_preproc=yes
103268 echo "$as_me: failed program was:" >&5
103269 sed 's/^/| /' conftest.$ac_ext >&5
103271 ac_header_preproc=no
103273 rm -f conftest.err conftest.$ac_ext
103274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103275 echo "${ECHO_T}$ac_header_preproc" >&6
103277 # So? What about this header?
103278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103279 yes:no: )
103280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
103281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
103282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
103283 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
103284 ac_header_preproc=yes
103286 no:yes:* )
103287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
103288 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
103289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
103290 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
103291 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
103292 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
103293 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
103294 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
103295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
103296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
103297 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
103298 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
103300 cat <<\_ASBOX
103301 ## ----------------------------------------- ##
103302 ## Report this to the package-unused lists. ##
103303 ## ----------------------------------------- ##
103304 _ASBOX
103306 sed "s/^/$as_me: WARNING: /" >&2
103309 echo "$as_me:$LINENO: checking for $ac_header" >&5
103310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103312 echo $ECHO_N "(cached) $ECHO_C" >&6
103314 eval "$as_ac_Header=\$ac_header_preproc"
103316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
103321 cat >>confdefs.h <<_ACEOF
103322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
103323 _ACEOF
103329 SECTION_FLAGS='-ffunction-sections -fdata-sections'
103332 # If we're not using GNU ld, then there's no point in even trying these
103333 # tests. Check for that first. We should have already tested for gld
103334 # by now (in libtool), but require it now just to be safe...
103335 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103336 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103340 # The name set by libtool depends on the version of libtool. Shame on us
103341 # for depending on an impl detail, but c'est la vie. Older versions used
103342 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103343 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103344 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
103345 # set (hence we're using an older libtool), then set it.
103346 if test x${with_gnu_ld+set} != xset; then
103347 if test x${ac_cv_prog_gnu_ld+set} != xset; then
103348 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
103349 with_gnu_ld=no
103351 with_gnu_ld=$ac_cv_prog_gnu_ld
103355 # Start by getting the version number. I think the libtool test already
103356 # does some of this, but throws away the result.
103357 echo "$as_me:$LINENO: checking for ld version" >&5
103358 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103360 ldver=`$LD --version 2>/dev/null | head -1 | \
103361 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
103363 glibcxx_gnu_ld_version=`echo $ldver | \
103364 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103365 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103366 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103368 # Set --gc-sections.
103369 glibcxx_gcsections_min_ld=21602
103370 if test x"$with_gnu_ld" = x"yes" &&
103371 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103373 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
103374 # NB: This flag only works reliably after 2.16.1. Configure tests
103375 # for this are difficult, so hard wire a value that should work.
103377 # All these tests are for C++, but run with the "C" compiler driver.
103378 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
103379 ac_test_CFLAGS="${CFLAGS+set}"
103380 ac_save_CFLAGS="$CFLAGS"
103381 CFLAGS='-x c++ -Wl,--gc-sections'
103383 # Check for -Wl,--gc-sections
103384 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103385 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103386 if test x$gcc_no_link = xyes; then
103387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103389 { (exit 1); exit 1; }; }
103391 cat >conftest.$ac_ext <<_ACEOF
103392 /* confdefs.h. */
103393 _ACEOF
103394 cat confdefs.h >>conftest.$ac_ext
103395 cat >>conftest.$ac_ext <<_ACEOF
103396 /* end confdefs.h. */
103397 int one(void) { return 1; }
103398 int two(void) { return 2; }
103401 main ()
103403 two();
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 ac_gcsections=yes
103432 echo "$as_me: failed program was:" >&5
103433 sed 's/^/| /' conftest.$ac_ext >&5
103435 ac_gcsections=no
103437 rm -f conftest.err conftest.$ac_objext \
103438 conftest$ac_exeext conftest.$ac_ext
103439 if test "$ac_gcsections" = "yes"; then
103440 rm -f conftest.c
103441 touch conftest.c
103442 if $CC -c conftest.c; then
103443 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103444 grep "Warning: gc-sections option ignored" > /dev/null; then
103445 ac_gcsections=no
103448 rm -f conftest.c conftest.o conftest
103450 if test "$ac_gcsections" = "yes"; then
103451 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103453 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103454 echo "${ECHO_T}$ac_gcsections" >&6
103456 if test "$ac_test_CFLAGS" = set; then
103457 CFLAGS="$ac_save_CFLAGS"
103459 # this is the suspicious part
103460 CFLAGS=''
103464 # Set -z,relro.
103465 # Note this is only for shared objects.
103466 ac_ld_relro=no
103467 if test x"$with_gnu_ld" = x"yes"; then
103468 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103469 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103470 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103471 if test -n "$cxx_z_relo"; then
103472 OPT_LDFLAGS="-Wl,-z,relro"
103473 ac_ld_relro=yes
103475 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103476 echo "${ECHO_T}$ac_ld_relro" >&6
103479 # Set linker optimization flags.
103480 if test x"$with_gnu_ld" = x"yes"; then
103481 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103489 echo "$as_me:$LINENO: checking for main in -lm" >&5
103490 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
103491 if test "${ac_cv_lib_m_main+set}" = set; then
103492 echo $ECHO_N "(cached) $ECHO_C" >&6
103494 ac_check_lib_save_LIBS=$LIBS
103495 LIBS="-lm $LIBS"
103496 if test x$gcc_no_link = xyes; then
103497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103499 { (exit 1); exit 1; }; }
103501 cat >conftest.$ac_ext <<_ACEOF
103502 /* confdefs.h. */
103503 _ACEOF
103504 cat confdefs.h >>conftest.$ac_ext
103505 cat >>conftest.$ac_ext <<_ACEOF
103506 /* end confdefs.h. */
103510 main ()
103512 main ();
103514 return 0;
103516 _ACEOF
103517 rm -f conftest.$ac_objext conftest$ac_exeext
103518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103519 (eval $ac_link) 2>conftest.er1
103520 ac_status=$?
103521 grep -v '^ *+' conftest.er1 >conftest.err
103522 rm -f conftest.er1
103523 cat conftest.err >&5
103524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103525 (exit $ac_status); } &&
103526 { ac_try='test -z "$ac_c_werror_flag"
103527 || test ! -s conftest.err'
103528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103529 (eval $ac_try) 2>&5
103530 ac_status=$?
103531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103532 (exit $ac_status); }; } &&
103533 { ac_try='test -s conftest$ac_exeext'
103534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103535 (eval $ac_try) 2>&5
103536 ac_status=$?
103537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103538 (exit $ac_status); }; }; then
103539 ac_cv_lib_m_main=yes
103541 echo "$as_me: failed program was:" >&5
103542 sed 's/^/| /' conftest.$ac_ext >&5
103544 ac_cv_lib_m_main=no
103546 rm -f conftest.err conftest.$ac_objext \
103547 conftest$ac_exeext conftest.$ac_ext
103548 LIBS=$ac_check_lib_save_LIBS
103550 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
103551 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
103552 if test $ac_cv_lib_m_main = yes; then
103553 cat >>confdefs.h <<_ACEOF
103554 #define HAVE_LIBM 1
103555 _ACEOF
103557 LIBS="-lm $LIBS"
103562 for ac_func in copysignf
103564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103565 echo "$as_me:$LINENO: checking for $ac_func" >&5
103566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103567 if eval "test \"\${$as_ac_var+set}\" = set"; then
103568 echo $ECHO_N "(cached) $ECHO_C" >&6
103570 if test x$gcc_no_link = xyes; then
103571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103573 { (exit 1); exit 1; }; }
103575 cat >conftest.$ac_ext <<_ACEOF
103576 /* confdefs.h. */
103577 _ACEOF
103578 cat confdefs.h >>conftest.$ac_ext
103579 cat >>conftest.$ac_ext <<_ACEOF
103580 /* end confdefs.h. */
103581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103583 #define $ac_func innocuous_$ac_func
103585 /* System header to define __stub macros and hopefully few prototypes,
103586 which can conflict with char $ac_func (); below.
103587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103588 <limits.h> exists even on freestanding compilers. */
103590 #ifdef __STDC__
103591 # include <limits.h>
103592 #else
103593 # include <assert.h>
103594 #endif
103596 #undef $ac_func
103598 /* Override any gcc2 internal prototype to avoid an error. */
103599 #ifdef __cplusplus
103600 extern "C"
103602 #endif
103603 /* We use char because int might match the return type of a gcc2
103604 builtin and then its argument prototype would still apply. */
103605 char $ac_func ();
103606 /* The GNU C library defines this for functions which it implements
103607 to always fail with ENOSYS. Some functions are actually named
103608 something starting with __ and the normal name is an alias. */
103609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103610 choke me
103611 #else
103612 char (*f) () = $ac_func;
103613 #endif
103614 #ifdef __cplusplus
103616 #endif
103619 main ()
103621 return f != $ac_func;
103623 return 0;
103625 _ACEOF
103626 rm -f conftest.$ac_objext conftest$ac_exeext
103627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103628 (eval $ac_link) 2>conftest.er1
103629 ac_status=$?
103630 grep -v '^ *+' conftest.er1 >conftest.err
103631 rm -f conftest.er1
103632 cat conftest.err >&5
103633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103634 (exit $ac_status); } &&
103635 { ac_try='test -z "$ac_c_werror_flag"
103636 || test ! -s conftest.err'
103637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103638 (eval $ac_try) 2>&5
103639 ac_status=$?
103640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103641 (exit $ac_status); }; } &&
103642 { ac_try='test -s conftest$ac_exeext'
103643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103644 (eval $ac_try) 2>&5
103645 ac_status=$?
103646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103647 (exit $ac_status); }; }; then
103648 eval "$as_ac_var=yes"
103650 echo "$as_me: failed program was:" >&5
103651 sed 's/^/| /' conftest.$ac_ext >&5
103653 eval "$as_ac_var=no"
103655 rm -f conftest.err conftest.$ac_objext \
103656 conftest$ac_exeext conftest.$ac_ext
103658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103660 if test `eval echo '${'$as_ac_var'}'` = yes; then
103661 cat >>confdefs.h <<_ACEOF
103662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103663 _ACEOF
103666 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
103672 for ac_func in __signbit
103674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103675 echo "$as_me:$LINENO: checking for $ac_func" >&5
103676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103677 if eval "test \"\${$as_ac_var+set}\" = set"; then
103678 echo $ECHO_N "(cached) $ECHO_C" >&6
103680 if test x$gcc_no_link = xyes; then
103681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103683 { (exit 1); exit 1; }; }
103685 cat >conftest.$ac_ext <<_ACEOF
103686 /* confdefs.h. */
103687 _ACEOF
103688 cat confdefs.h >>conftest.$ac_ext
103689 cat >>conftest.$ac_ext <<_ACEOF
103690 /* end confdefs.h. */
103691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103693 #define $ac_func innocuous_$ac_func
103695 /* System header to define __stub macros and hopefully few prototypes,
103696 which can conflict with char $ac_func (); below.
103697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103698 <limits.h> exists even on freestanding compilers. */
103700 #ifdef __STDC__
103701 # include <limits.h>
103702 #else
103703 # include <assert.h>
103704 #endif
103706 #undef $ac_func
103708 /* Override any gcc2 internal prototype to avoid an error. */
103709 #ifdef __cplusplus
103710 extern "C"
103712 #endif
103713 /* We use char because int might match the return type of a gcc2
103714 builtin and then its argument prototype would still apply. */
103715 char $ac_func ();
103716 /* The GNU C library defines this for functions which it implements
103717 to always fail with ENOSYS. Some functions are actually named
103718 something starting with __ and the normal name is an alias. */
103719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103720 choke me
103721 #else
103722 char (*f) () = $ac_func;
103723 #endif
103724 #ifdef __cplusplus
103726 #endif
103729 main ()
103731 return f != $ac_func;
103733 return 0;
103735 _ACEOF
103736 rm -f conftest.$ac_objext conftest$ac_exeext
103737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103738 (eval $ac_link) 2>conftest.er1
103739 ac_status=$?
103740 grep -v '^ *+' conftest.er1 >conftest.err
103741 rm -f conftest.er1
103742 cat conftest.err >&5
103743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103744 (exit $ac_status); } &&
103745 { ac_try='test -z "$ac_c_werror_flag"
103746 || test ! -s conftest.err'
103747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103748 (eval $ac_try) 2>&5
103749 ac_status=$?
103750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103751 (exit $ac_status); }; } &&
103752 { ac_try='test -s conftest$ac_exeext'
103753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103754 (eval $ac_try) 2>&5
103755 ac_status=$?
103756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103757 (exit $ac_status); }; }; then
103758 eval "$as_ac_var=yes"
103760 echo "$as_me: failed program was:" >&5
103761 sed 's/^/| /' conftest.$ac_ext >&5
103763 eval "$as_ac_var=no"
103765 rm -f conftest.err conftest.$ac_objext \
103766 conftest$ac_exeext conftest.$ac_ext
103768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103770 if test `eval echo '${'$as_ac_var'}'` = yes; then
103771 cat >>confdefs.h <<_ACEOF
103772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103773 _ACEOF
103776 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103782 for ac_func in __signbitf
103784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103785 echo "$as_me:$LINENO: checking for $ac_func" >&5
103786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103787 if eval "test \"\${$as_ac_var+set}\" = set"; then
103788 echo $ECHO_N "(cached) $ECHO_C" >&6
103790 if test x$gcc_no_link = xyes; then
103791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103793 { (exit 1); exit 1; }; }
103795 cat >conftest.$ac_ext <<_ACEOF
103796 /* confdefs.h. */
103797 _ACEOF
103798 cat confdefs.h >>conftest.$ac_ext
103799 cat >>conftest.$ac_ext <<_ACEOF
103800 /* end confdefs.h. */
103801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103803 #define $ac_func innocuous_$ac_func
103805 /* System header to define __stub macros and hopefully few prototypes,
103806 which can conflict with char $ac_func (); below.
103807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103808 <limits.h> exists even on freestanding compilers. */
103810 #ifdef __STDC__
103811 # include <limits.h>
103812 #else
103813 # include <assert.h>
103814 #endif
103816 #undef $ac_func
103818 /* Override any gcc2 internal prototype to avoid an error. */
103819 #ifdef __cplusplus
103820 extern "C"
103822 #endif
103823 /* We use char because int might match the return type of a gcc2
103824 builtin and then its argument prototype would still apply. */
103825 char $ac_func ();
103826 /* The GNU C library defines this for functions which it implements
103827 to always fail with ENOSYS. Some functions are actually named
103828 something starting with __ and the normal name is an alias. */
103829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103830 choke me
103831 #else
103832 char (*f) () = $ac_func;
103833 #endif
103834 #ifdef __cplusplus
103836 #endif
103839 main ()
103841 return f != $ac_func;
103843 return 0;
103845 _ACEOF
103846 rm -f conftest.$ac_objext conftest$ac_exeext
103847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103848 (eval $ac_link) 2>conftest.er1
103849 ac_status=$?
103850 grep -v '^ *+' conftest.er1 >conftest.err
103851 rm -f conftest.er1
103852 cat conftest.err >&5
103853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103854 (exit $ac_status); } &&
103855 { ac_try='test -z "$ac_c_werror_flag"
103856 || test ! -s conftest.err'
103857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103858 (eval $ac_try) 2>&5
103859 ac_status=$?
103860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103861 (exit $ac_status); }; } &&
103862 { ac_try='test -s conftest$ac_exeext'
103863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103864 (eval $ac_try) 2>&5
103865 ac_status=$?
103866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103867 (exit $ac_status); }; }; then
103868 eval "$as_ac_var=yes"
103870 echo "$as_me: failed program was:" >&5
103871 sed 's/^/| /' conftest.$ac_ext >&5
103873 eval "$as_ac_var=no"
103875 rm -f conftest.err conftest.$ac_objext \
103876 conftest$ac_exeext conftest.$ac_ext
103878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103880 if test `eval echo '${'$as_ac_var'}'` = yes; then
103881 cat >>confdefs.h <<_ACEOF
103882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103883 _ACEOF
103886 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103891 if test x$ac_cv_func_copysignl = x"yes"; then
103893 for ac_func in __signbitl
103895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103896 echo "$as_me:$LINENO: checking for $ac_func" >&5
103897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103898 if eval "test \"\${$as_ac_var+set}\" = set"; then
103899 echo $ECHO_N "(cached) $ECHO_C" >&6
103901 if test x$gcc_no_link = xyes; then
103902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103904 { (exit 1); exit 1; }; }
103906 cat >conftest.$ac_ext <<_ACEOF
103907 /* confdefs.h. */
103908 _ACEOF
103909 cat confdefs.h >>conftest.$ac_ext
103910 cat >>conftest.$ac_ext <<_ACEOF
103911 /* end confdefs.h. */
103912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103914 #define $ac_func innocuous_$ac_func
103916 /* System header to define __stub macros and hopefully few prototypes,
103917 which can conflict with char $ac_func (); below.
103918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103919 <limits.h> exists even on freestanding compilers. */
103921 #ifdef __STDC__
103922 # include <limits.h>
103923 #else
103924 # include <assert.h>
103925 #endif
103927 #undef $ac_func
103929 /* Override any gcc2 internal prototype to avoid an error. */
103930 #ifdef __cplusplus
103931 extern "C"
103933 #endif
103934 /* We use char because int might match the return type of a gcc2
103935 builtin and then its argument prototype would still apply. */
103936 char $ac_func ();
103937 /* The GNU C library defines this for functions which it implements
103938 to always fail with ENOSYS. Some functions are actually named
103939 something starting with __ and the normal name is an alias. */
103940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103941 choke me
103942 #else
103943 char (*f) () = $ac_func;
103944 #endif
103945 #ifdef __cplusplus
103947 #endif
103950 main ()
103952 return f != $ac_func;
103954 return 0;
103956 _ACEOF
103957 rm -f conftest.$ac_objext conftest$ac_exeext
103958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103959 (eval $ac_link) 2>conftest.er1
103960 ac_status=$?
103961 grep -v '^ *+' conftest.er1 >conftest.err
103962 rm -f conftest.er1
103963 cat conftest.err >&5
103964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103965 (exit $ac_status); } &&
103966 { ac_try='test -z "$ac_c_werror_flag"
103967 || test ! -s conftest.err'
103968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103969 (eval $ac_try) 2>&5
103970 ac_status=$?
103971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103972 (exit $ac_status); }; } &&
103973 { ac_try='test -s conftest$ac_exeext'
103974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103975 (eval $ac_try) 2>&5
103976 ac_status=$?
103977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103978 (exit $ac_status); }; }; then
103979 eval "$as_ac_var=yes"
103981 echo "$as_me: failed program was:" >&5
103982 sed 's/^/| /' conftest.$ac_ext >&5
103984 eval "$as_ac_var=no"
103986 rm -f conftest.err conftest.$ac_objext \
103987 conftest$ac_exeext conftest.$ac_ext
103989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103991 if test `eval echo '${'$as_ac_var'}'` = yes; then
103992 cat >>confdefs.h <<_ACEOF
103993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103994 _ACEOF
103997 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
104003 # Used in libmath/Makefile.am.
104004 if test -n "$LIBMATHOBJS"; then
104005 need_libmath=yes
104011 enable_iconv=no
104012 # Only continue checking if the ISO C99 headers exist and support is on.
104013 if test x"$enable_wchar_t" = xyes; then
104015 # Use iconv for wchar_t to char conversions. As such, check for
104016 # X/Open Portability Guide, version 2 features (XPG2).
104017 if test "${ac_cv_header_iconv_h+set}" = set; then
104018 echo "$as_me:$LINENO: checking for iconv.h" >&5
104019 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
104020 if test "${ac_cv_header_iconv_h+set}" = set; then
104021 echo $ECHO_N "(cached) $ECHO_C" >&6
104023 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
104024 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
104026 # Is the header compilable?
104027 echo "$as_me:$LINENO: checking iconv.h usability" >&5
104028 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
104029 cat >conftest.$ac_ext <<_ACEOF
104030 /* confdefs.h. */
104031 _ACEOF
104032 cat confdefs.h >>conftest.$ac_ext
104033 cat >>conftest.$ac_ext <<_ACEOF
104034 /* end confdefs.h. */
104035 $ac_includes_default
104036 #include <iconv.h>
104037 _ACEOF
104038 rm -f conftest.$ac_objext
104039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104040 (eval $ac_compile) 2>conftest.er1
104041 ac_status=$?
104042 grep -v '^ *+' conftest.er1 >conftest.err
104043 rm -f conftest.er1
104044 cat conftest.err >&5
104045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104046 (exit $ac_status); } &&
104047 { ac_try='test -z "$ac_c_werror_flag"
104048 || test ! -s conftest.err'
104049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104050 (eval $ac_try) 2>&5
104051 ac_status=$?
104052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104053 (exit $ac_status); }; } &&
104054 { ac_try='test -s conftest.$ac_objext'
104055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104056 (eval $ac_try) 2>&5
104057 ac_status=$?
104058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104059 (exit $ac_status); }; }; then
104060 ac_header_compiler=yes
104062 echo "$as_me: failed program was:" >&5
104063 sed 's/^/| /' conftest.$ac_ext >&5
104065 ac_header_compiler=no
104067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104068 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104069 echo "${ECHO_T}$ac_header_compiler" >&6
104071 # Is the header present?
104072 echo "$as_me:$LINENO: checking iconv.h presence" >&5
104073 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
104074 cat >conftest.$ac_ext <<_ACEOF
104075 /* confdefs.h. */
104076 _ACEOF
104077 cat confdefs.h >>conftest.$ac_ext
104078 cat >>conftest.$ac_ext <<_ACEOF
104079 /* end confdefs.h. */
104080 #include <iconv.h>
104081 _ACEOF
104082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104083 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104084 ac_status=$?
104085 grep -v '^ *+' conftest.er1 >conftest.err
104086 rm -f conftest.er1
104087 cat conftest.err >&5
104088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104089 (exit $ac_status); } >/dev/null; then
104090 if test -s conftest.err; then
104091 ac_cpp_err=$ac_c_preproc_warn_flag
104092 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104094 ac_cpp_err=
104097 ac_cpp_err=yes
104099 if test -z "$ac_cpp_err"; then
104100 ac_header_preproc=yes
104102 echo "$as_me: failed program was:" >&5
104103 sed 's/^/| /' conftest.$ac_ext >&5
104105 ac_header_preproc=no
104107 rm -f conftest.err conftest.$ac_ext
104108 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104109 echo "${ECHO_T}$ac_header_preproc" >&6
104111 # So? What about this header?
104112 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104113 yes:no: )
104114 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
104115 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
104116 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
104117 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
104118 ac_header_preproc=yes
104120 no:yes:* )
104121 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
104122 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
104123 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
104124 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
104125 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
104126 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
104127 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
104128 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
104129 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
104130 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
104131 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
104132 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
104134 cat <<\_ASBOX
104135 ## ----------------------------------------- ##
104136 ## Report this to the package-unused lists. ##
104137 ## ----------------------------------------- ##
104138 _ASBOX
104140 sed "s/^/$as_me: WARNING: /" >&2
104143 echo "$as_me:$LINENO: checking for iconv.h" >&5
104144 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
104145 if test "${ac_cv_header_iconv_h+set}" = set; then
104146 echo $ECHO_N "(cached) $ECHO_C" >&6
104148 ac_cv_header_iconv_h=$ac_header_preproc
104150 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
104151 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
104154 if test $ac_cv_header_iconv_h = yes; then
104155 ac_has_iconv_h=yes
104157 ac_has_iconv_h=no
104161 if test "${ac_cv_header_langinfo_h+set}" = set; then
104162 echo "$as_me:$LINENO: checking for langinfo.h" >&5
104163 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
104164 if test "${ac_cv_header_langinfo_h+set}" = set; then
104165 echo $ECHO_N "(cached) $ECHO_C" >&6
104167 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
104168 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
104170 # Is the header compilable?
104171 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
104172 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
104173 cat >conftest.$ac_ext <<_ACEOF
104174 /* confdefs.h. */
104175 _ACEOF
104176 cat confdefs.h >>conftest.$ac_ext
104177 cat >>conftest.$ac_ext <<_ACEOF
104178 /* end confdefs.h. */
104179 $ac_includes_default
104180 #include <langinfo.h>
104181 _ACEOF
104182 rm -f conftest.$ac_objext
104183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104184 (eval $ac_compile) 2>conftest.er1
104185 ac_status=$?
104186 grep -v '^ *+' conftest.er1 >conftest.err
104187 rm -f conftest.er1
104188 cat conftest.err >&5
104189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104190 (exit $ac_status); } &&
104191 { ac_try='test -z "$ac_c_werror_flag"
104192 || test ! -s conftest.err'
104193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104194 (eval $ac_try) 2>&5
104195 ac_status=$?
104196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104197 (exit $ac_status); }; } &&
104198 { ac_try='test -s conftest.$ac_objext'
104199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104200 (eval $ac_try) 2>&5
104201 ac_status=$?
104202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104203 (exit $ac_status); }; }; then
104204 ac_header_compiler=yes
104206 echo "$as_me: failed program was:" >&5
104207 sed 's/^/| /' conftest.$ac_ext >&5
104209 ac_header_compiler=no
104211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104212 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104213 echo "${ECHO_T}$ac_header_compiler" >&6
104215 # Is the header present?
104216 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
104217 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
104218 cat >conftest.$ac_ext <<_ACEOF
104219 /* confdefs.h. */
104220 _ACEOF
104221 cat confdefs.h >>conftest.$ac_ext
104222 cat >>conftest.$ac_ext <<_ACEOF
104223 /* end confdefs.h. */
104224 #include <langinfo.h>
104225 _ACEOF
104226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104228 ac_status=$?
104229 grep -v '^ *+' conftest.er1 >conftest.err
104230 rm -f conftest.er1
104231 cat conftest.err >&5
104232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104233 (exit $ac_status); } >/dev/null; then
104234 if test -s conftest.err; then
104235 ac_cpp_err=$ac_c_preproc_warn_flag
104236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104238 ac_cpp_err=
104241 ac_cpp_err=yes
104243 if test -z "$ac_cpp_err"; then
104244 ac_header_preproc=yes
104246 echo "$as_me: failed program was:" >&5
104247 sed 's/^/| /' conftest.$ac_ext >&5
104249 ac_header_preproc=no
104251 rm -f conftest.err conftest.$ac_ext
104252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104253 echo "${ECHO_T}$ac_header_preproc" >&6
104255 # So? What about this header?
104256 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104257 yes:no: )
104258 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
104259 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
104260 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
104261 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
104262 ac_header_preproc=yes
104264 no:yes:* )
104265 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
104266 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
104267 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
104268 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
104269 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
104270 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
104271 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
104272 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
104273 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
104274 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
104275 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
104276 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
104278 cat <<\_ASBOX
104279 ## ----------------------------------------- ##
104280 ## Report this to the package-unused lists. ##
104281 ## ----------------------------------------- ##
104282 _ASBOX
104284 sed "s/^/$as_me: WARNING: /" >&2
104287 echo "$as_me:$LINENO: checking for langinfo.h" >&5
104288 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
104289 if test "${ac_cv_header_langinfo_h+set}" = set; then
104290 echo $ECHO_N "(cached) $ECHO_C" >&6
104292 ac_cv_header_langinfo_h=$ac_header_preproc
104294 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
104295 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
104298 if test $ac_cv_header_langinfo_h = yes; then
104299 ac_has_langinfo_h=yes
104301 ac_has_langinfo_h=no
104306 # Check for existence of libiconv.a providing XPG2 wchar_t support.
104307 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
104308 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
104309 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
104310 echo $ECHO_N "(cached) $ECHO_C" >&6
104312 ac_check_lib_save_LIBS=$LIBS
104313 LIBS="-liconv $LIBS"
104314 if test x$gcc_no_link = xyes; then
104315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104317 { (exit 1); exit 1; }; }
104319 cat >conftest.$ac_ext <<_ACEOF
104320 /* confdefs.h. */
104321 _ACEOF
104322 cat confdefs.h >>conftest.$ac_ext
104323 cat >>conftest.$ac_ext <<_ACEOF
104324 /* end confdefs.h. */
104326 /* Override any gcc2 internal prototype to avoid an error. */
104327 #ifdef __cplusplus
104328 extern "C"
104329 #endif
104330 /* We use char because int might match the return type of a gcc2
104331 builtin and then its argument prototype would still apply. */
104332 char iconv ();
104334 main ()
104336 iconv ();
104338 return 0;
104340 _ACEOF
104341 rm -f conftest.$ac_objext conftest$ac_exeext
104342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104343 (eval $ac_link) 2>conftest.er1
104344 ac_status=$?
104345 grep -v '^ *+' conftest.er1 >conftest.err
104346 rm -f conftest.er1
104347 cat conftest.err >&5
104348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104349 (exit $ac_status); } &&
104350 { ac_try='test -z "$ac_c_werror_flag"
104351 || test ! -s conftest.err'
104352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104353 (eval $ac_try) 2>&5
104354 ac_status=$?
104355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104356 (exit $ac_status); }; } &&
104357 { ac_try='test -s conftest$ac_exeext'
104358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104359 (eval $ac_try) 2>&5
104360 ac_status=$?
104361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104362 (exit $ac_status); }; }; then
104363 ac_cv_lib_iconv_iconv=yes
104365 echo "$as_me: failed program was:" >&5
104366 sed 's/^/| /' conftest.$ac_ext >&5
104368 ac_cv_lib_iconv_iconv=no
104370 rm -f conftest.err conftest.$ac_objext \
104371 conftest$ac_exeext conftest.$ac_ext
104372 LIBS=$ac_check_lib_save_LIBS
104374 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
104375 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
104376 if test $ac_cv_lib_iconv_iconv = yes; then
104377 LIBICONV="-liconv"
104380 ac_save_LIBS="$LIBS"
104381 LIBS="$LIBS $LIBICONV"
104388 for ac_func in iconv_open iconv_close iconv nl_langinfo
104390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104391 echo "$as_me:$LINENO: checking for $ac_func" >&5
104392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104393 if eval "test \"\${$as_ac_var+set}\" = set"; then
104394 echo $ECHO_N "(cached) $ECHO_C" >&6
104396 if test x$gcc_no_link = xyes; then
104397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104399 { (exit 1); exit 1; }; }
104401 cat >conftest.$ac_ext <<_ACEOF
104402 /* confdefs.h. */
104403 _ACEOF
104404 cat confdefs.h >>conftest.$ac_ext
104405 cat >>conftest.$ac_ext <<_ACEOF
104406 /* end confdefs.h. */
104407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104409 #define $ac_func innocuous_$ac_func
104411 /* System header to define __stub macros and hopefully few prototypes,
104412 which can conflict with char $ac_func (); below.
104413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104414 <limits.h> exists even on freestanding compilers. */
104416 #ifdef __STDC__
104417 # include <limits.h>
104418 #else
104419 # include <assert.h>
104420 #endif
104422 #undef $ac_func
104424 /* Override any gcc2 internal prototype to avoid an error. */
104425 #ifdef __cplusplus
104426 extern "C"
104428 #endif
104429 /* We use char because int might match the return type of a gcc2
104430 builtin and then its argument prototype would still apply. */
104431 char $ac_func ();
104432 /* The GNU C library defines this for functions which it implements
104433 to always fail with ENOSYS. Some functions are actually named
104434 something starting with __ and the normal name is an alias. */
104435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104436 choke me
104437 #else
104438 char (*f) () = $ac_func;
104439 #endif
104440 #ifdef __cplusplus
104442 #endif
104445 main ()
104447 return f != $ac_func;
104449 return 0;
104451 _ACEOF
104452 rm -f conftest.$ac_objext conftest$ac_exeext
104453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104454 (eval $ac_link) 2>conftest.er1
104455 ac_status=$?
104456 grep -v '^ *+' conftest.er1 >conftest.err
104457 rm -f conftest.er1
104458 cat conftest.err >&5
104459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104460 (exit $ac_status); } &&
104461 { ac_try='test -z "$ac_c_werror_flag"
104462 || test ! -s conftest.err'
104463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104464 (eval $ac_try) 2>&5
104465 ac_status=$?
104466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104467 (exit $ac_status); }; } &&
104468 { ac_try='test -s conftest$ac_exeext'
104469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104470 (eval $ac_try) 2>&5
104471 ac_status=$?
104472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104473 (exit $ac_status); }; }; then
104474 eval "$as_ac_var=yes"
104476 echo "$as_me: failed program was:" >&5
104477 sed 's/^/| /' conftest.$ac_ext >&5
104479 eval "$as_ac_var=no"
104481 rm -f conftest.err conftest.$ac_objext \
104482 conftest$ac_exeext conftest.$ac_ext
104484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104486 if test `eval echo '${'$as_ac_var'}'` = yes; then
104487 cat >>confdefs.h <<_ACEOF
104488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104489 _ACEOF
104490 ac_XPG2funcs=yes
104492 ac_XPG2funcs=no
104497 LIBS="$ac_save_LIBS"
104499 if test x"$ac_has_iconv_h" = xyes &&
104500 test x"$ac_has_langinfo_h" = xyes &&
104501 test x"$ac_XPG2funcs" = xyes;
104504 cat >>confdefs.h <<\_ACEOF
104505 #define _GLIBCXX_USE_ICONV 1
104506 _ACEOF
104508 enable_iconv=yes
104511 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
104512 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
104513 echo "$as_me:$LINENO: result: $enable_iconv" >&5
104514 echo "${ECHO_T}$enable_iconv" >&6
104516 cat >>confdefs.h <<\_ACEOF
104517 #define HAVE_HYPOT 1
104518 _ACEOF
104520 cat >>confdefs.h <<\_ACEOF
104521 #define HAVE_ISINF 1
104522 _ACEOF
104524 cat >>confdefs.h <<\_ACEOF
104525 #define HAVE_ISNAN 1
104526 _ACEOF
104529 # For showmanyc_helper().
104532 for ac_header in sys/ioctl.h sys/filio.h
104534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104536 echo "$as_me:$LINENO: checking for $ac_header" >&5
104537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104539 echo $ECHO_N "(cached) $ECHO_C" >&6
104541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104544 # Is the header compilable?
104545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104547 cat >conftest.$ac_ext <<_ACEOF
104548 /* confdefs.h. */
104549 _ACEOF
104550 cat confdefs.h >>conftest.$ac_ext
104551 cat >>conftest.$ac_ext <<_ACEOF
104552 /* end confdefs.h. */
104553 $ac_includes_default
104554 #include <$ac_header>
104555 _ACEOF
104556 rm -f conftest.$ac_objext
104557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104558 (eval $ac_compile) 2>conftest.er1
104559 ac_status=$?
104560 grep -v '^ *+' conftest.er1 >conftest.err
104561 rm -f conftest.er1
104562 cat conftest.err >&5
104563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104564 (exit $ac_status); } &&
104565 { ac_try='test -z "$ac_c_werror_flag"
104566 || test ! -s conftest.err'
104567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104568 (eval $ac_try) 2>&5
104569 ac_status=$?
104570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104571 (exit $ac_status); }; } &&
104572 { ac_try='test -s conftest.$ac_objext'
104573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104574 (eval $ac_try) 2>&5
104575 ac_status=$?
104576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104577 (exit $ac_status); }; }; then
104578 ac_header_compiler=yes
104580 echo "$as_me: failed program was:" >&5
104581 sed 's/^/| /' conftest.$ac_ext >&5
104583 ac_header_compiler=no
104585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104587 echo "${ECHO_T}$ac_header_compiler" >&6
104589 # Is the header present?
104590 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104591 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104592 cat >conftest.$ac_ext <<_ACEOF
104593 /* confdefs.h. */
104594 _ACEOF
104595 cat confdefs.h >>conftest.$ac_ext
104596 cat >>conftest.$ac_ext <<_ACEOF
104597 /* end confdefs.h. */
104598 #include <$ac_header>
104599 _ACEOF
104600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104601 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104602 ac_status=$?
104603 grep -v '^ *+' conftest.er1 >conftest.err
104604 rm -f conftest.er1
104605 cat conftest.err >&5
104606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104607 (exit $ac_status); } >/dev/null; then
104608 if test -s conftest.err; then
104609 ac_cpp_err=$ac_c_preproc_warn_flag
104610 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104612 ac_cpp_err=
104615 ac_cpp_err=yes
104617 if test -z "$ac_cpp_err"; then
104618 ac_header_preproc=yes
104620 echo "$as_me: failed program was:" >&5
104621 sed 's/^/| /' conftest.$ac_ext >&5
104623 ac_header_preproc=no
104625 rm -f conftest.err conftest.$ac_ext
104626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104627 echo "${ECHO_T}$ac_header_preproc" >&6
104629 # So? What about this header?
104630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104631 yes:no: )
104632 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104633 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104635 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104636 ac_header_preproc=yes
104638 no:yes:* )
104639 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104640 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104641 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
104642 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
104643 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104644 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104645 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
104646 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
104647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104649 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104650 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104652 cat <<\_ASBOX
104653 ## ----------------------------------------- ##
104654 ## Report this to the package-unused lists. ##
104655 ## ----------------------------------------- ##
104656 _ASBOX
104658 sed "s/^/$as_me: WARNING: /" >&2
104661 echo "$as_me:$LINENO: checking for $ac_header" >&5
104662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104664 echo $ECHO_N "(cached) $ECHO_C" >&6
104666 eval "$as_ac_Header=\$ac_header_preproc"
104668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104673 cat >>confdefs.h <<_ACEOF
104674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104675 _ACEOF
104682 echo "$as_me:$LINENO: checking for poll" >&5
104683 echo $ECHO_N "checking for poll... $ECHO_C" >&6
104684 if test "${glibcxx_cv_POLL+set}" = set; then
104685 echo $ECHO_N "(cached) $ECHO_C" >&6
104688 if test x$gcc_no_link = xyes; then
104689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104691 { (exit 1); exit 1; }; }
104693 cat >conftest.$ac_ext <<_ACEOF
104694 /* confdefs.h. */
104695 _ACEOF
104696 cat confdefs.h >>conftest.$ac_ext
104697 cat >>conftest.$ac_ext <<_ACEOF
104698 /* end confdefs.h. */
104699 #include <poll.h>
104701 main ()
104703 struct pollfd pfd[1];
104704 pfd[0].events = POLLIN;
104705 poll(pfd, 1, 0);
104707 return 0;
104709 _ACEOF
104710 rm -f conftest.$ac_objext conftest$ac_exeext
104711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104712 (eval $ac_link) 2>conftest.er1
104713 ac_status=$?
104714 grep -v '^ *+' conftest.er1 >conftest.err
104715 rm -f conftest.er1
104716 cat conftest.err >&5
104717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104718 (exit $ac_status); } &&
104719 { ac_try='test -z "$ac_c_werror_flag"
104720 || test ! -s conftest.err'
104721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104722 (eval $ac_try) 2>&5
104723 ac_status=$?
104724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104725 (exit $ac_status); }; } &&
104726 { ac_try='test -s conftest$ac_exeext'
104727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104728 (eval $ac_try) 2>&5
104729 ac_status=$?
104730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104731 (exit $ac_status); }; }; then
104732 glibcxx_cv_POLL=yes
104734 echo "$as_me: failed program was:" >&5
104735 sed 's/^/| /' conftest.$ac_ext >&5
104737 glibcxx_cv_POLL=no
104739 rm -f conftest.err conftest.$ac_objext \
104740 conftest$ac_exeext conftest.$ac_ext
104744 if test $glibcxx_cv_POLL = yes; then
104746 cat >>confdefs.h <<\_ACEOF
104747 #define HAVE_POLL 1
104748 _ACEOF
104751 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
104752 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
104755 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
104756 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
104757 if test "${glibcxx_cv_S_ISREG+set}" = set; then
104758 echo $ECHO_N "(cached) $ECHO_C" >&6
104761 if test x$gcc_no_link = xyes; then
104762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104764 { (exit 1); exit 1; }; }
104766 cat >conftest.$ac_ext <<_ACEOF
104767 /* confdefs.h. */
104768 _ACEOF
104769 cat confdefs.h >>conftest.$ac_ext
104770 cat >>conftest.$ac_ext <<_ACEOF
104771 /* end confdefs.h. */
104772 #include <sys/stat.h>
104774 main ()
104776 struct stat buffer;
104777 fstat(0, &buffer);
104778 S_ISREG(buffer.st_mode);
104780 return 0;
104782 _ACEOF
104783 rm -f conftest.$ac_objext conftest$ac_exeext
104784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104785 (eval $ac_link) 2>conftest.er1
104786 ac_status=$?
104787 grep -v '^ *+' conftest.er1 >conftest.err
104788 rm -f conftest.er1
104789 cat conftest.err >&5
104790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104791 (exit $ac_status); } &&
104792 { ac_try='test -z "$ac_c_werror_flag"
104793 || test ! -s conftest.err'
104794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104795 (eval $ac_try) 2>&5
104796 ac_status=$?
104797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104798 (exit $ac_status); }; } &&
104799 { ac_try='test -s conftest$ac_exeext'
104800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104801 (eval $ac_try) 2>&5
104802 ac_status=$?
104803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104804 (exit $ac_status); }; }; then
104805 glibcxx_cv_S_ISREG=yes
104807 echo "$as_me: failed program was:" >&5
104808 sed 's/^/| /' conftest.$ac_ext >&5
104810 glibcxx_cv_S_ISREG=no
104812 rm -f conftest.err conftest.$ac_objext \
104813 conftest$ac_exeext conftest.$ac_ext
104817 if test "${glibcxx_cv_S_IFREG+set}" = set; then
104818 echo $ECHO_N "(cached) $ECHO_C" >&6
104821 if test x$gcc_no_link = xyes; then
104822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104824 { (exit 1); exit 1; }; }
104826 cat >conftest.$ac_ext <<_ACEOF
104827 /* confdefs.h. */
104828 _ACEOF
104829 cat confdefs.h >>conftest.$ac_ext
104830 cat >>conftest.$ac_ext <<_ACEOF
104831 /* end confdefs.h. */
104832 #include <sys/stat.h>
104834 main ()
104836 struct stat buffer;
104837 fstat(0, &buffer);
104838 S_IFREG & buffer.st_mode;
104840 return 0;
104842 _ACEOF
104843 rm -f conftest.$ac_objext conftest$ac_exeext
104844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104845 (eval $ac_link) 2>conftest.er1
104846 ac_status=$?
104847 grep -v '^ *+' conftest.er1 >conftest.err
104848 rm -f conftest.er1
104849 cat conftest.err >&5
104850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104851 (exit $ac_status); } &&
104852 { ac_try='test -z "$ac_c_werror_flag"
104853 || test ! -s conftest.err'
104854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104855 (eval $ac_try) 2>&5
104856 ac_status=$?
104857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104858 (exit $ac_status); }; } &&
104859 { ac_try='test -s conftest$ac_exeext'
104860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104861 (eval $ac_try) 2>&5
104862 ac_status=$?
104863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104864 (exit $ac_status); }; }; then
104865 glibcxx_cv_S_IFREG=yes
104867 echo "$as_me: failed program was:" >&5
104868 sed 's/^/| /' conftest.$ac_ext >&5
104870 glibcxx_cv_S_IFREG=no
104872 rm -f conftest.err conftest.$ac_objext \
104873 conftest$ac_exeext conftest.$ac_ext
104877 res=no
104878 if test $glibcxx_cv_S_ISREG = yes; then
104880 cat >>confdefs.h <<\_ACEOF
104881 #define HAVE_S_ISREG 1
104882 _ACEOF
104884 res=S_ISREG
104885 elif test $glibcxx_cv_S_IFREG = yes; then
104887 cat >>confdefs.h <<\_ACEOF
104888 #define HAVE_S_IFREG 1
104889 _ACEOF
104891 res=S_IFREG
104893 echo "$as_me:$LINENO: result: $res" >&5
104894 echo "${ECHO_T}$res" >&6
104897 # For xsputn_2().
104899 for ac_header in sys/uio.h
104901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104903 echo "$as_me:$LINENO: checking for $ac_header" >&5
104904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104906 echo $ECHO_N "(cached) $ECHO_C" >&6
104908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104911 # Is the header compilable?
104912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104914 cat >conftest.$ac_ext <<_ACEOF
104915 /* confdefs.h. */
104916 _ACEOF
104917 cat confdefs.h >>conftest.$ac_ext
104918 cat >>conftest.$ac_ext <<_ACEOF
104919 /* end confdefs.h. */
104920 $ac_includes_default
104921 #include <$ac_header>
104922 _ACEOF
104923 rm -f conftest.$ac_objext
104924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104925 (eval $ac_compile) 2>conftest.er1
104926 ac_status=$?
104927 grep -v '^ *+' conftest.er1 >conftest.err
104928 rm -f conftest.er1
104929 cat conftest.err >&5
104930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104931 (exit $ac_status); } &&
104932 { ac_try='test -z "$ac_c_werror_flag"
104933 || test ! -s conftest.err'
104934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104935 (eval $ac_try) 2>&5
104936 ac_status=$?
104937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104938 (exit $ac_status); }; } &&
104939 { ac_try='test -s conftest.$ac_objext'
104940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104941 (eval $ac_try) 2>&5
104942 ac_status=$?
104943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104944 (exit $ac_status); }; }; then
104945 ac_header_compiler=yes
104947 echo "$as_me: failed program was:" >&5
104948 sed 's/^/| /' conftest.$ac_ext >&5
104950 ac_header_compiler=no
104952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104954 echo "${ECHO_T}$ac_header_compiler" >&6
104956 # Is the header present?
104957 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104958 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104959 cat >conftest.$ac_ext <<_ACEOF
104960 /* confdefs.h. */
104961 _ACEOF
104962 cat confdefs.h >>conftest.$ac_ext
104963 cat >>conftest.$ac_ext <<_ACEOF
104964 /* end confdefs.h. */
104965 #include <$ac_header>
104966 _ACEOF
104967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104969 ac_status=$?
104970 grep -v '^ *+' conftest.er1 >conftest.err
104971 rm -f conftest.er1
104972 cat conftest.err >&5
104973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104974 (exit $ac_status); } >/dev/null; then
104975 if test -s conftest.err; then
104976 ac_cpp_err=$ac_c_preproc_warn_flag
104977 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104979 ac_cpp_err=
104982 ac_cpp_err=yes
104984 if test -z "$ac_cpp_err"; then
104985 ac_header_preproc=yes
104987 echo "$as_me: failed program was:" >&5
104988 sed 's/^/| /' conftest.$ac_ext >&5
104990 ac_header_preproc=no
104992 rm -f conftest.err conftest.$ac_ext
104993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104994 echo "${ECHO_T}$ac_header_preproc" >&6
104996 # So? What about this header?
104997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104998 yes:no: )
104999 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
105000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
105001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
105002 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
105003 ac_header_preproc=yes
105005 no:yes:* )
105006 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
105007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
105008 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
105009 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
105010 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
105011 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
105012 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
105013 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
105014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
105015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
105016 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
105017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
105019 cat <<\_ASBOX
105020 ## ----------------------------------------- ##
105021 ## Report this to the package-unused lists. ##
105022 ## ----------------------------------------- ##
105023 _ASBOX
105025 sed "s/^/$as_me: WARNING: /" >&2
105028 echo "$as_me:$LINENO: checking for $ac_header" >&5
105029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
105030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
105031 echo $ECHO_N "(cached) $ECHO_C" >&6
105033 eval "$as_ac_Header=\$ac_header_preproc"
105035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
105036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
105039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
105040 cat >>confdefs.h <<_ACEOF
105041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
105042 _ACEOF
105049 echo "$as_me:$LINENO: checking for writev" >&5
105050 echo $ECHO_N "checking for writev... $ECHO_C" >&6
105051 if test "${glibcxx_cv_WRITEV+set}" = set; then
105052 echo $ECHO_N "(cached) $ECHO_C" >&6
105055 if test x$gcc_no_link = xyes; then
105056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105058 { (exit 1); exit 1; }; }
105060 cat >conftest.$ac_ext <<_ACEOF
105061 /* confdefs.h. */
105062 _ACEOF
105063 cat confdefs.h >>conftest.$ac_ext
105064 cat >>conftest.$ac_ext <<_ACEOF
105065 /* end confdefs.h. */
105066 #include <sys/uio.h>
105068 main ()
105070 struct iovec iov[2];
105071 writev(0, iov, 0);
105073 return 0;
105075 _ACEOF
105076 rm -f conftest.$ac_objext conftest$ac_exeext
105077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105078 (eval $ac_link) 2>conftest.er1
105079 ac_status=$?
105080 grep -v '^ *+' conftest.er1 >conftest.err
105081 rm -f conftest.er1
105082 cat conftest.err >&5
105083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105084 (exit $ac_status); } &&
105085 { ac_try='test -z "$ac_c_werror_flag"
105086 || test ! -s conftest.err'
105087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105088 (eval $ac_try) 2>&5
105089 ac_status=$?
105090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105091 (exit $ac_status); }; } &&
105092 { ac_try='test -s conftest$ac_exeext'
105093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105094 (eval $ac_try) 2>&5
105095 ac_status=$?
105096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105097 (exit $ac_status); }; }; then
105098 glibcxx_cv_WRITEV=yes
105100 echo "$as_me: failed program was:" >&5
105101 sed 's/^/| /' conftest.$ac_ext >&5
105103 glibcxx_cv_WRITEV=no
105105 rm -f conftest.err conftest.$ac_objext \
105106 conftest$ac_exeext conftest.$ac_ext
105110 if test $glibcxx_cv_WRITEV = yes; then
105112 cat >>confdefs.h <<\_ACEOF
105113 #define HAVE_WRITEV 1
105114 _ACEOF
105117 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
105118 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
105121 *-qnx6.1* | *-qnx6.2*)
105122 SECTION_FLAGS='-ffunction-sections -fdata-sections'
105125 # If we're not using GNU ld, then there's no point in even trying these
105126 # tests. Check for that first. We should have already tested for gld
105127 # by now (in libtool), but require it now just to be safe...
105128 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
105129 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
105133 # The name set by libtool depends on the version of libtool. Shame on us
105134 # for depending on an impl detail, but c'est la vie. Older versions used
105135 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
105136 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
105137 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
105138 # set (hence we're using an older libtool), then set it.
105139 if test x${with_gnu_ld+set} != xset; then
105140 if test x${ac_cv_prog_gnu_ld+set} != xset; then
105141 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
105142 with_gnu_ld=no
105144 with_gnu_ld=$ac_cv_prog_gnu_ld
105148 # Start by getting the version number. I think the libtool test already
105149 # does some of this, but throws away the result.
105150 echo "$as_me:$LINENO: checking for ld version" >&5
105151 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
105153 ldver=`$LD --version 2>/dev/null | head -1 | \
105154 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
105156 glibcxx_gnu_ld_version=`echo $ldver | \
105157 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
105158 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
105159 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
105161 # Set --gc-sections.
105162 glibcxx_gcsections_min_ld=21602
105163 if test x"$with_gnu_ld" = x"yes" &&
105164 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
105166 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
105167 # NB: This flag only works reliably after 2.16.1. Configure tests
105168 # for this are difficult, so hard wire a value that should work.
105170 # All these tests are for C++, but run with the "C" compiler driver.
105171 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
105172 ac_test_CFLAGS="${CFLAGS+set}"
105173 ac_save_CFLAGS="$CFLAGS"
105174 CFLAGS='-x c++ -Wl,--gc-sections'
105176 # Check for -Wl,--gc-sections
105177 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
105178 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
105179 if test x$gcc_no_link = xyes; then
105180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105182 { (exit 1); exit 1; }; }
105184 cat >conftest.$ac_ext <<_ACEOF
105185 /* confdefs.h. */
105186 _ACEOF
105187 cat confdefs.h >>conftest.$ac_ext
105188 cat >>conftest.$ac_ext <<_ACEOF
105189 /* end confdefs.h. */
105190 int one(void) { return 1; }
105191 int two(void) { return 2; }
105194 main ()
105196 two();
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 ac_gcsections=yes
105225 echo "$as_me: failed program was:" >&5
105226 sed 's/^/| /' conftest.$ac_ext >&5
105228 ac_gcsections=no
105230 rm -f conftest.err conftest.$ac_objext \
105231 conftest$ac_exeext conftest.$ac_ext
105232 if test "$ac_gcsections" = "yes"; then
105233 rm -f conftest.c
105234 touch conftest.c
105235 if $CC -c conftest.c; then
105236 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
105237 grep "Warning: gc-sections option ignored" > /dev/null; then
105238 ac_gcsections=no
105241 rm -f conftest.c conftest.o conftest
105243 if test "$ac_gcsections" = "yes"; then
105244 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
105246 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
105247 echo "${ECHO_T}$ac_gcsections" >&6
105249 if test "$ac_test_CFLAGS" = set; then
105250 CFLAGS="$ac_save_CFLAGS"
105252 # this is the suspicious part
105253 CFLAGS=''
105257 # Set -z,relro.
105258 # Note this is only for shared objects.
105259 ac_ld_relro=no
105260 if test x"$with_gnu_ld" = x"yes"; then
105261 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
105262 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
105263 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
105264 if test -n "$cxx_z_relo"; then
105265 OPT_LDFLAGS="-Wl,-z,relro"
105266 ac_ld_relro=yes
105268 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
105269 echo "${ECHO_T}$ac_ld_relro" >&6
105272 # Set linker optimization flags.
105273 if test x"$with_gnu_ld" = x"yes"; then
105274 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
105282 echo "$as_me:$LINENO: checking for main in -lm" >&5
105283 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
105284 if test "${ac_cv_lib_m_main+set}" = set; then
105285 echo $ECHO_N "(cached) $ECHO_C" >&6
105287 ac_check_lib_save_LIBS=$LIBS
105288 LIBS="-lm $LIBS"
105289 if test x$gcc_no_link = xyes; then
105290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105292 { (exit 1); exit 1; }; }
105294 cat >conftest.$ac_ext <<_ACEOF
105295 /* confdefs.h. */
105296 _ACEOF
105297 cat confdefs.h >>conftest.$ac_ext
105298 cat >>conftest.$ac_ext <<_ACEOF
105299 /* end confdefs.h. */
105303 main ()
105305 main ();
105307 return 0;
105309 _ACEOF
105310 rm -f conftest.$ac_objext conftest$ac_exeext
105311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105312 (eval $ac_link) 2>conftest.er1
105313 ac_status=$?
105314 grep -v '^ *+' conftest.er1 >conftest.err
105315 rm -f conftest.er1
105316 cat conftest.err >&5
105317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105318 (exit $ac_status); } &&
105319 { ac_try='test -z "$ac_c_werror_flag"
105320 || test ! -s conftest.err'
105321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105322 (eval $ac_try) 2>&5
105323 ac_status=$?
105324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105325 (exit $ac_status); }; } &&
105326 { ac_try='test -s conftest$ac_exeext'
105327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105328 (eval $ac_try) 2>&5
105329 ac_status=$?
105330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105331 (exit $ac_status); }; }; then
105332 ac_cv_lib_m_main=yes
105334 echo "$as_me: failed program was:" >&5
105335 sed 's/^/| /' conftest.$ac_ext >&5
105337 ac_cv_lib_m_main=no
105339 rm -f conftest.err conftest.$ac_objext \
105340 conftest$ac_exeext conftest.$ac_ext
105341 LIBS=$ac_check_lib_save_LIBS
105343 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
105344 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
105345 if test $ac_cv_lib_m_main = yes; then
105346 cat >>confdefs.h <<_ACEOF
105347 #define HAVE_LIBM 1
105348 _ACEOF
105350 LIBS="-lm $LIBS"
105355 for ac_func in copysignf
105357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105358 echo "$as_me:$LINENO: checking for $ac_func" >&5
105359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105360 if eval "test \"\${$as_ac_var+set}\" = set"; then
105361 echo $ECHO_N "(cached) $ECHO_C" >&6
105363 if test x$gcc_no_link = xyes; then
105364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105366 { (exit 1); exit 1; }; }
105368 cat >conftest.$ac_ext <<_ACEOF
105369 /* confdefs.h. */
105370 _ACEOF
105371 cat confdefs.h >>conftest.$ac_ext
105372 cat >>conftest.$ac_ext <<_ACEOF
105373 /* end confdefs.h. */
105374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105376 #define $ac_func innocuous_$ac_func
105378 /* System header to define __stub macros and hopefully few prototypes,
105379 which can conflict with char $ac_func (); below.
105380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105381 <limits.h> exists even on freestanding compilers. */
105383 #ifdef __STDC__
105384 # include <limits.h>
105385 #else
105386 # include <assert.h>
105387 #endif
105389 #undef $ac_func
105391 /* Override any gcc2 internal prototype to avoid an error. */
105392 #ifdef __cplusplus
105393 extern "C"
105395 #endif
105396 /* We use char because int might match the return type of a gcc2
105397 builtin and then its argument prototype would still apply. */
105398 char $ac_func ();
105399 /* The GNU C library defines this for functions which it implements
105400 to always fail with ENOSYS. Some functions are actually named
105401 something starting with __ and the normal name is an alias. */
105402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105403 choke me
105404 #else
105405 char (*f) () = $ac_func;
105406 #endif
105407 #ifdef __cplusplus
105409 #endif
105412 main ()
105414 return f != $ac_func;
105416 return 0;
105418 _ACEOF
105419 rm -f conftest.$ac_objext conftest$ac_exeext
105420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105421 (eval $ac_link) 2>conftest.er1
105422 ac_status=$?
105423 grep -v '^ *+' conftest.er1 >conftest.err
105424 rm -f conftest.er1
105425 cat conftest.err >&5
105426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105427 (exit $ac_status); } &&
105428 { ac_try='test -z "$ac_c_werror_flag"
105429 || test ! -s conftest.err'
105430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105431 (eval $ac_try) 2>&5
105432 ac_status=$?
105433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105434 (exit $ac_status); }; } &&
105435 { ac_try='test -s conftest$ac_exeext'
105436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105437 (eval $ac_try) 2>&5
105438 ac_status=$?
105439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105440 (exit $ac_status); }; }; then
105441 eval "$as_ac_var=yes"
105443 echo "$as_me: failed program was:" >&5
105444 sed 's/^/| /' conftest.$ac_ext >&5
105446 eval "$as_ac_var=no"
105448 rm -f conftest.err conftest.$ac_objext \
105449 conftest$ac_exeext conftest.$ac_ext
105451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105453 if test `eval echo '${'$as_ac_var'}'` = yes; then
105454 cat >>confdefs.h <<_ACEOF
105455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105456 _ACEOF
105459 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
105465 for ac_func in __signbit
105467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105468 echo "$as_me:$LINENO: checking for $ac_func" >&5
105469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105470 if eval "test \"\${$as_ac_var+set}\" = set"; then
105471 echo $ECHO_N "(cached) $ECHO_C" >&6
105473 if test x$gcc_no_link = xyes; then
105474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105476 { (exit 1); exit 1; }; }
105478 cat >conftest.$ac_ext <<_ACEOF
105479 /* confdefs.h. */
105480 _ACEOF
105481 cat confdefs.h >>conftest.$ac_ext
105482 cat >>conftest.$ac_ext <<_ACEOF
105483 /* end confdefs.h. */
105484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105486 #define $ac_func innocuous_$ac_func
105488 /* System header to define __stub macros and hopefully few prototypes,
105489 which can conflict with char $ac_func (); below.
105490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105491 <limits.h> exists even on freestanding compilers. */
105493 #ifdef __STDC__
105494 # include <limits.h>
105495 #else
105496 # include <assert.h>
105497 #endif
105499 #undef $ac_func
105501 /* Override any gcc2 internal prototype to avoid an error. */
105502 #ifdef __cplusplus
105503 extern "C"
105505 #endif
105506 /* We use char because int might match the return type of a gcc2
105507 builtin and then its argument prototype would still apply. */
105508 char $ac_func ();
105509 /* The GNU C library defines this for functions which it implements
105510 to always fail with ENOSYS. Some functions are actually named
105511 something starting with __ and the normal name is an alias. */
105512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105513 choke me
105514 #else
105515 char (*f) () = $ac_func;
105516 #endif
105517 #ifdef __cplusplus
105519 #endif
105522 main ()
105524 return f != $ac_func;
105526 return 0;
105528 _ACEOF
105529 rm -f conftest.$ac_objext conftest$ac_exeext
105530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105531 (eval $ac_link) 2>conftest.er1
105532 ac_status=$?
105533 grep -v '^ *+' conftest.er1 >conftest.err
105534 rm -f conftest.er1
105535 cat conftest.err >&5
105536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105537 (exit $ac_status); } &&
105538 { ac_try='test -z "$ac_c_werror_flag"
105539 || test ! -s conftest.err'
105540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105541 (eval $ac_try) 2>&5
105542 ac_status=$?
105543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105544 (exit $ac_status); }; } &&
105545 { ac_try='test -s conftest$ac_exeext'
105546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105547 (eval $ac_try) 2>&5
105548 ac_status=$?
105549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105550 (exit $ac_status); }; }; then
105551 eval "$as_ac_var=yes"
105553 echo "$as_me: failed program was:" >&5
105554 sed 's/^/| /' conftest.$ac_ext >&5
105556 eval "$as_ac_var=no"
105558 rm -f conftest.err conftest.$ac_objext \
105559 conftest$ac_exeext conftest.$ac_ext
105561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105563 if test `eval echo '${'$as_ac_var'}'` = yes; then
105564 cat >>confdefs.h <<_ACEOF
105565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105566 _ACEOF
105569 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
105575 for ac_func in __signbitf
105577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105578 echo "$as_me:$LINENO: checking for $ac_func" >&5
105579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105580 if eval "test \"\${$as_ac_var+set}\" = set"; then
105581 echo $ECHO_N "(cached) $ECHO_C" >&6
105583 if test x$gcc_no_link = xyes; then
105584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105586 { (exit 1); exit 1; }; }
105588 cat >conftest.$ac_ext <<_ACEOF
105589 /* confdefs.h. */
105590 _ACEOF
105591 cat confdefs.h >>conftest.$ac_ext
105592 cat >>conftest.$ac_ext <<_ACEOF
105593 /* end confdefs.h. */
105594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105596 #define $ac_func innocuous_$ac_func
105598 /* System header to define __stub macros and hopefully few prototypes,
105599 which can conflict with char $ac_func (); below.
105600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105601 <limits.h> exists even on freestanding compilers. */
105603 #ifdef __STDC__
105604 # include <limits.h>
105605 #else
105606 # include <assert.h>
105607 #endif
105609 #undef $ac_func
105611 /* Override any gcc2 internal prototype to avoid an error. */
105612 #ifdef __cplusplus
105613 extern "C"
105615 #endif
105616 /* We use char because int might match the return type of a gcc2
105617 builtin and then its argument prototype would still apply. */
105618 char $ac_func ();
105619 /* The GNU C library defines this for functions which it implements
105620 to always fail with ENOSYS. Some functions are actually named
105621 something starting with __ and the normal name is an alias. */
105622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105623 choke me
105624 #else
105625 char (*f) () = $ac_func;
105626 #endif
105627 #ifdef __cplusplus
105629 #endif
105632 main ()
105634 return f != $ac_func;
105636 return 0;
105638 _ACEOF
105639 rm -f conftest.$ac_objext conftest$ac_exeext
105640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105641 (eval $ac_link) 2>conftest.er1
105642 ac_status=$?
105643 grep -v '^ *+' conftest.er1 >conftest.err
105644 rm -f conftest.er1
105645 cat conftest.err >&5
105646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105647 (exit $ac_status); } &&
105648 { ac_try='test -z "$ac_c_werror_flag"
105649 || test ! -s conftest.err'
105650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105651 (eval $ac_try) 2>&5
105652 ac_status=$?
105653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105654 (exit $ac_status); }; } &&
105655 { ac_try='test -s conftest$ac_exeext'
105656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105657 (eval $ac_try) 2>&5
105658 ac_status=$?
105659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105660 (exit $ac_status); }; }; then
105661 eval "$as_ac_var=yes"
105663 echo "$as_me: failed program was:" >&5
105664 sed 's/^/| /' conftest.$ac_ext >&5
105666 eval "$as_ac_var=no"
105668 rm -f conftest.err conftest.$ac_objext \
105669 conftest$ac_exeext conftest.$ac_ext
105671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105673 if test `eval echo '${'$as_ac_var'}'` = yes; then
105674 cat >>confdefs.h <<_ACEOF
105675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105676 _ACEOF
105679 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
105684 if test x$ac_cv_func_copysignl = x"yes"; then
105686 for ac_func in __signbitl
105688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105689 echo "$as_me:$LINENO: checking for $ac_func" >&5
105690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105691 if eval "test \"\${$as_ac_var+set}\" = set"; then
105692 echo $ECHO_N "(cached) $ECHO_C" >&6
105694 if test x$gcc_no_link = xyes; then
105695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105697 { (exit 1); exit 1; }; }
105699 cat >conftest.$ac_ext <<_ACEOF
105700 /* confdefs.h. */
105701 _ACEOF
105702 cat confdefs.h >>conftest.$ac_ext
105703 cat >>conftest.$ac_ext <<_ACEOF
105704 /* end confdefs.h. */
105705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105707 #define $ac_func innocuous_$ac_func
105709 /* System header to define __stub macros and hopefully few prototypes,
105710 which can conflict with char $ac_func (); below.
105711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105712 <limits.h> exists even on freestanding compilers. */
105714 #ifdef __STDC__
105715 # include <limits.h>
105716 #else
105717 # include <assert.h>
105718 #endif
105720 #undef $ac_func
105722 /* Override any gcc2 internal prototype to avoid an error. */
105723 #ifdef __cplusplus
105724 extern "C"
105726 #endif
105727 /* We use char because int might match the return type of a gcc2
105728 builtin and then its argument prototype would still apply. */
105729 char $ac_func ();
105730 /* The GNU C library defines this for functions which it implements
105731 to always fail with ENOSYS. Some functions are actually named
105732 something starting with __ and the normal name is an alias. */
105733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105734 choke me
105735 #else
105736 char (*f) () = $ac_func;
105737 #endif
105738 #ifdef __cplusplus
105740 #endif
105743 main ()
105745 return f != $ac_func;
105747 return 0;
105749 _ACEOF
105750 rm -f conftest.$ac_objext conftest$ac_exeext
105751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105752 (eval $ac_link) 2>conftest.er1
105753 ac_status=$?
105754 grep -v '^ *+' conftest.er1 >conftest.err
105755 rm -f conftest.er1
105756 cat conftest.err >&5
105757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105758 (exit $ac_status); } &&
105759 { ac_try='test -z "$ac_c_werror_flag"
105760 || test ! -s conftest.err'
105761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105762 (eval $ac_try) 2>&5
105763 ac_status=$?
105764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105765 (exit $ac_status); }; } &&
105766 { ac_try='test -s conftest$ac_exeext'
105767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105768 (eval $ac_try) 2>&5
105769 ac_status=$?
105770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105771 (exit $ac_status); }; }; then
105772 eval "$as_ac_var=yes"
105774 echo "$as_me: failed program was:" >&5
105775 sed 's/^/| /' conftest.$ac_ext >&5
105777 eval "$as_ac_var=no"
105779 rm -f conftest.err conftest.$ac_objext \
105780 conftest$ac_exeext conftest.$ac_ext
105782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105784 if test `eval echo '${'$as_ac_var'}'` = yes; then
105785 cat >>confdefs.h <<_ACEOF
105786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105787 _ACEOF
105790 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
105796 # Used in libmath/Makefile.am.
105797 if test -n "$LIBMATHOBJS"; then
105798 need_libmath=yes
105804 enable_iconv=no
105805 # Only continue checking if the ISO C99 headers exist and support is on.
105806 if test x"$enable_wchar_t" = xyes; then
105808 # Use iconv for wchar_t to char conversions. As such, check for
105809 # X/Open Portability Guide, version 2 features (XPG2).
105810 if test "${ac_cv_header_iconv_h+set}" = set; then
105811 echo "$as_me:$LINENO: checking for iconv.h" >&5
105812 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105813 if test "${ac_cv_header_iconv_h+set}" = set; then
105814 echo $ECHO_N "(cached) $ECHO_C" >&6
105816 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105817 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105819 # Is the header compilable?
105820 echo "$as_me:$LINENO: checking iconv.h usability" >&5
105821 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
105822 cat >conftest.$ac_ext <<_ACEOF
105823 /* confdefs.h. */
105824 _ACEOF
105825 cat confdefs.h >>conftest.$ac_ext
105826 cat >>conftest.$ac_ext <<_ACEOF
105827 /* end confdefs.h. */
105828 $ac_includes_default
105829 #include <iconv.h>
105830 _ACEOF
105831 rm -f conftest.$ac_objext
105832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105833 (eval $ac_compile) 2>conftest.er1
105834 ac_status=$?
105835 grep -v '^ *+' conftest.er1 >conftest.err
105836 rm -f conftest.er1
105837 cat conftest.err >&5
105838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105839 (exit $ac_status); } &&
105840 { ac_try='test -z "$ac_c_werror_flag"
105841 || test ! -s conftest.err'
105842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105843 (eval $ac_try) 2>&5
105844 ac_status=$?
105845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105846 (exit $ac_status); }; } &&
105847 { ac_try='test -s conftest.$ac_objext'
105848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105849 (eval $ac_try) 2>&5
105850 ac_status=$?
105851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105852 (exit $ac_status); }; }; then
105853 ac_header_compiler=yes
105855 echo "$as_me: failed program was:" >&5
105856 sed 's/^/| /' conftest.$ac_ext >&5
105858 ac_header_compiler=no
105860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105862 echo "${ECHO_T}$ac_header_compiler" >&6
105864 # Is the header present?
105865 echo "$as_me:$LINENO: checking iconv.h presence" >&5
105866 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
105867 cat >conftest.$ac_ext <<_ACEOF
105868 /* confdefs.h. */
105869 _ACEOF
105870 cat confdefs.h >>conftest.$ac_ext
105871 cat >>conftest.$ac_ext <<_ACEOF
105872 /* end confdefs.h. */
105873 #include <iconv.h>
105874 _ACEOF
105875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105877 ac_status=$?
105878 grep -v '^ *+' conftest.er1 >conftest.err
105879 rm -f conftest.er1
105880 cat conftest.err >&5
105881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105882 (exit $ac_status); } >/dev/null; then
105883 if test -s conftest.err; then
105884 ac_cpp_err=$ac_c_preproc_warn_flag
105885 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105887 ac_cpp_err=
105890 ac_cpp_err=yes
105892 if test -z "$ac_cpp_err"; then
105893 ac_header_preproc=yes
105895 echo "$as_me: failed program was:" >&5
105896 sed 's/^/| /' conftest.$ac_ext >&5
105898 ac_header_preproc=no
105900 rm -f conftest.err conftest.$ac_ext
105901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105902 echo "${ECHO_T}$ac_header_preproc" >&6
105904 # So? What about this header?
105905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105906 yes:no: )
105907 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
105908 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105909 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
105910 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
105911 ac_header_preproc=yes
105913 no:yes:* )
105914 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
105915 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
105916 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
105917 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
105918 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
105919 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
105920 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
105921 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
105922 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
105923 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
105924 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
105925 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
105927 cat <<\_ASBOX
105928 ## ----------------------------------------- ##
105929 ## Report this to the package-unused lists. ##
105930 ## ----------------------------------------- ##
105931 _ASBOX
105933 sed "s/^/$as_me: WARNING: /" >&2
105936 echo "$as_me:$LINENO: checking for iconv.h" >&5
105937 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105938 if test "${ac_cv_header_iconv_h+set}" = set; then
105939 echo $ECHO_N "(cached) $ECHO_C" >&6
105941 ac_cv_header_iconv_h=$ac_header_preproc
105943 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105944 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105947 if test $ac_cv_header_iconv_h = yes; then
105948 ac_has_iconv_h=yes
105950 ac_has_iconv_h=no
105954 if test "${ac_cv_header_langinfo_h+set}" = set; then
105955 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105956 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105957 if test "${ac_cv_header_langinfo_h+set}" = set; then
105958 echo $ECHO_N "(cached) $ECHO_C" >&6
105960 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105961 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105963 # Is the header compilable?
105964 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
105965 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
105966 cat >conftest.$ac_ext <<_ACEOF
105967 /* confdefs.h. */
105968 _ACEOF
105969 cat confdefs.h >>conftest.$ac_ext
105970 cat >>conftest.$ac_ext <<_ACEOF
105971 /* end confdefs.h. */
105972 $ac_includes_default
105973 #include <langinfo.h>
105974 _ACEOF
105975 rm -f conftest.$ac_objext
105976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105977 (eval $ac_compile) 2>conftest.er1
105978 ac_status=$?
105979 grep -v '^ *+' conftest.er1 >conftest.err
105980 rm -f conftest.er1
105981 cat conftest.err >&5
105982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105983 (exit $ac_status); } &&
105984 { ac_try='test -z "$ac_c_werror_flag"
105985 || test ! -s conftest.err'
105986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105987 (eval $ac_try) 2>&5
105988 ac_status=$?
105989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105990 (exit $ac_status); }; } &&
105991 { ac_try='test -s conftest.$ac_objext'
105992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105993 (eval $ac_try) 2>&5
105994 ac_status=$?
105995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105996 (exit $ac_status); }; }; then
105997 ac_header_compiler=yes
105999 echo "$as_me: failed program was:" >&5
106000 sed 's/^/| /' conftest.$ac_ext >&5
106002 ac_header_compiler=no
106004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106006 echo "${ECHO_T}$ac_header_compiler" >&6
106008 # Is the header present?
106009 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
106010 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
106011 cat >conftest.$ac_ext <<_ACEOF
106012 /* confdefs.h. */
106013 _ACEOF
106014 cat confdefs.h >>conftest.$ac_ext
106015 cat >>conftest.$ac_ext <<_ACEOF
106016 /* end confdefs.h. */
106017 #include <langinfo.h>
106018 _ACEOF
106019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106021 ac_status=$?
106022 grep -v '^ *+' conftest.er1 >conftest.err
106023 rm -f conftest.er1
106024 cat conftest.err >&5
106025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106026 (exit $ac_status); } >/dev/null; then
106027 if test -s conftest.err; then
106028 ac_cpp_err=$ac_c_preproc_warn_flag
106029 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106031 ac_cpp_err=
106034 ac_cpp_err=yes
106036 if test -z "$ac_cpp_err"; then
106037 ac_header_preproc=yes
106039 echo "$as_me: failed program was:" >&5
106040 sed 's/^/| /' conftest.$ac_ext >&5
106042 ac_header_preproc=no
106044 rm -f conftest.err conftest.$ac_ext
106045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106046 echo "${ECHO_T}$ac_header_preproc" >&6
106048 # So? What about this header?
106049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106050 yes:no: )
106051 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
106052 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106053 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
106054 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
106055 ac_header_preproc=yes
106057 no:yes:* )
106058 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
106059 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
106060 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
106061 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
106062 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
106063 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
106064 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
106065 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
106066 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
106067 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
106068 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
106069 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
106071 cat <<\_ASBOX
106072 ## ----------------------------------------- ##
106073 ## Report this to the package-unused lists. ##
106074 ## ----------------------------------------- ##
106075 _ASBOX
106077 sed "s/^/$as_me: WARNING: /" >&2
106080 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106081 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106082 if test "${ac_cv_header_langinfo_h+set}" = set; then
106083 echo $ECHO_N "(cached) $ECHO_C" >&6
106085 ac_cv_header_langinfo_h=$ac_header_preproc
106087 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106088 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106091 if test $ac_cv_header_langinfo_h = yes; then
106092 ac_has_langinfo_h=yes
106094 ac_has_langinfo_h=no
106099 # Check for existence of libiconv.a providing XPG2 wchar_t support.
106100 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
106101 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
106102 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
106103 echo $ECHO_N "(cached) $ECHO_C" >&6
106105 ac_check_lib_save_LIBS=$LIBS
106106 LIBS="-liconv $LIBS"
106107 if test x$gcc_no_link = xyes; then
106108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106110 { (exit 1); exit 1; }; }
106112 cat >conftest.$ac_ext <<_ACEOF
106113 /* confdefs.h. */
106114 _ACEOF
106115 cat confdefs.h >>conftest.$ac_ext
106116 cat >>conftest.$ac_ext <<_ACEOF
106117 /* end confdefs.h. */
106119 /* Override any gcc2 internal prototype to avoid an error. */
106120 #ifdef __cplusplus
106121 extern "C"
106122 #endif
106123 /* We use char because int might match the return type of a gcc2
106124 builtin and then its argument prototype would still apply. */
106125 char iconv ();
106127 main ()
106129 iconv ();
106131 return 0;
106133 _ACEOF
106134 rm -f conftest.$ac_objext conftest$ac_exeext
106135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106136 (eval $ac_link) 2>conftest.er1
106137 ac_status=$?
106138 grep -v '^ *+' conftest.er1 >conftest.err
106139 rm -f conftest.er1
106140 cat conftest.err >&5
106141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106142 (exit $ac_status); } &&
106143 { ac_try='test -z "$ac_c_werror_flag"
106144 || test ! -s conftest.err'
106145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106146 (eval $ac_try) 2>&5
106147 ac_status=$?
106148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106149 (exit $ac_status); }; } &&
106150 { ac_try='test -s conftest$ac_exeext'
106151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106152 (eval $ac_try) 2>&5
106153 ac_status=$?
106154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106155 (exit $ac_status); }; }; then
106156 ac_cv_lib_iconv_iconv=yes
106158 echo "$as_me: failed program was:" >&5
106159 sed 's/^/| /' conftest.$ac_ext >&5
106161 ac_cv_lib_iconv_iconv=no
106163 rm -f conftest.err conftest.$ac_objext \
106164 conftest$ac_exeext conftest.$ac_ext
106165 LIBS=$ac_check_lib_save_LIBS
106167 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
106168 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
106169 if test $ac_cv_lib_iconv_iconv = yes; then
106170 LIBICONV="-liconv"
106173 ac_save_LIBS="$LIBS"
106174 LIBS="$LIBS $LIBICONV"
106181 for ac_func in iconv_open iconv_close iconv nl_langinfo
106183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106184 echo "$as_me:$LINENO: checking for $ac_func" >&5
106185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106186 if eval "test \"\${$as_ac_var+set}\" = set"; then
106187 echo $ECHO_N "(cached) $ECHO_C" >&6
106189 if test x$gcc_no_link = xyes; then
106190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106192 { (exit 1); exit 1; }; }
106194 cat >conftest.$ac_ext <<_ACEOF
106195 /* confdefs.h. */
106196 _ACEOF
106197 cat confdefs.h >>conftest.$ac_ext
106198 cat >>conftest.$ac_ext <<_ACEOF
106199 /* end confdefs.h. */
106200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106202 #define $ac_func innocuous_$ac_func
106204 /* System header to define __stub macros and hopefully few prototypes,
106205 which can conflict with char $ac_func (); below.
106206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106207 <limits.h> exists even on freestanding compilers. */
106209 #ifdef __STDC__
106210 # include <limits.h>
106211 #else
106212 # include <assert.h>
106213 #endif
106215 #undef $ac_func
106217 /* Override any gcc2 internal prototype to avoid an error. */
106218 #ifdef __cplusplus
106219 extern "C"
106221 #endif
106222 /* We use char because int might match the return type of a gcc2
106223 builtin and then its argument prototype would still apply. */
106224 char $ac_func ();
106225 /* The GNU C library defines this for functions which it implements
106226 to always fail with ENOSYS. Some functions are actually named
106227 something starting with __ and the normal name is an alias. */
106228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106229 choke me
106230 #else
106231 char (*f) () = $ac_func;
106232 #endif
106233 #ifdef __cplusplus
106235 #endif
106238 main ()
106240 return f != $ac_func;
106242 return 0;
106244 _ACEOF
106245 rm -f conftest.$ac_objext conftest$ac_exeext
106246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106247 (eval $ac_link) 2>conftest.er1
106248 ac_status=$?
106249 grep -v '^ *+' conftest.er1 >conftest.err
106250 rm -f conftest.er1
106251 cat conftest.err >&5
106252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106253 (exit $ac_status); } &&
106254 { ac_try='test -z "$ac_c_werror_flag"
106255 || test ! -s conftest.err'
106256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106257 (eval $ac_try) 2>&5
106258 ac_status=$?
106259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106260 (exit $ac_status); }; } &&
106261 { ac_try='test -s conftest$ac_exeext'
106262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106263 (eval $ac_try) 2>&5
106264 ac_status=$?
106265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106266 (exit $ac_status); }; }; then
106267 eval "$as_ac_var=yes"
106269 echo "$as_me: failed program was:" >&5
106270 sed 's/^/| /' conftest.$ac_ext >&5
106272 eval "$as_ac_var=no"
106274 rm -f conftest.err conftest.$ac_objext \
106275 conftest$ac_exeext conftest.$ac_ext
106277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106279 if test `eval echo '${'$as_ac_var'}'` = yes; then
106280 cat >>confdefs.h <<_ACEOF
106281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106282 _ACEOF
106283 ac_XPG2funcs=yes
106285 ac_XPG2funcs=no
106290 LIBS="$ac_save_LIBS"
106292 if test x"$ac_has_iconv_h" = xyes &&
106293 test x"$ac_has_langinfo_h" = xyes &&
106294 test x"$ac_XPG2funcs" = xyes;
106297 cat >>confdefs.h <<\_ACEOF
106298 #define _GLIBCXX_USE_ICONV 1
106299 _ACEOF
106301 enable_iconv=yes
106304 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
106305 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
106306 echo "$as_me:$LINENO: result: $enable_iconv" >&5
106307 echo "${ECHO_T}$enable_iconv" >&6
106309 cat >>confdefs.h <<\_ACEOF
106310 #define HAVE_COSF 1
106311 _ACEOF
106313 cat >>confdefs.h <<\_ACEOF
106314 #define HAVE_COSL 1
106315 _ACEOF
106317 cat >>confdefs.h <<\_ACEOF
106318 #define HAVE_COSHF 1
106319 _ACEOF
106321 cat >>confdefs.h <<\_ACEOF
106322 #define HAVE_COSHL 1
106323 _ACEOF
106325 cat >>confdefs.h <<\_ACEOF
106326 #define HAVE_LOGF 1
106327 _ACEOF
106329 cat >>confdefs.h <<\_ACEOF
106330 #define HAVE_LOGL 1
106331 _ACEOF
106333 cat >>confdefs.h <<\_ACEOF
106334 #define HAVE_LOG10F 1
106335 _ACEOF
106337 cat >>confdefs.h <<\_ACEOF
106338 #define HAVE_LOG10L 1
106339 _ACEOF
106341 cat >>confdefs.h <<\_ACEOF
106342 #define HAVE_SINF 1
106343 _ACEOF
106345 cat >>confdefs.h <<\_ACEOF
106346 #define HAVE_SINL 1
106347 _ACEOF
106349 cat >>confdefs.h <<\_ACEOF
106350 #define HAVE_SINHF 1
106351 _ACEOF
106353 cat >>confdefs.h <<\_ACEOF
106354 #define HAVE_SINHL 1
106355 _ACEOF
106358 *-solaris*)
106359 case "$target" in
106360 # *-solaris2.5)
106361 # os_include_dir="os/solaris/solaris2.5"
106363 # *-solaris2.6)
106364 # os_include_dir="os/solaris/solaris2.6"
106366 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
106367 cat >>confdefs.h <<\_ACEOF
106368 #define HAVE_GETPAGESIZE 1
106369 _ACEOF
106371 cat >>confdefs.h <<\_ACEOF
106372 #define HAVE_SIGSETJMP 1
106373 _ACEOF
106375 cat >>confdefs.h <<\_ACEOF
106376 #define HAVE_MBSTATE_T 1
106377 _ACEOF
106379 cat >>confdefs.h <<\_ACEOF
106380 #define HAVE_POLL 1
106381 _ACEOF
106383 cat >>confdefs.h <<\_ACEOF
106384 #define HAVE_S_ISREG 1
106385 _ACEOF
106387 cat >>confdefs.h <<\_ACEOF
106388 #define HAVE_LC_MESSAGES 1
106389 _ACEOF
106391 cat >>confdefs.h <<\_ACEOF
106392 #define HAVE_FINITE 1
106393 _ACEOF
106395 cat >>confdefs.h <<\_ACEOF
106396 #define HAVE_FPCLASS 1
106397 _ACEOF
106399 cat >>confdefs.h <<\_ACEOF
106400 #define HAVE_GETPAGESIZE 1
106401 _ACEOF
106403 cat >>confdefs.h <<\_ACEOF
106404 #define HAVE_NL_LANGINFO 1
106405 _ACEOF
106407 cat >>confdefs.h <<\_ACEOF
106408 #define HAVE_ICONV 1
106409 _ACEOF
106411 cat >>confdefs.h <<\_ACEOF
106412 #define HAVE_ICONV_CLOSE 1
106413 _ACEOF
106415 cat >>confdefs.h <<\_ACEOF
106416 #define HAVE_ICONV_OPEN 1
106417 _ACEOF
106419 # Look for the pieces required for wchar_t support in order to
106420 # get all the right HAVE_* macros defined.
106423 enable_iconv=no
106424 # Only continue checking if the ISO C99 headers exist and support is on.
106425 if test x"$enable_wchar_t" = xyes; then
106427 # Use iconv for wchar_t to char conversions. As such, check for
106428 # X/Open Portability Guide, version 2 features (XPG2).
106429 if test "${ac_cv_header_iconv_h+set}" = set; then
106430 echo "$as_me:$LINENO: checking for iconv.h" >&5
106431 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106432 if test "${ac_cv_header_iconv_h+set}" = set; then
106433 echo $ECHO_N "(cached) $ECHO_C" >&6
106435 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106436 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106438 # Is the header compilable?
106439 echo "$as_me:$LINENO: checking iconv.h usability" >&5
106440 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
106441 cat >conftest.$ac_ext <<_ACEOF
106442 /* confdefs.h. */
106443 _ACEOF
106444 cat confdefs.h >>conftest.$ac_ext
106445 cat >>conftest.$ac_ext <<_ACEOF
106446 /* end confdefs.h. */
106447 $ac_includes_default
106448 #include <iconv.h>
106449 _ACEOF
106450 rm -f conftest.$ac_objext
106451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106452 (eval $ac_compile) 2>conftest.er1
106453 ac_status=$?
106454 grep -v '^ *+' conftest.er1 >conftest.err
106455 rm -f conftest.er1
106456 cat conftest.err >&5
106457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106458 (exit $ac_status); } &&
106459 { ac_try='test -z "$ac_c_werror_flag"
106460 || test ! -s conftest.err'
106461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106462 (eval $ac_try) 2>&5
106463 ac_status=$?
106464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106465 (exit $ac_status); }; } &&
106466 { ac_try='test -s conftest.$ac_objext'
106467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106468 (eval $ac_try) 2>&5
106469 ac_status=$?
106470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106471 (exit $ac_status); }; }; then
106472 ac_header_compiler=yes
106474 echo "$as_me: failed program was:" >&5
106475 sed 's/^/| /' conftest.$ac_ext >&5
106477 ac_header_compiler=no
106479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106481 echo "${ECHO_T}$ac_header_compiler" >&6
106483 # Is the header present?
106484 echo "$as_me:$LINENO: checking iconv.h presence" >&5
106485 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
106486 cat >conftest.$ac_ext <<_ACEOF
106487 /* confdefs.h. */
106488 _ACEOF
106489 cat confdefs.h >>conftest.$ac_ext
106490 cat >>conftest.$ac_ext <<_ACEOF
106491 /* end confdefs.h. */
106492 #include <iconv.h>
106493 _ACEOF
106494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106496 ac_status=$?
106497 grep -v '^ *+' conftest.er1 >conftest.err
106498 rm -f conftest.er1
106499 cat conftest.err >&5
106500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106501 (exit $ac_status); } >/dev/null; then
106502 if test -s conftest.err; then
106503 ac_cpp_err=$ac_c_preproc_warn_flag
106504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106506 ac_cpp_err=
106509 ac_cpp_err=yes
106511 if test -z "$ac_cpp_err"; then
106512 ac_header_preproc=yes
106514 echo "$as_me: failed program was:" >&5
106515 sed 's/^/| /' conftest.$ac_ext >&5
106517 ac_header_preproc=no
106519 rm -f conftest.err conftest.$ac_ext
106520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106521 echo "${ECHO_T}$ac_header_preproc" >&6
106523 # So? What about this header?
106524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106525 yes:no: )
106526 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
106527 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106528 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
106529 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
106530 ac_header_preproc=yes
106532 no:yes:* )
106533 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
106534 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
106535 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
106536 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
106537 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
106538 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
106539 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
106540 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
106541 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
106542 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
106543 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
106544 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
106546 cat <<\_ASBOX
106547 ## ----------------------------------------- ##
106548 ## Report this to the package-unused lists. ##
106549 ## ----------------------------------------- ##
106550 _ASBOX
106552 sed "s/^/$as_me: WARNING: /" >&2
106555 echo "$as_me:$LINENO: checking for iconv.h" >&5
106556 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106557 if test "${ac_cv_header_iconv_h+set}" = set; then
106558 echo $ECHO_N "(cached) $ECHO_C" >&6
106560 ac_cv_header_iconv_h=$ac_header_preproc
106562 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106563 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106566 if test $ac_cv_header_iconv_h = yes; then
106567 ac_has_iconv_h=yes
106569 ac_has_iconv_h=no
106573 if test "${ac_cv_header_langinfo_h+set}" = set; then
106574 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106575 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106576 if test "${ac_cv_header_langinfo_h+set}" = set; then
106577 echo $ECHO_N "(cached) $ECHO_C" >&6
106579 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106580 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106582 # Is the header compilable?
106583 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
106584 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
106585 cat >conftest.$ac_ext <<_ACEOF
106586 /* confdefs.h. */
106587 _ACEOF
106588 cat confdefs.h >>conftest.$ac_ext
106589 cat >>conftest.$ac_ext <<_ACEOF
106590 /* end confdefs.h. */
106591 $ac_includes_default
106592 #include <langinfo.h>
106593 _ACEOF
106594 rm -f conftest.$ac_objext
106595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106596 (eval $ac_compile) 2>conftest.er1
106597 ac_status=$?
106598 grep -v '^ *+' conftest.er1 >conftest.err
106599 rm -f conftest.er1
106600 cat conftest.err >&5
106601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106602 (exit $ac_status); } &&
106603 { ac_try='test -z "$ac_c_werror_flag"
106604 || test ! -s conftest.err'
106605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106606 (eval $ac_try) 2>&5
106607 ac_status=$?
106608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106609 (exit $ac_status); }; } &&
106610 { ac_try='test -s conftest.$ac_objext'
106611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106612 (eval $ac_try) 2>&5
106613 ac_status=$?
106614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106615 (exit $ac_status); }; }; then
106616 ac_header_compiler=yes
106618 echo "$as_me: failed program was:" >&5
106619 sed 's/^/| /' conftest.$ac_ext >&5
106621 ac_header_compiler=no
106623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106625 echo "${ECHO_T}$ac_header_compiler" >&6
106627 # Is the header present?
106628 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
106629 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
106630 cat >conftest.$ac_ext <<_ACEOF
106631 /* confdefs.h. */
106632 _ACEOF
106633 cat confdefs.h >>conftest.$ac_ext
106634 cat >>conftest.$ac_ext <<_ACEOF
106635 /* end confdefs.h. */
106636 #include <langinfo.h>
106637 _ACEOF
106638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106639 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106640 ac_status=$?
106641 grep -v '^ *+' conftest.er1 >conftest.err
106642 rm -f conftest.er1
106643 cat conftest.err >&5
106644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106645 (exit $ac_status); } >/dev/null; then
106646 if test -s conftest.err; then
106647 ac_cpp_err=$ac_c_preproc_warn_flag
106648 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106650 ac_cpp_err=
106653 ac_cpp_err=yes
106655 if test -z "$ac_cpp_err"; then
106656 ac_header_preproc=yes
106658 echo "$as_me: failed program was:" >&5
106659 sed 's/^/| /' conftest.$ac_ext >&5
106661 ac_header_preproc=no
106663 rm -f conftest.err conftest.$ac_ext
106664 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106665 echo "${ECHO_T}$ac_header_preproc" >&6
106667 # So? What about this header?
106668 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106669 yes:no: )
106670 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
106671 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106672 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
106673 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
106674 ac_header_preproc=yes
106676 no:yes:* )
106677 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
106678 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
106679 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
106680 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
106681 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
106682 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
106683 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
106684 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
106685 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
106686 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
106687 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
106688 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
106690 cat <<\_ASBOX
106691 ## ----------------------------------------- ##
106692 ## Report this to the package-unused lists. ##
106693 ## ----------------------------------------- ##
106694 _ASBOX
106696 sed "s/^/$as_me: WARNING: /" >&2
106699 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106700 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106701 if test "${ac_cv_header_langinfo_h+set}" = set; then
106702 echo $ECHO_N "(cached) $ECHO_C" >&6
106704 ac_cv_header_langinfo_h=$ac_header_preproc
106706 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106707 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106710 if test $ac_cv_header_langinfo_h = yes; then
106711 ac_has_langinfo_h=yes
106713 ac_has_langinfo_h=no
106718 # Check for existence of libiconv.a providing XPG2 wchar_t support.
106719 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
106720 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
106721 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
106722 echo $ECHO_N "(cached) $ECHO_C" >&6
106724 ac_check_lib_save_LIBS=$LIBS
106725 LIBS="-liconv $LIBS"
106726 if test x$gcc_no_link = xyes; then
106727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106729 { (exit 1); exit 1; }; }
106731 cat >conftest.$ac_ext <<_ACEOF
106732 /* confdefs.h. */
106733 _ACEOF
106734 cat confdefs.h >>conftest.$ac_ext
106735 cat >>conftest.$ac_ext <<_ACEOF
106736 /* end confdefs.h. */
106738 /* Override any gcc2 internal prototype to avoid an error. */
106739 #ifdef __cplusplus
106740 extern "C"
106741 #endif
106742 /* We use char because int might match the return type of a gcc2
106743 builtin and then its argument prototype would still apply. */
106744 char iconv ();
106746 main ()
106748 iconv ();
106750 return 0;
106752 _ACEOF
106753 rm -f conftest.$ac_objext conftest$ac_exeext
106754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106755 (eval $ac_link) 2>conftest.er1
106756 ac_status=$?
106757 grep -v '^ *+' conftest.er1 >conftest.err
106758 rm -f conftest.er1
106759 cat conftest.err >&5
106760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106761 (exit $ac_status); } &&
106762 { ac_try='test -z "$ac_c_werror_flag"
106763 || test ! -s conftest.err'
106764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106765 (eval $ac_try) 2>&5
106766 ac_status=$?
106767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106768 (exit $ac_status); }; } &&
106769 { ac_try='test -s conftest$ac_exeext'
106770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106771 (eval $ac_try) 2>&5
106772 ac_status=$?
106773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106774 (exit $ac_status); }; }; then
106775 ac_cv_lib_iconv_iconv=yes
106777 echo "$as_me: failed program was:" >&5
106778 sed 's/^/| /' conftest.$ac_ext >&5
106780 ac_cv_lib_iconv_iconv=no
106782 rm -f conftest.err conftest.$ac_objext \
106783 conftest$ac_exeext conftest.$ac_ext
106784 LIBS=$ac_check_lib_save_LIBS
106786 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
106787 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
106788 if test $ac_cv_lib_iconv_iconv = yes; then
106789 LIBICONV="-liconv"
106792 ac_save_LIBS="$LIBS"
106793 LIBS="$LIBS $LIBICONV"
106800 for ac_func in iconv_open iconv_close iconv nl_langinfo
106802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106803 echo "$as_me:$LINENO: checking for $ac_func" >&5
106804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106805 if eval "test \"\${$as_ac_var+set}\" = set"; then
106806 echo $ECHO_N "(cached) $ECHO_C" >&6
106808 if test x$gcc_no_link = xyes; then
106809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106811 { (exit 1); exit 1; }; }
106813 cat >conftest.$ac_ext <<_ACEOF
106814 /* confdefs.h. */
106815 _ACEOF
106816 cat confdefs.h >>conftest.$ac_ext
106817 cat >>conftest.$ac_ext <<_ACEOF
106818 /* end confdefs.h. */
106819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106821 #define $ac_func innocuous_$ac_func
106823 /* System header to define __stub macros and hopefully few prototypes,
106824 which can conflict with char $ac_func (); below.
106825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106826 <limits.h> exists even on freestanding compilers. */
106828 #ifdef __STDC__
106829 # include <limits.h>
106830 #else
106831 # include <assert.h>
106832 #endif
106834 #undef $ac_func
106836 /* Override any gcc2 internal prototype to avoid an error. */
106837 #ifdef __cplusplus
106838 extern "C"
106840 #endif
106841 /* We use char because int might match the return type of a gcc2
106842 builtin and then its argument prototype would still apply. */
106843 char $ac_func ();
106844 /* The GNU C library defines this for functions which it implements
106845 to always fail with ENOSYS. Some functions are actually named
106846 something starting with __ and the normal name is an alias. */
106847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106848 choke me
106849 #else
106850 char (*f) () = $ac_func;
106851 #endif
106852 #ifdef __cplusplus
106854 #endif
106857 main ()
106859 return f != $ac_func;
106861 return 0;
106863 _ACEOF
106864 rm -f conftest.$ac_objext conftest$ac_exeext
106865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106866 (eval $ac_link) 2>conftest.er1
106867 ac_status=$?
106868 grep -v '^ *+' conftest.er1 >conftest.err
106869 rm -f conftest.er1
106870 cat conftest.err >&5
106871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106872 (exit $ac_status); } &&
106873 { ac_try='test -z "$ac_c_werror_flag"
106874 || test ! -s conftest.err'
106875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106876 (eval $ac_try) 2>&5
106877 ac_status=$?
106878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106879 (exit $ac_status); }; } &&
106880 { ac_try='test -s conftest$ac_exeext'
106881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106882 (eval $ac_try) 2>&5
106883 ac_status=$?
106884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106885 (exit $ac_status); }; }; then
106886 eval "$as_ac_var=yes"
106888 echo "$as_me: failed program was:" >&5
106889 sed 's/^/| /' conftest.$ac_ext >&5
106891 eval "$as_ac_var=no"
106893 rm -f conftest.err conftest.$ac_objext \
106894 conftest$ac_exeext conftest.$ac_ext
106896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106898 if test `eval echo '${'$as_ac_var'}'` = yes; then
106899 cat >>confdefs.h <<_ACEOF
106900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106901 _ACEOF
106902 ac_XPG2funcs=yes
106904 ac_XPG2funcs=no
106909 LIBS="$ac_save_LIBS"
106911 if test x"$ac_has_iconv_h" = xyes &&
106912 test x"$ac_has_langinfo_h" = xyes &&
106913 test x"$ac_XPG2funcs" = xyes;
106916 cat >>confdefs.h <<\_ACEOF
106917 #define _GLIBCXX_USE_ICONV 1
106918 _ACEOF
106920 enable_iconv=yes
106923 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
106924 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
106925 echo "$as_me:$LINENO: result: $enable_iconv" >&5
106926 echo "${ECHO_T}$enable_iconv" >&6
106928 # All of the dependencies for wide character support are here, so
106929 # turn it on. This requires some syncronization with the
106930 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
106931 cat >>confdefs.h <<\_ACEOF
106932 #define _GLIBCXX_USE_WCHAR_T 1
106933 _ACEOF
106935 # Are these tested for even when cross?
106936 cat >>confdefs.h <<\_ACEOF
106937 #define HAVE_FLOAT_H 1
106938 _ACEOF
106940 cat >>confdefs.h <<\_ACEOF
106941 #define HAVE_IEEEFP_H 1
106942 _ACEOF
106944 cat >>confdefs.h <<\_ACEOF
106945 #define HAVE_INTTYPES_H 1
106946 _ACEOF
106948 cat >>confdefs.h <<\_ACEOF
106949 #define HAVE_LOCALE_H 1
106950 _ACEOF
106952 cat >>confdefs.h <<\_ACEOF
106953 #define HAVE_NAN_H 1
106954 _ACEOF
106956 cat >>confdefs.h <<\_ACEOF
106957 #define HAVE_SYS_FILIO_H 1
106958 _ACEOF
106960 cat >>confdefs.h <<\_ACEOF
106961 #define HAVE_SYS_IOCTL_H 1
106962 _ACEOF
106964 cat >>confdefs.h <<\_ACEOF
106965 #define HAVE_SYS_ISA_DEFS_H 1
106966 _ACEOF
106968 cat >>confdefs.h <<\_ACEOF
106969 #define HAVE_SYS_RESOURCE_H 1
106970 _ACEOF
106972 cat >>confdefs.h <<\_ACEOF
106973 #define HAVE_SYS_TIME_H 1
106974 _ACEOF
106976 cat >>confdefs.h <<\_ACEOF
106977 #define HAVE_SYS_TYPES_H 1
106978 _ACEOF
106980 cat >>confdefs.h <<\_ACEOF
106981 #define HAVE_UNISTD_H 1
106982 _ACEOF
106984 cat >>confdefs.h <<\_ACEOF
106985 #define HAVE_WCHAR_H 1
106986 _ACEOF
106988 cat >>confdefs.h <<\_ACEOF
106989 #define HAVE_WCTYPE_H 1
106990 _ACEOF
106992 cat >>confdefs.h <<\_ACEOF
106993 #define HAVE_LIBM 1
106994 _ACEOF
106998 case "$target" in
106999 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
107000 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
107001 cat >>confdefs.h <<\_ACEOF
107002 #define HAVE___BUILTIN_ABS 1
107003 _ACEOF
107005 cat >>confdefs.h <<\_ACEOF
107006 #define HAVE___BUILTIN_LABS 1
107007 _ACEOF
107009 cat >>confdefs.h <<\_ACEOF
107010 #define HAVE___BUILTIN_FABS 1
107011 _ACEOF
107013 cat >>confdefs.h <<\_ACEOF
107014 #define HAVE___BUILTIN_FABSF 1
107015 _ACEOF
107017 cat >>confdefs.h <<\_ACEOF
107018 #define HAVE___BUILTIN_FABSL 1
107019 _ACEOF
107021 cat >>confdefs.h <<\_ACEOF
107022 #define HAVE___BUILTIN_COS 1
107023 _ACEOF
107025 cat >>confdefs.h <<\_ACEOF
107026 #define HAVE___BUILTIN_COSF 1
107027 _ACEOF
107029 cat >>confdefs.h <<\_ACEOF
107030 #define HAVE___BUILTIN_SIN 1
107031 _ACEOF
107033 cat >>confdefs.h <<\_ACEOF
107034 #define HAVE___BUILTIN_SINF 1
107035 _ACEOF
107039 case "$target" in
107040 *-*-solaris2.10)
107041 # These two C99 functions are present only in Solaris >= 10
107042 cat >>confdefs.h <<\_ACEOF
107043 #define HAVE_STRTOF 1
107044 _ACEOF
107046 cat >>confdefs.h <<\_ACEOF
107047 #define HAVE_STRTOLD 1
107048 _ACEOF
107052 cat >>confdefs.h <<\_ACEOF
107053 #define HAVE_MMAP 1
107054 _ACEOF
107056 cat >>confdefs.h <<\_ACEOF
107057 #define HAVE_COPYSIGN 1
107058 _ACEOF
107060 cat >>confdefs.h <<\_ACEOF
107061 #define HAVE_ISNAN 1
107062 _ACEOF
107064 cat >>confdefs.h <<\_ACEOF
107065 #define HAVE_ISNANF 1
107066 _ACEOF
107068 cat >>confdefs.h <<\_ACEOF
107069 #define HAVE_MODFF 1
107070 _ACEOF
107072 cat >>confdefs.h <<\_ACEOF
107073 #define HAVE_HYPOT 1
107074 _ACEOF
107077 *-tpf)
107086 for ac_header in nan.h endian.h machine/endian.h \
107087 sys/param.h sys/types.h locale.h float.h inttypes.h
107089 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107091 echo "$as_me:$LINENO: checking for $ac_header" >&5
107092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107094 echo $ECHO_N "(cached) $ECHO_C" >&6
107096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107099 # Is the header compilable?
107100 echo "$as_me:$LINENO: checking $ac_header usability" >&5
107101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
107102 cat >conftest.$ac_ext <<_ACEOF
107103 /* confdefs.h. */
107104 _ACEOF
107105 cat confdefs.h >>conftest.$ac_ext
107106 cat >>conftest.$ac_ext <<_ACEOF
107107 /* end confdefs.h. */
107108 $ac_includes_default
107109 #include <$ac_header>
107110 _ACEOF
107111 rm -f conftest.$ac_objext
107112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107113 (eval $ac_compile) 2>conftest.er1
107114 ac_status=$?
107115 grep -v '^ *+' conftest.er1 >conftest.err
107116 rm -f conftest.er1
107117 cat conftest.err >&5
107118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107119 (exit $ac_status); } &&
107120 { ac_try='test -z "$ac_c_werror_flag"
107121 || test ! -s conftest.err'
107122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107123 (eval $ac_try) 2>&5
107124 ac_status=$?
107125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107126 (exit $ac_status); }; } &&
107127 { ac_try='test -s conftest.$ac_objext'
107128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107129 (eval $ac_try) 2>&5
107130 ac_status=$?
107131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107132 (exit $ac_status); }; }; then
107133 ac_header_compiler=yes
107135 echo "$as_me: failed program was:" >&5
107136 sed 's/^/| /' conftest.$ac_ext >&5
107138 ac_header_compiler=no
107140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107142 echo "${ECHO_T}$ac_header_compiler" >&6
107144 # Is the header present?
107145 echo "$as_me:$LINENO: checking $ac_header presence" >&5
107146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
107147 cat >conftest.$ac_ext <<_ACEOF
107148 /* confdefs.h. */
107149 _ACEOF
107150 cat confdefs.h >>conftest.$ac_ext
107151 cat >>conftest.$ac_ext <<_ACEOF
107152 /* end confdefs.h. */
107153 #include <$ac_header>
107154 _ACEOF
107155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107157 ac_status=$?
107158 grep -v '^ *+' conftest.er1 >conftest.err
107159 rm -f conftest.er1
107160 cat conftest.err >&5
107161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107162 (exit $ac_status); } >/dev/null; then
107163 if test -s conftest.err; then
107164 ac_cpp_err=$ac_c_preproc_warn_flag
107165 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107167 ac_cpp_err=
107170 ac_cpp_err=yes
107172 if test -z "$ac_cpp_err"; then
107173 ac_header_preproc=yes
107175 echo "$as_me: failed program was:" >&5
107176 sed 's/^/| /' conftest.$ac_ext >&5
107178 ac_header_preproc=no
107180 rm -f conftest.err conftest.$ac_ext
107181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107182 echo "${ECHO_T}$ac_header_preproc" >&6
107184 # So? What about this header?
107185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107186 yes:no: )
107187 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107188 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107190 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107191 ac_header_preproc=yes
107193 no:yes:* )
107194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
107197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
107198 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107199 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107200 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
107201 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
107202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107204 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107205 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107207 cat <<\_ASBOX
107208 ## ----------------------------------------- ##
107209 ## Report this to the package-unused lists. ##
107210 ## ----------------------------------------- ##
107211 _ASBOX
107213 sed "s/^/$as_me: WARNING: /" >&2
107216 echo "$as_me:$LINENO: checking for $ac_header" >&5
107217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107219 echo $ECHO_N "(cached) $ECHO_C" >&6
107221 eval "$as_ac_Header=\$ac_header_preproc"
107223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107228 cat >>confdefs.h <<_ACEOF
107229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107230 _ACEOF
107236 SECTION_FLAGS='-ffunction-sections -fdata-sections'
107239 # If we're not using GNU ld, then there's no point in even trying these
107240 # tests. Check for that first. We should have already tested for gld
107241 # by now (in libtool), but require it now just to be safe...
107242 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
107243 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
107247 # The name set by libtool depends on the version of libtool. Shame on us
107248 # for depending on an impl detail, but c'est la vie. Older versions used
107249 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
107250 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
107251 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
107252 # set (hence we're using an older libtool), then set it.
107253 if test x${with_gnu_ld+set} != xset; then
107254 if test x${ac_cv_prog_gnu_ld+set} != xset; then
107255 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
107256 with_gnu_ld=no
107258 with_gnu_ld=$ac_cv_prog_gnu_ld
107262 # Start by getting the version number. I think the libtool test already
107263 # does some of this, but throws away the result.
107264 echo "$as_me:$LINENO: checking for ld version" >&5
107265 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
107267 ldver=`$LD --version 2>/dev/null | head -1 | \
107268 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
107270 glibcxx_gnu_ld_version=`echo $ldver | \
107271 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
107272 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
107273 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
107275 # Set --gc-sections.
107276 glibcxx_gcsections_min_ld=21602
107277 if test x"$with_gnu_ld" = x"yes" &&
107278 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
107280 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
107281 # NB: This flag only works reliably after 2.16.1. Configure tests
107282 # for this are difficult, so hard wire a value that should work.
107284 # All these tests are for C++, but run with the "C" compiler driver.
107285 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
107286 ac_test_CFLAGS="${CFLAGS+set}"
107287 ac_save_CFLAGS="$CFLAGS"
107288 CFLAGS='-x c++ -Wl,--gc-sections'
107290 # Check for -Wl,--gc-sections
107291 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
107292 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
107293 if test x$gcc_no_link = xyes; then
107294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107296 { (exit 1); exit 1; }; }
107298 cat >conftest.$ac_ext <<_ACEOF
107299 /* confdefs.h. */
107300 _ACEOF
107301 cat confdefs.h >>conftest.$ac_ext
107302 cat >>conftest.$ac_ext <<_ACEOF
107303 /* end confdefs.h. */
107304 int one(void) { return 1; }
107305 int two(void) { return 2; }
107308 main ()
107310 two();
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 ac_gcsections=yes
107339 echo "$as_me: failed program was:" >&5
107340 sed 's/^/| /' conftest.$ac_ext >&5
107342 ac_gcsections=no
107344 rm -f conftest.err conftest.$ac_objext \
107345 conftest$ac_exeext conftest.$ac_ext
107346 if test "$ac_gcsections" = "yes"; then
107347 rm -f conftest.c
107348 touch conftest.c
107349 if $CC -c conftest.c; then
107350 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
107351 grep "Warning: gc-sections option ignored" > /dev/null; then
107352 ac_gcsections=no
107355 rm -f conftest.c conftest.o conftest
107357 if test "$ac_gcsections" = "yes"; then
107358 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
107360 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
107361 echo "${ECHO_T}$ac_gcsections" >&6
107363 if test "$ac_test_CFLAGS" = set; then
107364 CFLAGS="$ac_save_CFLAGS"
107366 # this is the suspicious part
107367 CFLAGS=''
107371 # Set -z,relro.
107372 # Note this is only for shared objects.
107373 ac_ld_relro=no
107374 if test x"$with_gnu_ld" = x"yes"; then
107375 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
107376 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
107377 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
107378 if test -n "$cxx_z_relo"; then
107379 OPT_LDFLAGS="-Wl,-z,relro"
107380 ac_ld_relro=yes
107382 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
107383 echo "${ECHO_T}$ac_ld_relro" >&6
107386 # Set linker optimization flags.
107387 if test x"$with_gnu_ld" = x"yes"; then
107388 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
107396 echo "$as_me:$LINENO: checking for main in -lm" >&5
107397 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107398 if test "${ac_cv_lib_m_main+set}" = set; then
107399 echo $ECHO_N "(cached) $ECHO_C" >&6
107401 ac_check_lib_save_LIBS=$LIBS
107402 LIBS="-lm $LIBS"
107403 if test x$gcc_no_link = xyes; then
107404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107406 { (exit 1); exit 1; }; }
107408 cat >conftest.$ac_ext <<_ACEOF
107409 /* confdefs.h. */
107410 _ACEOF
107411 cat confdefs.h >>conftest.$ac_ext
107412 cat >>conftest.$ac_ext <<_ACEOF
107413 /* end confdefs.h. */
107417 main ()
107419 main ();
107421 return 0;
107423 _ACEOF
107424 rm -f conftest.$ac_objext conftest$ac_exeext
107425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107426 (eval $ac_link) 2>conftest.er1
107427 ac_status=$?
107428 grep -v '^ *+' conftest.er1 >conftest.err
107429 rm -f conftest.er1
107430 cat conftest.err >&5
107431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107432 (exit $ac_status); } &&
107433 { ac_try='test -z "$ac_c_werror_flag"
107434 || test ! -s conftest.err'
107435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107436 (eval $ac_try) 2>&5
107437 ac_status=$?
107438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107439 (exit $ac_status); }; } &&
107440 { ac_try='test -s conftest$ac_exeext'
107441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107442 (eval $ac_try) 2>&5
107443 ac_status=$?
107444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107445 (exit $ac_status); }; }; then
107446 ac_cv_lib_m_main=yes
107448 echo "$as_me: failed program was:" >&5
107449 sed 's/^/| /' conftest.$ac_ext >&5
107451 ac_cv_lib_m_main=no
107453 rm -f conftest.err conftest.$ac_objext \
107454 conftest$ac_exeext conftest.$ac_ext
107455 LIBS=$ac_check_lib_save_LIBS
107457 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107458 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107459 if test $ac_cv_lib_m_main = yes; then
107460 cat >>confdefs.h <<_ACEOF
107461 #define HAVE_LIBM 1
107462 _ACEOF
107464 LIBS="-lm $LIBS"
107469 for ac_func in copysignf
107471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107472 echo "$as_me:$LINENO: checking for $ac_func" >&5
107473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107474 if eval "test \"\${$as_ac_var+set}\" = set"; then
107475 echo $ECHO_N "(cached) $ECHO_C" >&6
107477 if test x$gcc_no_link = xyes; then
107478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107480 { (exit 1); exit 1; }; }
107482 cat >conftest.$ac_ext <<_ACEOF
107483 /* confdefs.h. */
107484 _ACEOF
107485 cat confdefs.h >>conftest.$ac_ext
107486 cat >>conftest.$ac_ext <<_ACEOF
107487 /* end confdefs.h. */
107488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107490 #define $ac_func innocuous_$ac_func
107492 /* System header to define __stub macros and hopefully few prototypes,
107493 which can conflict with char $ac_func (); below.
107494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107495 <limits.h> exists even on freestanding compilers. */
107497 #ifdef __STDC__
107498 # include <limits.h>
107499 #else
107500 # include <assert.h>
107501 #endif
107503 #undef $ac_func
107505 /* Override any gcc2 internal prototype to avoid an error. */
107506 #ifdef __cplusplus
107507 extern "C"
107509 #endif
107510 /* We use char because int might match the return type of a gcc2
107511 builtin and then its argument prototype would still apply. */
107512 char $ac_func ();
107513 /* The GNU C library defines this for functions which it implements
107514 to always fail with ENOSYS. Some functions are actually named
107515 something starting with __ and the normal name is an alias. */
107516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107517 choke me
107518 #else
107519 char (*f) () = $ac_func;
107520 #endif
107521 #ifdef __cplusplus
107523 #endif
107526 main ()
107528 return f != $ac_func;
107530 return 0;
107532 _ACEOF
107533 rm -f conftest.$ac_objext conftest$ac_exeext
107534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107535 (eval $ac_link) 2>conftest.er1
107536 ac_status=$?
107537 grep -v '^ *+' conftest.er1 >conftest.err
107538 rm -f conftest.er1
107539 cat conftest.err >&5
107540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107541 (exit $ac_status); } &&
107542 { ac_try='test -z "$ac_c_werror_flag"
107543 || test ! -s conftest.err'
107544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107545 (eval $ac_try) 2>&5
107546 ac_status=$?
107547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107548 (exit $ac_status); }; } &&
107549 { ac_try='test -s conftest$ac_exeext'
107550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107551 (eval $ac_try) 2>&5
107552 ac_status=$?
107553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107554 (exit $ac_status); }; }; then
107555 eval "$as_ac_var=yes"
107557 echo "$as_me: failed program was:" >&5
107558 sed 's/^/| /' conftest.$ac_ext >&5
107560 eval "$as_ac_var=no"
107562 rm -f conftest.err conftest.$ac_objext \
107563 conftest$ac_exeext conftest.$ac_ext
107565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107567 if test `eval echo '${'$as_ac_var'}'` = yes; then
107568 cat >>confdefs.h <<_ACEOF
107569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107570 _ACEOF
107573 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107579 for ac_func in __signbit
107581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107582 echo "$as_me:$LINENO: checking for $ac_func" >&5
107583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107584 if eval "test \"\${$as_ac_var+set}\" = set"; then
107585 echo $ECHO_N "(cached) $ECHO_C" >&6
107587 if test x$gcc_no_link = xyes; then
107588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107590 { (exit 1); exit 1; }; }
107592 cat >conftest.$ac_ext <<_ACEOF
107593 /* confdefs.h. */
107594 _ACEOF
107595 cat confdefs.h >>conftest.$ac_ext
107596 cat >>conftest.$ac_ext <<_ACEOF
107597 /* end confdefs.h. */
107598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107600 #define $ac_func innocuous_$ac_func
107602 /* System header to define __stub macros and hopefully few prototypes,
107603 which can conflict with char $ac_func (); below.
107604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107605 <limits.h> exists even on freestanding compilers. */
107607 #ifdef __STDC__
107608 # include <limits.h>
107609 #else
107610 # include <assert.h>
107611 #endif
107613 #undef $ac_func
107615 /* Override any gcc2 internal prototype to avoid an error. */
107616 #ifdef __cplusplus
107617 extern "C"
107619 #endif
107620 /* We use char because int might match the return type of a gcc2
107621 builtin and then its argument prototype would still apply. */
107622 char $ac_func ();
107623 /* The GNU C library defines this for functions which it implements
107624 to always fail with ENOSYS. Some functions are actually named
107625 something starting with __ and the normal name is an alias. */
107626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107627 choke me
107628 #else
107629 char (*f) () = $ac_func;
107630 #endif
107631 #ifdef __cplusplus
107633 #endif
107636 main ()
107638 return f != $ac_func;
107640 return 0;
107642 _ACEOF
107643 rm -f conftest.$ac_objext conftest$ac_exeext
107644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107645 (eval $ac_link) 2>conftest.er1
107646 ac_status=$?
107647 grep -v '^ *+' conftest.er1 >conftest.err
107648 rm -f conftest.er1
107649 cat conftest.err >&5
107650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107651 (exit $ac_status); } &&
107652 { ac_try='test -z "$ac_c_werror_flag"
107653 || test ! -s conftest.err'
107654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107655 (eval $ac_try) 2>&5
107656 ac_status=$?
107657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107658 (exit $ac_status); }; } &&
107659 { ac_try='test -s conftest$ac_exeext'
107660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107661 (eval $ac_try) 2>&5
107662 ac_status=$?
107663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107664 (exit $ac_status); }; }; then
107665 eval "$as_ac_var=yes"
107667 echo "$as_me: failed program was:" >&5
107668 sed 's/^/| /' conftest.$ac_ext >&5
107670 eval "$as_ac_var=no"
107672 rm -f conftest.err conftest.$ac_objext \
107673 conftest$ac_exeext conftest.$ac_ext
107675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107677 if test `eval echo '${'$as_ac_var'}'` = yes; then
107678 cat >>confdefs.h <<_ACEOF
107679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107680 _ACEOF
107683 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107689 for ac_func in __signbitf
107691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107692 echo "$as_me:$LINENO: checking for $ac_func" >&5
107693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107694 if eval "test \"\${$as_ac_var+set}\" = set"; then
107695 echo $ECHO_N "(cached) $ECHO_C" >&6
107697 if test x$gcc_no_link = xyes; then
107698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107700 { (exit 1); exit 1; }; }
107702 cat >conftest.$ac_ext <<_ACEOF
107703 /* confdefs.h. */
107704 _ACEOF
107705 cat confdefs.h >>conftest.$ac_ext
107706 cat >>conftest.$ac_ext <<_ACEOF
107707 /* end confdefs.h. */
107708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107710 #define $ac_func innocuous_$ac_func
107712 /* System header to define __stub macros and hopefully few prototypes,
107713 which can conflict with char $ac_func (); below.
107714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107715 <limits.h> exists even on freestanding compilers. */
107717 #ifdef __STDC__
107718 # include <limits.h>
107719 #else
107720 # include <assert.h>
107721 #endif
107723 #undef $ac_func
107725 /* Override any gcc2 internal prototype to avoid an error. */
107726 #ifdef __cplusplus
107727 extern "C"
107729 #endif
107730 /* We use char because int might match the return type of a gcc2
107731 builtin and then its argument prototype would still apply. */
107732 char $ac_func ();
107733 /* The GNU C library defines this for functions which it implements
107734 to always fail with ENOSYS. Some functions are actually named
107735 something starting with __ and the normal name is an alias. */
107736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107737 choke me
107738 #else
107739 char (*f) () = $ac_func;
107740 #endif
107741 #ifdef __cplusplus
107743 #endif
107746 main ()
107748 return f != $ac_func;
107750 return 0;
107752 _ACEOF
107753 rm -f conftest.$ac_objext conftest$ac_exeext
107754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107755 (eval $ac_link) 2>conftest.er1
107756 ac_status=$?
107757 grep -v '^ *+' conftest.er1 >conftest.err
107758 rm -f conftest.er1
107759 cat conftest.err >&5
107760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107761 (exit $ac_status); } &&
107762 { ac_try='test -z "$ac_c_werror_flag"
107763 || test ! -s conftest.err'
107764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107765 (eval $ac_try) 2>&5
107766 ac_status=$?
107767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107768 (exit $ac_status); }; } &&
107769 { ac_try='test -s conftest$ac_exeext'
107770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107771 (eval $ac_try) 2>&5
107772 ac_status=$?
107773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107774 (exit $ac_status); }; }; then
107775 eval "$as_ac_var=yes"
107777 echo "$as_me: failed program was:" >&5
107778 sed 's/^/| /' conftest.$ac_ext >&5
107780 eval "$as_ac_var=no"
107782 rm -f conftest.err conftest.$ac_objext \
107783 conftest$ac_exeext conftest.$ac_ext
107785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107787 if test `eval echo '${'$as_ac_var'}'` = yes; then
107788 cat >>confdefs.h <<_ACEOF
107789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107790 _ACEOF
107793 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107798 if test x$ac_cv_func_copysignl = x"yes"; then
107800 for ac_func in __signbitl
107802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107803 echo "$as_me:$LINENO: checking for $ac_func" >&5
107804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107805 if eval "test \"\${$as_ac_var+set}\" = set"; then
107806 echo $ECHO_N "(cached) $ECHO_C" >&6
107808 if test x$gcc_no_link = xyes; then
107809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107811 { (exit 1); exit 1; }; }
107813 cat >conftest.$ac_ext <<_ACEOF
107814 /* confdefs.h. */
107815 _ACEOF
107816 cat confdefs.h >>conftest.$ac_ext
107817 cat >>conftest.$ac_ext <<_ACEOF
107818 /* end confdefs.h. */
107819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107821 #define $ac_func innocuous_$ac_func
107823 /* System header to define __stub macros and hopefully few prototypes,
107824 which can conflict with char $ac_func (); below.
107825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107826 <limits.h> exists even on freestanding compilers. */
107828 #ifdef __STDC__
107829 # include <limits.h>
107830 #else
107831 # include <assert.h>
107832 #endif
107834 #undef $ac_func
107836 /* Override any gcc2 internal prototype to avoid an error. */
107837 #ifdef __cplusplus
107838 extern "C"
107840 #endif
107841 /* We use char because int might match the return type of a gcc2
107842 builtin and then its argument prototype would still apply. */
107843 char $ac_func ();
107844 /* The GNU C library defines this for functions which it implements
107845 to always fail with ENOSYS. Some functions are actually named
107846 something starting with __ and the normal name is an alias. */
107847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107848 choke me
107849 #else
107850 char (*f) () = $ac_func;
107851 #endif
107852 #ifdef __cplusplus
107854 #endif
107857 main ()
107859 return f != $ac_func;
107861 return 0;
107863 _ACEOF
107864 rm -f conftest.$ac_objext conftest$ac_exeext
107865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107866 (eval $ac_link) 2>conftest.er1
107867 ac_status=$?
107868 grep -v '^ *+' conftest.er1 >conftest.err
107869 rm -f conftest.er1
107870 cat conftest.err >&5
107871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107872 (exit $ac_status); } &&
107873 { ac_try='test -z "$ac_c_werror_flag"
107874 || test ! -s conftest.err'
107875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107876 (eval $ac_try) 2>&5
107877 ac_status=$?
107878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107879 (exit $ac_status); }; } &&
107880 { ac_try='test -s conftest$ac_exeext'
107881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107882 (eval $ac_try) 2>&5
107883 ac_status=$?
107884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107885 (exit $ac_status); }; }; then
107886 eval "$as_ac_var=yes"
107888 echo "$as_me: failed program was:" >&5
107889 sed 's/^/| /' conftest.$ac_ext >&5
107891 eval "$as_ac_var=no"
107893 rm -f conftest.err conftest.$ac_objext \
107894 conftest$ac_exeext conftest.$ac_ext
107896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107898 if test `eval echo '${'$as_ac_var'}'` = yes; then
107899 cat >>confdefs.h <<_ACEOF
107900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107901 _ACEOF
107904 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107910 # Used in libmath/Makefile.am.
107911 if test -n "$LIBMATHOBJS"; then
107912 need_libmath=yes
107918 enable_iconv=no
107919 # Only continue checking if the ISO C99 headers exist and support is on.
107920 if test x"$enable_wchar_t" = xyes; then
107922 # Use iconv for wchar_t to char conversions. As such, check for
107923 # X/Open Portability Guide, version 2 features (XPG2).
107924 if test "${ac_cv_header_iconv_h+set}" = set; then
107925 echo "$as_me:$LINENO: checking for iconv.h" >&5
107926 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107927 if test "${ac_cv_header_iconv_h+set}" = set; then
107928 echo $ECHO_N "(cached) $ECHO_C" >&6
107930 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107931 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107933 # Is the header compilable?
107934 echo "$as_me:$LINENO: checking iconv.h usability" >&5
107935 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
107936 cat >conftest.$ac_ext <<_ACEOF
107937 /* confdefs.h. */
107938 _ACEOF
107939 cat confdefs.h >>conftest.$ac_ext
107940 cat >>conftest.$ac_ext <<_ACEOF
107941 /* end confdefs.h. */
107942 $ac_includes_default
107943 #include <iconv.h>
107944 _ACEOF
107945 rm -f conftest.$ac_objext
107946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107947 (eval $ac_compile) 2>conftest.er1
107948 ac_status=$?
107949 grep -v '^ *+' conftest.er1 >conftest.err
107950 rm -f conftest.er1
107951 cat conftest.err >&5
107952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107953 (exit $ac_status); } &&
107954 { ac_try='test -z "$ac_c_werror_flag"
107955 || test ! -s conftest.err'
107956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107957 (eval $ac_try) 2>&5
107958 ac_status=$?
107959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107960 (exit $ac_status); }; } &&
107961 { ac_try='test -s conftest.$ac_objext'
107962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107963 (eval $ac_try) 2>&5
107964 ac_status=$?
107965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107966 (exit $ac_status); }; }; then
107967 ac_header_compiler=yes
107969 echo "$as_me: failed program was:" >&5
107970 sed 's/^/| /' conftest.$ac_ext >&5
107972 ac_header_compiler=no
107974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107975 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107976 echo "${ECHO_T}$ac_header_compiler" >&6
107978 # Is the header present?
107979 echo "$as_me:$LINENO: checking iconv.h presence" >&5
107980 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
107981 cat >conftest.$ac_ext <<_ACEOF
107982 /* confdefs.h. */
107983 _ACEOF
107984 cat confdefs.h >>conftest.$ac_ext
107985 cat >>conftest.$ac_ext <<_ACEOF
107986 /* end confdefs.h. */
107987 #include <iconv.h>
107988 _ACEOF
107989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107990 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107991 ac_status=$?
107992 grep -v '^ *+' conftest.er1 >conftest.err
107993 rm -f conftest.er1
107994 cat conftest.err >&5
107995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107996 (exit $ac_status); } >/dev/null; then
107997 if test -s conftest.err; then
107998 ac_cpp_err=$ac_c_preproc_warn_flag
107999 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108001 ac_cpp_err=
108004 ac_cpp_err=yes
108006 if test -z "$ac_cpp_err"; then
108007 ac_header_preproc=yes
108009 echo "$as_me: failed program was:" >&5
108010 sed 's/^/| /' conftest.$ac_ext >&5
108012 ac_header_preproc=no
108014 rm -f conftest.err conftest.$ac_ext
108015 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108016 echo "${ECHO_T}$ac_header_preproc" >&6
108018 # So? What about this header?
108019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108020 yes:no: )
108021 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
108022 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
108023 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
108024 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
108025 ac_header_preproc=yes
108027 no:yes:* )
108028 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
108029 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
108030 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
108031 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
108032 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
108033 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
108034 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
108035 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
108036 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
108037 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
108038 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
108039 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
108041 cat <<\_ASBOX
108042 ## ----------------------------------------- ##
108043 ## Report this to the package-unused lists. ##
108044 ## ----------------------------------------- ##
108045 _ASBOX
108047 sed "s/^/$as_me: WARNING: /" >&2
108050 echo "$as_me:$LINENO: checking for iconv.h" >&5
108051 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
108052 if test "${ac_cv_header_iconv_h+set}" = set; then
108053 echo $ECHO_N "(cached) $ECHO_C" >&6
108055 ac_cv_header_iconv_h=$ac_header_preproc
108057 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
108058 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
108061 if test $ac_cv_header_iconv_h = yes; then
108062 ac_has_iconv_h=yes
108064 ac_has_iconv_h=no
108068 if test "${ac_cv_header_langinfo_h+set}" = set; then
108069 echo "$as_me:$LINENO: checking for langinfo.h" >&5
108070 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
108071 if test "${ac_cv_header_langinfo_h+set}" = set; then
108072 echo $ECHO_N "(cached) $ECHO_C" >&6
108074 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
108075 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
108077 # Is the header compilable?
108078 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
108079 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
108080 cat >conftest.$ac_ext <<_ACEOF
108081 /* confdefs.h. */
108082 _ACEOF
108083 cat confdefs.h >>conftest.$ac_ext
108084 cat >>conftest.$ac_ext <<_ACEOF
108085 /* end confdefs.h. */
108086 $ac_includes_default
108087 #include <langinfo.h>
108088 _ACEOF
108089 rm -f conftest.$ac_objext
108090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108091 (eval $ac_compile) 2>conftest.er1
108092 ac_status=$?
108093 grep -v '^ *+' conftest.er1 >conftest.err
108094 rm -f conftest.er1
108095 cat conftest.err >&5
108096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108097 (exit $ac_status); } &&
108098 { ac_try='test -z "$ac_c_werror_flag"
108099 || test ! -s conftest.err'
108100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108101 (eval $ac_try) 2>&5
108102 ac_status=$?
108103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108104 (exit $ac_status); }; } &&
108105 { ac_try='test -s conftest.$ac_objext'
108106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108107 (eval $ac_try) 2>&5
108108 ac_status=$?
108109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108110 (exit $ac_status); }; }; then
108111 ac_header_compiler=yes
108113 echo "$as_me: failed program was:" >&5
108114 sed 's/^/| /' conftest.$ac_ext >&5
108116 ac_header_compiler=no
108118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108120 echo "${ECHO_T}$ac_header_compiler" >&6
108122 # Is the header present?
108123 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
108124 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
108125 cat >conftest.$ac_ext <<_ACEOF
108126 /* confdefs.h. */
108127 _ACEOF
108128 cat confdefs.h >>conftest.$ac_ext
108129 cat >>conftest.$ac_ext <<_ACEOF
108130 /* end confdefs.h. */
108131 #include <langinfo.h>
108132 _ACEOF
108133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108134 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108135 ac_status=$?
108136 grep -v '^ *+' conftest.er1 >conftest.err
108137 rm -f conftest.er1
108138 cat conftest.err >&5
108139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108140 (exit $ac_status); } >/dev/null; then
108141 if test -s conftest.err; then
108142 ac_cpp_err=$ac_c_preproc_warn_flag
108143 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108145 ac_cpp_err=
108148 ac_cpp_err=yes
108150 if test -z "$ac_cpp_err"; then
108151 ac_header_preproc=yes
108153 echo "$as_me: failed program was:" >&5
108154 sed 's/^/| /' conftest.$ac_ext >&5
108156 ac_header_preproc=no
108158 rm -f conftest.err conftest.$ac_ext
108159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108160 echo "${ECHO_T}$ac_header_preproc" >&6
108162 # So? What about this header?
108163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108164 yes:no: )
108165 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
108166 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
108167 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
108168 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
108169 ac_header_preproc=yes
108171 no:yes:* )
108172 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
108173 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
108174 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
108175 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
108176 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
108177 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
108178 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
108179 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
108180 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
108181 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
108182 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
108183 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
108185 cat <<\_ASBOX
108186 ## ----------------------------------------- ##
108187 ## Report this to the package-unused lists. ##
108188 ## ----------------------------------------- ##
108189 _ASBOX
108191 sed "s/^/$as_me: WARNING: /" >&2
108194 echo "$as_me:$LINENO: checking for langinfo.h" >&5
108195 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
108196 if test "${ac_cv_header_langinfo_h+set}" = set; then
108197 echo $ECHO_N "(cached) $ECHO_C" >&6
108199 ac_cv_header_langinfo_h=$ac_header_preproc
108201 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
108202 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
108205 if test $ac_cv_header_langinfo_h = yes; then
108206 ac_has_langinfo_h=yes
108208 ac_has_langinfo_h=no
108213 # Check for existence of libiconv.a providing XPG2 wchar_t support.
108214 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
108215 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
108216 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
108217 echo $ECHO_N "(cached) $ECHO_C" >&6
108219 ac_check_lib_save_LIBS=$LIBS
108220 LIBS="-liconv $LIBS"
108221 if test x$gcc_no_link = xyes; then
108222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108224 { (exit 1); exit 1; }; }
108226 cat >conftest.$ac_ext <<_ACEOF
108227 /* confdefs.h. */
108228 _ACEOF
108229 cat confdefs.h >>conftest.$ac_ext
108230 cat >>conftest.$ac_ext <<_ACEOF
108231 /* end confdefs.h. */
108233 /* Override any gcc2 internal prototype to avoid an error. */
108234 #ifdef __cplusplus
108235 extern "C"
108236 #endif
108237 /* We use char because int might match the return type of a gcc2
108238 builtin and then its argument prototype would still apply. */
108239 char iconv ();
108241 main ()
108243 iconv ();
108245 return 0;
108247 _ACEOF
108248 rm -f conftest.$ac_objext conftest$ac_exeext
108249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108250 (eval $ac_link) 2>conftest.er1
108251 ac_status=$?
108252 grep -v '^ *+' conftest.er1 >conftest.err
108253 rm -f conftest.er1
108254 cat conftest.err >&5
108255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108256 (exit $ac_status); } &&
108257 { ac_try='test -z "$ac_c_werror_flag"
108258 || test ! -s conftest.err'
108259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108260 (eval $ac_try) 2>&5
108261 ac_status=$?
108262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108263 (exit $ac_status); }; } &&
108264 { ac_try='test -s conftest$ac_exeext'
108265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108266 (eval $ac_try) 2>&5
108267 ac_status=$?
108268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108269 (exit $ac_status); }; }; then
108270 ac_cv_lib_iconv_iconv=yes
108272 echo "$as_me: failed program was:" >&5
108273 sed 's/^/| /' conftest.$ac_ext >&5
108275 ac_cv_lib_iconv_iconv=no
108277 rm -f conftest.err conftest.$ac_objext \
108278 conftest$ac_exeext conftest.$ac_ext
108279 LIBS=$ac_check_lib_save_LIBS
108281 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
108282 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
108283 if test $ac_cv_lib_iconv_iconv = yes; then
108284 LIBICONV="-liconv"
108287 ac_save_LIBS="$LIBS"
108288 LIBS="$LIBS $LIBICONV"
108295 for ac_func in iconv_open iconv_close iconv nl_langinfo
108297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108298 echo "$as_me:$LINENO: checking for $ac_func" >&5
108299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108300 if eval "test \"\${$as_ac_var+set}\" = set"; then
108301 echo $ECHO_N "(cached) $ECHO_C" >&6
108303 if test x$gcc_no_link = xyes; then
108304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108306 { (exit 1); exit 1; }; }
108308 cat >conftest.$ac_ext <<_ACEOF
108309 /* confdefs.h. */
108310 _ACEOF
108311 cat confdefs.h >>conftest.$ac_ext
108312 cat >>conftest.$ac_ext <<_ACEOF
108313 /* end confdefs.h. */
108314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108316 #define $ac_func innocuous_$ac_func
108318 /* System header to define __stub macros and hopefully few prototypes,
108319 which can conflict with char $ac_func (); below.
108320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108321 <limits.h> exists even on freestanding compilers. */
108323 #ifdef __STDC__
108324 # include <limits.h>
108325 #else
108326 # include <assert.h>
108327 #endif
108329 #undef $ac_func
108331 /* Override any gcc2 internal prototype to avoid an error. */
108332 #ifdef __cplusplus
108333 extern "C"
108335 #endif
108336 /* We use char because int might match the return type of a gcc2
108337 builtin and then its argument prototype would still apply. */
108338 char $ac_func ();
108339 /* The GNU C library defines this for functions which it implements
108340 to always fail with ENOSYS. Some functions are actually named
108341 something starting with __ and the normal name is an alias. */
108342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108343 choke me
108344 #else
108345 char (*f) () = $ac_func;
108346 #endif
108347 #ifdef __cplusplus
108349 #endif
108352 main ()
108354 return f != $ac_func;
108356 return 0;
108358 _ACEOF
108359 rm -f conftest.$ac_objext conftest$ac_exeext
108360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108361 (eval $ac_link) 2>conftest.er1
108362 ac_status=$?
108363 grep -v '^ *+' conftest.er1 >conftest.err
108364 rm -f conftest.er1
108365 cat conftest.err >&5
108366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108367 (exit $ac_status); } &&
108368 { ac_try='test -z "$ac_c_werror_flag"
108369 || test ! -s conftest.err'
108370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108371 (eval $ac_try) 2>&5
108372 ac_status=$?
108373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108374 (exit $ac_status); }; } &&
108375 { ac_try='test -s conftest$ac_exeext'
108376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108377 (eval $ac_try) 2>&5
108378 ac_status=$?
108379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108380 (exit $ac_status); }; }; then
108381 eval "$as_ac_var=yes"
108383 echo "$as_me: failed program was:" >&5
108384 sed 's/^/| /' conftest.$ac_ext >&5
108386 eval "$as_ac_var=no"
108388 rm -f conftest.err conftest.$ac_objext \
108389 conftest$ac_exeext conftest.$ac_ext
108391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108393 if test `eval echo '${'$as_ac_var'}'` = yes; then
108394 cat >>confdefs.h <<_ACEOF
108395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108396 _ACEOF
108397 ac_XPG2funcs=yes
108399 ac_XPG2funcs=no
108404 LIBS="$ac_save_LIBS"
108406 if test x"$ac_has_iconv_h" = xyes &&
108407 test x"$ac_has_langinfo_h" = xyes &&
108408 test x"$ac_XPG2funcs" = xyes;
108411 cat >>confdefs.h <<\_ACEOF
108412 #define _GLIBCXX_USE_ICONV 1
108413 _ACEOF
108415 enable_iconv=yes
108418 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
108419 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
108420 echo "$as_me:$LINENO: result: $enable_iconv" >&5
108421 echo "${ECHO_T}$enable_iconv" >&6
108423 cat >>confdefs.h <<\_ACEOF
108424 #define HAVE_COPYSIGN 1
108425 _ACEOF
108427 cat >>confdefs.h <<\_ACEOF
108428 #define HAVE_COPYSIGNF 1
108429 _ACEOF
108431 cat >>confdefs.h <<\_ACEOF
108432 #define HAVE_FINITE 1
108433 _ACEOF
108435 cat >>confdefs.h <<\_ACEOF
108436 #define HAVE_FINITEF 1
108437 _ACEOF
108439 cat >>confdefs.h <<\_ACEOF
108440 #define HAVE_FREXPF 1
108441 _ACEOF
108443 cat >>confdefs.h <<\_ACEOF
108444 #define HAVE_HYPOTF 1
108445 _ACEOF
108447 cat >>confdefs.h <<\_ACEOF
108448 #define HAVE_ISINF 1
108449 _ACEOF
108451 cat >>confdefs.h <<\_ACEOF
108452 #define HAVE_ISINFF 1
108453 _ACEOF
108455 cat >>confdefs.h <<\_ACEOF
108456 #define HAVE_ISNAN 1
108457 _ACEOF
108459 cat >>confdefs.h <<\_ACEOF
108460 #define HAVE_ISNANF 1
108461 _ACEOF
108463 cat >>confdefs.h <<\_ACEOF
108464 #define HAVE_SINCOS 1
108465 _ACEOF
108467 cat >>confdefs.h <<\_ACEOF
108468 #define HAVE_SINCOSF 1
108469 _ACEOF
108471 if test x"long_double_math_on_this_cpu" = x"yes"; then
108472 cat >>confdefs.h <<\_ACEOF
108473 #define HAVE_FINITEL 1
108474 _ACEOF
108476 cat >>confdefs.h <<\_ACEOF
108477 #define HAVE_HYPOTL 1
108478 _ACEOF
108480 cat >>confdefs.h <<\_ACEOF
108481 #define HAVE_ISINFL 1
108482 _ACEOF
108484 cat >>confdefs.h <<\_ACEOF
108485 #define HAVE_ISNANL 1
108486 _ACEOF
108490 *-vxworks)
108491 cat >>confdefs.h <<\_ACEOF
108492 #define HAVE_MMAP 1
108493 _ACEOF
108495 cat >>confdefs.h <<\_ACEOF
108496 #define HAVE_ACOSF 1
108497 _ACEOF
108499 cat >>confdefs.h <<\_ACEOF
108500 #define HAVE_ASINF 1
108501 _ACEOF
108503 cat >>confdefs.h <<\_ACEOF
108504 #define HAVE_ATAN2F 1
108505 _ACEOF
108507 cat >>confdefs.h <<\_ACEOF
108508 #define HAVE_ATANF 1
108509 _ACEOF
108511 cat >>confdefs.h <<\_ACEOF
108512 #define HAVE_CEILF 1
108513 _ACEOF
108515 cat >>confdefs.h <<\_ACEOF
108516 #define HAVE_COSF 1
108517 _ACEOF
108519 cat >>confdefs.h <<\_ACEOF
108520 #define HAVE_COSHF 1
108521 _ACEOF
108523 cat >>confdefs.h <<\_ACEOF
108524 #define HAVE_EXPF 1
108525 _ACEOF
108527 cat >>confdefs.h <<\_ACEOF
108528 #define HAVE_FABSF 1
108529 _ACEOF
108531 cat >>confdefs.h <<\_ACEOF
108532 #define HAVE_FLOORF 1
108533 _ACEOF
108535 cat >>confdefs.h <<\_ACEOF
108536 #define HAVE_FMODF 1
108537 _ACEOF
108539 cat >>confdefs.h <<\_ACEOF
108540 #define HAVE_HYPOT 1
108541 _ACEOF
108543 cat >>confdefs.h <<\_ACEOF
108544 #define HAVE_LOG10F 1
108545 _ACEOF
108547 cat >>confdefs.h <<\_ACEOF
108548 #define HAVE_LOGF 1
108549 _ACEOF
108551 cat >>confdefs.h <<\_ACEOF
108552 #define HAVE_POWF 1
108553 _ACEOF
108555 cat >>confdefs.h <<\_ACEOF
108556 #define HAVE_SINF 1
108557 _ACEOF
108559 cat >>confdefs.h <<\_ACEOF
108560 #define HAVE_SINHF 1
108561 _ACEOF
108563 cat >>confdefs.h <<\_ACEOF
108564 #define HAVE_SQRTF 1
108565 _ACEOF
108567 cat >>confdefs.h <<\_ACEOF
108568 #define HAVE_TANF 1
108569 _ACEOF
108571 cat >>confdefs.h <<\_ACEOF
108572 #define HAVE_TANHF 1
108573 _ACEOF
108576 *-windiss*)
108577 cat >>confdefs.h <<\_ACEOF
108578 #define HAVE_ACOSF 1
108579 _ACEOF
108581 cat >>confdefs.h <<\_ACEOF
108582 #define HAVE_ACOSL 1
108583 _ACEOF
108585 cat >>confdefs.h <<\_ACEOF
108586 #define HAVE_ASINF 1
108587 _ACEOF
108589 cat >>confdefs.h <<\_ACEOF
108590 #define HAVE_ASINL 1
108591 _ACEOF
108593 cat >>confdefs.h <<\_ACEOF
108594 #define HAVE_ATAN2F 1
108595 _ACEOF
108597 cat >>confdefs.h <<\_ACEOF
108598 #define HAVE_ATAN2L 1
108599 _ACEOF
108601 cat >>confdefs.h <<\_ACEOF
108602 #define HAVE_ATANF 1
108603 _ACEOF
108605 cat >>confdefs.h <<\_ACEOF
108606 #define HAVE_ATANL 1
108607 _ACEOF
108609 cat >>confdefs.h <<\_ACEOF
108610 #define HAVE_CEILF 1
108611 _ACEOF
108613 cat >>confdefs.h <<\_ACEOF
108614 #define HAVE_CEILL 1
108615 _ACEOF
108617 cat >>confdefs.h <<\_ACEOF
108618 #define HAVE_COPYSIGN 1
108619 _ACEOF
108621 cat >>confdefs.h <<\_ACEOF
108622 #define HAVE_COPYSIGNF 1
108623 _ACEOF
108625 cat >>confdefs.h <<\_ACEOF
108626 #define HAVE_COSF 1
108627 _ACEOF
108629 cat >>confdefs.h <<\_ACEOF
108630 #define HAVE_COSL 1
108631 _ACEOF
108633 cat >>confdefs.h <<\_ACEOF
108634 #define HAVE_COSHF 1
108635 _ACEOF
108637 cat >>confdefs.h <<\_ACEOF
108638 #define HAVE_COSHL 1
108639 _ACEOF
108641 cat >>confdefs.h <<\_ACEOF
108642 #define HAVE_EXPF 1
108643 _ACEOF
108645 cat >>confdefs.h <<\_ACEOF
108646 #define HAVE_EXPL 1
108647 _ACEOF
108649 cat >>confdefs.h <<\_ACEOF
108650 #define HAVE_FABSF 1
108651 _ACEOF
108653 cat >>confdefs.h <<\_ACEOF
108654 #define HAVE_FABSL 1
108655 _ACEOF
108657 cat >>confdefs.h <<\_ACEOF
108658 #define HAVE_FLOORF 1
108659 _ACEOF
108661 cat >>confdefs.h <<\_ACEOF
108662 #define HAVE_FLOORL 1
108663 _ACEOF
108665 cat >>confdefs.h <<\_ACEOF
108666 #define HAVE_FMODF 1
108667 _ACEOF
108669 cat >>confdefs.h <<\_ACEOF
108670 #define HAVE_FMODL 1
108671 _ACEOF
108673 cat >>confdefs.h <<\_ACEOF
108674 #define HAVE_FREXPF 1
108675 _ACEOF
108677 cat >>confdefs.h <<\_ACEOF
108678 #define HAVE_FREXPL 1
108679 _ACEOF
108681 cat >>confdefs.h <<\_ACEOF
108682 #define HAVE_LDEXPF 1
108683 _ACEOF
108685 cat >>confdefs.h <<\_ACEOF
108686 #define HAVE_LDEXPL 1
108687 _ACEOF
108689 cat >>confdefs.h <<\_ACEOF
108690 #define HAVE_LOG10F 1
108691 _ACEOF
108693 cat >>confdefs.h <<\_ACEOF
108694 #define HAVE_LOG10L 1
108695 _ACEOF
108697 cat >>confdefs.h <<\_ACEOF
108698 #define HAVE_LOGF 1
108699 _ACEOF
108701 cat >>confdefs.h <<\_ACEOF
108702 #define HAVE_MODFF 1
108703 _ACEOF
108705 cat >>confdefs.h <<\_ACEOF
108706 #define HAVE_MODFL 1
108707 _ACEOF
108709 cat >>confdefs.h <<\_ACEOF
108710 #define HAVE_POWF 1
108711 _ACEOF
108713 cat >>confdefs.h <<\_ACEOF
108714 #define HAVE_POWL 1
108715 _ACEOF
108717 cat >>confdefs.h <<\_ACEOF
108718 #define HAVE_SINF 1
108719 _ACEOF
108721 cat >>confdefs.h <<\_ACEOF
108722 #define HAVE_SINL 1
108723 _ACEOF
108725 cat >>confdefs.h <<\_ACEOF
108726 #define HAVE_SINHF 1
108727 _ACEOF
108729 cat >>confdefs.h <<\_ACEOF
108730 #define HAVE_SINHL 1
108731 _ACEOF
108733 cat >>confdefs.h <<\_ACEOF
108734 #define HAVE_SQRTF 1
108735 _ACEOF
108737 cat >>confdefs.h <<\_ACEOF
108738 #define HAVE_SQRTL 1
108739 _ACEOF
108741 cat >>confdefs.h <<\_ACEOF
108742 #define HAVE_TANF 1
108743 _ACEOF
108745 cat >>confdefs.h <<\_ACEOF
108746 #define HAVE_TANL 1
108747 _ACEOF
108749 cat >>confdefs.h <<\_ACEOF
108750 #define HAVE_TANHF 1
108751 _ACEOF
108753 cat >>confdefs.h <<\_ACEOF
108754 #define HAVE_TANHL 1
108755 _ACEOF
108759 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
108760 echo "$as_me: error: No support for this host/target combination." >&2;}
108761 { (exit 1); exit 1; }; }
108767 # At some point, we should differentiate between architectures
108768 # like x86, which have long double versions, and alpha/powerpc/etc.,
108769 # which don't. For the time being, punt.
108770 if test x"long_double_math_on_this_cpu" = x"yes"; then
108771 cat >>confdefs.h <<\_ACEOF
108772 #define HAVE_ACOSL 1
108773 _ACEOF
108775 cat >>confdefs.h <<\_ACEOF
108776 #define HAVE_ASINL 1
108777 _ACEOF
108779 cat >>confdefs.h <<\_ACEOF
108780 #define HAVE_ATAN2L 1
108781 _ACEOF
108783 cat >>confdefs.h <<\_ACEOF
108784 #define HAVE_ATANL 1
108785 _ACEOF
108787 cat >>confdefs.h <<\_ACEOF
108788 #define HAVE_CEILL 1
108789 _ACEOF
108791 cat >>confdefs.h <<\_ACEOF
108792 #define HAVE_COPYSIGNL 1
108793 _ACEOF
108795 cat >>confdefs.h <<\_ACEOF
108796 #define HAVE_COSL 1
108797 _ACEOF
108799 cat >>confdefs.h <<\_ACEOF
108800 #define HAVE_COSHL 1
108801 _ACEOF
108803 cat >>confdefs.h <<\_ACEOF
108804 #define HAVE_EXPL 1
108805 _ACEOF
108807 cat >>confdefs.h <<\_ACEOF
108808 #define HAVE_FABSL 1
108809 _ACEOF
108811 cat >>confdefs.h <<\_ACEOF
108812 #define HAVE_FLOORL 1
108813 _ACEOF
108815 cat >>confdefs.h <<\_ACEOF
108816 #define HAVE_FMODL 1
108817 _ACEOF
108819 cat >>confdefs.h <<\_ACEOF
108820 #define HAVE_FREXPL 1
108821 _ACEOF
108823 cat >>confdefs.h <<\_ACEOF
108824 #define HAVE_LDEXPL 1
108825 _ACEOF
108827 cat >>confdefs.h <<\_ACEOF
108828 #define HAVE_LOG10L 1
108829 _ACEOF
108831 cat >>confdefs.h <<\_ACEOF
108832 #define HAVE_LOGL 1
108833 _ACEOF
108835 cat >>confdefs.h <<\_ACEOF
108836 #define HAVE_MODFL 1
108837 _ACEOF
108839 cat >>confdefs.h <<\_ACEOF
108840 #define HAVE_POWL 1
108841 _ACEOF
108843 cat >>confdefs.h <<\_ACEOF
108844 #define HAVE_SINCOSL 1
108845 _ACEOF
108847 cat >>confdefs.h <<\_ACEOF
108848 #define HAVE_SINL 1
108849 _ACEOF
108851 cat >>confdefs.h <<\_ACEOF
108852 #define HAVE_SINHL 1
108853 _ACEOF
108855 cat >>confdefs.h <<\_ACEOF
108856 #define HAVE_SQRTL 1
108857 _ACEOF
108859 cat >>confdefs.h <<\_ACEOF
108860 #define HAVE_TANL 1
108861 _ACEOF
108863 cat >>confdefs.h <<\_ACEOF
108864 #define HAVE_TANHL 1
108865 _ACEOF
108869 # Assume we have _Unwind_GetIPInfo for cross-compiles.
108870 cat >>confdefs.h <<\_ACEOF
108871 #define HAVE_GETIPINFO 1
108872 _ACEOF
108877 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
108880 # Check whether --enable-symvers or --disable-symvers was given.
108881 if test "${enable_symvers+set}" = set; then
108882 enableval="$enable_symvers"
108884 case "$enableval" in
108885 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
108886 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
108887 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
108888 { (exit 1); exit 1; }; } ;;
108892 enable_symvers=yes
108896 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
108897 # don't know enough about $LD to do tricks...
108900 # Turn a 'yes' into a suitable default.
108901 if test x$enable_symvers = xyes ; then
108902 if test $enable_shared = no || test "x$LD" = x ; then
108903 enable_symvers=no
108905 if test $with_gnu_ld = yes ; then
108906 enable_symvers=gnu
108908 case ${target_os} in
108909 darwin*)
108910 enable_symvers=darwin ;;
108912 enable_symvers=no ;;
108918 # Check to see if 'darwin' or 'darwin-export' can win.
108919 if test x$enable_symvers = xdarwin-export ; then
108920 enable_symvers=darwin
108923 # Check to see if 'gnu' can win.
108924 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
108925 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
108926 echo "$as_me:$LINENO: checking for shared libgcc" >&5
108927 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
108928 ac_save_CFLAGS="$CFLAGS"
108929 CFLAGS=' -lgcc_s'
108930 if test x$gcc_no_link = xyes; then
108931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108933 { (exit 1); exit 1; }; }
108935 cat >conftest.$ac_ext <<_ACEOF
108936 /* confdefs.h. */
108937 _ACEOF
108938 cat confdefs.h >>conftest.$ac_ext
108939 cat >>conftest.$ac_ext <<_ACEOF
108940 /* end confdefs.h. */
108943 main ()
108945 return 0;
108947 return 0;
108949 _ACEOF
108950 rm -f conftest.$ac_objext conftest$ac_exeext
108951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108952 (eval $ac_link) 2>conftest.er1
108953 ac_status=$?
108954 grep -v '^ *+' conftest.er1 >conftest.err
108955 rm -f conftest.er1
108956 cat conftest.err >&5
108957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108958 (exit $ac_status); } &&
108959 { ac_try='test -z "$ac_c_werror_flag"
108960 || test ! -s conftest.err'
108961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108962 (eval $ac_try) 2>&5
108963 ac_status=$?
108964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108965 (exit $ac_status); }; } &&
108966 { ac_try='test -s conftest$ac_exeext'
108967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108968 (eval $ac_try) 2>&5
108969 ac_status=$?
108970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108971 (exit $ac_status); }; }; then
108972 glibcxx_shared_libgcc=yes
108974 echo "$as_me: failed program was:" >&5
108975 sed 's/^/| /' conftest.$ac_ext >&5
108977 glibcxx_shared_libgcc=no
108979 rm -f conftest.err conftest.$ac_objext \
108980 conftest$ac_exeext conftest.$ac_ext
108981 CFLAGS="$ac_save_CFLAGS"
108982 if test $glibcxx_shared_libgcc = no; then
108983 cat > conftest.c <<EOF
108984 int main (void) { return 0; }
108986 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
108987 -shared -shared-libgcc -o conftest.so \
108988 conftest.c -v 2>&1 >/dev/null \
108989 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
108990 rm -f conftest.c conftest.so
108991 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
108992 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
108993 if test x$gcc_no_link = xyes; then
108994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108996 { (exit 1); exit 1; }; }
108998 cat >conftest.$ac_ext <<_ACEOF
108999 /* confdefs.h. */
109000 _ACEOF
109001 cat confdefs.h >>conftest.$ac_ext
109002 cat >>conftest.$ac_ext <<_ACEOF
109003 /* end confdefs.h. */
109006 main ()
109008 return 0;
109010 return 0;
109012 _ACEOF
109013 rm -f conftest.$ac_objext conftest$ac_exeext
109014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109015 (eval $ac_link) 2>conftest.er1
109016 ac_status=$?
109017 grep -v '^ *+' conftest.er1 >conftest.err
109018 rm -f conftest.er1
109019 cat conftest.err >&5
109020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109021 (exit $ac_status); } &&
109022 { ac_try='test -z "$ac_c_werror_flag"
109023 || test ! -s conftest.err'
109024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109025 (eval $ac_try) 2>&5
109026 ac_status=$?
109027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109028 (exit $ac_status); }; } &&
109029 { ac_try='test -s conftest$ac_exeext'
109030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109031 (eval $ac_try) 2>&5
109032 ac_status=$?
109033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109034 (exit $ac_status); }; }; then
109035 glibcxx_shared_libgcc=yes
109037 echo "$as_me: failed program was:" >&5
109038 sed 's/^/| /' conftest.$ac_ext >&5
109041 rm -f conftest.err conftest.$ac_objext \
109042 conftest$ac_exeext conftest.$ac_ext
109043 CFLAGS="$ac_save_CFLAGS"
109046 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
109047 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
109049 # For GNU ld, we need at least this version. The format is described in
109050 # GLIBCXX_CHECK_LINKER_FEATURES above.
109051 glibcxx_min_gnu_ld_version=21400
109053 # If no shared libgcc, can't win.
109054 if test $glibcxx_shared_libgcc != yes; then
109055 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
109056 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
109057 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
109058 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
109059 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
109060 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
109061 enable_symvers=no
109062 elif test $with_gnu_ld != yes ; then
109063 # just fail for now
109064 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
109065 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
109066 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
109067 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
109068 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
109069 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
109070 enable_symvers=no
109071 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
109072 # The right tools, the right setup, but too old. Fallbacks?
109073 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
109074 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
109075 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
109076 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
109077 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
109078 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
109079 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
109080 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
109081 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
109082 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
109083 enable_symvers=no
109087 # Everything parsed; figure out what file to use.
109088 case $enable_symvers in
109090 SYMVER_FILE=config/abi/pre/none.ver
109093 SYMVER_FILE=config/abi/pre/gnu.ver
109095 cat >>confdefs.h <<\_ACEOF
109096 #define _GLIBCXX_SYMVER_GNU 1
109097 _ACEOF
109100 gnu-versioned-namespace)
109101 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
109103 cat >>confdefs.h <<\_ACEOF
109104 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
109105 _ACEOF
109108 darwin)
109109 SYMVER_FILE=config/abi/pre/gnu.ver
109111 cat >>confdefs.h <<\_ACEOF
109112 #define _GLIBCXX_SYMVER_DARWIN 1
109113 _ACEOF
109118 if test x$enable_symvers != xno ; then
109120 cat >>confdefs.h <<\_ACEOF
109121 #define _GLIBCXX_SYMVER 1
109122 _ACEOF
109132 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
109133 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
109135 # Now, set up compatibility support, if any.
109136 # In addition, need this to deal with std::size_t mangling in
109137 # src/compatibility.cc. In a perfect world, could use
109138 # typeid(std::size_t).name()[0] to do direct substitution.
109139 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
109140 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
109141 ac_save_CFLAGS="$CFLAGS"
109142 CFLAGS="-Werror"
109143 cat >conftest.$ac_ext <<_ACEOF
109144 /* confdefs.h. */
109145 _ACEOF
109146 cat confdefs.h >>conftest.$ac_ext
109147 cat >>conftest.$ac_ext <<_ACEOF
109148 /* end confdefs.h. */
109151 main ()
109153 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
109155 return 0;
109157 _ACEOF
109158 rm -f conftest.$ac_objext
109159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109160 (eval $ac_compile) 2>conftest.er1
109161 ac_status=$?
109162 grep -v '^ *+' conftest.er1 >conftest.err
109163 rm -f conftest.er1
109164 cat conftest.err >&5
109165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109166 (exit $ac_status); } &&
109167 { ac_try='test -z "$ac_c_werror_flag"
109168 || test ! -s conftest.err'
109169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109170 (eval $ac_try) 2>&5
109171 ac_status=$?
109172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109173 (exit $ac_status); }; } &&
109174 { ac_try='test -s conftest.$ac_objext'
109175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109176 (eval $ac_try) 2>&5
109177 ac_status=$?
109178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109179 (exit $ac_status); }; }; then
109180 glibcxx_size_t_is_i=yes
109182 echo "$as_me: failed program was:" >&5
109183 sed 's/^/| /' conftest.$ac_ext >&5
109185 glibcxx_size_t_is_i=no
109187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109188 CFLAGS=$ac_save_CFLAGS
109189 if test "$glibcxx_size_t_is_i" = yes; then
109191 cat >>confdefs.h <<\_ACEOF
109192 #define _GLIBCXX_SIZE_T_IS_UINT 1
109193 _ACEOF
109196 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
109197 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
109199 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
109200 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
109201 ac_save_CFLAGS="$CFLAGS"
109202 CFLAGS="-Werror"
109203 cat >conftest.$ac_ext <<_ACEOF
109204 /* confdefs.h. */
109205 _ACEOF
109206 cat confdefs.h >>conftest.$ac_ext
109207 cat >>conftest.$ac_ext <<_ACEOF
109208 /* end confdefs.h. */
109211 main ()
109213 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
109215 return 0;
109217 _ACEOF
109218 rm -f conftest.$ac_objext
109219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109220 (eval $ac_compile) 2>conftest.er1
109221 ac_status=$?
109222 grep -v '^ *+' conftest.er1 >conftest.err
109223 rm -f conftest.er1
109224 cat conftest.err >&5
109225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109226 (exit $ac_status); } &&
109227 { ac_try='test -z "$ac_c_werror_flag"
109228 || test ! -s conftest.err'
109229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109230 (eval $ac_try) 2>&5
109231 ac_status=$?
109232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109233 (exit $ac_status); }; } &&
109234 { ac_try='test -s conftest.$ac_objext'
109235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109236 (eval $ac_try) 2>&5
109237 ac_status=$?
109238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109239 (exit $ac_status); }; }; then
109240 glibcxx_ptrdiff_t_is_i=yes
109242 echo "$as_me: failed program was:" >&5
109243 sed 's/^/| /' conftest.$ac_ext >&5
109245 glibcxx_ptrdiff_t_is_i=no
109247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109248 CFLAGS=$ac_save_CFLAGS
109249 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
109251 cat >>confdefs.h <<\_ACEOF
109252 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
109253 _ACEOF
109256 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
109257 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
109260 # Check whether --enable-visibility or --disable-visibility was given.
109261 if test "${enable_visibility+set}" = set; then
109262 enableval="$enable_visibility"
109264 case "$enableval" in
109265 yes|no) ;;
109266 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
109267 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
109268 { (exit 1); exit 1; }; } ;;
109272 enable_visibility=yes
109276 if test x$enable_visibility = xyes ; then
109277 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
109278 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
109279 if test "${have_attribute_visibility+set}" = set; then
109280 echo $ECHO_N "(cached) $ECHO_C" >&6
109283 save_CFLAGS="$CFLAGS"
109284 CFLAGS="$CFLAGS -Werror"
109285 cat >conftest.$ac_ext <<_ACEOF
109286 /* confdefs.h. */
109287 _ACEOF
109288 cat confdefs.h >>conftest.$ac_ext
109289 cat >>conftest.$ac_ext <<_ACEOF
109290 /* end confdefs.h. */
109291 void __attribute__((visibility("hidden"))) foo(void) { }
109293 main ()
109297 return 0;
109299 _ACEOF
109300 rm -f conftest.$ac_objext
109301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109302 (eval $ac_compile) 2>conftest.er1
109303 ac_status=$?
109304 grep -v '^ *+' conftest.er1 >conftest.err
109305 rm -f conftest.er1
109306 cat conftest.err >&5
109307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109308 (exit $ac_status); } &&
109309 { ac_try='test -z "$ac_c_werror_flag"
109310 || test ! -s conftest.err'
109311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109312 (eval $ac_try) 2>&5
109313 ac_status=$?
109314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109315 (exit $ac_status); }; } &&
109316 { ac_try='test -s conftest.$ac_objext'
109317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109318 (eval $ac_try) 2>&5
109319 ac_status=$?
109320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109321 (exit $ac_status); }; }; then
109322 have_attribute_visibility=yes
109324 echo "$as_me: failed program was:" >&5
109325 sed 's/^/| /' conftest.$ac_ext >&5
109327 have_attribute_visibility=no
109329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109330 CFLAGS="$save_CFLAGS"
109332 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
109333 echo "${ECHO_T}$have_attribute_visibility" >&6
109334 if test $have_attribute_visibility = no; then
109335 enable_visibility=no
109340 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
109341 echo "$as_me: visibility supported: $enable_visibility" >&6;}
109344 ac_ldbl_compat=no
109345 case "$target" in
109346 powerpc*-*-*gnu* | \
109347 sparc*-*-linux* | \
109348 s390*-*-linux* | \
109349 alpha*-*-linux*)
109350 cat >conftest.$ac_ext <<_ACEOF
109351 /* confdefs.h. */
109352 _ACEOF
109353 cat confdefs.h >>conftest.$ac_ext
109354 cat >>conftest.$ac_ext <<_ACEOF
109355 /* end confdefs.h. */
109358 main ()
109361 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
109362 #error no need for long double compatibility
109363 #endif
109366 return 0;
109368 _ACEOF
109369 rm -f conftest.$ac_objext
109370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109371 (eval $ac_compile) 2>conftest.er1
109372 ac_status=$?
109373 grep -v '^ *+' conftest.er1 >conftest.err
109374 rm -f conftest.er1
109375 cat conftest.err >&5
109376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109377 (exit $ac_status); } &&
109378 { ac_try='test -z "$ac_c_werror_flag"
109379 || test ! -s conftest.err'
109380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109381 (eval $ac_try) 2>&5
109382 ac_status=$?
109383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109384 (exit $ac_status); }; } &&
109385 { ac_try='test -s conftest.$ac_objext'
109386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109387 (eval $ac_try) 2>&5
109388 ac_status=$?
109389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109390 (exit $ac_status); }; }; then
109391 ac_ldbl_compat=yes
109393 echo "$as_me: failed program was:" >&5
109394 sed 's/^/| /' conftest.$ac_ext >&5
109396 ac_ldbl_compat=no
109398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109399 if test "$ac_ldbl_compat" = yes; then
109401 cat >>confdefs.h <<\_ACEOF
109402 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
109403 _ACEOF
109405 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
109410 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
109412 if $GLIBCXX_IS_NATIVE ; then
109413 # Do checks for resource limit functions.
109415 setrlimit_have_headers=yes
109419 for ac_header in unistd.h sys/time.h sys/resource.h
109421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109423 echo "$as_me:$LINENO: checking for $ac_header" >&5
109424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109426 echo $ECHO_N "(cached) $ECHO_C" >&6
109428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109431 # Is the header compilable?
109432 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109433 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109434 cat >conftest.$ac_ext <<_ACEOF
109435 /* confdefs.h. */
109436 _ACEOF
109437 cat confdefs.h >>conftest.$ac_ext
109438 cat >>conftest.$ac_ext <<_ACEOF
109439 /* end confdefs.h. */
109440 $ac_includes_default
109441 #include <$ac_header>
109442 _ACEOF
109443 rm -f conftest.$ac_objext
109444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109445 (eval $ac_compile) 2>conftest.er1
109446 ac_status=$?
109447 grep -v '^ *+' conftest.er1 >conftest.err
109448 rm -f conftest.er1
109449 cat conftest.err >&5
109450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109451 (exit $ac_status); } &&
109452 { ac_try='test -z "$ac_c_werror_flag"
109453 || test ! -s conftest.err'
109454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109455 (eval $ac_try) 2>&5
109456 ac_status=$?
109457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109458 (exit $ac_status); }; } &&
109459 { ac_try='test -s conftest.$ac_objext'
109460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109461 (eval $ac_try) 2>&5
109462 ac_status=$?
109463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109464 (exit $ac_status); }; }; then
109465 ac_header_compiler=yes
109467 echo "$as_me: failed program was:" >&5
109468 sed 's/^/| /' conftest.$ac_ext >&5
109470 ac_header_compiler=no
109472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109473 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109474 echo "${ECHO_T}$ac_header_compiler" >&6
109476 # Is the header present?
109477 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109478 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109479 cat >conftest.$ac_ext <<_ACEOF
109480 /* confdefs.h. */
109481 _ACEOF
109482 cat confdefs.h >>conftest.$ac_ext
109483 cat >>conftest.$ac_ext <<_ACEOF
109484 /* end confdefs.h. */
109485 #include <$ac_header>
109486 _ACEOF
109487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109488 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109489 ac_status=$?
109490 grep -v '^ *+' conftest.er1 >conftest.err
109491 rm -f conftest.er1
109492 cat conftest.err >&5
109493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109494 (exit $ac_status); } >/dev/null; then
109495 if test -s conftest.err; then
109496 ac_cpp_err=$ac_c_preproc_warn_flag
109497 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109499 ac_cpp_err=
109502 ac_cpp_err=yes
109504 if test -z "$ac_cpp_err"; then
109505 ac_header_preproc=yes
109507 echo "$as_me: failed program was:" >&5
109508 sed 's/^/| /' conftest.$ac_ext >&5
109510 ac_header_preproc=no
109512 rm -f conftest.err conftest.$ac_ext
109513 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109514 echo "${ECHO_T}$ac_header_preproc" >&6
109516 # So? What about this header?
109517 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109518 yes:no: )
109519 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109520 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109522 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109523 ac_header_preproc=yes
109525 no:yes:* )
109526 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109527 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109528 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109529 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109530 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109531 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109532 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109533 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109535 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109536 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109537 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109539 cat <<\_ASBOX
109540 ## ----------------------------------------- ##
109541 ## Report this to the package-unused lists. ##
109542 ## ----------------------------------------- ##
109543 _ASBOX
109545 sed "s/^/$as_me: WARNING: /" >&2
109548 echo "$as_me:$LINENO: checking for $ac_header" >&5
109549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109551 echo $ECHO_N "(cached) $ECHO_C" >&6
109553 eval "$as_ac_Header=\$ac_header_preproc"
109555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109560 cat >>confdefs.h <<_ACEOF
109561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109562 _ACEOF
109565 setrlimit_have_headers=no
109570 # If don't have the headers, then we can't run the tests now, and we
109571 # won't be seeing any of these during testsuite compilation.
109572 if test $setrlimit_have_headers = yes; then
109573 # Can't do these in a loop, else the resulting syntax is wrong.
109575 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
109576 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
109577 cat >conftest.$ac_ext <<_ACEOF
109578 /* confdefs.h. */
109579 _ACEOF
109580 cat confdefs.h >>conftest.$ac_ext
109581 cat >>conftest.$ac_ext <<_ACEOF
109582 /* end confdefs.h. */
109583 #include <unistd.h>
109584 #include <sys/time.h>
109585 #include <sys/resource.h>
109588 main ()
109590 int f = RLIMIT_DATA ;
109592 return 0;
109594 _ACEOF
109595 rm -f conftest.$ac_objext
109596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109597 (eval $ac_compile) 2>conftest.er1
109598 ac_status=$?
109599 grep -v '^ *+' conftest.er1 >conftest.err
109600 rm -f conftest.er1
109601 cat conftest.err >&5
109602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109603 (exit $ac_status); } &&
109604 { ac_try='test -z "$ac_c_werror_flag"
109605 || test ! -s conftest.err'
109606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109607 (eval $ac_try) 2>&5
109608 ac_status=$?
109609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109610 (exit $ac_status); }; } &&
109611 { ac_try='test -s conftest.$ac_objext'
109612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109613 (eval $ac_try) 2>&5
109614 ac_status=$?
109615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109616 (exit $ac_status); }; }; then
109617 glibcxx_mresult=1
109619 echo "$as_me: failed program was:" >&5
109620 sed 's/^/| /' conftest.$ac_ext >&5
109622 glibcxx_mresult=0
109624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109626 cat >>confdefs.h <<_ACEOF
109627 #define HAVE_LIMIT_DATA $glibcxx_mresult
109628 _ACEOF
109630 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109631 echo "$as_me:$LINENO: result: $res" >&5
109632 echo "${ECHO_T}$res" >&6
109635 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
109636 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
109637 cat >conftest.$ac_ext <<_ACEOF
109638 /* confdefs.h. */
109639 _ACEOF
109640 cat confdefs.h >>conftest.$ac_ext
109641 cat >>conftest.$ac_ext <<_ACEOF
109642 /* end confdefs.h. */
109643 #include <unistd.h>
109644 #include <sys/time.h>
109645 #include <sys/resource.h>
109648 main ()
109650 int f = RLIMIT_RSS ;
109652 return 0;
109654 _ACEOF
109655 rm -f conftest.$ac_objext
109656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109657 (eval $ac_compile) 2>conftest.er1
109658 ac_status=$?
109659 grep -v '^ *+' conftest.er1 >conftest.err
109660 rm -f conftest.er1
109661 cat conftest.err >&5
109662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109663 (exit $ac_status); } &&
109664 { ac_try='test -z "$ac_c_werror_flag"
109665 || test ! -s conftest.err'
109666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109667 (eval $ac_try) 2>&5
109668 ac_status=$?
109669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109670 (exit $ac_status); }; } &&
109671 { ac_try='test -s conftest.$ac_objext'
109672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109673 (eval $ac_try) 2>&5
109674 ac_status=$?
109675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109676 (exit $ac_status); }; }; then
109677 glibcxx_mresult=1
109679 echo "$as_me: failed program was:" >&5
109680 sed 's/^/| /' conftest.$ac_ext >&5
109682 glibcxx_mresult=0
109684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109686 cat >>confdefs.h <<_ACEOF
109687 #define HAVE_LIMIT_RSS $glibcxx_mresult
109688 _ACEOF
109690 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109691 echo "$as_me:$LINENO: result: $res" >&5
109692 echo "${ECHO_T}$res" >&6
109695 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
109696 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
109697 cat >conftest.$ac_ext <<_ACEOF
109698 /* confdefs.h. */
109699 _ACEOF
109700 cat confdefs.h >>conftest.$ac_ext
109701 cat >>conftest.$ac_ext <<_ACEOF
109702 /* end confdefs.h. */
109703 #include <unistd.h>
109704 #include <sys/time.h>
109705 #include <sys/resource.h>
109708 main ()
109710 int f = RLIMIT_VMEM ;
109712 return 0;
109714 _ACEOF
109715 rm -f conftest.$ac_objext
109716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109717 (eval $ac_compile) 2>conftest.er1
109718 ac_status=$?
109719 grep -v '^ *+' conftest.er1 >conftest.err
109720 rm -f conftest.er1
109721 cat conftest.err >&5
109722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109723 (exit $ac_status); } &&
109724 { ac_try='test -z "$ac_c_werror_flag"
109725 || test ! -s conftest.err'
109726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109727 (eval $ac_try) 2>&5
109728 ac_status=$?
109729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109730 (exit $ac_status); }; } &&
109731 { ac_try='test -s conftest.$ac_objext'
109732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109733 (eval $ac_try) 2>&5
109734 ac_status=$?
109735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109736 (exit $ac_status); }; }; then
109737 glibcxx_mresult=1
109739 echo "$as_me: failed program was:" >&5
109740 sed 's/^/| /' conftest.$ac_ext >&5
109742 glibcxx_mresult=0
109744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109746 cat >>confdefs.h <<_ACEOF
109747 #define HAVE_LIMIT_VMEM $glibcxx_mresult
109748 _ACEOF
109750 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109751 echo "$as_me:$LINENO: result: $res" >&5
109752 echo "${ECHO_T}$res" >&6
109755 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
109756 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
109757 cat >conftest.$ac_ext <<_ACEOF
109758 /* confdefs.h. */
109759 _ACEOF
109760 cat confdefs.h >>conftest.$ac_ext
109761 cat >>conftest.$ac_ext <<_ACEOF
109762 /* end confdefs.h. */
109763 #include <unistd.h>
109764 #include <sys/time.h>
109765 #include <sys/resource.h>
109768 main ()
109770 int f = RLIMIT_AS ;
109772 return 0;
109774 _ACEOF
109775 rm -f conftest.$ac_objext
109776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109777 (eval $ac_compile) 2>conftest.er1
109778 ac_status=$?
109779 grep -v '^ *+' conftest.er1 >conftest.err
109780 rm -f conftest.er1
109781 cat conftest.err >&5
109782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109783 (exit $ac_status); } &&
109784 { ac_try='test -z "$ac_c_werror_flag"
109785 || test ! -s conftest.err'
109786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109787 (eval $ac_try) 2>&5
109788 ac_status=$?
109789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109790 (exit $ac_status); }; } &&
109791 { ac_try='test -s conftest.$ac_objext'
109792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109793 (eval $ac_try) 2>&5
109794 ac_status=$?
109795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109796 (exit $ac_status); }; }; then
109797 glibcxx_mresult=1
109799 echo "$as_me: failed program was:" >&5
109800 sed 's/^/| /' conftest.$ac_ext >&5
109802 glibcxx_mresult=0
109804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109806 cat >>confdefs.h <<_ACEOF
109807 #define HAVE_LIMIT_AS $glibcxx_mresult
109808 _ACEOF
109810 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109811 echo "$as_me:$LINENO: result: $res" >&5
109812 echo "${ECHO_T}$res" >&6
109815 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
109816 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
109817 cat >conftest.$ac_ext <<_ACEOF
109818 /* confdefs.h. */
109819 _ACEOF
109820 cat confdefs.h >>conftest.$ac_ext
109821 cat >>conftest.$ac_ext <<_ACEOF
109822 /* end confdefs.h. */
109823 #include <unistd.h>
109824 #include <sys/time.h>
109825 #include <sys/resource.h>
109828 main ()
109830 int f = RLIMIT_FSIZE ;
109832 return 0;
109834 _ACEOF
109835 rm -f conftest.$ac_objext
109836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109837 (eval $ac_compile) 2>conftest.er1
109838 ac_status=$?
109839 grep -v '^ *+' conftest.er1 >conftest.err
109840 rm -f conftest.er1
109841 cat conftest.err >&5
109842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109843 (exit $ac_status); } &&
109844 { ac_try='test -z "$ac_c_werror_flag"
109845 || test ! -s conftest.err'
109846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109847 (eval $ac_try) 2>&5
109848 ac_status=$?
109849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109850 (exit $ac_status); }; } &&
109851 { ac_try='test -s conftest.$ac_objext'
109852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109853 (eval $ac_try) 2>&5
109854 ac_status=$?
109855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109856 (exit $ac_status); }; }; then
109857 glibcxx_mresult=1
109859 echo "$as_me: failed program was:" >&5
109860 sed 's/^/| /' conftest.$ac_ext >&5
109862 glibcxx_mresult=0
109864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109866 cat >>confdefs.h <<_ACEOF
109867 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
109868 _ACEOF
109870 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109871 echo "$as_me:$LINENO: result: $res" >&5
109872 echo "${ECHO_T}$res" >&6
109875 # Check for rlimit, setrlimit.
109876 if test "${ac_setrlimit+set}" = set; then
109877 echo $ECHO_N "(cached) $ECHO_C" >&6
109880 cat >conftest.$ac_ext <<_ACEOF
109881 /* confdefs.h. */
109882 _ACEOF
109883 cat confdefs.h >>conftest.$ac_ext
109884 cat >>conftest.$ac_ext <<_ACEOF
109885 /* end confdefs.h. */
109886 #include <unistd.h>
109887 #include <sys/time.h>
109888 #include <sys/resource.h>
109891 main ()
109893 struct rlimit r;
109894 setrlimit(0, &r);
109896 return 0;
109898 _ACEOF
109899 rm -f conftest.$ac_objext
109900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109901 (eval $ac_compile) 2>conftest.er1
109902 ac_status=$?
109903 grep -v '^ *+' conftest.er1 >conftest.err
109904 rm -f conftest.er1
109905 cat conftest.err >&5
109906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109907 (exit $ac_status); } &&
109908 { ac_try='test -z "$ac_c_werror_flag"
109909 || test ! -s conftest.err'
109910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109911 (eval $ac_try) 2>&5
109912 ac_status=$?
109913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109914 (exit $ac_status); }; } &&
109915 { ac_try='test -s conftest.$ac_objext'
109916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109917 (eval $ac_try) 2>&5
109918 ac_status=$?
109919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109920 (exit $ac_status); }; }; then
109921 ac_setrlimit=yes
109923 echo "$as_me: failed program was:" >&5
109924 sed 's/^/| /' conftest.$ac_ext >&5
109926 ac_setrlimit=no
109928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109934 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
109935 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
109936 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
109937 ac_res_limits=yes
109939 cat >>confdefs.h <<\_ACEOF
109940 #define _GLIBCXX_RES_LIMITS 1
109941 _ACEOF
109944 ac_res_limits=no
109946 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
109947 echo "${ECHO_T}$ac_res_limits" >&6
109950 # Look for setenv, so that extended locale tests can be performed.
109952 echo "$as_me:$LINENO: checking for setenv declaration" >&5
109953 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
109954 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
109955 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
109956 echo $ECHO_N "(cached) $ECHO_C" >&6
109961 ac_ext=cc
109962 ac_cpp='$CXXCPP $CPPFLAGS'
109963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109967 cat >conftest.$ac_ext <<_ACEOF
109968 /* confdefs.h. */
109969 _ACEOF
109970 cat confdefs.h >>conftest.$ac_ext
109971 cat >>conftest.$ac_ext <<_ACEOF
109972 /* end confdefs.h. */
109973 #include <stdlib.h>
109975 main ()
109977 setenv(0, 0, 0);
109979 return 0;
109981 _ACEOF
109982 rm -f conftest.$ac_objext
109983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109984 (eval $ac_compile) 2>conftest.er1
109985 ac_status=$?
109986 grep -v '^ *+' conftest.er1 >conftest.err
109987 rm -f conftest.er1
109988 cat conftest.err >&5
109989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109990 (exit $ac_status); } &&
109991 { ac_try='test -z "$ac_cxx_werror_flag"
109992 || test ! -s conftest.err'
109993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109994 (eval $ac_try) 2>&5
109995 ac_status=$?
109996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109997 (exit $ac_status); }; } &&
109998 { ac_try='test -s conftest.$ac_objext'
109999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110000 (eval $ac_try) 2>&5
110001 ac_status=$?
110002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110003 (exit $ac_status); }; }; then
110004 glibcxx_cv_func_setenv_use=yes
110006 echo "$as_me: failed program was:" >&5
110007 sed 's/^/| /' conftest.$ac_ext >&5
110009 glibcxx_cv_func_setenv_use=no
110011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110012 ac_ext=c
110013 ac_cpp='$CPP $CPPFLAGS'
110014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110022 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
110023 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
110024 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
110026 for ac_func in setenv
110028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110029 echo "$as_me:$LINENO: checking for $ac_func" >&5
110030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110031 if eval "test \"\${$as_ac_var+set}\" = set"; then
110032 echo $ECHO_N "(cached) $ECHO_C" >&6
110034 if test x$gcc_no_link = xyes; then
110035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110037 { (exit 1); exit 1; }; }
110039 cat >conftest.$ac_ext <<_ACEOF
110040 /* confdefs.h. */
110041 _ACEOF
110042 cat confdefs.h >>conftest.$ac_ext
110043 cat >>conftest.$ac_ext <<_ACEOF
110044 /* end confdefs.h. */
110045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110047 #define $ac_func innocuous_$ac_func
110049 /* System header to define __stub macros and hopefully few prototypes,
110050 which can conflict with char $ac_func (); below.
110051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110052 <limits.h> exists even on freestanding compilers. */
110054 #ifdef __STDC__
110055 # include <limits.h>
110056 #else
110057 # include <assert.h>
110058 #endif
110060 #undef $ac_func
110062 /* Override any gcc2 internal prototype to avoid an error. */
110063 #ifdef __cplusplus
110064 extern "C"
110066 #endif
110067 /* We use char because int might match the return type of a gcc2
110068 builtin and then its argument prototype would still apply. */
110069 char $ac_func ();
110070 /* The GNU C library defines this for functions which it implements
110071 to always fail with ENOSYS. Some functions are actually named
110072 something starting with __ and the normal name is an alias. */
110073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110074 choke me
110075 #else
110076 char (*f) () = $ac_func;
110077 #endif
110078 #ifdef __cplusplus
110080 #endif
110083 main ()
110085 return f != $ac_func;
110087 return 0;
110089 _ACEOF
110090 rm -f conftest.$ac_objext conftest$ac_exeext
110091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110092 (eval $ac_link) 2>conftest.er1
110093 ac_status=$?
110094 grep -v '^ *+' conftest.er1 >conftest.err
110095 rm -f conftest.er1
110096 cat conftest.err >&5
110097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110098 (exit $ac_status); } &&
110099 { ac_try='test -z "$ac_c_werror_flag"
110100 || test ! -s conftest.err'
110101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110102 (eval $ac_try) 2>&5
110103 ac_status=$?
110104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110105 (exit $ac_status); }; } &&
110106 { ac_try='test -s conftest$ac_exeext'
110107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110108 (eval $ac_try) 2>&5
110109 ac_status=$?
110110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110111 (exit $ac_status); }; }; then
110112 eval "$as_ac_var=yes"
110114 echo "$as_me: failed program was:" >&5
110115 sed 's/^/| /' conftest.$ac_ext >&5
110117 eval "$as_ac_var=no"
110119 rm -f conftest.err conftest.$ac_objext \
110120 conftest$ac_exeext conftest.$ac_ext
110122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110124 if test `eval echo '${'$as_ac_var'}'` = yes; then
110125 cat >>confdefs.h <<_ACEOF
110126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110127 _ACEOF
110136 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
110137 test $enable_symvers != no; then
110138 case "$host" in
110139 *-*-cygwin*)
110140 enable_abi_check=no ;;
110142 enable_abi_check=yes ;;
110145 # Only build this as native, since automake does not understand
110146 # CXX_FOR_BUILD.
110147 enable_abi_check=no
110150 # Export file names for ABI checking.
110151 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
110155 # Propagate the target-specific source directories through the build chain.
110156 ATOMICITY_SRCDIR=config/${atomicity_dir}
110157 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
110158 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
110159 OS_INC_SRCDIR=config/${os_include_dir}
110160 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
110168 # Determine cross-compile flags and AM_CONDITIONALs.
110169 #AC_SUBST(GLIBCXX_IS_NATIVE)
110170 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
110171 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
110172 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
110175 if test $is_hosted = yes; then
110176 GLIBCXX_HOSTED_TRUE=
110177 GLIBCXX_HOSTED_FALSE='#'
110179 GLIBCXX_HOSTED_TRUE='#'
110180 GLIBCXX_HOSTED_FALSE=
110186 if test $enable_libstdcxx_pch = yes; then
110187 GLIBCXX_BUILD_PCH_TRUE=
110188 GLIBCXX_BUILD_PCH_FALSE='#'
110190 GLIBCXX_BUILD_PCH_TRUE='#'
110191 GLIBCXX_BUILD_PCH_FALSE=
110197 if test $enable_cheaders = c; then
110198 GLIBCXX_C_HEADERS_C_TRUE=
110199 GLIBCXX_C_HEADERS_C_FALSE='#'
110201 GLIBCXX_C_HEADERS_C_TRUE='#'
110202 GLIBCXX_C_HEADERS_C_FALSE=
110208 if test $enable_cheaders = c_std; then
110209 GLIBCXX_C_HEADERS_C_STD_TRUE=
110210 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
110212 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
110213 GLIBCXX_C_HEADERS_C_STD_FALSE=
110219 if test $c_compatibility = yes; then
110220 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
110221 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
110223 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
110224 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
110230 if test $enable_libstdcxx_debug = yes; then
110231 GLIBCXX_BUILD_DEBUG_TRUE=
110232 GLIBCXX_BUILD_DEBUG_FALSE='#'
110234 GLIBCXX_BUILD_DEBUG_TRUE='#'
110235 GLIBCXX_BUILD_DEBUG_FALSE=
110241 if test $enable_symvers != no; then
110242 ENABLE_SYMVERS_TRUE=
110243 ENABLE_SYMVERS_FALSE='#'
110245 ENABLE_SYMVERS_TRUE='#'
110246 ENABLE_SYMVERS_FALSE=
110252 if test $enable_symvers = gnu; then
110253 ENABLE_SYMVERS_GNU_TRUE=
110254 ENABLE_SYMVERS_GNU_FALSE='#'
110256 ENABLE_SYMVERS_GNU_TRUE='#'
110257 ENABLE_SYMVERS_GNU_FALSE=
110263 if test $enable_symvers = gnu-versioned-namespace; then
110264 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
110265 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
110267 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
110268 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
110274 if test $enable_symvers = darwin; then
110275 ENABLE_SYMVERS_DARWIN_TRUE=
110276 ENABLE_SYMVERS_DARWIN_FALSE='#'
110278 ENABLE_SYMVERS_DARWIN_TRUE='#'
110279 ENABLE_SYMVERS_DARWIN_FALSE=
110285 if test $enable_visibility = yes; then
110286 ENABLE_VISIBILITY_TRUE=
110287 ENABLE_VISIBILITY_FALSE='#'
110289 ENABLE_VISIBILITY_TRUE='#'
110290 ENABLE_VISIBILITY_FALSE=
110296 if test $ac_ldbl_compat = yes; then
110297 GLIBCXX_LDBL_COMPAT_TRUE=
110298 GLIBCXX_LDBL_COMPAT_FALSE='#'
110300 GLIBCXX_LDBL_COMPAT_TRUE='#'
110301 GLIBCXX_LDBL_COMPAT_FALSE=
110307 cat >confcache <<\_ACEOF
110308 # This file is a shell script that caches the results of configure
110309 # tests run on this system so they can be shared between configure
110310 # scripts and configure runs, see configure's option --config-cache.
110311 # It is not useful on other systems. If it contains results you don't
110312 # want to keep, you may remove or edit it.
110314 # config.status only pays attention to the cache file if you give it
110315 # the --recheck option to rerun configure.
110317 # `ac_cv_env_foo' variables (set or unset) will be overridden when
110318 # loading this file, other *unset* `ac_cv_foo' will be assigned the
110319 # following values.
110321 _ACEOF
110323 # The following way of writing the cache mishandles newlines in values,
110324 # but we know of no workaround that is simple, portable, and efficient.
110325 # So, don't put newlines in cache variables' values.
110326 # Ultrix sh set writes to stderr and can't be redirected directly,
110327 # and sets the high bit in the cache file unless we assign to the vars.
110329 (set) 2>&1 |
110330 case `(ac_space=' '; set | grep ac_space) 2>&1` in
110331 *ac_space=\ *)
110332 # `set' does not quote correctly, so add quotes (double-quote
110333 # substitution turns \\\\ into \\, and sed turns \\ into \).
110334 sed -n \
110335 "s/'/'\\\\''/g;
110336 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110339 # `set' quotes correctly as required by POSIX, so do not add quotes.
110340 sed -n \
110341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110343 esac;
110345 sed '
110346 t clear
110347 : clear
110348 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110349 t end
110350 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110351 : end' >>confcache
110352 if diff $cache_file confcache >/dev/null 2>&1; then :; else
110353 if test -w $cache_file; then
110354 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110355 cat confcache >$cache_file
110357 echo "not updating unwritable cache $cache_file"
110360 rm -f confcache
110362 if test ${multilib} = yes; then
110363 multilib_arg="--enable-multilib"
110365 multilib_arg=
110368 # Export all the install information.
110370 glibcxx_toolexecdir=no
110371 glibcxx_toolexeclibdir=no
110372 glibcxx_prefixdir=$prefix
110374 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
110375 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
110377 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
110378 if test "${with_gxx_include_dir+set}" = set; then
110379 withval="$with_gxx_include_dir"
110380 case "$withval" in
110381 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
110382 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
110383 { (exit 1); exit 1; }; } ;;
110384 no) gxx_include_dir=no ;;
110385 *) gxx_include_dir=$withval ;;
110388 gxx_include_dir=no
110390 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110391 echo "${ECHO_T}$gxx_include_dir" >&6
110393 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
110394 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
110395 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
110396 if test "${enable_version_specific_runtime_libs+set}" = set; then
110397 enableval="$enable_version_specific_runtime_libs"
110398 case "$enableval" in
110399 yes) version_specific_libs=yes ;;
110400 no) version_specific_libs=no ;;
110401 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
110402 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
110403 { (exit 1); exit 1; }; };;
110406 version_specific_libs=no
110408 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
110409 echo "${ECHO_T}$version_specific_libs" >&6
110411 # Default case for install directory for include files.
110412 if test $version_specific_libs = no && test $gxx_include_dir = no; then
110413 gxx_include_dir='include/c++/${gcc_version}'
110414 if test -n "$with_cross_host" &&
110415 test x"$with_cross_host" != x"no"; then
110416 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
110418 gxx_include_dir='${prefix}/'"$gxx_include_dir"
110422 # Version-specific runtime libs processing.
110423 if test $version_specific_libs = yes; then
110424 # Need the gcc compiler version to know where to install libraries
110425 # and header files if --enable-version-specific-runtime-libs option
110426 # is selected. FIXME: these variables are misnamed, there are
110427 # no executables installed in _toolexecdir or _toolexeclibdir.
110428 if test x"$gxx_include_dir" = x"no"; then
110429 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
110431 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110432 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
110435 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
110436 # Install a library built with a cross compiler in tooldir, not libdir.
110437 if test x"$glibcxx_toolexecdir" = x"no"; then
110438 if test -n "$with_cross_host" &&
110439 test x"$with_cross_host" != x"no"; then
110440 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
110441 glibcxx_toolexeclibdir='${toolexecdir}/lib'
110443 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110444 glibcxx_toolexeclibdir='${libdir}'
110446 multi_os_directory=`$CXX -print-multi-os-directory`
110447 case $multi_os_directory in
110448 .) ;; # Avoid trailing /.
110449 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
110453 echo "$as_me:$LINENO: checking for install location" >&5
110454 echo $ECHO_N "checking for install location... $ECHO_C" >&6
110455 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110456 echo "${ECHO_T}$gxx_include_dir" >&6
110464 # Export all the include and flag information to Makefiles.
110466 # Used for every C++ compile we perform.
110467 GLIBCXX_INCLUDES="\
110468 -I$glibcxx_builddir/include/$host_alias \
110469 -I$glibcxx_builddir/include \
110470 -I$glibcxx_srcdir/libsupc++"
110472 # For Canadian crosses, pick this up too.
110473 if test $CANADIAN = yes; then
110474 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
110477 # Stuff in the actual top level. Currently only used by libsupc++ to
110478 # get unwind* headers from the gcc dir.
110479 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
110480 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
110482 # Now, export this to all the little Makefiles....
110487 # Optimization flags that are probably a good idea for thrill-seekers. Just
110488 # uncomment the lines below and make, everything else is ready to go...
110489 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
110490 OPTIMIZE_CXXFLAGS=
110493 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
110497 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
110498 grep "enable shared" > /dev/null;
110500 LIBSUPCXX_PICFLAGS=-prefer-pic
110502 LIBSUPCXX_PICFLAGS=
110506 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
110508 ac_config_files="$ac_config_files scripts/testsuite_flags"
110511 ac_config_commands="$ac_config_commands default"
110514 cat >confcache <<\_ACEOF
110515 # This file is a shell script that caches the results of configure
110516 # tests run on this system so they can be shared between configure
110517 # scripts and configure runs, see configure's option --config-cache.
110518 # It is not useful on other systems. If it contains results you don't
110519 # want to keep, you may remove or edit it.
110521 # config.status only pays attention to the cache file if you give it
110522 # the --recheck option to rerun configure.
110524 # `ac_cv_env_foo' variables (set or unset) will be overridden when
110525 # loading this file, other *unset* `ac_cv_foo' will be assigned the
110526 # following values.
110528 _ACEOF
110530 # The following way of writing the cache mishandles newlines in values,
110531 # but we know of no workaround that is simple, portable, and efficient.
110532 # So, don't put newlines in cache variables' values.
110533 # Ultrix sh set writes to stderr and can't be redirected directly,
110534 # and sets the high bit in the cache file unless we assign to the vars.
110536 (set) 2>&1 |
110537 case `(ac_space=' '; set | grep ac_space) 2>&1` in
110538 *ac_space=\ *)
110539 # `set' does not quote correctly, so add quotes (double-quote
110540 # substitution turns \\\\ into \\, and sed turns \\ into \).
110541 sed -n \
110542 "s/'/'\\\\''/g;
110543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110546 # `set' quotes correctly as required by POSIX, so do not add quotes.
110547 sed -n \
110548 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110550 esac;
110552 sed '
110553 t clear
110554 : clear
110555 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110556 t end
110557 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110558 : end' >>confcache
110559 if diff $cache_file confcache >/dev/null 2>&1; then :; else
110560 if test -w $cache_file; then
110561 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110562 cat confcache >$cache_file
110564 echo "not updating unwritable cache $cache_file"
110567 rm -f confcache
110569 test "x$prefix" = xNONE && prefix=$ac_default_prefix
110570 # Let make expand exec_prefix.
110571 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
110573 # VPATH may cause trouble with some makes, so we remove $(srcdir),
110574 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
110575 # trailing colons and then remove the whole line if VPATH becomes empty
110576 # (actually we leave an empty line to preserve line numbers).
110577 if test "x$srcdir" = x.; then
110578 ac_vpsub='/^[ ]*VPATH[ ]*=/{
110579 s/:*\$(srcdir):*/:/;
110580 s/:*\${srcdir}:*/:/;
110581 s/:*@srcdir@:*/:/;
110582 s/^\([^=]*=[ ]*\):*/\1/;
110583 s/:*$//;
110584 s/^[^=]*=[ ]*$//;
110588 DEFS=-DHAVE_CONFIG_H
110590 ac_libobjs=
110591 ac_ltlibobjs=
110592 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
110593 # 1. Remove the extension, and $U if already installed.
110594 ac_i=`echo "$ac_i" |
110595 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
110596 # 2. Add them.
110597 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
110598 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
110600 LIBOBJS=$ac_libobjs
110602 LTLIBOBJS=$ac_ltlibobjs
110605 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
110606 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
110607 Usually this means the macro was only invoked conditionally." >&5
110608 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
110609 Usually this means the macro was only invoked conditionally." >&2;}
110610 { (exit 1); exit 1; }; }
110612 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
110613 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110614 Usually this means the macro was only invoked conditionally." >&5
110615 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110616 Usually this means the macro was only invoked conditionally." >&2;}
110617 { (exit 1); exit 1; }; }
110619 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
110620 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110621 Usually this means the macro was only invoked conditionally." >&5
110622 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110623 Usually this means the macro was only invoked conditionally." >&2;}
110624 { (exit 1); exit 1; }; }
110626 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
110627 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110628 Usually this means the macro was only invoked conditionally." >&5
110629 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110630 Usually this means the macro was only invoked conditionally." >&2;}
110631 { (exit 1); exit 1; }; }
110633 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
110634 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110635 Usually this means the macro was only invoked conditionally." >&5
110636 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110637 Usually this means the macro was only invoked conditionally." >&2;}
110638 { (exit 1); exit 1; }; }
110640 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
110641 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110642 Usually this means the macro was only invoked conditionally." >&5
110643 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110644 Usually this means the macro was only invoked conditionally." >&2;}
110645 { (exit 1); exit 1; }; }
110647 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
110648 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110649 Usually this means the macro was only invoked conditionally." >&5
110650 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110651 Usually this means the macro was only invoked conditionally." >&2;}
110652 { (exit 1); exit 1; }; }
110654 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
110655 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
110656 Usually this means the macro was only invoked conditionally." >&5
110657 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
110658 Usually this means the macro was only invoked conditionally." >&2;}
110659 { (exit 1); exit 1; }; }
110661 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
110662 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110663 Usually this means the macro was only invoked conditionally." >&5
110664 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110665 Usually this means the macro was only invoked conditionally." >&2;}
110666 { (exit 1); exit 1; }; }
110668 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
110669 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110670 Usually this means the macro was only invoked conditionally." >&5
110671 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110672 Usually this means the macro was only invoked conditionally." >&2;}
110673 { (exit 1); exit 1; }; }
110675 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
110676 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110677 Usually this means the macro was only invoked conditionally." >&5
110678 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110679 Usually this means the macro was only invoked conditionally." >&2;}
110680 { (exit 1); exit 1; }; }
110682 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
110683 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110684 Usually this means the macro was only invoked conditionally." >&5
110685 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110686 Usually this means the macro was only invoked conditionally." >&2;}
110687 { (exit 1); exit 1; }; }
110689 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
110690 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110691 Usually this means the macro was only invoked conditionally." >&5
110692 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110693 Usually this means the macro was only invoked conditionally." >&2;}
110694 { (exit 1); exit 1; }; }
110697 : ${CONFIG_STATUS=./config.status}
110698 ac_clean_files_save=$ac_clean_files
110699 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
110700 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
110701 echo "$as_me: creating $CONFIG_STATUS" >&6;}
110702 cat >$CONFIG_STATUS <<_ACEOF
110703 #! $SHELL
110704 # Generated by $as_me.
110705 # Run this file to recreate the current configuration.
110706 # Compiler output produced by configure, useful for debugging
110707 # configure, is in config.log if it exists.
110709 debug=false
110710 ac_cs_recheck=false
110711 ac_cs_silent=false
110712 SHELL=\${CONFIG_SHELL-$SHELL}
110713 _ACEOF
110715 cat >>$CONFIG_STATUS <<\_ACEOF
110716 ## --------------------- ##
110717 ## M4sh Initialization. ##
110718 ## --------------------- ##
110720 # Be Bourne compatible
110721 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
110722 emulate sh
110723 NULLCMD=:
110724 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
110725 # is contrary to our usage. Disable this feature.
110726 alias -g '${1+"$@"}'='"$@"'
110727 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
110728 set -o posix
110730 DUALCASE=1; export DUALCASE # for MKS sh
110732 # Support unset when possible.
110733 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
110734 as_unset=unset
110736 as_unset=false
110740 # Work around bugs in pre-3.0 UWIN ksh.
110741 $as_unset ENV MAIL MAILPATH
110742 PS1='$ '
110743 PS2='> '
110744 PS4='+ '
110746 # NLS nuisances.
110747 for as_var in \
110748 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
110749 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110750 LC_TELEPHONE LC_TIME
110752 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110753 eval $as_var=C; export $as_var
110755 $as_unset $as_var
110759 # Required to use basename.
110760 if expr a : '\(a\)' >/dev/null 2>&1; then
110761 as_expr=expr
110763 as_expr=false
110766 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
110767 as_basename=basename
110769 as_basename=false
110773 # Name of the executable.
110774 as_me=`$as_basename "$0" ||
110775 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
110776 X"$0" : 'X\(//\)$' \| \
110777 X"$0" : 'X\(/\)$' \| \
110778 . : '\(.\)' 2>/dev/null ||
110779 echo X/"$0" |
110780 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
110781 /^X\/\(\/\/\)$/{ s//\1/; q; }
110782 /^X\/\(\/\).*/{ s//\1/; q; }
110783 s/.*/./; q'`
110786 # PATH needs CR, and LINENO needs CR and PATH.
110787 # Avoid depending upon Character Ranges.
110788 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
110789 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
110790 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
110791 as_cr_digits='0123456789'
110792 as_cr_alnum=$as_cr_Letters$as_cr_digits
110794 # The user is always right.
110795 if test "${PATH_SEPARATOR+set}" != set; then
110796 echo "#! /bin/sh" >conf$$.sh
110797 echo "exit 0" >>conf$$.sh
110798 chmod +x conf$$.sh
110799 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
110800 PATH_SEPARATOR=';'
110802 PATH_SEPARATOR=:
110804 rm -f conf$$.sh
110808 as_lineno_1=$LINENO
110809 as_lineno_2=$LINENO
110810 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110811 test "x$as_lineno_1" != "x$as_lineno_2" &&
110812 test "x$as_lineno_3" = "x$as_lineno_2" || {
110813 # Find who we are. Look in the path if we contain no path at all
110814 # relative or not.
110815 case $0 in
110816 *[\\/]* ) as_myself=$0 ;;
110817 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110818 for as_dir in $PATH
110820 IFS=$as_save_IFS
110821 test -z "$as_dir" && as_dir=.
110822 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110827 # We did not find ourselves, most probably we were run as `sh COMMAND'
110828 # in which case we are not to be found in the path.
110829 if test "x$as_myself" = x; then
110830 as_myself=$0
110832 if test ! -f "$as_myself"; then
110833 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
110834 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
110835 { (exit 1); exit 1; }; }
110837 case $CONFIG_SHELL in
110839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110840 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
110842 IFS=$as_save_IFS
110843 test -z "$as_dir" && as_dir=.
110844 for as_base in sh bash ksh sh5; do
110845 case $as_dir in
110847 if ("$as_dir/$as_base" -c '
110848 as_lineno_1=$LINENO
110849 as_lineno_2=$LINENO
110850 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110851 test "x$as_lineno_1" != "x$as_lineno_2" &&
110852 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
110853 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
110854 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
110855 CONFIG_SHELL=$as_dir/$as_base
110856 export CONFIG_SHELL
110857 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
110865 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
110866 # uniformly replaced by the line number. The first 'sed' inserts a
110867 # line-number line before each line; the second 'sed' does the real
110868 # work. The second script uses 'N' to pair each line-number line
110869 # with the numbered line, and appends trailing '-' during
110870 # substitution so that $LINENO is not a special case at line end.
110871 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
110872 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
110873 sed '=' <$as_myself |
110874 sed '
110876 s,$,-,
110877 : loop
110878 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
110879 t loop
110880 s,-$,,
110881 s,^['$as_cr_digits']*\n,,
110882 ' >$as_me.lineno &&
110883 chmod +x $as_me.lineno ||
110884 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
110885 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
110886 { (exit 1); exit 1; }; }
110888 # Don't try to exec as it changes $[0], causing all sort of problems
110889 # (the dirname of $[0] is not the place where we might find the
110890 # original and so on. Autoconf is especially sensible to this).
110891 . ./$as_me.lineno
110892 # Exit status is that of the last command.
110897 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
110898 *c*,-n*) ECHO_N= ECHO_C='
110899 ' ECHO_T=' ' ;;
110900 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
110901 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
110904 if expr a : '\(a\)' >/dev/null 2>&1; then
110905 as_expr=expr
110907 as_expr=false
110910 rm -f conf$$ conf$$.exe conf$$.file
110911 echo >conf$$.file
110912 if ln -s conf$$.file conf$$ 2>/dev/null; then
110913 # We could just check for DJGPP; but this test a) works b) is more generic
110914 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
110915 if test -f conf$$.exe; then
110916 # Don't use ln at all; we don't have any links
110917 as_ln_s='cp -p'
110919 as_ln_s='ln -s'
110921 elif ln conf$$.file conf$$ 2>/dev/null; then
110922 as_ln_s=ln
110924 as_ln_s='cp -p'
110926 rm -f conf$$ conf$$.exe conf$$.file
110928 if mkdir -p . 2>/dev/null; then
110929 as_mkdir_p=:
110931 test -d ./-p && rmdir ./-p
110932 as_mkdir_p=false
110935 as_executable_p="test -f"
110937 # Sed expression to map a string onto a valid CPP name.
110938 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
110940 # Sed expression to map a string onto a valid variable name.
110941 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
110944 # IFS
110945 # We need space, tab and new line, in precisely that order.
110946 as_nl='
110948 IFS=" $as_nl"
110950 # CDPATH.
110951 $as_unset CDPATH
110953 exec 6>&1
110955 # Open the log real soon, to keep \$[0] and so on meaningful, and to
110956 # report actual input values of CONFIG_FILES etc. instead of their
110957 # values after options handling. Logging --version etc. is OK.
110958 exec 5>>config.log
110961 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
110962 ## Running $as_me. ##
110963 _ASBOX
110964 } >&5
110965 cat >&5 <<_CSEOF
110967 This file was extended by package-unused $as_me version-unused, which was
110968 generated by GNU Autoconf 2.59. Invocation command line was
110970 CONFIG_FILES = $CONFIG_FILES
110971 CONFIG_HEADERS = $CONFIG_HEADERS
110972 CONFIG_LINKS = $CONFIG_LINKS
110973 CONFIG_COMMANDS = $CONFIG_COMMANDS
110974 $ $0 $@
110976 _CSEOF
110977 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
110978 echo >&5
110979 _ACEOF
110981 # Files that config.status was made for.
110982 if test -n "$ac_config_files"; then
110983 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
110986 if test -n "$ac_config_headers"; then
110987 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
110990 if test -n "$ac_config_links"; then
110991 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
110994 if test -n "$ac_config_commands"; then
110995 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
110998 cat >>$CONFIG_STATUS <<\_ACEOF
111000 ac_cs_usage="\
111001 \`$as_me' instantiates files from templates according to the
111002 current configuration.
111004 Usage: $0 [OPTIONS] [FILE]...
111006 -h, --help print this help, then exit
111007 -V, --version print version number, then exit
111008 -q, --quiet do not print progress messages
111009 -d, --debug don't remove temporary files
111010 --recheck update $as_me by reconfiguring in the same conditions
111011 --file=FILE[:TEMPLATE]
111012 instantiate the configuration file FILE
111013 --header=FILE[:TEMPLATE]
111014 instantiate the configuration header FILE
111016 Configuration files:
111017 $config_files
111019 Configuration headers:
111020 $config_headers
111022 Configuration commands:
111023 $config_commands
111025 Report bugs to <bug-autoconf@gnu.org>."
111026 _ACEOF
111028 cat >>$CONFIG_STATUS <<_ACEOF
111029 ac_cs_version="\\
111030 package-unused config.status version-unused
111031 configured by $0, generated by GNU Autoconf 2.59,
111032 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
111034 Copyright (C) 2003 Free Software Foundation, Inc.
111035 This config.status script is free software; the Free Software Foundation
111036 gives unlimited permission to copy, distribute and modify it."
111037 srcdir=$srcdir
111038 INSTALL="$INSTALL"
111039 _ACEOF
111041 cat >>$CONFIG_STATUS <<\_ACEOF
111042 # If no file are specified by the user, then we need to provide default
111043 # value. By we need to know if files were specified by the user.
111044 ac_need_defaults=:
111045 while test $# != 0
111047 case $1 in
111048 --*=*)
111049 ac_option=`expr "x$1" : 'x\([^=]*\)='`
111050 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
111051 ac_shift=:
111054 ac_option=$1
111055 ac_optarg=$2
111056 ac_shift=shift
111058 *) # This is not an option, so the user has probably given explicit
111059 # arguments.
111060 ac_option=$1
111061 ac_need_defaults=false;;
111064 case $ac_option in
111065 # Handling of the options.
111066 _ACEOF
111067 cat >>$CONFIG_STATUS <<\_ACEOF
111068 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
111069 ac_cs_recheck=: ;;
111070 --version | --vers* | -V )
111071 echo "$ac_cs_version"; exit 0 ;;
111072 --he | --h)
111073 # Conflict between --help and --header
111074 { { echo "$as_me:$LINENO: error: ambiguous option: $1
111075 Try \`$0 --help' for more information." >&5
111076 echo "$as_me: error: ambiguous option: $1
111077 Try \`$0 --help' for more information." >&2;}
111078 { (exit 1); exit 1; }; };;
111079 --help | --hel | -h )
111080 echo "$ac_cs_usage"; exit 0 ;;
111081 --debug | --d* | -d )
111082 debug=: ;;
111083 --file | --fil | --fi | --f )
111084 $ac_shift
111085 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
111086 ac_need_defaults=false;;
111087 --header | --heade | --head | --hea )
111088 $ac_shift
111089 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
111090 ac_need_defaults=false;;
111091 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
111092 | -silent | --silent | --silen | --sile | --sil | --si | --s)
111093 ac_cs_silent=: ;;
111095 # This is an error.
111096 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
111097 Try \`$0 --help' for more information." >&5
111098 echo "$as_me: error: unrecognized option: $1
111099 Try \`$0 --help' for more information." >&2;}
111100 { (exit 1); exit 1; }; } ;;
111102 *) ac_config_targets="$ac_config_targets $1" ;;
111105 shift
111108 ac_configure_extra_args=
111110 if $ac_cs_silent; then
111111 exec 6>/dev/null
111112 ac_configure_extra_args="$ac_configure_extra_args --silent"
111115 _ACEOF
111116 cat >>$CONFIG_STATUS <<_ACEOF
111117 if \$ac_cs_recheck; then
111118 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
111119 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
111122 _ACEOF
111124 cat >>$CONFIG_STATUS <<_ACEOF
111126 # INIT-COMMANDS section.
111130 srcdir="$srcdir"
111131 host="$host"
111132 target="$target"
111133 with_multisubdir="$with_multisubdir"
111134 with_multisrctop="$with_multisrctop"
111135 with_target_subdir="$with_target_subdir"
111136 ac_configure_args="${multilib_arg} ${ac_configure_args}"
111137 multi_basedir="$multi_basedir"
111138 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
111139 CC="$CC"
111141 # Variables needed in config.status (file generation) which aren't already
111142 # passed by autoconf.
111143 SUBDIRS="$SUBDIRS"
111146 _ACEOF
111150 cat >>$CONFIG_STATUS <<\_ACEOF
111151 for ac_config_target in $ac_config_targets
111153 case "$ac_config_target" in
111154 # Handling of arguments.
111155 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
111156 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
111157 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
111158 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
111159 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
111160 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
111161 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
111162 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
111163 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
111164 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
111165 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
111166 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
111167 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
111168 { (exit 1); exit 1; }; };;
111172 # If the user did not use the arguments to specify the items to instantiate,
111173 # then the envvar interface is used. Set only those that are not.
111174 # We use the long form for the default assignment because of an extremely
111175 # bizarre bug on SunOS 4.1.3.
111176 if $ac_need_defaults; then
111177 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
111178 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
111179 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
111182 # Have a temporary directory for convenience. Make it in the build tree
111183 # simply because there is no reason to put it here, and in addition,
111184 # creating and moving files from /tmp can sometimes cause problems.
111185 # Create a temporary directory, and hook for its removal unless debugging.
111186 $debug ||
111188 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
111189 trap '{ (exit 1); exit 1; }' 1 2 13 15
111192 # Create a (secure) tmp directory for tmp files.
111195 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
111196 test -n "$tmp" && test -d "$tmp"
111199 tmp=./confstat$$-$RANDOM
111200 (umask 077 && mkdir $tmp)
111203 echo "$me: cannot create a temporary directory in ." >&2
111204 { (exit 1); exit 1; }
111207 _ACEOF
111209 cat >>$CONFIG_STATUS <<_ACEOF
111212 # CONFIG_FILES section.
111215 # No need to generate the scripts if there are no CONFIG_FILES.
111216 # This happens for instance when ./config.status config.h
111217 if test -n "\$CONFIG_FILES"; then
111218 # Protect against being on the right side of a sed subst in config.status.
111219 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
111220 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
111221 s,@SHELL@,$SHELL,;t t
111222 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
111223 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
111224 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
111225 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
111226 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
111227 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
111228 s,@exec_prefix@,$exec_prefix,;t t
111229 s,@prefix@,$prefix,;t t
111230 s,@program_transform_name@,$program_transform_name,;t t
111231 s,@bindir@,$bindir,;t t
111232 s,@sbindir@,$sbindir,;t t
111233 s,@libexecdir@,$libexecdir,;t t
111234 s,@datadir@,$datadir,;t t
111235 s,@sysconfdir@,$sysconfdir,;t t
111236 s,@sharedstatedir@,$sharedstatedir,;t t
111237 s,@localstatedir@,$localstatedir,;t t
111238 s,@libdir@,$libdir,;t t
111239 s,@includedir@,$includedir,;t t
111240 s,@oldincludedir@,$oldincludedir,;t t
111241 s,@infodir@,$infodir,;t t
111242 s,@mandir@,$mandir,;t t
111243 s,@build_alias@,$build_alias,;t t
111244 s,@host_alias@,$host_alias,;t t
111245 s,@target_alias@,$target_alias,;t t
111246 s,@DEFS@,$DEFS,;t t
111247 s,@ECHO_C@,$ECHO_C,;t t
111248 s,@ECHO_N@,$ECHO_N,;t t
111249 s,@ECHO_T@,$ECHO_T,;t t
111250 s,@LIBS@,$LIBS,;t t
111251 s,@libtool_VERSION@,$libtool_VERSION,;t t
111252 s,@multi_basedir@,$multi_basedir,;t t
111253 s,@build@,$build,;t t
111254 s,@build_cpu@,$build_cpu,;t t
111255 s,@build_vendor@,$build_vendor,;t t
111256 s,@build_os@,$build_os,;t t
111257 s,@host@,$host,;t t
111258 s,@host_cpu@,$host_cpu,;t t
111259 s,@host_vendor@,$host_vendor,;t t
111260 s,@host_os@,$host_os,;t t
111261 s,@target@,$target,;t t
111262 s,@target_cpu@,$target_cpu,;t t
111263 s,@target_vendor@,$target_vendor,;t t
111264 s,@target_os@,$target_os,;t t
111265 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
111266 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
111267 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
111268 s,@CYGPATH_W@,$CYGPATH_W,;t t
111269 s,@PACKAGE@,$PACKAGE,;t t
111270 s,@VERSION@,$VERSION,;t t
111271 s,@ACLOCAL@,$ACLOCAL,;t t
111272 s,@AUTOCONF@,$AUTOCONF,;t t
111273 s,@AUTOMAKE@,$AUTOMAKE,;t t
111274 s,@AUTOHEADER@,$AUTOHEADER,;t t
111275 s,@MAKEINFO@,$MAKEINFO,;t t
111276 s,@install_sh@,$install_sh,;t t
111277 s,@STRIP@,$STRIP,;t t
111278 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
111279 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
111280 s,@mkdir_p@,$mkdir_p,;t t
111281 s,@AWK@,$AWK,;t t
111282 s,@SET_MAKE@,$SET_MAKE,;t t
111283 s,@am__leading_dot@,$am__leading_dot,;t t
111284 s,@AMTAR@,$AMTAR,;t t
111285 s,@am__tar@,$am__tar,;t t
111286 s,@am__untar@,$am__untar,;t t
111287 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
111288 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
111289 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
111290 s,@CC@,$CC,;t t
111291 s,@ac_ct_CC@,$ac_ct_CC,;t t
111292 s,@EXEEXT@,$EXEEXT,;t t
111293 s,@OBJEXT@,$OBJEXT,;t t
111294 s,@CXX@,$CXX,;t t
111295 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
111296 s,@CFLAGS@,$CFLAGS,;t t
111297 s,@CXXFLAGS@,$CXXFLAGS,;t t
111298 s,@LN_S@,$LN_S,;t t
111299 s,@AS@,$AS,;t t
111300 s,@ac_ct_AS@,$ac_ct_AS,;t t
111301 s,@AR@,$AR,;t t
111302 s,@ac_ct_AR@,$ac_ct_AR,;t t
111303 s,@RANLIB@,$RANLIB,;t t
111304 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
111305 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
111306 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
111307 s,@MAINT@,$MAINT,;t t
111308 s,@CPP@,$CPP,;t t
111309 s,@CPPFLAGS@,$CPPFLAGS,;t t
111310 s,@EGREP@,$EGREP,;t t
111311 s,@LIBTOOL@,$LIBTOOL,;t t
111312 s,@CXXCPP@,$CXXCPP,;t t
111313 s,@enable_shared@,$enable_shared,;t t
111314 s,@enable_static@,$enable_static,;t t
111315 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
111316 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
111317 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
111318 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
111319 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
111320 s,@CSTDIO_H@,$CSTDIO_H,;t t
111321 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
111322 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
111323 s,@check_msgfmt@,$check_msgfmt,;t t
111324 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
111325 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
111326 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
111327 s,@USE_NLS@,$USE_NLS,;t t
111328 s,@CLOCALE_H@,$CLOCALE_H,;t t
111329 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
111330 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
111331 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
111332 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
111333 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
111334 s,@CMONEY_CC@,$CMONEY_CC,;t t
111335 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
111336 s,@CTIME_H@,$CTIME_H,;t t
111337 s,@CTIME_CC@,$CTIME_CC,;t t
111338 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
111339 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
111340 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
111341 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
111342 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
111343 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
111344 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
111345 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
111346 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
111347 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
111348 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
111349 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
111350 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
111351 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
111352 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
111353 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
111354 s,@WERROR@,$WERROR,;t t
111355 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
111356 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
111357 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
111358 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
111359 s,@LIBICONV@,$LIBICONV,;t t
111360 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
111361 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
111362 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
111363 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
111364 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
111365 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
111366 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
111367 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
111368 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
111369 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
111370 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
111371 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
111372 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
111373 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
111374 s,@baseline_dir@,$baseline_dir,;t t
111375 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
111376 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
111377 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
111378 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
111379 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
111380 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
111381 s,@gxx_include_dir@,$gxx_include_dir,;t t
111382 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
111383 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
111384 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
111385 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
111386 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
111387 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
111388 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
111389 s,@LIBOBJS@,$LIBOBJS,;t t
111390 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
111393 _ACEOF
111395 cat >>$CONFIG_STATUS <<\_ACEOF
111396 # Split the substitutions into bite-sized pieces for seds with
111397 # small command number limits, like on Digital OSF/1 and HP-UX.
111398 ac_max_sed_lines=48
111399 ac_sed_frag=1 # Number of current file.
111400 ac_beg=1 # First line for current file.
111401 ac_end=$ac_max_sed_lines # Line after last line for current file.
111402 ac_more_lines=:
111403 ac_sed_cmds=
111404 while $ac_more_lines; do
111405 if test $ac_beg -gt 1; then
111406 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111408 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111410 if test ! -s $tmp/subs.frag; then
111411 ac_more_lines=false
111413 # The purpose of the label and of the branching condition is to
111414 # speed up the sed processing (if there are no `@' at all, there
111415 # is no need to browse any of the substitutions).
111416 # These are the two extra sed commands mentioned above.
111417 (echo ':t
111418 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
111419 if test -z "$ac_sed_cmds"; then
111420 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
111422 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
111424 ac_sed_frag=`expr $ac_sed_frag + 1`
111425 ac_beg=$ac_end
111426 ac_end=`expr $ac_end + $ac_max_sed_lines`
111429 if test -z "$ac_sed_cmds"; then
111430 ac_sed_cmds=cat
111432 fi # test -n "$CONFIG_FILES"
111434 _ACEOF
111435 cat >>$CONFIG_STATUS <<\_ACEOF
111436 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
111437 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111438 case $ac_file in
111439 - | *:- | *:-:* ) # input from stdin
111440 cat >$tmp/stdin
111441 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111442 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111443 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111444 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111445 * ) ac_file_in=$ac_file.in ;;
111448 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
111449 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111450 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111451 X"$ac_file" : 'X\(//\)[^/]' \| \
111452 X"$ac_file" : 'X\(//\)$' \| \
111453 X"$ac_file" : 'X\(/\)' \| \
111454 . : '\(.\)' 2>/dev/null ||
111455 echo X"$ac_file" |
111456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111458 /^X\(\/\/\)$/{ s//\1/; q; }
111459 /^X\(\/\).*/{ s//\1/; q; }
111460 s/.*/./; q'`
111461 { if $as_mkdir_p; then
111462 mkdir -p "$ac_dir"
111464 as_dir="$ac_dir"
111465 as_dirs=
111466 while test ! -d "$as_dir"; do
111467 as_dirs="$as_dir $as_dirs"
111468 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111469 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111470 X"$as_dir" : 'X\(//\)[^/]' \| \
111471 X"$as_dir" : 'X\(//\)$' \| \
111472 X"$as_dir" : 'X\(/\)' \| \
111473 . : '\(.\)' 2>/dev/null ||
111474 echo X"$as_dir" |
111475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111476 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111477 /^X\(\/\/\)$/{ s//\1/; q; }
111478 /^X\(\/\).*/{ s//\1/; q; }
111479 s/.*/./; q'`
111481 test ! -n "$as_dirs" || mkdir $as_dirs
111482 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111483 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111484 { (exit 1); exit 1; }; }; }
111486 ac_builddir=.
111488 if test "$ac_dir" != .; then
111489 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111490 # A "../" for each directory in $ac_dir_suffix.
111491 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111493 ac_dir_suffix= ac_top_builddir=
111496 case $srcdir in
111497 .) # No --srcdir option. We are building in place.
111498 ac_srcdir=.
111499 if test -z "$ac_top_builddir"; then
111500 ac_top_srcdir=.
111502 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111503 fi ;;
111504 [\\/]* | ?:[\\/]* ) # Absolute path.
111505 ac_srcdir=$srcdir$ac_dir_suffix;
111506 ac_top_srcdir=$srcdir ;;
111507 *) # Relative path.
111508 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111509 ac_top_srcdir=$ac_top_builddir$srcdir ;;
111512 # Do not use `cd foo && pwd` to compute absolute paths, because
111513 # the directories may not exist.
111514 case `pwd` in
111515 .) ac_abs_builddir="$ac_dir";;
111517 case "$ac_dir" in
111518 .) ac_abs_builddir=`pwd`;;
111519 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111520 *) ac_abs_builddir=`pwd`/"$ac_dir";;
111521 esac;;
111523 case $ac_abs_builddir in
111524 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111526 case ${ac_top_builddir}. in
111527 .) ac_abs_top_builddir=$ac_abs_builddir;;
111528 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111529 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111530 esac;;
111532 case $ac_abs_builddir in
111533 .) ac_abs_srcdir=$ac_srcdir;;
111535 case $ac_srcdir in
111536 .) ac_abs_srcdir=$ac_abs_builddir;;
111537 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111538 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111539 esac;;
111541 case $ac_abs_builddir in
111542 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111544 case $ac_top_srcdir in
111545 .) ac_abs_top_srcdir=$ac_abs_builddir;;
111546 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111547 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111548 esac;;
111552 case $INSTALL in
111553 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
111554 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
111557 if test x"$ac_file" != x-; then
111558 { echo "$as_me:$LINENO: creating $ac_file" >&5
111559 echo "$as_me: creating $ac_file" >&6;}
111560 rm -f "$ac_file"
111562 # Let's still pretend it is `configure' which instantiates (i.e., don't
111563 # use $as_me), people would be surprised to read:
111564 # /* config.h. Generated by config.status. */
111565 if test x"$ac_file" = x-; then
111566 configure_input=
111568 configure_input="$ac_file. "
111570 configure_input=$configure_input"Generated from `echo $ac_file_in |
111571 sed 's,.*/,,'` by configure."
111573 # First look for the input files in the build tree, otherwise in the
111574 # src tree.
111575 ac_file_inputs=`IFS=:
111576 for f in $ac_file_in; do
111577 case $f in
111578 -) echo $tmp/stdin ;;
111579 [\\/$]*)
111580 # Absolute (can't be DOS-style, as IFS=:)
111581 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111582 echo "$as_me: error: cannot find input file: $f" >&2;}
111583 { (exit 1); exit 1; }; }
111584 echo "$f";;
111585 *) # Relative
111586 if test -f "$f"; then
111587 # Build tree
111588 echo "$f"
111589 elif test -f "$srcdir/$f"; then
111590 # Source tree
111591 echo "$srcdir/$f"
111593 # /dev/null tree
111594 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111595 echo "$as_me: error: cannot find input file: $f" >&2;}
111596 { (exit 1); exit 1; }; }
111599 done` || { (exit 1); exit 1; }
111600 _ACEOF
111601 cat >>$CONFIG_STATUS <<_ACEOF
111602 sed "$ac_vpsub
111603 $extrasub
111604 _ACEOF
111605 cat >>$CONFIG_STATUS <<\_ACEOF
111607 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
111608 s,@configure_input@,$configure_input,;t t
111609 s,@srcdir@,$ac_srcdir,;t t
111610 s,@abs_srcdir@,$ac_abs_srcdir,;t t
111611 s,@top_srcdir@,$ac_top_srcdir,;t t
111612 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
111613 s,@builddir@,$ac_builddir,;t t
111614 s,@abs_builddir@,$ac_abs_builddir,;t t
111615 s,@top_builddir@,$ac_top_builddir,;t t
111616 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
111617 s,@INSTALL@,$ac_INSTALL,;t t
111618 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
111619 rm -f $tmp/stdin
111620 if test x"$ac_file" != x-; then
111621 mv $tmp/out $ac_file
111623 cat $tmp/out
111624 rm -f $tmp/out
111627 # Run the commands associated with the file.
111628 case $ac_file in
111629 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
111632 _ACEOF
111633 cat >>$CONFIG_STATUS <<\_ACEOF
111636 # CONFIG_HEADER section.
111639 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
111640 # NAME is the cpp macro being defined and VALUE is the value it is being given.
111642 # ac_d sets the value in "#define NAME VALUE" lines.
111643 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
111644 ac_dB='[ ].*$,\1#\2'
111645 ac_dC=' '
111646 ac_dD=',;t'
111647 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
111648 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
111649 ac_uB='$,\1#\2define\3'
111650 ac_uC=' '
111651 ac_uD=',;t'
111653 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
111654 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111655 case $ac_file in
111656 - | *:- | *:-:* ) # input from stdin
111657 cat >$tmp/stdin
111658 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111659 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111660 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111661 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111662 * ) ac_file_in=$ac_file.in ;;
111665 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
111666 echo "$as_me: creating $ac_file" >&6;}
111668 # First look for the input files in the build tree, otherwise in the
111669 # src tree.
111670 ac_file_inputs=`IFS=:
111671 for f in $ac_file_in; do
111672 case $f in
111673 -) echo $tmp/stdin ;;
111674 [\\/$]*)
111675 # Absolute (can't be DOS-style, as IFS=:)
111676 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111677 echo "$as_me: error: cannot find input file: $f" >&2;}
111678 { (exit 1); exit 1; }; }
111679 # Do quote $f, to prevent DOS paths from being IFS'd.
111680 echo "$f";;
111681 *) # Relative
111682 if test -f "$f"; then
111683 # Build tree
111684 echo "$f"
111685 elif test -f "$srcdir/$f"; then
111686 # Source tree
111687 echo "$srcdir/$f"
111689 # /dev/null tree
111690 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111691 echo "$as_me: error: cannot find input file: $f" >&2;}
111692 { (exit 1); exit 1; }; }
111695 done` || { (exit 1); exit 1; }
111696 # Remove the trailing spaces.
111697 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
111699 _ACEOF
111701 # Transform confdefs.h into two sed scripts, `conftest.defines' and
111702 # `conftest.undefs', that substitutes the proper values into
111703 # config.h.in to produce config.h. The first handles `#define'
111704 # templates, and the second `#undef' templates.
111705 # And first: Protect against being on the right side of a sed subst in
111706 # config.status. Protect against being in an unquoted here document
111707 # in config.status.
111708 rm -f conftest.defines conftest.undefs
111709 # Using a here document instead of a string reduces the quoting nightmare.
111710 # Putting comments in sed scripts is not portable.
111712 # `end' is used to avoid that the second main sed command (meant for
111713 # 0-ary CPP macros) applies to n-ary macro definitions.
111714 # See the Autoconf documentation for `clear'.
111715 cat >confdef2sed.sed <<\_ACEOF
111716 s/[\\&,]/\\&/g
111717 s,[\\$`],\\&,g
111718 t clear
111719 : clear
111720 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
111721 t end
111722 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
111723 : end
111724 _ACEOF
111725 # If some macros were called several times there might be several times
111726 # the same #defines, which is useless. Nevertheless, we may not want to
111727 # sort them, since we want the *last* AC-DEFINE to be honored.
111728 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
111729 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
111730 rm -f confdef2sed.sed
111732 # This sed command replaces #undef with comments. This is necessary, for
111733 # example, in the case of _POSIX_SOURCE, which is predefined and required
111734 # on some systems where configure will not decide to define it.
111735 cat >>conftest.undefs <<\_ACEOF
111736 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
111737 _ACEOF
111739 # Break up conftest.defines because some shells have a limit on the size
111740 # of here documents, and old seds have small limits too (100 cmds).
111741 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
111742 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
111743 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
111744 echo ' :' >>$CONFIG_STATUS
111745 rm -f conftest.tail
111746 while grep . conftest.defines >/dev/null
111748 # Write a limited-size here document to $tmp/defines.sed.
111749 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
111750 # Speed up: don't consider the non `#define' lines.
111751 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
111752 # Work around the forget-to-reset-the-flag bug.
111753 echo 't clr' >>$CONFIG_STATUS
111754 echo ': clr' >>$CONFIG_STATUS
111755 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
111756 echo 'CEOF
111757 sed -f $tmp/defines.sed $tmp/in >$tmp/out
111758 rm -f $tmp/in
111759 mv $tmp/out $tmp/in
111760 ' >>$CONFIG_STATUS
111761 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
111762 rm -f conftest.defines
111763 mv conftest.tail conftest.defines
111765 rm -f conftest.defines
111766 echo ' fi # grep' >>$CONFIG_STATUS
111767 echo >>$CONFIG_STATUS
111769 # Break up conftest.undefs because some shells have a limit on the size
111770 # of here documents, and old seds have small limits too (100 cmds).
111771 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
111772 rm -f conftest.tail
111773 while grep . conftest.undefs >/dev/null
111775 # Write a limited-size here document to $tmp/undefs.sed.
111776 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
111777 # Speed up: don't consider the non `#undef'
111778 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
111779 # Work around the forget-to-reset-the-flag bug.
111780 echo 't clr' >>$CONFIG_STATUS
111781 echo ': clr' >>$CONFIG_STATUS
111782 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
111783 echo 'CEOF
111784 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
111785 rm -f $tmp/in
111786 mv $tmp/out $tmp/in
111787 ' >>$CONFIG_STATUS
111788 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
111789 rm -f conftest.undefs
111790 mv conftest.tail conftest.undefs
111792 rm -f conftest.undefs
111794 cat >>$CONFIG_STATUS <<\_ACEOF
111795 # Let's still pretend it is `configure' which instantiates (i.e., don't
111796 # use $as_me), people would be surprised to read:
111797 # /* config.h. Generated by config.status. */
111798 if test x"$ac_file" = x-; then
111799 echo "/* Generated by configure. */" >$tmp/config.h
111801 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
111803 cat $tmp/in >>$tmp/config.h
111804 rm -f $tmp/in
111805 if test x"$ac_file" != x-; then
111806 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
111807 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
111808 echo "$as_me: $ac_file is unchanged" >&6;}
111810 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111811 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111812 X"$ac_file" : 'X\(//\)[^/]' \| \
111813 X"$ac_file" : 'X\(//\)$' \| \
111814 X"$ac_file" : 'X\(/\)' \| \
111815 . : '\(.\)' 2>/dev/null ||
111816 echo X"$ac_file" |
111817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111818 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111819 /^X\(\/\/\)$/{ s//\1/; q; }
111820 /^X\(\/\).*/{ s//\1/; q; }
111821 s/.*/./; q'`
111822 { if $as_mkdir_p; then
111823 mkdir -p "$ac_dir"
111825 as_dir="$ac_dir"
111826 as_dirs=
111827 while test ! -d "$as_dir"; do
111828 as_dirs="$as_dir $as_dirs"
111829 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111830 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111831 X"$as_dir" : 'X\(//\)[^/]' \| \
111832 X"$as_dir" : 'X\(//\)$' \| \
111833 X"$as_dir" : 'X\(/\)' \| \
111834 . : '\(.\)' 2>/dev/null ||
111835 echo X"$as_dir" |
111836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111837 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111838 /^X\(\/\/\)$/{ s//\1/; q; }
111839 /^X\(\/\).*/{ s//\1/; q; }
111840 s/.*/./; q'`
111842 test ! -n "$as_dirs" || mkdir $as_dirs
111843 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111844 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111845 { (exit 1); exit 1; }; }; }
111847 rm -f $ac_file
111848 mv $tmp/config.h $ac_file
111851 cat $tmp/config.h
111852 rm -f $tmp/config.h
111854 # Compute $ac_file's index in $config_headers.
111855 _am_stamp_count=1
111856 for _am_header in $config_headers :; do
111857 case $_am_header in
111858 $ac_file | $ac_file:* )
111859 break ;;
111861 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
111864 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
111865 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111866 X$ac_file : 'X\(//\)[^/]' \| \
111867 X$ac_file : 'X\(//\)$' \| \
111868 X$ac_file : 'X\(/\)' \| \
111869 . : '\(.\)' 2>/dev/null ||
111870 echo X$ac_file |
111871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111873 /^X\(\/\/\)$/{ s//\1/; q; }
111874 /^X\(\/\).*/{ s//\1/; q; }
111875 s/.*/./; q'`/stamp-h$_am_stamp_count
111877 _ACEOF
111878 cat >>$CONFIG_STATUS <<\_ACEOF
111881 # CONFIG_COMMANDS section.
111883 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
111884 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
111885 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
111886 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
111887 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111888 X"$ac_dest" : 'X\(//\)[^/]' \| \
111889 X"$ac_dest" : 'X\(//\)$' \| \
111890 X"$ac_dest" : 'X\(/\)' \| \
111891 . : '\(.\)' 2>/dev/null ||
111892 echo X"$ac_dest" |
111893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111894 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111895 /^X\(\/\/\)$/{ s//\1/; q; }
111896 /^X\(\/\).*/{ s//\1/; q; }
111897 s/.*/./; q'`
111898 { if $as_mkdir_p; then
111899 mkdir -p "$ac_dir"
111901 as_dir="$ac_dir"
111902 as_dirs=
111903 while test ! -d "$as_dir"; do
111904 as_dirs="$as_dir $as_dirs"
111905 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111906 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111907 X"$as_dir" : 'X\(//\)[^/]' \| \
111908 X"$as_dir" : 'X\(//\)$' \| \
111909 X"$as_dir" : 'X\(/\)' \| \
111910 . : '\(.\)' 2>/dev/null ||
111911 echo X"$as_dir" |
111912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111913 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111914 /^X\(\/\/\)$/{ s//\1/; q; }
111915 /^X\(\/\).*/{ s//\1/; q; }
111916 s/.*/./; q'`
111918 test ! -n "$as_dirs" || mkdir $as_dirs
111919 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111920 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111921 { (exit 1); exit 1; }; }; }
111923 ac_builddir=.
111925 if test "$ac_dir" != .; then
111926 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111927 # A "../" for each directory in $ac_dir_suffix.
111928 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111930 ac_dir_suffix= ac_top_builddir=
111933 case $srcdir in
111934 .) # No --srcdir option. We are building in place.
111935 ac_srcdir=.
111936 if test -z "$ac_top_builddir"; then
111937 ac_top_srcdir=.
111939 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111940 fi ;;
111941 [\\/]* | ?:[\\/]* ) # Absolute path.
111942 ac_srcdir=$srcdir$ac_dir_suffix;
111943 ac_top_srcdir=$srcdir ;;
111944 *) # Relative path.
111945 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111946 ac_top_srcdir=$ac_top_builddir$srcdir ;;
111949 # Do not use `cd foo && pwd` to compute absolute paths, because
111950 # the directories may not exist.
111951 case `pwd` in
111952 .) ac_abs_builddir="$ac_dir";;
111954 case "$ac_dir" in
111955 .) ac_abs_builddir=`pwd`;;
111956 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111957 *) ac_abs_builddir=`pwd`/"$ac_dir";;
111958 esac;;
111960 case $ac_abs_builddir in
111961 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111963 case ${ac_top_builddir}. in
111964 .) ac_abs_top_builddir=$ac_abs_builddir;;
111965 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111966 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111967 esac;;
111969 case $ac_abs_builddir in
111970 .) ac_abs_srcdir=$ac_srcdir;;
111972 case $ac_srcdir in
111973 .) ac_abs_srcdir=$ac_abs_builddir;;
111974 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111975 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111976 esac;;
111978 case $ac_abs_builddir in
111979 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111981 case $ac_top_srcdir in
111982 .) ac_abs_top_srcdir=$ac_abs_builddir;;
111983 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111984 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111985 esac;;
111989 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
111990 echo "$as_me: executing $ac_dest commands" >&6;}
111991 case $ac_dest in
111992 default-1 )
111993 # Only add multilib support code if we just rebuilt the top-level
111994 # Makefile.
111995 case " $CONFIG_FILES " in
111996 *" Makefile "*)
111997 ac_file=Makefile . ${multi_basedir}/config-ml.in
111999 esac ;;
112000 default ) if test -n "$CONFIG_FILES"; then
112001 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
112002 # that multilib installs will end up installed in the correct place.
112003 # The testsuite needs it for multilib-aware ABI baseline files.
112004 # To work around this not being passed down from config-ml.in ->
112005 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
112006 # append it here. Only modify Makefiles that have just been created.
112008 # Also, get rid of this simulated-VPATH thing that automake does.
112009 cat > vpsed << \_EOF
112010 s!`test -f '$<' || echo '$(srcdir)/'`!!
112012 for i in $SUBDIRS; do
112013 case $CONFIG_FILES in
112014 *${i}/Makefile*)
112015 #echo "Adding MULTISUBDIR to $i/Makefile"
112016 sed -f vpsed $i/Makefile > tmp
112017 grep '^MULTISUBDIR =' Makefile >> tmp
112018 mv tmp $i/Makefile
112022 rm vpsed
112024 (cd include && ${MAKE-make})
112028 _ACEOF
112030 cat >>$CONFIG_STATUS <<\_ACEOF
112032 { (exit 0); exit 0; }
112033 _ACEOF
112034 chmod +x $CONFIG_STATUS
112035 ac_clean_files=$ac_clean_files_save
112038 # configure is writing to config.log, and then calls config.status.
112039 # config.status does its own redirection, appending to config.log.
112040 # Unfortunately, on DOS this fails, as config.log is still kept open
112041 # by configure, so config.status won't be able to write to it; its
112042 # output is simply discarded. So we exec the FD to /dev/null,
112043 # effectively closing config.log, so it can be properly (re)opened and
112044 # appended to by config.status. When coming back to configure, we
112045 # need to make the FD available again.
112046 if test "$no_create" != yes; then
112047 ac_cs_success=:
112048 ac_config_status_args=
112049 test "$silent" = yes &&
112050 ac_config_status_args="$ac_config_status_args --quiet"
112051 exec 5>/dev/null
112052 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
112053 exec 5>>config.log
112054 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
112055 # would make configure fail if this is the last instruction.
112056 $ac_cs_success || { (exit 1); exit 1; }